@anchrd/colab-sdk 0.1.36 → 0.1.37

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 (48) hide show
  1. package/dist/actions/actions.d.ts +30 -23
  2. package/dist/actions/actions.js +2 -2
  3. package/dist/archive/archive.d.ts +1 -0
  4. package/dist/archive/archive.js +3 -0
  5. package/dist/boards/boards.d.ts +21 -21
  6. package/dist/columns/columns.d.ts +2 -2
  7. package/dist/connectors/connectors.d.ts +6 -6
  8. package/dist/crawls/crawls.d.ts +3 -3
  9. package/dist/error/error.d.ts +9 -3
  10. package/dist/error/error.js +12 -3
  11. package/dist/gadgets/gadgets.d.ts +125 -9
  12. package/dist/gadgets/gadgets.js +123 -0
  13. package/dist/goals/goals.d.ts +54 -10
  14. package/dist/goals/goals.js +36 -7
  15. package/dist/grammar/grammar.d.ts +2 -0
  16. package/dist/grammar/grammar.js +10 -0
  17. package/dist/home/home.d.ts +300 -0
  18. package/dist/home/home.js +53 -0
  19. package/dist/links/links.d.ts +166 -0
  20. package/dist/links/links.js +149 -0
  21. package/dist/mcps/mcps.d.ts +3 -3
  22. package/dist/messages/messages.d.ts +3 -0
  23. package/dist/nodes/nodes.d.ts +46 -20
  24. package/dist/nodes/nodes.js +11 -3
  25. package/dist/operators/operators.d.ts +389 -47
  26. package/dist/operators/operators.js +268 -70
  27. package/dist/organisation/organisation.d.ts +2 -0
  28. package/dist/organisation/organisation.js +9 -0
  29. package/dist/primitives/primitives.d.ts +9 -0
  30. package/dist/primitives/primitives.js +16 -0
  31. package/dist/roles/roles.d.ts +1 -0
  32. package/dist/roles/roles.js +3 -0
  33. package/dist/runs/runs.d.ts +2 -2
  34. package/dist/sdk.d.ts +10 -9
  35. package/dist/sdk.js +10 -9
  36. package/dist/skills/skills.d.ts +37 -7
  37. package/dist/skills/skills.js +50 -0
  38. package/dist/sources/sources.d.ts +54 -14
  39. package/dist/sources/sources.js +50 -5
  40. package/dist/tables/tables.d.ts +42 -0
  41. package/dist/tables/tables.js +55 -2
  42. package/dist/tool.d.ts +1 -0
  43. package/dist/tree-order/tree-order.d.ts +2 -2
  44. package/dist/tree-order/tree-order.js +1 -1
  45. package/dist/users/users.d.ts +2 -0
  46. package/dist/users/users.js +3 -2
  47. package/dist/versions/versions.d.ts +13 -13
  48. package/package.json +1 -1
