@anchrd/colab-sdk 0.1.54 → 0.1.55

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.
Files changed (46) hide show
  1. package/dist/action-blocks/action-blocks.d.ts +1 -0
  2. package/dist/action-blocks/action-blocks.js +22 -0
  3. package/dist/actions/actions.d.ts +356 -3
  4. package/dist/actions/actions.js +21 -3
  5. package/dist/boards/boards.d.ts +0 -14
  6. package/dist/boards/boards.js +3 -18
  7. package/dist/documents/documents.d.ts +2 -0
  8. package/dist/flows/flow-runs.d.ts +34 -0
  9. package/dist/flows/flow-runs.js +48 -4
  10. package/dist/flows/flows.d.ts +5 -0
  11. package/dist/flows/flows.js +3 -0
  12. package/dist/gadgets/gadgets.d.ts +4 -0
  13. package/dist/gadgets/gadgets.js +5 -0
  14. package/dist/goals/goals.d.ts +1 -0
  15. package/dist/goals/goals.js +2 -2
  16. package/dist/grammar/grammar.d.ts +1 -2
  17. package/dist/grammar/grammar.js +5 -7
  18. package/dist/home/home.d.ts +2 -0
  19. package/dist/links/links.d.ts +15 -2
  20. package/dist/links/links.js +25 -13
  21. package/dist/messages/messages.js +5 -4
  22. package/dist/nodes/nodes.d.ts +11 -6
  23. package/dist/nodes/nodes.js +11 -7
  24. package/dist/operators/operators.d.ts +87 -4
  25. package/dist/operators/operators.js +55 -2
  26. package/dist/processes/processes.d.ts +1999 -0
  27. package/dist/processes/processes.js +417 -0
  28. package/dist/runs/runs.d.ts +1 -200
  29. package/dist/runs/runs.js +3 -64
  30. package/dist/schedule/schedule.js +3 -3
  31. package/dist/sdk.d.ts +10 -11
  32. package/dist/sdk.js +10 -11
  33. package/dist/skills/skills.d.ts +1 -0
  34. package/dist/sources/sources.d.ts +4 -3
  35. package/dist/tables/tables.d.ts +114 -1
  36. package/dist/tables/tables.js +86 -2
  37. package/dist/tool.d.ts +1 -0
  38. package/dist/users/users.d.ts +30 -0
  39. package/dist/users/users.js +32 -0
  40. package/dist/written/written.d.ts +2 -4
  41. package/dist/written/written.js +2 -5
  42. package/package.json +2 -1
  43. package/dist/relations/relations.d.ts +0 -342
  44. package/dist/relations/relations.js +0 -129
  45. package/dist/types/types.d.ts +0 -181
  46. package/dist/types/types.js +0 -124
package/dist/runs/runs.js CHANGED
@@ -1,65 +1,4 @@
1
- import { z } from "zod";
2
- import { CardKind } from "../card-kinds/card-kinds.js";
3
- import { ColumnId, ColumnType } from "../columns/columns.js";
4
1
  import { idSchema } from "../ids/ids.js";
5
- import { Limit } from "../list-input.js";
6
- import { NodeId, NodePerson } from "../nodes/nodes.js";
7
- // Runs of a process board from before goals (#43, Funktionen › Läufe, E42,
8
- // E45, E67, E70, E119, E139): the inputs of `intelligence_run_list` and `_get`, and the answers. No
9
- // run starts (#847) or ends (#852) any more; the ones that stand stay readable, frozen as they are.
10
- export const RunId = idSchema("run").describe("The run's id, `run_…`, as intelligence_run_list returned it.");
11
- export const runStatuses = ["running", "done", "open", "error"];
12
- export const RunStatus = z
13
- .enum(runStatuses)
14
- .describe("The run's status, set by Colab from its result, never by the caller: running (started, not completed), done (every task in a done, discarded or archive column), open (a task not in such a column), error (a task in a blocked column).");
15
- const Moment = z.iso.datetime({ offset: true });
16
- export const RunListInput = z.strictObject({
17
- nodeId: NodeId.describe("The process board whose runs to list, one you can read. Runs never stand in the tree."),
18
- status: RunStatus.optional().describe("Only the runs with this status."),
19
- from: Moment.optional().describe("Only the runs started at or after this moment, ISO 8601."),
20
- to: Moment.optional().describe("Only the runs started at or before this moment, ISO 8601."),
21
- cursor: z
22
- .string()
23
- .max(1000)
24
- .optional()
25
- .describe("The nextCursor of the previous page, unchanged. Leaving it out starts at the newest."),
26
- limit: Limit.optional().describe("How many runs one page holds, 1 to 100. Leaving it out gives 50."),
27
- });
28
- export const RunGetInput = z.strictObject({ runId: RunId });
29
- export const RunItem = z.object({
30
- runId: RunId,
31
- nodeId: NodeId,
32
- kind: z.enum(["process"]),
33
- status: RunStatus,
34
- // The moment of the schedule this run stands for, null for a run started by hand.
35
- dueAt: z.iso.datetime().nullable(),
36
- startedAt: z.iso.datetime(),
37
- startedBy: NodePerson,
38
- completedAt: z.iso.datetime().nullable(),
39
- completedBy: NodePerson.nullable(),
40
- summary: z.string().nullable(),
41
- });
42
- export const RunList = z.object({
43
- items: z.array(RunItem),
44
- nextCursor: z.string().nullable(),
45
- });
46
- export const RunDetail = z.object({
47
- ...RunItem.shape,
48
- // A process run: how many of its tasks stand in a column of each type.
49
- counts: z.partialRecord(ColumnType, z.number().int()).nullable(),
50
- // A process run: its own columns, copied when it started, each with how many tasks it holds. A
51
- // task of the run moves only between these.
52
- columns: z
53
- .array(z.object({
54
- columnId: ColumnId,
55
- name: z.string(),
56
- type: ColumnType,
57
- tasks: z.number().int(),
58
- }))
59
- .nullable(),
60
- // A process run: the card kinds it copied when it started, with their fields (#638); empty for a
61
- // run of a board without kinds.
62
- cardKinds: z.array(CardKind).nullable(),
63
- // The instruction of the board as the run started (E87, #354); null without one.
64
- instruction: z.string().nullable(),
65
- });
2
+ // The id of a run, `run_…`, shared by the runs of a source (#900) and of a flow (#1229). The runs of
3
+ // a process board from before goals and their tools went with #1266.
4
+ export const RunId = idSchema("run").describe("The run's id, `run_…`.");
@@ -1,7 +1,7 @@
1
1
  import { z } from "zod";
2
2
  import { TimeZone } from "../profile/profile.js";
3
- // The schedule (Ausführung) of a process board (#43, Funktionen › Läufe): when a
4
- // run falls due and what happens while the last one is still open.
3
+ // A schedule (#43; since #1266 of goals and Operators): when a run falls due and what happens while
4
+ // the last one is still open.
5
5
  export const rhythms = ["manual", "daily", "weekly", "monthly", "dates"];
6
6
  export const weekdays = [
7
7
  "monday",
@@ -82,7 +82,7 @@ export const Schedule = z
82
82
  .max(200)
83
83
  .optional()
84
84
  .describe("The fixed moments of the rhythm dates, YYYY-MM-DDTHH:MM in zone, each falling due once. Only with dates."),
85
- zone: TimeZone.optional().describe("The IANA time zone the times and dates are read in, like Europe/Berlin. Leaving it out takes the time zone of the creator of the process board."),
85
+ zone: TimeZone.optional().describe("The IANA time zone the times and dates are read in, like Europe/Berlin. Leaving it out takes the time zone of its creator."),
86
86
  whileOpen: WhileOpen.optional().describe("When the last run is still open: wait starts no new run until it is completed, continue starts it anyway and the open ones stay open. Leaving it out is wait."),
87
87
  })
