@anchrd/colab-sdk 0.1.32 → 0.1.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/actions/actions.d.ts +46 -17
- package/dist/actions/actions.js +10 -0
- package/dist/archive/archive.d.ts +10 -0
- package/dist/archive/archive.js +9 -0
- package/dist/boards/boards.d.ts +29 -25
- package/dist/boards/boards.js +3 -2
- package/dist/card-kinds/card-kinds.d.ts +5 -5
- package/dist/columns/columns.d.ts +2 -2
- package/dist/connectors/connectors.d.ts +37 -3
- package/dist/connectors/connectors.js +6 -2
- package/dist/crawls/crawls.d.ts +3 -3
- package/dist/documents/documents.d.ts +4 -0
- package/dist/documents/documents.js +3 -2
- package/dist/error/error.d.ts +1 -0
- package/dist/error/error.js +8 -1
- package/dist/files/files.d.ts +4 -0
- package/dist/files/files.js +3 -2
- package/dist/gadgets/gadgets.d.ts +44 -0
- package/dist/gadgets/gadgets.js +35 -5
- package/dist/goals/goals.d.ts +7 -0
- package/dist/goals/goals.js +7 -5
- package/dist/grammar/grammar.d.ts +2 -1
- package/dist/grammar/grammar.js +9 -3
- package/dist/mcps/mcps.d.ts +41 -3
- package/dist/mcps/mcps.js +53 -3
- package/dist/nodes/nodes.d.ts +21 -9
- package/dist/nodes/nodes.js +16 -2
- package/dist/operators/operators.js +1 -1
- package/dist/organisation/organisation.d.ts +45 -0
- package/dist/organisation/organisation.js +45 -0
- package/dist/profile/profile.d.ts +3 -3
- package/dist/profile/profile.js +3 -2
- package/dist/providers/providers.d.ts +128 -0
- package/dist/providers/providers.js +118 -0
- package/dist/runs/runs.d.ts +3 -3
- package/dist/runtime-config.d.ts +12 -0
- package/dist/runtime-config.js +10 -0
- package/dist/sdk.d.ts +5 -4
- package/dist/sdk.js +5 -4
- package/dist/skills/skills.d.ts +4 -0
- package/dist/skills/skills.js +3 -2
- package/dist/sources/sources.d.ts +19 -4
- package/dist/sources/sources.js +8 -3
- package/dist/tables/tables.d.ts +4 -0
- package/dist/tables/tables.js +3 -2
- package/dist/versions/versions.d.ts +13 -13
- package/dist/written/written.d.ts +5 -2
- package/dist/written/written.js +2 -2
- package/package.json +1 -1
- package/dist/sso/sso.d.ts +0 -71
- package/dist/sso/sso.js +0 -59
package/dist/sdk.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { ActionAbort, ActionAbortReason, ActionChat, ActionGadget, 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 { 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";
|
|
2
2
|
export { adminModeHeader, adminModeOn } from "./admin-mode.js";
|
|
3
3
|
export { App, AppId, AppList, AppListInput, AppRevoked, AppRevokeInput, OwnAppListQuery, OwnSessionListQuery, Session, SessionId, SessionList, SessionListInput, SessionRevokeInput, SessionsRevoked, } from "./apps/apps.js";
|
|
4
|
-
export { NodeArchived, NodeArchiveInput, NodePurged, NodePurgeInput, NodeRestoreInput, } from "./archive/archive.js";
|
|
4
|
+
export { ArchivedGoalLink, NodeArchived, NodeArchiveInput, NodePurged, NodePurgeInput, NodeRestoreInput, } from "./archive/archive.js";
|
|
5
5
|
export { PasskeyDeleteInput, SetPasswordInput, SignUpInput, } from "./auth/auth.js";
|
|
6
6
|
export { AuthorizationRequest, AuthorizationResponse, Identity, Rules, } from "./authorization/authorization.js";
|
|
7
7
|
export { BoardColumn, BoardCreateInput, BoardDetail, BoardGetInput, BoardId, BoardKind, BoardLabel, BoardTaskBrief, BoardTaskBriefList, BoardTaskCreated, BoardTaskCreateInput, BoardTaskItem, BoardTaskList, BoardTaskListInput, BoardTaskUpdated, BoardTaskUpdateInput, BoardUpdateInput, boardKinds, compactTaskLimit, LabelId, maxBulkTasks, TaskDetail, TaskGetInput, TaskId, TaskImage, TaskUpdateInput, } from "./boards/boards.js";
|
|
@@ -17,7 +17,7 @@ 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, GadgetTestInput, GadgetTestResult, GadgetTestRun, GadgetToolUse, GadgetUpdateInput, GadgetVersionRef, gadgetLimits, gadgetLogDays, } from "./gadgets/gadgets.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, GadgetTestInput, GadgetTestResult, GadgetTestRun, GadgetToolUse, GadgetUpdateInput, GadgetVersionRef, gadgetLimits, gadgetLogDays, TestLimits, testLimits, testLimitsText, } from "./gadgets/gadgets.js";
|
|
21
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";
|
|
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";
|
|
@@ -33,9 +33,11 @@ export { ChatRead, ChatUpdateInput, Message, MessageAuthor, MessageCreateInput,
|
|
|
33
33
|
export { Missing, MissingCall, MissingCode, missingCodes, Reached, } from "./missing/missing.js";
|
|
34
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
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";
|
|
36
|
+
export { Currency, CurrencyRate, currencies, Organisation, OrganisationGetInput, OrganisationUpdateInput, } from "./organisation/organisation.js";
|
|
36
37
|
export { PageDetail, PageGetInput, PageHead, PageHeading, PageId, PageList, PageListInput, PageSummary, } from "./pages/pages.js";
|
|
37
38
|
export { IdempotencyKey, Rev } from "./primitives/primitives.js";
|
|
38
39
|
export { Locale, locales, Name, ProfileImageResponse, ProfileUpdateInput, profileImageMaxBytes, profileImageTypes, Theme, TimeZone, themes, } from "./profile/profile.js";
|
|
40
|
+
export { offersSignIn, Provider, ProviderId, ProviderList, ProviderListInput, ProviderRemoveInput, ProviderSource, ProviderTest, ProviderTestInput, ProviderUpdateInput, providerEndpoints, providerIds, SignInProviderId, SignInProviders, signInProviderIds, } from "./providers/providers.js";
|
|
39
41
|
export { GrantChange, PermissionsResponse, RightInCode, RightPath, RightTree, Role, RoleArchiveInput, RoleCreateInput, RoleDetail, RoleGetInput, RoleGrantCreateInput, RoleGrantRevokeInput, RoleId, RoleList, RoleListInput, RoleRestoreInput, RoleUpdateInput, } from "./roles/roles.js";
|
|
40
42
|
export { RunDetail, RunGetInput, RunId, RunItem, RunList, RunListInput, RunStatus, runStatuses, } from "./runs/runs.js";
|
|
41
43
|
export { RuntimeConfig } from "./runtime-config.js";
|
|
@@ -45,7 +47,6 @@ export { type Authorized, type AuthorizeResult, createServiceClient, type Interf
|
|
|
45
47
|
export { ConsentResource, FunctionId, InterfaceId, RightWord, Service, ServiceArchiveInput, ServiceCreateInput, ServiceFunction, ServiceId, ServiceInterface, ServiceKeyIssued, ServiceList, ServiceListInput, ServiceName, ServicePurged, ServicePurgeInput, ServiceRestoreInput, ServiceRotateInput, ServiceUpdateInput, } from "./services/services.js";
|
|
46
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";
|
|
47
49
|
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";
|
|
48
|
-
export { SignInProviders, Sso, SsoId, SsoList, SsoListInput, SsoRemoveInput, SsoSource, SsoUpdateInput, ssoIds, } from "./sso/sso.js";
|
|
49
50
|
export { TableColumn, TableColumnChange, TableColumnType, TableCreateInput, TableDetail, TableExcerpt, TableGetInput, TableId, TableSaved, TableUpdateInput, tableColumnTypes, tableFormats, } from "./tables/tables.js";
|
|
50
51
|
export { type Actor, defineTool, type Permission, type Tool, type ToolAnnotations, type ToolContext, type ToolInput, type ToolSource, } from "./tool.js";
|
|
51
52
|
export { compareTreeNames, treeKindOrder, treeKindRank, } from "./tree-order/tree-order.js";
|
package/dist/sdk.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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 { ActionAbort, ActionAbortReason, ActionChat, ActionGadget, 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 { 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";
|
|
5
5
|
export { adminModeHeader, adminModeOn } from "./admin-mode.js";
|
|
6
6
|
export { App, AppId, AppList, AppListInput, AppRevoked, AppRevokeInput, OwnAppListQuery, OwnSessionListQuery, Session, SessionId, SessionList, SessionListInput, SessionRevokeInput, SessionsRevoked, } from "./apps/apps.js";
|
|
7
|
-
export { NodeArchived, NodeArchiveInput, NodePurged, NodePurgeInput, NodeRestoreInput, } from "./archive/archive.js";
|
|
7
|
+
export { ArchivedGoalLink, NodeArchived, NodeArchiveInput, NodePurged, NodePurgeInput, NodeRestoreInput, } from "./archive/archive.js";
|
|
8
8
|
export { PasskeyDeleteInput, SetPasswordInput, SignUpInput, } from "./auth/auth.js";
|
|
9
9
|
export { AuthorizationRequest, AuthorizationResponse, Identity, Rules, } from "./authorization/authorization.js";
|
|
10
10
|
export { BoardColumn, BoardCreateInput, BoardDetail, BoardGetInput, BoardId, BoardKind, BoardLabel, BoardTaskBrief, BoardTaskBriefList, BoardTaskCreated, BoardTaskCreateInput, BoardTaskItem, BoardTaskList, BoardTaskListInput, BoardTaskUpdated, BoardTaskUpdateInput, BoardUpdateInput, boardKinds, compactTaskLimit, LabelId, maxBulkTasks, TaskDetail, TaskGetInput, TaskId, TaskImage, TaskUpdateInput, } from "./boards/boards.js";
|
|
@@ -20,7 +20,7 @@ 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, GadgetTestInput, GadgetTestResult, GadgetTestRun, GadgetToolUse, GadgetUpdateInput, GadgetVersionRef, gadgetLimits, gadgetLogDays, } from "./gadgets/gadgets.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, GadgetTestInput, GadgetTestResult, GadgetTestRun, GadgetToolUse, GadgetUpdateInput, GadgetVersionRef, gadgetLimits, gadgetLogDays, TestLimits, testLimits, testLimitsText, } from "./gadgets/gadgets.js";
|
|
24
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";
|
|
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";
|
|
@@ -36,9 +36,11 @@ export { ChatRead, ChatUpdateInput, Message, MessageAuthor, MessageCreateInput,
|
|
|
36
36
|
export { Missing, MissingCall, MissingCode, missingCodes, Reached, } from "./missing/missing.js";
|
|
37
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
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";
|
|
39
|
+
export { Currency, CurrencyRate, currencies, Organisation, OrganisationGetInput, OrganisationUpdateInput, } from "./organisation/organisation.js";
|
|
39
40
|
export { PageDetail, PageGetInput, PageHead, PageHeading, PageId, PageList, PageListInput, PageSummary, } from "./pages/pages.js";
|
|
40
41
|
export { IdempotencyKey, Rev } from "./primitives/primitives.js";
|
|
41
42
|
export { Locale, locales, Name, ProfileImageResponse, ProfileUpdateInput, profileImageMaxBytes, profileImageTypes, Theme, TimeZone, themes, } from "./profile/profile.js";
|
|
43
|
+
export { offersSignIn, Provider, ProviderId, ProviderList, ProviderListInput, ProviderRemoveInput, ProviderSource, ProviderTest, ProviderTestInput, ProviderUpdateInput, providerEndpoints, providerIds, SignInProviderId, SignInProviders, signInProviderIds, } from "./providers/providers.js";
|
|
42
44
|
export { GrantChange, PermissionsResponse, RightInCode, RightPath, RightTree, Role, RoleArchiveInput, RoleCreateInput, RoleDetail, RoleGetInput, RoleGrantCreateInput, RoleGrantRevokeInput, RoleId, RoleList, RoleListInput, RoleRestoreInput, RoleUpdateInput, } from "./roles/roles.js";
|
|
43
45
|
export { RunDetail, RunGetInput, RunId, RunItem, RunList, RunListInput, RunStatus, runStatuses, } from "./runs/runs.js";
|
|
44
46
|
export { RuntimeConfig } from "./runtime-config.js";
|
|
@@ -48,7 +50,6 @@ export { createServiceClient, } from "./service-client/service-client.js";
|
|
|
48
50
|
export { ConsentResource, FunctionId, InterfaceId, RightWord, Service, ServiceArchiveInput, ServiceCreateInput, ServiceFunction, ServiceId, ServiceInterface, ServiceKeyIssued, ServiceList, ServiceListInput, ServiceName, ServicePurged, ServicePurgeInput, ServiceRestoreInput, ServiceRotateInput, ServiceUpdateInput, } from "./services/services.js";
|
|
49
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";
|
|
50
52
|
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";
|
|
51
|
-
export { SignInProviders, Sso, SsoId, SsoList, SsoListInput, SsoRemoveInput, SsoSource, SsoUpdateInput, ssoIds, } from "./sso/sso.js";
|
|
52
53
|
export { TableColumn, TableColumnChange, TableColumnType, TableCreateInput, TableDetail, TableExcerpt, TableGetInput, TableId, TableSaved, TableUpdateInput, tableColumnTypes, tableFormats, } from "./tables/tables.js";
|
|
53
54
|
export { defineTool, } from "./tool.js";
|
|
54
55
|
export { compareTreeNames, treeKindOrder, treeKindRank, } from "./tree-order/tree-order.js";
|
package/dist/skills/skills.d.ts
CHANGED
|
@@ -5,6 +5,10 @@ export declare const skillFilePattern: RegExp;
|
|
|
5
5
|
export declare const SkillFilePath: z.ZodString;
|
|
6
6
|
export declare const SkillCreateInput: z.ZodObject<{
|
|
7
7
|
parentId: z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>;
|
|
8
|
+
section: z.ZodOptional<z.ZodEnum<{
|
|
9
|
+
own: "own";
|
|
10
|
+
shared: "shared";
|
|
11
|
+
}>>;
|
|
8
12
|
name: z.ZodString;
|
|
9
13
|
content: z.ZodString;
|
|
10
14
|
result: z.ZodOptional<z.ZodString>;
|
package/dist/skills/skills.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { idSchema } from "../ids/ids.js";
|
|
3
3
|
import { Flag, Limit } from "../list-input.js";
|
|
4
|
-
import { NodeId, NodePath, NodePerson } from "../nodes/nodes.js";
|
|
4
|
+
import { CreateSection, NodeId, NodePath, NodePerson } from "../nodes/nodes.js";
|
|
5
5
|
import { IdempotencyKey, Rev } from "../primitives/primitives.js";
|
|
6
6
|
// Skills (#817, #807, Nodes › Skill, E140): the inputs of `intelligence_skill_create|get|update|test`
|
|
7
7
|
// and `intelligence_skill_run_list|get`, and their answers. A skill says how something is done well:
|
|
@@ -34,7 +34,8 @@ export const SkillFilePath = z
|
|
|
34
34
|
const FileText = z.string().max(500_000);
|
|
35
35
|
export const SkillCreateInput = z.strictObject({
|
|
36
36
|
// ⚠️ Required and nullable (trap C015): null is the top level of Shared.
|
|
37
|
-
parentId: NodeId.nullable().describe("The folder to create the skill in, one you can write to, mostly `.Skills` or the folder it is for; null creates it on the top level of Shared."),
|
|
37
|
+
parentId: NodeId.nullable().describe("The folder to create the skill in, one you can write to, mostly `.Skills` or the folder it is for; null creates it in your own root folder (Own), or on the top level of Shared with section shared."),
|
|
38
|
+
section: CreateSection,
|
|
38
39
|
name: z.string().max(200).describe("The name as people read it, like `Leads übernehmen`."),
|
|
39
40
|
content: Content,
|
|
40
41
|
result: Result.optional(),
|
|
@@ -159,6 +159,7 @@ export declare const sourceCodePath = "source.js";
|
|
|
159
159
|
export declare const sourceLimits: {
|
|
160
160
|
readonly timeoutMs: 10000;
|
|
161
161
|
readonly bytes: number;
|
|
162
|
+
readonly streamBytes: number;
|
|
162
163
|
readonly pages: 5;
|
|
163
164
|
readonly requests: 50;
|
|
164
165
|
readonly items: 1000;
|
|
@@ -198,6 +199,10 @@ export declare const SourceWhere: z.ZodObject<{
|
|
|
198
199
|
export type SourceWhere = z.infer<typeof SourceWhere>;
|
|
199
200
|
export declare const SourceCreateInput: z.ZodObject<{
|
|
200
201
|
parentId: z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>;
|
|
202
|
+
section: z.ZodOptional<z.ZodEnum<{
|
|
203
|
+
own: "own";
|
|
204
|
+
shared: "shared";
|
|
205
|
+
}>>;
|
|
201
206
|
name: z.ZodString;
|
|
202
207
|
files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
203
208
|
idempotencyKey: z.ZodString;
|
|
@@ -407,8 +412,8 @@ export declare const SourceRunCounts: z.ZodObject<{
|
|
|
407
412
|
export type SourceRunCounts = z.infer<typeof SourceRunCounts>;
|
|
408
413
|
export declare const SourceRunFailure: z.ZodEnum<{
|
|
409
414
|
access: "access";
|
|
410
|
-
code: "code";
|
|
411
415
|
provider: "provider";
|
|
416
|
+
code: "code";
|
|
412
417
|
host: "host";
|
|
413
418
|
}>;
|
|
414
419
|
export declare const SourceRun: z.ZodObject<{
|
|
@@ -436,8 +441,8 @@ export declare const SourceRun: z.ZodObject<{
|
|
|
436
441
|
}>;
|
|
437
442
|
failure: z.ZodNullable<z.ZodEnum<{
|
|
438
443
|
access: "access";
|
|
439
|
-
code: "code";
|
|
440
444
|
provider: "provider";
|
|
445
|
+
code: "code";
|
|
441
446
|
host: "host";
|
|
442
447
|
}>>;
|
|
443
448
|
message: z.ZodNullable<z.ZodString>;
|
|
@@ -489,8 +494,8 @@ export declare const SourceRunList: z.ZodObject<{
|
|
|
489
494
|
}>;
|
|
490
495
|
failure: z.ZodNullable<z.ZodEnum<{
|
|
491
496
|
access: "access";
|
|
492
|
-
code: "code";
|
|
493
497
|
provider: "provider";
|
|
498
|
+
code: "code";
|
|
494
499
|
host: "host";
|
|
495
500
|
}>>;
|
|
496
501
|
message: z.ZodNullable<z.ZodString>;
|
|
@@ -655,8 +660,8 @@ export declare const SourceProbe: z.ZodObject<{
|
|
|
655
660
|
}>;
|
|
656
661
|
failure: z.ZodNullable<z.ZodEnum<{
|
|
657
662
|
access: "access";
|
|
658
|
-
code: "code";
|
|
659
663
|
provider: "provider";
|
|
664
|
+
code: "code";
|
|
660
665
|
host: "host";
|
|
661
666
|
}>>;
|
|
662
667
|
message: z.ZodNullable<z.ZodString>;
|
|
@@ -862,6 +867,16 @@ export declare const SourceDetail: z.ZodObject<{
|
|
|
862
867
|
column: z.ZodNumber;
|
|
863
868
|
}, z.core.$strip>>;
|
|
864
869
|
}, z.core.$strip>>;
|
|
870
|
+
note: z.ZodOptional<z.ZodString>;
|
|
871
|
+
limits: z.ZodObject<{
|
|
872
|
+
testMs: z.ZodNumber;
|
|
873
|
+
testTools: z.ZodNumber;
|
|
874
|
+
fileMs: z.ZodNumber;
|
|
875
|
+
fileCpuMs: z.ZodNumber;
|
|
876
|
+
fileMemoryMb: z.ZodNumber;
|
|
877
|
+
filesAtOnce: z.ZodNumber;
|
|
878
|
+
runMs: z.ZodNumber;
|
|
879
|
+
}, z.core.$strip>;
|
|
865
880
|
}, z.core.$strip>>;
|
|
866
881
|
settings: z.ZodNullable<z.ZodObject<{
|
|
867
882
|
responsible: z.ZodNullable<z.ZodObject<{
|
package/dist/sources/sources.js
CHANGED
|
@@ -2,7 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
import { GadgetFile, GadgetFilePath, GadgetLevel, GadgetTestRun } from "../gadgets/gadgets.js";
|
|
3
3
|
import { idSchema } from "../ids/ids.js";
|
|
4
4
|
import { Flag, Limit } from "../list-input.js";
|
|
5
|
-
import { NodeId, NodePath, NodePerson } from "../nodes/nodes.js";
|
|
5
|
+
import { CreateSection, NodeId, NodePath, NodePerson } from "../nodes/nodes.js";
|
|
6
6
|
import { IdempotencyKey, Rev } from "../primitives/primitives.js";
|
|
7
7
|
import { RunId } from "../runs/runs.js";
|
|
8
8
|
import { UserId } from "../users/users.js";
|
|
@@ -114,8 +114,12 @@ export const sourceCodePath = "source.js";
|
|
|
114
114
|
// A run's limits (Nodes › Quelle › Grenzen).
|
|
115
115
|
export const sourceLimits = {
|
|
116
116
|
timeoutMs: 10_000,
|
|
117
|
-
//
|
|
117
|
+
// An answer read whole, by `api.json`, `api.text` and `api.post` of a `source.js`: as much as a
|
|
118
|
+
// connector's bridge (`bridgeLimits.bytes`).
|
|
118
119
|
bytes: 5 * 1024 * 1024,
|
|
120
|
+
// An answer read in the stream, every page of kind json and rss and `api.each` (#936): only a brake
|
|
121
|
+
// against an answer without end, because a run keeps the entries it needs and never the answer.
|
|
122
|
+
streamBytes: 50 * 1024 * 1024,
|
|
119
123
|
pages: 5,
|
|
120
124
|
// A `source.js` sends at most this many requests per run (a list, then a detail per entry).
|
|
121
125
|
requests: 50,
|
|
@@ -170,7 +174,8 @@ const ParamValues = z
|
|
|
170
174
|
// ---- Tool inputs ----
|
|
171
175
|
const FileContent = z.string().describe("The file's whole text.");
|
|
172
176
|
export const SourceCreateInput = z.strictObject({
|
|
173
|
-
parentId: NodeId.nullable().describe("The folder to create the source in, one you can write to; null creates it on the top level of Shared."),
|
|
177
|
+
parentId: NodeId.nullable().describe("The folder to create the source in, one you can write to; null creates it in your own root folder (Own), or on the top level of Shared with section shared, where only you see it until you share it."),
|
|
178
|
+
section: CreateSection,
|
|
174
179
|
name: z.string().max(200).describe("The name as people read it."),
|
|
175
180
|
files: z
|
|
176
181
|
.record(GadgetFilePath, FileContent)
|
package/dist/tables/tables.d.ts
CHANGED
|
@@ -35,6 +35,10 @@ export declare const TableColumnChange: z.ZodObject<{
|
|
|
35
35
|
export type TableColumnChange = z.infer<typeof TableColumnChange>;
|
|
36
36
|
export declare const TableCreateInput: z.ZodObject<{
|
|
37
37
|
parentId: z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>;
|
|
38
|
+
section: z.ZodOptional<z.ZodEnum<{
|
|
39
|
+
own: "own";
|
|
40
|
+
shared: "shared";
|
|
41
|
+
}>>;
|
|
38
42
|
name: z.ZodString;
|
|
39
43
|
columns: z.ZodArray<z.ZodObject<{
|
|
40
44
|
name: z.ZodString;
|
package/dist/tables/tables.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { ExcerptCursor, RowsExcerpt } from "../excerpt/excerpt.js";
|
|
3
|
-
import { NodeId, SecretFields } from "../nodes/nodes.js";
|
|
3
|
+
import { CreateSection, NodeId, SecretFields } from "../nodes/nodes.js";
|
|
4
4
|
import { IdempotencyKey, Rev } from "../primitives/primitives.js";
|
|
5
5
|
// Tables (#40, Nodes › Tabelle, E39, E59, E70): the inputs of `intelligence_table_create`, `_get`
|
|
6
6
|
// and `_update`, and their answers. A table is CSV, stored and exported as it is, whose first line is
|
|
@@ -52,7 +52,8 @@ const EditSession = z
|
|
|
52
52
|
.describe("The editing session the table view keeps while a person stays on the table: saves of one session go into one version. Leaving it out makes every save a version of its own, which is right for an AI.");
|
|
53
53
|
export const TableCreateInput = z.strictObject({
|
|
54
54
|
// ⚠️ Required and nullable (trap C015): null is the top level of Shared.
|
|
55
|
-
parentId: NodeId.nullable().describe("The folder to create the table in, one you can write to; null creates it on the top level of Shared,
|
|
55
|
+
parentId: NodeId.nullable().describe("The folder to create the table in, one you can write to; null creates it in your own root folder (Own), or on the top level of Shared with section shared, where only you see it until you share it."),
|
|
56
|
+
section: CreateSection,
|
|
56
57
|
name: z.string().max(200).describe("The table's name as people read it."),
|
|
57
58
|
columns: Columns.describe("The columns in their order, at least one, each with its name and type. They are the table's header."),
|
|
58
59
|
rows: Rows.optional().describe("The first rows, each a list of cells in the order of the columns. Send rows or csv, not both; leaving both out creates an empty table."),
|
|
@@ -6,13 +6,13 @@ export declare const MoveColumn: z.ZodObject<{
|
|
|
6
6
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
7
7
|
name: z.ZodNullable<z.ZodString>;
|
|
8
8
|
type: z.ZodNullable<z.ZodEnum<{
|
|
9
|
+
archive: "archive";
|
|
9
10
|
backlog: "backlog";
|
|
10
11
|
open: "open";
|
|
11
12
|
progress: "progress";
|
|
12
13
|
done: "done";
|
|
13
14
|
discarded: "discarded";
|
|
14
15
|
blocked: "blocked";
|
|
15
|
-
archive: "archive";
|
|
16
16
|
}>>;
|
|
17
17
|
}, z.core.$strip>;
|
|
18
18
|
export type MoveColumn = z.infer<typeof MoveColumn>;
|
|
@@ -21,26 +21,26 @@ export declare const VersionMove: z.ZodObject<{
|
|
|
21
21
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
22
22
|
name: z.ZodNullable<z.ZodString>;
|
|
23
23
|
type: z.ZodNullable<z.ZodEnum<{
|
|
24
|
+
archive: "archive";
|
|
24
25
|
backlog: "backlog";
|
|
25
26
|
open: "open";
|
|
26
27
|
progress: "progress";
|
|
27
28
|
done: "done";
|
|
28
29
|
discarded: "discarded";
|
|
29
30
|
blocked: "blocked";
|
|
30
|
-
archive: "archive";
|
|
31
31
|
}>>;
|
|
32
32
|
}, z.core.$strip>>;
|
|
33
33
|
to: z.ZodObject<{
|
|
34
34
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
35
35
|
name: z.ZodNullable<z.ZodString>;
|
|
36
36
|
type: z.ZodNullable<z.ZodEnum<{
|
|
37
|
+
archive: "archive";
|
|
37
38
|
backlog: "backlog";
|
|
38
39
|
open: "open";
|
|
39
40
|
progress: "progress";
|
|
40
41
|
done: "done";
|
|
41
42
|
discarded: "discarded";
|
|
42
43
|
blocked: "blocked";
|
|
43
|
-
archive: "archive";
|
|
44
44
|
}>>;
|
|
45
45
|
}, z.core.$strip>;
|
|
46
46
|
comment: z.ZodNullable<z.ZodString>;
|
|
@@ -64,26 +64,26 @@ export declare const TaskMove: z.ZodObject<{
|
|
|
64
64
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
65
65
|
name: z.ZodNullable<z.ZodString>;
|
|
66
66
|
type: z.ZodNullable<z.ZodEnum<{
|
|
67
|
+
archive: "archive";
|
|
67
68
|
backlog: "backlog";
|
|
68
69
|
open: "open";
|
|
69
70
|
progress: "progress";
|
|
70
71
|
done: "done";
|
|
71
72
|
discarded: "discarded";
|
|
72
73
|
blocked: "blocked";
|
|
73
|
-
archive: "archive";
|
|
74
74
|
}>>;
|
|
75
75
|
}, z.core.$strip>>;
|
|
76
76
|
to: z.ZodObject<{
|
|
77
77
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
78
78
|
name: z.ZodNullable<z.ZodString>;
|
|
79
79
|
type: z.ZodNullable<z.ZodEnum<{
|
|
80
|
+
archive: "archive";
|
|
80
81
|
backlog: "backlog";
|
|
81
82
|
open: "open";
|
|
82
83
|
progress: "progress";
|
|
83
84
|
done: "done";
|
|
84
85
|
discarded: "discarded";
|
|
85
86
|
blocked: "blocked";
|
|
86
|
-
archive: "archive";
|
|
87
87
|
}>>;
|
|
88
88
|
}, z.core.$strip>;
|
|
89
89
|
comment: z.ZodNullable<z.ZodString>;
|
|
@@ -139,26 +139,26 @@ export declare const NodeVersion: z.ZodObject<{
|
|
|
139
139
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
140
140
|
name: z.ZodNullable<z.ZodString>;
|
|
141
141
|
type: z.ZodNullable<z.ZodEnum<{
|
|
142
|
+
archive: "archive";
|
|
142
143
|
backlog: "backlog";
|
|
143
144
|
open: "open";
|
|
144
145
|
progress: "progress";
|
|
145
146
|
done: "done";
|
|
146
147
|
discarded: "discarded";
|
|
147
148
|
blocked: "blocked";
|
|
148
|
-
archive: "archive";
|
|
149
149
|
}>>;
|
|
150
150
|
}, z.core.$strip>>;
|
|
151
151
|
to: z.ZodObject<{
|
|
152
152
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
153
153
|
name: z.ZodNullable<z.ZodString>;
|
|
154
154
|
type: z.ZodNullable<z.ZodEnum<{
|
|
155
|
+
archive: "archive";
|
|
155
156
|
backlog: "backlog";
|
|
156
157
|
open: "open";
|
|
157
158
|
progress: "progress";
|
|
158
159
|
done: "done";
|
|
159
160
|
discarded: "discarded";
|
|
160
161
|
blocked: "blocked";
|
|
161
|
-
archive: "archive";
|
|
162
162
|
}>>;
|
|
163
163
|
}, z.core.$strip>;
|
|
164
164
|
comment: z.ZodNullable<z.ZodString>;
|
|
@@ -200,26 +200,26 @@ export declare const NodeVersionList: z.ZodObject<{
|
|
|
200
200
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
201
201
|
name: z.ZodNullable<z.ZodString>;
|
|
202
202
|
type: z.ZodNullable<z.ZodEnum<{
|
|
203
|
+
archive: "archive";
|
|
203
204
|
backlog: "backlog";
|
|
204
205
|
open: "open";
|
|
205
206
|
progress: "progress";
|
|
206
207
|
done: "done";
|
|
207
208
|
discarded: "discarded";
|
|
208
209
|
blocked: "blocked";
|
|
209
|
-
archive: "archive";
|
|
210
210
|
}>>;
|
|
211
211
|
}, z.core.$strip>>;
|
|
212
212
|
to: z.ZodObject<{
|
|
213
213
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
214
214
|
name: z.ZodNullable<z.ZodString>;
|
|
215
215
|
type: z.ZodNullable<z.ZodEnum<{
|
|
216
|
+
archive: "archive";
|
|
216
217
|
backlog: "backlog";
|
|
217
218
|
open: "open";
|
|
218
219
|
progress: "progress";
|
|
219
220
|
done: "done";
|
|
220
221
|
discarded: "discarded";
|
|
221
222
|
blocked: "blocked";
|
|
222
|
-
archive: "archive";
|
|
223
223
|
}>>;
|
|
224
224
|
}, z.core.$strip>;
|
|
225
225
|
comment: z.ZodNullable<z.ZodString>;
|
|
@@ -263,26 +263,26 @@ export declare const NodeVersionDetail: z.ZodObject<{
|
|
|
263
263
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
264
264
|
name: z.ZodNullable<z.ZodString>;
|
|
265
265
|
type: z.ZodNullable<z.ZodEnum<{
|
|
266
|
+
archive: "archive";
|
|
266
267
|
backlog: "backlog";
|
|
267
268
|
open: "open";
|
|
268
269
|
progress: "progress";
|
|
269
270
|
done: "done";
|
|
270
271
|
discarded: "discarded";
|
|
271
272
|
blocked: "blocked";
|
|
272
|
-
archive: "archive";
|
|
273
273
|
}>>;
|
|
274
274
|
}, z.core.$strip>>;
|
|
275
275
|
to: z.ZodObject<{
|
|
276
276
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
277
277
|
name: z.ZodNullable<z.ZodString>;
|
|
278
278
|
type: z.ZodNullable<z.ZodEnum<{
|
|
279
|
+
archive: "archive";
|
|
279
280
|
backlog: "backlog";
|
|
280
281
|
open: "open";
|
|
281
282
|
progress: "progress";
|
|
282
283
|
done: "done";
|
|
283
284
|
discarded: "discarded";
|
|
284
285
|
blocked: "blocked";
|
|
285
|
-
archive: "archive";
|
|
286
286
|
}>>;
|
|
287
287
|
}, z.core.$strip>;
|
|
288
288
|
comment: z.ZodNullable<z.ZodString>;
|
|
@@ -414,26 +414,26 @@ export declare const NodeVersionExcerpt: z.ZodObject<{
|
|
|
414
414
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
415
415
|
name: z.ZodNullable<z.ZodString>;
|
|
416
416
|
type: z.ZodNullable<z.ZodEnum<{
|
|
417
|
+
archive: "archive";
|
|
417
418
|
backlog: "backlog";
|
|
418
419
|
open: "open";
|
|
419
420
|
progress: "progress";
|
|
420
421
|
done: "done";
|
|
421
422
|
discarded: "discarded";
|
|
422
423
|
blocked: "blocked";
|
|
423
|
-
archive: "archive";
|
|
424
424
|
}>>;
|
|
425
425
|
}, z.core.$strip>>;
|
|
426
426
|
to: z.ZodObject<{
|
|
427
427
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
428
428
|
name: z.ZodNullable<z.ZodString>;
|
|
429
429
|
type: z.ZodNullable<z.ZodEnum<{
|
|
430
|
+
archive: "archive";
|
|
430
431
|
backlog: "backlog";
|
|
431
432
|
open: "open";
|
|
432
433
|
progress: "progress";
|
|
433
434
|
done: "done";
|
|
434
435
|
discarded: "discarded";
|
|
435
436
|
blocked: "blocked";
|
|
436
|
-
archive: "archive";
|
|
437
437
|
}>>;
|
|
438
438
|
}, z.core.$strip>;
|
|
439
439
|
comment: z.ZodNullable<z.ZodString>;
|
|
@@ -26,9 +26,10 @@ export declare const Changed: z.ZodObject<{
|
|
|
26
26
|
functionId: z.ZodOptional<z.ZodTemplateLiteral<`function_${string}`>>;
|
|
27
27
|
appId: z.ZodOptional<z.ZodTemplateLiteral<`app_${string}`>>;
|
|
28
28
|
sessionId: z.ZodOptional<z.ZodTemplateLiteral<`session_${string}`>>;
|
|
29
|
-
|
|
29
|
+
providerId: z.ZodOptional<z.ZodEnum<{
|
|
30
30
|
google: "google";
|
|
31
31
|
microsoft: "microsoft";
|
|
32
|
+
slack: "slack";
|
|
32
33
|
}>>;
|
|
33
34
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
34
35
|
connectionId: z.ZodOptional<z.ZodTemplateLiteral<`connection_${string}`>>;
|
|
@@ -119,9 +120,10 @@ export declare const Written: z.ZodObject<{
|
|
|
119
120
|
functionId: z.ZodOptional<z.ZodTemplateLiteral<`function_${string}`>>;
|
|
120
121
|
appId: z.ZodOptional<z.ZodTemplateLiteral<`app_${string}`>>;
|
|
121
122
|
sessionId: z.ZodOptional<z.ZodTemplateLiteral<`session_${string}`>>;
|
|
122
|
-
|
|
123
|
+
providerId: z.ZodOptional<z.ZodEnum<{
|
|
123
124
|
google: "google";
|
|
124
125
|
microsoft: "microsoft";
|
|
126
|
+
slack: "slack";
|
|
125
127
|
}>>;
|
|
126
128
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
127
129
|
connectionId: z.ZodOptional<z.ZodTemplateLiteral<`connection_${string}`>>;
|
|
@@ -207,6 +209,7 @@ export declare const Written: z.ZodObject<{
|
|
|
207
209
|
mail_failed: "mail_failed";
|
|
208
210
|
unused: "unused";
|
|
209
211
|
too_long: "too_long";
|
|
212
|
+
goal_link: "goal_link";
|
|
210
213
|
}>;
|
|
211
214
|
message: z.ZodString;
|
|
212
215
|
}, z.core.$strip>>>;
|
package/dist/written/written.js
CHANGED
|
@@ -12,11 +12,11 @@ import { MessageId } from "../messages/messages.js";
|
|
|
12
12
|
import { Missing, Reached } from "../missing/missing.js";
|
|
13
13
|
import { NodeId, NodeReader } from "../nodes/nodes.js";
|
|
14
14
|
import { CredentialId } from "../operators/operators.js";
|
|
15
|
+
import { ProviderId } from "../providers/providers.js";
|
|
15
16
|
import { RoleId } from "../roles/roles.js";
|
|
16
17
|
import { RunId } from "../runs/runs.js";
|
|
17
18
|
import { FunctionId, InterfaceId, ServiceId } from "../services/services.js";
|
|
18
19
|
import { QueryId } from "../sources/sources.js";
|
|
19
|
-
import { SsoId } from "../sso/sso.js";
|
|
20
20
|
import { UserId } from "../users/users.js";
|
|
21
21
|
// What a write answers over `/mcp` (E126, #672): what it changed and what that caused, never the
|
|
22
22
|
// object it wrote. The AI sent the object itself; echoing it back filled an Operator's context with
|
|
@@ -56,7 +56,7 @@ export const Changed = z.object({
|
|
|
56
56
|
functionId: FunctionId.optional(),
|
|
57
57
|
appId: AppId.optional(),
|
|
58
58
|
sessionId: SessionId.optional(),
|
|
59
|
-
|
|
59
|
+
providerId: ProviderId.optional(),
|
|
60
60
|
connectorId: ConnectorId.optional(),
|
|
61
61
|
connectionId: ConnectionId.optional(),
|
|
62
62
|
credentialId: CredentialId.optional(),
|
package/package.json
CHANGED
package/dist/sso/sso.d.ts
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const ssoIds: readonly ["google", "microsoft"];
|
|
3
|
-
export declare const SsoId: z.ZodEnum<{
|
|
4
|
-
google: "google";
|
|
5
|
-
microsoft: "microsoft";
|
|
6
|
-
}>;
|
|
7
|
-
export type SsoId = z.infer<typeof SsoId>;
|
|
8
|
-
export declare const SsoSource: z.ZodEnum<{
|
|
9
|
-
settings: "settings";
|
|
10
|
-
environment: "environment";
|
|
11
|
-
}>;
|
|
12
|
-
export type SsoSource = z.infer<typeof SsoSource>;
|
|
13
|
-
export declare const SsoListInput: z.ZodObject<{}, z.core.$strict>;
|
|
14
|
-
export type SsoListInput = z.infer<typeof SsoListInput>;
|
|
15
|
-
export declare const SsoUpdateInput: z.ZodObject<{
|
|
16
|
-
ssoId: z.ZodEnum<{
|
|
17
|
-
google: "google";
|
|
18
|
-
microsoft: "microsoft";
|
|
19
|
-
}>;
|
|
20
|
-
clientId: z.ZodString;
|
|
21
|
-
clientSecret: z.ZodString;
|
|
22
|
-
}, z.core.$strict>;
|
|
23
|
-
export type SsoUpdateInput = z.infer<typeof SsoUpdateInput>;
|
|
24
|
-
export declare const SsoRemoveInput: z.ZodObject<{
|
|
25
|
-
ssoId: z.ZodEnum<{
|
|
26
|
-
google: "google";
|
|
27
|
-
microsoft: "microsoft";
|
|
28
|
-
}>;
|
|
29
|
-
}, z.core.$strict>;
|
|
30
|
-
export type SsoRemoveInput = z.infer<typeof SsoRemoveInput>;
|
|
31
|
-
export declare const Sso: z.ZodObject<{
|
|
32
|
-
ssoId: z.ZodEnum<{
|
|
33
|
-
google: "google";
|
|
34
|
-
microsoft: "microsoft";
|
|
35
|
-
}>;
|
|
36
|
-
clientId: z.ZodNullable<z.ZodString>;
|
|
37
|
-
setAt: z.ZodNullable<z.ZodISODateTime>;
|
|
38
|
-
setBy: z.ZodNullable<z.ZodTemplateLiteral<`user_${string}`>>;
|
|
39
|
-
source: z.ZodNullable<z.ZodEnum<{
|
|
40
|
-
settings: "settings";
|
|
41
|
-
environment: "environment";
|
|
42
|
-
}>>;
|
|
43
|
-
redirectUrl: z.ZodURL;
|
|
44
|
-
}, z.core.$strip>;
|
|
45
|
-
export type Sso = z.infer<typeof Sso>;
|
|
46
|
-
export declare const SsoList: z.ZodObject<{
|
|
47
|
-
items: z.ZodArray<z.ZodObject<{
|
|
48
|
-
ssoId: z.ZodEnum<{
|
|
49
|
-
google: "google";
|
|
50
|
-
microsoft: "microsoft";
|
|
51
|
-
}>;
|
|
52
|
-
clientId: z.ZodNullable<z.ZodString>;
|
|
53
|
-
setAt: z.ZodNullable<z.ZodISODateTime>;
|
|
54
|
-
setBy: z.ZodNullable<z.ZodTemplateLiteral<`user_${string}`>>;
|
|
55
|
-
source: z.ZodNullable<z.ZodEnum<{
|
|
56
|
-
settings: "settings";
|
|
57
|
-
environment: "environment";
|
|
58
|
-
}>>;
|
|
59
|
-
redirectUrl: z.ZodURL;
|
|
60
|
-
}, z.core.$strip>>;
|
|
61
|
-
nextCursor: z.ZodNull;
|
|
62
|
-
}, z.core.$strip>;
|
|
63
|
-
export type SsoList = z.infer<typeof SsoList>;
|
|
64
|
-
export declare const SignInProviders: z.ZodObject<{
|
|
65
|
-
providers: z.ZodArray<z.ZodEnum<{
|
|
66
|
-
google: "google";
|
|
67
|
-
microsoft: "microsoft";
|
|
68
|
-
}>>;
|
|
69
|
-
signUp: z.ZodBoolean;
|
|
70
|
-
}, z.core.$strip>;
|
|
71
|
-
export type SignInProviders = z.infer<typeof SignInProviders>;
|