@arbidocs/sdk 0.3.124 → 0.3.125
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-T0w0nU41.d.cts → browser-DepiVl-4.d.cts} +9 -1
- package/dist/{browser-T0w0nU41.d.ts → browser-DepiVl-4.d.ts} +9 -1
- package/dist/browser.cjs +4 -0
- 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 +4 -0
- package/dist/browser.js.map +1 -1
- package/dist/index.cjs +4 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -311,6 +311,7 @@ type AgentStepEvent = components['schemas']['AgentStepEvent'];
|
|
|
311
311
|
type AgentStepDeltaEvent = components['schemas']['AgentStepDeltaEvent'];
|
|
312
312
|
type UserInputRequestEvent = components['schemas']['UserInputRequestEvent'];
|
|
313
313
|
type ProbeAnswerEvent = components['schemas']['ProbeAnswerEvent'];
|
|
314
|
+
type DeferredInterjectionEvent = components['schemas']['DeferredInterjectionEvent'];
|
|
314
315
|
type AgentControlStateEvent = components['schemas']['AgentControlStateEvent'];
|
|
315
316
|
type ArtifactEvent = components['schemas']['ArtifactEvent'];
|
|
316
317
|
type UserMessageEvent = components['schemas']['UserMessageEvent'];
|
|
@@ -416,6 +417,11 @@ interface SSEStreamCallbacks {
|
|
|
416
417
|
onUserInputRequest?: (data: UserInputRequestEvent) => void;
|
|
417
418
|
/** Out-of-band status probe answer ("how's it going?") — transient, never persisted. */
|
|
418
419
|
onProbeAnswer?: (data: ProbeAnswerEvent) => void;
|
|
420
|
+
/**
|
|
421
|
+
* Steering that arrived after the agent had committed to its answer — too late
|
|
422
|
+
* to steer this turn. The consumer submits `message` as a NEW turn.
|
|
423
|
+
*/
|
|
424
|
+
onDeferredInterjection?: (data: DeferredInterjectionEvent) => void;
|
|
419
425
|
/** Server-confirmed run-control state (paused / running). */
|
|
420
426
|
onAgentControlState?: (data: AgentControlStateEvent) => void;
|
|
421
427
|
onArtifact?: (data: ArtifactEvent) => void;
|
|
@@ -3307,6 +3313,7 @@ declare class Arbi {
|
|
|
3307
3313
|
show_connector_microsoft: boolean;
|
|
3308
3314
|
show_connector_google: boolean;
|
|
3309
3315
|
show_connector_imanage: boolean;
|
|
3316
|
+
show_appearance: boolean;
|
|
3310
3317
|
show_file_explorer: boolean;
|
|
3311
3318
|
show_hints: boolean;
|
|
3312
3319
|
show_tasks: boolean;
|
|
@@ -5073,6 +5080,7 @@ declare function getSettings(arbi: ArbiClient): Promise<{
|
|
|
5073
5080
|
show_connector_microsoft: boolean;
|
|
5074
5081
|
show_connector_google: boolean;
|
|
5075
5082
|
show_connector_imanage: boolean;
|
|
5083
|
+
show_appearance: boolean;
|
|
5076
5084
|
show_file_explorer: boolean;
|
|
5077
5085
|
show_hints: boolean;
|
|
5078
5086
|
show_tasks: boolean;
|
|
@@ -5735,4 +5743,4 @@ declare namespace projects {
|
|
|
5735
5743
|
export { type projects_ProjectInvoicesResponse as ProjectInvoicesResponse, type projects_ProjectUpdateRequest as ProjectUpdateRequest, type projects_ProjectUsageResponse as ProjectUsageResponse, type projects_UserDailyUsageResponse as UserDailyUsageResponse, projects_createProject as createProject, projects_deleteProject as deleteProject, projects_getProjectInvoices as getProjectInvoices, projects_getProjectUsage as getProjectUsage, projects_getUserUsageToday as getUserUsageToday, projects_listProjects as listProjects, projects_refreshProject as refreshProject, projects_renameProject as renameProject, projects_updateProject as updateProject };
|
|
5736
5744
|
}
|
|
5737
5745
|
|
|
5738
|
-
export { type
|
|
5746
|
+
export { type ResponseOutputItemDoneEvent as $, type AgentControlStateEvent as A, type ListPaginatedOptions as B, type ChatSession as C, DOC_TERMINAL_STATUSES as D, type MemorySearchRequest as E, type FormattedWsMessage as F, type MemorySearchResponse as G, type MessageLevel as H, type MessageMetadataPayload$1 as I, type MessageQueuedEvent as J, type ProbeAnswerEvent as K, type ListAllOptions as L, type MemoryResponse as M, type ProjectInvoicesResponse as N, type OutputTokensDetails as O, type ParsedSlashCommand as P, type ProjectUsageResponse as Q, type QueryOptions as R, type ReconnectOptions as S, type ReconnectableWsConnection as T, type ResolvedCitation as U, type ResolvedRecipient as V, type ResponseCompletedEvent as W, type ResponseContentPartAddedEvent as X, type ResponseCreatedEvent as Y, type ResponseFailedEvent as Z, type ResponseOutputItemAddedEvent as _, type AgentStepDeltaEvent as a, performSigningKeyLogin as a$, type ResponseOutputTextDeltaEvent as a0, type ResponseOutputTextDoneEvent as a1, type ResponseUsage as a2, type SSEEvent as a3, type SSEStreamCallbacks as a4, type SSEStreamResult as a5, type SSEStreamStartData as a6, SUPPORTED_EXTENSIONS as a7, type SkillSummary as a8, type SkippedFile as a9, contacts as aA, conversations as aB, countCitations as aC, createAuthenticatedClient as aD, createDocumentWaiter as aE, dm as aF, doctags as aG, documents as aH, files as aI, filterSkills as aJ, formatAgentStepLabel as aK, formatFileSize as aL, formatStreamSummary as aM, formatUserName as aN, formatWorkspaceChoices as aO, formatWsMessage as aP, generateEncryptedWorkspaceKey as aQ, generateNewWorkspaceKey as aR, getErrorCode as aS, getErrorMessage as aT, getRawWorkspaceKey as aU, health as aV, memory as aW, parseSSEEvents as aX, parseSlashCommand as aY, parseSlashTokenInProgress as aZ, performPasswordLogin as a_, type TaskResponse as aa, type UpdateMemoryRequest as ab, type UpdateTaskRequest as ac, type UploadBatchResult as ad, type UploadDirectOptions as ae, type UploadDirectResult as af, type UploadOptions as ag, type UploadResult as ah, type UserDailyUsageResponse as ai, type UserInfo as aj, type UserInputRequestEvent as ak, type UserMessageEvent as al, WebSocketAuthError as am, type WorkspaceChronologyOut as an, type WorkspaceContext as ao, type WsConnection as ap, agentconfig as aq, assistant as ar, authenticatedFetch as as, buildDocNameMap as at, buildRetrievalChunkTool as au, buildRetrievalFullContextTool as av, buildRetrievalTocTool as aw, connectWebSocket as ax, connectWithReconnect as ay, consumeSSEStream as az, type AgentStepEvent as b, performSsoDeviceFlowLogin as b0, projects as b1, requireData as b2, requireOk as b3, resolveAuth as b4, resolveCitations as b5, resolveWorkspace as b6, responses as b7, selectWorkspace as b8, selectWorkspaceById as b9, settings as ba, streamSSE as bb, stripCitationMarkdown as bc, summarizeCitations as bd, tags as be, tasks as bf, workspaces as bg, Arbi as c, ArbiApiError as d, ArbiError as e, type ArbiErrorEvent as f, type ArbiOptions as g, type ArtifactEvent as h, type AuthContext as i, type AuthHeaders as j, type AuthenticatedClient as k, type CitationSummary as l, type CliConfig as m, type CliCredentials as n, type CommandDescriptor as o, type ConfigStore as p, type ConnectOptions as q, type CreateMemoryRequest as r, type CreateTaskRequest as s, type DeferredInterjectionEvent as t, type DmCryptoContext as u, type DocNameMap as v, type DocumentListFields as w, type DocumentListOrder as x, type DocumentWaiter as y, type DocumentWaiterOptions as z };
|
|
@@ -311,6 +311,7 @@ type AgentStepEvent = components['schemas']['AgentStepEvent'];
|
|
|
311
311
|
type AgentStepDeltaEvent = components['schemas']['AgentStepDeltaEvent'];
|
|
312
312
|
type UserInputRequestEvent = components['schemas']['UserInputRequestEvent'];
|
|
313
313
|
type ProbeAnswerEvent = components['schemas']['ProbeAnswerEvent'];
|
|
314
|
+
type DeferredInterjectionEvent = components['schemas']['DeferredInterjectionEvent'];
|
|
314
315
|
type AgentControlStateEvent = components['schemas']['AgentControlStateEvent'];
|
|
315
316
|
type ArtifactEvent = components['schemas']['ArtifactEvent'];
|
|
316
317
|
type UserMessageEvent = components['schemas']['UserMessageEvent'];
|
|
@@ -416,6 +417,11 @@ interface SSEStreamCallbacks {
|
|
|
416
417
|
onUserInputRequest?: (data: UserInputRequestEvent) => void;
|
|
417
418
|
/** Out-of-band status probe answer ("how's it going?") — transient, never persisted. */
|
|
418
419
|
onProbeAnswer?: (data: ProbeAnswerEvent) => void;
|
|
420
|
+
/**
|
|
421
|
+
* Steering that arrived after the agent had committed to its answer — too late
|
|
422
|
+
* to steer this turn. The consumer submits `message` as a NEW turn.
|
|
423
|
+
*/
|
|
424
|
+
onDeferredInterjection?: (data: DeferredInterjectionEvent) => void;
|
|
419
425
|
/** Server-confirmed run-control state (paused / running). */
|
|
420
426
|
onAgentControlState?: (data: AgentControlStateEvent) => void;
|
|
421
427
|
onArtifact?: (data: ArtifactEvent) => void;
|
|
@@ -3307,6 +3313,7 @@ declare class Arbi {
|
|
|
3307
3313
|
show_connector_microsoft: boolean;
|
|
3308
3314
|
show_connector_google: boolean;
|
|
3309
3315
|
show_connector_imanage: boolean;
|
|
3316
|
+
show_appearance: boolean;
|
|
3310
3317
|
show_file_explorer: boolean;
|
|
3311
3318
|
show_hints: boolean;
|
|
3312
3319
|
show_tasks: boolean;
|
|
@@ -5073,6 +5080,7 @@ declare function getSettings(arbi: ArbiClient): Promise<{
|
|
|
5073
5080
|
show_connector_microsoft: boolean;
|
|
5074
5081
|
show_connector_google: boolean;
|
|
5075
5082
|
show_connector_imanage: boolean;
|
|
5083
|
+
show_appearance: boolean;
|
|
5076
5084
|
show_file_explorer: boolean;
|
|
5077
5085
|
show_hints: boolean;
|
|
5078
5086
|
show_tasks: boolean;
|
|
@@ -5735,4 +5743,4 @@ declare namespace projects {
|
|
|
5735
5743
|
export { type projects_ProjectInvoicesResponse as ProjectInvoicesResponse, type projects_ProjectUpdateRequest as ProjectUpdateRequest, type projects_ProjectUsageResponse as ProjectUsageResponse, type projects_UserDailyUsageResponse as UserDailyUsageResponse, projects_createProject as createProject, projects_deleteProject as deleteProject, projects_getProjectInvoices as getProjectInvoices, projects_getProjectUsage as getProjectUsage, projects_getUserUsageToday as getUserUsageToday, projects_listProjects as listProjects, projects_refreshProject as refreshProject, projects_renameProject as renameProject, projects_updateProject as updateProject };
|
|
5736
5744
|
}
|
|
5737
5745
|
|
|
5738
|
-
export { type
|
|
5746
|
+
export { type ResponseOutputItemDoneEvent as $, type AgentControlStateEvent as A, type ListPaginatedOptions as B, type ChatSession as C, DOC_TERMINAL_STATUSES as D, type MemorySearchRequest as E, type FormattedWsMessage as F, type MemorySearchResponse as G, type MessageLevel as H, type MessageMetadataPayload$1 as I, type MessageQueuedEvent as J, type ProbeAnswerEvent as K, type ListAllOptions as L, type MemoryResponse as M, type ProjectInvoicesResponse as N, type OutputTokensDetails as O, type ParsedSlashCommand as P, type ProjectUsageResponse as Q, type QueryOptions as R, type ReconnectOptions as S, type ReconnectableWsConnection as T, type ResolvedCitation as U, type ResolvedRecipient as V, type ResponseCompletedEvent as W, type ResponseContentPartAddedEvent as X, type ResponseCreatedEvent as Y, type ResponseFailedEvent as Z, type ResponseOutputItemAddedEvent as _, type AgentStepDeltaEvent as a, performSigningKeyLogin as a$, type ResponseOutputTextDeltaEvent as a0, type ResponseOutputTextDoneEvent as a1, type ResponseUsage as a2, type SSEEvent as a3, type SSEStreamCallbacks as a4, type SSEStreamResult as a5, type SSEStreamStartData as a6, SUPPORTED_EXTENSIONS as a7, type SkillSummary as a8, type SkippedFile as a9, contacts as aA, conversations as aB, countCitations as aC, createAuthenticatedClient as aD, createDocumentWaiter as aE, dm as aF, doctags as aG, documents as aH, files as aI, filterSkills as aJ, formatAgentStepLabel as aK, formatFileSize as aL, formatStreamSummary as aM, formatUserName as aN, formatWorkspaceChoices as aO, formatWsMessage as aP, generateEncryptedWorkspaceKey as aQ, generateNewWorkspaceKey as aR, getErrorCode as aS, getErrorMessage as aT, getRawWorkspaceKey as aU, health as aV, memory as aW, parseSSEEvents as aX, parseSlashCommand as aY, parseSlashTokenInProgress as aZ, performPasswordLogin as a_, type TaskResponse as aa, type UpdateMemoryRequest as ab, type UpdateTaskRequest as ac, type UploadBatchResult as ad, type UploadDirectOptions as ae, type UploadDirectResult as af, type UploadOptions as ag, type UploadResult as ah, type UserDailyUsageResponse as ai, type UserInfo as aj, type UserInputRequestEvent as ak, type UserMessageEvent as al, WebSocketAuthError as am, type WorkspaceChronologyOut as an, type WorkspaceContext as ao, type WsConnection as ap, agentconfig as aq, assistant as ar, authenticatedFetch as as, buildDocNameMap as at, buildRetrievalChunkTool as au, buildRetrievalFullContextTool as av, buildRetrievalTocTool as aw, connectWebSocket as ax, connectWithReconnect as ay, consumeSSEStream as az, type AgentStepEvent as b, performSsoDeviceFlowLogin as b0, projects as b1, requireData as b2, requireOk as b3, resolveAuth as b4, resolveCitations as b5, resolveWorkspace as b6, responses as b7, selectWorkspace as b8, selectWorkspaceById as b9, settings as ba, streamSSE as bb, stripCitationMarkdown as bc, summarizeCitations as bd, tags as be, tasks as bf, workspaces as bg, Arbi as c, ArbiApiError as d, ArbiError as e, type ArbiErrorEvent as f, type ArbiOptions as g, type ArtifactEvent as h, type AuthContext as i, type AuthHeaders as j, type AuthenticatedClient as k, type CitationSummary as l, type CliConfig as m, type CliCredentials as n, type CommandDescriptor as o, type ConfigStore as p, type ConnectOptions as q, type CreateMemoryRequest as r, type CreateTaskRequest as s, type DeferredInterjectionEvent as t, type DmCryptoContext as u, type DocNameMap as v, type DocumentListFields as w, type DocumentListOrder as x, type DocumentWaiter as y, type DocumentWaiterOptions as z };
|
package/dist/browser.cjs
CHANGED
|
@@ -3983,6 +3983,10 @@ async function streamSSE(response, callbacks = {}) {
|
|
|
3983
3983
|
const data = JSON.parse(raw);
|
|
3984
3984
|
callbacks.onProbeAnswer?.(data);
|
|
3985
3985
|
},
|
|
3986
|
+
"arbi.deferred_interjection": (raw) => {
|
|
3987
|
+
const data = JSON.parse(raw);
|
|
3988
|
+
callbacks.onDeferredInterjection?.(data);
|
|
3989
|
+
},
|
|
3986
3990
|
"arbi.agent_control_state": (raw) => {
|
|
3987
3991
|
const data = JSON.parse(raw);
|
|
3988
3992
|
callbacks.onAgentControlState?.(data);
|