@ezychat/web 0.1.83 → 0.1.85

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/dist-lib/assets/font-9f04f14429bb.woff2 +0 -0
  2. package/dist-lib/chunks/{admin-D4nMrYTV.js → admin-BDciacjd.js} +78 -59
  3. package/dist-lib/chunks/{admin-SGy97Cay.js → admin-Bcel7ZqO.js} +78 -59
  4. package/dist-lib/chunks/{common-CBTam36M.js → common-BAoxGts5.js} +36 -3
  5. package/dist-lib/chunks/{common-BE996sRJ.js → common-C3KIPASu.js} +36 -3
  6. package/dist-lib/chunks/{inbox-iKAC249b.js → inbox-HnJhomm8.js} +115 -61
  7. package/dist-lib/chunks/{inbox-DB-xoUgi.js → inbox-wUMY4TKD.js} +115 -61
  8. package/dist-lib/ezychat-web.css +1 -1
  9. package/dist-lib/index.js +10703 -7953
  10. package/dist-lib/types/admin/AdminLayout.d.ts +21 -5
  11. package/dist-lib/types/admin/AgentDreamCard.d.ts +9 -0
  12. package/dist-lib/types/admin/AgentResolutionCard.d.ts +1 -1
  13. package/dist-lib/types/admin/AskEzySettingsSection.d.ts +5 -0
  14. package/dist-lib/types/admin/DreamChangeDialog.d.ts +14 -0
  15. package/dist-lib/types/admin/HiddenChats.d.ts +16 -0
  16. package/dist-lib/types/admin/ReportsPage.d.ts +6 -0
  17. package/dist-lib/types/admin/connectors/ConnectorDetailPage.d.ts +1 -1
  18. package/dist-lib/types/admin/connectors/GitHubAccountCard.d.ts +8 -0
  19. package/dist-lib/types/admin/connectors/GitHubSettingsCard.d.ts +4 -0
  20. package/dist-lib/types/admin/connectors/catalog.d.ts +6 -6
  21. package/dist-lib/types/api/ai.d.ts +3 -0
  22. package/dist-lib/types/api/chat-delete.d.ts +16 -0
  23. package/dist-lib/types/api/chat-hide.d.ts +21 -0
  24. package/dist-lib/types/api/connectors.d.ts +128 -0
  25. package/dist-lib/types/api/dream.d.ts +91 -0
  26. package/dist-lib/types/api/queries.d.ts +16 -1
  27. package/dist-lib/types/api/scheduled-tasks.d.ts +6 -6
  28. package/dist-lib/types/askezy/AskEzyBlocks.d.ts +15 -0
  29. package/dist-lib/types/askezy/AskEzySetupBlocks.d.ts +31 -0
  30. package/dist-lib/types/askezy/api.d.ts +13 -1
  31. package/dist-lib/types/auth/LoginPage.d.ts +1 -0
  32. package/dist-lib/types/auth/UserMenu.d.ts +2 -0
  33. package/dist-lib/types/extensions/index.d.ts +1 -1
  34. package/dist-lib/types/extensions/routes.d.ts +3 -1
  35. package/dist-lib/types/i18n/resources.d.ts +350 -8
  36. package/dist-lib/types/inbox/ConversationHeader.d.ts +3 -1
  37. package/dist-lib/types/inbox/DeleteChatDialog.d.ts +12 -0
  38. package/dist-lib/types/lib/random-id.d.ts +8 -0
  39. package/dist-lib/types/lib/tips.d.ts +1 -1
  40. package/dist-lib/types/lib/version.d.ts +4 -0
  41. package/dist-lib/types/lite-import/steps.d.ts +7 -2
  42. package/dist-lib/types/nav/AccountPage.d.ts +2 -0
  43. package/dist-lib/types/nav/AppNav.d.ts +10 -0
  44. package/dist-lib/types/nav/PhoneBar.d.ts +14 -0
  45. package/dist-lib/types/nav/attention.d.ts +4 -0
  46. package/package.json +11 -10
  47. package/dist-lib/types/askezy/AskEzyButton.d.ts +0 -8
@@ -4,8 +4,20 @@ export declare const getAskEzyStatus: () => Promise<{
4
4
  }>;
5
5
  export type AskEzyChangeAction = 'apply' | 'discard' | 'undo';