88
88
  .superRefine((schedule, ctx) => {
package/dist/sdk.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- export { ActionBlock, ActionButton, actionBlockLanguage, ButtonsBlock, ChecklistBlock, ChoiceBlock, InputBlock, } from "./action-blocks/action-blocks.js";
2
- export { ActionAbort, ActionAbortReason, ActionChat, ActionGadget, ActionGoalRun, ActionItem, ActionList, ActionListInput, ActionNotice, ActionNoticeButton, ActionNoticeCrumb, ActionNoticeItem, ActionNoticeKind, ActionNoticeReason, ActionNoticeTitle, ActionRow, ActionRunTask, ActionSection, ActionSource, ActionTask, actionFilters, isNodeRow, MachineInstructions, MachineInstructionsRead, } from "./actions/actions.js";
1
+ export { ActionBlock, ActionButton, actionBlockLanguage, ButtonsBlock, ChecklistBlock, ChoiceBlock, InputBlock, readActionBlock, } from "./action-blocks/action-blocks.js";
2
+ export { ActionAbort, ActionAbortReason, ActionChat, ActionGadget, ActionGoalRun, ActionItem, ActionList, ActionListInput, ActionNotice, ActionNoticeButton, ActionNoticeCrumb, ActionNoticeItem, ActionNoticeKind, ActionNoticeReason, ActionNoticeTitle, ActionRow, ActionRunTask, ActionSection, ActionSource, ActionTask, ActionTaskBlock, actionFilters, isNodeRow, MachineInstructions, MachineInstructionsRead, } from "./actions/actions.js";
3
3
  export { adminModeHeader, adminModeOn } from "./admin-mode.js";
4
4
  export { App, AppId, AppList, AppListInput, AppRevoked, AppRevokeInput, OwnAppListQuery, OwnSessionListQuery, Session, SessionId, SessionList, SessionListInput, SessionRevokeInput, SessionsRevoked, } from "./apps/apps.js";
5
5
  export { ArchivedGoalLink, NodeArchived, NodeArchiveInput, NodePurged, NodePurgeInput, NodeRestoreInput, } from "./archive/archive.js";
6
6
  export { PasskeyDeleteInput, SetPasswordInput, SignUpInput, } from "./auth/auth.js";
7
7
  export { AuthorizationRequest, AuthorizationResponse, Identity, Rules, } from "./authorization/authorization.js";
8
- export { BoardColumn, BoardCreateInput, BoardDetail, BoardGetInput, BoardId, BoardKind, BoardLabel, BoardTaskBrief, BoardTaskBriefList, BoardTaskCreated, BoardTaskCreateInput, BoardTaskItem, BoardTaskList, BoardTaskListInput, BoardTaskUpdated, BoardTaskUpdateInput, BoardUpdateInput, boardKinds, compactTaskLimit, LabelId, maxBulkTasks, maxRules, TaskDetail, TaskGetInput, TaskId, TaskImage, TaskRule, TaskUpdateInput, } from "./boards/boards.js";
8
+ export { BoardColumn, BoardCreateInput, BoardDetail, BoardGetInput, BoardId, BoardLabel, BoardTaskBrief, BoardTaskBriefList, BoardTaskCreated, BoardTaskCreateInput, BoardTaskItem, BoardTaskList, BoardTaskListInput, BoardTaskUpdated, BoardTaskUpdateInput, BoardUpdateInput, compactTaskLimit, LabelId, maxBulkTasks, maxRules, TaskDetail, TaskGetInput, TaskId, TaskImage, TaskRule, TaskUpdateInput, } from "./boards/boards.js";
9
9
  export { CardField, CardFieldId, CardFieldInput, CardFieldOption, CardFieldType, CardFieldValue, CardKind, CardKindIcon, CardKindId, CardKindInput, CardOptionId, ChecklistItem, cardFieldTypes, cardKindIcons, emptyValue, TaskFields, TaskKind, } from "./card-kinds/card-kinds.js";
10
10
  export { ColumnId, ColumnType, columnTypes, TaskColumn } from "./columns/columns.js";
11
11
  export { Connection, ConnectionCreateInput, ConnectionCredential, ConnectionDetail, ConnectionGetInput, ConnectionId, ConnectionList, ConnectionListInput, ConnectionRevokeInput, ConnectionState, ConnectionTested, ConnectionTestInput, ConnectionTestResult, ConnectionUpdateInput, } from "./connections/connections.js";
@@ -19,7 +19,7 @@ export { ErrorCode, ErrorCurrent, ErrorIssue, ErrorResponse, errorCodes, invalid
19
19
  export { ActorKind, Event, EventId, EventKind, EventList, EventListInput, EventSource, } from "./events/events.js";
20
20
  export { ExcerptCursor, excerptChars, RowsExcerpt, TextExcerpt } from "./excerpt/excerpt.js";
21
21
  export { FileCreateInput, FileDescribeInput, FileDescription, FileDetail, type FileEncoding, type FileFormat, FileGetInput, FileId, FileTextState, FileUpdateInput, FileUpload, fileEncodings, fileFormatExtensions, fileFormatOf, fileTextStates, maxContentFileBytes, maxDescribeBytes, maxDescribeQuestionChars, maxFileBytes, UploadTicket, uploadTicketHeader, uploadTicketLifetimeMs, } from "./files/files.js";
22
- export { FlowBox, FlowElementRef, FlowFreeAction, FlowLiveClientMessage, FlowLiveServerMessage, FlowRun, FlowRunActed, FlowRunActionCreateInput, FlowRunCancelInput, FlowRunCompleted, FlowRunCompleteInput, FlowRunCreateInput, FlowRunDetail, FlowRunGetInput, FlowRunId, FlowRunList, FlowRunListInput, FlowRunPage, FlowRunPageGetInput, FlowRunPicture, FlowRunStarted, type FlowRunStatus, FlowRunStep, FlowRunStepCreateInput, FlowRunStepResult, FlowRunStepStarted, type FlowRunStepStatus, FlowRunStepUpdateInput, flowLivePath, flowPicturePath, flowRunKinds, flowRunStatuses, flowRunStepStatuses, flowRunTriggers, } from "./flows/flow-runs.js";
22
+ export { FlowBox, FlowElementRef, FlowFreeAction, FlowLiveClientMessage, FlowLiveServerMessage, FlowRun, FlowRunActed, FlowRunActionCreateInput, FlowRunCancelInput, FlowRunCompleted, FlowRunCompleteInput, FlowRunCreateInput, FlowRunDetail, FlowRunGetInput, FlowRunId, FlowRunList, FlowRunListInput, FlowRunPage, FlowRunPageGetInput, FlowRunPicture, FlowRunStarted, type FlowRunStatus, FlowRunStep, FlowRunStepCreateInput, FlowRunStepResult, FlowRunStepStarted, type FlowRunStepStatus, FlowRunStepUpdateInput, flowLivePath, flowPicturePath, flowRunKinds, flowRunStatuses, flowRunStepStatuses, flowRunTriggers, flowViewportDefault, flowViewportMax, flowViewportMin, flowViewportOf, } from "./flows/flow-runs.js";
23
23
  export { FlowAction, FlowActions, type FlowActionType, FlowCreateInput, FlowDetail, FlowGetInput, FlowHost, FlowHour, FlowPublishInput, FlowReachedPath, FlowSchedule, FlowScheduleDetail, FlowSecret, FlowSecretCreateInput, FlowSecretList, FlowSecretListInput, FlowSecretName, FlowSecretRemoved, FlowSecretRemoveInput, FlowSecretUpdateInput, FlowStep, FlowStepCreateInput, FlowStepId, FlowStepMoveInput, FlowStepRemoveInput, FlowStepState, FlowStepUpdateInput, FlowSubStep, FlowTarget, FlowUpdateInput, FlowVersionContent, flowActionTypes, flowLimits, flowReadTakes, flowRecordingDays, flowRhythms, flowScheduleProblem, flowStepStates, } from "./flows/flows.js";
24
24
  export { FunctionRemoved, ServiceInterfaceFunctionCreateInput, ServiceInterfaceFunctionRemoveInput, ServiceInterfaceFunctionUpdateInput, } from "./functions/functions.js";
25
25
  export { GadgetAccess, GadgetCall, GadgetCallCreateInput, GadgetCallEntry, GadgetCallGetInput, GadgetCallItem, GadgetCallList, GadgetCallListInput, GadgetCallStatus, GadgetChange, GadgetClientLog, GadgetConsoleLine, GadgetCreateInput, GadgetDetail, GadgetDiffFile, GadgetDistAnswer, GadgetFile, GadgetFilePath, GadgetFunction, GadgetFunctionName, GadgetGetInput, GadgetManifest, GadgetPublishInput, GadgetRequires, GadgetSettings, GadgetTestHooks, GadgetTestInput, GadgetTestResult, GadgetTestRun, GadgetToolUse, GadgetUpdateInput, GadgetUseRight, GadgetUses, GadgetVersionRef, gadgetLimits, gadgetLogDays, TestLimits, testLimits, testLimitsText, } from "./gadgets/gadgets.js";
@@ -32,22 +32,22 @@ export { Digest, InstructionRead, Instructions, InstructionsLink, InstructionsRe
32
32
  export { FunctionNames, InterfaceRemoved, ServiceInterfaceCreateInput, ServiceInterfaceDeclared, ServiceInterfaceDeclareInput, ServiceInterfaceRemoveInput, ServiceInterfaceUndeclared, ServiceInterfaceUpdateInput, } from "./interfaces/interfaces.js";
33
33
  export { Delivery, Invitation, InvitationAcceptInput, InvitationCreateInput, InvitationId, InvitationLookup, InvitationLookupQuery, InvitationResendInput, InvitationRevokeInput, InvitationSent, InvitationSocialInput, InvitationStatus, RoleChip, } from "./invitations/invitations.js";
34
34
  export { Job, JobCreateInput, JobGetInput, JobId, JobKind, JobList, JobListInput, JobRefused, maxJobEntries, maxJobRefusedNamed, } from "./jobs/jobs.js";
35
- export { defaultLinkDays, GadgetLink, GadgetLinkCallInput, GadgetLinkCodeInput, GadgetLinkCreateInput, GadgetLinkList, GadgetLinkListInput, GadgetLinkPage, GadgetLinkRevokeInput, GadgetLinkVisit, GadgetLinkVisitInput, gadgetLinkLimits, gadgetLinkPath, LinkId, LinkStatus, maxLinkDays, NodeLink, NodeLinkCreateInput, NodeLinkList, NodeLinkListInput, NodeLinkRevokeInput, NodeLinkUpdateInput, publicLinkPath, } from "./links/links.js";
35
+ export { defaultLinkDays, GadgetLink, GadgetLinkCallInput, GadgetLinkCodeInput, GadgetLinkCreateInput, GadgetLinkList, GadgetLinkListInput, GadgetLinkPage, GadgetLinkRevokeInput, GadgetLinkVisit, GadgetLinkVisitInput, gadgetLinkLimits, gadgetLinkOpens, gadgetLinkPath, LinkId, LinkStatus, maxLinkDays, NodeLink, NodeLinkCreateInput, NodeLinkList, NodeLinkListInput, NodeLinkRevokeInput, NodeLinkUpdateInput, publicLinkPath, } from "./links/links.js";
36
36
  export { Flag, Limit } from "./list-input.js";
37
37
  export { MachineArchiveInput, MachineCreateInput, MachineId, MachineKey, MachinePurged, MachinePurgeInput, MachineRestoreInput, MachineRotateInput, MachineUpdateInput, } from "./machines/machines.js";
38
38
  export { Mcp, McpAuth, McpCall, McpCallAction, McpCallList, McpCallListInput, type McpCatalogEntry, McpCatalogId, McpCreateInput, McpGetInput, McpId, McpList, McpListInput, McpRevokeInput, McpState, McpTestInput, McpTool, McpUpdateInput, mcpCatalog, } from "./mcps/mcps.js";
39
39
  export { AttachmentId, attachmentMaxBytes, attachmentsMax, ChatAttachmentCreateInput, ChatAttachmentGetInput, ChatAttachmentRead, ChatRead, ChatTopic, ChatUpdateInput, Message, MessageAttachment, MessageAuthor, MessageCreateInput, MessageId, MessageList, MessageListInput, messageMaxLength, TopicName, topicMaxLength, topicOf, } from "./messages/messages.js";
40
40
  export { Missing, MissingCall, MissingCode, missingCodes, Reached, } from "./missing/missing.js";
41
41
  export { BoardShownKind, FolderCreated, FolderCreateInput, IntelligenceUser, IntelligenceUserList, IntelligenceUserListInput, NodeDetail, NodeGetInput, NodeHit, NodeHitFoundIn, NodeHitGroup, NodeId, NodeKind, NodeKindRead, NodeList, NodeListInput, NodeListItem, NodeMoved, NodeMoveInput, NodePath, NodePerson, NodeQuery, NodeReader, NodeSearch, NodeSection, NodeSort, NodeUpdateInput, nodeKinds, nodeListLimitMax, responsibleKinds, SearchIndexState, SecretFields, SecretId, unknownNodeKind, } from "./nodes/nodes.js";
42
- export { ChangeTrigger, ClosureCause, ClosureFound, ClosureKind, ClosureLine, ClosureOutcome, Credential, CredentialCreateInput, CredentialGetInput, CredentialId, CredentialKind, CredentialList, CredentialListInput, CredentialRevokeInput, CredentialState, CredentialTested, CredentialTestInput, CredentialTestResult, CredentialUpdateInput, cacheWritePriceOf, closureKinds, closureOutcomes, compactRunLimit, type GatewayModel, type GatewayModelEntry, GatewayModelEntrySchema, GatewayRight, GatewayRightCheck, GatewayTarget, gatewayCatalog, gatewayModelOf, inCatalog, KeepStepsDays, MachineDisableInput, MachineEnableInput, MachineGetInput, MachineListInput, modelsOf, modelsOfVendor, Operator, OperatorBudget, OperatorLimits, OperatorList, OperatorMachineArchiveInput, OperatorMachineCreateInput, OperatorMachineRestoreInput, OperatorMachineUpdateInput, OperatorModel, type OperatorProviderEntry, OperatorRun, OperatorRunAgents, OperatorRunClosures, OperatorRunCostSource, OperatorRunFallbackReason, OperatorRunGetInput, OperatorRunId, OperatorRunInstructions, OperatorRunList, OperatorRunListInput, OperatorRunReason, OperatorRunStatus, OperatorRunStep, OperatorRunStepKind, OperatorRunStepList, OperatorRunTokens, OperatorRunTouched, OperatorRunTrigger, OperatorRunUsage, OperatorRunWoken, OperatorState, OperatorUser, OperatorUserList, OperatorUserListInput, OperatorUserUpdateInput, OperatorVendor, type OperatorVendorEntry, OwnCredentialState, offeredModels, operatorDefaults, operatorProviders, operatorVendors, PauseReason, planAnswerOf, type ReasoningEffort, ReasoningLevel, ReasoningStage, type RetiredGatewayModel, RunCancelInput, RunCompleteAnswer, RunCompleteInput, RunPlanAnswer, RunPlanStep, RunStepListInput, RunUpdateInput, reasoningAdjustable, reasoningDefault, reasoningEffortOf, reasoningOfModel, retiredGatewayModels, runClosureMax, runPlanMax, runSummaryChars, Subagents, scheduleQuietMinutes, Trigger, UserCredentialCreateInput, UserCredentialRevokeInput, UserCredentialTestInput, UserCredentialUpdateInput, vendorOfModel, } from "./operators/operators.js";
42
+ export { ChangeTrigger, ClosureCause, ClosureFound, ClosureKind, ClosureLine, ClosureOutcome, Credential, CredentialCreateInput, CredentialGetInput, CredentialId, CredentialKind, CredentialList, CredentialListInput, CredentialRevokeInput, CredentialState, CredentialTested, CredentialTestInput, CredentialTestResult, CredentialUpdateInput, cacheWritePriceOf, closureKinds, closureOutcomes, compactRunLimit, type GatewayModel, type GatewayModelEntry, GatewayModelEntrySchema, GatewayRight, GatewayRightCheck, GatewayTarget, gatewayCatalog, gatewayModelOf, inCatalog, KeepStepsDays, MachineDisableInput, MachineEnableInput, MachineGetInput, MachineListInput, modelsOf, modelsOfVendor, Operator, OperatorBudget, OperatorLimits, OperatorList, OperatorMachineArchiveInput, OperatorMachineCreateInput, OperatorMachineHoldings, OperatorMachinePurged, OperatorMachinePurgeInput, OperatorMachineRestoreInput, OperatorMachineUpdateInput, OperatorModel, type OperatorProviderEntry, OperatorRun, OperatorRunAgents, OperatorRunClosures, OperatorRunCostSource, OperatorRunFallbackReason, OperatorRunId, OperatorRunInstructions, OperatorRunList, OperatorRunReason, OperatorRunStatus, OperatorRunStep, OperatorRunStepKind, OperatorRunStepList, OperatorRunTokens, OperatorRunTouched, OperatorRunTrigger, OperatorRunUsage, OperatorRunWoken, OperatorState, OperatorUser, OperatorUserList, OperatorUserListInput, OperatorUserUpdateInput, OperatorVendor, type OperatorVendorEntry, OwnCredentialState, offeredModels, operatorDefaults, operatorProviders, operatorVendors, PauseReason, planAnswerOf, type ReasoningEffort, ReasoningLevel, ReasoningStage, type RetiredGatewayModel, RunCancelInput, RunCompleteAnswer, RunCompleteInput, RunGetInput, RunListInput, RunNode, RunNodeUse, RunPlanAnswer, RunPlanStep, RunStepListInput, RunUpdateInput, reasoningAdjustable, reasoningDefault, reasoningEffortOf, reasoningOfModel, retiredGatewayModels, runClosureMax, runPlanMax, runSummaryChars, Subagents, scheduleQuietMinutes, Trigger, UserCredentialCreateInput, UserCredentialRevokeInput, UserCredentialTestInput, UserCredentialUpdateInput, UserRevoked, UserRevokeInput, vendorOfModel, } from "./operators/operators.js";
43
43
  export { Currency, CurrencyRate, currencies, Organisation, OrganisationGetInput, OrganisationUpdateInput, } from "./organisation/organisation.js";
44
44
  export { PageDetail, PageGetInput, PageHead, PageHeading, PageId, PageList, PageListInput, PageSummary, } from "./pages/pages.js";
45
45
  export { AgentName, gatewayAgentsMax, IdempotencyKey, PlanSubstep, planEvidenceMax, Rev, } from "./primitives/primitives.js";
46
+ export { ProcessAction, ProcessActionId, ProcessActionStep, ProcessActor, ProcessArchiveInput, ProcessConnection, ProcessConnectionTarget, ProcessContent, ProcessContentInput, ProcessCreateInput, ProcessDetail, ProcessFinding, ProcessFindingCode, ProcessFindingPlace, ProcessGetInput, ProcessId, ProcessLinked, type ProcessLinkedOval, ProcessNew, type ProcessNewOval, ProcessNode, ProcessNodeKind, ProcessOval, ProcessPlacement, ProcessPublishInput, ProcessRestoreInput, ProcessRole, ProcessRoleRun, ProcessRun, ProcessRunCreateInput, ProcessRunDetail, ProcessRunDone, ProcessRunEntry, ProcessRunGetInput, ProcessRunId, ProcessRunList, ProcessRunListInput, ProcessRunStart, ProcessRunStatus, ProcessStart, ProcessStartPlace, ProcessStep, ProcessStepId, ProcessUpdateInput, ProcessVersionContent, processFindingCodes, processLimits, processNodeKinds, processPlacements, processRunEntryStatuses, processRunStatuses, processStartKinds, } from "./processes/processes.js";
46
47
  export { Locale, locales, Name, ProfileImageResponse, ProfileUpdateInput, profileImageMaxBytes, profileImageTypes, Theme, TimeZone, themes, } from "./profile/profile.js";
47
48
  export { offersSignIn, Provider, ProviderId, ProviderList, ProviderListInput, ProviderRemoveInput, ProviderSource, ProviderTest, ProviderTestInput, ProviderUpdateInput, providerEndpoints, providerIds, SignInProviderId, SignInProviders, signInProviderIds, } from "./providers/providers.js";
48
- export { BaseRelationType, baseRelationTypes, Relation, RelationAction, RelationActor, RelationCreateInput, RelationEnd, RelationId, RelationList, RelationListInput, RelationOutside, RelationRemoveInput, RelationSetEnd, RelationType, SetRelation, } from "./relations/relations.js";
49
49
  export { GrantChange, PermissionsResponse, RightPath, RightTree, Role, RoleArchiveInput, RoleCreateInput, RoleDetail, RoleGetInput, RoleGrantCreateInput, RoleGrantRevokeInput, RoleId, RoleList, RoleListInput, RoleRestoreInput, RoleUpdateInput, } from "./roles/roles.js";
50
- export { RunDetail, RunGetInput, RunId, RunItem, RunList, RunListInput, RunStatus, runStatuses, } from "./runs/runs.js";
50
+ export { RunId } from "./runs/runs.js";
51
51
  export { RuntimeConfig } from "./runtime-config.js";
52
52
  export { rhythms, Schedule, WhileOpen, weekdays, weeksOfMonth, whileOpenModes, } from "./schedule/schedule.js";
53
53
  export { NodeSecret, NodeSecretCreateInput, NodeSecretDetail, NodeSecretGetInput, NodeSecretRemoveInput, NodeSecretUpdateInput, NodeUnlocked, NodeUnlockInput, unlockMinutes, } from "./secrets/secrets.js";
@@ -55,12 +55,11 @@ export { type Authorized, type AuthorizeResult, createServiceClient, type Interf
55
55
  export { ConsentResource, FunctionId, InterfaceId, RightWord, Service, ServiceArchiveInput, ServiceCreateInput, ServiceFunction, ServiceId, ServiceInterface, ServiceKeyIssued, ServiceList, ServiceListInput, ServiceName, ServicePurged, ServicePurgeInput, ServiceRestoreInput, ServiceRotateInput, ServiceUpdateInput, } from "./services/services.js";
56
56
  export { SkillCallName, SkillCaseCalls, SkillCaseResult, SkillCreateInput, SkillDetail, SkillFields, SkillFile, SkillFilePath, SkillGetInput, SkillId, SkillOffer, SkillPoint, SkillRunCall, SkillRunDetail, SkillRunGetInput, SkillRunItem, SkillRunList, SkillRunListInput, SkillTestInput, SkillTestReport, SkillToken, SkillTokenCreateInput, SkillTokens, SkillTriggerHit, SkillUpdateInput, SkillWriteName, skillCaseStatuses, skillFilePattern, skillRunKinds, skillRunStatuses, } from "./skills/skills.js";
57
57
  export { ItemId, QueryId, SourceAccess, SourceCreateInput, SourceDetail, SourceField, SourceFieldType, SourceGetInput, SourceItem, SourceItemList, SourceItemListInput, SourceManifest, SourcePaging, SourceParam, SourcePath, SourceProbe, SourcePublishInput, SourceQuery, SourceQueryArchiveInput, SourceQueryCreateInput, SourceQueryList, SourceQueryListInput, SourceQueryRestoreInput, SourceQueryUpdateInput, SourceRun, SourceRunCounts, SourceRunCreateInput, SourceRunFailure, SourceRunFailureRead, SourceRunGetInput, SourceRunList, SourceRunListInput, SourceSchedule, SourceSecretsInput, SourceStep, SourceTestInput, SourceUpdateInput, SourceVersionRef, SourceWhere, sourceCleans, sourceCodePath, sourceEvery, sourceFieldTypes, sourceFormHeaders, sourceKeepDays, sourceLimits, sourceManifestPath, sourceSchema, } from "./sources/sources.js";
58
- export { maxTableColumns, maxTableRows, RowLimit, TableColumn, TableColumnChange, TableColumnType, TableCreateInput, TableDetail, TableExcerpt, TableFilter, TableGetInput, TableId, TableSaved, TableSort, TableUpdateInput, tableColumnTypes, tableFormats, } from "./tables/tables.js";
58
+ export { maxDatabaseRows, maxTableColumns, maxTableGroups, maxTableRows, RowLimit, TableAggregate, TableColumn, TableColumnChange, TableColumnType, TableCondition, TableCreateInput, TableDetail, TableExcerpt, TableFilter, TableGetInput, TableGroup, TableId, TableSaved, TableSort, TableStorage, TableUpdateInput, tableAggregateFunctions, tableColumnTypes, tableFormats, tableStorages, } from "./tables/tables.js";
59
59
  export { companyTeamId, MemberId, Team, TeamArchiveInput, TeamCreateInput, TeamId, TeamList, TeamListInput, TeamMember, TeamMemberCreateInput, TeamMemberRemoveInput, TeamRestoreInput, TeamRole, TeamUpdateInput, } from "./teams/teams.js";
60
60
  export { type Actor, defineTool, type Permission, type Tool, type ToolAnnotations, type ToolContext, type ToolInput, type ToolSource, } from "./tool.js";
61
61
  export { compareTreeNames, treeKindOrder, treeKindRank, } from "./tree-order/tree-order.js";
62
- export { baseActionTypes, baseActorTypes, baseObjectTypes, baseRef, Cardinality, cardinalities, NodeTypeCreateInput, NodeTypeRemoveInput, NodeTypes, OntologyType, TypeArchiveInput, TypeCreateInput, TypeId, TypeKind, TypeList, TypeListInput, TypeRef, TypeRestoreInput, TypeStatus, TypeUpdateInput, typeKinds, typeStatuses, } from "./types/types.js";
63
62
  export { IntelligenceUserGetInput, IntelligenceUserUpdateInput, NotifyMode, notifyModes, UserSettings, } from "./user-settings/user-settings.js";
64
- export { MachineFacts, MachineKeyFacts, MachineKind, MessageMachine, OperatorProvider, OwnRoleList, SignInMethod, User, UserDetail, UserDisableInput, UserEnableInput, UserGetInput, UserId, UserKind, UserList, UserListInput, UserListItem, UserStatus, UserTestInput, UserTestResult, UserUpdateInput, } from "./users/users.js";
63
+ export { MachineFacts, MachineKeyFacts, MachineKind, MessageMachine, OperatorProvider, OwnRoleList, SignInMethod, User, UserArchiveInput, UserDetail, UserDisableInput, UserEnableInput, UserGetInput, UserHoldings, UserId, UserKind, UserList, UserListInput, UserListItem, UserPurged, UserPurgeInput, UserRestoreInput, UserStatus, UserTestInput, UserTestResult, UserUpdateInput, } from "./users/users.js";
65
64
  export { MoveColumn, NodeVersion, NodeVersionCreateInput, NodeVersionDetail, NodeVersionExcerpt, NodeVersionGetInput, NodeVersionList, NodeVersionListInput, TaskVersionChange, taskVersionChanges, VersionId, VersionMove, versionKinds, } from "./versions/versions.js";
66
65
  export { Changed, Effects, Moved, Unblocked, Written, } from "./written/written.js";
package/dist/sdk.js CHANGED
@@ -1,14 +1,14 @@
1
1
  // The contract between UI, backends and outside services, published as `@anchrd/colab-sdk`. The
2
2
  // package exports only this file, so everything public is named here once.
3
3
  // biome-ignore lint/performance/noBarrelFile: this file IS the entry point of the package.
4
- export { ActionBlock, ActionButton, actionBlockLanguage, ButtonsBlock, ChecklistBlock, ChoiceBlock, InputBlock, } from "./action-blocks/action-blocks.js";
5
- export { ActionAbort, ActionAbortReason, ActionChat, ActionGadget, ActionGoalRun, ActionItem, ActionList, ActionListInput, ActionNotice, ActionNoticeButton, ActionNoticeCrumb, ActionNoticeItem, ActionNoticeKind, ActionNoticeReason, ActionNoticeTitle, ActionRow, ActionRunTask, ActionSection, ActionSource, ActionTask, actionFilters, isNodeRow, MachineInstructions, MachineInstructionsRead, } from "./actions/actions.js";
4
+ export { ActionBlock, ActionButton, actionBlockLanguage, ButtonsBlock, ChecklistBlock, ChoiceBlock, InputBlock, readActionBlock, } from "./action-blocks/action-blocks.js";
5
+ export { ActionAbort, ActionAbortReason, ActionChat, ActionGadget, ActionGoalRun, ActionItem, ActionList, ActionListInput, ActionNotice, ActionNoticeButton, ActionNoticeCrumb, ActionNoticeItem, ActionNoticeKind, ActionNoticeReason, ActionNoticeTitle, ActionRow, ActionRunTask, ActionSection, ActionSource, ActionTask, ActionTaskBlock, actionFilters, isNodeRow, MachineInstructions, MachineInstructionsRead, } from "./actions/actions.js";
6
6
  export { adminModeHeader, adminModeOn } from "./admin-mode.js";
7
7
  export { App, AppId, AppList, AppListInput, AppRevoked, AppRevokeInput, OwnAppListQuery, OwnSessionListQuery, Session, SessionId, SessionList, SessionListInput, SessionRevokeInput, SessionsRevoked, } from "./apps/apps.js";
8
8
  export { ArchivedGoalLink, NodeArchived, NodeArchiveInput, NodePurged, NodePurgeInput, NodeRestoreInput, } from "./archive/archive.js";
9
9
  export { PasskeyDeleteInput, SetPasswordInput, SignUpInput, } from "./auth/auth.js";
10
10
  export { AuthorizationRequest, AuthorizationResponse, Identity, Rules, } from "./authorization/authorization.js";
11
- export { BoardColumn, BoardCreateInput, BoardDetail, BoardGetInput, BoardId, BoardKind, BoardLabel, BoardTaskBrief, BoardTaskBriefList, BoardTaskCreated, BoardTaskCreateInput, BoardTaskItem, BoardTaskList, BoardTaskListInput, BoardTaskUpdated, BoardTaskUpdateInput, BoardUpdateInput, boardKinds, compactTaskLimit, LabelId, maxBulkTasks, maxRules, TaskDetail, TaskGetInput, TaskId, TaskImage, TaskRule, TaskUpdateInput, } from "./boards/boards.js";
11
+ export { BoardColumn, BoardCreateInput, BoardDetail, BoardGetInput, BoardId, BoardLabel, BoardTaskBrief, BoardTaskBriefList, BoardTaskCreated, BoardTaskCreateInput, BoardTaskItem, BoardTaskList, BoardTaskListInput, BoardTaskUpdated, BoardTaskUpdateInput, BoardUpdateInput, compactTaskLimit, LabelId, maxBulkTasks, maxRules, TaskDetail, TaskGetInput, TaskId, TaskImage, TaskRule, TaskUpdateInput, } from "./boards/boards.js";
12
12
  export { CardField, CardFieldId, CardFieldInput, CardFieldOption, CardFieldType, CardFieldValue, CardKind, CardKindIcon, CardKindId, CardKindInput, CardOptionId, ChecklistItem, cardFieldTypes, cardKindIcons, emptyValue, TaskFields, TaskKind, } from "./card-kinds/card-kinds.js";
13
13
  export { ColumnId, ColumnType, columnTypes, TaskColumn } from "./columns/columns.js";
14
14
  export { Connection, ConnectionCreateInput, ConnectionCredential, ConnectionDetail, ConnectionGetInput, ConnectionId, ConnectionList, ConnectionListInput, ConnectionRevokeInput, ConnectionState, ConnectionTested, ConnectionTestInput, ConnectionTestResult, ConnectionUpdateInput, } from "./connections/connections.js";
@@ -22,7 +22,7 @@ export { ErrorCode, ErrorCurrent, ErrorIssue, ErrorResponse, errorCodes, invalid
22
22
  export { ActorKind, Event, EventId, EventKind, EventList, EventListInput, EventSource, } from "./events/events.js";
23
23
  export { ExcerptCursor, excerptChars, RowsExcerpt, TextExcerpt } from "./excerpt/excerpt.js";
24
24
  export { FileCreateInput, FileDescribeInput, FileDescription, FileDetail, FileGetInput, FileId, FileTextState, FileUpdateInput, FileUpload, fileEncodings, fileFormatExtensions, fileFormatOf, fileTextStates, maxContentFileBytes, maxDescribeBytes, maxDescribeQuestionChars, maxFileBytes, UploadTicket, uploadTicketHeader, uploadTicketLifetimeMs, } from "./files/files.js";
25
- export { FlowBox, FlowElementRef, FlowFreeAction, FlowLiveClientMessage, FlowLiveServerMessage, FlowRun, FlowRunActed, FlowRunActionCreateInput, FlowRunCancelInput, FlowRunCompleted, FlowRunCompleteInput, FlowRunCreateInput, FlowRunDetail, FlowRunGetInput, FlowRunId, FlowRunList, FlowRunListInput, FlowRunPage, FlowRunPageGetInput, FlowRunPicture, FlowRunStarted, FlowRunStep, FlowRunStepCreateInput, FlowRunStepResult, FlowRunStepStarted, FlowRunStepUpdateInput, flowLivePath, flowPicturePath, flowRunKinds, flowRunStatuses, flowRunStepStatuses, flowRunTriggers, } from "./flows/flow-runs.js";
25
+ export { FlowBox, FlowElementRef, FlowFreeAction, FlowLiveClientMessage, FlowLiveServerMessage, FlowRun, FlowRunActed, FlowRunActionCreateInput, FlowRunCancelInput, FlowRunCompleted, FlowRunCompleteInput, FlowRunCreateInput, FlowRunDetail, FlowRunGetInput, FlowRunId, FlowRunList, FlowRunListInput, FlowRunPage, FlowRunPageGetInput, FlowRunPicture, FlowRunStarted, FlowRunStep, FlowRunStepCreateInput, FlowRunStepResult, FlowRunStepStarted, FlowRunStepUpdateInput, flowLivePath, flowPicturePath, flowRunKinds, flowRunStatuses, flowRunStepStatuses, flowRunTriggers, flowViewportDefault, flowViewportMax, flowViewportMin, flowViewportOf, } from "./flows/flow-runs.js";
26
26
  export { FlowAction, FlowActions, FlowCreateInput, FlowDetail, FlowGetInput, FlowHost, FlowHour, FlowPublishInput, FlowReachedPath, FlowSchedule, FlowScheduleDetail, FlowSecret, FlowSecretCreateInput, FlowSecretList, FlowSecretListInput, FlowSecretName, FlowSecretRemoved, FlowSecretRemoveInput, FlowSecretUpdateInput, FlowStep, FlowStepCreateInput, FlowStepId, FlowStepMoveInput, FlowStepRemoveInput, FlowStepState, FlowStepUpdateInput, FlowSubStep, FlowTarget, FlowUpdateInput, FlowVersionContent, flowActionTypes, flowLimits, flowReadTakes, flowRecordingDays, flowRhythms, flowScheduleProblem, flowStepStates, } from "./flows/flows.js";
27
27
  export { FunctionRemoved, ServiceInterfaceFunctionCreateInput, ServiceInterfaceFunctionRemoveInput, ServiceInterfaceFunctionUpdateInput, } from "./functions/functions.js";
28
28
  export { GadgetAccess, GadgetCall, GadgetCallCreateInput, GadgetCallEntry, GadgetCallGetInput, GadgetCallItem, GadgetCallList, GadgetCallListInput, GadgetCallStatus, GadgetChange, GadgetClientLog, GadgetConsoleLine, GadgetCreateInput, GadgetDetail, GadgetDiffFile, GadgetDistAnswer, GadgetFile, GadgetFilePath, GadgetFunction, GadgetFunctionName, GadgetGetInput, GadgetManifest, GadgetPublishInput, GadgetRequires, GadgetSettings, GadgetTestHooks, GadgetTestInput, GadgetTestResult, GadgetTestRun, GadgetToolUse, GadgetUpdateInput, GadgetUseRight, GadgetUses, GadgetVersionRef, gadgetLimits, gadgetLogDays, TestLimits, testLimits, testLimitsText, } from "./gadgets/gadgets.js";
@@ -35,22 +35,22 @@ export { Digest, InstructionRead, Instructions, InstructionsLink, InstructionsRe
35
35
  export { FunctionNames, InterfaceRemoved, ServiceInterfaceCreateInput, ServiceInterfaceDeclared, ServiceInterfaceDeclareInput, ServiceInterfaceRemoveInput, ServiceInterfaceUndeclared, ServiceInterfaceUpdateInput, } from "./interfaces/interfaces.js";
36
36
  export { Delivery, Invitation, InvitationAcceptInput, InvitationCreateInput, InvitationId, InvitationLookup, InvitationLookupQuery, InvitationResendInput, InvitationRevokeInput, InvitationSent, InvitationSocialInput, InvitationStatus, RoleChip, } from "./invitations/invitations.js";
37
37
  export { Job, JobCreateInput, JobGetInput, JobId, JobKind, JobList, JobListInput, JobRefused, maxJobEntries, maxJobRefusedNamed, } from "./jobs/jobs.js";
38
- export { defaultLinkDays, GadgetLink, GadgetLinkCallInput, GadgetLinkCodeInput, GadgetLinkCreateInput, GadgetLinkList, GadgetLinkListInput, GadgetLinkPage, GadgetLinkRevokeInput, GadgetLinkVisit, GadgetLinkVisitInput, gadgetLinkLimits, gadgetLinkPath, LinkId, LinkStatus, maxLinkDays, NodeLink, NodeLinkCreateInput, NodeLinkList, NodeLinkListInput, NodeLinkRevokeInput, NodeLinkUpdateInput, publicLinkPath, } from "./links/links.js";
38
+ export { defaultLinkDays, GadgetLink, GadgetLinkCallInput, GadgetLinkCodeInput, GadgetLinkCreateInput, GadgetLinkList, GadgetLinkListInput, GadgetLinkPage, GadgetLinkRevokeInput, GadgetLinkVisit, GadgetLinkVisitInput, gadgetLinkLimits, gadgetLinkOpens, gadgetLinkPath, LinkId, LinkStatus, maxLinkDays, NodeLink, NodeLinkCreateInput, NodeLinkList, NodeLinkListInput, NodeLinkRevokeInput, NodeLinkUpdateInput, publicLinkPath, } from "./links/links.js";
39
39
  export { Flag, Limit } from "./list-input.js";
40
40
  export { MachineArchiveInput, MachineCreateInput, MachineId, MachineKey, MachinePurged, MachinePurgeInput, MachineRestoreInput, MachineRotateInput, MachineUpdateInput, } from "./machines/machines.js";
41
41
  export { Mcp, McpAuth, McpCall, McpCallAction, McpCallList, McpCallListInput, McpCatalogId, McpCreateInput, McpGetInput, McpId, McpList, McpListInput, McpRevokeInput, McpState, McpTestInput, McpTool, McpUpdateInput, mcpCatalog, } from "./mcps/mcps.js";
42
42
  export { AttachmentId, attachmentMaxBytes, attachmentsMax, ChatAttachmentCreateInput, ChatAttachmentGetInput, ChatAttachmentRead, ChatRead, ChatTopic, ChatUpdateInput, Message, MessageAttachment, MessageAuthor, MessageCreateInput, MessageId, MessageList, MessageListInput, messageMaxLength, TopicName, topicMaxLength, topicOf, } from "./messages/messages.js";
43
43
  export { Missing, MissingCall, MissingCode, missingCodes, Reached, } from "./missing/missing.js";
44
44
  export { BoardShownKind, FolderCreated, FolderCreateInput, IntelligenceUser, IntelligenceUserList, IntelligenceUserListInput, NodeDetail, NodeGetInput, NodeHit, NodeHitFoundIn, NodeHitGroup, NodeId, NodeKind, NodeKindRead, NodeList, NodeListInput, NodeListItem, NodeMoved, NodeMoveInput, NodePath, NodePerson, NodeQuery, NodeReader, NodeSearch, NodeSection, NodeSort, NodeUpdateInput, nodeKinds, nodeListLimitMax, responsibleKinds, SearchIndexState, SecretFields, SecretId, unknownNodeKind, } from "./nodes/nodes.js";
45
- export { ChangeTrigger, ClosureCause, ClosureFound, ClosureKind, ClosureLine, ClosureOutcome, Credential, CredentialCreateInput, CredentialGetInput, CredentialId, CredentialKind, CredentialList, CredentialListInput, CredentialRevokeInput, CredentialState, CredentialTested, CredentialTestInput, CredentialTestResult, CredentialUpdateInput, cacheWritePriceOf, closureKinds, closureOutcomes, compactRunLimit, GatewayModelEntrySchema, GatewayRight, GatewayRightCheck, GatewayTarget, gatewayCatalog, gatewayModelOf, inCatalog, KeepStepsDays, MachineDisableInput, MachineEnableInput, MachineGetInput, MachineListInput, modelsOf, modelsOfVendor, Operator, OperatorBudget, OperatorLimits, OperatorList, OperatorMachineArchiveInput, OperatorMachineCreateInput, OperatorMachineRestoreInput, OperatorMachineUpdateInput, OperatorModel, OperatorRun, OperatorRunAgents, OperatorRunClosures, OperatorRunCostSource, OperatorRunFallbackReason, OperatorRunGetInput, OperatorRunId, OperatorRunInstructions, OperatorRunList, OperatorRunListInput, OperatorRunReason, OperatorRunStatus, OperatorRunStep, OperatorRunStepKind, OperatorRunStepList, OperatorRunTokens, OperatorRunTouched, OperatorRunTrigger, OperatorRunUsage, OperatorRunWoken, OperatorState, OperatorUser, OperatorUserList, OperatorUserListInput, OperatorUserUpdateInput, OperatorVendor, OwnCredentialState, offeredModels, operatorDefaults, operatorProviders, operatorVendors, PauseReason, planAnswerOf, ReasoningLevel, ReasoningStage, RunCancelInput, RunCompleteAnswer, RunCompleteInput, RunPlanAnswer, RunPlanStep, RunStepListInput, RunUpdateInput, reasoningAdjustable, reasoningDefault, reasoningEffortOf, reasoningOfModel, retiredGatewayModels, runClosureMax, runPlanMax, runSummaryChars, Subagents, scheduleQuietMinutes, Trigger, UserCredentialCreateInput, UserCredentialRevokeInput, UserCredentialTestInput, UserCredentialUpdateInput, vendorOfModel, } from "./operators/operators.js";
45
+ export { ChangeTrigger, ClosureCause, ClosureFound, ClosureKind, ClosureLine, ClosureOutcome, Credential, CredentialCreateInput, CredentialGetInput, CredentialId, CredentialKind, CredentialList, CredentialListInput, CredentialRevokeInput, CredentialState, CredentialTested, CredentialTestInput, CredentialTestResult, CredentialUpdateInput, cacheWritePriceOf, closureKinds, closureOutcomes, compactRunLimit, GatewayModelEntrySchema, GatewayRight, GatewayRightCheck, GatewayTarget, gatewayCatalog, gatewayModelOf, inCatalog, KeepStepsDays, MachineDisableInput, MachineEnableInput, MachineGetInput, MachineListInput, modelsOf, modelsOfVendor, Operator, OperatorBudget, OperatorLimits, OperatorList, OperatorMachineArchiveInput, OperatorMachineCreateInput, OperatorMachineHoldings, OperatorMachinePurged, OperatorMachinePurgeInput, OperatorMachineRestoreInput, OperatorMachineUpdateInput, OperatorModel, OperatorRun, OperatorRunAgents, OperatorRunClosures, OperatorRunCostSource, OperatorRunFallbackReason, OperatorRunId, OperatorRunInstructions, OperatorRunList, OperatorRunReason, OperatorRunStatus, OperatorRunStep, OperatorRunStepKind, OperatorRunStepList, OperatorRunTokens, OperatorRunTouched, OperatorRunTrigger, OperatorRunUsage, OperatorRunWoken, OperatorState, OperatorUser, OperatorUserList, OperatorUserListInput, OperatorUserUpdateInput, OperatorVendor, OwnCredentialState, offeredModels, operatorDefaults, operatorProviders, operatorVendors, PauseReason, planAnswerOf, ReasoningLevel, ReasoningStage, RunCancelInput, RunCompleteAnswer, RunCompleteInput, RunGetInput, RunListInput, RunNode, RunNodeUse, RunPlanAnswer, RunPlanStep, RunStepListInput, RunUpdateInput, reasoningAdjustable, reasoningDefault, reasoningEffortOf, reasoningOfModel, retiredGatewayModels, runClosureMax, runPlanMax, runSummaryChars, Subagents, scheduleQuietMinutes, Trigger, UserCredentialCreateInput, UserCredentialRevokeInput, UserCredentialTestInput, UserCredentialUpdateInput, UserRevoked, UserRevokeInput, vendorOfModel, } from "./operators/operators.js";
46
46
  export { Currency, CurrencyRate, currencies, Organisation, OrganisationGetInput, OrganisationUpdateInput, } from "./organisation/organisation.js";
47
47
  export { PageDetail, PageGetInput, PageHead, PageHeading, PageId, PageList, PageListInput, PageSummary, } from "./pages/pages.js";
48
48
  export { AgentName, gatewayAgentsMax, IdempotencyKey, PlanSubstep, planEvidenceMax, Rev, } from "./primitives/primitives.js";
49
+ export { ProcessAction, ProcessActionId, ProcessActionStep, ProcessActor, ProcessArchiveInput, ProcessConnection, ProcessConnectionTarget, ProcessContent, ProcessContentInput, ProcessCreateInput, ProcessDetail, ProcessFinding, ProcessFindingCode, ProcessFindingPlace, ProcessGetInput, ProcessId, ProcessLinked, ProcessNew, ProcessNode, ProcessNodeKind, ProcessOval, ProcessPlacement, ProcessPublishInput, ProcessRestoreInput, ProcessRole, ProcessRoleRun, ProcessRun, ProcessRunCreateInput, ProcessRunDetail, ProcessRunDone, ProcessRunEntry, ProcessRunGetInput, ProcessRunId, ProcessRunList, ProcessRunListInput, ProcessRunStart, ProcessRunStatus, ProcessStart, ProcessStartPlace, ProcessStep, ProcessStepId, ProcessUpdateInput, ProcessVersionContent, processFindingCodes, processLimits, processNodeKinds, processPlacements, processRunEntryStatuses, processRunStatuses, processStartKinds, } from "./processes/processes.js";
49
50
  export { Locale, locales, Name, ProfileImageResponse, ProfileUpdateInput, profileImageMaxBytes, profileImageTypes, Theme, TimeZone, themes, } from "./profile/profile.js";
50
51
  export { offersSignIn, Provider, ProviderId, ProviderList, ProviderListInput, ProviderRemoveInput, ProviderSource, ProviderTest, ProviderTestInput, ProviderUpdateInput, providerEndpoints, providerIds, SignInProviderId, SignInProviders, signInProviderIds, } from "./providers/providers.js";
51
- export { BaseRelationType, baseRelationTypes, Relation, RelationAction, RelationActor, RelationCreateInput, RelationEnd, RelationId, RelationList, RelationListInput, RelationOutside, RelationRemoveInput, RelationSetEnd, RelationType, SetRelation, } from "./relations/relations.js";
52
52
  export { GrantChange, PermissionsResponse, RightPath, RightTree, Role, RoleArchiveInput, RoleCreateInput, RoleDetail, RoleGetInput, RoleGrantCreateInput, RoleGrantRevokeInput, RoleId, RoleList, RoleListInput, RoleRestoreInput, RoleUpdateInput, } from "./roles/roles.js";
53
- export { RunDetail, RunGetInput, RunId, RunItem, RunList, RunListInput, RunStatus, runStatuses, } from "./runs/runs.js";
53
+ export { RunId } from "./runs/runs.js";
54
54
  export { RuntimeConfig } from "./runtime-config.js";
55
55
  export { rhythms, Schedule, WhileOpen, weekdays, weeksOfMonth, whileOpenModes, } from "./schedule/schedule.js";
56
56
  export { NodeSecret, NodeSecretCreateInput, NodeSecretDetail, NodeSecretGetInput, NodeSecretRemoveInput, NodeSecretUpdateInput, NodeUnlocked, NodeUnlockInput, unlockMinutes, } from "./secrets/secrets.js";
@@ -58,12 +58,11 @@ export { createServiceClient, } from "./service-client/service-client.js";
58
58
  export { ConsentResource, FunctionId, InterfaceId, RightWord, Service, ServiceArchiveInput, ServiceCreateInput, ServiceFunction, ServiceId, ServiceInterface, ServiceKeyIssued, ServiceList, ServiceListInput, ServiceName, ServicePurged, ServicePurgeInput, ServiceRestoreInput, ServiceRotateInput, ServiceUpdateInput, } from "./services/services.js";
59
59
  export { SkillCallName, SkillCaseCalls, SkillCaseResult, SkillCreateInput, SkillDetail, SkillFields, SkillFile, SkillFilePath, SkillGetInput, SkillId, SkillOffer, SkillPoint, SkillRunCall, SkillRunDetail, SkillRunGetInput, SkillRunItem, SkillRunList, SkillRunListInput, SkillTestInput, SkillTestReport, SkillToken, SkillTokenCreateInput, SkillTokens, SkillTriggerHit, SkillUpdateInput, SkillWriteName, skillCaseStatuses, skillFilePattern, skillRunKinds, skillRunStatuses, } from "./skills/skills.js";
60
60
  export { ItemId, QueryId, SourceAccess, SourceCreateInput, SourceDetail, SourceField, SourceFieldType, SourceGetInput, SourceItem, SourceItemList, SourceItemListInput, SourceManifest, SourcePaging, SourceParam, SourcePath, SourceProbe, SourcePublishInput, SourceQuery, SourceQueryArchiveInput, SourceQueryCreateInput, SourceQueryList, SourceQueryListInput, SourceQueryRestoreInput, SourceQueryUpdateInput, SourceRun, SourceRunCounts, SourceRunCreateInput, SourceRunFailure, SourceRunFailureRead, SourceRunGetInput, SourceRunList, SourceRunListInput, SourceSchedule, SourceSecretsInput, SourceStep, SourceTestInput, SourceUpdateInput, SourceVersionRef, SourceWhere, sourceCleans, sourceCodePath, sourceEvery, sourceFieldTypes, sourceFormHeaders, sourceKeepDays, sourceLimits, sourceManifestPath, sourceSchema, } from "./sources/sources.js";
61
- export { maxTableColumns, maxTableRows, RowLimit, TableColumn, TableColumnChange, TableColumnType, TableCreateInput, TableDetail, TableExcerpt, TableFilter, TableGetInput, TableId, TableSaved, TableSort, TableUpdateInput, tableColumnTypes, tableFormats, } from "./tables/tables.js";
61
+ export { maxDatabaseRows, maxTableColumns, maxTableGroups, maxTableRows, RowLimit, TableAggregate, TableColumn, TableColumnChange, TableColumnType, TableCondition, TableCreateInput, TableDetail, TableExcerpt, TableFilter, TableGetInput, TableGroup, TableId, TableSaved, TableSort, TableStorage, TableUpdateInput, tableAggregateFunctions, tableColumnTypes, tableFormats, tableStorages, } from "./tables/tables.js";
62
62
  export { companyTeamId, MemberId, Team, TeamArchiveInput, TeamCreateInput, TeamId, TeamList, TeamListInput, TeamMember, TeamMemberCreateInput, TeamMemberRemoveInput, TeamRestoreInput, TeamRole, TeamUpdateInput, } from "./teams/teams.js";
63
63
  export { defineTool, } from "./tool.js";
64
64
  export { compareTreeNames, treeKindOrder, treeKindRank, } from "./tree-order/tree-order.js";
65
- export { baseActionTypes, baseActorTypes, baseObjectTypes, baseRef, Cardinality, cardinalities, NodeTypeCreateInput, NodeTypeRemoveInput, NodeTypes, OntologyType, TypeArchiveInput, TypeCreateInput, TypeId, TypeKind, TypeList, TypeListInput, TypeRef, TypeRestoreInput, TypeStatus, TypeUpdateInput, typeKinds, typeStatuses, } from "./types/types.js";
66
65
  export { IntelligenceUserGetInput, IntelligenceUserUpdateInput, NotifyMode, notifyModes, UserSettings, } from "./user-settings/user-settings.js";
67
- export { MachineFacts, MachineKeyFacts, MachineKind, MessageMachine, OperatorProvider, OwnRoleList, SignInMethod, User, UserDetail, UserDisableInput, UserEnableInput, UserGetInput, UserId, UserKind, UserList, UserListInput, UserListItem, UserStatus, UserTestInput, UserTestResult, UserUpdateInput, } from "./users/users.js";
66
+ export { MachineFacts, MachineKeyFacts, MachineKind, MessageMachine, OperatorProvider, OwnRoleList, SignInMethod, User, UserArchiveInput, UserDetail, UserDisableInput, UserEnableInput, UserGetInput, UserHoldings, UserId, UserKind, UserList, UserListInput, UserListItem, UserPurged, UserPurgeInput, UserRestoreInput, UserStatus, UserTestInput, UserTestResult, UserUpdateInput, } from "./users/users.js";
68
67
  export { MoveColumn, NodeVersion, NodeVersionCreateInput, NodeVersionDetail, NodeVersionExcerpt, NodeVersionGetInput, NodeVersionList, NodeVersionListInput, TaskVersionChange, taskVersionChanges, VersionId, VersionMove, versionKinds, } from "./versions/versions.js";
69
68
  export { Changed, Effects, Moved, Unblocked, Written, } from "./written/written.js";
@@ -230,6 +230,7 @@ export declare const SkillDetail: z.ZodObject<{
230
230
  items: z.ZodArray<z.ZodObject<{
231
231
  nodeId: z.ZodTemplateLiteral<`node_${string}`>;
232
232
  name: z.ZodString;
233
+ process: z.ZodBoolean;
233
234
  }, z.core.$strip>>;
234
235
  }, z.core.$strip>;
235
236
  content: z.ZodString;
@@ -445,8 +445,8 @@ export declare const sourceRunTriggers: readonly ["schedule", "play", "probe"];
445
445
  export declare const SourceRunTriggerRead: z.ZodCatch<z.ZodEnum<{
446
446
  unknown: "unknown";
447
447
  schedule: "schedule";
448
- probe: "probe";
449
448
  play: "play";
449
+ probe: "probe";
450
450
  }>>;
451
451
  export declare const SourceRun: z.ZodObject<{
452
452
  runId: z.ZodTemplateLiteral<`run_${string}`>;
@@ -456,8 +456,8 @@ export declare const SourceRun: z.ZodObject<{
456
456
  trigger: z.ZodCatch<z.ZodEnum<{
457
457
  unknown: "unknown";
458
458
  schedule: "schedule";
459
- probe: "probe";
460
459
  play: "play";
460
+ probe: "probe";
461
461
  }>>;
462
462
  by: z.ZodNullable<z.ZodObject<{
463
463
  userId: z.ZodString;
@@ -515,8 +515,8 @@ export declare const SourceRunList: z.ZodObject<{
515
515
  trigger: z.ZodCatch<z.ZodEnum<{
516
516
  unknown: "unknown";
517
517
  schedule: "schedule";
518
- probe: "probe";
519
518
  play: "play";
519
+ probe: "probe";
520
520
  }>>;
521
521
  by: z.ZodNullable<z.ZodObject<{
522
522
  userId: z.ZodString;
@@ -739,6 +739,7 @@ export declare const SourceDetail: z.ZodObject<{
739
739
  items: z.ZodArray<z.ZodObject<{
740
740
  nodeId: z.ZodTemplateLiteral<`node_${string}`>;
741
741
  name: z.ZodString;
742
+ process: z.ZodBoolean;
742
743
  }, z.core.$strip>>;
743
744
  }, z.core.$strip>;
744
745
  version: z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"draft">]>>;
@@ -35,6 +35,13 @@ export declare const TableColumnChange: z.ZodObject<{
35
35
  export type TableColumnChange = z.infer<typeof TableColumnChange>;
36
36
  export declare const maxTableColumns = 100;
37
37
  export declare const maxTableRows = 100000;
38
+ export declare const maxDatabaseRows = 1000000;
39
+ export declare const tableStorages: readonly ["table", "database"];
40
+ export declare const TableStorage: z.ZodEnum<{
41
+ table: "table";
42
+ database: "database";
43
+ }>;
44
+ export type TableStorage = z.infer<typeof TableStorage>;
38
45
  export declare const TableCreateInput: z.ZodObject<{
39
46
  parentId: z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>;
40
47
  section: z.ZodOptional<z.ZodEnum<{
@@ -54,6 +61,10 @@ export declare const TableCreateInput: z.ZodObject<{
54
61
  }, z.core.$strict>>;
55
62
  rows: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
56
63
  csv: z.ZodOptional<z.ZodString>;
64
+ storage: z.ZodOptional<z.ZodEnum<{
65
+ table: "table";
66
+ database: "database";
67
+ }>>;
57
68
  idempotencyKey: z.ZodString;
58
69
  }, z.core.$strict>;
59
70
  export type TableCreateInput = z.infer<typeof TableCreateInput>;
@@ -71,6 +82,53 @@ export declare const TableFilter: z.ZodObject<{
71
82
  contains: z.ZodString;
72
83
  }, z.core.$strict>;
73
84
  export type TableFilter = z.infer<typeof TableFilter>;
85
+ export declare const TableTextFilter: z.ZodObject<{
86
+ contains: z.ZodString;
87
+ }, z.core.$strict>;
88
+ export type TableTextFilter = z.infer<typeof TableTextFilter>;
89
+ export declare const TableCondition: z.ZodUnion<readonly [z.ZodObject<{
90
+ column: z.ZodString;
91
+ contains: z.ZodString;
92
+ }, z.core.$strict>, z.ZodObject<{
93
+ contains: z.ZodString;
94
+ }, z.core.$strict>, z.ZodObject<{
95
+ column: z.ZodString;
96
+ equals: z.ZodString;
97
+ }, z.core.$strict>, z.ZodObject<{
98
+ column: z.ZodString;
99
+ notEquals: z.ZodString;
100
+ }, z.core.$strict>, z.ZodObject<{
101
+ column: z.ZodString;
102
+ greater: z.ZodString;
103
+ }, z.core.$strict>, z.ZodObject<{
104
+ column: z.ZodString;
105
+ less: z.ZodString;
106
+ }, z.core.$strict>, z.ZodObject<{
107
+ column: z.ZodString;
108
+ between: z.ZodTuple<[z.ZodString, z.ZodString], null>;
109
+ }, z.core.$strict>, z.ZodObject<{
110
+ column: z.ZodString;
111
+ empty: z.ZodBoolean;
112
+ }, z.core.$strict>]>;
113
+ export type TableCondition = z.infer<typeof TableCondition>;
114
+ export declare const tableAggregateFunctions: readonly ["count", "sum", "avg", "min", "max"];
115
+ export declare const TableAggregate: z.ZodObject<{
116
+ function: z.ZodEnum<{
117
+ count: "count";
118
+ max: "max";
119
+ sum: "sum";
120
+ avg: "avg";
121
+ min: "min";
122
+ }>;
123
+ column: z.ZodOptional<z.ZodString>;
124
+ }, z.core.$strict>;
125
+ export type TableAggregate = z.infer<typeof TableAggregate>;
126
+ export declare const maxTableGroups = 1000;
127
+ export declare const TableGroup: z.ZodObject<{
128
+ values: z.ZodArray<z.ZodString>;
129
+ results: z.ZodArray<z.ZodNullable<z.ZodNumber>>;
130
+ }, z.core.$strip>;
131
+ export type TableGroup = z.infer<typeof TableGroup>;
74
132
  export declare const RowLimit: z.ZodCoercedNumber<unknown>;
75
133
  export declare const TableGetInput: z.ZodObject<{
76
134
  tableId: z.ZodTemplateLiteral<`node_${string}`>;
@@ -82,9 +140,40 @@ export declare const TableGetInput: z.ZodObject<{
82
140
  desc: "desc";
83
141
  }>;
84
142
  }, z.core.$strict>>, unknown>>;
85
- filter: z.ZodOptional<z.ZodPreprocess<z.ZodArray<z.ZodObject<{
143
+ filter: z.ZodOptional<z.ZodPreprocess<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
86
144
  column: z.ZodString;
87
145
  contains: z.ZodString;
146
+ }, z.core.$strict>, z.ZodObject<{
147
+ contains: z.ZodString;
148
+ }, z.core.$strict>, z.ZodObject<{
149
+ column: z.ZodString;
150
+ equals: z.ZodString;
151
+ }, z.core.$strict>, z.ZodObject<{
152
+ column: z.ZodString;
153
+ notEquals: z.ZodString;
154
+ }, z.core.$strict>, z.ZodObject<{
155
+ column: z.ZodString;
156
+ greater: z.ZodString;
157
+ }, z.core.$strict>, z.ZodObject<{
158
+ column: z.ZodString;
159
+ less: z.ZodString;
160
+ }, z.core.$strict>, z.ZodObject<{
161
+ column: z.ZodString;
162
+ between: z.ZodTuple<[z.ZodString, z.ZodString], null>;
163
+ }, z.core.$strict>, z.ZodObject<{
164
+ column: z.ZodString;
165
+ empty: z.ZodBoolean;
166
+ }, z.core.$strict>]>>, unknown>>;
167
+ groupBy: z.ZodOptional<z.ZodPreprocess<z.ZodArray<z.ZodString>, unknown>>;
168
+ aggregates: z.ZodOptional<z.ZodPreprocess<z.ZodArray<z.ZodObject<{
169
+ function: z.ZodEnum<{
170
+ count: "count";
171
+ max: "max";
172
+ sum: "sum";
173
+ avg: "avg";
174
+ min: "min";
175
+ }>;
176
+ column: z.ZodOptional<z.ZodString>;
88
177
  }, z.core.$strict>>, unknown>>;
89
178
  format: z.ZodOptional<z.ZodEnum<{
90
179
  rows: "rows";
@@ -123,6 +212,10 @@ export declare const TableUpdateInput: z.ZodObject<{
123
212
  cells: z.ZodArray<z.ZodString>;
124
213
  }, z.core.$strict>>>;
125
214
  remove: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
215
+ storage: z.ZodOptional<z.ZodEnum<{
216
+ table: "table";
217
+ database: "database";
218
+ }>>;
126
219
  }, z.core.$strict>;
127
220
  export type TableUpdateInput = z.infer<typeof TableUpdateInput>;
128
221
  export declare const TableDetail: z.ZodObject<{
@@ -149,6 +242,14 @@ export declare const TableDetail: z.ZodObject<{
149
242
  rowCount: z.ZodNumber;
150
243
  nextCursor: z.ZodNullable<z.ZodString>;
151
244
  }, z.core.$strip>>;
245
+ groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
246
+ values: z.ZodArray<z.ZodString>;
247
+ results: z.ZodArray<z.ZodNullable<z.ZodNumber>>;
248
+ }, z.core.$strip>>>;
249
+ storage: z.ZodOptional<z.ZodEnum<{
250
+ table: "table";
251
+ database: "database";
252
+ }>>;
152
253
  version: z.ZodNumber;
153
254
  rev: z.ZodNumber;
154
255
  rights: z.ZodObject<{
@@ -181,6 +282,14 @@ export declare const TableExcerpt: z.ZodObject<{
181
282
  rowCount: z.ZodNumber;
182
283
  nextCursor: z.ZodNullable<z.ZodString>;
183
284
  }, z.core.$strip>>;
285
+ groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
286
+ values: z.ZodArray<z.ZodString>;
287
+ results: z.ZodArray<z.ZodNullable<z.ZodNumber>>;
288
+ }, z.core.$strip>>>;
289
+ storage: z.ZodOptional<z.ZodEnum<{
290
+ table: "table";
291
+ database: "database";
292
+ }>>;
184
293
  version: z.ZodNumber;
185
294
  rights: z.ZodObject<{
186
295
  write: z.ZodBoolean;
@@ -209,6 +318,10 @@ export declare const TableSaved: z.ZodObject<{
209
318
  }>;
210
319
  }, z.core.$strict>>;
211
320
  rowCount: z.ZodNumber;
321
+ storage: z.ZodOptional<z.ZodEnum<{
322
+ table: "table";
323
+ database: "database";
324
+ }>>;
212
325
  version: z.ZodNumber;
213
326
  rev: z.ZodNumber;
214
327
  removedColumns: z.ZodOptional<z.ZodArray<z.ZodObject<{