@arbidocs/sdk 0.4.90 → 0.4.92
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/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as ConfigStore, q as CliConfig, r as CliCredentials, C as ChatSession,
|
|
2
|
-
export { A as ActivityKind, a as ActivityResponse, d as AgentStepEvent, e as Arbi, f as ArbiApiError, g as ArbiError, i as ArbiOptions, j as ArbiSessionExpiredError, k as ArtifactEvent, l as AuthContext, n as AuthMode, o as AuthenticatedClient, p as CitationSummary, s as CommandDescriptor, u as ConnectOptions, v as ConversationResponse, w as ConversationUsageResponse, z as CreateWorkRequest, B as CreateWorkflowRequest, D as DOC_TERMINAL_STATUSES, E as DecryptedDmNotification, G as DmAttachmentFile, H as DmAttachmentInput, J as DocNameMap, K as DocumentAutomationAction, L as DocumentListFields, M as DocumentListOrder, N as DocumentSelector, O as DocumentWaiter, P as DocumentWaiterOptions, T as FormattedWsMessage, U as IdentityErrorCode, V as IdentityPurchase, W as IdentityState, X as IdentityStatus, Y as LinkedRun, Z as ListAllOptions, $ as ListPaginatedOptions, a1 as MessageLevel, a2 as MessageMetadataPayload, a3 as MessageQueuedEvent, a4 as OutputTokensDetails, a5 as ParsedSlashCommand, a6 as PendingAuthResponse, a7 as PlanStepsError, a8 as PlanWorkRequest, 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, ao as ResolvedRecipient, 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
|
+
import { t as ConfigStore, q as CliConfig, r as CliCredentials, C as ChatSession, aJ as SkippedFile, bd as UploadResult, m as AuthHeaders, b9 as UploadBatchResult, bc as UploadOptions, ba as UploadDirectOptions, bb as UploadDirectResult, aG as SUPPORTED_EXTENSIONS, a0 as MailAttachment, I as DmCryptoContext } from './browser-DcxlFaYK.cjs';
|
|
2
|
+
export { A as ActivityKind, a as ActivityResponse, d as AgentStepEvent, e as Arbi, f as ArbiApiError, g as ArbiError, i as ArbiOptions, j as ArbiSessionExpiredError, k as ArtifactEvent, l as AuthContext, n as AuthMode, o as AuthenticatedClient, p as CitationSummary, s as CommandDescriptor, u as ConnectOptions, v as ConversationResponse, w as ConversationUsageResponse, z as CreateWorkRequest, B as CreateWorkflowRequest, D as DOC_TERMINAL_STATUSES, E as DecryptedDmNotification, G as DmAttachmentFile, H as DmAttachmentInput, J as DocNameMap, K as DocumentAutomationAction, L as DocumentListFields, M as DocumentListOrder, N as DocumentSelector, O as DocumentWaiter, P as DocumentWaiterOptions, T as FormattedWsMessage, U as IdentityErrorCode, V as IdentityPurchase, W as IdentityState, X as IdentityStatus, Y as LinkedRun, Z as ListAllOptions, $ as ListPaginatedOptions, a1 as MessageLevel, a2 as MessageMetadataPayload, a3 as MessageQueuedEvent, a4 as OutputTokensDetails, a5 as ParsedSlashCommand, a6 as PendingAuthResponse, a7 as PlanStepsError, a8 as PlanWorkRequest, 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, ao as ResolvedRecipient, 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, aF as STEP_FIELD_OPTION_TONES, aH as SendBack, aI as SkillSummary, aK as StepActionRequest, aL as StepActivityEvent, aM as StepAssignee, aN as StepField, aO as StepFieldOption, aP as StepFieldOptionTone, 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, 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, bt as agents, bu as assistant, bv as authenticatedFetch, bw as buildDocNameMap, 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, bI as createDocumentWaiter, 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, bS as formatStreamSummary, bT as formatUserName, bU as formatWorkspaceChoices, bV as formatWsMessage, bW as generateEncryptedWorkspaceKey, bX as generateNewWorkspaceKey, bY as getErrorCode, 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, c7 as performSigningKeyLogin, c8 as performSsoDeviceFlowLogin, 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';
|
|
3
3
|
import { SessionStorageProvider, ArbiClient } from '@arbidocs/client';
|
|
4
4
|
export { LoginProfile } from '@arbidocs/client';
|
|
5
5
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as ConfigStore, q as CliConfig, r as CliCredentials, C as ChatSession,
|
|
2
|
-
export { A as ActivityKind, a as ActivityResponse, d as AgentStepEvent, e as Arbi, f as ArbiApiError, g as ArbiError, i as ArbiOptions, j as ArbiSessionExpiredError, k as ArtifactEvent, l as AuthContext, n as AuthMode, o as AuthenticatedClient, p as CitationSummary, s as CommandDescriptor, u as ConnectOptions, v as ConversationResponse, w as ConversationUsageResponse, z as CreateWorkRequest, B as CreateWorkflowRequest, D as DOC_TERMINAL_STATUSES, E as DecryptedDmNotification, G as DmAttachmentFile, H as DmAttachmentInput, J as DocNameMap, K as DocumentAutomationAction, L as DocumentListFields, M as DocumentListOrder, N as DocumentSelector, O as DocumentWaiter, P as DocumentWaiterOptions, T as FormattedWsMessage, U as IdentityErrorCode, V as IdentityPurchase, W as IdentityState, X as IdentityStatus, Y as LinkedRun, Z as ListAllOptions, $ as ListPaginatedOptions, a1 as MessageLevel, a2 as MessageMetadataPayload, a3 as MessageQueuedEvent, a4 as OutputTokensDetails, a5 as ParsedSlashCommand, a6 as PendingAuthResponse, a7 as PlanStepsError, a8 as PlanWorkRequest, 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, ao as ResolvedRecipient, 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
|
+
import { t as ConfigStore, q as CliConfig, r as CliCredentials, C as ChatSession, aJ as SkippedFile, bd as UploadResult, m as AuthHeaders, b9 as UploadBatchResult, bc as UploadOptions, ba as UploadDirectOptions, bb as UploadDirectResult, aG as SUPPORTED_EXTENSIONS, a0 as MailAttachment, I as DmCryptoContext } from './browser-DcxlFaYK.js';
|
|
2
|
+
export { A as ActivityKind, a as ActivityResponse, d as AgentStepEvent, e as Arbi, f as ArbiApiError, g as ArbiError, i as ArbiOptions, j as ArbiSessionExpiredError, k as ArtifactEvent, l as AuthContext, n as AuthMode, o as AuthenticatedClient, p as CitationSummary, s as CommandDescriptor, u as ConnectOptions, v as ConversationResponse, w as ConversationUsageResponse, z as CreateWorkRequest, B as CreateWorkflowRequest, D as DOC_TERMINAL_STATUSES, E as DecryptedDmNotification, G as DmAttachmentFile, H as DmAttachmentInput, J as DocNameMap, K as DocumentAutomationAction, L as DocumentListFields, M as DocumentListOrder, N as DocumentSelector, O as DocumentWaiter, P as DocumentWaiterOptions, T as FormattedWsMessage, U as IdentityErrorCode, V as IdentityPurchase, W as IdentityState, X as IdentityStatus, Y as LinkedRun, Z as ListAllOptions, $ as ListPaginatedOptions, a1 as MessageLevel, a2 as MessageMetadataPayload, a3 as MessageQueuedEvent, a4 as OutputTokensDetails, a5 as ParsedSlashCommand, a6 as PendingAuthResponse, a7 as PlanStepsError, a8 as PlanWorkRequest, 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, ao as ResolvedRecipient, 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, aF as STEP_FIELD_OPTION_TONES, aH as SendBack, aI as SkillSummary, aK as StepActionRequest, aL as StepActivityEvent, aM as StepAssignee, aN as StepField, aO as StepFieldOption, aP as StepFieldOptionTone, 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, 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, bt as agents, bu as assistant, bv as authenticatedFetch, bw as buildDocNameMap, 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, bI as createDocumentWaiter, 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, bS as formatStreamSummary, bT as formatUserName, bU as formatWorkspaceChoices, bV as formatWsMessage, bW as generateEncryptedWorkspaceKey, bX as generateNewWorkspaceKey, bY as getErrorCode, 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, c7 as performSigningKeyLogin, c8 as performSsoDeviceFlowLogin, 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';
|
|
3
3
|
import { SessionStorageProvider, ArbiClient } from '@arbidocs/client';
|
|
4
4
|
export { LoginProfile } from '@arbidocs/client';
|
|
5
5
|
|
package/dist/index.js
CHANGED
|
@@ -6848,6 +6848,7 @@ __export(workflow_steps_exports, {
|
|
|
6848
6848
|
PERSON_STEP_KINDS: () => PERSON_STEP_KINDS,
|
|
6849
6849
|
PlanStepsError: () => PlanStepsError,
|
|
6850
6850
|
SIGNAL_NAME_PATTERN: () => SIGNAL_NAME_PATTERN,
|
|
6851
|
+
STEP_FIELD_OPTION_TONES: () => STEP_FIELD_OPTION_TONES,
|
|
6851
6852
|
STEP_FIELD_TYPES: () => STEP_FIELD_TYPES,
|
|
6852
6853
|
STEP_ID_PATTERN: () => STEP_ID_PATTERN,
|
|
6853
6854
|
STEP_KINDS: () => STEP_KINDS,
|
|
@@ -7051,6 +7052,15 @@ function runWaitingOn(run) {
|
|
|
7051
7052
|
if (run.some((s2) => s2.kind !== "agent" && s2.phase === "ready")) return "person";
|
|
7052
7053
|
return "stuck";
|
|
7053
7054
|
}
|
|
7055
|
+
var STEP_FIELD_OPTION_TONES = [
|
|
7056
|
+
"neutral",
|
|
7057
|
+
"info",
|
|
7058
|
+
"success",
|
|
7059
|
+
"warning",
|
|
7060
|
+
"danger",
|
|
7061
|
+
"accent",
|
|
7062
|
+
"ai"
|
|
7063
|
+
];
|
|
7054
7064
|
var STEP_FIELD_TYPES = [
|
|
7055
7065
|
"text",
|
|
7056
7066
|
"longtext",
|
|
@@ -7302,6 +7312,13 @@ function checkFields(value, at2, problems) {
|
|
|
7302
7312
|
if (isSet(f2.options)) {
|
|
7303
7313
|
if (!Array.isArray(f2.options) || f2.options.some((o2) => !isRecord(o2) || typeof o2.value !== "string"))
|
|
7304
7314
|
problems.push(`${here}.options: a list of {value, label}, e.g. [{value: high}]`);
|
|
7315
|
+
else
|
|
7316
|
+
f2.options.forEach((o2, k2) => {
|
|
7317
|
+
if (isSet(o2.tone) && !STEP_FIELD_OPTION_TONES.includes(o2.tone))
|
|
7318
|
+
problems.push(
|
|
7319
|
+
`${here}.options[${k2}].tone: must be one of ${STEP_FIELD_OPTION_TONES.join(", ")} (got ${JSON.stringify(o2.tone)})`
|
|
7320
|
+
);
|
|
7321
|
+
});
|
|
7305
7322
|
}
|
|
7306
7323
|
});
|
|
7307
7324
|
}
|
|
@@ -9881,6 +9898,6 @@ async function startDmListener(options) {
|
|
|
9881
9898
|
};
|
|
9882
9899
|
}
|
|
9883
9900
|
|
|
9884
|
-
export { Arbi, ArbiApiError, ArbiError, ArbiSessionExpiredError, ClaudeOrchestrator, DOC_TERMINAL_STATUSES, FileConfigStore, OpenClawOrchestrator, PlanStepsError, WebSocketAuthError, account_exports as account, agentconfig_exports as agentconfig, agents_exports as agents, assistant_exports as assistant, authenticatedFetch, buildDocNameMap, buildFactsContextTool, buildRetrievalChunkTool, buildRetrievalFullContextTool, buildRetrievalTocTool, connectWebSocket, connectWithReconnect, consumeSSEStream, contacts_exports as contacts, conversations_exports as conversations, countCitations, createAuthenticatedClient, createDocumentWaiter, device_flow_exports as deviceFlow, dm_exports as dm, doctags_exports as doctags, documents_exports as documents, documents_node_exports as documentsNode, facts_exports as facts, files_exports as files, filterSkills, formatAgentStepLabel, formatFileSize, formatItemLabel, formatStreamSummary, formatUserName, formatWorkspaceChoices, formatWsMessage, generateEncryptedWorkspaceKey, generateNewWorkspaceKey, getErrorCode, getErrorMessage, getRawWorkspaceKey, health_exports as health, identityErrorCode, identity_exports as identityVerification, listen_exports as listen, mail_exports as mail, mail_node_exports as mailNode, parseSSEEvents, parseSlashCommand, parseSlashTokenInProgress, performPasswordLogin, performSigningKeyLogin, performSsoDeviceFlowLogin, profile_exports as profile, projects_exports as projects, requireData, requireOk, resolveAuth, resolveCitations, resolveWorkspace, responses_exports as responses, selectWorkspace, selectWorkspaceById, sessions_exports as sessions, settings_exports as settings, startDmListener, streamSSE, stripCitationMarkdown, summarizeCitations, tags_exports as tags, work_exports as work, workflow_steps_exports as workflowSteps, workflows_exports as workflows, workspaces_exports as workspaces };
|
|
9901
|
+
export { Arbi, ArbiApiError, ArbiError, ArbiSessionExpiredError, ClaudeOrchestrator, DOC_TERMINAL_STATUSES, FileConfigStore, OpenClawOrchestrator, PlanStepsError, STEP_FIELD_OPTION_TONES, WebSocketAuthError, account_exports as account, agentconfig_exports as agentconfig, agents_exports as agents, assistant_exports as assistant, authenticatedFetch, buildDocNameMap, buildFactsContextTool, buildRetrievalChunkTool, buildRetrievalFullContextTool, buildRetrievalTocTool, connectWebSocket, connectWithReconnect, consumeSSEStream, contacts_exports as contacts, conversations_exports as conversations, countCitations, createAuthenticatedClient, createDocumentWaiter, device_flow_exports as deviceFlow, dm_exports as dm, doctags_exports as doctags, documents_exports as documents, documents_node_exports as documentsNode, facts_exports as facts, files_exports as files, filterSkills, formatAgentStepLabel, formatFileSize, formatItemLabel, formatStreamSummary, formatUserName, formatWorkspaceChoices, formatWsMessage, generateEncryptedWorkspaceKey, generateNewWorkspaceKey, getErrorCode, getErrorMessage, getRawWorkspaceKey, health_exports as health, identityErrorCode, identity_exports as identityVerification, listen_exports as listen, mail_exports as mail, mail_node_exports as mailNode, parseSSEEvents, parseSlashCommand, parseSlashTokenInProgress, performPasswordLogin, performSigningKeyLogin, performSsoDeviceFlowLogin, profile_exports as profile, projects_exports as projects, requireData, requireOk, resolveAuth, resolveCitations, resolveWorkspace, responses_exports as responses, selectWorkspace, selectWorkspaceById, sessions_exports as sessions, settings_exports as settings, startDmListener, streamSSE, stripCitationMarkdown, summarizeCitations, tags_exports as tags, work_exports as work, workflow_steps_exports as workflowSteps, workflows_exports as workflows, workspaces_exports as workspaces };
|
|
9885
9902
|
//# sourceMappingURL=index.js.map
|
|
9886
9903
|
//# sourceMappingURL=index.js.map
|