@arbidocs/sdk 0.5.146 → 0.5.147

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.
@@ -540,6 +540,8 @@ interface SSEStreamResult {
540
540
  agentSteps: string[];
541
541
  /** Total number of tool calls across all agent steps. */
542
542
  toolCallCount: number;
543
+ /** Model turns of the agent (one per iteration): not the SSE items, of which a tool call alone sends up to three. */
544
+ agentStepCount: number;
543
545
  errors: string[];
544
546
  userMessage: UserMessageEvent | null;
545
547
  metadata: MessageMetadataPayload$1 | null;
@@ -7700,18 +7702,80 @@ declare namespace projects {
7700
7702
  }
7701
7703
 
7702
7704
  /**
7703
- * The person's saved Analytics dashboards (`/v1/user/dashboards`). Each one's spec (JSON) is sealed
7704
- * here to the user's own X25519 key (a SealedBox to the public half of the keypair their signing key
7705
- * derives, as a saved signature): the server keeps bytes it can never read, its owner's only.
7705
+ * Pages (`/v1/pages`): the open workspace's layouts of charts, metrics, text and table views.
7706
+ * A page is its creator's until shared. Sharing is one-way: a shared page is every member's to read
7707
+ * and every editor's to edit, and only a workspace owner deletes it. The server keeps the spec
7708
+ * under the workspace key. A shared page never shows a private view or document: the server refuses
7709
+ * with a 409 naming them ({@link PagePrivateContentError}).
7710
+ *
7711
+ * A dashboard saved before pages existed is a page sealed to its owner's own key, in no workspace
7712
+ * yet (`sealed`): it is opened here with that key, and saving it (`update`) places it in the open
7713
+ * workspace.
7706
7714
  */
7707
7715
 
7708
- /** A saved dashboard, opened: its spec as the JSON it was saved as; `null` when it does not open
7709
- * with the user's key (sealed under another key, or damaged). */
7710
- interface UserDashboard {
7716
+ type PageRecord = components['schemas']['PageRead'];
7717
+ type PageSpecWire = components['schemas']['PageSpec'];
7718
+ type PageViewRef = components['schemas']['PageViewRef'];
7719
+ /** A page as read. */
7720
+ interface Page {
7711
7721
  id: string;
7712
- json: string | null;
7722
+ /** `null`: a dashboard from before pages, not yet saved into a workspace. */
7723
+ workspaceId: string | null;
7724
+ shared: boolean;
7725
+ /** The page's spec; `null` for a sealed one (see `legacyJson`). */
7726
+ spec: PageSpecWire | null;
7727
+ /** A dashboard from before pages, opened with the user's key: its JSON. `null` otherwise, or
7728
+ * when it does not open (then `unreadable`). */
7729
+ legacyJson: string | null;
7730
+ unreadable: boolean;
7731
+ viewIds: string[];
7732
+ documentIds: string[];
7733
+ createdBy: string | null;
7734
+ updatedBy: string | null;
7735
+ createdAt: string;
7713
7736
  updatedAt: string;
7714
7737
  }
7738
+ /** A shared page would show views or documents that are not shared (409): `views` and `documents`
7739
+ * name them. */
7740
+ declare class PagePrivateContentError extends ArbiApiError {
7741
+ readonly views: PageViewRef[];
7742
+ readonly documents: PageViewRef[];
7743
+ constructor(message: string, views: PageViewRef[], documents: PageViewRef[], apiError?: unknown);
7744
+ }
7745
+ /** The key that opens sealed pages, asked for only when there is one. */
7746
+ type KeypairSource = () => Promise<KeyPair>;
7747
+ /** The open workspace's pages the user can see (shared ones and their own), oldest first. */
7748
+ declare function listPages(arbi: ArbiClient, keypair: KeypairSource, query?: {
7749
+ shared?: boolean;
7750
+ }): Promise<Page[]>;
7751
+ declare function getPage(arbi: ArbiClient, keypair: KeypairSource, id: string): Promise<Page>;
7752
+ /** Create a page, private unless `shared`. */
7753
+ declare function createPage(arbi: ArbiClient, page: {
7754
+ spec: PageSpecWire;
7755
+ shared?: boolean;
7756
+ }): Promise<Page>;
7757
+ /** Replace a page's spec (a sealed one is placed in the open workspace). */
7758
+ declare function updatePage(arbi: ArbiClient, id: string, spec: PageSpecWire): Promise<Page>;
7759
+ /** Share a page with the workspace, for good: sharing is one-way. */
7760
+ declare function sharePage(arbi: ArbiClient, id: string): Promise<Page>;
7761
+ declare function deletePage(arbi: ArbiClient, id: string): Promise<void>;
7762
+
7763
+ type pages_KeypairSource = KeypairSource;
7764
+ type pages_Page = Page;
7765
+ type pages_PagePrivateContentError = PagePrivateContentError;
7766
+ declare const pages_PagePrivateContentError: typeof PagePrivateContentError;
7767
+ type pages_PageRecord = PageRecord;
7768
+ type pages_PageSpecWire = PageSpecWire;
7769
+ type pages_PageViewRef = PageViewRef;
7770
+ declare const pages_createPage: typeof createPage;
7771
+ declare const pages_deletePage: typeof deletePage;
7772
+ declare const pages_getPage: typeof getPage;
7773
+ declare const pages_listPages: typeof listPages;
7774
+ declare const pages_sharePage: typeof sharePage;
7775
+ declare const pages_updatePage: typeof updatePage;
7776
+ declare namespace pages {
7777
+ export { type pages_KeypairSource as KeypairSource, type pages_Page as Page, pages_PagePrivateContentError as PagePrivateContentError, type pages_PageRecord as PageRecord, type pages_PageSpecWire as PageSpecWire, type pages_PageViewRef as PageViewRef, pages_createPage as createPage, pages_deletePage as deletePage, pages_getPage as getPage, pages_listPages as listPages, pages_sharePage as sharePage, pages_updatePage as updatePage };
7778
+ }
7715
7779
 
7716
7780
  /**
7717
7781
  * Stepped workflows: a run is a work conversation whose plan has named steps (`TaskPlan.steps`).
@@ -8012,9 +8076,9 @@ type UsageBreakdown = components['schemas']['TagBreakdown'];
8012
8076
  /** The authorization tier of a run: per-run temporary key, ask each run, or standing membership. */
8013
8077
  type AuthMode = components['schemas']['src__models__work__AuthMode'];
8014
8078
  /**
8015
- * Update a conversation: title, sharing (`shared`, owner only), and the work fields (description, due
8016
- * date, parent, `status` `todo | done`, plan). This one call replaces share, unshare
8017
- * and rename.
8079
+ * Update a conversation: title, sharing (`shared: true`, its creator only; sharing is one-way, so
8080
+ * `false` on a shared one is refused with a 409), and the work fields (description, due date,
8081
+ * parent, `status` `todo | done`, plan). This one call replaces share and rename.
8018
8082
  */
8019
8083
  declare function updateConversation(arbi: ArbiClient, conversationId: string, body: UpdateConversationRequest): Promise<ConversationResponse>;
8020
8084
  /**
@@ -8059,8 +8123,6 @@ declare function notifyConversation(arbi: ArbiClient, conversationId: string, us
8059
8123
  * shared with its workspace is visible to its creator and these people only.
8060
8124
  */
8061
8125
  declare function listConversationPeople(arbi: ArbiClient, conversationId: string): Promise<string[]>;
8062
- /** Take a named person off a conversation (a workspace owner only). */
8063
- declare function removeConversationPerson(arbi: ArbiClient, conversationId: string, userId: string): Promise<void>;
8064
8126
  /** The task's history, oldest first: created, run started, handed off, sent back, done and so on. */
8065
8127
  declare function getActivity(arbi: ArbiClient, conversationId: string): Promise<ActivityResponse[]>;
8066
8128
  /**
@@ -8120,13 +8182,12 @@ declare const work_getStepAnswers: typeof getStepAnswers;
8120
8182
  declare const work_listConversationPeople: typeof listConversationPeople;
8121
8183
  declare const work_notifyConversation: typeof notifyConversation;
8122
8184
  declare const work_planWork: typeof planWork;
8123
- declare const work_removeConversationPerson: typeof removeConversationPerson;
8124
8185
  declare const work_runConversation: typeof runConversation;
8125
8186
  declare const work_sendBackStep: typeof sendBackStep;
8126
8187
  declare const work_skipStep: typeof skipStep;
8127
8188
  declare const work_updateConversation: typeof updateConversation;
8128
8189
  declare namespace work {
8129
- export { type work_ActivityKind as ActivityKind, type work_ActivityResponse as ActivityResponse, type work_AuthMode as AuthMode, type work_ConversationResponse as ConversationResponse, type work_ConversationUsageResponse as ConversationUsageResponse, type work_CreateWorkRequest as CreateWorkRequest, type work_PendingAuthResponse as PendingAuthResponse, type work_PlanWorkRequest as PlanWorkRequest, type work_RunProgress as RunProgress, type work_StepActionRequest as StepActionRequest, type work_TaskPlan as TaskPlan, type work_UpdateConversationRequest as UpdateConversationRequest, type work_UsageBreakdown as UsageBreakdown, type work_WorkStatus as WorkStatus, work_actOnStep as actOnStep, work_completeStep as completeStep, work_createWork as createWork, work_getActivity as getActivity, work_getConversation as getConversation, work_getConversationUsage as getConversationUsage, work_getPendingAuth as getPendingAuth, work_getRunProgress as getRunProgress, work_getStepAnswers as getStepAnswers, work_listConversationPeople as listConversationPeople, work_notifyConversation as notifyConversation, work_planWork as planWork, work_removeConversationPerson as removeConversationPerson, work_runConversation as runConversation, work_sendBackStep as sendBackStep, work_skipStep as skipStep, work_updateConversation as updateConversation };
8190
+ export { type work_ActivityKind as ActivityKind, type work_ActivityResponse as ActivityResponse, type work_AuthMode as AuthMode, type work_ConversationResponse as ConversationResponse, type work_ConversationUsageResponse as ConversationUsageResponse, type work_CreateWorkRequest as CreateWorkRequest, type work_PendingAuthResponse as PendingAuthResponse, type work_PlanWorkRequest as PlanWorkRequest, type work_RunProgress as RunProgress, type work_StepActionRequest as StepActionRequest, type work_TaskPlan as TaskPlan, type work_UpdateConversationRequest as UpdateConversationRequest, type work_UsageBreakdown as UsageBreakdown, type work_WorkStatus as WorkStatus, work_actOnStep as actOnStep, work_completeStep as completeStep, work_createWork as createWork, work_getActivity as getActivity, work_getConversation as getConversation, work_getConversationUsage as getConversationUsage, work_getPendingAuth as getPendingAuth, work_getRunProgress as getRunProgress, work_getStepAnswers as getStepAnswers, work_listConversationPeople as listConversationPeople, work_notifyConversation as notifyConversation, work_planWork as planWork, work_runConversation as runConversation, work_sendBackStep as sendBackStep, work_skipStep as skipStep, work_updateConversation as updateConversation };
8130
8191
  }
8131
8192
 
8132
8193
  /**
@@ -8296,9 +8357,15 @@ type DatabaseRowPage = components['schemas']['DatabaseRowPage'];
8296
8357
  type DatabaseImportResult = components['schemas']['DatabaseImportResult'];
8297
8358
  type DatabaseAggregateRequest = components['schemas']['DatabaseAggregateRequest'];
8298
8359
  type DatabaseAggregateResult = components['schemas']['DatabaseAggregateResult'];
8299
- /** A search of a database's rows: text in any cell, sorting and paging (all on the server). */
8360
+ /**
8361
+ * A search of a database's rows: text in any cell, typed filters (`Column:op[:value]`, all must
8362
+ * hold), a saved view (its filters and sort first), sorting and paging (all on the server).
8363
+ */
8300
8364
  interface DatabaseRowsQuery {
8301
8365
  q?: string;
8366
+ filter?: string[];
8367
+ /** A saved view of this database (`viw-…`). */
8368
+ view?: string;
8302
8369
  sort?: string;
8303
8370
  descending?: boolean;
8304
8371
  offset?: number;
@@ -8325,9 +8392,10 @@ declare function addDatabaseRows(arbi: ArbiClient, databaseId: string, rows: Dat
8325
8392
  }): Promise<DatabaseRow[]>;
8326
8393
  /**
8327
8394
  * Submit a draft row: share it with the workspace (its approvers are told when a column decides
8328
- * it). `shared: false` takes a shared row back to private: a workspace owner only.
8395
+ * it). Sharing is one-way: a shared row never becomes a draft again, and only a workspace owner
8396
+ * deletes it.
8329
8397
  */
8330
- declare function shareDatabaseRow(arbi: ArbiClient, databaseId: string, rowId: string, shared?: boolean): Promise<DatabaseRow>;
8398
+ declare function shareDatabaseRow(arbi: ArbiClient, databaseId: string, rowId: string): Promise<DatabaseRow>;
8331
8399
  /** Change cells of one row (`null` empties a cell); resolves with the server's row. */
8332
8400
  declare function updateDatabaseRow(arbi: ArbiClient, databaseId: string, rowId: string, values: DatabaseRowWrite['values']): Promise<DatabaseRow>;
8333
8401
  declare function deleteDatabaseRows(arbi: ArbiClient, databaseId: string, ids: string[]): Promise<void>;
@@ -8368,6 +8436,58 @@ declare namespace databases {
8368
8436
  export { type databases_Database as Database, type databases_DatabaseAggregateRequest as DatabaseAggregateRequest, type databases_DatabaseAggregateResult as DatabaseAggregateResult, type databases_DatabaseColumn as DatabaseColumn, type databases_DatabaseColumnWrite as DatabaseColumnWrite, type databases_DatabaseCreate as DatabaseCreate, type databases_DatabaseImportResult as DatabaseImportResult, type databases_DatabaseRow as DatabaseRow, type databases_DatabaseRowPage as DatabaseRowPage, type databases_DatabaseRowWrite as DatabaseRowWrite, type databases_DatabaseRowsQuery as DatabaseRowsQuery, type databases_DatabaseUpdate as DatabaseUpdate, databases_addDatabaseRows as addDatabaseRows, databases_aggregateDatabase as aggregateDatabase, databases_createDatabase as createDatabase, databases_deleteDatabase as deleteDatabase, databases_deleteDatabaseRows as deleteDatabaseRows, databases_exportDatabase as exportDatabase, databases_getDatabase as getDatabase, databases_importDatabase as importDatabase, databases_importDatabaseRows as importDatabaseRows, databases_listDatabaseRows as listDatabaseRows, databases_listDatabases as listDatabases, databases_shareDatabaseRow as shareDatabaseRow, databases_updateDatabase as updateDatabase, databases_updateDatabaseRow as updateDatabaseRow };
8369
8437
  }
8370
8438
 
8439
+ /**
8440
+ * Table views (`/v1/views`): saved ways of looking at one table — a database's grid (`dbs-…`) or
8441
+ * the workspace's document table (`documents`). A view is its columns and layout, its filters
8442
+ * (`Column:op[:value]`, as the rows read takes them), its sort and an optional grouping.
8443
+ *
8444
+ * A view is private to its creator until shared; a shared view is every workspace member's, for
8445
+ * good: sharing is one way, and only a workspace owner deletes a shared view. Database views live in the
8446
+ * database's workspace, document-table views in the open one. Someone else's private view does
8447
+ * not exist for the caller (404).
8448
+ */
8449
+
8450
+ type TableViewRecord = components['schemas']['TableViewRead'];
8451
+ type TableViewSpec = components['schemas']['TableViewSpec'];
8452
+ type TableViewFilter = components['schemas']['DatabaseFilter'];
8453
+ /** A view's table: a database id, or `documents` for the document table. */
8454
+ type TableViewTarget = string;
8455
+ declare const DOCUMENTS_VIEW_TARGET = "documents";
8456
+ /** The views the caller can see: of one table, or (no target) every table of the open workspace. */
8457
+ declare function listTableViews(arbi: ArbiClient, target?: TableViewTarget): Promise<TableViewRecord[]>;
8458
+ declare function getTableView(arbi: ArbiClient, viewId: string): Promise<TableViewRecord>;
8459
+ /** Save a view of a table; private unless `shared` (sharing takes a workspace editor). */
8460
+ declare function createTableView(arbi: ArbiClient, target: TableViewTarget, spec: TableViewSpec, options?: {
8461
+ shared?: boolean;
8462
+ }): Promise<TableViewRecord>;
8463
+ /** Replace a view's spec: its creator, or a workspace owner for a shared view. */
8464
+ declare function updateTableView(arbi: ArbiClient, viewId: string, spec: TableViewSpec): Promise<TableViewRecord>;
8465
+ /** Share the caller's private view with the workspace. One way: it is never made private again. */
8466
+ declare function shareTableView(arbi: ArbiClient, viewId: string): Promise<TableViewRecord>;
8467
+ /**
8468
+ * Delete a view: the caller's own view while it is private, or a shared one as a workspace owner;
8469
+ * refused (409, naming them) while shared pages show it.
8470
+ */
8471
+ declare function deleteTableView(arbi: ArbiClient, viewId: string): Promise<void>;
8472
+ /** A filter as the rows read's `filter=` text: `Column:op[:value]`. */
8473
+ declare function filterText(filter: TableViewFilter): string;
8474
+
8475
+ declare const views_DOCUMENTS_VIEW_TARGET: typeof DOCUMENTS_VIEW_TARGET;
8476
+ type views_TableViewFilter = TableViewFilter;
8477
+ type views_TableViewRecord = TableViewRecord;
8478
+ type views_TableViewSpec = TableViewSpec;
8479
+ type views_TableViewTarget = TableViewTarget;
8480
+ declare const views_createTableView: typeof createTableView;
8481
+ declare const views_deleteTableView: typeof deleteTableView;
8482
+ declare const views_filterText: typeof filterText;
8483
+ declare const views_getTableView: typeof getTableView;
8484
+ declare const views_listTableViews: typeof listTableViews;
8485
+ declare const views_shareTableView: typeof shareTableView;
8486
+ declare const views_updateTableView: typeof updateTableView;
8487
+ declare namespace views {
8488
+ export { views_DOCUMENTS_VIEW_TARGET as DOCUMENTS_VIEW_TARGET, type views_TableViewFilter as TableViewFilter, type views_TableViewRecord as TableViewRecord, type views_TableViewSpec as TableViewSpec, type views_TableViewTarget as TableViewTarget, views_createTableView as createTableView, views_deleteTableView as deleteTableView, views_filterText as filterText, views_getTableView as getTableView, views_listTableViews as listTableViews, views_shareTableView as shareTableView, views_updateTableView as updateTableView };
8489
+ }
8490
+
8371
8491
  /**
8372
8492
  * Native calendar operations over `/v1/calendar`: settings, calendars, events, invitations,
8373
8493
  * sharing, subscriptions, holidays, rooms, scheduling, connected accounts, booking pages,
@@ -10964,16 +11084,26 @@ declare class Arbi {
10964
11084
  is_billing_manager: boolean;
10965
11085
  }>;
10966
11086
  };
10967
- readonly dashboards: {
10968
- /** The user's saved dashboards (each spec's JSON), oldest first. */
10969
- list: () => Promise<UserDashboard[]>;
10970
- /** Save a dashboard's spec JSON (new without `id`, else replaced). */
10971
- save: (dashboard: {
10972
- id?: string;
10973
- json: string;
10974
- }) => Promise<UserDashboard>;
11087
+ readonly pages: {
11088
+ /** The open workspace's pages the user can see, oldest first (with their dashboards from
11089
+ * before pages, opened with their key). */
11090
+ list: (query?: {
11091
+ shared?: boolean;
11092
+ }) => Promise<Page[]>;
11093
+ get: (id: string) => Promise<Page>;
11094
+ /** Create a page, private unless `shared`. */
11095
+ create: (page: {
11096
+ spec: PageSpecWire;
11097
+ shared?: boolean;
11098
+ }) => Promise<Page>;
11099
+ /** Replace a page's spec (a dashboard from before pages is placed in the open workspace). */
11100
+ update: (id: string, spec: PageSpecWire) => Promise<Page>;
11101
+ /** Share a page with the workspace (one-way: a shared page stays shared). */
11102
+ share: (id: string) => Promise<Page>;
10975
11103
  remove: (id: string) => Promise<void>;
10976
11104
  };
11105
+ /** The user's own key, which opens their dashboards from before pages. */
11106
+ private readonly sealedPageKey;
10977
11107
  readonly firm: {
10978
11108
  /** The firm's pooled monthly £ of AI usage (`has_pool` false where there is none). */
10979
11109
  pool: () => Promise<{
@@ -12616,9 +12746,9 @@ declare class Arbi {
12616
12746
  results: components["schemas"]["ConversationSearchGroup"][];
12617
12747
  }>;
12618
12748
  /**
12619
- * Patch a conversation: `title`, `shared` (owner only), its bound document
12620
- * (`bound_document_ext_id`, `null` unbinds), and the work fields (`description`, `due_at`,
12621
- * `parent_conversation_ext_id`, `status`, `plan`). The one call behind rename, share, unshare
12749
+ * Patch a conversation: `title`, `shared: true` (its creator only; sharing is one-way), its
12750
+ * bound document (`bound_document_ext_id`, `null` unbinds), and the work fields (`description`,
12751
+ * `due_at`, `parent_conversation_ext_id`, `status`, `plan`). The one call behind rename, share
12622
12752
  * and attaching a thread to a document.
12623
12753
  */
12624
12754
  update: (conversationId: string, body: UpdateConversationRequest) => Promise<{
@@ -13002,8 +13132,6 @@ declare class Arbi {
13002
13132
  notify: (conversationId: string, userIds: string[]) => Promise<string[]>;
13003
13133
  /** The people a conversation is shared with by name (cc'd or @mentioned). */
13004
13134
  people: (conversationId: string) => Promise<string[]>;
13005
- /** Take a named person off a conversation (a workspace owner only). */
13006
- removePerson: (conversationId: string, userId: string) => Promise<void>;
13007
13135
  /** Draft an editable plan from an objective, in the current workspace or `options.workspaceId`. */
13008
13136
  plan: (body: PlanWorkRequest, options?: {
13009
13137
  workspaceId?: string;
@@ -17415,9 +17543,10 @@ declare class Arbi {
17415
17543
  conversation_id?: string | null;
17416
17544
  created_at: string;
17417
17545
  updated_at: string;
17546
+ matches?: components["schemas"]["DatabaseMatchHit"][];
17418
17547
  }[]>;
17419
- /** Submit a draft row (share it), or as a workspace owner make a shared row private again. */
17420
- shareRow: (databaseId: string, rowId: string, shared?: boolean) => Promise<{
17548
+ /** Submit a draft row: share it with the workspace (one-way: it never becomes a draft again). */
17549
+ shareRow: (databaseId: string, rowId: string) => Promise<{
17421
17550
  id: string;
17422
17551
  values: {
17423
17552
  [key: string]: unknown;
@@ -17431,6 +17560,7 @@ declare class Arbi {
17431
17560
  conversation_id?: string | null;
17432
17561
  created_at: string;
17433
17562
  updated_at: string;
17563
+ matches?: components["schemas"]["DatabaseMatchHit"][];
17434
17564
  }>;
17435
17565
  updateRow: (databaseId: string, rowId: string, values: DatabaseRowWrite["values"]) => Promise<{
17436
17566
  id: string;
@@ -17446,6 +17576,7 @@ declare class Arbi {
17446
17576
  conversation_id?: string | null;
17447
17577
  created_at: string;
17448
17578
  updated_at: string;
17579
+ matches?: components["schemas"]["DatabaseMatchHit"][];
17449
17580
  }>;
17450
17581
  deleteRows: (databaseId: string, ids: string[]) => Promise<void>;
17451
17582
  import: (file: Blob, name?: string) => Promise<{
@@ -17460,6 +17591,87 @@ declare class Arbi {
17460
17591
  }>;
17461
17592
  export: (databaseId: string, format: "csv" | "xlsx") => Promise<Blob>;
17462
17593
  };
17594
+ /**
17595
+ * Saved views: private to their creator until shared with the workspace, for good (sharing is one
17596
+ * way); only a workspace owner deletes a shared view. `target` is a database id or `documents`.
17597
+ */
17598
+ readonly views: {
17599
+ /** The views the caller can see: of one table, or of every table of the open workspace. */
17600
+ list: (target?: TableViewTarget) => Promise<{
17601
+ id: string;
17602
+ workspace_id: string;
17603
+ target: string;
17604
+ shared: boolean;
17605
+ spec: components["schemas"]["TableViewSpec"];
17606
+ mine: boolean;
17607
+ editable: boolean;
17608
+ can_delete: boolean;
17609
+ created_by?: string | null;
17610
+ updated_by?: string | null;
17611
+ created_at: string;
17612
+ updated_at: string;
17613
+ }[]>;
17614
+ get: (viewId: string) => Promise<{
17615
+ id: string;
17616
+ workspace_id: string;
17617
+ target: string;
17618
+ shared: boolean;
17619
+ spec: components["schemas"]["TableViewSpec"];
17620
+ mine: boolean;
17621
+ editable: boolean;
17622
+ can_delete: boolean;
17623
+ created_by?: string | null;
17624
+ updated_by?: string | null;
17625
+ created_at: string;
17626
+ updated_at: string;
17627
+ }>;
17628
+ create: (target: TableViewTarget, spec: TableViewSpec, options?: {
17629
+ shared?: boolean;
17630
+ }) => Promise<{
17631
+ id: string;
17632
+ workspace_id: string;
17633
+ target: string;
17634
+ shared: boolean;
17635
+ spec: components["schemas"]["TableViewSpec"];
17636
+ mine: boolean;
17637
+ editable: boolean;
17638
+ can_delete: boolean;
17639
+ created_by?: string | null;
17640
+ updated_by?: string | null;
17641
+ created_at: string;
17642
+ updated_at: string;
17643
+ }>;
17644
+ update: (viewId: string, spec: TableViewSpec) => Promise<{
17645
+ id: string;
17646
+ workspace_id: string;
17647
+ target: string;
17648
+ shared: boolean;
17649
+ spec: components["schemas"]["TableViewSpec"];
17650
+ mine: boolean;
17651
+ editable: boolean;
17652
+ can_delete: boolean;
17653
+ created_by?: string | null;
17654
+ updated_by?: string | null;
17655
+ created_at: string;
17656
+ updated_at: string;
17657
+ }>;
17658
+ /** Share with the workspace (one way: it is never made private again). */
17659
+ share: (viewId: string) => Promise<{
17660
+ id: string;
17661
+ workspace_id: string;
17662
+ target: string;
17663
+ shared: boolean;
17664
+ spec: components["schemas"]["TableViewSpec"];
17665
+ mine: boolean;
17666
+ editable: boolean;
17667
+ can_delete: boolean;
17668
+ created_by?: string | null;
17669
+ updated_by?: string | null;
17670
+ created_at: string;
17671
+ updated_at: string;
17672
+ }>;
17673
+ remove: (viewId: string) => Promise<void>;
17674
+ };
17463
17675
  /**
17464
17676
  * Notes. Create, list and search act in the current workspace, or `workspaceId` (opened for this
17465
17677
  * session, not switched to), which the request names; update, delete and remind act in the
@@ -19020,4 +19232,4 @@ declare function documentTools(options: {
19020
19232
  /** Add replaces matching tool names; replace discards all previous tools. No mutation of inputs. */
19021
19233
  declare function composeTools(base: ResponseTools, next: ResponseTools, mode: 'add' | 'replace'): ResponseTools;
19022
19234
 
19023
- export { type ChatMessage as $, ACCOUNT_VENDOR as A, type BookingConfirmation as B, type BookingPage as C, type BookingPageWriteBody as D, type BookingRequestBody as E, type BridgeTokensOptions as F, type CalDavConnectBody as G, type CalDavProfile as H, type CalendarAccount as I, type CalendarAccountKind as J, type CalendarCreateBody as K, type CalendarEvent as L, type CalendarKeys as M, type CalendarRead as N, type CalendarSettings as O, type CalendarSettingsBody as P, type CalendarUpdate as Q, type CalendarWindow as R, CallApiError as S, type Capabilities as T, type ChatAttachmentFile as U, type ChatAttachmentInput as V, type ChatCryptoContext as W, type ChatKeyRing as X, type ChatKind as Y, type ChatMemberKey as Z, type ChatMemberResponse as _, type AccountSyncResult as a, type FactSearchRequest as a$, type ChatMessageResponse as a0, type ChatResponse as a1, type ChatSession as a2, type CitationSummary as a3, type CitationToolSources as a4, type CliConfig as a5, type CliCredentials as a6, type CommandDescriptor as a7, type ConfigStore as a8, type Configuration as a9, type DatabaseRowPage as aA, type DatabaseRowsQuery as aB, type DateTimeSpec as aC, type DecryptedChat as aD, type DecryptedChatMessage as aE, type DeploymentHouseTemplate as aF, type DiagnoseOptions as aG, type DirectModelUsage as aH, type DocInfo as aI, type DocInfoMap as aJ, type DocNameMap as aK, type DocumentAutomationAction as aL, type DocumentListFields as aM, type DocumentListOrder as aN, type DocumentSelector as aO, type DocumentWaiter as aP, type DocumentWaiterOptions as aQ, type DriveSyncProgress as aR, type DriveSyncSummary as aS, DuplicateContactError as aT, ENTITY_KINDS as aU, type EditScope as aV, type EntityKind as aW, type EventCreateBody as aX, type EventPatchBody as aY, FLAT_TAG_KINDS as aZ, type FactResponse as a_, type ConfigurationPatch as aa, type ConnectOptions as ab, type ConnectionModel as ac, type ConnectorCatalogEntry as ad, type ConnectorFolder as ae, type ConnectorSyncProgress as af, type ConnectorSyncStatus as ag, type ConnectorVendorKey as ah, type ConnectorVisibilitySettings as ai, type ContextUsage as aj, type ConversationResponse as ak, type ConversationUsageResponse as al, type CreateFactRequest as am, type CreateFactsRequest as an, type CreateWorkRequest as ao, type CreateWorkflowRequest as ap, DEFAULT_AI_USD_PER_GBP as aq, DOC_TERMINAL_STATUSES as ar, DRIVE_SYNC_VENDORS as as, type Database as at, type DatabaseAggregateRequest as au, type DatabaseAggregateResult as av, type DatabaseColumn as aw, type DatabaseColumnWrite as ax, type DatabaseImportResult as ay, type DatabaseRow as az, type ActivityKind as b, type ReconnectOptions as b$, type FactSearchResponse as b0, type FindTimeParams as b1, type FormattedWsMessage as b2, type FreeBusyEntry as b3, type FullContextSelection as b4, GOOGLE_VENDORS as b5, type HolidayCountry as b6, type HouseTemplateCandidate as b7, IMANAGE_VENDORS as b8, type IdentityErrorCode as b9, type PendingAuthResponse as bA, type PersonKey as bB, type PersonalConnectionInput as bC, PlanStepsError as bD, type PlanWorkRequest as bE, type ProductResponse as bF, type ProjectAddonKind as bG, type ProjectAddonSettingsRequest as bH, type ProjectBudget as bI, type ProjectCheckoutRequest as bJ, type ProjectConversationUsageResponse as bK, type ProjectCreateOptions as bL, type ProjectDetails as bM, type ProjectEventKind as bN, type ProjectEventResponse as bO, type ProjectInvoicesResponse as bP, type ProjectNextPeriodAddonsRequest as bQ, type ProjectPlanChangeRequest as bR, type ProjectQuoteRequest as bS, type ProjectResponse as bT, type ProjectUpdateRequest as bU, type ProjectUsageResponse as bV, PublicBookingError as bW, type PublicBookingPage as bX, type QuotaExceeded as bY, type RaisedSignal as bZ, type RawResponseEvent as b_, type IdentityPurchase as ba, type IdentityState as bb, type IdentityStatus as bc, type ImportResult as bd, type InvitationRead as be, type JsonSchemaOutputFormat as bf, type LinkedRun as bg, type ListAllOptions as bh, type ListEventsParams as bi, type ListFactsOptions as bj, type ListPaginatedOptions as bk, MAILBOX_SYNC_VENDORS as bl, MAX_RETRIEVE_DOC_IDS as bm, MICROSOFT_VENDORS as bn, type MailAttachment as bo, type MessageLevel as bp, type ModelConnection as bq, type OAuthAccountKind as br, type OutputItemDone as bs, type OverlayItem as bt, type OverlayLayerName as bu, PRESENCE_KINDS as bv, PROMPT_CONTEXT_CHARS as bw, type ParsedResponse as bx, type ParsedSlashCommand as by, type ParsedStructuredResponse as bz, type ActivityResponse as c, type SupportTicketInput as c$, type ReconnectableWsConnection as c0, type ResolvedCitation as c1, type ResolvedRecipient as c2, type RespondParams as c3, type RespondPartstat as c4, type Response$1 as c5, type ResponseCreateRequest as c6, type ResponseCreateResult as c7, type ResponseHandle as c8, type ResponseSnapshot as c9, type SendBack as cA, type SetupDiagnostic as cB, type SetupReport as cC, type ShareRead as cD, type ShareRole as cE, type SkillSummary as cF, type SkippedFile as cG, type SlackConnectionStatus as cH, type StepActionRequest as cI, type StepActivityEvent as cJ, type StepAssignee as cK, type StepDisplay as cL, type StepField as cM, type StepFieldOption as cN, type StepFieldOptionTone as cO, type StepKind as cP, type StepPhase as cQ, type StepSignal as cR, type StepSignalWhen as cS, type StepState as cT, type StepStatus as cU, type SubagentBranchRecord as cV, type SubagentLaneInfo as cW, type SubmitBackgroundQueryOptions as cX, type SubscribeParams as cY, type SupportRating as cZ, type SupportTicket as c_, type ResponseStart as ca, type ResponseStartOptions as cb, ResponseStream as cc, type ResponseStreamEvent as cd, type ResponseTools as ce, type RoomCreateBody as cf, type RoomQuery as cg, type RoomRead as ch, type RunProgress as ci, type RunStats as cj, type RunStep as ck, type RunWaitingOn as cl, SHAREPOINT_VENDORS as cm, type SSEEvent as cn, type SSEStreamCallbacks as co, type SSEStreamOutcome as cp, type SSEStreamResult as cq, STEP_FIELD_OPTION_TONES as cr, STOP_ID_WAIT_MS as cs, STOP_REPEAT_WINDOW_MS as ct, SUPPORTED_EXTENSIONS as cu, type ScopedTarget as cv, type SearchChunk as cw, type SecureMailCompose as cx, type SecureMailSend as cy, type SecureMailSender as cz, Arbi as d, buildTurnRequest as d$, type SyncTriggerResult as d0, TAG_KINDS as d1, TAG_NESTING_MAX_DEPTH as d2, type TagChange as d3, type TagFieldDefinition as d4, type TagGroup as d5, type TagKind as d6, type TagKindField as d7, type TagKindSchema as d8, type TagLinks as d9, type UserInfo as dA, WebSocketAuthError as dB, type WeeklyHoursSpec as dC, type WorkStatus as dD, type WorkflowAuthMode as dE, type WorkflowResponse as dF, type WorkflowRunHistoryResponse as dG, type WorkflowRunResponse as dH, type WorkspaceConflict as dI, type WorkspaceContext as dJ, type WorkspaceOpenResponse as dK, type WorkspaceResponse as dL, type WsConnection as dM, account as dN, agentconfig as dO, agents as dP, appendTranscriptionHints as dQ, assistant as dR, authenticatedFetch as dS, bookPublicSlot as dT, buildCitationChunkData as dU, buildDocNameMap as dV, buildDocumentTools as dW, buildFactsContextTool as dX, buildRetrievalChunkTool as dY, buildRetrievalFullContextTool as dZ, buildRetrievalTocTool as d_, type TagListQuery as da, type TagNode as db, type TagResponse as dc, type TagScope as dd, type TagTreeRow as de, type TaskPlan as df, type TaskPlanStep as dg, type TaxQuoteResponse as dh, type Thread as di, type ThreadsResponse as dj, type TimeSuggestion as dk, type TurnRequest as dl, type UpdateConversationRequest as dm, type UpdateFactRequest as dn, type UpdateWorkflowRequest as dp, type UploadBatchResult as dq, type UploadDirectOptions as dr, type UploadDirectResult as ds, type UploadDocumentsOptions as dt, type UploadOptions as du, type UploadProgressListener as dv, type UploadResult as dw, type UsageBreakdown as dx, type UserConnectorEntry as dy, type UserDailyUsageResponse as dz, ArbiApiError as e, getRunToAttach as e$, calendar as e0, calls as e1, canTagHaveParent as e2, cancelPublicBooking as e3, capabilities as e4, chats as e5, composeConfiguration as e6, composeTools as e7, computeRunStats as e8, connectErrorMessage as e9, findReplyTarget as eA, findSubagentRunId as eB, flattenTagTree as eC, formatAgentStepLabel as eD, formatFileSize as eE, formatGbp as eF, formatGbpPerMillionTokens as eG, formatItemLabel as eH, formatStreamSummary as eI, formatTokens as eJ, formatUserName as eK, formatWorkspaceChoices as eL, formatWsMessage as eM, generateEncryptedWorkspaceKey as eN, generateNewWorkspaceKey as eO, getAgentStepLabel as eP, getAttachableRunId as eQ, getChildTags as eR, getContextRemainingPercent as eS, getContextUsedPercent as eT, getContextUsedTokens as eU, getCurrentStep as eV, getEligibleParentTags as eW, getErrorCode as eX, getErrorMessage as eY, getPublicBookingPage as eZ, getRawWorkspaceKey as e_, connectWebSocket as ea, connectWithReconnect as eb, connectors as ec, contacts as ed, continuityPrompt as ee, conversations as ef, countCitations as eg, createAuthenticatedClient as eh, createDocumentWaiter as ei, createIndexAssigner as ej, databases as ek, defaultKindForFormat as el, diagnoseSetup as em, doctags as en, documentTools as eo, documents as ep, estimateDraftTokens as eq, extractDocumentIdsFromMessages as er, extractFactIdsFromMessages as es, extractSubagentLanes as et, facts as eu, files as ev, filterDocumentTags as ew, filterSkills as ex, findLeafForTaskMessage as ey, findMainSiblingLeaf as ez, ArbiError as f, support as f$, getRunToCancel as f0, getStepDisplay as f1, getStepTool as f2, getSubagentBranchRecord as f3, getTagDescendantIds as f4, health as f5, houseTemplate as f6, hydrateAgentSteps as f7, identity as f8, identityErrorCode as f9, profile as fA, progressFetch as fB, projects as fC, quotaExceededFrom as fD, quotaFromStreamError as fE, reduceOutputItem as fF, refusalReason as fG, requireData as fH, requireOk as fI, resolveAuth as fJ, resolveCitations as fK, resolveSummary as fL, resolveWorkspace as fM, responses as fN, searchChunks as fO, secureMail as fP, selectFullContextDocument as fQ, selectWorkspace as fR, selectWorkspaceById as fS, sessions as fT, settings as fU, signatureRequests as fV, sliceToSubagentThread as fW, streamSSE as fX, stripCitationMarkdown as fY, subagentJobLabel as fZ, summarizeCitations as f_, instructions as fa, isAnnotationTag as fb, isConnectorVendorVisible as fc, isDriveSyncVendor as fd, isEntityTag as fe, isFlatKind as ff, isLabelTag as fg, isMailboxSyncVendor as fh, isNearAiUsageBudget as fi, isPresenceTag as fj, isSharePointVendor as fk, isSharedSkill as fl, isTraceItem as fm, mail as fn, mcpTools as fo, mergeAgentSteps as fp, modelConnections as fq, notifications as fr, parseSSEEvents as fs, parseSlashCommand as ft, parseSlashTokenInProgress as fu, parseStructuredResponse as fv, performPasswordLogin as fw, performSigningKeyLogin as fx, performSsoDeviceFlowLogin as fy, pickMainThread as fz, type ArbiErrorOptions as g, tagUseCount as g0, tags as g1, tagsForScope as g2, tagsOfGroup as g3, topLevelAgentSteps as g4, uploadSkill as g5, usdToGbp as g6, work as g7, workflowSteps as g8, workflows as g9, workspaceAssistant as ga, workspaceConflictOf as gb, workspaces as gc, wouldCreateTagCycle as gd, type ArbiHostSession as h, type ArbiOptions as i, ArbiSessionExpiredError as j, ArbiStructuredOutputError as k, ArbiTransportError as l, ArbiWorkspaceChangedError as m, ArbiWorkspaceSupersededError as n, ArbiWorkspaceUnavailableError as o, type AskHandlers as p, type AskRequest as q, type AssistantArrival as r, type AssistantBrief as s, type AssistantBriefInput as t, type AssistantStatus as u, type AttendeeRead as v, type AuthContext as w, type AuthHeaders as x, type AuthMode as y, type AuthenticatedClient as z };
19235
+ export { type ChatMessage as $, ACCOUNT_VENDOR as A, type BookingConfirmation as B, type BookingPage as C, type BookingPageWriteBody as D, type BookingRequestBody as E, type BridgeTokensOptions as F, type CalDavConnectBody as G, type CalDavProfile as H, type CalendarAccount as I, type CalendarAccountKind as J, type CalendarCreateBody as K, type CalendarEvent as L, type CalendarKeys as M, type CalendarRead as N, type CalendarSettings as O, type CalendarSettingsBody as P, type CalendarUpdate as Q, type CalendarWindow as R, CallApiError as S, type Capabilities as T, type ChatAttachmentFile as U, type ChatAttachmentInput as V, type ChatCryptoContext as W, type ChatKeyRing as X, type ChatKind as Y, type ChatMemberKey as Z, type ChatMemberResponse as _, type AccountSyncResult as a, type FactResponse as a$, type ChatMessageResponse as a0, type ChatResponse as a1, type ChatSession as a2, type CitationSummary as a3, type CitationToolSources as a4, type CliConfig as a5, type CliCredentials as a6, type CommandDescriptor as a7, type ConfigStore as a8, type Configuration as a9, type DatabaseRow as aA, type DatabaseRowPage as aB, type DatabaseRowsQuery as aC, type DateTimeSpec as aD, type DecryptedChat as aE, type DecryptedChatMessage as aF, type DeploymentHouseTemplate as aG, type DiagnoseOptions as aH, type DirectModelUsage as aI, type DocInfo as aJ, type DocInfoMap as aK, type DocNameMap as aL, type DocumentAutomationAction as aM, type DocumentListFields as aN, type DocumentListOrder as aO, type DocumentSelector as aP, type DocumentWaiter as aQ, type DocumentWaiterOptions as aR, type DriveSyncProgress as aS, type DriveSyncSummary as aT, DuplicateContactError as aU, ENTITY_KINDS as aV, type EditScope as aW, type EntityKind as aX, type EventCreateBody as aY, type EventPatchBody as aZ, FLAT_TAG_KINDS as a_, type ConfigurationPatch as aa, type ConnectOptions as ab, type ConnectionModel as ac, type ConnectorCatalogEntry as ad, type ConnectorFolder as ae, type ConnectorSyncProgress as af, type ConnectorSyncStatus as ag, type ConnectorVendorKey as ah, type ConnectorVisibilitySettings as ai, type ContextUsage as aj, type ConversationResponse as ak, type ConversationUsageResponse as al, type CreateFactRequest as am, type CreateFactsRequest as an, type CreateWorkRequest as ao, type CreateWorkflowRequest as ap, DEFAULT_AI_USD_PER_GBP as aq, DOCUMENTS_VIEW_TARGET as ar, DOC_TERMINAL_STATUSES as as, DRIVE_SYNC_VENDORS as at, type Database as au, type DatabaseAggregateRequest as av, type DatabaseAggregateResult as aw, type DatabaseColumn as ax, type DatabaseColumnWrite as ay, type DatabaseImportResult as az, type ActivityKind as b, type ProjectUsageResponse as b$, type FactSearchRequest as b0, type FactSearchResponse as b1, type FindTimeParams as b2, type FormattedWsMessage as b3, type FreeBusyEntry as b4, type FullContextSelection as b5, GOOGLE_VENDORS as b6, type HolidayCountry as b7, type HouseTemplateCandidate as b8, IMANAGE_VENDORS as b9, type PageRecord as bA, type PageSpecWire as bB, type PageViewRef as bC, type ParsedResponse as bD, type ParsedSlashCommand as bE, type ParsedStructuredResponse as bF, type PendingAuthResponse as bG, type PersonKey as bH, type PersonalConnectionInput as bI, PlanStepsError as bJ, type PlanWorkRequest as bK, type ProductResponse as bL, type ProjectAddonKind as bM, type ProjectAddonSettingsRequest as bN, type ProjectBudget as bO, type ProjectCheckoutRequest as bP, type ProjectConversationUsageResponse as bQ, type ProjectCreateOptions as bR, type ProjectDetails as bS, type ProjectEventKind as bT, type ProjectEventResponse as bU, type ProjectInvoicesResponse as bV, type ProjectNextPeriodAddonsRequest as bW, type ProjectPlanChangeRequest as bX, type ProjectQuoteRequest as bY, type ProjectResponse as bZ, type ProjectUpdateRequest as b_, type IdentityErrorCode as ba, type IdentityPurchase as bb, type IdentityState as bc, type IdentityStatus as bd, type ImportResult as be, type InvitationRead as bf, type JsonSchemaOutputFormat as bg, type LinkedRun as bh, type ListAllOptions as bi, type ListEventsParams as bj, type ListFactsOptions as bk, type ListPaginatedOptions as bl, MAILBOX_SYNC_VENDORS as bm, MAX_RETRIEVE_DOC_IDS as bn, MICROSOFT_VENDORS as bo, type MailAttachment as bp, type MessageLevel as bq, type ModelConnection as br, type OAuthAccountKind as bs, type OutputItemDone as bt, type OverlayItem as bu, type OverlayLayerName as bv, PRESENCE_KINDS as bw, PROMPT_CONTEXT_CHARS as bx, type Page as by, PagePrivateContentError as bz, type ActivityResponse as c, type SubagentBranchRecord as c$, PublicBookingError as c0, type PublicBookingPage as c1, type QuotaExceeded as c2, type RaisedSignal as c3, type RawResponseEvent as c4, type ReconnectOptions as c5, type ReconnectableWsConnection as c6, type ResolvedCitation as c7, type ResolvedRecipient as c8, type RespondParams as c9, SUPPORTED_EXTENSIONS as cA, type ScopedTarget as cB, type SearchChunk as cC, type SecureMailCompose as cD, type SecureMailSend as cE, type SecureMailSender as cF, type SendBack as cG, type SetupDiagnostic as cH, type SetupReport as cI, type ShareRead as cJ, type ShareRole as cK, type SkillSummary as cL, type SkippedFile as cM, type SlackConnectionStatus as cN, type StepActionRequest as cO, type StepActivityEvent as cP, type StepAssignee as cQ, type StepDisplay as cR, type StepField as cS, type StepFieldOption as cT, type StepFieldOptionTone as cU, type StepKind as cV, type StepPhase as cW, type StepSignal as cX, type StepSignalWhen as cY, type StepState as cZ, type StepStatus as c_, type RespondPartstat as ca, type Response$1 as cb, type ResponseCreateRequest as cc, type ResponseCreateResult as cd, type ResponseHandle as ce, type ResponseSnapshot as cf, type ResponseStart as cg, type ResponseStartOptions as ch, ResponseStream as ci, type ResponseStreamEvent as cj, type ResponseTools as ck, type RoomCreateBody as cl, type RoomQuery as cm, type RoomRead as cn, type RunProgress as co, type RunStats as cp, type RunStep as cq, type RunWaitingOn as cr, SHAREPOINT_VENDORS as cs, type SSEEvent as ct, type SSEStreamCallbacks as cu, type SSEStreamOutcome as cv, type SSEStreamResult as cw, STEP_FIELD_OPTION_TONES as cx, STOP_ID_WAIT_MS as cy, STOP_REPEAT_WINDOW_MS as cz, Arbi as d, assistant as d$, type SubagentLaneInfo as d0, type SubmitBackgroundQueryOptions as d1, type SubscribeParams as d2, type SupportRating as d3, type SupportTicket as d4, type SupportTicketInput as d5, type SyncTriggerResult as d6, TAG_KINDS as d7, TAG_NESTING_MAX_DEPTH as d8, type TableViewFilter as d9, type UploadBatchResult as dA, type UploadDirectOptions as dB, type UploadDirectResult as dC, type UploadDocumentsOptions as dD, type UploadOptions as dE, type UploadProgressListener as dF, type UploadResult as dG, type UsageBreakdown as dH, type UserConnectorEntry as dI, type UserDailyUsageResponse as dJ, type UserInfo as dK, WebSocketAuthError as dL, type WeeklyHoursSpec as dM, type WorkStatus as dN, type WorkflowAuthMode as dO, type WorkflowResponse as dP, type WorkflowRunHistoryResponse as dQ, type WorkflowRunResponse as dR, type WorkspaceConflict as dS, type WorkspaceContext as dT, type WorkspaceOpenResponse as dU, type WorkspaceResponse as dV, type WsConnection as dW, account as dX, agentconfig as dY, agents as dZ, appendTranscriptionHints as d_, type TableViewRecord as da, type TableViewSpec as db, type TableViewTarget as dc, type TagChange as dd, type TagFieldDefinition as de, type TagGroup as df, type TagKind as dg, type TagKindField as dh, type TagKindSchema as di, type TagLinks as dj, type TagListQuery as dk, type TagNode as dl, type TagResponse as dm, type TagScope as dn, type TagTreeRow as dp, type TaskPlan as dq, type TaskPlanStep as dr, type TaxQuoteResponse as ds, type Thread as dt, type ThreadsResponse as du, type TimeSuggestion as dv, type TurnRequest as dw, type UpdateConversationRequest as dx, type UpdateFactRequest as dy, type UpdateWorkflowRequest as dz, ArbiApiError as e, getAttachableRunId as e$, authenticatedFetch as e0, bookPublicSlot as e1, buildCitationChunkData as e2, buildDocNameMap as e3, buildDocumentTools as e4, buildFactsContextTool as e5, buildRetrievalChunkTool as e6, buildRetrievalFullContextTool as e7, buildRetrievalTocTool as e8, buildTurnRequest as e9, estimateDraftTokens as eA, extractDocumentIdsFromMessages as eB, extractFactIdsFromMessages as eC, extractSubagentLanes as eD, facts as eE, files as eF, filterDocumentTags as eG, filterSkills as eH, filterText as eI, findLeafForTaskMessage as eJ, findMainSiblingLeaf as eK, findReplyTarget as eL, findSubagentRunId as eM, flattenTagTree as eN, formatAgentStepLabel as eO, formatFileSize as eP, formatGbp as eQ, formatGbpPerMillionTokens as eR, formatItemLabel as eS, formatStreamSummary as eT, formatTokens as eU, formatUserName as eV, formatWorkspaceChoices as eW, formatWsMessage as eX, generateEncryptedWorkspaceKey as eY, generateNewWorkspaceKey as eZ, getAgentStepLabel as e_, calendar as ea, calls as eb, canTagHaveParent as ec, cancelPublicBooking as ed, capabilities as ee, chats as ef, composeConfiguration as eg, composeTools as eh, computeRunStats as ei, connectErrorMessage as ej, connectWebSocket as ek, connectWithReconnect as el, connectors as em, contacts as en, continuityPrompt as eo, conversations as ep, countCitations as eq, createAuthenticatedClient as er, createDocumentWaiter as es, createIndexAssigner as et, databases as eu, defaultKindForFormat as ev, diagnoseSetup as ew, doctags as ex, documentTools as ey, documents as ez, ArbiError as f, secureMail as f$, getChildTags as f0, getContextRemainingPercent as f1, getContextUsedPercent as f2, getContextUsedTokens as f3, getCurrentStep as f4, getEligibleParentTags as f5, getErrorCode as f6, getErrorMessage as f7, getPublicBookingPage as f8, getRawWorkspaceKey as f9, mergeAgentSteps as fA, modelConnections as fB, notifications as fC, pages as fD, parseSSEEvents as fE, parseSlashCommand as fF, parseSlashTokenInProgress as fG, parseStructuredResponse as fH, performPasswordLogin as fI, performSigningKeyLogin as fJ, performSsoDeviceFlowLogin as fK, pickMainThread as fL, profile as fM, progressFetch as fN, projects as fO, quotaExceededFrom as fP, quotaFromStreamError as fQ, reduceOutputItem as fR, refusalReason as fS, requireData as fT, requireOk as fU, resolveAuth as fV, resolveCitations as fW, resolveSummary as fX, resolveWorkspace as fY, responses as fZ, searchChunks as f_, getRunToAttach as fa, getRunToCancel as fb, getStepDisplay as fc, getStepTool as fd, getSubagentBranchRecord as fe, getTagDescendantIds as ff, health as fg, houseTemplate as fh, hydrateAgentSteps as fi, identity as fj, identityErrorCode as fk, instructions as fl, isAnnotationTag as fm, isConnectorVendorVisible as fn, isDriveSyncVendor as fo, isEntityTag as fp, isFlatKind as fq, isLabelTag as fr, isMailboxSyncVendor as fs, isNearAiUsageBudget as ft, isPresenceTag as fu, isSharePointVendor as fv, isSharedSkill as fw, isTraceItem as fx, mail as fy, mcpTools as fz, type ArbiErrorOptions as g, selectFullContextDocument as g0, selectWorkspace as g1, selectWorkspaceById as g2, sessions as g3, settings as g4, signatureRequests as g5, sliceToSubagentThread as g6, streamSSE as g7, stripCitationMarkdown as g8, subagentJobLabel as g9, summarizeCitations as ga, support as gb, tagUseCount as gc, tags as gd, tagsForScope as ge, tagsOfGroup as gf, topLevelAgentSteps as gg, uploadSkill as gh, usdToGbp as gi, views as gj, work as gk, workflowSteps as gl, workflows as gm, workspaceAssistant as gn, workspaceConflictOf as go, workspaces as gp, wouldCreateTagCycle as gq, type ArbiHostSession as h, type ArbiOptions as i, ArbiSessionExpiredError as j, ArbiStructuredOutputError as k, ArbiTransportError as l, ArbiWorkspaceChangedError as m, ArbiWorkspaceSupersededError as n, ArbiWorkspaceUnavailableError as o, type AskHandlers as p, type AskRequest as q, type AssistantArrival as r, type AssistantBrief as s, type AssistantBriefInput as t, type AssistantStatus as u, type AttendeeRead as v, type AuthContext as w, type AuthHeaders as x, type AuthMode as y, type AuthenticatedClient as z };