@arbidocs/blocks 0.4.144 → 0.4.145

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 (146) hide show
  1. package/dist/agents/index.cjs +267 -267
  2. package/dist/agents/index.js +10 -10
  3. package/dist/chat/index.cjs +1 -1
  4. package/dist/chat/index.js +1 -1
  5. package/dist/{chunk-BUWBXJ2N.cjs → chunk-34GDGE77.cjs} +5 -5
  6. package/dist/{chunk-BUWBXJ2N.cjs.map → chunk-34GDGE77.cjs.map} +1 -1
  7. package/dist/{chunk-ON3TKY5Y.js → chunk-5YHEHEJT.js} +242 -4
  8. package/dist/chunk-5YHEHEJT.js.map +1 -0
  9. package/dist/{chunk-YFY3TQ6Q.cjs → chunk-COCGRJLA.cjs} +7 -7
  10. package/dist/{chunk-YFY3TQ6Q.cjs.map → chunk-COCGRJLA.cjs.map} +1 -1
  11. package/dist/{chunk-45LRMW54.js → chunk-DN2KI4BU.js} +8 -10
  12. package/dist/chunk-DN2KI4BU.js.map +1 -0
  13. package/dist/{chunk-R26BK7YL.cjs → chunk-DTROMMDX.cjs} +4 -4
  14. package/dist/{chunk-R26BK7YL.cjs.map → chunk-DTROMMDX.cjs.map} +1 -1
  15. package/dist/{chunk-65THHQVB.cjs → chunk-ECW2R2KF.cjs} +27 -27
  16. package/dist/{chunk-65THHQVB.cjs.map → chunk-ECW2R2KF.cjs.map} +1 -1
  17. package/dist/{chunk-RI6DZA5X.js → chunk-EF4ZLKRM.js} +3 -3
  18. package/dist/{chunk-RI6DZA5X.js.map → chunk-EF4ZLKRM.js.map} +1 -1
  19. package/dist/{chunk-WS5EX7DN.cjs → chunk-EYKISBDO.cjs} +5 -5
  20. package/dist/{chunk-WS5EX7DN.cjs.map → chunk-EYKISBDO.cjs.map} +1 -1
  21. package/dist/{chunk-JZNXRMLH.cjs → chunk-GAYMJWTC.cjs} +8 -10
  22. package/dist/chunk-GAYMJWTC.cjs.map +1 -0
  23. package/dist/{chunk-I7WG3JRD.js → chunk-H4D7WKDY.js} +3 -3
  24. package/dist/{chunk-I7WG3JRD.js.map → chunk-H4D7WKDY.js.map} +1 -1
  25. package/dist/{chunk-3RJN2VTL.js → chunk-IXWJGOM2.js} +3 -3
  26. package/dist/{chunk-3RJN2VTL.js.map → chunk-IXWJGOM2.js.map} +1 -1
  27. package/dist/{chunk-7NGAWGA3.js → chunk-J4M37SXY.js} +3 -3
  28. package/dist/{chunk-7NGAWGA3.js.map → chunk-J4M37SXY.js.map} +1 -1
  29. package/dist/{chunk-CYNF5PZI.js → chunk-J5CWKFSC.js} +3 -3
  30. package/dist/{chunk-CYNF5PZI.js.map → chunk-J5CWKFSC.js.map} +1 -1
  31. package/dist/{chunk-TP6PLDNM.cjs → chunk-KMZWKSKO.cjs} +8 -8
  32. package/dist/{chunk-TP6PLDNM.cjs.map → chunk-KMZWKSKO.cjs.map} +1 -1
  33. package/dist/{chunk-XGZX22ET.cjs → chunk-KPO67GBR.cjs} +39 -39
  34. package/dist/{chunk-XGZX22ET.cjs.map → chunk-KPO67GBR.cjs.map} +1 -1
  35. package/dist/{chunk-C4WSHRR6.cjs → chunk-KPZZ5FHE.cjs} +32 -12
  36. package/dist/chunk-KPZZ5FHE.cjs.map +1 -0
  37. package/dist/{chunk-X3TGXEFS.js → chunk-KTSF4HFC.js} +7 -7
  38. package/dist/{chunk-X3TGXEFS.js.map → chunk-KTSF4HFC.js.map} +1 -1
  39. package/dist/{chunk-33ZOUJXA.js → chunk-NGDXDHLG.js} +13 -32
  40. package/dist/chunk-NGDXDHLG.js.map +1 -0
  41. package/dist/chunk-NHZK64TQ.js +75 -0
  42. package/dist/chunk-NHZK64TQ.js.map +1 -0
  43. package/dist/{chunk-BPBSSMRB.js → chunk-NRFAWUVD.js} +3 -3
  44. package/dist/{chunk-BPBSSMRB.js.map → chunk-NRFAWUVD.js.map} +1 -1
  45. package/dist/{chunk-O2ODDTMA.cjs → chunk-NSNHRZBH.cjs} +8 -8
  46. package/dist/{chunk-O2ODDTMA.cjs.map → chunk-NSNHRZBH.cjs.map} +1 -1
  47. package/dist/chunk-NWNVWO6L.cjs +80 -0
  48. package/dist/chunk-NWNVWO6L.cjs.map +1 -0
  49. package/dist/{chunk-Y3KA6X7B.js → chunk-OVR3XMYL.js} +4 -4
  50. package/dist/{chunk-Y3KA6X7B.js.map → chunk-OVR3XMYL.js.map} +1 -1
  51. package/dist/{chunk-2FJMTZNJ.js → chunk-QOL3M4FJ.js} +9 -9
  52. package/dist/{chunk-2FJMTZNJ.js.map → chunk-QOL3M4FJ.js.map} +1 -1
  53. package/dist/{chunk-LYUO3E6V.js → chunk-SZOFGU7W.js} +3 -3
  54. package/dist/{chunk-LYUO3E6V.js.map → chunk-SZOFGU7W.js.map} +1 -1
  55. package/dist/{chunk-YNIBUKV5.js → chunk-TBEVGWY3.js} +32 -14
  56. package/dist/chunk-TBEVGWY3.js.map +1 -0
  57. package/dist/{chunk-MJCCBMM5.cjs → chunk-TC3RQNEX.cjs} +6 -80
  58. package/dist/chunk-TC3RQNEX.cjs.map +1 -0
  59. package/dist/{chunk-QIMVTGKS.cjs → chunk-U73KPFYH.cjs} +255 -2
  60. package/dist/chunk-U73KPFYH.cjs.map +1 -0
  61. package/dist/{chunk-RA3ZJ45L.cjs → chunk-ULPFRK3J.cjs} +25 -44
  62. package/dist/chunk-ULPFRK3J.cjs.map +1 -0
  63. package/dist/{chunk-HFGXA5CL.cjs → chunk-UTTTJSQU.cjs} +4 -4
  64. package/dist/{chunk-HFGXA5CL.cjs.map → chunk-UTTTJSQU.cjs.map} +1 -1
  65. package/dist/{chunk-DLBUFHLY.js → chunk-VTTZZ4FN.js} +4 -74
  66. package/dist/chunk-VTTZZ4FN.js.map +1 -0
  67. package/dist/{chunk-A6J2IBUG.js → chunk-VVZ34A2P.js} +3 -3
  68. package/dist/{chunk-A6J2IBUG.js.map → chunk-VVZ34A2P.js.map} +1 -1
  69. package/dist/{chunk-ABUO6PIQ.cjs → chunk-WO7QAVTL.cjs} +13 -13
  70. package/dist/{chunk-ABUO6PIQ.cjs.map → chunk-WO7QAVTL.cjs.map} +1 -1
  71. package/dist/{chunk-5FTIHRZH.cjs → chunk-XVUOMWMD.cjs} +4 -4
  72. package/dist/{chunk-5FTIHRZH.cjs.map → chunk-XVUOMWMD.cjs.map} +1 -1
  73. package/dist/{chunk-444XKG46.js → chunk-YKQ2DPIP.js} +3 -3
  74. package/dist/{chunk-444XKG46.js.map → chunk-YKQ2DPIP.js.map} +1 -1
  75. package/dist/{chunk-HEMU73OP.cjs → chunk-YSHIC4NJ.cjs} +4 -4
  76. package/dist/{chunk-HEMU73OP.cjs.map → chunk-YSHIC4NJ.cjs.map} +1 -1
  77. package/dist/citations/index.cjs +12 -12
  78. package/dist/citations/index.js +3 -3
  79. package/dist/collaboration/index.cjs +9 -9
  80. package/dist/collaboration/index.js +1 -1
  81. package/dist/connect/docx.cjs +11 -11
  82. package/dist/connect/docx.js +8 -8
  83. package/dist/connect/index.cjs +716 -329
  84. package/dist/connect/index.cjs.map +1 -1
  85. package/dist/connect/index.d.ts +1 -0
  86. package/dist/connect/index.js +591 -217
  87. package/dist/connect/index.js.map +1 -1
  88. package/dist/connection/ConnectedSettings.d.ts +3 -2
  89. package/dist/connection/ai.d.ts +27 -72
  90. package/dist/connection/settings-page/ConnectedAccountSettings.d.ts +35 -0
  91. package/dist/connection/settings-page/ConnectedMailSettings.d.ts +13 -0
  92. package/dist/connection/settings-page/ConnectedPremiumModels.d.ts +1 -0
  93. package/dist/connection/settings-page/ConnectedPrivacySettings.d.ts +12 -0
  94. package/dist/connection/settings-page/ConnectedSettingsPage.d.ts +29 -0
  95. package/dist/connection/settings-page/SessionStatusIcon.d.ts +7 -0
  96. package/dist/connection/settings-page/index.d.ts +6 -0
  97. package/dist/connection/workspaceData.d.ts +6 -6
  98. package/dist/document-tools/index.cjs +1 -1
  99. package/dist/document-tools/index.js +1 -1
  100. package/dist/facts/index.cjs +4 -4
  101. package/dist/facts/index.js +3 -3
  102. package/dist/files/index.cjs +3 -3
  103. package/dist/files/index.js +2 -2
  104. package/dist/home/index.cjs +20 -20
  105. package/dist/home/index.js +4 -4
  106. package/dist/index.cjs +476 -467
  107. package/dist/index.cjs.map +1 -1
  108. package/dist/index.d.ts +1 -0
  109. package/dist/index.js +23 -22
  110. package/dist/index.js.map +1 -1
  111. package/dist/provider/BlocksProvider.d.ts +5 -1
  112. package/dist/provider/settings-section.d.ts +9 -0
  113. package/dist/retrieval/index.cjs +4 -4
  114. package/dist/retrieval/index.js +2 -2
  115. package/dist/settings/AppearanceSettings.d.ts +18 -0
  116. package/dist/settings/ServerConnectionControls.d.ts +16 -0
  117. package/dist/settings/SettingsPage.d.ts +31 -0
  118. package/dist/settings/index.cjs +187 -250
  119. package/dist/settings/index.cjs.map +1 -1
  120. package/dist/settings/index.d.ts +3 -1
  121. package/dist/settings/index.js +87 -199
  122. package/dist/settings/index.js.map +1 -1
  123. package/dist/shell/index.cjs +44 -44
  124. package/dist/shell/index.js +3 -3
  125. package/dist/site/index.cjs +75 -74
  126. package/dist/site/index.js +4 -3
  127. package/dist/studio/index.cjs +80 -79
  128. package/dist/studio/index.cjs.map +1 -1
  129. package/dist/studio/index.js +12 -11
  130. package/dist/studio/index.js.map +1 -1
  131. package/dist/workflow-canvas/index.cjs +28 -28
  132. package/dist/workflow-canvas/index.js +11 -11
  133. package/dist/workspaces/index.cjs +3 -3
  134. package/dist/workspaces/index.js +2 -2
  135. package/node_modules/@arbidocs/coedit/package.json +1 -1
  136. package/package.json +4 -4
  137. package/dist/chunk-33ZOUJXA.js.map +0 -1
  138. package/dist/chunk-45LRMW54.js.map +0 -1
  139. package/dist/chunk-C4WSHRR6.cjs.map +0 -1
  140. package/dist/chunk-DLBUFHLY.js.map +0 -1
  141. package/dist/chunk-JZNXRMLH.cjs.map +0 -1
  142. package/dist/chunk-MJCCBMM5.cjs.map +0 -1
  143. package/dist/chunk-ON3TKY5Y.js.map +0 -1
  144. package/dist/chunk-QIMVTGKS.cjs.map +0 -1
  145. package/dist/chunk-RA3ZJ45L.cjs.map +0 -1
  146. package/dist/chunk-YNIBUKV5.js.map +0 -1