package/dist/sdk.d.ts CHANGED
@@ -17,37 +17,38 @@ export { ActorKind, Event, EventId, EventKind, EventList, EventListInput, EventS
17
17
  export { ExcerptCursor, excerptChars, RowsExcerpt, TextExcerpt } from "./excerpt/excerpt.js";
18
18
  export { FileCreateInput, FileDetail, type FileFormat, FileGetInput, FileId, FileTextState, FileUpdateInput, FileUpload, fileFormatExtensions, fileFormatOf, fileTextStates, maxFileBytes, UploadTicket, uploadTicketHeader, uploadTicketLifetimeMs, } from "./files/files.js";
19
19
  export { FunctionRemoved, ServiceInterfaceFunctionCreateInput, ServiceInterfaceFunctionRemoveInput, ServiceInterfaceFunctionUpdateInput, } from "./functions/functions.js";
20
- export { GadgetCall, GadgetCallCreateInput, GadgetCallEntry, GadgetCallGetInput, GadgetCallItem, GadgetCallList, GadgetCallListInput, GadgetCallStatus, GadgetChange, GadgetClientLog, GadgetConsoleLine, GadgetCreateInput, GadgetDetail, GadgetFile, GadgetFilePath, GadgetFunction, GadgetFunctionName, GadgetGetInput, GadgetLevel, GadgetManifest, GadgetPublishInput, GadgetSettings, GadgetTestHooks, GadgetTestInput, GadgetTestResult, GadgetTestRun, GadgetToolUse, GadgetUpdateInput, GadgetVersionRef, gadgetLimits, gadgetLogDays, TestLimits, testLimits, testLimitsText, } from "./gadgets/gadgets.js";
21
- export { GoalCheck, GoalCreateInput, GoalDetail, GoalFields, GoalFollowUp, GoalGetInput, GoalId, GoalPlanning, GoalPlanStep, GoalReady, GoalReport, GoalRunCancelInput, GoalRunCompleteInput, GoalRunCreateInput, GoalRunDetail, GoalRunGetInput, GoalRunItem, GoalRunList, GoalRunListInput, GoalRunStatus, GoalRunTrigger, GoalRunUpdateInput, GoalSession, GoalUpdateInput, goalPlannings, goalRunStatuses, } from "./goals/goals.js";
20
+ export { GadgetAccess, GadgetCall, GadgetCallCreateInput, GadgetCallEntry, GadgetCallGetInput, GadgetCallItem, GadgetCallList, GadgetCallListInput, GadgetCallStatus, GadgetChange, GadgetClientLog, GadgetConsoleLine, GadgetCreateInput, GadgetDetail, GadgetDiffFile, GadgetFile, GadgetFilePath, GadgetFunction, GadgetFunctionName, GadgetGetInput, GadgetLevel, GadgetManifest, GadgetPublishInput, GadgetRequires, GadgetSettings, GadgetTestHooks, GadgetTestInput, GadgetTestResult, GadgetTestRun, GadgetToolUse, GadgetUpdateInput, GadgetUseRight, GadgetUses, GadgetVersionRef, gadgetLimits, gadgetLogDays, TestLimits, testLimits, testLimitsText, } from "./gadgets/gadgets.js";
21
+ export { GoalCheck, GoalCreateInput, GoalDetail, GoalFields, GoalFollowUp, GoalGetInput, GoalId, GoalPlanning, GoalPlanStep, GoalProof, GoalReady, GoalReport, GoalRunCancelInput, GoalRunCompleteInput, GoalRunCreateInput, GoalRunDetail, GoalRunGetInput, GoalRunItem, GoalRunList, GoalRunListInput, GoalRunStatus, GoalRunTrigger, GoalRunUpdateInput, GoalSession, GoalUpdateInput, goalPlannings, goalRunStatuses, } from "./goals/goals.js";
22
22
  export { type Action, actions, hasRoute, isAction, isPackage, isWord, type Package, packages, parseConnectorFunction, parseToolName, type Resource, type Route, resources, type ToolName, toolAnnotations, toolEvent, toolPermission, toolRoute, toolSchemaName, verbs, } from "./grammar/grammar.js";
23
23
  export { GrantId, GrantRight, NodeGrant, NodeGrantList, NodeGrantListInput, NodeGrantRevoked, NodeGrantRevokeInput, NodeShared, NodeShareInput, } from "./grants/grants.js";
24
+ export { ColabNews, Home, HomeGetInput, HomeSetupState, HomeSetupStep, homeIncludes, homePersonSteps, homeSetupSteps, } from "./home/home.js";
24
25
  export { createId, type Id, idSchema } from "./ids/ids.js";
25
26
  export { Digest, InstructionRead, Instructions, InstructionsLink, InstructionsRead, InstructionText, instructionsNames, isInstructionsName, isKnownText, Known, KnownText, maxKnown, validationSection, } from "./instructions/instructions.js";
26
27
  export { FunctionNames, InterfaceRemoved, ServiceInterfaceCreateInput, ServiceInterfaceDeclared, ServiceInterfaceDeclareInput, ServiceInterfaceRemoveInput, ServiceInterfaceUndeclared, ServiceInterfaceUpdateInput, } from "./interfaces/interfaces.js";
27
28
  export { Delivery, Invitation, InvitationAcceptInput, InvitationCreateInput, InvitationId, InvitationLookup, InvitationLookupQuery, InvitationResendInput, InvitationRevokeInput, InvitationSent, InvitationSocialInput, InvitationStatus, RoleChip, } from "./invitations/invitations.js";
28
- export { defaultLinkDays, LinkId, LinkStatus, maxLinkDays, NodeLink, NodeLinkCreateInput, NodeLinkList, NodeLinkListInput, NodeLinkRevokeInput, NodeLinkUpdateInput, publicLinkPath, } from "./links/links.js";
29
+ 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";
29
30
  export { Flag, Limit } from "./list-input.js";
30
31
  export { MachineArchiveInput, MachineCreateInput, MachineId, MachineKey, MachinePurged, MachinePurgeInput, MachineRestoreInput, MachineRotateInput, MachineUpdateInput, } from "./machines/machines.js";
31
32
  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";
32
33
  export { ChatRead, ChatUpdateInput, Message, MessageAuthor, MessageCreateInput, MessageId, MessageList, MessageListInput, messageMaxLength, } from "./messages/messages.js";
33
34
  export { Missing, MissingCall, MissingCode, missingCodes, Reached, } from "./missing/missing.js";
34
- export { BoardShownKind, BoardSystem, FolderCreated, FolderCreateInput, IntelligenceUser, IntelligenceUserList, IntelligenceUserListInput, NodeDetail, NodeGetInput, NodeHit, NodeHitFoundIn, NodeHitGroup, NodeId, NodeKind, NodeList, NodeListInput, NodeListItem, NodeMoved, NodeMoveInput, NodePath, NodePerson, NodeQuery, NodeReader, NodeSearch, NodeSection, NodeSort, NodeUpdateInput, NodeValidation, nodeKinds, responsibleKinds, SearchIndexState, SecretFields, SecretId, } from "./nodes/nodes.js";
35
- export { ChangeTrigger, Credential, CredentialCreateInput, CredentialGetInput, CredentialId, CredentialKind, CredentialList, CredentialListInput, CredentialRevokeInput, CredentialState, CredentialTested, CredentialTestInput, CredentialTestResult, CredentialUpdateInput, compactRunLimit, GatewayTarget, MachineDisableInput, MachineEnableInput, MachineGetInput, MachineListInput, modelsOf, Operator, OperatorBudget, OperatorLimits, OperatorList, OperatorMachineArchiveInput, OperatorMachineCreateInput, OperatorMachineRestoreInput, OperatorMachineUpdateInput, OperatorModel, type OperatorProviderEntry, OperatorRun, OperatorRunAgents, OperatorRunFallbackReason, OperatorRunGetInput, OperatorRunId, OperatorRunInstructions, OperatorRunList, OperatorRunListInput, OperatorRunReason, OperatorRunStatus, OperatorRunStep, OperatorRunStepKind, OperatorRunStepList, OperatorRunTokens, OperatorRunTouched, OperatorRunTrigger, OperatorRunUsage, OperatorRunWoken, OperatorState, OperatorUser, OperatorUserList, OperatorUserListInput, OperatorUserUpdateInput, operatorDefaults, operatorProviders, PauseReason, RunCancelInput, RunStepListInput, RunUpdateInput, runSummaryChars, Subagents, Trigger, } from "./operators/operators.js";
35
+ export { BoardShownKind, BoardSystem, 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, NodeValidation, nodeKinds, responsibleKinds, SearchIndexState, SecretFields, SecretId, unknownNodeKind, } from "./nodes/nodes.js";
36
+ export { ChangeTrigger, Credential, CredentialCreateInput, CredentialGetInput, CredentialId, CredentialKind, CredentialList, CredentialListInput, CredentialRevokeInput, CredentialState, CredentialTested, CredentialTestInput, CredentialTestResult, CredentialUpdateInput, cacheWritePriceOf, compactRunLimit, type GatewayModel, type GatewayModelEntry, GatewayModelEntrySchema, type GatewayOutputLimit, GatewayRight, GatewayRightCheck, GatewayTarget, gatewayCatalog, gatewayModelOf, KeepStepsDays, MachineDisableInput, MachineEnableInput, MachineGetInput, MachineListInput, modelsOf, Operator, OperatorBudget, OperatorLimits, OperatorList, OperatorMachineArchiveInput, OperatorMachineCreateInput, OperatorMachineRestoreInput, OperatorMachineUpdateInput, OperatorModel, type OperatorProviderEntry, OperatorRun, OperatorRunAgents, OperatorRunCostSource, OperatorRunFallbackReason, OperatorRunGetInput, OperatorRunId, OperatorRunInstructions, OperatorRunList, OperatorRunListInput, OperatorRunReason, OperatorRunStatus, OperatorRunStep, OperatorRunStepKind, OperatorRunStepList, OperatorRunTokens, OperatorRunTouched, OperatorRunTrigger, OperatorRunUsage, OperatorRunWoken, OperatorState, OperatorUser, OperatorUserList, OperatorUserListInput, OperatorUserUpdateInput, operatorDefaults, operatorProviders, outputLimitOf, PauseReason, planAnswerOf, RunCancelInput, RunPlanAnswer, RunPlanStep, RunStepListInput, RunUpdateInput, reasoningEffortOf, runPlanMax, runSummaryChars, Subagents, scheduleQuietMinutes, Trigger, validatorTrigger, } from "./operators/operators.js";
36
37
  export { Currency, CurrencyRate, currencies, Organisation, OrganisationGetInput, OrganisationUpdateInput, } from "./organisation/organisation.js";
37
38
  export { PageDetail, PageGetInput, PageHead, PageHeading, PageId, PageList, PageListInput, PageSummary, } from "./pages/pages.js";
38
- export { IdempotencyKey, Rev } from "./primitives/primitives.js";
39
+ export { AgentName, gatewayAgentsMax, IdempotencyKey, PlanSubstep, planEvidenceMax, Rev, } from "./primitives/primitives.js";
39
40
  export { Locale, locales, Name, ProfileImageResponse, ProfileUpdateInput, profileImageMaxBytes, profileImageTypes, Theme, TimeZone, themes, } from "./profile/profile.js";
40
41
  export { offersSignIn, Provider, ProviderId, ProviderList, ProviderListInput, ProviderRemoveInput, ProviderSource, ProviderTest, ProviderTestInput, ProviderUpdateInput, providerEndpoints, providerIds, SignInProviderId, SignInProviders, signInProviderIds, } from "./providers/providers.js";
41
- export { GrantChange, PermissionsResponse, RightInCode, RightPath, RightTree, Role, RoleArchiveInput, RoleCreateInput, RoleDetail, RoleGetInput, RoleGrantCreateInput, RoleGrantRevokeInput, RoleId, RoleList, RoleListInput, RoleRestoreInput, RoleUpdateInput, } from "./roles/roles.js";
42
+ export { GrantChange, PermissionsResponse, RightInCode, RightPath, RightTree, Role, RoleArchiveInput, RoleCreateInput, RoleDetail, RoleGetInput, RoleGrantCreateInput, RoleGrantRevokeInput, RoleId, RoleList, RoleListInput, RoleRestoreInput, RoleUpdateInput, validatorRoleId, } from "./roles/roles.js";
42
43
  export { RunDetail, RunGetInput, RunId, RunItem, RunList, RunListInput, RunStatus, runStatuses, } from "./runs/runs.js";
43
44
  export { RuntimeConfig } from "./runtime-config.js";
44
45
  export { rhythms, Schedule, WhileOpen, weekdays, weeksOfMonth, whileOpenModes, } from "./schedule/schedule.js";
45
46
  export { NodeSecret, NodeSecretCreateInput, NodeSecretDetail, NodeSecretGetInput, NodeSecretRemoveInput, NodeSecretUpdateInput, NodeUnlocked, NodeUnlockInput, unlockMinutes, } from "./secrets/secrets.js";
46
47
  export { type Authorized, type AuthorizeResult, createServiceClient, type InterfaceDeclaredResult, type InterfaceRemovedResult, type ServiceClient, type ServiceClientDeps, type ServiceClientFailure, } from "./service-client/service-client.js";
47
48
  export { ConsentResource, FunctionId, InterfaceId, RightWord, Service, ServiceArchiveInput, ServiceCreateInput, ServiceFunction, ServiceId, ServiceInterface, ServiceKeyIssued, ServiceList, ServiceListInput, ServiceName, ServicePurged, ServicePurgeInput, ServiceRestoreInput, ServiceRotateInput, ServiceUpdateInput, } from "./services/services.js";
48
- export { SkillCaseResult, SkillCreateInput, SkillDetail, SkillFields, SkillFile, SkillFilePath, SkillGetInput, SkillId, SkillOffer, SkillPoint, SkillRunCall, SkillRunDetail, SkillRunGetInput, SkillRunItem, SkillRunList, SkillRunListInput, SkillTestInput, SkillTestReport, SkillTokens, SkillTriggerHit, SkillUpdateInput, skillCaseStatuses, skillFilePattern, skillRunKinds, skillRunStatuses, } from "./skills/skills.js";
49
+ 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";
49
50
  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, SourceRunGetInput, SourceRunList, SourceRunListInput, SourceSchedule, SourceSecretsInput, SourceStep, SourceTestInput, SourceUpdateInput, SourceVersionRef, SourceWhere, sourceCleans, sourceCodePath, sourceEvery, sourceFieldTypes, sourceKeepDays, sourceLimits, sourceManifestPath, sourceSchema, } from "./sources/sources.js";
