@arbidocs/sdk 0.3.176 → 0.3.179

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.
@@ -885,12 +885,12 @@ declare function listDocuments(arbi: ArbiClient): Promise<{
885
885
  doctags: {
886
886
  note?: string | null | undefined;
887
887
  citations?: {
888
- passages: {
888
+ doc_ext_id: string;
889
+ chunks?: {
889
890
  chunk_id: string;
890
- doc_ext_id?: string | null | undefined;
891
891
  page?: number | null | undefined;
892
- }[];
893
- } | null | undefined;
892
+ }[] | undefined;
893
+ }[] | null | undefined;
894
894
  external_id: string;
895
895
  doc_ext_id: string;
896
896
  tag_ext_id: string;
@@ -983,12 +983,12 @@ declare function getDocuments(arbi: ArbiClient, externalIds: string[]): Promise<
983
983
  doctags: {
984
984
  note?: string | null | undefined;
985
985
  citations?: {
986
- passages: {
986
+ doc_ext_id: string;
987
+ chunks?: {
987
988
  chunk_id: string;
988
- doc_ext_id?: string | null | undefined;
989
989
  page?: number | null | undefined;
990
- }[];
991
- } | null | undefined;
990
+ }[] | undefined;
991
+ }[] | null | undefined;
992
992
  external_id: string;
993
993
  doc_ext_id: string;
994
994
  tag_ext_id: string;
@@ -1035,12 +1035,12 @@ declare function updateDocuments(arbi: ArbiClient, documents: DocUpdateRequest$1
1035
1035
  doctags: {
1036
1036
  note?: string | null | undefined;
1037
1037
  citations?: {
1038
- passages: {
1038
+ doc_ext_id: string;
1039
+ chunks?: {
1039
1040
  chunk_id: string;
1040
- doc_ext_id?: string | null | undefined;
1041
1041
  page?: number | null | undefined;
1042
- }[];
1043
- } | null | undefined;
1042
+ }[] | undefined;
1043
+ }[] | null | undefined;
1044
1044
  external_id: string;
1045
1045
  doc_ext_id: string;
1046
1046
  tag_ext_id: string;
@@ -2484,12 +2484,12 @@ declare class Arbi {
2484
2484
  doctags: {
2485
2485
  note?: string | null | undefined;
2486
2486
  citations?: {
2487
- passages: {
2487
+ doc_ext_id: string;
2488
+ chunks?: {
2488
2489
  chunk_id: string;
2489
- doc_ext_id?: string | null | undefined;
2490
2490
  page?: number | null | undefined;
2491
- }[];
2492
- } | null | undefined;
2491
+ }[] | undefined;
2492
+ }[] | null | undefined;
2493
2493
  external_id: string;
2494
2494
  doc_ext_id: string;
2495
2495
  tag_ext_id: string;
@@ -2611,12 +2611,12 @@ declare class Arbi {
2611
2611
  doctags: {
2612
2612
  note?: string | null | undefined;
2613
2613
  citations?: {
2614
- passages: {
2614
+ doc_ext_id: string;
2615
+ chunks?: {
2615
2616
  chunk_id: string;
2616
- doc_ext_id?: string | null | undefined;
2617
2617
  page?: number | null | undefined;
2618
- }[];
2619
- } | null | undefined;
2618
+ }[] | undefined;
2619
+ }[] | null | undefined;
2620
2620
  external_id: string;
2621
2621
  doc_ext_id: string;
2622
2622
  tag_ext_id: string;
@@ -2663,12 +2663,12 @@ declare class Arbi {
2663
2663
  doctags: {
2664
2664
  note?: string | null | undefined;
2665
2665
  citations?: {
2666
- passages: {
2666
+ doc_ext_id: string;
2667
+ chunks?: {
2667
2668
  chunk_id: string;
2668
- doc_ext_id?: string | null | undefined;
2669
2669
  page?: number | null | undefined;
2670
- }[];
2671
- } | null | undefined;
2670
+ }[] | undefined;
2671
+ }[] | null | undefined;
2672
2672
  external_id: string;
2673
2673
  doc_ext_id: string;
2674
2674
  tag_ext_id: string;
@@ -3083,6 +3083,7 @@ declare class Arbi {
3083
3083
  shared: boolean;
3084
3084
  parent_ext_id?: string | null | undefined;
3085
3085
  doctag_count: number;
3086
+ facttag_count: number;
3086
3087
  created_by_ext_id: string;
3087
3088
  updated_by_ext_id?: string | null | undefined;
3088
3089
  created_at: string;
@@ -3106,6 +3107,7 @@ declare class Arbi {
3106
3107
  shared: boolean;
3107
3108
  parent_ext_id?: string | null | undefined;
3108
3109
  doctag_count: number;
3110
+ facttag_count: number;
3109
3111
  created_by_ext_id: string;
3110
3112
  updated_by_ext_id?: string | null | undefined;
3111
3113
  created_at: string;
@@ -3126,6 +3128,7 @@ declare class Arbi {
3126
3128
  shared: boolean;
3127
3129
  parent_ext_id?: string | null | undefined;
3128
3130
  doctag_count: number;
3131
+ facttag_count: number;
3129
3132
  created_by_ext_id: string;
3130
3133
  updated_by_ext_id?: string | null | undefined;
3131
3134
  created_at: string;
@@ -3136,12 +3139,12 @@ declare class Arbi {
3136
3139
  assign: (tagId: string, docIds: string[], note?: string | null) => Promise<{
3137
3140
  note?: string | null | undefined;
3138
3141
  citations?: {
3139
- passages: {
3142
+ doc_ext_id: string;
3143
+ chunks?: {
3140
3144
  chunk_id: string;
3141
- doc_ext_id?: string | null | undefined;
3142
3145
  page?: number | null | undefined;
3143
- }[];
3144
- } | null | undefined;
3146
+ }[] | undefined;
3147
+ }[] | null | undefined;
3145
3148
  external_id: string;
3146
3149
  doc_ext_id: string;
3147
3150
  tag_ext_id: string;
@@ -3157,12 +3160,12 @@ declare class Arbi {
3157
3160
  }) => Promise<{
3158
3161
  note?: string | null | undefined;
3159
3162
  citations?: {
3160
- passages: {
3163
+ doc_ext_id: string;
3164
+ chunks?: {
3161
3165
  chunk_id: string;
3162
- doc_ext_id?: string | null | undefined;
3163
3166
  page?: number | null | undefined;
3164
- }[];
3165
- } | null | undefined;
3167
+ }[] | undefined;
3168
+ }[] | null | undefined;
3166
3169
  external_id: string;
3167
3170
  doc_ext_id: string;
3168
3171
  tag_ext_id: string;
@@ -4692,6 +4695,7 @@ declare function listTags(arbi: ArbiClient): Promise<{
4692
4695
  shared: boolean;
4693
4696
  parent_ext_id?: string | null | undefined;
4694
4697
  doctag_count: number;
4698
+ facttag_count: number;
4695
4699
  created_by_ext_id: string;
4696
4700
  updated_by_ext_id?: string | null | undefined;
4697
4701
  created_at: string;
@@ -4715,6 +4719,7 @@ declare function createTag(arbi: ArbiClient, options: {
4715
4719
  shared: boolean;
4716
4720
  parent_ext_id?: string | null | undefined;
4717
4721
  doctag_count: number;
4722
+ facttag_count: number;
4718
4723
  created_by_ext_id: string;
4719
4724
  updated_by_ext_id?: string | null | undefined;
4720
4725
  created_at: string;
@@ -4735,6 +4740,7 @@ declare function updateTag(arbi: ArbiClient, tagId: string, body: UpdateTagReque
4735
4740
  shared: boolean;
4736
4741
  parent_ext_id?: string | null | undefined;
4737
4742
  doctag_count: number;
4743
+ facttag_count: number;
4738
4744
  created_by_ext_id: string;
4739
4745
  updated_by_ext_id?: string | null | undefined;
4740
4746
  created_at: string;
@@ -5135,12 +5141,12 @@ type CitationSources = components['schemas']['CitationSources'];
5135
5141
  declare function assignDocTags(arbi: ArbiClient, tagId: string, docIds: string[], note?: string | null): Promise<{
5136
5142
  note?: string | null | undefined;
5137
5143
  citations?: {
5138
- passages: {
5144
+ doc_ext_id: string;
5145
+ chunks?: {
5139
5146
  chunk_id: string;
5140
- doc_ext_id?: string | null | undefined;
5141
5147
  page?: number | null | undefined;
5142
- }[];
5143
- } | null | undefined;
5148
+ }[] | undefined;
5149
+ }[] | null | undefined;
5144
5150
  external_id: string;
5145
5151
  doc_ext_id: string;
5146
5152
  tag_ext_id: string;
@@ -5156,12 +5162,12 @@ declare function updateDocTag(arbi: ArbiClient, tagId: string, docId: string, up
5156
5162
  }): Promise<{
5157
5163
  note?: string | null | undefined;
5158
5164
  citations?: {
5159
- passages: {
5165
+ doc_ext_id: string;
5166
+ chunks?: {
5160
5167
  chunk_id: string;
5161
- doc_ext_id?: string | null | undefined;
5162
5168
  page?: number | null | undefined;
5163
- }[];
5164
- } | null | undefined;
5169
+ }[] | undefined;
5170
+ }[] | null | undefined;
5165
5171
  external_id: string;
5166
5172
  doc_ext_id: string;
5167
5173
  tag_ext_id: string;
@@ -885,12 +885,12 @@ declare function listDocuments(arbi: ArbiClient): Promise<{
885
885
  doctags: {
886
886
  note?: string | null | undefined;
887
887
  citations?: {
888
- passages: {
888
+ doc_ext_id: string;
889
+ chunks?: {
889
890
  chunk_id: string;
890
- doc_ext_id?: string | null | undefined;
891
891
  page?: number | null | undefined;
892
- }[];
893
- } | null | undefined;
892
+ }[] | undefined;
893
+ }[] | null | undefined;
894
894
  external_id: string;
895
895
  doc_ext_id: string;
896
896
  tag_ext_id: string;
@@ -983,12 +983,12 @@ declare function getDocuments(arbi: ArbiClient, externalIds: string[]): Promise<
983
983
  doctags: {
984
984
  note?: string | null | undefined;
985
985
  citations?: {
986
- passages: {
986
+ doc_ext_id: string;
987
+ chunks?: {
987
988
  chunk_id: string;
988
- doc_ext_id?: string | null | undefined;
989
989
  page?: number | null | undefined;
990
- }[];
991
- } | null | undefined;
990
+ }[] | undefined;
991
+ }[] | null | undefined;
992
992
  external_id: string;
993
993
  doc_ext_id: string;
994
994
  tag_ext_id: string;
@@ -1035,12 +1035,12 @@ declare function updateDocuments(arbi: ArbiClient, documents: DocUpdateRequest$1
1035
1035
  doctags: {
1036
1036
  note?: string | null | undefined;
1037
1037
  citations?: {
1038
- passages: {
1038
+ doc_ext_id: string;
1039
+ chunks?: {
1039
1040
  chunk_id: string;
1040
- doc_ext_id?: string | null | undefined;
1041
1041
  page?: number | null | undefined;
1042
- }[];
1043
- } | null | undefined;
1042
+ }[] | undefined;
1043
+ }[] | null | undefined;
1044
1044
  external_id: string;
1045
1045
  doc_ext_id: string;
1046
1046
  tag_ext_id: string;
@@ -2484,12 +2484,12 @@ declare class Arbi {
2484
2484
  doctags: {
2485
2485
  note?: string | null | undefined;
2486
2486
  citations?: {
2487
- passages: {
2487
+ doc_ext_id: string;
2488
+ chunks?: {
2488
2489
  chunk_id: string;
2489
- doc_ext_id?: string | null | undefined;
2490
2490
  page?: number | null | undefined;
2491
- }[];
2492
- } | null | undefined;
2491
+ }[] | undefined;
2492
+ }[] | null | undefined;
2493
2493
  external_id: string;
2494
2494
  doc_ext_id: string;
2495
2495
  tag_ext_id: string;
@@ -2611,12 +2611,12 @@ declare class Arbi {
2611
2611
  doctags: {
2612
2612
  note?: string | null | undefined;
2613
2613
  citations?: {
2614
- passages: {
2614
+ doc_ext_id: string;
2615
+ chunks?: {
2615
2616
  chunk_id: string;
2616
- doc_ext_id?: string | null | undefined;
2617
2617
  page?: number | null | undefined;
2618
- }[];
2619
- } | null | undefined;
2618
+ }[] | undefined;
2619
+ }[] | null | undefined;
2620
2620
  external_id: string;
2621
2621
  doc_ext_id: string;
2622
2622
  tag_ext_id: string;
@@ -2663,12 +2663,12 @@ declare class Arbi {
2663
2663
  doctags: {
2664
2664
  note?: string | null | undefined;
2665
2665
  citations?: {
2666
- passages: {
2666
+ doc_ext_id: string;
2667
+ chunks?: {
2667
2668
  chunk_id: string;
2668
- doc_ext_id?: string | null | undefined;
2669
2669
  page?: number | null | undefined;
2670
- }[];
2671
- } | null | undefined;
2670
+ }[] | undefined;
2671
+ }[] | null | undefined;
2672
2672
  external_id: string;
2673
2673
  doc_ext_id: string;
2674
2674
  tag_ext_id: string;
@@ -3083,6 +3083,7 @@ declare class Arbi {
3083
3083
  shared: boolean;
3084
3084
  parent_ext_id?: string | null | undefined;
3085
3085
  doctag_count: number;
3086
+ facttag_count: number;
3086
3087
  created_by_ext_id: string;
3087
3088
  updated_by_ext_id?: string | null | undefined;
3088
3089
  created_at: string;
@@ -3106,6 +3107,7 @@ declare class Arbi {
3106
3107
  shared: boolean;
3107
3108
  parent_ext_id?: string | null | undefined;
3108
3109
  doctag_count: number;
3110
+ facttag_count: number;
3109
3111
  created_by_ext_id: string;
3110
3112
  updated_by_ext_id?: string | null | undefined;
3111
3113
  created_at: string;
@@ -3126,6 +3128,7 @@ declare class Arbi {
3126
3128
  shared: boolean;
3127
3129
  parent_ext_id?: string | null | undefined;
3128
3130
  doctag_count: number;
3131
+ facttag_count: number;
3129
3132
  created_by_ext_id: string;
3130
3133
  updated_by_ext_id?: string | null | undefined;
3131
3134
  created_at: string;
@@ -3136,12 +3139,12 @@ declare class Arbi {
3136
3139
  assign: (tagId: string, docIds: string[], note?: string | null) => Promise<{
3137
3140
  note?: string | null | undefined;
3138
3141
  citations?: {
3139
- passages: {
3142
+ doc_ext_id: string;
3143
+ chunks?: {
3140
3144
  chunk_id: string;
3141
- doc_ext_id?: string | null | undefined;
3142
3145
  page?: number | null | undefined;
3143
- }[];
3144
- } | null | undefined;
3146
+ }[] | undefined;
3147
+ }[] | null | undefined;
3145
3148
  external_id: string;
3146
3149
  doc_ext_id: string;
3147
3150
  tag_ext_id: string;
@@ -3157,12 +3160,12 @@ declare class Arbi {
3157
3160
  }) => Promise<{
3158
3161
  note?: string | null | undefined;
3159
3162
  citations?: {
3160
- passages: {
3163
+ doc_ext_id: string;
3164
+ chunks?: {
3161
3165
  chunk_id: string;
3162
- doc_ext_id?: string | null | undefined;
3163
3166
  page?: number | null | undefined;
3164
- }[];
3165
- } | null | undefined;
3167
+ }[] | undefined;
3168
+ }[] | null | undefined;
3166
3169
  external_id: string;
3167
3170
  doc_ext_id: string;
3168
3171
  tag_ext_id: string;
@@ -4692,6 +4695,7 @@ declare function listTags(arbi: ArbiClient): Promise<{
4692
4695
  shared: boolean;
4693
4696
  parent_ext_id?: string | null | undefined;
4694
4697
  doctag_count: number;
4698
+ facttag_count: number;
4695
4699
  created_by_ext_id: string;
4696
4700
  updated_by_ext_id?: string | null | undefined;
4697
4701
  created_at: string;
@@ -4715,6 +4719,7 @@ declare function createTag(arbi: ArbiClient, options: {
4715
4719
  shared: boolean;
4716
4720
  parent_ext_id?: string | null | undefined;
4717
4721
  doctag_count: number;
4722
+ facttag_count: number;
4718
4723
  created_by_ext_id: string;
4719
4724
  updated_by_ext_id?: string | null | undefined;
4720
4725
  created_at: string;
@@ -4735,6 +4740,7 @@ declare function updateTag(arbi: ArbiClient, tagId: string, body: UpdateTagReque
4735
4740
  shared: boolean;
4736
4741
  parent_ext_id?: string | null | undefined;
4737
4742
  doctag_count: number;
4743
+ facttag_count: number;
4738
4744
  created_by_ext_id: string;
4739
4745
  updated_by_ext_id?: string | null | undefined;
4740
4746
  created_at: string;
@@ -5135,12 +5141,12 @@ type CitationSources = components['schemas']['CitationSources'];
5135
5141
  declare function assignDocTags(arbi: ArbiClient, tagId: string, docIds: string[], note?: string | null): Promise<{
5136
5142
  note?: string | null | undefined;
5137
5143
  citations?: {
5138
- passages: {
5144
+ doc_ext_id: string;
5145
+ chunks?: {
5139
5146
  chunk_id: string;
5140
- doc_ext_id?: string | null | undefined;
5141
5147
  page?: number | null | undefined;
5142
- }[];
5143
- } | null | undefined;
5148
+ }[] | undefined;
5149
+ }[] | null | undefined;
5144
5150
  external_id: string;
5145
5151
  doc_ext_id: string;
5146
5152
  tag_ext_id: string;
@@ -5156,12 +5162,12 @@ declare function updateDocTag(arbi: ArbiClient, tagId: string, docId: string, up
5156
5162
  }): Promise<{
5157
5163
  note?: string | null | undefined;
5158
5164
  citations?: {
5159
- passages: {
5165
+ doc_ext_id: string;
5166
+ chunks?: {
5160
5167
  chunk_id: string;
5161
- doc_ext_id?: string | null | undefined;
5162
5168
  page?: number | null | undefined;
5163
- }[];
5164
- } | null | undefined;
5169
+ }[] | undefined;
5170
+ }[] | null | undefined;
5165
5171
  external_id: string;
5166
5172
  doc_ext_id: string;
5167
5173
  tag_ext_id: string;
@@ -1,2 +1,2 @@
1
- export { A as AgentControlStateEvent, a as AgentStepDeltaEvent, b as AgentStepEvent, c as Arbi, d as ArbiApiError, e as ArbiError, f as ArbiErrorEvent, g as ArbiOptions, h as ArtifactEvent, i as AuthContext, j as AuthHeaders, k as AuthenticatedClient, C as ChatSession, l as CitationSummary, m as CliConfig, n as CliCredentials, o as CommandDescriptor, p as ConfigStore, q as ConnectOptions, r as CreateFactRequest, s as CreateTaskRequest, t as DeferredInterjectionEvent, F as FactResponse, B as FactSearchRequest, E as FactSearchResponse, I as MessageMetadataPayload, J as MessageQueuedEvent, O as OutputTokensDetails, P as ParsedSlashCommand, K as ProbeAnswerEvent, N as ProjectInvoicesResponse, Q as ProjectUsageResponse, R as QueryOptions, S as ReconnectOptions, T as ReconnectableWsConnection, U as ResolvedCitation, W as ResponseCompletedEvent, X as ResponseContentPartAddedEvent, Y as ResponseCreatedEvent, Z as ResponseFailedEvent, _ as ResponseOutputItemAddedEvent, $ as ResponseOutputItemDoneEvent, a0 as ResponseOutputTextDeltaEvent, a1 as ResponseOutputTextDoneEvent, a2 as ResponseUsage, a3 as SSEEvent, a4 as SSEStreamCallbacks, a5 as SSEStreamResult, a6 as SSEStreamStartData, a8 as SkillSummary, aa as TaskResponse, ab as TokenBudgetContext, ac as UpdateFactRequest, ad as UpdateTaskRequest, aj as UserDailyUsageResponse, ak as UserInfo, al as UserInputRequestEvent, am as UserMessageEvent, an as WebSocketAuthError, ao as WorkspaceContext, ap as WsConnection, aq as agentconfig, ar as assistant, as as authenticatedFetch, au as buildRetrievalChunkTool, av as buildRetrievalFullContextTool, aw as buildRetrievalTocTool, ax as connectWebSocket, ay as connectWithReconnect, az as consumeSSEStream, aA as contacts, aB as conversations, aC as countCitations, aD as createAuthenticatedClient, aF as dm, aG as doctags, aH as documents, aI as facts, aJ as files, aK as filterSkills, aL as formatAgentStepLabel, aM as formatFileSize, aN as formatItemLabel, aP as formatUserName, aQ as formatWorkspaceChoices, aV as getErrorMessage, aW as getRawWorkspaceKey, aX as health, aY as parseSSEEvents, aZ as parseSlashCommand, a_ as parseSlashTokenInProgress, a$ as performPasswordLogin, b2 as projects, b3 as requireData, b4 as requireOk, b5 as resolveAuth, b6 as resolveCitations, b7 as resolveWorkspace, b8 as responses, b9 as selectWorkspace, ba as selectWorkspaceById, bb as settings, bc as streamSSE, bd as stripCitationMarkdown, be as summarizeCitations, bf as tags, bg as tasks, bh as workspaces } from './browser-C-XYO6U8.cjs';
1
+ export { A as AgentControlStateEvent, a as AgentStepDeltaEvent, b as AgentStepEvent, c as Arbi, d as ArbiApiError, e as ArbiError, f as ArbiErrorEvent, g as ArbiOptions, h as ArtifactEvent, i as AuthContext, j as AuthHeaders, k as AuthenticatedClient, C as ChatSession, l as CitationSummary, m as CliConfig, n as CliCredentials, o as CommandDescriptor, p as ConfigStore, q as ConnectOptions, r as CreateFactRequest, s as CreateTaskRequest, t as DeferredInterjectionEvent, F as FactResponse, B as FactSearchRequest, E as FactSearchResponse, I as MessageMetadataPayload, J as MessageQueuedEvent, O as OutputTokensDetails, P as ParsedSlashCommand, K as ProbeAnswerEvent, N as ProjectInvoicesResponse, Q as ProjectUsageResponse, R as QueryOptions, S as ReconnectOptions, T as ReconnectableWsConnection, U as ResolvedCitation, W as ResponseCompletedEvent, X as ResponseContentPartAddedEvent, Y as ResponseCreatedEvent, Z as ResponseFailedEvent, _ as ResponseOutputItemAddedEvent, $ as ResponseOutputItemDoneEvent, a0 as ResponseOutputTextDeltaEvent, a1 as ResponseOutputTextDoneEvent, a2 as ResponseUsage, a3 as SSEEvent, a4 as SSEStreamCallbacks, a5 as SSEStreamResult, a6 as SSEStreamStartData, a8 as SkillSummary, aa as TaskResponse, ab as TokenBudgetContext, ac as UpdateFactRequest, ad as UpdateTaskRequest, aj as UserDailyUsageResponse, ak as UserInfo, al as UserInputRequestEvent, am as UserMessageEvent, an as WebSocketAuthError, ao as WorkspaceContext, ap as WsConnection, aq as agentconfig, ar as assistant, as as authenticatedFetch, au as buildRetrievalChunkTool, av as buildRetrievalFullContextTool, aw as buildRetrievalTocTool, ax as connectWebSocket, ay as connectWithReconnect, az as consumeSSEStream, aA as contacts, aB as conversations, aC as countCitations, aD as createAuthenticatedClient, aF as dm, aG as doctags, aH as documents, aI as facts, aJ as files, aK as filterSkills, aL as formatAgentStepLabel, aM as formatFileSize, aN as formatItemLabel, aP as formatUserName, aQ as formatWorkspaceChoices, aV as getErrorMessage, aW as getRawWorkspaceKey, aX as health, aY as parseSSEEvents, aZ as parseSlashCommand, a_ as parseSlashTokenInProgress, a$ as performPasswordLogin, b2 as projects, b3 as requireData, b4 as requireOk, b5 as resolveAuth, b6 as resolveCitations, b7 as resolveWorkspace, b8 as responses, b9 as selectWorkspace, ba as selectWorkspaceById, bb as settings, bc as streamSSE, bd as stripCitationMarkdown, be as summarizeCitations, bf as tags, bg as tasks, bh as workspaces } from './browser-BEUfcxJV.cjs';
2
2
  import '@arbidocs/client';
package/dist/browser.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export { A as AgentControlStateEvent, a as AgentStepDeltaEvent, b as AgentStepEvent, c as Arbi, d as ArbiApiError, e as ArbiError, f as ArbiErrorEvent, g as ArbiOptions, h as ArtifactEvent, i as AuthContext, j as AuthHeaders, k as AuthenticatedClient, C as ChatSession, l as CitationSummary, m as CliConfig, n as CliCredentials, o as CommandDescriptor, p as ConfigStore, q as ConnectOptions, r as CreateFactRequest, s as CreateTaskRequest, t as DeferredInterjectionEvent, F as FactResponse, B as FactSearchRequest, E as FactSearchResponse, I as MessageMetadataPayload, J as MessageQueuedEvent, O as OutputTokensDetails, P as ParsedSlashCommand, K as ProbeAnswerEvent, N as ProjectInvoicesResponse, Q as ProjectUsageResponse, R as QueryOptions, S as ReconnectOptions, T as ReconnectableWsConnection, U as ResolvedCitation, W as ResponseCompletedEvent, X as ResponseContentPartAddedEvent, Y as ResponseCreatedEvent, Z as ResponseFailedEvent, _ as ResponseOutputItemAddedEvent, $ as ResponseOutputItemDoneEvent, a0 as ResponseOutputTextDeltaEvent, a1 as ResponseOutputTextDoneEvent, a2 as ResponseUsage, a3 as SSEEvent, a4 as SSEStreamCallbacks, a5 as SSEStreamResult, a6 as SSEStreamStartData, a8 as SkillSummary, aa as TaskResponse, ab as TokenBudgetContext, ac as UpdateFactRequest, ad as UpdateTaskRequest, aj as UserDailyUsageResponse, ak as UserInfo, al as UserInputRequestEvent, am as UserMessageEvent, an as WebSocketAuthError, ao as WorkspaceContext, ap as WsConnection, aq as agentconfig, ar as assistant, as as authenticatedFetch, au as buildRetrievalChunkTool, av as buildRetrievalFullContextTool, aw as buildRetrievalTocTool, ax as connectWebSocket, ay as connectWithReconnect, az as consumeSSEStream, aA as contacts, aB as conversations, aC as countCitations, aD as createAuthenticatedClient, aF as dm, aG as doctags, aH as documents, aI as facts, aJ as files, aK as filterSkills, aL as formatAgentStepLabel, aM as formatFileSize, aN as formatItemLabel, aP as formatUserName, aQ as formatWorkspaceChoices, aV as getErrorMessage, aW as getRawWorkspaceKey, aX as health, aY as parseSSEEvents, aZ as parseSlashCommand, a_ as parseSlashTokenInProgress, a$ as performPasswordLogin, b2 as projects, b3 as requireData, b4 as requireOk, b5 as resolveAuth, b6 as resolveCitations, b7 as resolveWorkspace, b8 as responses, b9 as selectWorkspace, ba as selectWorkspaceById, bb as settings, bc as streamSSE, bd as stripCitationMarkdown, be as summarizeCitations, bf as tags, bg as tasks, bh as workspaces } from './browser-C-XYO6U8.js';
1
+ export { A as AgentControlStateEvent, a as AgentStepDeltaEvent, b as AgentStepEvent, c as Arbi, d as ArbiApiError, e as ArbiError, f as ArbiErrorEvent, g as ArbiOptions, h as ArtifactEvent, i as AuthContext, j as AuthHeaders, k as AuthenticatedClient, C as ChatSession, l as CitationSummary, m as CliConfig, n as CliCredentials, o as CommandDescriptor, p as ConfigStore, q as ConnectOptions, r as CreateFactRequest, s as CreateTaskRequest, t as DeferredInterjectionEvent, F as FactResponse, B as FactSearchRequest, E as FactSearchResponse, I as MessageMetadataPayload, J as MessageQueuedEvent, O as OutputTokensDetails, P as ParsedSlashCommand, K as ProbeAnswerEvent, N as ProjectInvoicesResponse, Q as ProjectUsageResponse, R as QueryOptions, S as ReconnectOptions, T as ReconnectableWsConnection, U as ResolvedCitation, W as ResponseCompletedEvent, X as ResponseContentPartAddedEvent, Y as ResponseCreatedEvent, Z as ResponseFailedEvent, _ as ResponseOutputItemAddedEvent, $ as ResponseOutputItemDoneEvent, a0 as ResponseOutputTextDeltaEvent, a1 as ResponseOutputTextDoneEvent, a2 as ResponseUsage, a3 as SSEEvent, a4 as SSEStreamCallbacks, a5 as SSEStreamResult, a6 as SSEStreamStartData, a8 as SkillSummary, aa as TaskResponse, ab as TokenBudgetContext, ac as UpdateFactRequest, ad as UpdateTaskRequest, aj as UserDailyUsageResponse, ak as UserInfo, al as UserInputRequestEvent, am as UserMessageEvent, an as WebSocketAuthError, ao as WorkspaceContext, ap as WsConnection, aq as agentconfig, ar as assistant, as as authenticatedFetch, au as buildRetrievalChunkTool, av as buildRetrievalFullContextTool, aw as buildRetrievalTocTool, ax as connectWebSocket, ay as connectWithReconnect, az as consumeSSEStream, aA as contacts, aB as conversations, aC as countCitations, aD as createAuthenticatedClient, aF as dm, aG as doctags, aH as documents, aI as facts, aJ as files, aK as filterSkills, aL as formatAgentStepLabel, aM as formatFileSize, aN as formatItemLabel, aP as formatUserName, aQ as formatWorkspaceChoices, aV as getErrorMessage, aW as getRawWorkspaceKey, aX as health, aY as parseSSEEvents, aZ as parseSlashCommand, a_ as parseSlashTokenInProgress, a$ as performPasswordLogin, b2 as projects, b3 as requireData, b4 as requireOk, b5 as resolveAuth, b6 as resolveCitations, b7 as resolveWorkspace, b8 as responses, b9 as selectWorkspace, ba as selectWorkspaceById, bb as settings, bc as streamSSE, bd as stripCitationMarkdown, be as summarizeCitations, bf as tags, bg as tasks, bh as workspaces } from './browser-BEUfcxJV.js';
2
2
  import '@arbidocs/client';
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { p as ConfigStore, m as CliConfig, n as CliCredentials, C as ChatSession, a9 as SkippedFile, ai as UploadResult, j as AuthHeaders, ae as UploadBatchResult, ah as UploadOptions, af as UploadDirectOptions, ag as UploadDirectResult, a7 as SUPPORTED_EXTENSIONS, u as DmCryptoContext } from './browser-C-XYO6U8.cjs';
2
- export { b as AgentStepEvent, c as Arbi, d as ArbiApiError, e as ArbiError, g as ArbiOptions, h as ArtifactEvent, i as AuthContext, k as AuthenticatedClient, l as CitationSummary, o as CommandDescriptor, q as ConnectOptions, D as DOC_TERMINAL_STATUSES, v as DocNameMap, w as DocumentListFields, x as DocumentListOrder, y as DocumentWaiter, z as DocumentWaiterOptions, G as FormattedWsMessage, L as ListAllOptions, H as ListPaginatedOptions, M as MessageLevel, I as MessageMetadataPayload, J as MessageQueuedEvent, O as OutputTokensDetails, P as ParsedSlashCommand, N as ProjectInvoicesResponse, Q as ProjectUsageResponse, R as QueryOptions, S as ReconnectOptions, T as ReconnectableWsConnection, U as ResolvedCitation, V as ResolvedRecipient, W as ResponseCompletedEvent, X as ResponseContentPartAddedEvent, Y as ResponseCreatedEvent, Z as ResponseFailedEvent, _ as ResponseOutputItemAddedEvent, $ as ResponseOutputItemDoneEvent, a0 as ResponseOutputTextDeltaEvent, a1 as ResponseOutputTextDoneEvent, a2 as ResponseUsage, a3 as SSEEvent, a4 as SSEStreamCallbacks, a5 as SSEStreamResult, a6 as SSEStreamStartData, a8 as SkillSummary, ab as TokenBudgetContext, aj as UserDailyUsageResponse, ak as UserInfo, al as UserInputRequestEvent, am as UserMessageEvent, an as WebSocketAuthError, ao as WorkspaceContext, ap as WsConnection, aq as agentconfig, ar as assistant, as as authenticatedFetch, at as buildDocNameMap, au as buildRetrievalChunkTool, av as buildRetrievalFullContextTool, aw as buildRetrievalTocTool, ax as connectWebSocket, ay as connectWithReconnect, az as consumeSSEStream, aA as contacts, aB as conversations, aC as countCitations, aD as createAuthenticatedClient, aE as createDocumentWaiter, aF as dm, aG as doctags, aH as documents, aI as facts, aJ as files, aK as filterSkills, aL as formatAgentStepLabel, aM as formatFileSize, aN as formatItemLabel, aO as formatStreamSummary, aP as formatUserName, aQ as formatWorkspaceChoices, aR as formatWsMessage, aS as generateEncryptedWorkspaceKey, aT as generateNewWorkspaceKey, aU as getErrorCode, aV as getErrorMessage, aW as getRawWorkspaceKey, aX as health, aY as parseSSEEvents, aZ as parseSlashCommand, a_ as parseSlashTokenInProgress, a$ as performPasswordLogin, b0 as performSigningKeyLogin, b1 as performSsoDeviceFlowLogin, b2 as projects, b3 as requireData, b4 as requireOk, b5 as resolveAuth, b6 as resolveCitations, b7 as resolveWorkspace, b8 as responses, b9 as selectWorkspace, ba as selectWorkspaceById, bb as settings, bc as streamSSE, bd as stripCitationMarkdown, be as summarizeCitations, bf as tags, bg as tasks, bh as workspaces } from './browser-C-XYO6U8.cjs';
1
+ import { p as ConfigStore, m as CliConfig, n as CliCredentials, C as ChatSession, a9 as SkippedFile, ai as UploadResult, j as AuthHeaders, ae as UploadBatchResult, ah as UploadOptions, af as UploadDirectOptions, ag as UploadDirectResult, a7 as SUPPORTED_EXTENSIONS, u as DmCryptoContext } from './browser-BEUfcxJV.cjs';
2
+ export { b as AgentStepEvent, c as Arbi, d as ArbiApiError, e as ArbiError, g as ArbiOptions, h as ArtifactEvent, i as AuthContext, k as AuthenticatedClient, l as CitationSummary, o as CommandDescriptor, q as ConnectOptions, D as DOC_TERMINAL_STATUSES, v as DocNameMap, w as DocumentListFields, x as DocumentListOrder, y as DocumentWaiter, z as DocumentWaiterOptions, G as FormattedWsMessage, L as ListAllOptions, H as ListPaginatedOptions, M as MessageLevel, I as MessageMetadataPayload, J as MessageQueuedEvent, O as OutputTokensDetails, P as ParsedSlashCommand, N as ProjectInvoicesResponse, Q as ProjectUsageResponse, R as QueryOptions, S as ReconnectOptions, T as ReconnectableWsConnection, U as ResolvedCitation, V as ResolvedRecipient, W as ResponseCompletedEvent, X as ResponseContentPartAddedEvent, Y as ResponseCreatedEvent, Z as ResponseFailedEvent, _ as ResponseOutputItemAddedEvent, $ as ResponseOutputItemDoneEvent, a0 as ResponseOutputTextDeltaEvent, a1 as ResponseOutputTextDoneEvent, a2 as ResponseUsage, a3 as SSEEvent, a4 as SSEStreamCallbacks, a5 as SSEStreamResult, a6 as SSEStreamStartData, a8 as SkillSummary, ab as TokenBudgetContext, aj as UserDailyUsageResponse, ak as UserInfo, al as UserInputRequestEvent, am as UserMessageEvent, an as WebSocketAuthError, ao as WorkspaceContext, ap as WsConnection, aq as agentconfig, ar as assistant, as as authenticatedFetch, at as buildDocNameMap, au as buildRetrievalChunkTool, av as buildRetrievalFullContextTool, aw as buildRetrievalTocTool, ax as connectWebSocket, ay as connectWithReconnect, az as consumeSSEStream, aA as contacts, aB as conversations, aC as countCitations, aD as createAuthenticatedClient, aE as createDocumentWaiter, aF as dm, aG as doctags, aH as documents, aI as facts, aJ as files, aK as filterSkills, aL as formatAgentStepLabel, aM as formatFileSize, aN as formatItemLabel, aO as formatStreamSummary, aP as formatUserName, aQ as formatWorkspaceChoices, aR as formatWsMessage, aS as generateEncryptedWorkspaceKey, aT as generateNewWorkspaceKey, aU as getErrorCode, aV as getErrorMessage, aW as getRawWorkspaceKey, aX as health, aY as parseSSEEvents, aZ as parseSlashCommand, a_ as parseSlashTokenInProgress, a$ as performPasswordLogin, b0 as performSigningKeyLogin, b1 as performSsoDeviceFlowLogin, b2 as projects, b3 as requireData, b4 as requireOk, b5 as resolveAuth, b6 as resolveCitations, b7 as resolveWorkspace, b8 as responses, b9 as selectWorkspace, ba as selectWorkspaceById, bb as settings, bc as streamSSE, bd as stripCitationMarkdown, be as summarizeCitations, bf as tags, bg as tasks, bh as workspaces } from './browser-BEUfcxJV.cjs';
3
3
  import { SessionStorageProvider, ArbiClient, components } from '@arbidocs/client';
4
4
 
5
5
  /**
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { p as ConfigStore, m as CliConfig, n as CliCredentials, C as ChatSession, a9 as SkippedFile, ai as UploadResult, j as AuthHeaders, ae as UploadBatchResult, ah as UploadOptions, af as UploadDirectOptions, ag as UploadDirectResult, a7 as SUPPORTED_EXTENSIONS, u as DmCryptoContext } from './browser-C-XYO6U8.js';
2
- export { b as AgentStepEvent, c as Arbi, d as ArbiApiError, e as ArbiError, g as ArbiOptions, h as ArtifactEvent, i as AuthContext, k as AuthenticatedClient, l as CitationSummary, o as CommandDescriptor, q as ConnectOptions, D as DOC_TERMINAL_STATUSES, v as DocNameMap, w as DocumentListFields, x as DocumentListOrder, y as DocumentWaiter, z as DocumentWaiterOptions, G as FormattedWsMessage, L as ListAllOptions, H as ListPaginatedOptions, M as MessageLevel, I as MessageMetadataPayload, J as MessageQueuedEvent, O as OutputTokensDetails, P as ParsedSlashCommand, N as ProjectInvoicesResponse, Q as ProjectUsageResponse, R as QueryOptions, S as ReconnectOptions, T as ReconnectableWsConnection, U as ResolvedCitation, V as ResolvedRecipient, W as ResponseCompletedEvent, X as ResponseContentPartAddedEvent, Y as ResponseCreatedEvent, Z as ResponseFailedEvent, _ as ResponseOutputItemAddedEvent, $ as ResponseOutputItemDoneEvent, a0 as ResponseOutputTextDeltaEvent, a1 as ResponseOutputTextDoneEvent, a2 as ResponseUsage, a3 as SSEEvent, a4 as SSEStreamCallbacks, a5 as SSEStreamResult, a6 as SSEStreamStartData, a8 as SkillSummary, ab as TokenBudgetContext, aj as UserDailyUsageResponse, ak as UserInfo, al as UserInputRequestEvent, am as UserMessageEvent, an as WebSocketAuthError, ao as WorkspaceContext, ap as WsConnection, aq as agentconfig, ar as assistant, as as authenticatedFetch, at as buildDocNameMap, au as buildRetrievalChunkTool, av as buildRetrievalFullContextTool, aw as buildRetrievalTocTool, ax as connectWebSocket, ay as connectWithReconnect, az as consumeSSEStream, aA as contacts, aB as conversations, aC as countCitations, aD as createAuthenticatedClient, aE as createDocumentWaiter, aF as dm, aG as doctags, aH as documents, aI as facts, aJ as files, aK as filterSkills, aL as formatAgentStepLabel, aM as formatFileSize, aN as formatItemLabel, aO as formatStreamSummary, aP as formatUserName, aQ as formatWorkspaceChoices, aR as formatWsMessage, aS as generateEncryptedWorkspaceKey, aT as generateNewWorkspaceKey, aU as getErrorCode, aV as getErrorMessage, aW as getRawWorkspaceKey, aX as health, aY as parseSSEEvents, aZ as parseSlashCommand, a_ as parseSlashTokenInProgress, a$ as performPasswordLogin, b0 as performSigningKeyLogin, b1 as performSsoDeviceFlowLogin, b2 as projects, b3 as requireData, b4 as requireOk, b5 as resolveAuth, b6 as resolveCitations, b7 as resolveWorkspace, b8 as responses, b9 as selectWorkspace, ba as selectWorkspaceById, bb as settings, bc as streamSSE, bd as stripCitationMarkdown, be as summarizeCitations, bf as tags, bg as tasks, bh as workspaces } from './browser-C-XYO6U8.js';
1
+ import { p as ConfigStore, m as CliConfig, n as CliCredentials, C as ChatSession, a9 as SkippedFile, ai as UploadResult, j as AuthHeaders, ae as UploadBatchResult, ah as UploadOptions, af as UploadDirectOptions, ag as UploadDirectResult, a7 as SUPPORTED_EXTENSIONS, u as DmCryptoContext } from './browser-BEUfcxJV.js';
2
+ export { b as AgentStepEvent, c as Arbi, d as ArbiApiError, e as ArbiError, g as ArbiOptions, h as ArtifactEvent, i as AuthContext, k as AuthenticatedClient, l as CitationSummary, o as CommandDescriptor, q as ConnectOptions, D as DOC_TERMINAL_STATUSES, v as DocNameMap, w as DocumentListFields, x as DocumentListOrder, y as DocumentWaiter, z as DocumentWaiterOptions, G as FormattedWsMessage, L as ListAllOptions, H as ListPaginatedOptions, M as MessageLevel, I as MessageMetadataPayload, J as MessageQueuedEvent, O as OutputTokensDetails, P as ParsedSlashCommand, N as ProjectInvoicesResponse, Q as ProjectUsageResponse, R as QueryOptions, S as ReconnectOptions, T as ReconnectableWsConnection, U as ResolvedCitation, V as ResolvedRecipient, W as ResponseCompletedEvent, X as ResponseContentPartAddedEvent, Y as ResponseCreatedEvent, Z as ResponseFailedEvent, _ as ResponseOutputItemAddedEvent, $ as ResponseOutputItemDoneEvent, a0 as ResponseOutputTextDeltaEvent, a1 as ResponseOutputTextDoneEvent, a2 as ResponseUsage, a3 as SSEEvent, a4 as SSEStreamCallbacks, a5 as SSEStreamResult, a6 as SSEStreamStartData, a8 as SkillSummary, ab as TokenBudgetContext, aj as UserDailyUsageResponse, ak as UserInfo, al as UserInputRequestEvent, am as UserMessageEvent, an as WebSocketAuthError, ao as WorkspaceContext, ap as WsConnection, aq as agentconfig, ar as assistant, as as authenticatedFetch, at as buildDocNameMap, au as buildRetrievalChunkTool, av as buildRetrievalFullContextTool, aw as buildRetrievalTocTool, ax as connectWebSocket, ay as connectWithReconnect, az as consumeSSEStream, aA as contacts, aB as conversations, aC as countCitations, aD as createAuthenticatedClient, aE as createDocumentWaiter, aF as dm, aG as doctags, aH as documents, aI as facts, aJ as files, aK as filterSkills, aL as formatAgentStepLabel, aM as formatFileSize, aN as formatItemLabel, aO as formatStreamSummary, aP as formatUserName, aQ as formatWorkspaceChoices, aR as formatWsMessage, aS as generateEncryptedWorkspaceKey, aT as generateNewWorkspaceKey, aU as getErrorCode, aV as getErrorMessage, aW as getRawWorkspaceKey, aX as health, aY as parseSSEEvents, aZ as parseSlashCommand, a_ as parseSlashTokenInProgress, a$ as performPasswordLogin, b0 as performSigningKeyLogin, b1 as performSsoDeviceFlowLogin, b2 as projects, b3 as requireData, b4 as requireOk, b5 as resolveAuth, b6 as resolveCitations, b7 as resolveWorkspace, b8 as responses, b9 as selectWorkspace, ba as selectWorkspaceById, bb as settings, bc as streamSSE, bd as stripCitationMarkdown, be as summarizeCitations, bf as tags, bg as tasks, bh as workspaces } from './browser-BEUfcxJV.js';
3
3
  import { SessionStorageProvider, ArbiClient, components } from '@arbidocs/client';
4
4
 
5
5
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbidocs/sdk",
3
- "version": "0.3.176",
3
+ "version": "0.3.179",
4
4
  "description": "Shared operations layer for ARBI — auth, config, SSE, WebSocket, and API operations",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -35,7 +35,7 @@
35
35
  "typecheck": "tsc --noEmit"
36
36
  },
37
37
  "dependencies": {
38
- "@arbidocs/client": "0.3.176",
38
+ "@arbidocs/client": "0.3.179",
39
39
  "jszip": "^3.10.1"
40
40
  },
41
41
  "devDependencies": {