@arbidocs/sdk 0.3.55 → 0.3.57
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.
- package/dist/{browser-DLTufI-X.d.cts → browser-CGVC2mgM.d.cts} +10 -0
- package/dist/{browser-DLTufI-X.d.ts → browser-CGVC2mgM.d.ts} +10 -0
- package/dist/browser.cjs +1862 -1856
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +1 -1
- package/dist/browser.d.ts +1 -1
- package/dist/browser.js +1862 -1856
- package/dist/browser.js.map +1 -1
- package/dist/index.cjs +1862 -1856
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -2
- package/dist/index.d.ts +8 -2
- package/dist/index.js +1862 -1856
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ConfigStore, a as CliConfig, b as CliCredentials, c as ChatSession, S as SkippedFile, U as UploadResult, A as AuthHeaders, d as UploadBatchResult, e as UploadOptions, f as UploadDirectOptions, g as UploadDirectResult, h as SUPPORTED_EXTENSIONS, D as DmCryptoContext } from './browser-
|
|
2
|
-
export { i as AgentStepEvent, j as Arbi, k as ArbiApiError, l as ArbiError, m as ArbiOptions, n as ArtifactEvent, o as AuthContext, p as AuthenticatedClient, q as CitationSummary, r as ConnectOptions, s as DOC_TERMINAL_STATUSES, t as DocumentListFields, u as DocumentListOrder, v as DocumentWaiter, w as DocumentWaiterOptions, F as FormattedWsMessage, L as ListAllOptions, x as ListPaginatedOptions, M as MessageLevel, y as MessageMetadataPayload, z as MessageQueuedEvent, O as OutputTokensDetails, Q as QueryOptions, R as ReconnectOptions, B as ReconnectableWsConnection, E as ResolvedCitation, G as ResponseCompletedEvent, H as ResponseContentPartAddedEvent, I as ResponseCreatedEvent, J as ResponseFailedEvent, K as ResponseOutputItemAddedEvent, N as ResponseOutputItemDoneEvent, P as ResponseOutputTextDeltaEvent, T as ResponseOutputTextDoneEvent, V as ResponseUsage, W as SSEEvent, X as SSEStreamCallbacks, Y as SSEStreamResult, Z as SSEStreamStartData, _ as UserInfo, $ as UserInputRequestEvent, a0 as UserMessageEvent, a1 as WorkspaceContext, a2 as WsConnection, a3 as agentconfig, a4 as assistant, a5 as authenticatedFetch, a6 as buildRetrievalChunkTool, a7 as buildRetrievalFullContextTool, a8 as buildRetrievalTocTool, a9 as connectWebSocket, aa as connectWithReconnect, ab as consumeSSEStream, ac as contacts, ad as conversations, ae as countCitations, af as createAuthenticatedClient, ag as createDocumentWaiter, ah as dm, ai as doctags, aj as documents, ak as files, al as formatAgentStepLabel, am as formatFileSize, an as formatStreamSummary, ao as formatUserName, ap as formatWorkspaceChoices, aq as formatWsMessage, ar as generateEncryptedWorkspaceKey, as as generateNewWorkspaceKey, at as getErrorCode, au as getErrorMessage, av as getRawWorkspaceKey, aw as health, ax as parseSSEEvents, ay as performPasswordLogin, az as performSigningKeyLogin, aA as performSsoDeviceFlowLogin, aB as requireData, aC as requireOk, aD as resolveAuth, aE as resolveCitations, aF as resolveWorkspace, aG as responses, aH as selectWorkspace, aI as selectWorkspaceById, aJ as settings, aK as streamSSE, aL as stripCitationMarkdown, aM as summarizeCitations, aN as tags, aO as workspaces } from './browser-
|
|
1
|
+
import { C as ConfigStore, a as CliConfig, b as CliCredentials, c as ChatSession, S as SkippedFile, U as UploadResult, A as AuthHeaders, d as UploadBatchResult, e as UploadOptions, f as UploadDirectOptions, g as UploadDirectResult, h as SUPPORTED_EXTENSIONS, D as DmCryptoContext } from './browser-CGVC2mgM.cjs';
|
|
2
|
+
export { i as AgentStepEvent, j as Arbi, k as ArbiApiError, l as ArbiError, m as ArbiOptions, n as ArtifactEvent, o as AuthContext, p as AuthenticatedClient, q as CitationSummary, r as ConnectOptions, s as DOC_TERMINAL_STATUSES, t as DocumentListFields, u as DocumentListOrder, v as DocumentWaiter, w as DocumentWaiterOptions, F as FormattedWsMessage, L as ListAllOptions, x as ListPaginatedOptions, M as MessageLevel, y as MessageMetadataPayload, z as MessageQueuedEvent, O as OutputTokensDetails, Q as QueryOptions, R as ReconnectOptions, B as ReconnectableWsConnection, E as ResolvedCitation, G as ResponseCompletedEvent, H as ResponseContentPartAddedEvent, I as ResponseCreatedEvent, J as ResponseFailedEvent, K as ResponseOutputItemAddedEvent, N as ResponseOutputItemDoneEvent, P as ResponseOutputTextDeltaEvent, T as ResponseOutputTextDoneEvent, V as ResponseUsage, W as SSEEvent, X as SSEStreamCallbacks, Y as SSEStreamResult, Z as SSEStreamStartData, _ as UserInfo, $ as UserInputRequestEvent, a0 as UserMessageEvent, a1 as WorkspaceContext, a2 as WsConnection, a3 as agentconfig, a4 as assistant, a5 as authenticatedFetch, a6 as buildRetrievalChunkTool, a7 as buildRetrievalFullContextTool, a8 as buildRetrievalTocTool, a9 as connectWebSocket, aa as connectWithReconnect, ab as consumeSSEStream, ac as contacts, ad as conversations, ae as countCitations, af as createAuthenticatedClient, ag as createDocumentWaiter, ah as dm, ai as doctags, aj as documents, ak as files, al as formatAgentStepLabel, am as formatFileSize, an as formatStreamSummary, ao as formatUserName, ap as formatWorkspaceChoices, aq as formatWsMessage, ar as generateEncryptedWorkspaceKey, as as generateNewWorkspaceKey, at as getErrorCode, au as getErrorMessage, av as getRawWorkspaceKey, aw as health, ax as parseSSEEvents, ay as performPasswordLogin, az as performSigningKeyLogin, aA as performSsoDeviceFlowLogin, aB as requireData, aC as requireOk, aD as resolveAuth, aE as resolveCitations, aF as resolveWorkspace, aG as responses, aH as selectWorkspace, aI as selectWorkspaceById, aJ as settings, aK as streamSSE, aL as stripCitationMarkdown, aM as summarizeCitations, aN as tags, aO as workspaces } from './browser-CGVC2mgM.cjs';
|
|
3
3
|
import { SessionStorageProvider, ArbiClient, components } from '@arbidocs/client';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -410,6 +410,7 @@ declare namespace sessions {
|
|
|
410
410
|
declare function listProjects(arbi: ArbiClient): Promise<{
|
|
411
411
|
external_id: string;
|
|
412
412
|
name: string;
|
|
413
|
+
created_by: string;
|
|
413
414
|
packs: number;
|
|
414
415
|
subscription: string;
|
|
415
416
|
created_at: string;
|
|
@@ -428,6 +429,7 @@ declare function listProjects(arbi: ArbiClient): Promise<{
|
|
|
428
429
|
};
|
|
429
430
|
budget_reset_at?: number | null | undefined;
|
|
430
431
|
};
|
|
432
|
+
daily_cap_per_user?: number | null | undefined;
|
|
431
433
|
price_id?: string | null | undefined;
|
|
432
434
|
plan?: string | null | undefined;
|
|
433
435
|
amount?: number | null | undefined;
|
|
@@ -439,6 +441,7 @@ declare function listProjects(arbi: ArbiClient): Promise<{
|
|
|
439
441
|
declare function createProject(arbi: ArbiClient, name: string): Promise<{
|
|
440
442
|
external_id: string;
|
|
441
443
|
name: string;
|
|
444
|
+
created_by: string;
|
|
442
445
|
packs: number;
|
|
443
446
|
subscription: string;
|
|
444
447
|
created_at: string;
|
|
@@ -457,6 +460,7 @@ declare function createProject(arbi: ArbiClient, name: string): Promise<{
|
|
|
457
460
|
};
|
|
458
461
|
budget_reset_at?: number | null | undefined;
|
|
459
462
|
};
|
|
463
|
+
daily_cap_per_user?: number | null | undefined;
|
|
460
464
|
price_id?: string | null | undefined;
|
|
461
465
|
plan?: string | null | undefined;
|
|
462
466
|
amount?: number | null | undefined;
|
|
@@ -468,6 +472,7 @@ declare function createProject(arbi: ArbiClient, name: string): Promise<{
|
|
|
468
472
|
declare function refreshProject(arbi: ArbiClient, projectExtId: string): Promise<{
|
|
469
473
|
external_id: string;
|
|
470
474
|
name: string;
|
|
475
|
+
created_by: string;
|
|
471
476
|
packs: number;
|
|
472
477
|
subscription: string;
|
|
473
478
|
created_at: string;
|
|
@@ -486,6 +491,7 @@ declare function refreshProject(arbi: ArbiClient, projectExtId: string): Promise
|
|
|
486
491
|
};
|
|
487
492
|
budget_reset_at?: number | null | undefined;
|
|
488
493
|
};
|
|
494
|
+
daily_cap_per_user?: number | null | undefined;
|
|
489
495
|
price_id?: string | null | undefined;
|
|
490
496
|
plan?: string | null | undefined;
|
|
491
497
|
amount?: number | null | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ConfigStore, a as CliConfig, b as CliCredentials, c as ChatSession, S as SkippedFile, U as UploadResult, A as AuthHeaders, d as UploadBatchResult, e as UploadOptions, f as UploadDirectOptions, g as UploadDirectResult, h as SUPPORTED_EXTENSIONS, D as DmCryptoContext } from './browser-
|
|
2
|
-
export { i as AgentStepEvent, j as Arbi, k as ArbiApiError, l as ArbiError, m as ArbiOptions, n as ArtifactEvent, o as AuthContext, p as AuthenticatedClient, q as CitationSummary, r as ConnectOptions, s as DOC_TERMINAL_STATUSES, t as DocumentListFields, u as DocumentListOrder, v as DocumentWaiter, w as DocumentWaiterOptions, F as FormattedWsMessage, L as ListAllOptions, x as ListPaginatedOptions, M as MessageLevel, y as MessageMetadataPayload, z as MessageQueuedEvent, O as OutputTokensDetails, Q as QueryOptions, R as ReconnectOptions, B as ReconnectableWsConnection, E as ResolvedCitation, G as ResponseCompletedEvent, H as ResponseContentPartAddedEvent, I as ResponseCreatedEvent, J as ResponseFailedEvent, K as ResponseOutputItemAddedEvent, N as ResponseOutputItemDoneEvent, P as ResponseOutputTextDeltaEvent, T as ResponseOutputTextDoneEvent, V as ResponseUsage, W as SSEEvent, X as SSEStreamCallbacks, Y as SSEStreamResult, Z as SSEStreamStartData, _ as UserInfo, $ as UserInputRequestEvent, a0 as UserMessageEvent, a1 as WorkspaceContext, a2 as WsConnection, a3 as agentconfig, a4 as assistant, a5 as authenticatedFetch, a6 as buildRetrievalChunkTool, a7 as buildRetrievalFullContextTool, a8 as buildRetrievalTocTool, a9 as connectWebSocket, aa as connectWithReconnect, ab as consumeSSEStream, ac as contacts, ad as conversations, ae as countCitations, af as createAuthenticatedClient, ag as createDocumentWaiter, ah as dm, ai as doctags, aj as documents, ak as files, al as formatAgentStepLabel, am as formatFileSize, an as formatStreamSummary, ao as formatUserName, ap as formatWorkspaceChoices, aq as formatWsMessage, ar as generateEncryptedWorkspaceKey, as as generateNewWorkspaceKey, at as getErrorCode, au as getErrorMessage, av as getRawWorkspaceKey, aw as health, ax as parseSSEEvents, ay as performPasswordLogin, az as performSigningKeyLogin, aA as performSsoDeviceFlowLogin, aB as requireData, aC as requireOk, aD as resolveAuth, aE as resolveCitations, aF as resolveWorkspace, aG as responses, aH as selectWorkspace, aI as selectWorkspaceById, aJ as settings, aK as streamSSE, aL as stripCitationMarkdown, aM as summarizeCitations, aN as tags, aO as workspaces } from './browser-
|
|
1
|
+
import { C as ConfigStore, a as CliConfig, b as CliCredentials, c as ChatSession, S as SkippedFile, U as UploadResult, A as AuthHeaders, d as UploadBatchResult, e as UploadOptions, f as UploadDirectOptions, g as UploadDirectResult, h as SUPPORTED_EXTENSIONS, D as DmCryptoContext } from './browser-CGVC2mgM.js';
|
|
2
|
+
export { i as AgentStepEvent, j as Arbi, k as ArbiApiError, l as ArbiError, m as ArbiOptions, n as ArtifactEvent, o as AuthContext, p as AuthenticatedClient, q as CitationSummary, r as ConnectOptions, s as DOC_TERMINAL_STATUSES, t as DocumentListFields, u as DocumentListOrder, v as DocumentWaiter, w as DocumentWaiterOptions, F as FormattedWsMessage, L as ListAllOptions, x as ListPaginatedOptions, M as MessageLevel, y as MessageMetadataPayload, z as MessageQueuedEvent, O as OutputTokensDetails, Q as QueryOptions, R as ReconnectOptions, B as ReconnectableWsConnection, E as ResolvedCitation, G as ResponseCompletedEvent, H as ResponseContentPartAddedEvent, I as ResponseCreatedEvent, J as ResponseFailedEvent, K as ResponseOutputItemAddedEvent, N as ResponseOutputItemDoneEvent, P as ResponseOutputTextDeltaEvent, T as ResponseOutputTextDoneEvent, V as ResponseUsage, W as SSEEvent, X as SSEStreamCallbacks, Y as SSEStreamResult, Z as SSEStreamStartData, _ as UserInfo, $ as UserInputRequestEvent, a0 as UserMessageEvent, a1 as WorkspaceContext, a2 as WsConnection, a3 as agentconfig, a4 as assistant, a5 as authenticatedFetch, a6 as buildRetrievalChunkTool, a7 as buildRetrievalFullContextTool, a8 as buildRetrievalTocTool, a9 as connectWebSocket, aa as connectWithReconnect, ab as consumeSSEStream, ac as contacts, ad as conversations, ae as countCitations, af as createAuthenticatedClient, ag as createDocumentWaiter, ah as dm, ai as doctags, aj as documents, ak as files, al as formatAgentStepLabel, am as formatFileSize, an as formatStreamSummary, ao as formatUserName, ap as formatWorkspaceChoices, aq as formatWsMessage, ar as generateEncryptedWorkspaceKey, as as generateNewWorkspaceKey, at as getErrorCode, au as getErrorMessage, av as getRawWorkspaceKey, aw as health, ax as parseSSEEvents, ay as performPasswordLogin, az as performSigningKeyLogin, aA as performSsoDeviceFlowLogin, aB as requireData, aC as requireOk, aD as resolveAuth, aE as resolveCitations, aF as resolveWorkspace, aG as responses, aH as selectWorkspace, aI as selectWorkspaceById, aJ as settings, aK as streamSSE, aL as stripCitationMarkdown, aM as summarizeCitations, aN as tags, aO as workspaces } from './browser-CGVC2mgM.js';
|
|
3
3
|
import { SessionStorageProvider, ArbiClient, components } from '@arbidocs/client';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -410,6 +410,7 @@ declare namespace sessions {
|
|
|
410
410
|
declare function listProjects(arbi: ArbiClient): Promise<{
|
|
411
411
|
external_id: string;
|
|
412
412
|
name: string;
|
|
413
|
+
created_by: string;
|
|
413
414
|
packs: number;
|
|
414
415
|
subscription: string;
|
|
415
416
|
created_at: string;
|
|
@@ -428,6 +429,7 @@ declare function listProjects(arbi: ArbiClient): Promise<{
|
|
|
428
429
|
};
|
|
429
430
|
budget_reset_at?: number | null | undefined;
|
|
430
431
|
};
|
|
432
|
+
daily_cap_per_user?: number | null | undefined;
|
|
431
433
|
price_id?: string | null | undefined;
|
|
432
434
|
plan?: string | null | undefined;
|
|
433
435
|
amount?: number | null | undefined;
|
|
@@ -439,6 +441,7 @@ declare function listProjects(arbi: ArbiClient): Promise<{
|
|
|
439
441
|
declare function createProject(arbi: ArbiClient, name: string): Promise<{
|
|
440
442
|
external_id: string;
|
|
441
443
|
name: string;
|
|
444
|
+
created_by: string;
|
|
442
445
|
packs: number;
|
|
443
446
|
subscription: string;
|
|
444
447
|
created_at: string;
|
|
@@ -457,6 +460,7 @@ declare function createProject(arbi: ArbiClient, name: string): Promise<{
|
|
|
457
460
|
};
|
|
458
461
|
budget_reset_at?: number | null | undefined;
|
|
459
462
|
};
|
|
463
|
+
daily_cap_per_user?: number | null | undefined;
|
|
460
464
|
price_id?: string | null | undefined;
|
|
461
465
|
plan?: string | null | undefined;
|
|
462
466
|
amount?: number | null | undefined;
|
|
@@ -468,6 +472,7 @@ declare function createProject(arbi: ArbiClient, name: string): Promise<{
|
|
|
468
472
|
declare function refreshProject(arbi: ArbiClient, projectExtId: string): Promise<{
|
|
469
473
|
external_id: string;
|
|
470
474
|
name: string;
|
|
475
|
+
created_by: string;
|
|
471
476
|
packs: number;
|
|
472
477
|
subscription: string;
|
|
473
478
|
created_at: string;
|
|
@@ -486,6 +491,7 @@ declare function refreshProject(arbi: ArbiClient, projectExtId: string): Promise
|
|
|
486
491
|
};
|
|
487
492
|
budget_reset_at?: number | null | undefined;
|
|
488
493
|
};
|
|
494
|
+
daily_cap_per_user?: number | null | undefined;
|
|
489
495
|
price_id?: string | null | undefined;
|
|
490
496
|
plan?: string | null | undefined;
|
|
491
497
|
amount?: number | null | undefined;
|