50
- export { TableColumn, TableColumnChange, TableColumnType, TableCreateInput, TableDetail, TableExcerpt, TableGetInput, TableId, TableSaved, TableUpdateInput, tableColumnTypes, tableFormats, } from "./tables/tables.js";
51
+ export { maxTableColumns, maxTableRows, RowLimit, TableColumn, TableColumnChange, TableColumnType, TableCreateInput, TableDetail, TableExcerpt, TableFilter, TableGetInput, TableId, TableSaved, TableSort, TableUpdateInput, tableColumnTypes, tableFormats, } from "./tables/tables.js";
51
52
  export { type Actor, defineTool, type Permission, type Tool, type ToolAnnotations, type ToolContext, type ToolInput, type ToolSource, } from "./tool.js";
52
53
  export { compareTreeNames, treeKindOrder, treeKindRank, } from "./tree-order/tree-order.js";
53
54
  export { IntelligenceUserGetInput, IntelligenceUserUpdateInput, NotifyMode, notifyModes, UserSettings, } from "./user-settings/user-settings.js";
package/dist/sdk.js CHANGED
@@ -20,37 +20,38 @@ export { ActorKind, Event, EventId, EventKind, EventList, EventListInput, EventS
20
20
  export { ExcerptCursor, excerptChars, RowsExcerpt, TextExcerpt } from "./excerpt/excerpt.js";
21
21
  export { FileCreateInput, FileDetail, FileGetInput, FileId, FileTextState, FileUpdateInput, FileUpload, fileFormatExtensions, fileFormatOf, fileTextStates, maxFileBytes, UploadTicket, uploadTicketHeader, uploadTicketLifetimeMs, } from "./files/files.js";
22
22
  export { FunctionRemoved, ServiceInterfaceFunctionCreateInput, ServiceInterfaceFunctionRemoveInput, ServiceInterfaceFunctionUpdateInput, } from "./functions/functions.js";
23
- export { GadgetCall, GadgetCallCreateInput, GadgetCallEntry, GadgetCallGetInput, GadgetCallItem, GadgetCallList, GadgetCallListInput, GadgetCallStatus, GadgetChange, GadgetClientLog, GadgetConsoleLine, GadgetCreateInput, GadgetDetail, GadgetFile, GadgetFilePath, GadgetFunction, GadgetFunctionName, GadgetGetInput, GadgetLevel, GadgetManifest, GadgetPublishInput, GadgetSettings, GadgetTestHooks, GadgetTestInput, GadgetTestResult, GadgetTestRun, GadgetToolUse, GadgetUpdateInput, GadgetVersionRef, gadgetLimits, gadgetLogDays, TestLimits, testLimits, testLimitsText, } from "./gadgets/gadgets.js";
24
- export { GoalCheck, GoalCreateInput, GoalDetail, GoalFields, GoalFollowUp, GoalGetInput, GoalId, GoalPlanning, GoalPlanStep, GoalReady, GoalReport, GoalRunCancelInput, GoalRunCompleteInput, GoalRunCreateInput, GoalRunDetail, GoalRunGetInput, GoalRunItem, GoalRunList, GoalRunListInput, GoalRunStatus, GoalRunTrigger, GoalRunUpdateInput, GoalSession, GoalUpdateInput, goalPlannings, goalRunStatuses, } from "./goals/goals.js";
23
+ export { GadgetAccess, GadgetCall, GadgetCallCreateInput, GadgetCallEntry, GadgetCallGetInput, GadgetCallItem, GadgetCallList, GadgetCallListInput, GadgetCallStatus, GadgetChange, GadgetClientLog, GadgetConsoleLine, GadgetCreateInput, GadgetDetail, GadgetDiffFile, GadgetFile, GadgetFilePath, GadgetFunction, GadgetFunctionName, GadgetGetInput, GadgetLevel, GadgetManifest, GadgetPublishInput, GadgetRequires, GadgetSettings, GadgetTestHooks, GadgetTestInput, GadgetTestResult, GadgetTestRun, GadgetToolUse, GadgetUpdateInput, GadgetUseRight, GadgetUses, GadgetVersionRef, gadgetLimits, gadgetLogDays, TestLimits, testLimits, testLimitsText, } from "./gadgets/gadgets.js";
24
+ export { GoalCheck, GoalCreateInput, GoalDetail, GoalFields, GoalFollowUp, GoalGetInput, GoalId, GoalPlanning, GoalPlanStep, GoalProof, GoalReady, GoalReport, GoalRunCancelInput, GoalRunCompleteInput, GoalRunCreateInput, GoalRunDetail, GoalRunGetInput, GoalRunItem, GoalRunList, GoalRunListInput, GoalRunStatus, GoalRunTrigger, GoalRunUpdateInput, GoalSession, GoalUpdateInput, goalPlannings, goalRunStatuses, } from "./goals/goals.js";
25
25
  export { actions, hasRoute, isAction, isPackage, isWord, packages, parseConnectorFunction, parseToolName, resources, toolAnnotations, toolEvent, toolPermission, toolRoute, toolSchemaName, verbs, } from "./grammar/grammar.js";
26
26
  export { GrantId, GrantRight, NodeGrant, NodeGrantList, NodeGrantListInput, NodeGrantRevoked, NodeGrantRevokeInput, NodeShared, NodeShareInput, } from "./grants/grants.js";
27
+ export { ColabNews, Home, HomeGetInput, HomeSetupState, HomeSetupStep, homeIncludes, homePersonSteps, homeSetupSteps, } from "./home/home.js";
27
28
  export { createId, idSchema } from "./ids/ids.js";
28
29
  export { Digest, InstructionRead, Instructions, InstructionsLink, InstructionsRead, InstructionText, instructionsNames, isInstructionsName, isKnownText, Known, KnownText, maxKnown, validationSection, } from "./instructions/instructions.js";
29
30
  export { FunctionNames, InterfaceRemoved, ServiceInterfaceCreateInput, ServiceInterfaceDeclared, ServiceInterfaceDeclareInput, ServiceInterfaceRemoveInput, ServiceInterfaceUndeclared, ServiceInterfaceUpdateInput, } from "./interfaces/interfaces.js";
30
31
  export { Delivery, Invitation, InvitationAcceptInput, InvitationCreateInput, InvitationId, InvitationLookup, InvitationLookupQuery, InvitationResendInput, InvitationRevokeInput, InvitationSent, InvitationSocialInput, InvitationStatus, RoleChip, } from "./invitations/invitations.js";
31
- export { defaultLinkDays, LinkId, LinkStatus, maxLinkDays, NodeLink, NodeLinkCreateInput, NodeLinkList, NodeLinkListInput, NodeLinkRevokeInput, NodeLinkUpdateInput, publicLinkPath, } from "./links/links.js";
32
+ 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";
32
33
  export { Flag, Limit } from "./list-input.js";
33
34
  export { MachineArchiveInput, MachineCreateInput, MachineId, MachineKey, MachinePurged, MachinePurgeInput, MachineRestoreInput, MachineRotateInput, MachineUpdateInput, } from "./machines/machines.js";
34
35
  export { Mcp, McpAuth, McpCall, McpCallAction, McpCallList, McpCallListInput, McpCatalogId, McpCreateInput, McpGetInput, McpId, McpList, McpListInput, McpRevokeInput, McpState, McpTestInput, McpTool, McpUpdateInput, mcpCatalog, } from "./mcps/mcps.js";
35
36
  export { ChatRead, ChatUpdateInput, Message, MessageAuthor, MessageCreateInput, MessageId, MessageList, MessageListInput, messageMaxLength, } from "./messages/messages.js";
36
37
  export { Missing, MissingCall, MissingCode, missingCodes, Reached, } from "./missing/missing.js";
37
- export { BoardShownKind, BoardSystem, FolderCreated, FolderCreateInput, IntelligenceUser, IntelligenceUserList, IntelligenceUserListInput, NodeDetail, NodeGetInput, NodeHit, NodeHitFoundIn, NodeHitGroup, NodeId, NodeKind, NodeList, NodeListInput, NodeListItem, NodeMoved, NodeMoveInput, NodePath, NodePerson, NodeQuery, NodeReader, NodeSearch, NodeSection, NodeSort, NodeUpdateInput, NodeValidation, nodeKinds, responsibleKinds, SearchIndexState, SecretFields, SecretId, } from "./nodes/nodes.js";
38
- export { ChangeTrigger, Credential, CredentialCreateInput, CredentialGetInput, CredentialId, CredentialKind, CredentialList, CredentialListInput, CredentialRevokeInput, CredentialState, CredentialTested, CredentialTestInput, CredentialTestResult, CredentialUpdateInput, compactRunLimit, GatewayTarget, MachineDisableInput, MachineEnableInput, MachineGetInput, MachineListInput, modelsOf, Operator, OperatorBudget, OperatorLimits, OperatorList, OperatorMachineArchiveInput, OperatorMachineCreateInput, OperatorMachineRestoreInput, OperatorMachineUpdateInput, OperatorModel, OperatorRun, OperatorRunAgents, OperatorRunFallbackReason, OperatorRunGetInput, OperatorRunId, OperatorRunInstructions, OperatorRunList, OperatorRunListInput, OperatorRunReason, OperatorRunStatus, OperatorRunStep, OperatorRunStepKind, OperatorRunStepList, OperatorRunTokens, OperatorRunTouched, OperatorRunTrigger, OperatorRunUsage, OperatorRunWoken, OperatorState, OperatorUser, OperatorUserList, OperatorUserListInput, OperatorUserUpdateInput, operatorDefaults, operatorProviders, PauseReason, RunCancelInput, RunStepListInput, RunUpdateInput, runSummaryChars, Subagents, Trigger, } from "./operators/operators.js";
38
+ export { BoardShownKind, BoardSystem, 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, NodeValidation, nodeKinds, responsibleKinds, SearchIndexState, SecretFields, SecretId, unknownNodeKind, } from "./nodes/nodes.js";
39
+ export { ChangeTrigger, Credential, CredentialCreateInput, CredentialGetInput, CredentialId, CredentialKind, CredentialList, CredentialListInput, CredentialRevokeInput, CredentialState, CredentialTested, CredentialTestInput, CredentialTestResult, CredentialUpdateInput, cacheWritePriceOf, compactRunLimit, GatewayModelEntrySchema, GatewayRight, GatewayRightCheck, GatewayTarget, gatewayCatalog, gatewayModelOf, KeepStepsDays, MachineDisableInput, MachineEnableInput, MachineGetInput, MachineListInput, modelsOf, Operator, OperatorBudget, OperatorLimits, OperatorList, OperatorMachineArchiveInput, OperatorMachineCreateInput, OperatorMachineRestoreInput, OperatorMachineUpdateInput, OperatorModel, OperatorRun, OperatorRunAgents, OperatorRunCostSource, OperatorRunFallbackReason, OperatorRunGetInput, OperatorRunId, OperatorRunInstructions, OperatorRunList, OperatorRunListInput, OperatorRunReason, OperatorRunStatus, OperatorRunStep, OperatorRunStepKind, OperatorRunStepList, OperatorRunTokens, OperatorRunTouched, OperatorRunTrigger, OperatorRunUsage, OperatorRunWoken, OperatorState, OperatorUser, OperatorUserList, OperatorUserListInput, OperatorUserUpdateInput, operatorDefaults, operatorProviders, outputLimitOf, PauseReason, planAnswerOf, RunCancelInput, RunPlanAnswer, RunPlanStep, RunStepListInput, RunUpdateInput, reasoningEffortOf, runPlanMax, runSummaryChars, Subagents, scheduleQuietMinutes, Trigger, validatorTrigger, } from "./operators/operators.js";
39
40
  export { Currency, CurrencyRate, currencies, Organisation, OrganisationGetInput, OrganisationUpdateInput, } from "./organisation/organisation.js";
40
41
  export { PageDetail, PageGetInput, PageHead, PageHeading, PageId, PageList, PageListInput, PageSummary, } from "./pages/pages.js";
41
- export { IdempotencyKey, Rev } from "./primitives/primitives.js";
42
+ export { AgentName, gatewayAgentsMax, IdempotencyKey, PlanSubstep, planEvidenceMax, Rev, } from "./primitives/primitives.js";
42
43
  export { Locale, locales, Name, ProfileImageResponse, ProfileUpdateInput, profileImageMaxBytes, profileImageTypes, Theme, TimeZone, themes, } from "./profile/profile.js";
43
44
  export { offersSignIn, Provider, ProviderId, ProviderList, ProviderListInput, ProviderRemoveInput, ProviderSource, ProviderTest, ProviderTestInput, ProviderUpdateInput, providerEndpoints, providerIds, SignInProviderId, SignInProviders, signInProviderIds, } from "./providers/providers.js";
44
- export { GrantChange, PermissionsResponse, RightInCode, RightPath, RightTree, Role, RoleArchiveInput, RoleCreateInput, RoleDetail, RoleGetInput, RoleGrantCreateInput, RoleGrantRevokeInput, RoleId, RoleList, RoleListInput, RoleRestoreInput, RoleUpdateInput, } from "./roles/roles.js";
45
+ export { GrantChange, PermissionsResponse, RightInCode, RightPath, RightTree, Role, RoleArchiveInput, RoleCreateInput, RoleDetail, RoleGetInput, RoleGrantCreateInput, RoleGrantRevokeInput, RoleId, RoleList, RoleListInput, RoleRestoreInput, RoleUpdateInput, validatorRoleId, } from "./roles/roles.js";
45
46
  export { RunDetail, RunGetInput, RunId, RunItem, RunList, RunListInput, RunStatus, runStatuses, } from "./runs/runs.js";
46
47
  export { RuntimeConfig } from "./runtime-config.js";
47
48
  export { rhythms, Schedule, WhileOpen, weekdays, weeksOfMonth, whileOpenModes, } from "./schedule/schedule.js";
48
49
  export { NodeSecret, NodeSecretCreateInput, NodeSecretDetail, NodeSecretGetInput, NodeSecretRemoveInput, NodeSecretUpdateInput, NodeUnlocked, NodeUnlockInput, unlockMinutes, } from "./secrets/secrets.js";
49
50
  export { createServiceClient, } from "./service-client/service-client.js";
50
51
  export { ConsentResource, FunctionId, InterfaceId, RightWord, Service, ServiceArchiveInput, ServiceCreateInput, ServiceFunction, ServiceId, ServiceInterface, ServiceKeyIssued, ServiceList, ServiceListInput, ServiceName, ServicePurged, ServicePurgeInput, ServiceRestoreInput, ServiceRotateInput, ServiceUpdateInput, } from "./services/services.js";
51
- export { SkillCaseResult, SkillCreateInput, SkillDetail, SkillFields, SkillFile, SkillFilePath, SkillGetInput, SkillId, SkillOffer, SkillPoint, SkillRunCall, SkillRunDetail, SkillRunGetInput, SkillRunItem, SkillRunList, SkillRunListInput, SkillTestInput, SkillTestReport, SkillTokens, SkillTriggerHit, SkillUpdateInput, skillCaseStatuses, skillFilePattern, skillRunKinds, skillRunStatuses, } from "./skills/skills.js";
52
+ 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";
52
53
  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, SourceRunGetInput, SourceRunList, SourceRunListInput, SourceSchedule, SourceSecretsInput, SourceStep, SourceTestInput, SourceUpdateInput, SourceVersionRef, SourceWhere, sourceCleans, sourceCodePath, sourceEvery, sourceFieldTypes, sourceKeepDays, sourceLimits, sourceManifestPath, sourceSchema, } from "./sources/sources.js";
