The open-source AI receptionist for businesses. Answers every call, books the appointment and hands over to a person when needed. You own the code and the data.
TypeScript ai-receptionistanswering-serviceappointment-bookinglivekitlocal-firstmcpopen-sourceself-hostedsiptelephonytypescriptvoice-agentvoice-ai
Trunk tests after Sign in with Apple and the mobile app: lists name apple, mobile push and push.registerDevice; setup MCP how-to for mobile push (PR 2008)
Tim Gutberlet7382a554142a
diff --git a/apps/api/src/setup-mcp.ts b/apps/api/src/setup-mcp.tsindex 70f3f8b5..55136765 100644--- a/apps/api/src/setup-mcp.ts+++ b/apps/api/src/setup-mcp.ts@@ -979,6 +979,8 @@ function optionalSteps(groups: GroupStatus[]) {business: guideLines(recommendedProviders.business),// White-label partners' own addresses (Partner › Domain): off until this provider is set up.domains: [english.t('server.setupAgent.optional.domains'), ...guideLines(recommendedProviders.domains)],+ // Push for the install's own iOS and Android app (LIN-874): Apple's key and Google's, each with its guide.+ mobile: [...guideLines('apns'), ...guideLines('fcm')],apps: [...guideLines(recommendedProviders.apps),'The OAuth app needs the redirect URI that providers_list gives (redirect_uris).',diff --git a/apps/api/test/admin.test.ts b/apps/api/test/admin.test.tsindex 92563817..807dee08 100644--- a/apps/api/test/admin.test.ts+++ b/apps/api/test/admin.test.ts@@ -535,6 +535,7 @@ describe('provider keys', () => {apps: { provider: null, chosen: false },bot_check: { provider: null, chosen: false },domains: { provider: null, chosen: false },+ mobile: { provider: null, chosen: false },})// Only OpenRouter is set up: it is used although OpenAI, the default, comes first in the registry.@@ -845,10 +846,13 @@ describe('provider keys', () => {'gmail','google','microsoft',+ 'apple','calendly','calcom','github','oidc',+ 'apns',+ 'fcm','google_places','stripe','hubspot',diff --git a/apps/api/test/notifications.test.ts b/apps/api/test/notifications.test.tsindex 7b28eb87..e0a7c9fb 100644--- a/apps/api/test/notifications.test.ts+++ b/apps/api/test/notifications.test.ts@@ -50,7 +50,8 @@ describe('notification settings', () => {own: { email: null, browser: null },defaults: { email: true, browser: true },canEditDefaults: false,- push: { publicKey: null, devices: [], summary: false },+ // `native`: whether the server can push to the Linedesk app on iOS and Android (LIN-874).+ push: { publicKey: null, devices: [], summary: false, native: { ios: false, android: false } },setupEmails: null,assignedEmail: true,// The tests send no email (no SMTP_URL): the step and Settings say so.diff --git a/apps/api/test/push.test.ts b/apps/api/test/push.test.tsindex 91c87b0f..a143aa20 100644--- a/apps/api/test/push.test.ts+++ b/apps/api/test/push.test.ts@@ -72,6 +72,7 @@ describe('subscriptions', () => {publicKey: 'test-vapid-public-key',devices: [await pushDeviceId(endpoint)],summary: false,+ native: { ios: false, android: false },})expect(JSON.stringify(push)).not.toContain('fcm.googleapis.com')diff --git a/apps/api/test/setup-checklist.test.ts b/apps/api/test/setup-checklist.test.tsindex 6f7037bc..9d09fae3 100644--- a/apps/api/test/setup-checklist.test.ts+++ b/apps/api/test/setup-checklist.test.ts@@ -115,6 +115,7 @@ describe('states', () => {['recording', 'off'],['business', 'off'],['domains', 'off'],+ ['mobile', 'off'],['billing', 'off'],])expect(body.ready).toBe(false)diff --git a/apps/web/src/admin/providerList.test.ts b/apps/web/src/admin/providerList.test.tsindex 289583b7..93f0883e 100644--- a/apps/web/src/admin/providerList.test.ts+++ b/apps/web/src/admin/providerList.test.ts@@ -37,6 +37,7 @@ test('the pinned providers come first in their order (recommended first), then t'google','oidc','microsoft',+ 'apple','calendly','calcom','github',diff --git a/packages/actions/src/admin.test.ts b/packages/actions/src/admin.test.tsindex 2a8475a0..814ce1ea 100644--- a/packages/actions/src/admin.test.ts+++ b/packages/actions/src/admin.test.ts@@ -90,13 +90,14 @@ test('every provider has a category, and the first of each category is the defau['tts', ['elevenlabs', 'cartesia']],['realtime', ['openai_realtime']],['email', ['smtp', 'resend', 'postmark', 'sendgrid', 'brevo', 'mailgun', 'gmail']],- ['sign_in', ['google', 'microsoft', 'calendly', 'calcom', 'github', 'oidc']],+ ['sign_in', ['google', 'microsoft', 'apple', 'calendly', 'calcom', 'github', 'oidc']],['recording', ['file', 's3']],['business', ['google_places']],['billing', ['stripe']],['apps', ['hubspot', 'slack', 'jobber', 'zoho', 'shopify', 'google_mail']],['bot_check', ['turnstile']],['domains', ['cloudflare_saas']],+ ['mobile', ['apns', 'fcm']],])// Sign-in apps are all in use at once: nothing to pick.expect(providerSetActive.input.safeParse({ category: 'sign_in', provider: 'google' }).success).toBe(false)diff --git a/packages/actions/src/provider-status.test.ts b/packages/actions/src/provider-status.test.tsindex 1926ad81..e2c43a0b 100644--- a/packages/actions/src/provider-status.test.ts+++ b/packages/actions/src/provider-status.test.ts@@ -58,6 +58,7 @@ describe('groups', () => {'recording','business','domains',+ 'mobile','billing',])// The install's own order (installParts): the walkthrough, the agent page and setup_status show them so too.@@ -69,7 +70,7 @@ describe('groups', () => {expect(groupOfCategory('stt')).toBe('answering')expect(groupOfCategory('sign_in')).toBe('sign-in')expect(providersOfGroup('calendar')).toEqual(['google', 'microsoft', 'calendly', 'calcom'])- expect(providersOfGroup('sign-in')).toEqual(['google', 'microsoft', 'github', 'oidc'])+ expect(providersOfGroup('sign-in')).toEqual(['google', 'microsoft', 'apple', 'github', 'oidc'])expect(isNeededProvider('deepgram')).toBe(true)expect(isNeededProvider('google_places')).toBe(false)})@@ -154,6 +155,7 @@ describe('statusGroups', () => {['recording', 'off'],['business', 'off'],['domains', 'off'],+ ['mobile', 'off'],['billing', 'off'],])expect(ready).toBe(false)diff --git a/packages/actions/src/rights.test.ts b/packages/actions/src/rights.test.tsindex f080b921..ff93f630 100644--- a/packages/actions/src/rights.test.ts+++ b/packages/actions/src/rights.test.ts@@ -52,6 +52,7 @@ const expectedRights: Record<Right, readonly string[]> = {'notifications.get','notifications.update','push.subscribe',+ 'push.registerDevice','push.unsubscribe','starPrompt.answer',// Feedback to the Linedesk team (LIN-639): everyone in the workspace, and every key and MCP client.