@@ -70,11 +70,11 @@ export interface ConnectedNotificationPreferencesProps {
70
70
  /** The email-notification switches (`NotificationCategoryList`) over the user settings. */
71
71
  export declare function ConnectedNotificationPreferences({ categories, title, }: ConnectedNotificationPreferencesProps): import("react").JSX.Element;
72
72
  export interface ConnectedSessionsRowProps {
73
- /** Glyph per session status. */
73
+ /** Glyph per session status; default `SessionStatusIcon`. */
74
74
  renderSessionIcon?: (status: string) => ReactNode;
75
75
  }
76
76
  /** "Active sessions" row with the manage dialog (`ActiveSessionsDialog`); end any but this device. */
77
- export declare function ConnectedSessionsRow({ renderSessionIcon }: ConnectedSessionsRowProps): import("react").JSX.Element;
77
+ export declare function ConnectedSessionsRow({ renderSessionIcon, }: ConnectedSessionsRowProps): import("react").JSX.Element;
78
78
  export interface ConnectedLogoutDialogProps {
79
79
  open: boolean;
80
80
  onClose: () => void;
@@ -85,6 +85,7 @@ export interface ConnectedLogoutDialogProps {
85
85
  * signed in. Default: sign out at once.
86
86
  */
87
87
  confirmSignOut?: () => Promise<boolean> | boolean;
88
+ /** Glyph per session status; default `SessionStatusIcon`. */
88
89
  renderSessionIcon?: (status: string) => ReactNode;
89
90
  }
90
91
  /**
@@ -38,82 +38,37 @@ export declare function useWorkspaceDocs(): {
38
38
  docs: {
39
39
  external_id: string;
40
40
  workspace_ext_id: string;
41
- file_name?: string | null | undefined;
42
- status?: string | null | undefined;
43
- error_message?: string | null | undefined;
44
- failed_stage?: string | null | undefined;
45
- n_pages?: number | null | undefined;
46
- n_chunks?: number | null | undefined;
47
- tokens?: number | null | undefined;
48
- file_type?: string | null | undefined;
49
- file_size?: number | null | undefined;
50
- storage_type?: string | null | undefined;
51
- storage_uri?: string | null | undefined;
52
- content_hash?: string | null | undefined;
53
- shared?: boolean | null | undefined;
54
- re_ocred?: boolean | null | undefined;
55
- config_ext_id?: string | null | undefined;
56
- parent_ext_id?: string | null | undefined;
41
+ file_name?: string | null;
42
+ status?: string | null;
43
+ error_message?: string | null;
44
+ failed_stage?: string | null;
45
+ n_pages?: number | null;
46
+ n_chunks?: number | null;
47
+ tokens?: number | null;
48
+ file_type?: string | null;
49
+ file_size?: number | null;
50
+ storage_type?: string | null;
51
+ storage_uri?: string | null;
52
+ content_hash?: string | null;
53
+ shared?: boolean | null;
54
+ re_ocred?: boolean | null;
55
+ config_ext_id?: string | null;
56
+ parent_ext_id?: string | null;
57
57
  current_version: number;
58
- versions: {
59
- n: number;
60
- created_at?: string | null | undefined;
61
- created_by_ext_id?: string | null | undefined;
62
- reason: "upload" | "edit" | "signed" | "sync";
63
- file_name?: string | null | undefined;
64
- file_type?: string | null | undefined;
65
- file_size?: number | null | undefined;
66
- content_hash?: string | null | undefined;
67
- status?: string | null | undefined;
68
- n_pages?: number | null | undefined;
69
- n_chunks?: number | null | undefined;
70
- made_from?: number | null | undefined;
71
- is_current: boolean;
72
- markup_revision: number;
73
- markup_count: number;
74
- source_message_ext_id?: string | null | undefined;
75
- conversation_ext_id?: string | null | undefined;
76
- }[];
77
- thread_id?: string | null | undefined;
78
- derived_from: {
79
- doc_ext_id: string;
80
- role: import("@arbidocs/client").components["schemas"]["DocRelationRole"];
81
- version?: number | null | undefined;
82
- }[];
83
- source_message_ext_id?: string | null | undefined;
84
- conversation_ext_id?: string | null | undefined;
58
+ versions: import("@arbidocs/client").components["schemas"]["DocVersion"][];
59
+ thread_id?: string | null;
60
+ derived_from: import("@arbidocs/client").components["schemas"]["DerivedFrom"][];
61
+ source_message_ext_id?: string | null;
62
+ conversation_ext_id?: string | null;
85
63
  created_by_ext_id: string;
86
- updated_by_ext_id?: string | null | undefined;
64
+ updated_by_ext_id?: string | null;
87
65
  created_at: string;
88
66
  updated_at: string;
89
- wp_type?: string | null | undefined;
90
- folder?: string | null | undefined;
91
- sender?: string | null | undefined;
92
- doctags: {
93
- note?: string | null | undefined;
94
- citations?: {
95
- doc_ext_id: string;
96
- version?: number | null | undefined;
97
- chunks?: {
98
- chunk_id: string;
99
- page?: number | null | undefined;
100
- }[] | undefined;
101
- }[] | null | undefined;
102
- external_id: string;
103
- doc_ext_id: string;
104
- tag_ext_id: string;
105
- created_by_ext_id: string;
106
- updated_by_ext_id?: string | null | undefined;
107
- created_at: string;
108
- updated_at: string;
109
- }[];
110
- doc_metadata?: {
111
- doc_nature?: string | null | undefined;
112
- doc_author?: string | null | undefined;
113
- doc_subject?: string | null | undefined;
114
- doc_date?: string | null | undefined;
115
- title?: string | null | undefined;
116
- } | null | undefined;
67
+ wp_type?: string | null;
68
+ folder?: string | null;
69
+ sender?: string | null;
70
+ doctags: import("@arbidocs/client").components["schemas"]["DocTagResponse"][];
71
+ doc_metadata?: import("@arbidocs/client").components["schemas"]["DocMetadata"] | null;
117
72
  }[];
118
73
  docIds: string[];
119
74
  isLoading: boolean;
@@ -0,0 +1,35 @@
1
+ /**
2
+ * The Account section of a settings page, bound to the signed-in account: profile and ID check,
3
+ * security, the session card (server connection, active sessions, sign out) and the danger zone.
4
+ * What only the host knows is a prop: the recovery-key download, its admin links, its socket and
5
+ * its billing page.
6
+ */
7
+ import { type ReactNode } from 'react';
8
+ import type { IdentityStatus } from '@arbidocs/react/ui';
9
+ import { type ServerConnectionStatus } from '../../settings/ServerConnectionControls';
10
+ export interface ConnectedServerConnection extends ServerConnectionStatus {
11
+ /** Refresh the session (re-authenticate, reconnect); the button spins until it settles. */
12
+ onRefresh: () => Promise<unknown>;
13
+ }
14
+ export interface ConnectedAccountSettingsProps {
15
+ /** Classes of the initials avatar shown without a picture (e.g. the host's per-user colour). */
16
+ avatarClassName?: string;
17
+ /** Open the host's billing when the ID-check fee cannot be charged. */
18
+ onManageBilling?: () => void;
19
+ /** The ID-check price format. */
20
+ formatIdentityPrice?: (status: IdentityStatus) => string;
21
+ /** Sections between Profile and Security (e.g. a link to the host's admin portal). */
22
+ afterProfile?: ReactNode;
23
+ /** The host's password policy. */
24
+ getUnmetPasswordRequirement?: (password: string) => string | null;
25
+ /** More Security rows under "Change password" (e.g. "Save recovery key"). */
26
+ securityRows?: ReactNode;
27
+ /** The server-connection row; none when the host has no live connection to show. */
28
+ connection?: ConnectedServerConnection;
29
+ /** Sign out through the host's own dialog. Default: the built-in `ConnectedLogoutDialog`. */
30
+ onLogout?: () => void;
31
+ renderSessionIcon?: (status: string) => ReactNode;
32
+ /** Link to the billing page for a deletion blocked by an active subscription. */
33
+ renderSubscriptionLink?: () => ReactNode;
34
+ }
35
+ export declare function ConnectedAccountSettings({ avatarClassName, onManageBilling, formatIdentityPrice, afterProfile, getUnmetPasswordRequirement, securityRows, connection, onLogout, renderSessionIcon, renderSubscriptionLink, }: ConnectedAccountSettingsProps): import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * The Mail section of a settings page: the native address and the connected mailboxes
3
+ * (`ConnectedMailAccounts`, in place). Answered from the device when offline, like the mailbox,
4
+ * so the section never hangs on "Loading mail accounts…" without a connection.
5
+ */
6
+ import type { ReactNode } from 'react';
7
+ export interface ConnectedMailSettingsProps {
8
+ /** Where a provider's OAuth returns after connecting a mailbox. Default: the current page. */
9
+ oauthReturnPath?: string;
10
+ /** More settings under the accounts (e.g. keeping mail on this device). */
11
+ settings?: ReactNode;
12
+ }
13
+ export declare function ConnectedMailSettings({ oauthReturnPath, settings }: ConnectedMailSettingsProps): import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function ConnectedPremiumModels(): import("react").JSX.Element | null;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * The Privacy section of a settings page, over the user settings: whether others see you online,
3
+ * the host's own privacy rows, "Reset tips", and the email notifications.
4
+ */
5
+ import type { ReactNode } from 'react';
6
+ export interface ConnectedPrivacySettingsProps {
7
+ /** More rows after "Show Online Status" (e.g. the host's remote-control switch). */
8
+ rows?: ReactNode;
9
+ /** Offer "Reset tips" (the host shows tips the user can hide with "don't show again"). */
10
+ showTipsReset?: boolean;
11
+ }
12
+ export declare function ConnectedPrivacySettings({ rows, showTipsReset, }: ConnectedPrivacySettingsProps): import("react").JSX.Element;
@@ -0,0 +1,29 @@
1
+ import { type SettingsPageProps, type SettingsPageSection } from '../../settings/SettingsPage';
2
+ import { type ConnectedAccountSettingsProps } from './ConnectedAccountSettings';
3
+ import { type ConnectedMailSettingsProps } from './ConnectedMailSettings';
4
+ import { type ConnectedPrivacySettingsProps } from './ConnectedPrivacySettings';
5
+ /** The section ids of the connected sections. */
6
+ export declare const SETTINGS_SECTION_IDS: {
7
+ readonly account: "account";
8
+ readonly mail: "mail";
9
+ readonly privacy: "privacy";
10
+ readonly chat: "chat";
11
+ };
12
+ /** Account: profile, ID check, security, sessions, sign out, delete. */
13
+ export declare function accountSettingsSection(props?: ConnectedAccountSettingsProps): SettingsPageSection;
14
+ /** Mail: the native address and the connected mailboxes. */
15
+ export declare function mailSettingsSection(props?: ConnectedMailSettingsProps): SettingsPageSection;
16
+ /** Privacy: online status, tips and the email notifications. */
17
+ export declare function privacySettingsSection(props?: ConnectedPrivacySettingsProps): SettingsPageSection;
18
+ /** Chat: the premium models. */
19
+ export declare function chatSettingsSection(): SettingsPageSection;
20
+ /** The sections of a host that adds none of its own. */
21
+ export declare const DEFAULT_SETTINGS_SECTIONS: readonly SettingsPageSection[];
22
+ export interface ConnectedSettingsPageProps extends Omit<SettingsPageProps, 'sections' | 'activeSectionId' | 'onSectionChange'> {
23
+ /** The sections in tab order; default {@link DEFAULT_SETTINGS_SECTIONS}. */
24
+ sections?: readonly SettingsPageSection[];
25
+ /** The open section (controlled). Default: the last `openSettings` request, else the first. */
26
+ section?: string;
27
+ onSectionChange?: (id: string) => void;
28
+ }
29
+ export declare function ConnectedSettingsPage({ sections, section, onSectionChange, ...page }: ConnectedSettingsPageProps): import("react").JSX.Element;
@@ -0,0 +1,7 @@
1
+ /** The glyph of a signed-in session: an agent's bot head, else a device. */
2
+ export declare function SessionStatusIcon({ status, className }: {
3
+ status: string;
4
+ className?: string;
5
+ }): import("react").JSX.Element;
6
+ /** `renderSessionIcon` default of the session lists. */
7
+ export declare const renderSessionStatusIcon: (status: string) => import("react").JSX.Element;
@@ -0,0 +1,6 @@
1
+ export { ConnectedSettingsPage, DEFAULT_SETTINGS_SECTIONS, SETTINGS_SECTION_IDS, accountSettingsSection, chatSettingsSection, mailSettingsSection, privacySettingsSection, type ConnectedSettingsPageProps, } from './ConnectedSettingsPage';
2
+ export { ConnectedAccountSettings, type ConnectedAccountSettingsProps, type ConnectedServerConnection, } from './ConnectedAccountSettings';
3
+ export { ConnectedMailSettings, type ConnectedMailSettingsProps } from './ConnectedMailSettings';
4
+ export { ConnectedPrivacySettings, type ConnectedPrivacySettingsProps, } from './ConnectedPrivacySettings';
5
+ export { ConnectedPremiumModels } from './ConnectedPremiumModels';
6
+ export { SessionStatusIcon, renderSessionStatusIcon } from './SessionStatusIcon';
@@ -1,7 +1,8 @@
1
1
  /**
2
- * The open workspace's documents, tags and conversations for the connected kits. By default each kit reads them
3
- * through the `@arbidocs/react` hooks. A host that already keeps these lists live in its own cache
4
- * (the ARBI app, with its progressive loader and WebSocket patches) passes them once through
2
+ * The open workspace's documents, tags and conversations for the connected kits. Each kit reads them
3
+ * through the `@arbidocs/react` hooks; the documents always come from `useDocuments` (read once,
4
+ * progressively, then patched in place by every write and event, so a kit never re-reads it). A
5
+ * host that already keeps tags or conversations live in its own cache passes them once through
5
6
  * `ConnectedWorkspaceDataProvider`, so the kits show the same list and nothing is fetched twice.
6
7
  */
7
8
  import { type ReactNode } from 'react';
@@ -19,11 +20,10 @@ export interface ConnectedList<T> {
19
20
  refetch?: () => unknown;
20
21
  }
21
22
  export interface ConnectedWorkspaceData {
22
- documents?: ConnectedList<ConnectedDocument>;
23
23
  tags?: ConnectedList<ConnectedTag>;
24
24
  conversations?: ConnectedList<ConnectedConversation>;
25
25
  }
26
- export declare function ConnectedWorkspaceDataProvider({ documents, tags, conversations, children, }: ConnectedWorkspaceData & {
26
+ export declare function ConnectedWorkspaceDataProvider({ tags, conversations, children, }: ConnectedWorkspaceData & {
27
27
  children: ReactNode;
28
28
  }): import("react").JSX.Element;
29
29
  export interface ConnectedListResult<T> {
@@ -32,7 +32,7 @@ export interface ConnectedListResult<T> {
32
32
  /** Read the list again after a change made here; absent when the host keeps it current. */
33
33
  refetch?: () => unknown;
34
34
  }
35
- /** The open workspace's documents: the host's list when it gives one, else read here. */
35
+ /** The open workspace's documents (`useDocuments`: the one list every host and kit shares). */
36
36
  export declare function useConnectedDocuments(): ConnectedListResult<ConnectedDocument>;
37
37
  /** The open workspace's tags: the host's list when it gives one, else read here. */
38
38
  export declare function useConnectedTags(): ConnectedListResult<ConnectedTag>;
@@ -2,8 +2,8 @@
2
2
  'use strict';
3
3
 
4
4
  var chunk6MG62I5B_cjs = require('../chunk-6MG62I5B.cjs');
5
- var chunkJH6JTI76_cjs = require('../chunk-JH6JTI76.cjs');
6
5
  var chunkUWIILWDI_cjs = require('../chunk-UWIILWDI.cjs');
6
+ var chunkJH6JTI76_cjs = require('../chunk-JH6JTI76.cjs');
7
7
  require('../chunk-ULWRNGGE.cjs');
8
8
  require('../chunk-DES3K4SD.cjs');
9
9
  var lucideReact = require('lucide-react');
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  export { AdoptSignatureDialog, TYPED_SIGNATURE_STYLE } from '../chunk-EQB3WELX.js';
3
- export { SignDocumentDialog } from '../chunk-2YOVK524.js';
4
3
  import { ViewerStatusNote } from '../chunk-6HKLTYNN.js';
4
+ export { SignDocumentDialog } from '../chunk-2YOVK524.js';
5
5
  import '../chunk-TX2ZICS7.js';
6
6
  import '../chunk-VUNV25KB.js';
7
7
  import { PencilLine, FileText, PenLine, Users, Send, FilePenLine, Download } from 'lucide-react';
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunk5FYU7ZIU_cjs = require('../chunk-5FYU7ZIU.cjs');
5
4
  var chunk2WLXQGWC_cjs = require('../chunk-2WLXQGWC.cjs');
6
- var chunkHFGXA5CL_cjs = require('../chunk-HFGXA5CL.cjs');
5
+ var chunk5FYU7ZIU_cjs = require('../chunk-5FYU7ZIU.cjs');
6
+ var chunkUTTTJSQU_cjs = require('../chunk-UTTTJSQU.cjs');
7
7
  var chunkVPPX5XUF_cjs = require('../chunk-VPPX5XUF.cjs');
8
8
  var chunkRC25WMVB_cjs = require('../chunk-RC25WMVB.cjs');
9
9
  var chunkV4ISCZJ7_cjs = require('../chunk-V4ISCZJ7.cjs');
@@ -14,7 +14,7 @@ var chunk7RGLTF76_cjs = require('../chunk-7RGLTF76.cjs');
14
14
  require('../chunk-FX3K6LNZ.cjs');
15
15
  var chunkPPCATBOY_cjs = require('../chunk-PPCATBOY.cjs');
16
16
  var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
17
- require('../chunk-C4WSHRR6.cjs');
17
+ require('../chunk-KPZZ5FHE.cjs');
18
18
  require('../chunk-ULWRNGGE.cjs');
19
19
  var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
20
20
  require('../chunk-DES3K4SD.cjs');
@@ -2037,7 +2037,7 @@ function FactSearchResult({
2037
2037
  }
2038
2038
  ),
2039
2039
  /* @__PURE__ */ jsxRuntime.jsx(
2040
- chunkHFGXA5CL_cjs.SearchHit,
2040
+ chunkUTTTJSQU_cjs.SearchHit,
2041
2041
  {
2042
2042
  className: "min-w-0 flex-1",
2043
2043
  testId: chunkMHVNT4J3_cjs.testIdOr(testIds?.hit?.(id), { testId: `facts-smart-search-hit-${id}` }),
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- export { DEFAULT_FACT_PASSAGES_LABELS, FactPassageItem, FactSourcesPanel, renderPreviewInline, toPreviewLine } from '../chunk-HFZ45FD3.js';
3
2
  import { ViewToggle } from '../chunk-JJA6GQKH.js';
4
- import { SearchHit } from '../chunk-RI6DZA5X.js';
3
+ export { DEFAULT_FACT_PASSAGES_LABELS, FactPassageItem, FactSourcesPanel, renderPreviewInline, toPreviewLine } from '../chunk-HFZ45FD3.js';
4
+ import { SearchHit } from '../chunk-EF4ZLKRM.js';
5
5
  import { formatSpan, TimelineCalendar, TimelineGantt } from '../chunk-4EZVCGRL.js';
6
6
  import { decodeWhitespaceEntities } from '../chunk-AF6RDAJF.js';
7
7
  export { decodeWhitespaceEntities } from '../chunk-AF6RDAJF.js';
@@ -14,7 +14,7 @@ import { TabHeader } from '../chunk-4WWM3GQ5.js';
14
14
  import '../chunk-SLSBJRWW.js';
15
15
  import { observeResize } from '../chunk-NPLYHR2E.js';
16
16
  import { testIdOr } from '../chunk-7F6CBP3Z.js';
17
- import '../chunk-YNIBUKV5.js';
17
+ import '../chunk-TBEVGWY3.js';
18
18
  import '../chunk-TX2ZICS7.js';
19
19
  import { initials } from '../chunk-OXF2IFXG.js';
20
20
  import '../chunk-VUNV25KB.js';
@@ -9,15 +9,15 @@ var chunkVLCY46K6_cjs = require('../chunk-VLCY46K6.cjs');
9
9
  var chunk3AFWGEDJ_cjs = require('../chunk-3AFWGEDJ.cjs');
10
10
  var chunkDVUZTGVL_cjs = require('../chunk-DVUZTGVL.cjs');
11
11
  var chunkDETZZBG2_cjs = require('../chunk-DETZZBG2.cjs');
12
- var chunkR26BK7YL_cjs = require('../chunk-R26BK7YL.cjs');
13
12
  var chunkV4ISCZJ7_cjs = require('../chunk-V4ISCZJ7.cjs');
14
13
  var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
15
14
  var chunkC2CWWEHO_cjs = require('../chunk-C2CWWEHO.cjs');
15
+ var chunkDTROMMDX_cjs = require('../chunk-DTROMMDX.cjs');
16
16
  var chunk32HW2Q33_cjs = require('../chunk-32HW2Q33.cjs');
17
17
  require('../chunk-FX3K6LNZ.cjs');
18
18
  require('../chunk-PPCATBOY.cjs');
19
19
  var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
20
- require('../chunk-C4WSHRR6.cjs');
20
+ require('../chunk-KPZZ5FHE.cjs');
21
21
  var chunkULWRNGGE_cjs = require('../chunk-ULWRNGGE.cjs');
22
22
  var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
23
23
  require('../chunk-DES3K4SD.cjs');
@@ -209,7 +209,7 @@ function TileLink({
209
209
  onSelect
210
210
  }) {
211
211
  return /* @__PURE__ */ jsxRuntime.jsx(
212
- chunkR26BK7YL_cjs.ActionLink,
212
+ chunkDTROMMDX_cjs.ActionLink,
213
213
  {
214
214
  href,
215
215
  onSelect,
@@ -8,17 +8,17 @@ import { CellHoverIcon } from '../chunk-RFXJYIDV.js';
8
8
  export { CellHoverIcon, HoverIconCell } from '../chunk-RFXJYIDV.js';
9
9
  import { ToneBadge } from '../chunk-5LXQPP2K.js';
10
10
  export { UploadDropzone } from '../chunk-EVUEIBNU.js';
11
- import { ActionLink } from '../chunk-444XKG46.js';
12
11
  import { SelectionBar, SelectionBarAction } from '../chunk-NUNKSZKU.js';
13
12
  export { DEFAULT_SELECTION_BAR_LABELS, SelectionBar, SelectionBarAction } from '../chunk-NUNKSZKU.js';
14
13
  import { FilterInput } from '../chunk-YU2KUMGE.js';
15
14
  import { GridView } from '../chunk-N5YEF3LC.js';
16
15
  export { GridView } from '../chunk-N5YEF3LC.js';
16
+ import { ActionLink } from '../chunk-YKQ2DPIP.js';
17
17
  import { TONE_SURFACE } from '../chunk-AUS3KBHJ.js';
18
18
  import '../chunk-SLSBJRWW.js';
19
19
  import '../chunk-NPLYHR2E.js';
20
20
  import { testIdOr, prefixedTestId } from '../chunk-7F6CBP3Z.js';
21
- import '../chunk-YNIBUKV5.js';
21
+ import '../chunk-TBEVGWY3.js';
22
22
  import { ModalSection, ModalSectionTitle, ModalHeader } from '../chunk-TX2ZICS7.js';
23
23
  import { formatCount } from '../chunk-OXF2IFXG.js';
24
24
  import '../chunk-VUNV25KB.js';
@@ -3,11 +3,11 @@
3
3
 
4
4
  var chunkXZIYRKLW_cjs = require('../chunk-XZIYRKLW.cjs');
5
5
  var chunkPCB2BPN3_cjs = require('../chunk-PCB2BPN3.cjs');
6
- var chunkWS5EX7DN_cjs = require('../chunk-WS5EX7DN.cjs');
7
- var chunkR26BK7YL_cjs = require('../chunk-R26BK7YL.cjs');
6
+ var chunkEYKISBDO_cjs = require('../chunk-EYKISBDO.cjs');
7
+ var chunkDTROMMDX_cjs = require('../chunk-DTROMMDX.cjs');
8
8
  require('../chunk-PPCATBOY.cjs');
9
9
  var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
10
- require('../chunk-C4WSHRR6.cjs');
10
+ require('../chunk-KPZZ5FHE.cjs');
11
11
  require('../chunk-ULWRNGGE.cjs');
12
12
  require('../chunk-KDG6FER6.cjs');
13
13
  require('../chunk-DES3K4SD.cjs');
@@ -114,7 +114,7 @@ function RecentList({
114
114
  "data-testid": testId,
115
115
  children: [
116
116
  /* @__PURE__ */ jsxRuntime.jsx(
117
- chunkWS5EX7DN_cjs.SectionHeader,
117
+ chunkEYKISBDO_cjs.SectionHeader,
118
118
  {
119
119
  icon,
120
120
  title,
@@ -126,7 +126,7 @@ function RecentList({
126
126
  }
127
127
  ),
128
128
  rows.length === 0 ? empty?.onSelect ? /* @__PURE__ */ jsxRuntime.jsx(
129
- chunkWS5EX7DN_cjs.EmptyStrip,
129
+ chunkEYKISBDO_cjs.EmptyStrip,
130
130
  {
131
131
  icon: empty.icon,
132
132
  label: empty.label,
@@ -143,7 +143,7 @@ function RecentList({
143
143
  "data-slot": "recent-row",
144
144
  children: [
145
145
  /* @__PURE__ */ jsxRuntime.jsxs(
146
- chunkR26BK7YL_cjs.ActionLink,
146
+ chunkDTROMMDX_cjs.ActionLink,
147
147
  {
148
148
  href: row.href,
149
149
  onSelect: row.onSelect,
@@ -196,7 +196,7 @@ function FactsStrip({
196
196
  "data-testid": testId,
197
197
  children: [
198
198
  /* @__PURE__ */ jsxRuntime.jsx(
199
- chunkWS5EX7DN_cjs.SectionHeader,
199
+ chunkEYKISBDO_cjs.SectionHeader,
200
200
  {
201
201
  icon,
202
202
  title,
@@ -207,7 +207,7 @@ function FactsStrip({
207
207
  }
208
208
  ),
209
209
  filled.length === 0 ? empty && /* @__PURE__ */ jsxRuntime.jsx(
210
- chunkWS5EX7DN_cjs.EmptyStrip,
210
+ chunkEYKISBDO_cjs.EmptyStrip,
211
211
  {
212
212
  icon: empty.icon,
213
213
  label: empty.label,
@@ -415,7 +415,7 @@ function ActionMenuDialog({
415
415
  className: "sm:max-w-lg",
416
416
  "data-testid": chunkMHVNT4J3_cjs.testIdOr(testId, { testId: "action-menu-dialog" }),
417
417
  children: [
418
- /* @__PURE__ */ jsxRuntime.jsx(chunkWS5EX7DN_cjs.QuickActionDialogHeader, { icon, title, description }),
418
+ /* @__PURE__ */ jsxRuntime.jsx(chunkEYKISBDO_cjs.QuickActionDialogHeader, { icon, title, description }),
419
419
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-2 gap-3 pt-1", role: "menu", "aria-label": title, children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(
420
420
  "button",
421
421
  {
@@ -797,47 +797,47 @@ Object.defineProperty(exports, "KeyValueRow", {
797
797
  });
798
798
  Object.defineProperty(exports, "AddFilesFirst", {
799
799
  enumerable: true,
800
- get: function () { return chunkWS5EX7DN_cjs.AddFilesFirst; }
800
+ get: function () { return chunkEYKISBDO_cjs.AddFilesFirst; }
801
801
  });
802
802
  Object.defineProperty(exports, "DEFAULT_ADD_FILES_FIRST_LABELS", {
803
803
  enumerable: true,
804
- get: function () { return chunkWS5EX7DN_cjs.DEFAULT_ADD_FILES_FIRST_LABELS; }
804
+ get: function () { return chunkEYKISBDO_cjs.DEFAULT_ADD_FILES_FIRST_LABELS; }
805
805
  });
806
806
  Object.defineProperty(exports, "DEFAULT_SCOPE_PICKER_LABELS", {
807
807
  enumerable: true,
808
- get: function () { return chunkWS5EX7DN_cjs.DEFAULT_SCOPE_PICKER_LABELS; }
808
+ get: function () { return chunkEYKISBDO_cjs.DEFAULT_SCOPE_PICKER_LABELS; }
809
809
  });
810
810
  Object.defineProperty(exports, "EmptyStrip", {
811
811
  enumerable: true,
812
- get: function () { return chunkWS5EX7DN_cjs.EmptyStrip; }
812
+ get: function () { return chunkEYKISBDO_cjs.EmptyStrip; }
813
813
  });
814
814
  Object.defineProperty(exports, "FoldSection", {
815
815
  enumerable: true,
816
- get: function () { return chunkWS5EX7DN_cjs.FoldSection; }
816
+ get: function () { return chunkEYKISBDO_cjs.FoldSection; }
817
817
  });
818
818
  Object.defineProperty(exports, "QuickActionDialogHeader", {
819
819
  enumerable: true,
820
- get: function () { return chunkWS5EX7DN_cjs.QuickActionDialogHeader; }
820
+ get: function () { return chunkEYKISBDO_cjs.QuickActionDialogHeader; }
821
821
  });
822
822
  Object.defineProperty(exports, "ScopePicker", {
823
823
  enumerable: true,
824
- get: function () { return chunkWS5EX7DN_cjs.ScopePicker; }
824
+ get: function () { return chunkEYKISBDO_cjs.ScopePicker; }
825
825
  });
826
826
  Object.defineProperty(exports, "SectionHeader", {
827
827
  enumerable: true,
828
- get: function () { return chunkWS5EX7DN_cjs.SectionHeader; }
828
+ get: function () { return chunkEYKISBDO_cjs.SectionHeader; }
829
829
  });
830
830
  Object.defineProperty(exports, "SectionLabel", {
831
831
  enumerable: true,
832
- get: function () { return chunkWS5EX7DN_cjs.SectionLabel; }
832
+ get: function () { return chunkEYKISBDO_cjs.SectionLabel; }
833
833
  });
834
834
  Object.defineProperty(exports, "StartTiles", {
835
835
  enumerable: true,
836
- get: function () { return chunkWS5EX7DN_cjs.StartTiles; }
836
+ get: function () { return chunkEYKISBDO_cjs.StartTiles; }
837
837
  });
838
838
  Object.defineProperty(exports, "useScopeSelection", {
839
839
  enumerable: true,
840
- get: function () { return chunkWS5EX7DN_cjs.useScopeSelection; }
840
+ get: function () { return chunkEYKISBDO_cjs.useScopeSelection; }
841
841
  });
842
842
  exports.ActionMenuDialog = ActionMenuDialog;
843
843
  exports.BulkDeleteButton = BulkDeleteButton;
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  export { CollapsibleSection, DEFAULT_COLLAPSIBLE_SECTION_LABELS, DEFAULT_KEY_VALUE_ROW_LABELS, KeyValueContainer, KeyValueRow } from '../chunk-LGBAZD37.js';
3
3
  import { Callout } from '../chunk-UJE32SST.js';
4
- import { SectionHeader, EmptyStrip, QuickActionDialogHeader } from '../chunk-3RJN2VTL.js';
5
- export { AddFilesFirst, DEFAULT_ADD_FILES_FIRST_LABELS, DEFAULT_SCOPE_PICKER_LABELS, EmptyStrip, FoldSection, QuickActionDialogHeader, ScopePicker, SectionHeader, SectionLabel, StartTiles, useScopeSelection } from '../chunk-3RJN2VTL.js';
6
- import { ActionLink } from '../chunk-444XKG46.js';
4
+ import { SectionHeader, EmptyStrip, QuickActionDialogHeader } from '../chunk-IXWJGOM2.js';
5
+ export { AddFilesFirst, DEFAULT_ADD_FILES_FIRST_LABELS, DEFAULT_SCOPE_PICKER_LABELS, EmptyStrip, FoldSection, QuickActionDialogHeader, ScopePicker, SectionHeader, SectionLabel, StartTiles, useScopeSelection } from '../chunk-IXWJGOM2.js';
6
+ import { ActionLink } from '../chunk-YKQ2DPIP.js';
7
7
  import '../chunk-NPLYHR2E.js';
8
8
  import { testIdOr, prefixedTestId } from '../chunk-7F6CBP3Z.js';
9
- import '../chunk-YNIBUKV5.js';
9
+ import '../chunk-TBEVGWY3.js';
10
10
  import '../chunk-TX2ZICS7.js';
11
11
  import '../chunk-OXF2IFXG.js';
12
12
  import '../chunk-VUNV25KB.js';