53
- export { TableColumn, TableColumnChange, TableColumnType, TableCreateInput, TableDetail, TableExcerpt, TableGetInput, TableId, TableSaved, TableUpdateInput, tableColumnTypes, tableFormats, } from "./tables/tables.js";
54
+ export { maxTableColumns, maxTableRows, RowLimit, TableColumn, TableColumnChange, TableColumnType, TableCreateInput, TableDetail, TableExcerpt, TableFilter, TableGetInput, TableId, TableSaved, TableSort, TableUpdateInput, tableColumnTypes, tableFormats, } from "./tables/tables.js";
54
55
  export { defineTool, } from "./tool.js";
55
56
  export { compareTreeNames, treeKindOrder, treeKindRank, } from "./tree-order/tree-order.js";
56
57
  export { IntelligenceUserGetInput, IntelligenceUserUpdateInput, NotifyMode, notifyModes, UserSettings, } from "./user-settings/user-settings.js";
@@ -54,12 +54,20 @@ export declare const SkillFile: z.ZodObject<{
54
54
  path: z.ZodString;
55
55
  content: z.ZodString;
56
56
  }, z.core.$strip>;
57
+ export declare const SkillCallName: z.ZodString;
58
+ export declare const SkillWriteName: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
59
+ export declare const SkillCaseCalls: z.ZodObject<{
60
+ echt: z.ZodOptional<z.ZodArray<z.ZodString>>;
61
+ mock: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
62
+ schreibt: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>>;
63
+ }, z.core.$strict>;
64
+ export type SkillCaseCalls = z.infer<typeof SkillCaseCalls>;
57
65
  export type SkillFile = z.infer<typeof SkillFile>;
