@arbidocs/sdk 0.5.74 → 0.5.76

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.
@@ -981,6 +981,25 @@ interface SetupReport {
981
981
  /** No credentials, response bodies, names, keys or document content are returned in the report. */
982
982
  declare function diagnoseSetup(options: DiagnoseOptions): Promise<SetupReport>;
983
983
 
984
+ /** Human-authored reports; screenshot capture remains an explicit UI choice. */
985
+
986
+ interface SupportTicketInput {
987
+ description: string;
988
+ screenshot?: Blob;
989
+ /** Reuse this key when retrying the same report. */
990
+ idempotencyKey?: string;
991
+ }
992
+ declare function createSupportTicket(arbi: ArbiClient, input: SupportTicketInput): Promise<{
993
+ ticket_id: number;
994
+ reference: string;
995
+ }>;
996
+
997
+ type support_SupportTicketInput = SupportTicketInput;
998
+ declare const support_createSupportTicket: typeof createSupportTicket;
999
+ declare namespace support {
1000
+ export { type support_SupportTicketInput as SupportTicketInput, support_createSupportTicket as createSupportTicket };
1001
+ }
1002
+
984
1003
  /**
985
1004
  * Document operations — browser-safe functions.
986
1005
  *
@@ -15087,6 +15106,12 @@ declare class Arbi {
15087
15106
  premium_default?: string | null | undefined;
15088
15107
  }>;
15089
15108
  };
15109
+ readonly support: {
15110
+ create: (input: SupportTicketInput) => Promise<{
15111
+ ticket_id: number;
15112
+ reference: string;
15113
+ }>;
15114
+ };
15090
15115
  readonly health: {
15091
15116
  check: () => Promise<{
15092
15117
  status: string;
@@ -17656,4 +17681,4 @@ declare function documentTools(options: {
17656
17681
  /** Add replaces matching tool names; replace discards all previous tools. No mutation of inputs. */
17657
17682
  declare function composeTools(base: ResponseTools, next: ResponseTools, mode: 'add' | 'replace'): ResponseTools;
17658
17683
 
17659
- export { type CitationSummary as $, ACCOUNT_VENDOR as A, type BookingConfirmation as B, type CalDavConnectBody as C, type CalDavProfile as D, type CalendarAccount as E, type CalendarAccountKind as F, type CalendarCreateBody as G, type CalendarEvent as H, type CalendarKeys as I, type CalendarRead as J, type CalendarSettings as K, type CalendarSettingsBody as L, type CalendarUpdate as M, type CalendarWindow as N, CallApiError as O, type Capabilities as P, type ChatAttachmentFile as Q, type ChatAttachmentInput as R, type ChatCryptoContext as S, type ChatKeyRing as T, type ChatKind as U, type ChatMemberKey as V, type ChatMemberResponse as W, type ChatMessage as X, type ChatMessageResponse as Y, type ChatResponse as Z, type ChatSession as _, type AccountSyncResult as a, type FreeBusyEntry as a$, type CitationToolSources as a0, type CliConfig as a1, type CliCredentials as a2, type CommandDescriptor as a3, type ConfigStore as a4, type Configuration as a5, type ConfigurationPatch as a6, type ConnectOptions as a7, type ConnectionModel as a8, type ConnectorCatalogEntry as a9, type DecryptedChatMessage as aA, type DeploymentHouseTemplate as aB, type DiagnoseOptions as aC, type DirectModelUsage as aD, type DocInfo as aE, type DocInfoMap as aF, type DocNameMap as aG, type DocumentAutomationAction as aH, type DocumentListFields as aI, type DocumentListOrder as aJ, type DocumentSelector as aK, type DocumentWaiter as aL, type DocumentWaiterOptions as aM, type DriveSyncProgress as aN, type DriveSyncSummary as aO, DuplicateContactError as aP, ENTITY_KINDS as aQ, type EditScope as aR, type EntityKind as aS, type EventCreateBody as aT, type EventPatchBody as aU, FLAT_TAG_KINDS as aV, type FactResponse as aW, type FactSearchRequest as aX, type FactSearchResponse as aY, type FindTimeParams as aZ, type FormattedWsMessage as a_, type ConnectorFolder as aa, type ConnectorSyncProgress as ab, type ConnectorSyncStatus as ac, type ConnectorVendorKey as ad, type ConnectorVisibilitySettings as ae, type ContextUsage as af, type ConversationResponse as ag, type ConversationUsageResponse as ah, type CreateFactRequest as ai, type CreateFactsRequest as aj, type CreateWorkRequest as ak, type CreateWorkflowRequest as al, DEFAULT_AI_USD_PER_GBP as am, DOC_TERMINAL_STATUSES as an, DRIVE_SYNC_VENDORS as ao, type Database as ap, type DatabaseAggregateRequest as aq, type DatabaseAggregateResult as ar, type DatabaseColumn as as, type DatabaseColumnWrite as at, type DatabaseImportResult as au, type DatabaseRow as av, type DatabaseRowPage as aw, type DatabaseRowsQuery as ax, type DateTimeSpec as ay, type DecryptedChat as az, type ActivityKind as b, type RespondParams as b$, type FullContextSelection as b0, GOOGLE_VENDORS as b1, type HolidayCountry as b2, type HouseTemplateCandidate as b3, IMANAGE_VENDORS as b4, type IdentityErrorCode as b5, type IdentityPurchase as b6, type IdentityState as b7, type IdentityStatus as b8, type ImportResult as b9, type PlanWorkRequest as bA, type ProductResponse as bB, type ProjectAddonKind as bC, type ProjectAddonSettingsRequest as bD, type ProjectBudget as bE, type ProjectCheckoutRequest as bF, type ProjectConversationUsageResponse as bG, type ProjectCreateOptions as bH, type ProjectDetails as bI, type ProjectEventKind as bJ, type ProjectEventResponse as bK, type ProjectInvoicesResponse as bL, type ProjectNextPeriodAddonsRequest as bM, type ProjectPlanChangeRequest as bN, type ProjectQuoteRequest as bO, type ProjectResponse as bP, type ProjectUpdateRequest as bQ, type ProjectUsageResponse as bR, PublicBookingError as bS, type PublicBookingPage as bT, type QuotaExceeded as bU, type RaisedSignal as bV, type RawResponseEvent as bW, type ReconnectOptions as bX, type ReconnectableWsConnection as bY, type ResolvedCitation as bZ, type ResolvedRecipient as b_, type InvitationRead as ba, type JsonSchemaOutputFormat as bb, type LinkedRun as bc, type ListAllOptions as bd, type ListEventsParams as be, type ListFactsOptions as bf, type ListPaginatedOptions as bg, MAILBOX_SYNC_VENDORS as bh, MAX_RETRIEVE_DOC_IDS as bi, MICROSOFT_VENDORS as bj, type MailAttachment as bk, type MessageLevel as bl, type ModelConnection as bm, type OAuthAccountKind as bn, type OutputItemDone as bo, type OverlayItem as bp, type OverlayLayerName as bq, PRESENCE_KINDS as br, PROMPT_CONTEXT_CHARS as bs, type ParsedResponse as bt, type ParsedSlashCommand as bu, type ParsedStructuredResponse as bv, type PendingAuthResponse as bw, type PersonKey as bx, type PersonalConnectionInput as by, PlanStepsError as bz, type ActivityResponse as c, type TagKind as c$, type RespondPartstat as c0, type Response$1 as c1, type ResponseCreateRequest as c2, type ResponseCreateResult as c3, type ResponseHandle as c4, type ResponseSnapshot as c5, type ResponseStart as c6, type ResponseStartOptions as c7, ResponseStream as c8, type ResponseStreamEvent as c9, type ShareRole as cA, type SkillSummary as cB, type SkippedFile as cC, type SlackConnectionStatus as cD, type StepActionRequest as cE, type StepActivityEvent as cF, type StepAssignee as cG, type StepDisplay as cH, type StepField as cI, type StepFieldOption as cJ, type StepFieldOptionTone as cK, type StepKind as cL, type StepPhase as cM, type StepSignal as cN, type StepSignalWhen as cO, type StepState as cP, type StepStatus as cQ, type SubagentBranchRecord as cR, type SubagentLaneInfo as cS, type SubmitBackgroundQueryOptions as cT, type SubscribeParams as cU, type SyncTriggerResult as cV, TAG_KINDS as cW, TAG_NESTING_MAX_DEPTH as cX, type TagChange as cY, type TagFieldDefinition as cZ, type TagGroup as c_, type ResponseTools as ca, type RoomCreateBody as cb, type RoomQuery as cc, type RoomRead as cd, type RunProgress as ce, type RunStats as cf, type RunStep as cg, type RunWaitingOn as ch, SHAREPOINT_VENDORS as ci, type SSEEvent as cj, type SSEStreamCallbacks as ck, type SSEStreamOutcome as cl, type SSEStreamResult as cm, STEP_FIELD_OPTION_TONES as cn, STOP_ID_WAIT_MS as co, STOP_REPEAT_WINDOW_MS as cp, SUPPORTED_EXTENSIONS as cq, type ScopedTarget as cr, type SearchChunk as cs, type SecureMailCompose as ct, type SecureMailSend as cu, type SecureMailSender as cv, type SendBack as cw, type SetupDiagnostic as cx, type SetupReport as cy, type ShareRead as cz, Arbi as d, composeConfiguration as d$, type TagKindField as d0, type TagKindSchema as d1, type TagLinks as d2, type TagListQuery as d3, type TagNode as d4, type TagResponse as d5, type TagScope as d6, type TagTreeRow as d7, type TaskPlan as d8, type TaskPlanStep as d9, type WorkflowRunResponse as dA, type WorkspaceConflict as dB, type WorkspaceContext as dC, type WorkspaceOpenResponse as dD, type WorkspaceResponse as dE, type WsConnection as dF, account as dG, agentconfig as dH, agents as dI, appendTranscriptionHints as dJ, assistant as dK, authenticatedFetch as dL, bookPublicSlot as dM, buildCitationChunkData as dN, buildDocNameMap as dO, buildDocumentTools as dP, buildFactsContextTool as dQ, buildRetrievalChunkTool as dR, buildRetrievalFullContextTool as dS, buildRetrievalTocTool as dT, buildTurnRequest as dU, calendar as dV, calls as dW, canTagHaveParent as dX, cancelPublicBooking as dY, capabilities as dZ, chats as d_, type TaxQuoteResponse as da, type Thread as db, type ThreadsResponse as dc, type TimeSuggestion as dd, type TurnRequest as de, type UpdateConversationRequest as df, type UpdateFactRequest as dg, type UpdateWorkflowRequest as dh, type UploadBatchResult as di, type UploadDirectOptions as dj, type UploadDirectResult as dk, type UploadDocumentsOptions as dl, type UploadOptions as dm, type UploadProgressListener as dn, type UploadResult as dp, type UsageBreakdown as dq, type UserConnectorEntry as dr, type UserDailyUsageResponse as ds, type UserInfo as dt, WebSocketAuthError as du, type WeeklyHoursSpec as dv, type WorkStatus as dw, type WorkflowAuthMode as dx, type WorkflowResponse as dy, type WorkflowRunHistoryResponse as dz, ArbiApiError as e, houseTemplate as e$, composeTools as e0, computeRunStats as e1, connectErrorMessage as e2, connectWebSocket as e3, connectWithReconnect as e4, connectors as e5, contacts as e6, continuityPrompt as e7, conversations as e8, countCitations as e9, formatItemLabel as eA, formatStreamSummary as eB, formatTokens as eC, formatUserName as eD, formatWorkspaceChoices as eE, formatWsMessage as eF, generateEncryptedWorkspaceKey as eG, generateNewWorkspaceKey as eH, getAgentStepLabel as eI, getAttachableRunId as eJ, getChildTags as eK, getContextRemainingPercent as eL, getContextUsedPercent as eM, getContextUsedTokens as eN, getCurrentStep as eO, getEligibleParentTags as eP, getErrorCode as eQ, getErrorMessage as eR, getPublicBookingPage as eS, getRawWorkspaceKey as eT, getRunToAttach as eU, getRunToCancel as eV, getStepDisplay as eW, getStepTool as eX, getSubagentBranchRecord as eY, getTagDescendantIds as eZ, health as e_, createAuthenticatedClient as ea, createDocumentWaiter as eb, createIndexAssigner as ec, databases as ed, defaultKindForFormat as ee, diagnoseSetup as ef, doctags as eg, documentTools as eh, documents as ei, estimateDraftTokens as ej, extractDocumentIdsFromMessages as ek, extractFactIdsFromMessages as el, extractSubagentLanes as em, facts as en, files as eo, filterDocumentTags as ep, filterSkills as eq, findLeafForTaskMessage as er, findMainSiblingLeaf as es, findReplyTarget as et, findSubagentRunId as eu, flattenTagTree as ev, formatAgentStepLabel as ew, formatFileSize as ex, formatGbp as ey, formatGbpPerMillionTokens as ez, ArbiError as f, work as f$, hydrateAgentSteps as f0, identity as f1, identityErrorCode as f2, instructions as f3, isAnnotationTag as f4, isConnectorVendorVisible as f5, isDriveSyncVendor as f6, isEntityTag as f7, isFlatKind as f8, isLabelTag as f9, requireData as fA, requireOk as fB, resolveAuth as fC, resolveCitations as fD, resolveSummary as fE, resolveWorkspace as fF, responses as fG, searchChunks as fH, secureMail as fI, selectFullContextDocument as fJ, selectWorkspace as fK, selectWorkspaceById as fL, sessions as fM, settings as fN, signatureRequests as fO, sliceToSubagentThread as fP, streamSSE as fQ, stripCitationMarkdown as fR, subagentJobLabel as fS, summarizeCitations as fT, tagUseCount as fU, tags as fV, tagsForScope as fW, tagsOfGroup as fX, topLevelAgentSteps as fY, uploadSkill as fZ, usdToGbp as f_, isMailboxSyncVendor as fa, isNearAiUsageBudget as fb, isPresenceTag as fc, isSharePointVendor as fd, isSharedSkill as fe, isTraceItem as ff, mail as fg, mcpTools as fh, mergeAgentSteps as fi, modelConnections as fj, notifications as fk, parseSSEEvents as fl, parseSlashCommand as fm, parseSlashTokenInProgress as fn, parseStructuredResponse as fo, performPasswordLogin as fp, performSigningKeyLogin as fq, performSsoDeviceFlowLogin as fr, pickMainThread as fs, profile as ft, progressFetch as fu, projects as fv, quotaExceededFrom as fw, quotaFromStreamError as fx, reduceOutputItem as fy, refusalReason as fz, type ArbiErrorOptions as g, workflowSteps as g0, workflows as g1, workspaceConflictOf as g2, workspaces as g3, wouldCreateTagCycle as g4, type ArbiHostSession as h, type ArbiOptions as i, ArbiSessionExpiredError as j, ArbiStructuredOutputError as k, ArbiTransportError as l, ArbiWorkspaceChangedError as m, ArbiWorkspaceSupersededError as n, ArbiWorkspaceUnavailableError as o, type AskHandlers as p, type AskRequest as q, type AttendeeRead as r, type AuthContext as s, type AuthHeaders as t, type AuthMode as u, type AuthenticatedClient as v, type BookingPage as w, type BookingPageWriteBody as x, type BookingRequestBody as y, type BridgeTokensOptions as z };
17684
+ export { type CitationSummary as $, ACCOUNT_VENDOR as A, type BookingConfirmation as B, type CalDavConnectBody as C, type CalDavProfile as D, type CalendarAccount as E, type CalendarAccountKind as F, type CalendarCreateBody as G, type CalendarEvent as H, type CalendarKeys as I, type CalendarRead as J, type CalendarSettings as K, type CalendarSettingsBody as L, type CalendarUpdate as M, type CalendarWindow as N, CallApiError as O, type Capabilities as P, type ChatAttachmentFile as Q, type ChatAttachmentInput as R, type ChatCryptoContext as S, type ChatKeyRing as T, type ChatKind as U, type ChatMemberKey as V, type ChatMemberResponse as W, type ChatMessage as X, type ChatMessageResponse as Y, type ChatResponse as Z, type ChatSession as _, type AccountSyncResult as a, type FreeBusyEntry as a$, type CitationToolSources as a0, type CliConfig as a1, type CliCredentials as a2, type CommandDescriptor as a3, type ConfigStore as a4, type Configuration as a5, type ConfigurationPatch as a6, type ConnectOptions as a7, type ConnectionModel as a8, type ConnectorCatalogEntry as a9, type DecryptedChatMessage as aA, type DeploymentHouseTemplate as aB, type DiagnoseOptions as aC, type DirectModelUsage as aD, type DocInfo as aE, type DocInfoMap as aF, type DocNameMap as aG, type DocumentAutomationAction as aH, type DocumentListFields as aI, type DocumentListOrder as aJ, type DocumentSelector as aK, type DocumentWaiter as aL, type DocumentWaiterOptions as aM, type DriveSyncProgress as aN, type DriveSyncSummary as aO, DuplicateContactError as aP, ENTITY_KINDS as aQ, type EditScope as aR, type EntityKind as aS, type EventCreateBody as aT, type EventPatchBody as aU, FLAT_TAG_KINDS as aV, type FactResponse as aW, type FactSearchRequest as aX, type FactSearchResponse as aY, type FindTimeParams as aZ, type FormattedWsMessage as a_, type ConnectorFolder as aa, type ConnectorSyncProgress as ab, type ConnectorSyncStatus as ac, type ConnectorVendorKey as ad, type ConnectorVisibilitySettings as ae, type ContextUsage as af, type ConversationResponse as ag, type ConversationUsageResponse as ah, type CreateFactRequest as ai, type CreateFactsRequest as aj, type CreateWorkRequest as ak, type CreateWorkflowRequest as al, DEFAULT_AI_USD_PER_GBP as am, DOC_TERMINAL_STATUSES as an, DRIVE_SYNC_VENDORS as ao, type Database as ap, type DatabaseAggregateRequest as aq, type DatabaseAggregateResult as ar, type DatabaseColumn as as, type DatabaseColumnWrite as at, type DatabaseImportResult as au, type DatabaseRow as av, type DatabaseRowPage as aw, type DatabaseRowsQuery as ax, type DateTimeSpec as ay, type DecryptedChat as az, type ActivityKind as b, type RespondParams as b$, type FullContextSelection as b0, GOOGLE_VENDORS as b1, type HolidayCountry as b2, type HouseTemplateCandidate as b3, IMANAGE_VENDORS as b4, type IdentityErrorCode as b5, type IdentityPurchase as b6, type IdentityState as b7, type IdentityStatus as b8, type ImportResult as b9, type PlanWorkRequest as bA, type ProductResponse as bB, type ProjectAddonKind as bC, type ProjectAddonSettingsRequest as bD, type ProjectBudget as bE, type ProjectCheckoutRequest as bF, type ProjectConversationUsageResponse as bG, type ProjectCreateOptions as bH, type ProjectDetails as bI, type ProjectEventKind as bJ, type ProjectEventResponse as bK, type ProjectInvoicesResponse as bL, type ProjectNextPeriodAddonsRequest as bM, type ProjectPlanChangeRequest as bN, type ProjectQuoteRequest as bO, type ProjectResponse as bP, type ProjectUpdateRequest as bQ, type ProjectUsageResponse as bR, PublicBookingError as bS, type PublicBookingPage as bT, type QuotaExceeded as bU, type RaisedSignal as bV, type RawResponseEvent as bW, type ReconnectOptions as bX, type ReconnectableWsConnection as bY, type ResolvedCitation as bZ, type ResolvedRecipient as b_, type InvitationRead as ba, type JsonSchemaOutputFormat as bb, type LinkedRun as bc, type ListAllOptions as bd, type ListEventsParams as be, type ListFactsOptions as bf, type ListPaginatedOptions as bg, MAILBOX_SYNC_VENDORS as bh, MAX_RETRIEVE_DOC_IDS as bi, MICROSOFT_VENDORS as bj, type MailAttachment as bk, type MessageLevel as bl, type ModelConnection as bm, type OAuthAccountKind as bn, type OutputItemDone as bo, type OverlayItem as bp, type OverlayLayerName as bq, PRESENCE_KINDS as br, PROMPT_CONTEXT_CHARS as bs, type ParsedResponse as bt, type ParsedSlashCommand as bu, type ParsedStructuredResponse as bv, type PendingAuthResponse as bw, type PersonKey as bx, type PersonalConnectionInput as by, PlanStepsError as bz, type ActivityResponse as c, type TagGroup as c$, type RespondPartstat as c0, type Response$1 as c1, type ResponseCreateRequest as c2, type ResponseCreateResult as c3, type ResponseHandle as c4, type ResponseSnapshot as c5, type ResponseStart as c6, type ResponseStartOptions as c7, ResponseStream as c8, type ResponseStreamEvent as c9, type ShareRole as cA, type SkillSummary as cB, type SkippedFile as cC, type SlackConnectionStatus as cD, type StepActionRequest as cE, type StepActivityEvent as cF, type StepAssignee as cG, type StepDisplay as cH, type StepField as cI, type StepFieldOption as cJ, type StepFieldOptionTone as cK, type StepKind as cL, type StepPhase as cM, type StepSignal as cN, type StepSignalWhen as cO, type StepState as cP, type StepStatus as cQ, type SubagentBranchRecord as cR, type SubagentLaneInfo as cS, type SubmitBackgroundQueryOptions as cT, type SubscribeParams as cU, type SupportTicketInput as cV, type SyncTriggerResult as cW, TAG_KINDS as cX, TAG_NESTING_MAX_DEPTH as cY, type TagChange as cZ, type TagFieldDefinition as c_, type ResponseTools as ca, type RoomCreateBody as cb, type RoomQuery as cc, type RoomRead as cd, type RunProgress as ce, type RunStats as cf, type RunStep as cg, type RunWaitingOn as ch, SHAREPOINT_VENDORS as ci, type SSEEvent as cj, type SSEStreamCallbacks as ck, type SSEStreamOutcome as cl, type SSEStreamResult as cm, STEP_FIELD_OPTION_TONES as cn, STOP_ID_WAIT_MS as co, STOP_REPEAT_WINDOW_MS as cp, SUPPORTED_EXTENSIONS as cq, type ScopedTarget as cr, type SearchChunk as cs, type SecureMailCompose as ct, type SecureMailSend as cu, type SecureMailSender as cv, type SendBack as cw, type SetupDiagnostic as cx, type SetupReport as cy, type ShareRead as cz, Arbi as d, chats as d$, type TagKind as d0, type TagKindField as d1, type TagKindSchema as d2, type TagLinks as d3, type TagListQuery as d4, type TagNode as d5, type TagResponse as d6, type TagScope as d7, type TagTreeRow as d8, type TaskPlan as d9, type WorkflowRunHistoryResponse as dA, type WorkflowRunResponse as dB, type WorkspaceConflict as dC, type WorkspaceContext as dD, type WorkspaceOpenResponse as dE, type WorkspaceResponse as dF, type WsConnection as dG, account as dH, agentconfig as dI, agents as dJ, appendTranscriptionHints as dK, assistant as dL, authenticatedFetch as dM, bookPublicSlot as dN, buildCitationChunkData as dO, buildDocNameMap as dP, buildDocumentTools as dQ, buildFactsContextTool as dR, buildRetrievalChunkTool as dS, buildRetrievalFullContextTool as dT, buildRetrievalTocTool as dU, buildTurnRequest as dV, calendar as dW, calls as dX, canTagHaveParent as dY, cancelPublicBooking as dZ, capabilities as d_, type TaskPlanStep as da, type TaxQuoteResponse as db, type Thread as dc, type ThreadsResponse as dd, type TimeSuggestion as de, type TurnRequest as df, type UpdateConversationRequest as dg, type UpdateFactRequest as dh, type UpdateWorkflowRequest as di, type UploadBatchResult as dj, type UploadDirectOptions as dk, type UploadDirectResult as dl, type UploadDocumentsOptions as dm, type UploadOptions as dn, type UploadProgressListener as dp, type UploadResult as dq, type UsageBreakdown as dr, type UserConnectorEntry as ds, type UserDailyUsageResponse as dt, type UserInfo as du, WebSocketAuthError as dv, type WeeklyHoursSpec as dw, type WorkStatus as dx, type WorkflowAuthMode as dy, type WorkflowResponse as dz, ArbiApiError as e, health as e$, composeConfiguration as e0, composeTools as e1, computeRunStats as e2, connectErrorMessage as e3, connectWebSocket as e4, connectWithReconnect as e5, connectors as e6, contacts as e7, continuityPrompt as e8, conversations as e9, formatGbpPerMillionTokens as eA, formatItemLabel as eB, formatStreamSummary as eC, formatTokens as eD, formatUserName as eE, formatWorkspaceChoices as eF, formatWsMessage as eG, generateEncryptedWorkspaceKey as eH, generateNewWorkspaceKey as eI, getAgentStepLabel as eJ, getAttachableRunId as eK, getChildTags as eL, getContextRemainingPercent as eM, getContextUsedPercent as eN, getContextUsedTokens as eO, getCurrentStep as eP, getEligibleParentTags as eQ, getErrorCode as eR, getErrorMessage as eS, getPublicBookingPage as eT, getRawWorkspaceKey as eU, getRunToAttach as eV, getRunToCancel as eW, getStepDisplay as eX, getStepTool as eY, getSubagentBranchRecord as eZ, getTagDescendantIds as e_, countCitations as ea, createAuthenticatedClient as eb, createDocumentWaiter as ec, createIndexAssigner as ed, databases as ee, defaultKindForFormat as ef, diagnoseSetup as eg, doctags as eh, documentTools as ei, documents as ej, estimateDraftTokens as ek, extractDocumentIdsFromMessages as el, extractFactIdsFromMessages as em, extractSubagentLanes as en, facts as eo, files as ep, filterDocumentTags as eq, filterSkills as er, findLeafForTaskMessage as es, findMainSiblingLeaf as et, findReplyTarget as eu, findSubagentRunId as ev, flattenTagTree as ew, formatAgentStepLabel as ex, formatFileSize as ey, formatGbp as ez, ArbiError as f, uploadSkill as f$, houseTemplate as f0, hydrateAgentSteps as f1, identity as f2, identityErrorCode as f3, instructions as f4, isAnnotationTag as f5, isConnectorVendorVisible as f6, isDriveSyncVendor as f7, isEntityTag as f8, isFlatKind as f9, refusalReason as fA, requireData as fB, requireOk as fC, resolveAuth as fD, resolveCitations as fE, resolveSummary as fF, resolveWorkspace as fG, responses as fH, searchChunks as fI, secureMail as fJ, selectFullContextDocument as fK, selectWorkspace as fL, selectWorkspaceById as fM, sessions as fN, settings as fO, signatureRequests as fP, sliceToSubagentThread as fQ, streamSSE as fR, stripCitationMarkdown as fS, subagentJobLabel as fT, summarizeCitations as fU, support as fV, tagUseCount as fW, tags as fX, tagsForScope as fY, tagsOfGroup as fZ, topLevelAgentSteps as f_, isLabelTag as fa, isMailboxSyncVendor as fb, isNearAiUsageBudget as fc, isPresenceTag as fd, isSharePointVendor as fe, isSharedSkill as ff, isTraceItem as fg, mail as fh, mcpTools as fi, mergeAgentSteps as fj, modelConnections as fk, notifications as fl, parseSSEEvents as fm, parseSlashCommand as fn, parseSlashTokenInProgress as fo, parseStructuredResponse as fp, performPasswordLogin as fq, performSigningKeyLogin as fr, performSsoDeviceFlowLogin as fs, pickMainThread as ft, profile as fu, progressFetch as fv, projects as fw, quotaExceededFrom as fx, quotaFromStreamError as fy, reduceOutputItem as fz, type ArbiErrorOptions as g, usdToGbp as g0, work as g1, workflowSteps as g2, workflows as g3, workspaceConflictOf as g4, workspaces as g5, wouldCreateTagCycle as g6, type ArbiHostSession as h, type ArbiOptions as i, ArbiSessionExpiredError as j, ArbiStructuredOutputError as k, ArbiTransportError as l, ArbiWorkspaceChangedError as m, ArbiWorkspaceSupersededError as n, ArbiWorkspaceUnavailableError as o, type AskHandlers as p, type AskRequest as q, type AttendeeRead as r, type AuthContext as s, type AuthHeaders as t, type AuthMode as u, type AuthenticatedClient as v, type BookingPage as w, type BookingPageWriteBody as x, type BookingRequestBody as y, type BridgeTokensOptions as z };
@@ -981,6 +981,25 @@ interface SetupReport {
981
981
  /** No credentials, response bodies, names, keys or document content are returned in the report. */
982
982
  declare function diagnoseSetup(options: DiagnoseOptions): Promise<SetupReport>;
983
983
 
984
+ /** Human-authored reports; screenshot capture remains an explicit UI choice. */
985
+
986
+ interface SupportTicketInput {
987
+ description: string;
988
+ screenshot?: Blob;
989
+ /** Reuse this key when retrying the same report. */
990
+ idempotencyKey?: string;
991
+ }
992
+ declare function createSupportTicket(arbi: ArbiClient, input: SupportTicketInput): Promise<{
993
+ ticket_id: number;
994
+ reference: string;
995
+ }>;
996
+
997
+ type support_SupportTicketInput = SupportTicketInput;
998
+ declare const support_createSupportTicket: typeof createSupportTicket;
999
+ declare namespace support {
1000
+ export { type support_SupportTicketInput as SupportTicketInput, support_createSupportTicket as createSupportTicket };
1001
+ }
1002
+
984
1003
  /**
985
1004
  * Document operations — browser-safe functions.
986
1005
  *
@@ -15087,6 +15106,12 @@ declare class Arbi {
15087
15106
  premium_default?: string | null | undefined;
15088
15107
  }>;
15089
15108
  };
15109
+ readonly support: {
15110
+ create: (input: SupportTicketInput) => Promise<{
15111
+ ticket_id: number;
15112
+ reference: string;
15113
+ }>;
15114
+ };
15090
15115
  readonly health: {
15091
15116
  check: () => Promise<{
15092
15117
  status: string;
@@ -17656,4 +17681,4 @@ declare function documentTools(options: {
17656
17681
  /** Add replaces matching tool names; replace discards all previous tools. No mutation of inputs. */
17657
17682
  declare function composeTools(base: ResponseTools, next: ResponseTools, mode: 'add' | 'replace'): ResponseTools;
17658
17683
 
17659
- export { type CitationSummary as $, ACCOUNT_VENDOR as A, type BookingConfirmation as B, type CalDavConnectBody as C, type CalDavProfile as D, type CalendarAccount as E, type CalendarAccountKind as F, type CalendarCreateBody as G, type CalendarEvent as H, type CalendarKeys as I, type CalendarRead as J, type CalendarSettings as K, type CalendarSettingsBody as L, type CalendarUpdate as M, type CalendarWindow as N, CallApiError as O, type Capabilities as P, type ChatAttachmentFile as Q, type ChatAttachmentInput as R, type ChatCryptoContext as S, type ChatKeyRing as T, type ChatKind as U, type ChatMemberKey as V, type ChatMemberResponse as W, type ChatMessage as X, type ChatMessageResponse as Y, type ChatResponse as Z, type ChatSession as _, type AccountSyncResult as a, type FreeBusyEntry as a$, type CitationToolSources as a0, type CliConfig as a1, type CliCredentials as a2, type CommandDescriptor as a3, type ConfigStore as a4, type Configuration as a5, type ConfigurationPatch as a6, type ConnectOptions as a7, type ConnectionModel as a8, type ConnectorCatalogEntry as a9, type DecryptedChatMessage as aA, type DeploymentHouseTemplate as aB, type DiagnoseOptions as aC, type DirectModelUsage as aD, type DocInfo as aE, type DocInfoMap as aF, type DocNameMap as aG, type DocumentAutomationAction as aH, type DocumentListFields as aI, type DocumentListOrder as aJ, type DocumentSelector as aK, type DocumentWaiter as aL, type DocumentWaiterOptions as aM, type DriveSyncProgress as aN, type DriveSyncSummary as aO, DuplicateContactError as aP, ENTITY_KINDS as aQ, type EditScope as aR, type EntityKind as aS, type EventCreateBody as aT, type EventPatchBody as aU, FLAT_TAG_KINDS as aV, type FactResponse as aW, type FactSearchRequest as aX, type FactSearchResponse as aY, type FindTimeParams as aZ, type FormattedWsMessage as a_, type ConnectorFolder as aa, type ConnectorSyncProgress as ab, type ConnectorSyncStatus as ac, type ConnectorVendorKey as ad, type ConnectorVisibilitySettings as ae, type ContextUsage as af, type ConversationResponse as ag, type ConversationUsageResponse as ah, type CreateFactRequest as ai, type CreateFactsRequest as aj, type CreateWorkRequest as ak, type CreateWorkflowRequest as al, DEFAULT_AI_USD_PER_GBP as am, DOC_TERMINAL_STATUSES as an, DRIVE_SYNC_VENDORS as ao, type Database as ap, type DatabaseAggregateRequest as aq, type DatabaseAggregateResult as ar, type DatabaseColumn as as, type DatabaseColumnWrite as at, type DatabaseImportResult as au, type DatabaseRow as av, type DatabaseRowPage as aw, type DatabaseRowsQuery as ax, type DateTimeSpec as ay, type DecryptedChat as az, type ActivityKind as b, type RespondParams as b$, type FullContextSelection as b0, GOOGLE_VENDORS as b1, type HolidayCountry as b2, type HouseTemplateCandidate as b3, IMANAGE_VENDORS as b4, type IdentityErrorCode as b5, type IdentityPurchase as b6, type IdentityState as b7, type IdentityStatus as b8, type ImportResult as b9, type PlanWorkRequest as bA, type ProductResponse as bB, type ProjectAddonKind as bC, type ProjectAddonSettingsRequest as bD, type ProjectBudget as bE, type ProjectCheckoutRequest as bF, type ProjectConversationUsageResponse as bG, type ProjectCreateOptions as bH, type ProjectDetails as bI, type ProjectEventKind as bJ, type ProjectEventResponse as bK, type ProjectInvoicesResponse as bL, type ProjectNextPeriodAddonsRequest as bM, type ProjectPlanChangeRequest as bN, type ProjectQuoteRequest as bO, type ProjectResponse as bP, type ProjectUpdateRequest as bQ, type ProjectUsageResponse as bR, PublicBookingError as bS, type PublicBookingPage as bT, type QuotaExceeded as bU, type RaisedSignal as bV, type RawResponseEvent as bW, type ReconnectOptions as bX, type ReconnectableWsConnection as bY, type ResolvedCitation as bZ, type ResolvedRecipient as b_, type InvitationRead as ba, type JsonSchemaOutputFormat as bb, type LinkedRun as bc, type ListAllOptions as bd, type ListEventsParams as be, type ListFactsOptions as bf, type ListPaginatedOptions as bg, MAILBOX_SYNC_VENDORS as bh, MAX_RETRIEVE_DOC_IDS as bi, MICROSOFT_VENDORS as bj, type MailAttachment as bk, type MessageLevel as bl, type ModelConnection as bm, type OAuthAccountKind as bn, type OutputItemDone as bo, type OverlayItem as bp, type OverlayLayerName as bq, PRESENCE_KINDS as br, PROMPT_CONTEXT_CHARS as bs, type ParsedResponse as bt, type ParsedSlashCommand as bu, type ParsedStructuredResponse as bv, type PendingAuthResponse as bw, type PersonKey as bx, type PersonalConnectionInput as by, PlanStepsError as bz, type ActivityResponse as c, type TagKind as c$, type RespondPartstat as c0, type Response$1 as c1, type ResponseCreateRequest as c2, type ResponseCreateResult as c3, type ResponseHandle as c4, type ResponseSnapshot as c5, type ResponseStart as c6, type ResponseStartOptions as c7, ResponseStream as c8, type ResponseStreamEvent as c9, type ShareRole as cA, type SkillSummary as cB, type SkippedFile as cC, type SlackConnectionStatus as cD, type StepActionRequest as cE, type StepActivityEvent as cF, type StepAssignee as cG, type StepDisplay as cH, type StepField as cI, type StepFieldOption as cJ, type StepFieldOptionTone as cK, type StepKind as cL, type StepPhase as cM, type StepSignal as cN, type StepSignalWhen as cO, type StepState as cP, type StepStatus as cQ, type SubagentBranchRecord as cR, type SubagentLaneInfo as cS, type SubmitBackgroundQueryOptions as cT, type SubscribeParams as cU, type SyncTriggerResult as cV, TAG_KINDS as cW, TAG_NESTING_MAX_DEPTH as cX, type TagChange as cY, type TagFieldDefinition as cZ, type TagGroup as c_, type ResponseTools as ca, type RoomCreateBody as cb, type RoomQuery as cc, type RoomRead as cd, type RunProgress as ce, type RunStats as cf, type RunStep as cg, type RunWaitingOn as ch, SHAREPOINT_VENDORS as ci, type SSEEvent as cj, type SSEStreamCallbacks as ck, type SSEStreamOutcome as cl, type SSEStreamResult as cm, STEP_FIELD_OPTION_TONES as cn, STOP_ID_WAIT_MS as co, STOP_REPEAT_WINDOW_MS as cp, SUPPORTED_EXTENSIONS as cq, type ScopedTarget as cr, type SearchChunk as cs, type SecureMailCompose as ct, type SecureMailSend as cu, type SecureMailSender as cv, type SendBack as cw, type SetupDiagnostic as cx, type SetupReport as cy, type ShareRead as cz, Arbi as d, composeConfiguration as d$, type TagKindField as d0, type TagKindSchema as d1, type TagLinks as d2, type TagListQuery as d3, type TagNode as d4, type TagResponse as d5, type TagScope as d6, type TagTreeRow as d7, type TaskPlan as d8, type TaskPlanStep as d9, type WorkflowRunResponse as dA, type WorkspaceConflict as dB, type WorkspaceContext as dC, type WorkspaceOpenResponse as dD, type WorkspaceResponse as dE, type WsConnection as dF, account as dG, agentconfig as dH, agents as dI, appendTranscriptionHints as dJ, assistant as dK, authenticatedFetch as dL, bookPublicSlot as dM, buildCitationChunkData as dN, buildDocNameMap as dO, buildDocumentTools as dP, buildFactsContextTool as dQ, buildRetrievalChunkTool as dR, buildRetrievalFullContextTool as dS, buildRetrievalTocTool as dT, buildTurnRequest as dU, calendar as dV, calls as dW, canTagHaveParent as dX, cancelPublicBooking as dY, capabilities as dZ, chats as d_, type TaxQuoteResponse as da, type Thread as db, type ThreadsResponse as dc, type TimeSuggestion as dd, type TurnRequest as de, type UpdateConversationRequest as df, type UpdateFactRequest as dg, type UpdateWorkflowRequest as dh, type UploadBatchResult as di, type UploadDirectOptions as dj, type UploadDirectResult as dk, type UploadDocumentsOptions as dl, type UploadOptions as dm, type UploadProgressListener as dn, type UploadResult as dp, type UsageBreakdown as dq, type UserConnectorEntry as dr, type UserDailyUsageResponse as ds, type UserInfo as dt, WebSocketAuthError as du, type WeeklyHoursSpec as dv, type WorkStatus as dw, type WorkflowAuthMode as dx, type WorkflowResponse as dy, type WorkflowRunHistoryResponse as dz, ArbiApiError as e, houseTemplate as e$, composeTools as e0, computeRunStats as e1, connectErrorMessage as e2, connectWebSocket as e3, connectWithReconnect as e4, connectors as e5, contacts as e6, continuityPrompt as e7, conversations as e8, countCitations as e9, formatItemLabel as eA, formatStreamSummary as eB, formatTokens as eC, formatUserName as eD, formatWorkspaceChoices as eE, formatWsMessage as eF, generateEncryptedWorkspaceKey as eG, generateNewWorkspaceKey as eH, getAgentStepLabel as eI, getAttachableRunId as eJ, getChildTags as eK, getContextRemainingPercent as eL, getContextUsedPercent as eM, getContextUsedTokens as eN, getCurrentStep as eO, getEligibleParentTags as eP, getErrorCode as eQ, getErrorMessage as eR, getPublicBookingPage as eS, getRawWorkspaceKey as eT, getRunToAttach as eU, getRunToCancel as eV, getStepDisplay as eW, getStepTool as eX, getSubagentBranchRecord as eY, getTagDescendantIds as eZ, health as e_, createAuthenticatedClient as ea, createDocumentWaiter as eb, createIndexAssigner as ec, databases as ed, defaultKindForFormat as ee, diagnoseSetup as ef, doctags as eg, documentTools as eh, documents as ei, estimateDraftTokens as ej, extractDocumentIdsFromMessages as ek, extractFactIdsFromMessages as el, extractSubagentLanes as em, facts as en, files as eo, filterDocumentTags as ep, filterSkills as eq, findLeafForTaskMessage as er, findMainSiblingLeaf as es, findReplyTarget as et, findSubagentRunId as eu, flattenTagTree as ev, formatAgentStepLabel as ew, formatFileSize as ex, formatGbp as ey, formatGbpPerMillionTokens as ez, ArbiError as f, work as f$, hydrateAgentSteps as f0, identity as f1, identityErrorCode as f2, instructions as f3, isAnnotationTag as f4, isConnectorVendorVisible as f5, isDriveSyncVendor as f6, isEntityTag as f7, isFlatKind as f8, isLabelTag as f9, requireData as fA, requireOk as fB, resolveAuth as fC, resolveCitations as fD, resolveSummary as fE, resolveWorkspace as fF, responses as fG, searchChunks as fH, secureMail as fI, selectFullContextDocument as fJ, selectWorkspace as fK, selectWorkspaceById as fL, sessions as fM, settings as fN, signatureRequests as fO, sliceToSubagentThread as fP, streamSSE as fQ, stripCitationMarkdown as fR, subagentJobLabel as fS, summarizeCitations as fT, tagUseCount as fU, tags as fV, tagsForScope as fW, tagsOfGroup as fX, topLevelAgentSteps as fY, uploadSkill as fZ, usdToGbp as f_, isMailboxSyncVendor as fa, isNearAiUsageBudget as fb, isPresenceTag as fc, isSharePointVendor as fd, isSharedSkill as fe, isTraceItem as ff, mail as fg, mcpTools as fh, mergeAgentSteps as fi, modelConnections as fj, notifications as fk, parseSSEEvents as fl, parseSlashCommand as fm, parseSlashTokenInProgress as fn, parseStructuredResponse as fo, performPasswordLogin as fp, performSigningKeyLogin as fq, performSsoDeviceFlowLogin as fr, pickMainThread as fs, profile as ft, progressFetch as fu, projects as fv, quotaExceededFrom as fw, quotaFromStreamError as fx, reduceOutputItem as fy, refusalReason as fz, type ArbiErrorOptions as g, workflowSteps as g0, workflows as g1, workspaceConflictOf as g2, workspaces as g3, wouldCreateTagCycle as g4, type ArbiHostSession as h, type ArbiOptions as i, ArbiSessionExpiredError as j, ArbiStructuredOutputError as k, ArbiTransportError as l, ArbiWorkspaceChangedError as m, ArbiWorkspaceSupersededError as n, ArbiWorkspaceUnavailableError as o, type AskHandlers as p, type AskRequest as q, type AttendeeRead as r, type AuthContext as s, type AuthHeaders as t, type AuthMode as u, type AuthenticatedClient as v, type BookingPage as w, type BookingPageWriteBody as x, type BookingRequestBody as y, type BridgeTokensOptions as z };
17684
+ export { type CitationSummary as $, ACCOUNT_VENDOR as A, type BookingConfirmation as B, type CalDavConnectBody as C, type CalDavProfile as D, type CalendarAccount as E, type CalendarAccountKind as F, type CalendarCreateBody as G, type CalendarEvent as H, type CalendarKeys as I, type CalendarRead as J, type CalendarSettings as K, type CalendarSettingsBody as L, type CalendarUpdate as M, type CalendarWindow as N, CallApiError as O, type Capabilities as P, type ChatAttachmentFile as Q, type ChatAttachmentInput as R, type ChatCryptoContext as S, type ChatKeyRing as T, type ChatKind as U, type ChatMemberKey as V, type ChatMemberResponse as W, type ChatMessage as X, type ChatMessageResponse as Y, type ChatResponse as Z, type ChatSession as _, type AccountSyncResult as a, type FreeBusyEntry as a$, type CitationToolSources as a0, type CliConfig as a1, type CliCredentials as a2, type CommandDescriptor as a3, type ConfigStore as a4, type Configuration as a5, type ConfigurationPatch as a6, type ConnectOptions as a7, type ConnectionModel as a8, type ConnectorCatalogEntry as a9, type DecryptedChatMessage as aA, type DeploymentHouseTemplate as aB, type DiagnoseOptions as aC, type DirectModelUsage as aD, type DocInfo as aE, type DocInfoMap as aF, type DocNameMap as aG, type DocumentAutomationAction as aH, type DocumentListFields as aI, type DocumentListOrder as aJ, type DocumentSelector as aK, type DocumentWaiter as aL, type DocumentWaiterOptions as aM, type DriveSyncProgress as aN, type DriveSyncSummary as aO, DuplicateContactError as aP, ENTITY_KINDS as aQ, type EditScope as aR, type EntityKind as aS, type EventCreateBody as aT, type EventPatchBody as aU, FLAT_TAG_KINDS as aV, type FactResponse as aW, type FactSearchRequest as aX, type FactSearchResponse as aY, type FindTimeParams as aZ, type FormattedWsMessage as a_, type ConnectorFolder as aa, type ConnectorSyncProgress as ab, type ConnectorSyncStatus as ac, type ConnectorVendorKey as ad, type ConnectorVisibilitySettings as ae, type ContextUsage as af, type ConversationResponse as ag, type ConversationUsageResponse as ah, type CreateFactRequest as ai, type CreateFactsRequest as aj, type CreateWorkRequest as ak, type CreateWorkflowRequest as al, DEFAULT_AI_USD_PER_GBP as am, DOC_TERMINAL_STATUSES as an, DRIVE_SYNC_VENDORS as ao, type Database as ap, type DatabaseAggregateRequest as aq, type DatabaseAggregateResult as ar, type DatabaseColumn as as, type DatabaseColumnWrite as at, type DatabaseImportResult as au, type DatabaseRow as av, type DatabaseRowPage as aw, type DatabaseRowsQuery as ax, type DateTimeSpec as ay, type DecryptedChat as az, type ActivityKind as b, type RespondParams as b$, type FullContextSelection as b0, GOOGLE_VENDORS as b1, type HolidayCountry as b2, type HouseTemplateCandidate as b3, IMANAGE_VENDORS as b4, type IdentityErrorCode as b5, type IdentityPurchase as b6, type IdentityState as b7, type IdentityStatus as b8, type ImportResult as b9, type PlanWorkRequest as bA, type ProductResponse as bB, type ProjectAddonKind as bC, type ProjectAddonSettingsRequest as bD, type ProjectBudget as bE, type ProjectCheckoutRequest as bF, type ProjectConversationUsageResponse as bG, type ProjectCreateOptions as bH, type ProjectDetails as bI, type ProjectEventKind as bJ, type ProjectEventResponse as bK, type ProjectInvoicesResponse as bL, type ProjectNextPeriodAddonsRequest as bM, type ProjectPlanChangeRequest as bN, type ProjectQuoteRequest as bO, type ProjectResponse as bP, type ProjectUpdateRequest as bQ, type ProjectUsageResponse as bR, PublicBookingError as bS, type PublicBookingPage as bT, type QuotaExceeded as bU, type RaisedSignal as bV, type RawResponseEvent as bW, type ReconnectOptions as bX, type ReconnectableWsConnection as bY, type ResolvedCitation as bZ, type ResolvedRecipient as b_, type InvitationRead as ba, type JsonSchemaOutputFormat as bb, type LinkedRun as bc, type ListAllOptions as bd, type ListEventsParams as be, type ListFactsOptions as bf, type ListPaginatedOptions as bg, MAILBOX_SYNC_VENDORS as bh, MAX_RETRIEVE_DOC_IDS as bi, MICROSOFT_VENDORS as bj, type MailAttachment as bk, type MessageLevel as bl, type ModelConnection as bm, type OAuthAccountKind as bn, type OutputItemDone as bo, type OverlayItem as bp, type OverlayLayerName as bq, PRESENCE_KINDS as br, PROMPT_CONTEXT_CHARS as bs, type ParsedResponse as bt, type ParsedSlashCommand as bu, type ParsedStructuredResponse as bv, type PendingAuthResponse as bw, type PersonKey as bx, type PersonalConnectionInput as by, PlanStepsError as bz, type ActivityResponse as c, type TagGroup as c$, type RespondPartstat as c0, type Response$1 as c1, type ResponseCreateRequest as c2, type ResponseCreateResult as c3, type ResponseHandle as c4, type ResponseSnapshot as c5, type ResponseStart as c6, type ResponseStartOptions as c7, ResponseStream as c8, type ResponseStreamEvent as c9, type ShareRole as cA, type SkillSummary as cB, type SkippedFile as cC, type SlackConnectionStatus as cD, type StepActionRequest as cE, type StepActivityEvent as cF, type StepAssignee as cG, type StepDisplay as cH, type StepField as cI, type StepFieldOption as cJ, type StepFieldOptionTone as cK, type StepKind as cL, type StepPhase as cM, type StepSignal as cN, type StepSignalWhen as cO, type StepState as cP, type StepStatus as cQ, type SubagentBranchRecord as cR, type SubagentLaneInfo as cS, type SubmitBackgroundQueryOptions as cT, type SubscribeParams as cU, type SupportTicketInput as cV, type SyncTriggerResult as cW, TAG_KINDS as cX, TAG_NESTING_MAX_DEPTH as cY, type TagChange as cZ, type TagFieldDefinition as c_, type ResponseTools as ca, type RoomCreateBody as cb, type RoomQuery as cc, type RoomRead as cd, type RunProgress as ce, type RunStats as cf, type RunStep as cg, type RunWaitingOn as ch, SHAREPOINT_VENDORS as ci, type SSEEvent as cj, type SSEStreamCallbacks as ck, type SSEStreamOutcome as cl, type SSEStreamResult as cm, STEP_FIELD_OPTION_TONES as cn, STOP_ID_WAIT_MS as co, STOP_REPEAT_WINDOW_MS as cp, SUPPORTED_EXTENSIONS as cq, type ScopedTarget as cr, type SearchChunk as cs, type SecureMailCompose as ct, type SecureMailSend as cu, type SecureMailSender as cv, type SendBack as cw, type SetupDiagnostic as cx, type SetupReport as cy, type ShareRead as cz, Arbi as d, chats as d$, type TagKind as d0, type TagKindField as d1, type TagKindSchema as d2, type TagLinks as d3, type TagListQuery as d4, type TagNode as d5, type TagResponse as d6, type TagScope as d7, type TagTreeRow as d8, type TaskPlan as d9, type WorkflowRunHistoryResponse as dA, type WorkflowRunResponse as dB, type WorkspaceConflict as dC, type WorkspaceContext as dD, type WorkspaceOpenResponse as dE, type WorkspaceResponse as dF, type WsConnection as dG, account as dH, agentconfig as dI, agents as dJ, appendTranscriptionHints as dK, assistant as dL, authenticatedFetch as dM, bookPublicSlot as dN, buildCitationChunkData as dO, buildDocNameMap as dP, buildDocumentTools as dQ, buildFactsContextTool as dR, buildRetrievalChunkTool as dS, buildRetrievalFullContextTool as dT, buildRetrievalTocTool as dU, buildTurnRequest as dV, calendar as dW, calls as dX, canTagHaveParent as dY, cancelPublicBooking as dZ, capabilities as d_, type TaskPlanStep as da, type TaxQuoteResponse as db, type Thread as dc, type ThreadsResponse as dd, type TimeSuggestion as de, type TurnRequest as df, type UpdateConversationRequest as dg, type UpdateFactRequest as dh, type UpdateWorkflowRequest as di, type UploadBatchResult as dj, type UploadDirectOptions as dk, type UploadDirectResult as dl, type UploadDocumentsOptions as dm, type UploadOptions as dn, type UploadProgressListener as dp, type UploadResult as dq, type UsageBreakdown as dr, type UserConnectorEntry as ds, type UserDailyUsageResponse as dt, type UserInfo as du, WebSocketAuthError as dv, type WeeklyHoursSpec as dw, type WorkStatus as dx, type WorkflowAuthMode as dy, type WorkflowResponse as dz, ArbiApiError as e, health as e$, composeConfiguration as e0, composeTools as e1, computeRunStats as e2, connectErrorMessage as e3, connectWebSocket as e4, connectWithReconnect as e5, connectors as e6, contacts as e7, continuityPrompt as e8, conversations as e9, formatGbpPerMillionTokens as eA, formatItemLabel as eB, formatStreamSummary as eC, formatTokens as eD, formatUserName as eE, formatWorkspaceChoices as eF, formatWsMessage as eG, generateEncryptedWorkspaceKey as eH, generateNewWorkspaceKey as eI, getAgentStepLabel as eJ, getAttachableRunId as eK, getChildTags as eL, getContextRemainingPercent as eM, getContextUsedPercent as eN, getContextUsedTokens as eO, getCurrentStep as eP, getEligibleParentTags as eQ, getErrorCode as eR, getErrorMessage as eS, getPublicBookingPage as eT, getRawWorkspaceKey as eU, getRunToAttach as eV, getRunToCancel as eW, getStepDisplay as eX, getStepTool as eY, getSubagentBranchRecord as eZ, getTagDescendantIds as e_, countCitations as ea, createAuthenticatedClient as eb, createDocumentWaiter as ec, createIndexAssigner as ed, databases as ee, defaultKindForFormat as ef, diagnoseSetup as eg, doctags as eh, documentTools as ei, documents as ej, estimateDraftTokens as ek, extractDocumentIdsFromMessages as el, extractFactIdsFromMessages as em, extractSubagentLanes as en, facts as eo, files as ep, filterDocumentTags as eq, filterSkills as er, findLeafForTaskMessage as es, findMainSiblingLeaf as et, findReplyTarget as eu, findSubagentRunId as ev, flattenTagTree as ew, formatAgentStepLabel as ex, formatFileSize as ey, formatGbp as ez, ArbiError as f, uploadSkill as f$, houseTemplate as f0, hydrateAgentSteps as f1, identity as f2, identityErrorCode as f3, instructions as f4, isAnnotationTag as f5, isConnectorVendorVisible as f6, isDriveSyncVendor as f7, isEntityTag as f8, isFlatKind as f9, refusalReason as fA, requireData as fB, requireOk as fC, resolveAuth as fD, resolveCitations as fE, resolveSummary as fF, resolveWorkspace as fG, responses as fH, searchChunks as fI, secureMail as fJ, selectFullContextDocument as fK, selectWorkspace as fL, selectWorkspaceById as fM, sessions as fN, settings as fO, signatureRequests as fP, sliceToSubagentThread as fQ, streamSSE as fR, stripCitationMarkdown as fS, subagentJobLabel as fT, summarizeCitations as fU, support as fV, tagUseCount as fW, tags as fX, tagsForScope as fY, tagsOfGroup as fZ, topLevelAgentSteps as f_, isLabelTag as fa, isMailboxSyncVendor as fb, isNearAiUsageBudget as fc, isPresenceTag as fd, isSharePointVendor as fe, isSharedSkill as ff, isTraceItem as fg, mail as fh, mcpTools as fi, mergeAgentSteps as fj, modelConnections as fk, notifications as fl, parseSSEEvents as fm, parseSlashCommand as fn, parseSlashTokenInProgress as fo, parseStructuredResponse as fp, performPasswordLogin as fq, performSigningKeyLogin as fr, performSsoDeviceFlowLogin as fs, pickMainThread as ft, profile as fu, progressFetch as fv, projects as fw, quotaExceededFrom as fx, quotaFromStreamError as fy, reduceOutputItem as fz, type ArbiErrorOptions as g, usdToGbp as g0, work as g1, workflowSteps as g2, workflows as g3, workspaceConflictOf as g4, workspaces as g5, wouldCreateTagCycle as g6, type ArbiHostSession as h, type ArbiOptions as i, ArbiSessionExpiredError as j, ArbiStructuredOutputError as k, ArbiTransportError as l, ArbiWorkspaceChangedError as m, ArbiWorkspaceSupersededError as n, ArbiWorkspaceUnavailableError as o, type AskHandlers as p, type AskRequest as q, type AttendeeRead as r, type AuthContext as s, type AuthHeaders as t, type AuthMode as u, type AuthenticatedClient as v, type BookingPage as w, type BookingPageWriteBody as x, type BookingRequestBody as y, type BridgeTokensOptions as z };
package/dist/browser.cjs CHANGED
@@ -4639,6 +4639,39 @@ function buildChunkLookup(tools) {
4639
4639
  return lookup;
4640
4640
  }
4641
4641
 
4642
+ // src/operations/support.ts
4643
+ var support_exports = {};
4644
+ __export(support_exports, {
4645
+ createSupportTicket: () => createSupportTicket
4646
+ });
4647
+
4648
+ // src/operations/mail-encoding.ts
4649
+ function bytesToBase64(bytes) {
4650
+ let binary = "";
4651
+ for (let i2 = 0; i2 < bytes.length; i2 += 32768) {
4652
+ binary += String.fromCharCode(...bytes.subarray(i2, i2 + 32768));
4653
+ }
4654
+ return btoa(binary);
4655
+ }
4656
+
4657
+ // src/operations/support.ts
4658
+ async function createSupportTicket(arbi, input) {
4659
+ if (!input.description.trim()) throw new ArbiError("Describe what you need help with.");
4660
+ if (input.screenshot && (input.screenshot.type !== "image/png" || input.screenshot.size > 2 * 1024 * 1024))
4661
+ throw new ArbiError("The screenshot must be a PNG image no larger than 2 MB.");
4662
+ const screenshot = input.screenshot ? bytesToBase64(new Uint8Array(await input.screenshot.arrayBuffer())) : void 0;
4663
+ return requireData(
4664
+ await arbi.fetch.POST("/v1/support/tickets", {
4665
+ body: {
4666
+ description: input.description.trim(),
4667
+ idempotency_key: input.idempotencyKey ?? crypto.randomUUID(),
4668
+ ...screenshot ? { screenshot_png: screenshot } : {}
4669
+ }
4670
+ }),
4671
+ "Could not send your support request."
4672
+ );
4673
+ }
4674
+
4642
4675
  // src/diagnostics.ts
4643
4676
  async function diagnoseSetup(options) {
4644
4677
  const checks = [];
@@ -6170,15 +6203,6 @@ __export(secure_mail_exports, {
6170
6203
  prepareSecureMail: () => prepareSecureMail,
6171
6204
  secureMime: () => secureMime
6172
6205
  });
6173
-
6174
- // src/operations/mail-encoding.ts
6175
- function bytesToBase64(bytes) {
6176
- let binary = "";
6177
- for (let i2 = 0; i2 < bytes.length; i2 += 32768) {
6178
- binary += String.fromCharCode(...bytes.subarray(i2, i2 + 32768));
6179
- }
6180
- return btoa(binary);
6181
- }
6182
6206
  var MAX_MESSAGE_BYTES = 25 * 1024 * 1024;
6183
6207
  var utf8 = new TextEncoder();
6184
6208
  var encodedWord = (value) => `=?UTF-8?B?${bytesToBase64(utf8.encode(value))}?=`;
@@ -13268,6 +13292,12 @@ var Arbi = class {
13268
13292
  getModels: () => getModels(this.requireClient())
13269
13293
  };
13270
13294
  // ── Health ────────────────────────────────────────────────────────────
13295
+ support = {
13296
+ create: (input) => {
13297
+ const request = { ...input, idempotencyKey: input.idempotencyKey ?? crypto.randomUUID() };
13298
+ return this.recovering(() => createSupportTicket(this.requireClient(), request));
13299
+ }
13300
+ };
13271
13301
  health = {
13272
13302
  check: () => getHealth(this.requireClient()),
13273
13303
  models: () => getHealthModels(this.requireClient()),
@@ -14356,6 +14386,7 @@ exports.streamSSE = streamSSE;
14356
14386
  exports.stripCitationMarkdown = stripCitationMarkdown;
14357
14387
  exports.subagentJobLabel = subagentJobLabel;
14358
14388
  exports.summarizeCitations = summarizeCitations;
14389
+ exports.support = support_exports;
14359
14390
  exports.tagUseCount = tagUseCount;
14360
14391
  exports.tags = tags_exports;
14361
14392
  exports.tagsForScope = tagsForScope;