@arbidocs/sdk 0.4.89 → 0.4.91
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-DqNDY_fc.d.cts → browser-DcxlFaYK.d.cts} +20 -6
- package/dist/{browser-DqNDY_fc.d.ts → browser-DcxlFaYK.d.ts} +20 -6
- package/dist/browser.cjs +17 -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 +17 -0
- package/dist/browser.js.map +1 -1
- package/dist/index.cjs +18 -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 +18 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/browser.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { A as ActivityKind, a as ActivityResponse, b as AgentControlStateEvent, c as AgentStepDeltaEvent, d as AgentStepEvent, e as Arbi, f as ArbiApiError, g as ArbiError, h as ArbiErrorEvent, i as ArbiOptions, k as ArtifactEvent, l as AuthContext, m as AuthHeaders, n as AuthMode, o as AuthenticatedClient, C as ChatSession, p as CitationSummary, q as CliConfig, r as CliCredentials, s as CommandDescriptor, t as ConfigStore, u as ConnectOptions, v as ConversationResponse, w as ConversationUsageResponse, x as CreateFactRequest, y as CreateFactsRequest, z as CreateWorkRequest, B as CreateWorkflowRequest, E as DecryptedDmNotification, F as DeferredInterjectionEvent, G as DmAttachmentFile, H as DmAttachmentInput, K as DocumentAutomationAction, N as DocumentSelector, Q as FactResponse, R as FactSearchRequest, S as FactSearchResponse, U as IdentityErrorCode, V as IdentityPurchase, W as IdentityState, X as IdentityStatus, Y as LinkedRun, _ as ListFactsOptions, a2 as MessageMetadataPayload, a3 as MessageQueuedEvent, a4 as OutputTokensDetails, a5 as ParsedSlashCommand, a6 as PendingAuthResponse, a7 as PlanStepsError, a8 as PlanWorkRequest, a9 as ProbeAnswerEvent, aa as ProjectBudget, ab as ProjectConversationUsageResponse, ac as ProjectDetails, ad as ProjectEventKind, ae as ProjectEventResponse, af as ProjectInvoicesResponse, ag as ProjectResponse, ah as ProjectUpdateRequest, ai as ProjectUsageResponse, aj as QueryOptions, ak as RaisedSignal, al as ReconnectOptions, am as ReconnectableWsConnection, an as ResolvedCitation, ap as ResponseCompletedEvent, aq as ResponseContentPartAddedEvent, ar as ResponseCreatedEvent, as as ResponseFailedEvent, at as ResponseOutputItemAddedEvent, au as ResponseOutputItemDoneEvent, av as ResponseOutputTextDeltaEvent, aw as ResponseOutputTextDoneEvent, ax as ResponseUsage, ay as RunProgress, az as RunStep, aA as RunWaitingOn, aB as SSEEvent, aC as SSEStreamCallbacks, aD as SSEStreamResult, aE as SSEStreamStartData,
|
|
1
|
+
export { A as ActivityKind, a as ActivityResponse, b as AgentControlStateEvent, c as AgentStepDeltaEvent, d as AgentStepEvent, e as Arbi, f as ArbiApiError, g as ArbiError, h as ArbiErrorEvent, i as ArbiOptions, k as ArtifactEvent, l as AuthContext, m as AuthHeaders, n as AuthMode, o as AuthenticatedClient, C as ChatSession, p as CitationSummary, q as CliConfig, r as CliCredentials, s as CommandDescriptor, t as ConfigStore, u as ConnectOptions, v as ConversationResponse, w as ConversationUsageResponse, x as CreateFactRequest, y as CreateFactsRequest, z as CreateWorkRequest, B as CreateWorkflowRequest, E as DecryptedDmNotification, F as DeferredInterjectionEvent, G as DmAttachmentFile, H as DmAttachmentInput, K as DocumentAutomationAction, N as DocumentSelector, Q as FactResponse, R as FactSearchRequest, S as FactSearchResponse, U as IdentityErrorCode, V as IdentityPurchase, W as IdentityState, X as IdentityStatus, Y as LinkedRun, _ as ListFactsOptions, a2 as MessageMetadataPayload, a3 as MessageQueuedEvent, a4 as OutputTokensDetails, a5 as ParsedSlashCommand, a6 as PendingAuthResponse, a7 as PlanStepsError, a8 as PlanWorkRequest, a9 as ProbeAnswerEvent, aa as ProjectBudget, ab as ProjectConversationUsageResponse, ac as ProjectDetails, ad as ProjectEventKind, ae as ProjectEventResponse, af as ProjectInvoicesResponse, ag as ProjectResponse, ah as ProjectUpdateRequest, ai as ProjectUsageResponse, aj as QueryOptions, ak as RaisedSignal, al as ReconnectOptions, am as ReconnectableWsConnection, an as ResolvedCitation, ap as ResponseCompletedEvent, aq as ResponseContentPartAddedEvent, ar as ResponseCreatedEvent, as as ResponseFailedEvent, at as ResponseOutputItemAddedEvent, au as ResponseOutputItemDoneEvent, av as ResponseOutputTextDeltaEvent, aw as ResponseOutputTextDoneEvent, ax as ResponseUsage, ay as RunProgress, az as RunStep, aA as RunWaitingOn, aB as SSEEvent, aC as SSEStreamCallbacks, aD as SSEStreamResult, aE as SSEStreamStartData, aH as SendBack, aI as SkillSummary, aK as StepActionRequest, aL as StepActivityEvent, aM as StepAssignee, aN as StepField, aQ as StepKind, aR as StepPhase, aS as StepSignal, aT as StepSignalWhen, aU as StepState, aV as StepStatus, aW as SubmitBackgroundQueryOptions, aX as TagChange, aY as TagFieldDefinition, aZ as TagKind, a_ as TagKindField, a$ as TagKindSchema, b0 as TagLinks, b1 as TagListQuery, b2 as TagResponse, b3 as TaskPlan, b4 as TaskPlanStep, b5 as TokenBudgetContext, b6 as UpdateConversationRequest, b7 as UpdateFactRequest, b8 as UpdateWorkflowRequest, be as UsageBreakdown, bf as UserDailyUsageResponse, bg as UserInfo, bh as UserInputRequestEvent, bi as UserMessageEvent, bj as WebSocketAuthError, bk as WorkStatus, bl as WorkflowAuthMode, bm as WorkflowResponse, bn as WorkflowRunHistoryResponse, bo as WorkflowRunResponse, bp as WorkspaceContext, bq as WsConnection, br as account, bs as agentconfig, bu as assistant, bv as authenticatedFetch, bx as buildFactsContextTool, by as buildRetrievalChunkTool, bz as buildRetrievalFullContextTool, bA as buildRetrievalTocTool, bB as connectWebSocket, bC as connectWithReconnect, bD as consumeSSEStream, bE as contacts, bF as conversations, bG as countCitations, bH as createAuthenticatedClient, bJ as dm, bK as doctags, bL as documents, bM as facts, bN as files, bO as filterSkills, bP as formatAgentStepLabel, bQ as formatFileSize, bR as formatItemLabel, bT as formatUserName, bU as formatWorkspaceChoices, bZ as getErrorMessage, b_ as getRawWorkspaceKey, b$ as health, c1 as identityErrorCode, c0 as identityVerification, c2 as mail, c3 as parseSSEEvents, c4 as parseSlashCommand, c5 as parseSlashTokenInProgress, c6 as performPasswordLogin, c9 as profile, ca as projects, cb as requireData, cc as requireOk, cd as resolveAuth, ce as resolveCitations, cf as resolveWorkspace, cg as responses, ch as selectWorkspace, ci as selectWorkspaceById, cj as sessions, ck as settings, cl as streamSSE, cm as stripCitationMarkdown, cn as summarizeCitations, co as tags, cp as work, cq as workflowSteps, cr as workflows, cs as workspaces } from './browser-DcxlFaYK.cjs';
|
|
2
2
|
export { LoginProfile } from '@arbidocs/client';
|
package/dist/browser.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { A as ActivityKind, a as ActivityResponse, b as AgentControlStateEvent, c as AgentStepDeltaEvent, d as AgentStepEvent, e as Arbi, f as ArbiApiError, g as ArbiError, h as ArbiErrorEvent, i as ArbiOptions, k as ArtifactEvent, l as AuthContext, m as AuthHeaders, n as AuthMode, o as AuthenticatedClient, C as ChatSession, p as CitationSummary, q as CliConfig, r as CliCredentials, s as CommandDescriptor, t as ConfigStore, u as ConnectOptions, v as ConversationResponse, w as ConversationUsageResponse, x as CreateFactRequest, y as CreateFactsRequest, z as CreateWorkRequest, B as CreateWorkflowRequest, E as DecryptedDmNotification, F as DeferredInterjectionEvent, G as DmAttachmentFile, H as DmAttachmentInput, K as DocumentAutomationAction, N as DocumentSelector, Q as FactResponse, R as FactSearchRequest, S as FactSearchResponse, U as IdentityErrorCode, V as IdentityPurchase, W as IdentityState, X as IdentityStatus, Y as LinkedRun, _ as ListFactsOptions, a2 as MessageMetadataPayload, a3 as MessageQueuedEvent, a4 as OutputTokensDetails, a5 as ParsedSlashCommand, a6 as PendingAuthResponse, a7 as PlanStepsError, a8 as PlanWorkRequest, a9 as ProbeAnswerEvent, aa as ProjectBudget, ab as ProjectConversationUsageResponse, ac as ProjectDetails, ad as ProjectEventKind, ae as ProjectEventResponse, af as ProjectInvoicesResponse, ag as ProjectResponse, ah as ProjectUpdateRequest, ai as ProjectUsageResponse, aj as QueryOptions, ak as RaisedSignal, al as ReconnectOptions, am as ReconnectableWsConnection, an as ResolvedCitation, ap as ResponseCompletedEvent, aq as ResponseContentPartAddedEvent, ar as ResponseCreatedEvent, as as ResponseFailedEvent, at as ResponseOutputItemAddedEvent, au as ResponseOutputItemDoneEvent, av as ResponseOutputTextDeltaEvent, aw as ResponseOutputTextDoneEvent, ax as ResponseUsage, ay as RunProgress, az as RunStep, aA as RunWaitingOn, aB as SSEEvent, aC as SSEStreamCallbacks, aD as SSEStreamResult, aE as SSEStreamStartData,
|
|
1
|
+
export { A as ActivityKind, a as ActivityResponse, b as AgentControlStateEvent, c as AgentStepDeltaEvent, d as AgentStepEvent, e as Arbi, f as ArbiApiError, g as ArbiError, h as ArbiErrorEvent, i as ArbiOptions, k as ArtifactEvent, l as AuthContext, m as AuthHeaders, n as AuthMode, o as AuthenticatedClient, C as ChatSession, p as CitationSummary, q as CliConfig, r as CliCredentials, s as CommandDescriptor, t as ConfigStore, u as ConnectOptions, v as ConversationResponse, w as ConversationUsageResponse, x as CreateFactRequest, y as CreateFactsRequest, z as CreateWorkRequest, B as CreateWorkflowRequest, E as DecryptedDmNotification, F as DeferredInterjectionEvent, G as DmAttachmentFile, H as DmAttachmentInput, K as DocumentAutomationAction, N as DocumentSelector, Q as FactResponse, R as FactSearchRequest, S as FactSearchResponse, U as IdentityErrorCode, V as IdentityPurchase, W as IdentityState, X as IdentityStatus, Y as LinkedRun, _ as ListFactsOptions, a2 as MessageMetadataPayload, a3 as MessageQueuedEvent, a4 as OutputTokensDetails, a5 as ParsedSlashCommand, a6 as PendingAuthResponse, a7 as PlanStepsError, a8 as PlanWorkRequest, a9 as ProbeAnswerEvent, aa as ProjectBudget, ab as ProjectConversationUsageResponse, ac as ProjectDetails, ad as ProjectEventKind, ae as ProjectEventResponse, af as ProjectInvoicesResponse, ag as ProjectResponse, ah as ProjectUpdateRequest, ai as ProjectUsageResponse, aj as QueryOptions, ak as RaisedSignal, al as ReconnectOptions, am as ReconnectableWsConnection, an as ResolvedCitation, ap as ResponseCompletedEvent, aq as ResponseContentPartAddedEvent, ar as ResponseCreatedEvent, as as ResponseFailedEvent, at as ResponseOutputItemAddedEvent, au as ResponseOutputItemDoneEvent, av as ResponseOutputTextDeltaEvent, aw as ResponseOutputTextDoneEvent, ax as ResponseUsage, ay as RunProgress, az as RunStep, aA as RunWaitingOn, aB as SSEEvent, aC as SSEStreamCallbacks, aD as SSEStreamResult, aE as SSEStreamStartData, aH as SendBack, aI as SkillSummary, aK as StepActionRequest, aL as StepActivityEvent, aM as StepAssignee, aN as StepField, aQ as StepKind, aR as StepPhase, aS as StepSignal, aT as StepSignalWhen, aU as StepState, aV as StepStatus, aW as SubmitBackgroundQueryOptions, aX as TagChange, aY as TagFieldDefinition, aZ as TagKind, a_ as TagKindField, a$ as TagKindSchema, b0 as TagLinks, b1 as TagListQuery, b2 as TagResponse, b3 as TaskPlan, b4 as TaskPlanStep, b5 as TokenBudgetContext, b6 as UpdateConversationRequest, b7 as UpdateFactRequest, b8 as UpdateWorkflowRequest, be as UsageBreakdown, bf as UserDailyUsageResponse, bg as UserInfo, bh as UserInputRequestEvent, bi as UserMessageEvent, bj as WebSocketAuthError, bk as WorkStatus, bl as WorkflowAuthMode, bm as WorkflowResponse, bn as WorkflowRunHistoryResponse, bo as WorkflowRunResponse, bp as WorkspaceContext, bq as WsConnection, br as account, bs as agentconfig, bu as assistant, bv as authenticatedFetch, bx as buildFactsContextTool, by as buildRetrievalChunkTool, bz as buildRetrievalFullContextTool, bA as buildRetrievalTocTool, bB as connectWebSocket, bC as connectWithReconnect, bD as consumeSSEStream, bE as contacts, bF as conversations, bG as countCitations, bH as createAuthenticatedClient, bJ as dm, bK as doctags, bL as documents, bM as facts, bN as files, bO as filterSkills, bP as formatAgentStepLabel, bQ as formatFileSize, bR as formatItemLabel, bT as formatUserName, bU as formatWorkspaceChoices, bZ as getErrorMessage, b_ as getRawWorkspaceKey, b$ as health, c1 as identityErrorCode, c0 as identityVerification, c2 as mail, c3 as parseSSEEvents, c4 as parseSlashCommand, c5 as parseSlashTokenInProgress, c6 as performPasswordLogin, c9 as profile, ca as projects, cb as requireData, cc as requireOk, cd as resolveAuth, ce as resolveCitations, cf as resolveWorkspace, cg as responses, ch as selectWorkspace, ci as selectWorkspaceById, cj as sessions, ck as settings, cl as streamSSE, cm as stripCitationMarkdown, cn as summarizeCitations, co as tags, cp as work, cq as workflowSteps, cr as workflows, cs as workspaces } from './browser-DcxlFaYK.js';
|
|
2
2
|
export { LoginProfile } from '@arbidocs/client';
|
package/dist/browser.js
CHANGED
|
@@ -6290,6 +6290,7 @@ __export(workflow_steps_exports, {
|
|
|
6290
6290
|
PERSON_STEP_KINDS: () => PERSON_STEP_KINDS,
|
|
6291
6291
|
PlanStepsError: () => PlanStepsError,
|
|
6292
6292
|
SIGNAL_NAME_PATTERN: () => SIGNAL_NAME_PATTERN,
|
|
6293
|
+
STEP_FIELD_OPTION_TONES: () => STEP_FIELD_OPTION_TONES,
|
|
6293
6294
|
STEP_FIELD_TYPES: () => STEP_FIELD_TYPES,
|
|
6294
6295
|
STEP_ID_PATTERN: () => STEP_ID_PATTERN,
|
|
6295
6296
|
STEP_KINDS: () => STEP_KINDS,
|
|
@@ -6493,6 +6494,15 @@ function runWaitingOn(run) {
|
|
|
6493
6494
|
if (run.some((s2) => s2.kind !== "agent" && s2.phase === "ready")) return "person";
|
|
6494
6495
|
return "stuck";
|
|
6495
6496
|
}
|
|
6497
|
+
var STEP_FIELD_OPTION_TONES = [
|
|
6498
|
+
"neutral",
|
|
6499
|
+
"info",
|
|
6500
|
+
"success",
|
|
6501
|
+
"warning",
|
|
6502
|
+
"danger",
|
|
6503
|
+
"accent",
|
|
6504
|
+
"ai"
|
|
6505
|
+
];
|
|
6496
6506
|
var STEP_FIELD_TYPES = [
|
|
6497
6507
|
"text",
|
|
6498
6508
|
"longtext",
|
|
@@ -6744,6 +6754,13 @@ function checkFields(value, at2, problems) {
|
|
|
6744
6754
|
if (isSet(f2.options)) {
|
|
6745
6755
|
if (!Array.isArray(f2.options) || f2.options.some((o2) => !isRecord(o2) || typeof o2.value !== "string"))
|
|
6746
6756
|
problems.push(`${here}.options: a list of {value, label}, e.g. [{value: high}]`);
|
|
6757
|
+
else
|
|
6758
|
+
f2.options.forEach((o2, k2) => {
|
|
6759
|
+
if (isSet(o2.tone) && !STEP_FIELD_OPTION_TONES.includes(o2.tone))
|
|
6760
|
+
problems.push(
|
|
6761
|
+
`${here}.options[${k2}].tone: must be one of ${STEP_FIELD_OPTION_TONES.join(", ")} (got ${JSON.stringify(o2.tone)})`
|
|
6762
|
+
);
|
|
6763
|
+
});
|
|
6747
6764
|
}
|
|
6748
6765
|
});
|
|
6749
6766
|
}
|