58
66
  export declare const SkillPoint: z.ZodObject<{
59
67
  text: z.ZodString;
60
68
  kind: z.ZodEnum<{
61
- expected: "expected";
62
69
  result: "result";
70
+ expected: "expected";
63
71
  }>;
64
72
  ok: z.ZodBoolean;
65
73
  reason: z.ZodNullable<z.ZodString>;
@@ -86,8 +94,8 @@ export declare const SkillCaseResult: z.ZodObject<{
86
94
  points: z.ZodArray<z.ZodObject<{
87
95
  text: z.ZodString;
88
96
  kind: z.ZodEnum<{
89
- expected: "expected";
90
97
  result: "result";
98
+ expected: "expected";
91
99
  }>;
92
100
  ok: z.ZodBoolean;
93
101
  reason: z.ZodNullable<z.ZodString>;
@@ -180,8 +188,8 @@ export declare const SkillTestReport: z.ZodObject<{
180
188
  points: z.ZodArray<z.ZodObject<{
181
189
  text: z.ZodString;
182
190
  kind: z.ZodEnum<{
183
- expected: "expected";
184
191
  result: "result";
192
+ expected: "expected";
185
193
  }>;
186
194
  ok: z.ZodBoolean;
187
195
  reason: z.ZodNullable<z.ZodString>;
@@ -205,6 +213,7 @@ export declare const SkillTestReport: z.ZodObject<{
205
213
  excluded: z.ZodOptional<z.ZodArray<z.ZodString>>;
206
214
  }, z.core.$strip>>;
207
215
  problem: z.ZodNullable<z.ZodString>;
216
+ uses: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
208
217
  }, z.core.$strip>;
209
218
  export type SkillTestReport = z.infer<typeof SkillTestReport>;
210
219
  export declare const SkillDetail: z.ZodObject<{
@@ -293,8 +302,8 @@ export declare const SkillDetail: z.ZodObject<{
293
302
  points: z.ZodArray<z.ZodObject<{
294
303
  text: z.ZodString;
295
304
  kind: z.ZodEnum<{
296
- expected: "expected";
297
305
  result: "result";
306
+ expected: "expected";
298
307
  }>;
299
308
  ok: z.ZodBoolean;
300
309
  reason: z.ZodNullable<z.ZodString>;
@@ -318,6 +327,7 @@ export declare const SkillDetail: z.ZodObject<{
318
327
  excluded: z.ZodOptional<z.ZodArray<z.ZodString>>;
319
328
  }, z.core.$strip>>;
320
329
  problem: z.ZodNullable<z.ZodString>;
330
+ uses: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
321
331
  }, z.core.$strip>>;
322
332
  rights: z.ZodObject<{
323
333
  write: z.ZodBoolean;
@@ -357,8 +367,8 @@ export declare const SkillRunItem: z.ZodObject<{
357
367
  open: "open";
358
368
  failed: "failed";
359
369
  passed: "passed";
360
- reached: "reached";
361
370
  missing: "missing";
371
+ reached: "reached";
362
372
  missed: "missed";
363
373
  }>;
364
374
  startedAt: z.ZodISODateTime;
@@ -410,8 +420,8 @@ export declare const SkillRunDetail: z.ZodObject<{
410
420
  open: "open";
411
421
  failed: "failed";
412
422
  passed: "passed";
413
- reached: "reached";
414
423
  missing: "missing";
424
+ reached: "reached";
415
425
  missed: "missed";
416
426
  }>;
417
427
  startedAt: z.ZodISODateTime;
@@ -464,8 +474,8 @@ export declare const SkillRunList: z.ZodObject<{
464
474
  open: "open";
465
475
  failed: "failed";
466
476
  passed: "passed";
467
- reached: "reached";
468
477
  missing: "missing";
478
+ reached: "reached";
469
479
  missed: "missed";
470
480
  }>;
471
481
  startedAt: z.ZodISODateTime;
@@ -489,3 +499,23 @@ export declare const SkillOffer: z.ZodObject<{
489
499
  trigger: z.ZodString;
490
500
  }, z.core.$strip>;
491
501
  export type SkillOffer = z.infer<typeof SkillOffer>;
502
+ export declare const SkillTokenCreateInput: z.ZodObject<{
503
+ skillId: z.ZodTemplateLiteral<`node_${string}`>;
504
+ scope: z.ZodEnum<{
505
+ write: "write";
506
+ read: "read";
507
+ }>;
508
+ seconds: z.ZodOptional<z.ZodInt>;
509
+ }, z.core.$strict>;
510
+ export type SkillTokenCreateInput = z.infer<typeof SkillTokenCreateInput>;
511
+ export declare const SkillToken: z.ZodObject<{
512
+ skillId: z.ZodTemplateLiteral<`node_${string}`>;
513
+ url: z.ZodString;
514
+ token: z.ZodString;
515
+ scope: z.ZodEnum<{
516
+ write: "write";
517
+ read: "read";
518
+ }>;
519
+ expiresAt: z.ZodISODateTime;
520
+ }, z.core.$strip>;
521
+ export type SkillToken = z.infer<typeof SkillToken>;
@@ -86,6 +86,30 @@ export const SkillRunListInput = z.strictObject({
86
86
  });
87
87
  export const SkillRunGetInput = z.strictObject({ skillId: SkillId, runId: RunId });
88
88
  export const SkillFile = z.object({ path: z.string(), content: z.string() });
89
+ // A call a test case declares (E180, #954): a gadget's function as `<gadget>.<function>` (the
90
+ // gadget's name written like a case's folder) or a connector's tool as
91
+ // `<connector>.<resource>.<action>`.
92
+ export const SkillCallName = z
93
+ .string()
94
+ .max(140)
95
+ .regex(/^(?:[a-z0-9][a-z0-9-]{0,63}\.[A-Za-z_$][A-Za-z0-9_$]{0,63}|[a-z0-9]+\.[a-z]+\.[a-z]+)$/, {
96
+ error: "A call is named <gadget>.<function> (crm.updateLead) or <connector>.<resource>.<action> (emdash.post.create).",
97
+ });
98
+ // What a case expects to write: a tool of Colab by its name, a gadget's or a connector's call as
99
+ // above.
100
+ export const SkillWriteName = z.union([
101
+ SkillCallName,
102
+ z.string().regex(/^[a-z]+(?:_[a-z]+){2,4}$/, {
103
+ error: "A write of Colab is named by its tool, like intelligence_board_task_create.",
104
+ }),
105
+ ]);
106
+ // The calls of a case in evals.yaml (E180): which run for real, which answer a mock, what it writes.
107
+ // Strict: a misspelt key in a hand-written file must be refused, not dropped.
108
+ export const SkillCaseCalls = z.strictObject({
109
+ echt: z.array(SkillCallName).max(100).optional(),
110
+ mock: z.record(SkillCallName, z.unknown()).optional(),
111
+ schreibt: z.array(SkillWriteName).max(100).optional(),
112
+ });
89
113
  // One point a case is checked against: a line of the result, or one it expects in addition.
90
114
  export const SkillPoint = z.object({
91
115
  text: z.string(),
@@ -168,6 +192,9 @@ export const SkillTestReport = z.object({
168
192
  cases: z.array(SkillCaseResult),
169
193
  // What evals.yaml got wrong, a sentence; null when it reads.
170
194
  problem: z.string().nullable(),
195
+ // What the cases declare under echt and mock, by name, with the state each was tested against (a
196
+ // gadget's live version, a connector tool's schema); a change of one starts the test again (E180).
197
+ uses: z.record(z.string(), z.string()).optional(),
171
198
  });
172
199
  export const SkillDetail = z.object({
173
200
  skillId: SkillId,
@@ -266,3 +293,26 @@ export const SkillOffer = z.object({
266
293
  name: z.string(),
267
294
  trigger: z.string(),
268
295
  });
296
+ // A Git token of the skill's repository (E215, #976): for `git clone` (read) or `git push` (write)
297
+ // from outside, for whoever may change the skill, never stored and never in a protocol.
298
+ export const SkillTokenCreateInput = z.strictObject({
299
+ skillId: SkillId,
300
+ scope: z
301
+ .enum(["read", "write"])
302
+ .describe("read for git clone and git fetch, write also for git push."),
303
+ seconds: z
304
+ .int()
305
+ .min(60)
306
+ .max(3600)
307
+ .optional()
308
+ .describe("How long the token holds, 60 to 3600 seconds; 900 when left out."),
309
+ });
310
+ export const SkillToken = z.object({
311
+ skillId: SkillId,
312
+ url: z.string().describe("The repository's address for git."),
313
+ token: z
314
+ .string()
315
+ .describe("The secret, as the password of Basic auth with any user name: https://x:<token>@…"),
316
+ scope: z.enum(["read", "write"]),
317
+ expiresAt: z.iso.datetime(),
318
+ });
@@ -188,11 +188,11 @@ export type SourceSchedule = z.infer<typeof SourceSchedule>;
188
188
  export declare const SourceWhere: z.ZodObject<{
189
189
  field: z.ZodString;
190
190
  op: z.ZodEnum<{
191
+ contains: "contains";
191
192
  eq: "eq";
192
193
  ne: "ne";
193
194
  gte: "gte";
194
195
  lte: "lte";
195
- contains: "contains";
196
196
  }>;
197
197
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
198
198
  }, z.core.$strict>;
@@ -205,6 +205,13 @@ export declare const SourceCreateInput: z.ZodObject<{
205
205
  }>>;
206
206
  name: z.ZodString;
207
207
  files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
208
+ from: z.ZodOptional<z.ZodObject<{
209
+ sourceId: z.ZodTemplateLiteral<`node_${string}`>;
210
+ as: z.ZodEnum<{
211
+ link: "link";
212
+ copy: "copy";
213
+ }>;
214
+ }, z.core.$strict>>;
208
215
  idempotencyKey: z.ZodString;
209
216
  }, z.core.$strict>;
210
217
  export type SourceCreateInput = z.infer<typeof SourceCreateInput>;
@@ -238,6 +245,7 @@ export declare const SourceUpdateInput: z.ZodObject<{
238
245
  }>>;
239
246
  keepDays: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<30>, z.ZodLiteral<90>, z.ZodLiteral<180>]>>;
240
247
  logDays: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<7>, z.ZodLiteral<14>, z.ZodLiteral<30>]>>;
248
+ original: z.ZodOptional<z.ZodNull>;
241
249
  }, z.core.$strict>>;
242
250
  rev: z.ZodNumber;
243
251
  }, z.core.$strict>;
@@ -290,11 +298,11 @@ export declare const SourceQueryCreateInput: z.ZodObject<{
290
298
  where: z.ZodOptional<z.ZodArray<z.ZodObject<{
291
299
  field: z.ZodString;
292
300
  op: z.ZodEnum<{
301
+ contains: "contains";
293
302
  eq: "eq";
294
303
  ne: "ne";
295
304
  gte: "gte";
296
305
  lte: "lte";
297
- contains: "contains";
298
306
  }>;
299
307
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
300
308
  }, z.core.$strict>>>;
@@ -328,11 +336,11 @@ export declare const SourceQueryUpdateInput: z.ZodObject<{
328
336
  where: z.ZodOptional<z.ZodArray<z.ZodObject<{
329
337
  field: z.ZodString;
330
338
  op: z.ZodEnum<{
339
+ contains: "contains";
331
340
  eq: "eq";
332
341
  ne: "ne";
333
342
  gte: "gte";
334
343
  lte: "lte";
335
- contains: "contains";
336
344
  }>;
337
345
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
338
346
  }, z.core.$strict>>>;
@@ -372,6 +380,11 @@ export declare const SourceRunCreateInput: z.ZodObject<{
372
380
  queryId: z.ZodTemplateLiteral<`query_${string}`>;
373
381
  }, z.core.$strict>;
374
382
  export type SourceRunCreateInput = z.infer<typeof SourceRunCreateInput>;
383
+ export declare const SourceItemSort: z.ZodEnum<{
384
+ oldest: "oldest";
385
+ newest: "newest";
386
+ }>;
387
+ export type SourceItemSort = z.infer<typeof SourceItemSort>;
375
388
  export declare const SourceItemListInput: z.ZodObject<{
376
389
  sourceId: z.ZodTemplateLiteral<`node_${string}`>;
377
390
  queryId: z.ZodOptional<z.ZodTemplateLiteral<`query_${string}`>>;
@@ -380,14 +393,18 @@ export declare const SourceItemListInput: z.ZodObject<{
380
393
  where: z.ZodOptional<z.ZodPreprocess<z.ZodArray<z.ZodObject<{
381
394
  field: z.ZodString;
382
395
  op: z.ZodEnum<{
396
+ contains: "contains";
383
397
  eq: "eq";
384
398
  ne: "ne";
385
399
  gte: "gte";
386
400
  lte: "lte";
387
- contains: "contains";
388
401
  }>;
389
402
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
390
403
  }, z.core.$strict>>, unknown>>;
404
+ sort: z.ZodOptional<z.ZodEnum<{
405
+ oldest: "oldest";
406
+ newest: "newest";
407
+ }>>;
391
408
  limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
392
409
  }, z.core.$strict>;
393
410
  export type SourceItemListInput = z.infer<typeof SourceItemListInput>;
@@ -416,15 +433,24 @@ export declare const SourceRunFailure: z.ZodEnum<{
416
433
  code: "code";
417
434
  host: "host";
418
435
  }>;
436
+ export declare const sourceRunTriggers: readonly ["schedule", "play", "probe"];
437
+ export declare const SourceRunTriggerRead: z.ZodCatch<z.ZodEnum<{
438
+ unknown: "unknown";
439
+ schedule: "schedule";
440
+ probe: "probe";
441
+ play: "play";
442
+ }>>;
419
443
  export declare const SourceRun: z.ZodObject<{
420
444
  runId: z.ZodTemplateLiteral<`run_${string}`>;
421
445
  sourceId: z.ZodTemplateLiteral<`node_${string}`>;
422
- queryId: z.ZodTemplateLiteral<`query_${string}`>;
446
+ queryId: z.ZodCatch<z.ZodNullable<z.ZodTemplateLiteral<`query_${string}`>>>;
423
447
  instance: z.ZodString;
424
- trigger: z.ZodEnum<{
448
+ trigger: z.ZodCatch<z.ZodEnum<{
449
+ unknown: "unknown";
425
450
  schedule: "schedule";
451
+ probe: "probe";
426
452
  play: "play";
427
- }>;
453
+ }>>;
428
454
  by: z.ZodNullable<z.ZodObject<{
429
455
  userId: z.ZodString;
430
456
  name: z.ZodNullable<z.ZodString>;
@@ -434,6 +460,8 @@ export declare const SourceRun: z.ZodObject<{
434
460
  }>>;
435
461
  }, z.core.$strip>>;
436
462
  version: z.ZodNullable<z.ZodNumber>;
463
+ draft: z.ZodBoolean;
464
+ items: z.ZodNullable<z.ZodNumber>;
437
465
  status: z.ZodEnum<{
438
466
  running: "running";
439
467
  succeeded: "succeeded";
@@ -472,12 +500,14 @@ export declare const SourceRunList: z.ZodObject<{
472
500
  items: z.ZodArray<z.ZodObject<{
473
501
  runId: z.ZodTemplateLiteral<`run_${string}`>;
474
502
  sourceId: z.ZodTemplateLiteral<`node_${string}`>;
475
- queryId: z.ZodTemplateLiteral<`query_${string}`>;
503
+ queryId: z.ZodCatch<z.ZodNullable<z.ZodTemplateLiteral<`query_${string}`>>>;
476
504
  instance: z.ZodString;
477
- trigger: z.ZodEnum<{
505
+ trigger: z.ZodCatch<z.ZodEnum<{
506
+ unknown: "unknown";
478
507
  schedule: "schedule";
508
+ probe: "probe";
479
509
  play: "play";
480
- }>;
510
+ }>>;
481
511
  by: z.ZodNullable<z.ZodObject<{
482
512
  userId: z.ZodString;
483
513
  name: z.ZodNullable<z.ZodString>;
@@ -487,6 +517,8 @@ export declare const SourceRunList: z.ZodObject<{
487
517
  }>>;
488
518
  }, z.core.$strip>>;
489
519
  version: z.ZodNullable<z.ZodNumber>;
520
+ draft: z.ZodBoolean;
521
+ items: z.ZodNullable<z.ZodNumber>;
490
522
  status: z.ZodEnum<{
491
523
  running: "running";
492
524
  succeeded: "succeeded";
@@ -549,11 +581,11 @@ export declare const SourceQuery: z.ZodObject<{
549
581
  where: z.ZodArray<z.ZodObject<{
550
582
  field: z.ZodString;
551
583
  op: z.ZodEnum<{
584
+ contains: "contains";
552
585
  eq: "eq";
553
586
  ne: "ne";
554
587
  gte: "gte";
555
588
  lte: "lte";
556
- contains: "contains";
557
589
  }>;
558
590
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
559
591
  }, z.core.$strict>>;
@@ -601,11 +633,11 @@ export declare const SourceQueryList: z.ZodObject<{
601
633
  where: z.ZodArray<z.ZodObject<{
602
634
  field: z.ZodString;
603
635
  op: z.ZodEnum<{
636
+ contains: "contains";
604
637
  eq: "eq";
605
638
  ne: "ne";
606
639
  gte: "gte";
607
640
  lte: "lte";
608
- contains: "contains";
609
641
  }>;
610
642
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
611
643
  }, z.core.$strict>>;
@@ -870,11 +902,11 @@ export declare const SourceDetail: z.ZodObject<{
870
902
  name: z.ZodString;
871
903
  durationMs: z.ZodNumber;
872
904
  code: z.ZodNullable<z.ZodEnum<{
905
+ unavailable: "unavailable";
873
906
  not_found: "not_found";
874
907
  invalid: "invalid";
875
908
  conflict: "conflict";
876
909
  unauthenticated: "unauthenticated";
877
- unavailable: "unavailable";
878
910
  }>>;
879
911
  }, z.core.$strip>>>;
880
912
  }, z.core.$strip>>;
@@ -885,11 +917,11 @@ export declare const SourceDetail: z.ZodObject<{
885
917
  name: z.ZodString;
886
918
  durationMs: z.ZodNumber;
887
919
  code: z.ZodNullable<z.ZodEnum<{
920
+ unavailable: "unavailable";
888
921
  not_found: "not_found";
889
922
  invalid: "invalid";
890
923
  conflict: "conflict";
891
924
  unauthenticated: "unauthenticated";
892
- unavailable: "unavailable";
893
925
  }>>;
894
926
  }, z.core.$strip>>;
895
927
  }, z.core.$strip>>>;
@@ -929,6 +961,14 @@ export declare const SourceDetail: z.ZodObject<{
929
961
  }, z.core.$strip>>;
930
962
  }, z.core.$strip>>;
931
963
  pausedAt: z.ZodNullable<z.ZodISODateTime>;
964
+ link: z.ZodOptional<z.ZodNullable<z.ZodObject<{
965
+ originalId: z.ZodTemplateLiteral<`node_${string}`>;
966
+ name: z.ZodNullable<z.ZodString>;
967
+ }, z.core.$strip>>>;
968
+ links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
969
+ sourceId: z.ZodTemplateLiteral<`node_${string}`>;
970
+ name: z.ZodNullable<z.ZodString>;
971
+ }, z.core.$strip>>>>;
932
972
  rights: z.ZodObject<{
933
973
  write: z.ZodBoolean;
934
974
  }, z.core.$strip>;