6
6
  export declare const askEzyChange: (id: string, action: AskEzyChangeAction) => Promise<{
7
- status: "proposed" | "applied" | "discarded";
7
+ status: "applied" | "proposed" | "discarded";
8
8
  version?: number | undefined;
9
+ related?: {
10
+ id: string;
11
+ status: "applied" | "proposed" | "discarded";
12
+ }[] | undefined;
13
+ agentId?: number | undefined;
14
+ taskId?: number | undefined;
15
+ nextRunAt?: number | null | undefined;
16
+ agentOn?: boolean | undefined;
17
+ failed?: {
18
+ code: string;
19
+ message: string;
20
+ } | undefined;
9
21
  }>;
10
22
  /**
11
23
  * Asks one question. The answer streams as NDJSON: `onStep` gets each tool Ezy used while it works; resolves
@@ -1,2 +1,3 @@
1
+ export declare function safeFrom(state: unknown): string;
1
2
  export declare function LoginPage(): import("react").JSX.Element;
2
3
  export default LoginPage;
@@ -1,3 +1,5 @@
1
+ /** Also used by the Account page (nav/AccountPage.tsx), so a new language is added once. */
2
+ export declare function shortLocaleLabel(code: string, nativeName: string): string;
1
3
  export declare function UserMenu({ className, align, }: {
2
4
  className?: string;
3
5
  align?: 'start' | 'center' | 'end';
@@ -1,6 +1,6 @@
1
1
  export * from './types';
2
2
  export { WebExtensionsProvider, useWebExtensions } from './context';
3
3
  export { registerExtensionCatalogs, useExtensionTranslation, type ExtensionTranslate, } from './i18n';
4
- export { ExtensionBoundary, extensionRoutes } from './routes';
4
+ export { ExtensionBoundary, extensionRoutes, extensionSectionOf } from './routes';
5
5
  export { inboxTypesOf, useInboxTypes } from './inbox-types';
6
6
  export { AgentSectionProvider, useAgentSection, type AgentSectionInfo } from './agent-section';
@@ -1,5 +1,7 @@
1
1
  import type { ReactNode } from 'react';
2
- import type { WebExtension } from './types';
2
+ import { type WebExtension, type WebExtensionAdminSection } from './types';
3
+ /** The core section an extension admin route declares for this path (e.g. `members`). */
4
+ export declare function extensionSectionOf(extensions: readonly WebExtension[], pathname: string): WebExtensionAdminSection | undefined;
3
5
  /** Wraps one extension element so a crash inside it never blanks the rest of the app. */
4
6
  export declare function ExtensionBoundary({ children }: {
5
7
  children: ReactNode;
@@ -64,6 +64,8 @@ export declare const enResources: {
64
64
  signOut: string;
65
65
  sendFeedback: string;
66
66
  emailSupport: string;
67
+ signingOut: string;
68
+ signOutFailed: string;
67
69
  };
68
70
  errorBoundary: {
69
71
  title: string;
@@ -233,6 +235,37 @@ export declare const enResources: {
233
235
  step2: string;
234
236
  step3: string;
235
237
  };
238
+ githubApp: {
239
+ title: string;
240
+ body: string;
241
+ };
242
+ githubToken: {
243
+ title: string;
244
+ body: string;
245
+ action: string;
246
+ };
247
+ };
248
+ appNav: {
249
+ main: string;
250
+ chats: string;
251
+ reports: string;
252
+ askEzy: string;
253
+ members: string;
254
+ settings: string;
255
+ account: string;
256
+ unread_one: string;
257
+ unread_other: string;
258
+ attention: string;
259
+ settingsTitle: string;
260
+ team: string;
261
+ business: string;
262
+ app: string;
263
+ yourAccount: string;
264
+ accountTitle: string;
265
+ accountDescription: string;
266
+ attentionRow: string;
267
+ backTo: string;
268
+ more: string;
236
269
  };
237
270
  };
238
271
  app: {
@@ -617,7 +650,6 @@ export declare const enResources: {
617
650
  page: {
618
651
  chats: string;
619
652
  title: string;
620
- admin: string;
621
653
  version: string;
622
654
  selectTitle: string;
623
655
  selectDescription: string;
@@ -697,6 +729,19 @@ export declare const enResources: {
697
729
  openGroupInfo: string;
698
730
  openCustomer: string;
699
731
  };
732
+ deleteChat: {
733
+ more: string;
734
+ action: string;
735
+ title: string;
736
+ messages_one: string;
737
+ messages_other: string;
738
+ files_one: string;
739
+ files_other: string;
740
+ body: string;
741
+ confirm: string;
742
+ done: string;
743
+ failed: string;
744
+ };
700
745
  conversation: {
701
746
  loading: string;
702
747
  notFound: string;
@@ -912,6 +957,8 @@ export declare const enResources: {
912
957
  aiGroupHandover: string;
913
958
  aiGroupHandoverNoReason: string;
914
959
  aiGroupPaused: string;
960
+ aiSilent: string;
961
+ aiSilentFinished: string;
915
962
  aiGroupMember: string;
916
963
  };
917
964
  messageList: {
@@ -1471,14 +1518,54 @@ export declare const enResources: {
1471
1518
  get_ai_context_item: string;
1472
1519
  get_ai_setup_history: string;
1473
1520
  get_ai_setup_version: string;
1521
+ edit_ai_setup_text: string;
1474
1522
  try_ai_reply_one: string;
1475
1523
  try_ai_reply_other: string;
1476
1524
  propose_ai_setup_change: string;
1477
1525
  other: string;
1526
+ list_scheduled_tasks_one: string;
1527
+ list_scheduled_tasks_other: string;
1528
+ propose_agent: string;
1529
+ propose_scheduled_task: string;
1530
+ propose_scheduled_task_edit: string;
1478
1531
  };
1479
1532
  summariseButton: string;
1480
1533
  readyWith: string;
1481
1534
  aboutChatSuffix: string;
1535
+ setup: {
1536
+ newAgent: string;
1537
+ scheduledTask: string;
1538
+ changeTag: string;
1539
+ type: string;
1540
+ number: string;
1541
+ does: string;
1542
+ agent: string;
1543
+ sendTo: string;
1544
+ when: string;
1545
+ instruction: string;
1546
+ preset: {
1547
+ sales: string;
1548
+ faq: string;
1549
+ custom: string;
1550
+ };
1551
+ startsOff: string;
1552
+ newSuffix: string;
1553
+ chatWithEnding: string;
1554
+ whenZone: string;
1555
+ whenNext: string;
1556
+ preview: string;
1557
+ applyBoth: string;
1558
+ created: string;
1559
+ saved: string;
1560
+ savedOff: string;
1561
+ openAgent: string;
1562
+ openTasks: string;
1563
+ chatUnnamed: string;
1564
+ chatNoName: string;
1565
+ agentStays: string;
1566
+ agentNeedsTask: string;
1567
+ previewNotReady: string;
1568
+ };
1482
1569
  };
1483
1570
  safety: {
1484
1571
  title: {
@@ -1841,7 +1928,6 @@ export declare const enResources: {
1841
1928
  };
1842
1929
  admin: {
1843
1930
  title: string;
1844
- titleWithSection: string;
1845
1931
  nav: {
1846
1932
  label: string;
1847
1933
  members: string;
@@ -1855,13 +1941,7 @@ export declare const enResources: {
1855
1941
  safety: string;
1856
1942
  };
1857
1943
  layout: {
1858
- inbox: string;
1859
- menu: string;
1860
1944
  footer: string;
1861
- backToInbox: string;
1862
- logOut: string;
1863
- loggingOut: string;
1864
- logOutFailed: string;
1865
1945
  loading: string;
1866
1946
  };
1867
1947
  ui: {
@@ -2309,6 +2389,16 @@ export declare const enResources: {
2309
2389
  modelFastHint: string;
2310
2390
  modelSlowHint: string;
2311
2391
  };
2392
+ askEzy: {
2393
+ title: string;
2394
+ description: string;
2395
+ timeout: string;
2396
+ timeoutHint: string;
2397
+ minutes_one: string;
2398
+ minutes_other: string;
2399
+ minutesDefault_one: string;
2400
+ minutesDefault_other: string;
2401
+ };
2312
2402
  phrases: {
2313
2403
  title: string;
2314
2404
  description: string;
@@ -2425,6 +2515,11 @@ export declare const enResources: {
2425
2515
  phoneHint: string;
2426
2516
  linkTitle: string;
2427
2517
  linkBody: string;
2518
+ hides_one: string;
2519
+ hides_other: string;
2520
+ hidesUnknown: string;
2521
+ hiddenNote_one: string;
2522
+ hiddenNote_other: string;
2428
2523
  actionsTitle: string;
2429
2524
  actions: {
2430
2525
  logout: {
@@ -3230,6 +3325,74 @@ export declare const enResources: {
3230
3325
  offHint: string;
3231
3326
  saveFailed: string;
3232
3327
  };
3328
+ dream: {
3329
+ title: string;
3330
+ description: string;
3331
+ switch: string;
3332
+ on: string;
3333
+ off: string;
3334
+ runAt: string;
3335
+ runAtHint: string;
3336
+ autoApply: string;
3337
+ autoApplyOn: string;
3338
+ autoApplyOff: string;
3339
+ paused: string;
3340
+ history: string;
3341
+ historyEmpty: string;
3342
+ more: string;
3343
+ runStats: string;
3344
+ dropped: string;
3345
+ run: {
3346
+ running: string;
3347
+ nothing: string;
3348
+ missed: string;
3349
+ failed: string;
3350
+ ai_unavailable: string;
3351
+ access_closed: string;
3352
+ agent_off: string;
3353
+ };
3354
+ status: {
3355
+ waiting: string;
3356
+ applied: string;
3357
+ dismissed: string;
3358
+ undone: string;
3359
+ stale: string;
3360
+ expired: string;
3361
+ };
3362
+ target: {
3363
+ context_text: string;
3364
+ instructions: string;
3365
+ handoff_rules: string;
3366
+ };
3367
+ appliedByItself: string;
3368
+ sources: string;
3369
+ apply: string;
3370
+ dismiss: string;
3371
+ undo: string;
3372
+ seeChange: string;
3373
+ change: {
3374
+ title: string;
3375
+ body: string;
3376
+ before: string;
3377
+ after: string;
3378
+ newItem: string;
3379
+ why: string;
3380
+ whyEmpty: string;
3381
+ customer: string;
3382
+ team: string;
3383
+ checks: string;
3384
+ };
3385
+ check: {
3386
+ privacy: string;
3387
+ leak: string;
3388
+ grounding: string;
3389
+ replay: string;
3390
+ regression: string;
3391
+ };
3392
+ saveFailed: string;
3393
+ actionFailed: string;
3394
+ outdated: string;
3395
+ };
3233
3396
  scheduled: {
3234
3397
  title: string;
3235
3398
  description: string;
@@ -3282,6 +3445,7 @@ export declare const enResources: {
3282
3445
  window_closed: string;
3283
3446
  missed: string;
3284
3447
  chat_gone: string;
3448
+ chat_hidden: string;
3285
3449
  confidential_leak: string;
3286
3450
  ai_unavailable: string;
3287
3451
  lookup_failed: string;
@@ -3561,6 +3725,14 @@ export declare const enResources: {
3561
3725
  findHint: string;
3562
3726
  read: string;
3563
3727
  readHint: string;
3728
+ searchIssues: string;
3729
+ searchIssuesHint: string;
3730
+ listIssues: string;
3731
+ listIssuesHint: string;
3732
+ readIssue: string;
3733
+ readIssueHint: string;
3734
+ searchPulls: string;
3735
+ searchPullsHint: string;
3564
3736
  };
3565
3737
  items: {
3566
3738
  "google-calendar": {
@@ -3595,6 +3767,14 @@ export declare const enResources: {
3595
3767
  long: string;
3596
3768
  privacy: string;
3597
3769
  };
3770
+ github: {
3771
+ name: string;
3772
+ short: string;
3773
+ long: string;
3774
+ privacy: string;
3775
+ privacy2: string;
3776
+ privacy3: string;
3777
+ };
3598
3778
  };
3599
3779
  gc: {
3600
3780
  accountTitle: string;
@@ -4296,6 +4476,150 @@ export declare const enResources: {
4296
4476
  };
4297
4477
  agentCard: string;
4298
4478
  };
4479
+ github: {
4480
+ accountTitle: string;
4481
+ accountDescription: string;
4482
+ what1: string;
4483
+ what2: string;
4484
+ what3: string;
4485
+ signIn: string;
4486
+ useToken: string;
4487
+ signInHint: string;
4488
+ signedIn: string;
4489
+ viaApp: string;
4490
+ viaToken: string;
4491
+ tokenExpires: string;
4492
+ tokenExpired: string;
4493
+ state: {
4494
+ connected: string;
4495
+ expiring: string;
4496
+ expired: string;
4497
+ unavailable: string;
4498
+ no_installation: string;
4499
+ };
4500
+ install: {
4501
+ title: string;
4502
+ body: string;
4503
+ button: string;
4504
+ check: string;
4505
+ orgNote: string;
4506
+ };
4507
+ expiringTitle: string;
4508
+ expiringBody: string;
4509
+ newToken: string;
4510
+ expiredTitle: string;
4511
+ expiredTokenTitle: string;
4512
+ expiredBody: string;
4513
+ signInAgain: string;
4514
+ unavailableTitle: string;
4515
+ unavailableBody: string;
4516
+ reposShared_one: string;
4517
+ reposShared_other: string;
4518
+ changeOnGitHub: string;
4519
+ perAgent: string;
4520
+ disconnectTitle: string;
4521
+ disconnectApp: string;
4522
+ disconnectToken: string;
4523
+ disconnected: string;
4524
+ neverChanges: string;
4525
+ device: {
4526
+ title: string;
4527
+ description: string;
4528
+ step1: string;
4529
+ copy: string;
4530
+ copied: string;
4531
+ step2: string;
4532
+ open: string;
4533
+ waiting: string;
4534
+ deniedTitle: string;
4535
+ deniedBody: string;
4536
+ expiredTitle: string;
4537
+ expiredBody: string;
4538
+ again: string;
4539
+ failedTitle: string;
4540
+ failedBody: string;
4541
+ };
4542
+ token: {
4543
+ title: string;
4544
+ description: string;
4545
+ step1: string;
4546
+ step2: string;
4547
+ step3: string;
4548
+ step4: string;
4549
+ label: string;
4550
+ readOnly: string;
4551
+ save: string;
4552
+ error: {
4553
+ classic: string;
4554
+ invalid: string;
4555
+ no_repos: string;
4556
+ };
4557
+ };
4558
+ notConnected: string;
4559
+ notConnectedHint: string;
4560
+ pausedTitle: string;
4561
+ pausedExpired: string;
4562
+ pausedDown: string;
4563
+ repos: {
4564
+ title: string;
4565
+ description: string;
4566
+ none: string;
4567
+ choose: string;
4568
+ remove: string;
4569
+ private: string;
4570
+ public: string;
4571
+ gone: string;
4572
+ hint: string;
4573
+ whoTitle: string;
4574
+ whoBody: string;
4575
+ notAccessible: string;
4576
+ };
4577
+ access: {
4578
+ title: string;
4579
+ description: string;
4580
+ issues: string;
4581
+ issuesHint: string;
4582
+ pulls: string;
4583
+ pullsHint: string;
4584
+ };
4585
+ needRepo: string;
4586
+ when: {
4587
+ note: string;
4588
+ open: string;
4589
+ };
4590
+ picker: {
4591
+ title: string;
4592
+ description: string;
4593
+ search: string;
4594
+ refresh: string;
4595
+ refreshed: string;
4596
+ add_one: string;
4597
+ add_other: string;
4598
+ noMatch: string;
4599
+ allAdded: string;
4600
+ missing: string;
4601
+ editApp: string;
4602
+ editToken: string;
4603
+ };
4604
+ saved: string;
4605
+ agentCard: {
4606
+ noRepos: string;
4607
+ both_one: string;
4608
+ both_other: string;
4609
+ issues_one: string;
4610
+ issues_other: string;
4611
+ pulls_one: string;
4612
+ pulls_other: string;
4613
+ };
4614
+ act: {
4615
+ searched: string;
4616
+ read: string;
4617
+ refused: string;
4618
+ failed: string;
4619
+ hint: string;
4620
+ emptyHint: string;
4621
+ };
4622
+ };
4299
4623
  };
4300
4624
  reports: {
4301
4625
  title: string;
@@ -4326,6 +4650,24 @@ export declare const enResources: {
4326
4650
  deltaDown_other: string;
4327
4651
  same_one: string;
4328
4652
  same_other: string;
4653
+ aiRateTitle: string;
4654
+ aiRateFinding: string;
4655
+ aiRateTipTitle: string;
4656
+ aiRateTipBody: string;
4657
+ aiRateTipStep1: string;
4658
+ aiRateTipStep2: string;
4659
+ aiRateTipStep3: string;
4660
+ aiRatePct: string;
4661
+ aiRateUp_one: string;
4662
+ aiRateUp_other: string;
4663
+ aiRateDown_one: string;
4664
+ aiRateDown_other: string;
4665
+ aiRateBar: string;
4666
+ aiRateCompleted: string;
4667
+ aiRateHelped: string;
4668
+ aiRateOpen: string;
4669
+ aiRateNone_one: string;
4670
+ aiRateNone_other: string;
4329
4671
  underMinute: string;
4330
4672
  minutes_one: string;
4331
4673
  minutes_other: string;
@@ -25,5 +25,7 @@ export interface ConversationHeaderProps {
25
25
  /** Group chats: whether the AI agent answers when tagged or quoted (the header badge). */
26
26
  groupAi?: AiGroupChat | null;
27
27
  busy?: boolean;
28
+ /** Admins only: the ⋮ menu with Delete chat (no menu without it). */
29
+ onDelete?(): void;
28
30
  }
29
- export declare function ConversationHeader({ chat, directory, onBack, onAssign, onToggleStatus, notesOpen, notesCount, onToggleNotes, showCustomer, customerOpen, onToggleCustomer, onOpenInfo, memberCount, inbox, groupAi, busy, }: ConversationHeaderProps): import("react").JSX.Element;
31
+ export declare function ConversationHeader({ chat, directory, onBack, onAssign, onToggleStatus, notesOpen, notesCount, onToggleNotes, showCustomer, customerOpen, onToggleCustomer, onOpenInfo, memberCount, inbox, groupAi, busy, onDelete, }: ConversationHeaderProps): import("react").JSX.Element;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Delete chat (admins; docs/features/chat-hide-delete/design.md Part B): the chat's name, what goes
3
+ * (messages and files) and that the WhatsApp phone keeps its copy. Stays open until the server
4
+ * answers; on success the chat leaves every list and `onDeleted` takes the page back to the inbox.
5
+ */
6
+ export declare function DeleteChatDialog({ jid, name, open, onClose, onDeleted, }: {
7
+ jid: string;
8
+ name: string;
9
+ open: boolean;
10
+ onClose(): void;
11
+ onDeleted(): void;
12
+ }): import("react").JSX.Element;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * A random RFC 4122 version 4 UUID, for request and client ids the server checks with `z.uuid()`.
3
+ *
4
+ * `crypto.randomUUID` exists only in a secure context (https, localhost). The app is also opened over
5
+ * plain http on the LAN (`http://192.168.x.x:7420`), where browsers leave it out; `getRandomValues`
6
+ * is available there, so the UUID is built from it. Never `Math.random`.
7
+ */
8
+ export declare function randomUuid(): string;
@@ -3,7 +3,7 @@
3
3
  * under `tips.<topic>` (`title`, `body`, `step1`…`stepN`, `action`); this file holds each tip's shape.
4
4
  * Design: docs/features/concept-tips/design.md.
5
5
  */
6
- export declare const TIP_TOPICS: readonly ["whatsappLink", "aiConnection", "apiKey", "claudeKey", "aiModel", "businessContext", "instructions", "handoff", "tryIt", "voice", "tunnel", "lan", "mcp", "accessToken", "connectors", "safetyAi", "autoBlock", "lockedFiles", "driveFiles", "reportNumber", "sqlApiService", "sqlKeys", "sqlCustomerCode", "usageStats"];
6
+ export declare const TIP_TOPICS: readonly ["whatsappLink", "aiConnection", "apiKey", "claudeKey", "aiModel", "businessContext", "instructions", "handoff", "tryIt", "voice", "tunnel", "lan", "mcp", "accessToken", "connectors", "safetyAi", "autoBlock", "lockedFiles", "driveFiles", "reportNumber", "sqlApiService", "sqlKeys", "sqlCustomerCode", "usageStats", "githubApp", "githubToken"];
7
7
  export type TipTopic = (typeof TIP_TOPICS)[number];
8
8
  /** The ezychat.ai guides a tip can link to (each exists in en, ms and zh). */
9
9
  export type TipGuide = 'getting-started' | 'set-up-ai-agent' | 'connect-cloudflare' | 'connect-ai-assistant';
@@ -3,6 +3,8 @@ export interface HealthInfo {
3
3
  app: string;
4
4
  version: string;
5
5
  mode: string;
6
+ /** 'lite', 'enterprise', …; older servers omit it (Lite). */
7
+ edition?: string;
6
8
  }
7
9
  export declare const healthQueryKey: readonly ["health"];
8
10
  /** Version baked into the web bundle at build time (root package.json), or null if not defined. */
@@ -10,3 +12,5 @@ export declare const BUILD_VERSION: string | null;
10
12
  export declare function useAppVersion(): string | null;
11
13
  /** The server's run mode from GET /api/health ('dev' for local and test servers), or null while unknown. */
12
14
  export declare function useServerMode(): string | null;
15
+ /** The product edition from GET /api/health ('lite' when the server omits it), or null while unknown. */
16
+ export declare function useEdition(): string | null;
@@ -29,9 +29,14 @@ export declare function ChecksStep({ state, bridge, act, busy, continueLabel, on
29
29
  }): import("react").JSX.Element;
30
30
  /** Default for each Lite user: the same username here → same person, else add with Lite's role. */
31
31
  export declare function defaultTeam(liteUsers: LiteUser[], people: User[]): LiteTeamChoice[];
32
- /** Merge review: what comes over, who is who, what stays Enterprise's, what to set up again. */
33
- export declare function ReviewStep({ state, bridge, act, busy, people }: StepProps & {
32
+ /**
33
+ * Merge review: what comes over, who is who, what stays Enterprise's, what to set up again.
34
+ * `ownAddress`: this install already has its own address. Without one, Lite's app-managed address
35
+ * comes over (server `merge-address.ts`) instead of being set up again.
36
+ */
37
+ export declare function ReviewStep({ state, bridge, act, busy, people, ownAddress, }: StepProps & {
34
38
  people: User[];
39
+ ownAddress: boolean;
35
40
  }): import("react").JSX.Element;
36
41
  export declare function RunningStep({ state }: {
37
42
  state: LiteImportState;
@@ -0,0 +1,2 @@
1
+ export declare function AccountPage(): import("react").JSX.Element | null;
2
+ export default AccountPage;
@@ -0,0 +1,10 @@
1
+ import { type WebExtensionAdminSection } from '../extensions';
2
+ type Place = 'chats' | 'reports' | 'members' | 'settings' | 'account' | null;
3
+ /** The rail place of a path; `section` is the core section an extension admin page sits under. */
4
+ export declare function placeOf(pathname: string, isAdmin: boolean, section?: WebExtensionAdminSection): Place;
5
+ /**
6
+ * Signed-in shell: rail + page + tabs. No tab bar inside an open chat: the composer owns the bottom of the
7
+ * screen. The Ask Ezy panel stays in App (a sheet in a portal, docked beside the page from 1280 px).
8
+ */
9
+ export declare function AppShell(): import("react").JSX.Element;
10
+ export {};
@@ -0,0 +1,14 @@
1
+ /**
2
+ * The phone app bar of a page reached from the bottom tabs (docs/features/app-navigation/design.md). A tab's own
3
+ * page has only its title; a page one level down (Members, Quick replies, …) has a back link to where it came from.
4
+ * `heading`: the title is the page's `h1` (a page with no title of its own, e.g. the Settings list); otherwise it
5
+ * repeats the page's own heading and stays plain text, so a page never has two `h1`s.
6
+ */
7
+ export declare function PhoneBar({ title, back, heading, }: {
8
+ title: string;
9
+ back?: {
10
+ to: string;
11
+ label: string;
12
+ };
13
+ heading?: boolean;
14
+ }): import("react").JSX.Element;
@@ -0,0 +1,4 @@
1
+ /** True when a WhatsApp number of a current (not removed) inbox needs an admin; always false for others. */
2
+ export declare function useNumberAttention(): boolean;
3
+ /** The page of the numbers: WhatsApp in Lite (one number), Inboxes in an edition with several. */
4
+ export declare function useNumbersPath(): string;