@makaio/framework 1.0.0-dev-1781397017668 → 1.0.0-dev-1781443723575

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 (110) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/{adapter-D_p5kKxi.mjs → adapter-BH1X0THX.mjs} +1 -1
  3. package/dist/bus/index.d.mts +21 -21
  4. package/dist/bus/index.mjs +1 -1
  5. package/dist/contracts/adapter/index.d.mts +2 -2
  6. package/dist/contracts/adapter/index.mjs +1 -1
  7. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  8. package/dist/contracts/artifact/index.d.mts +1 -1
  9. package/dist/contracts/canonical-model/index.d.mts +1 -1
  10. package/dist/contracts/config/index.d.mts +6 -6
  11. package/dist/contracts/extension/index.d.mts +3 -3
  12. package/dist/contracts/facet/index.d.mts +1 -1
  13. package/dist/contracts/harness/index.d.mts +1 -1
  14. package/dist/contracts/index.d.mts +664 -269
  15. package/dist/contracts/index.mjs +1 -1
  16. package/dist/contracts/provider/index.d.mts +1 -1
  17. package/dist/contracts/session/index.d.mts +2 -2
  18. package/dist/contracts/session/index.mjs +1 -1
  19. package/dist/contracts/shared/index.d.mts +1 -1
  20. package/dist/contracts/skill/index.d.mts +1 -1
  21. package/dist/drizzle/0018_m_mqcweucg.sql +17 -0
  22. package/dist/drizzle/0019_m_mqcwyn0w.sql +1 -0
  23. package/dist/drizzle/meta/_journal.json +14 -0
  24. package/dist/handlers-Cpy9Q8ho.mjs +41 -0
  25. package/dist/{index-DvETyI0_.d.mts → index-BBteExwv.d.mts} +1 -1
  26. package/dist/{index-CEdOq5Om.d.mts → index-BDnI2oqX.d.mts} +1 -1
  27. package/dist/{index-B3mq3Qjf.d.mts → index-BZuF4I8O.d.mts} +1 -1
  28. package/dist/{index-BLqtL-_a.d.mts → index-C2tDMYm0.d.mts} +4 -4
  29. package/dist/{index-C24PcW2r.d.mts → index-CQuLV3jj.d.mts} +12 -12
  30. package/dist/{index-B92SK0rO.d.mts → index-CtVy1e5h.d.mts} +6 -3
  31. package/dist/{index-C0TEY7RE.d.mts → index-D7oEYudM.d.mts} +1 -1
  32. package/dist/{index-QvciMc7_.d.mts → index-DWBpxSGQ.d.mts} +899 -385
  33. package/dist/{index-DLPjliGd.d.mts → index-DWRwbJjQ.d.mts} +1 -1
  34. package/dist/{index-BQ8H7cvY.d.mts → index-Doy13wLW.d.mts} +15 -15
  35. package/dist/{index-NyKdb8kT.d.mts → index-DsAfeVbS.d.mts} +24 -24
  36. package/dist/{index-CszoKxxO.d.mts → index-N7JtH6hX.d.mts} +392 -392
  37. package/dist/{index-DBgv39-Q.d.mts → index-bLWdMu_T.d.mts} +44 -44
  38. package/dist/{index-WKF5BHsw.d.mts → index-gYlNeEGH.d.mts} +8 -8
  39. package/dist/{index-DfNIhEm_.d.mts → index-iRe4CsR5.d.mts} +20 -20
  40. package/dist/{index-B99Prx5a.d.mts → index-xeg-bqxO.d.mts} +105 -105
  41. package/dist/kernel/extension/index.d.mts +1 -1
  42. package/dist/kernel/index.d.mts +2 -2
  43. package/dist/kernel/observability/index.d.mts +1 -1
  44. package/dist/{namespace-DbvQ4HYc.d.mts → namespace-1tHmgGQV.d.mts} +154 -154
  45. package/dist/{namespace-CN2TfSCY.d.mts → namespace-CK50FeCH.d.mts} +2 -2
  46. package/dist/{namespace-C_kaVySz.d.mts → namespace-D63jVkzY.d.mts} +4 -4
  47. package/dist/{namespace-BAJTZXWc.d.mts → namespace-DWT6hqxX.d.mts} +42 -42
  48. package/dist/{namespace-D_ZXa76m.d.mts → namespace-thr1fR3_.d.mts} +32 -32
  49. package/dist/{namespace-B1Bldc48.d.mts → namespace-vfKj-JHx.d.mts} +9 -9
  50. package/dist/package-Dvk8-Gfd.mjs +1 -0
  51. package/dist/package.json +1 -1
  52. package/dist/primitive-runtime-UEzX4Ayu.mjs +1 -0
  53. package/dist/runtime-node/index.d.mts +1 -1
  54. package/dist/runtime-node/workflow-worker/index.d.mts +2 -2
  55. package/dist/{schema-msWs4YhT.d.mts → schema-CXgFk-dK.d.mts} +2 -2
  56. package/dist/{schemas-DRZJK6hW2.d.mts → schemas-BS8xAZ2y2.d.mts} +2 -2
  57. package/dist/schemas-CzvG8xq7.mjs +1 -0
  58. package/dist/{schemas-CN9hprME.d.mts → schemas-YFBpHbzr.d.mts} +3 -3
  59. package/dist/{schemas-xoTn8JZb.d.mts → schemas-za4KzhEe.d.mts} +154 -154
  60. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  61. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  62. package/dist/services/agent-runtime/index.d.mts +2 -2
  63. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  64. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  65. package/dist/services/context-rules/index.d.mts +8 -8
  66. package/dist/services/filesystem/namespace.d.mts +6 -6
  67. package/dist/services/filesystem/schemas.d.mts +3 -3
  68. package/dist/services/harness/index.d.mts +3 -3
  69. package/dist/services/index.d.mts +113 -113
  70. package/dist/services/index.mjs +1 -1
  71. package/dist/services/log-import/browser.d.mts +2 -2
  72. package/dist/services/log-import/index.d.mts +2 -2
  73. package/dist/services/log-import/log-import.d.mts +1 -1
  74. package/dist/services/log-import/namespace.d.mts +2 -2
  75. package/dist/services/log-import/schemas.d.mts +1 -1
  76. package/dist/services/session/handlers/index.mjs +1 -1
  77. package/dist/services/session/index.d.mts +5 -5
  78. package/dist/services/session/index.mjs +1 -1
  79. package/dist/services/session/messages/namespace.d.mts +1 -1
  80. package/dist/services/session/session-events/namespace.d.mts +1 -1
  81. package/dist/services/session/storage/namespace.d.mts +1 -1
  82. package/dist/services/session/storage/schema.d.mts +1 -1
  83. package/dist/services/session/testing/index.mjs +1 -1
  84. package/dist/services/settings/namespace.d.mts +5 -5
  85. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  86. package/dist/services/subagent-template/index.d.mts +1 -1
  87. package/dist/services/subagent-template/schemas.d.mts +1 -1
  88. package/dist/services/tool-approval/index.mjs +1 -1
  89. package/dist/services/tools/index.mjs +1 -1
  90. package/dist/services/tray-menu/index.d.mts +2 -2
  91. package/dist/services/tray-menu/namespace.d.mts +1 -1
  92. package/dist/services/tray-menu/schemas.d.mts +1 -1
  93. package/dist/session-ZAJrcudH.mjs +39 -0
  94. package/dist/{session-lineage-DFkJgYt5.d.mts → session-lineage-CJgqfkMj.d.mts} +1 -1
  95. package/dist/{session-bKk-XeaY.mjs → session-owtKCoUX.mjs} +1 -1
  96. package/dist/{tool-approval-service-C2xXBtdJ.mjs → tool-approval-service-B_28RhuK.mjs} +1 -1
  97. package/dist/{tools-DEUzCPBB.mjs → tools-BpzJterj.mjs} +1 -1
  98. package/dist/{types-4LKM7ZfA.d.mts → types-8q9G9p34.d.mts} +890 -360
  99. package/dist/{types-BB8iIAjZ.d.mts → types-bPzpZb7_.d.mts} +1 -1
  100. package/dist/workflow-engine/index.d.mts +463 -48
  101. package/dist/workflow-engine/index.mjs +1 -1
  102. package/dist/workflow-engine/package.mjs +1 -1
  103. package/dist/workflow-engine/workflow-orchestrator.d.mts +3 -2
  104. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  105. package/package.json +1 -1
  106. package/dist/handlers-CTrL8wmC.mjs +0 -41
  107. package/dist/package-Bn665ylV.mjs +0 -1
  108. package/dist/primitive-runtime-C2yw4-F8.mjs +0 -1
  109. package/dist/schemas-CiMm2zrE.mjs +0 -1
  110. package/dist/session-Me3XO-l9.mjs +0 -39
@@ -1,26 +1,26 @@
1
- import { C as AdapterNamespace, _ as StartAgentRequest, a as AgentSelection, b as AdapterRuntimeOptions, c as AgentSelectionKindMap, d as SessionDiscoveredSchema, l as AgentSelectionSchema, n as ProviderContextSchema, o as AgentSelectionBase, r as AdapterSelection, s as AgentSelectionBaseSchema, t as ProviderContext, u as SessionDiscovered, v as StartAgentResponse, w as AdapterSubjects } from "../index-CszoKxxO.mjs";
2
- import { a as ROOT_SESSION_LINEAGE_KIND, c as SUBAGENT_SESSION_LINEAGE_KIND, d as SessionLineageKindSchema, i as ForkSessionLineageSchema, l as SessionLineage, n as CompressSessionLineageSchema, o as RootSessionLineageSchema, p as SubagentSessionLineageSchema, r as FORK_SESSION_LINEAGE_KIND, s as SESSION_LINEAGE_KINDS, t as COMPRESS_SESSION_LINEAGE_KIND, u as SessionLineageKind } from "../session-lineage-DFkJgYt5.mjs";
3
- import { $ as ArtifactObservationSchema, A as ArtifactDraft, B as BeforeArtifactHookRegistration, C as ArtifactStatusChangedPayload, Ct as ConfidenceMetadataSchema, D as ArtifactKindDefinition, Dt as LocalRefSchema, E as ArtifactDataOf, Et as LocalRef, F as ArtifactLifecycleHookRegistration, G as ArtifactCompareRequestSchema, H as ArtifactActor, I as ArtifactLifecycleSemanticEvent, J as ArtifactConflictPolicy, K as ArtifactCompareResponse, L as ArtifactReactionHookContext, M as ArtifactHookFilter, N as ArtifactLifecycleHookDefinition, O as ArtifactOf, Ot as RelationTypeRegistration, P as ArtifactLifecycleHookEvent, Q as ArtifactObservation, R as ArtifactReactionHookRegistration, S as ArtifactSchemas, St as ConfidenceMetadata, T as AnyArtifactKindDefinition, Tt as EvidenceRefSchema, U as ArtifactActorSchema, V as defineArtifactLifecycleHooks, W as ArtifactCompareRequest, X as ArtifactKindRegistration, Y as ArtifactConflictPolicySchema, Z as ArtifactKindRegistrationSchema, _ as ArtifactResolveRequest, _t as ArtifactScopeSchema, a as ArtifactKindListRequest, at as ArtifactRefSchema, b as ArtifactReviseResponse, bt as ConfidenceLevel, c as ArtifactKindRegisterResponse, d as ArtifactQueryResponse, dt as ArtifactRelationTargetSchema, et as ArtifactQueryRequest, f as ArtifactRelationAddedPayload, ft as ArtifactRepresentations, g as ArtifactRelationTypeRegisterResponse, gt as ArtifactScope, h as ArtifactRelationTypeRegisterRequest, ht as ArtifactRevisionSchema, i as ArtifactKindChangedPayload, it as ArtifactRef, j as ArtifactDraftPatch, k as defineArtifactKind, kt as RelationTypeRegistrationSchema, l as ArtifactNamespace, lt as ArtifactRelationSchema, m as ArtifactRelationTypeListResponse, mt as ArtifactRevision, n as ArtifactCreateResponse, nt as ArtifactQueryScope, o as ArtifactKindListResponse, ot as ArtifactRelation, p as ArtifactRelationTypeListRequest, pt as ArtifactRepresentationsSchema, q as ArtifactCompareResponseSchema, r as ArtifactCreatedPayload, rt as ArtifactQueryScopeSchema, s as ArtifactKindRegisterRequest, t as ArtifactCreateRequest, tt as ArtifactQueryRequestSchema, u as ArtifactObservationAddedPayload, ut as ArtifactRelationTarget, v as ArtifactResolveResponse, vt as ConfidenceBasis, w as ArtifactSubjects, wt as EvidenceRef, x as ArtifactRevisedPayload, xt as ConfidenceLevelSchema, y as ArtifactReviseRequest, yt as ConfidenceBasisSchema, z as BeforeArtifactHookContext } from "../index-DBgv39-Q.mjs";
1
+ import { C as AdapterNamespace, _ as StartAgentRequest, a as AgentSelection, b as AdapterRuntimeOptions, c as AgentSelectionKindMap, d as SessionDiscoveredSchema, l as AgentSelectionSchema, n as ProviderContextSchema, o as AgentSelectionBase, r as AdapterSelection, s as AgentSelectionBaseSchema, t as ProviderContext, u as SessionDiscovered, v as StartAgentResponse, w as AdapterSubjects } from "../index-N7JtH6hX.mjs";
2
+ import { a as ROOT_SESSION_LINEAGE_KIND, c as SUBAGENT_SESSION_LINEAGE_KIND, d as SessionLineageKindSchema, i as ForkSessionLineageSchema, l as SessionLineage, n as CompressSessionLineageSchema, o as RootSessionLineageSchema, p as SubagentSessionLineageSchema, r as FORK_SESSION_LINEAGE_KIND, s as SESSION_LINEAGE_KINDS, t as COMPRESS_SESSION_LINEAGE_KIND, u as SessionLineageKind } from "../session-lineage-CJgqfkMj.mjs";
3
+ import { $ as ArtifactObservationSchema, A as ArtifactDraft, B as BeforeArtifactHookRegistration, C as ArtifactStatusChangedPayload, Ct as ConfidenceMetadataSchema, D as ArtifactKindDefinition, Dt as LocalRefSchema, E as ArtifactDataOf, Et as LocalRef, F as ArtifactLifecycleHookRegistration, G as ArtifactCompareRequestSchema, H as ArtifactActor, I as ArtifactLifecycleSemanticEvent, J as ArtifactConflictPolicy, K as ArtifactCompareResponse, L as ArtifactReactionHookContext, M as ArtifactHookFilter, N as ArtifactLifecycleHookDefinition, O as ArtifactOf, Ot as RelationTypeRegistration, P as ArtifactLifecycleHookEvent, Q as ArtifactObservation, R as ArtifactReactionHookRegistration, S as ArtifactSchemas, St as ConfidenceMetadata, T as AnyArtifactKindDefinition, Tt as EvidenceRefSchema, U as ArtifactActorSchema, V as defineArtifactLifecycleHooks, W as ArtifactCompareRequest, X as ArtifactKindRegistration, Y as ArtifactConflictPolicySchema, Z as ArtifactKindRegistrationSchema, _ as ArtifactResolveRequest, _t as ArtifactScopeSchema, a as ArtifactKindListRequest, at as ArtifactRefSchema, b as ArtifactReviseResponse, bt as ConfidenceLevel, c as ArtifactKindRegisterResponse, d as ArtifactQueryResponse, dt as ArtifactRelationTargetSchema, et as ArtifactQueryRequest, f as ArtifactRelationAddedPayload, ft as ArtifactRepresentations, g as ArtifactRelationTypeRegisterResponse, gt as ArtifactScope, h as ArtifactRelationTypeRegisterRequest, ht as ArtifactRevisionSchema, i as ArtifactKindChangedPayload, it as ArtifactRef, j as ArtifactDraftPatch, k as defineArtifactKind, kt as RelationTypeRegistrationSchema, l as ArtifactNamespace, lt as ArtifactRelationSchema, m as ArtifactRelationTypeListResponse, mt as ArtifactRevision, n as ArtifactCreateResponse, nt as ArtifactQueryScope, o as ArtifactKindListResponse, ot as ArtifactRelation, p as ArtifactRelationTypeListRequest, pt as ArtifactRepresentationsSchema, q as ArtifactCompareResponseSchema, r as ArtifactCreatedPayload, rt as ArtifactQueryScopeSchema, s as ArtifactKindRegisterRequest, t as ArtifactCreateRequest, tt as ArtifactQueryRequestSchema, u as ArtifactObservationAddedPayload, ut as ArtifactRelationTarget, v as ArtifactResolveResponse, vt as ConfidenceBasis, w as ArtifactSubjects, wt as EvidenceRef, x as ArtifactRevisedPayload, xt as ConfidenceLevelSchema, y as ArtifactReviseRequest, yt as ConfidenceBasisSchema, z as BeforeArtifactHookContext } from "../index-bLWdMu_T.mjs";
4
4
  import { a as ProjectedField, c as ProjectedFieldSemanticSchema, d as SurfaceBindingTarget, f as SurfaceBindingTargetSchema, i as ArtifactProjectionPolicySchema, l as SurfaceBindingRegistration, n as ArtifactMaterializationRefSchema, o as ProjectedFieldSchema, r as ArtifactProjectionPolicy, s as ProjectedFieldSemantic, t as ArtifactMaterializationRef, u as SurfaceBindingRegistrationSchema } from "../schemas-DMl7IKG-.mjs";
5
- import { T as ResolvableCanonicalModel, d as parseCanonicalModel, l as VIRTUAL_NAME_RE, n as CanonicalModelSubjects, o as CanonicalModelSelection, r as CanonicalModelResolvedSelection, u as isCanonicalModelParseError } from "../index-B99Prx5a.mjs";
5
+ import { T as ResolvableCanonicalModel, d as parseCanonicalModel, l as VIRTUAL_NAME_RE, n as CanonicalModelSubjects, o as CanonicalModelSelection, r as CanonicalModelResolvedSelection, u as isCanonicalModelParseError } from "../index-xeg-bqxO.mjs";
6
6
  import { A as VersionRange, M as isUniversalRange, N as versionSatisfies, O as VersionLiteral, S as PostInstallDescriptor, _ as LogSourceDefinitionSchema, a as ClientDefinitionSchema, b as NpmInstallDescriptor, f as ClientToolDefinition, g as LogSourceDefinition, j as VersionRangeSchema, k as VersionLiteralSchema, n as ClientBinaryCompatibilitySchema, p as ClientToolDefinitionSchema, r as ClientDefinition, t as ClientBinaryCompatibility, v as ManagedInstallDescriptor, w as SignedBinaryBucketInstallDescriptor, y as ManagedInstallDescriptorSchema } from "../definition-BdxbXbrq.mjs";
7
7
  import { Cn as ClientExecutionContext, Ht as InstallStage, J as ClientSessionToolPost, Jt as ClientAccountIdentifier, K as ClientSessionStarted, Kt as ManagedInstallStrategy, Q as ClientSessionTurnCompleted, Rt as ClientVersionChanged, U as ClientSubjects, V as createClientDefinition, W as ClientSessionObservedBase, Wt as InstalledVersionEntry, X as ClientSessionToolPre, Xt as ClientAccountObserveRequest, Yt as ClientAccountIdentifierSchema, _t as ClientBinaryListEntry, at as ClientWiringEntrySchema, cn as ClientSessionAccountObserveRequest, ct as ClientRuntimeObserveRequest, dn as ClientSessionLocator, gn as ClientUsageSnapshot, ht as ClientRuntimeStarted, in as ClientScanResult, it as ClientWiringEntry, ln as ClientSessionAccountObserveResponse, nn as ClientIdentityObservationSchema, nt as ClientSessionUserPromptSubmitted, on as ClientScanTarget, pn as ClientUsageIngestRequest, tn as ClientIdentityObservation, un as ClientSessionAccountObserveSchema, vn as ClientUsageWindow, xt as ClientInstallProgress, yt as ClientInstallCompleted } from "../index-BSFmBEDL.mjs";
8
8
  import { a as FocusContext, i as ActionIntent, t as SurfaceType } from "../index-BE-yMFTz.mjs";
9
9
  import { _ as TTSCapability, a as ConfigUpdateRequest, b as RelayConfig, c as AIModelMetadata, d as AIReasoningLevelSchema, f as DiscoveredAIModel, g as STTCapability, h as ReasoningLevelMap, i as ConfigSchemas, l as AIModelSchema, m as ProviderAIModelSchema, n as ConfigSubjects, o as ConfigUpdateResponse, p as ProviderAIModel, r as ConfigGetResponse, s as AIModel, u as AIReasoningLevel, v as Config, y as ConfigSchema } from "../config-namespace-DloU-hNB.mjs";
10
- import { $n as CliArgManifest, A as TransitionConditionSchema, B as BootstrapExportContext, Bn as ExtensionWarningAction, Bt as TileDeclaration, C as ExtensionTransitionActionsContribution, Cn as SessionEventActionOptions, Cr as dep, D as TransitionActionInvocation, Dt as PageDeclaration, E as TransitionActionHandler, Et as PageComponentProps, F as TransitionRuleDefinitionSchema, Fn as NodeExtensionContext, G as ExtensionBootstrap, Gt as UiContextSnapshot, H as BootstrapImportContext, Hn as ExtensionWarningEntry, Ht as TileProps, I as BootstrapAsset, In as ExtensionIdentity, It as WidgetProps, Jn as AdapterDefinitionContract, Jt as UiNavigationLevelMap, K as getBootstrapAssetKey, Kt as UiContextValueMap, L as BootstrapAssetKey, Ln as ExtensionService, M as TransitionEventType, N as TransitionEventTypeSchema, O as TransitionActionInvocationSchema, Or as AdapterClientRef, P as TransitionRuleDefinition, Pn as ExtensionContext, Pt as WidgetDeclaration, Qn as extensionToken, R as BootstrapChoice, Rn as ExtensionServiceLifecycle, S as MakaioNodeExtension, Sn as SessionEventActionDeclaration, Sr as allMigrationsPaths, T as TransitionActionFactory, Tn as WhenContext, Tr as CapabilityToken, Tt as ToolCallFormatterDeclaration, U as BootstrapImportResult, Un as ExtensionWarningEntrySchema, V as BootstrapExportResult, W as BootstrapResult, Wn as ExtensionWarningSchema, Wt as UiContextDimension, Xn as AdapterProviderRef, Xt as UiScope, Yn as AdapterProviderDefinitionContract, Yt as UiRuntimeNavigationLevel, Zn as ExtensionToken, Zt as UiScopeMap, _ as ExtensionArtifactLifecycleHooksContribution, _n as PickerConfig, _t as MakaioWebUiComponentProps, a as DetachedTransportSchema, an as HashTriggerSuggestResult, ar as ExtensionDependency, at as StationNodeBlockRun, bn as SelectionFeedback, c as ExtensionDescriptorBase, cn as ActionShortcut, ct as WorkflowStepBlock, d as ExtensionEntrypoints, dn as EntrypointConfig, dr as STORAGE_DIALECTS, f as ExtensionEntrypointsSchema, fn as EventFilter, fr as StorageDialect, ft as ExtensionConfigComponentProps, g as ArtifactLifecycleHooksContributionContext, gn as MessageRole, gt as MakaioWebUiActions, h as safeParseExtensionDescriptor, hn as MessageEventFilter, hr as TrayManifest, i as DetachedTransportConfig, it as RegisteredTriggerBlock, j as TransitionEvaluationContext, k as TransitionCondition, ln as ActionShortcutModifiers, lt as WorkflowStepBlockRun, m as parseExtensionDescriptor, mn as ExecuteResult, mt as LoaderContext, n as parseExtensionConfig, nn as HashTriggerContext, nr as CliManifestSchema, nt as DelegateRoleNodeBlockRun, o as EmbeddedDescriptor, on as ActionCategory, or as ExtensionDependencySchema, ot as WorkflowBlockCollection, p as isDetachedDescriptor, pn as ExecuteContext, pr as StorageManifest, pt as ExtensionFieldTypeLoader, q as AdapterContribution, qn as getExtensionWarningActionLabel, qt as UiNavigationLevel, r as DetachedDescriptor, rn as HashTriggerMetadata, rr as CliSubcommandManifest, rt as RegisteredStepBlock, s as ExtensionDescriptor, sn as ActionCategoryMap, st as WorkflowBlockMetadata, t as ExtensionConfigProvider, ti as BrowserEntrypointSchema, tn as HashTrigger, tr as CliManifest, tt as DelegateAgentNodeBlockRun, u as ExtensionDescriptorSchema, un as CreateSessionEventActionResult, ut as WorkflowTriggerBlock, v as ExtensionContributionProcessor, vn as PickerOpenContext, w as ExtensionTransitionRulesContribution, wn as StructuralEventFilter, wr as primaryMigrationsPath, x as MakaioExtension, xn as SessionEventActionContext, yn as SelectionChangeContext, yr as WindowParamSpec, yt as MakaioWebUiRoute, z as BootstrapDiscoverContext, zn as ExtensionWarning } from "../index-BLqtL-_a.mjs";
10
+ import { $n as CliArgManifest, A as TransitionConditionSchema, B as BootstrapExportContext, Bn as ExtensionWarningAction, Bt as TileDeclaration, C as ExtensionTransitionActionsContribution, Cn as SessionEventActionOptions, Cr as dep, D as TransitionActionInvocation, Dt as PageDeclaration, E as TransitionActionHandler, Et as PageComponentProps, F as TransitionRuleDefinitionSchema, Fn as NodeExtensionContext, G as ExtensionBootstrap, Gt as UiContextSnapshot, H as BootstrapImportContext, Hn as ExtensionWarningEntry, Ht as TileProps, I as BootstrapAsset, In as ExtensionIdentity, It as WidgetProps, Jn as AdapterDefinitionContract, Jt as UiNavigationLevelMap, K as getBootstrapAssetKey, Kt as UiContextValueMap, L as BootstrapAssetKey, Ln as ExtensionService, M as TransitionEventType, N as TransitionEventTypeSchema, O as TransitionActionInvocationSchema, Or as AdapterClientRef, P as TransitionRuleDefinition, Pn as ExtensionContext, Pt as WidgetDeclaration, Qn as extensionToken, R as BootstrapChoice, Rn as ExtensionServiceLifecycle, S as MakaioNodeExtension, Sn as SessionEventActionDeclaration, Sr as allMigrationsPaths, T as TransitionActionFactory, Tn as WhenContext, Tr as CapabilityToken, Tt as ToolCallFormatterDeclaration, U as BootstrapImportResult, Un as ExtensionWarningEntrySchema, V as BootstrapExportResult, W as BootstrapResult, Wn as ExtensionWarningSchema, Wt as UiContextDimension, Xn as AdapterProviderRef, Xt as UiScope, Yn as AdapterProviderDefinitionContract, Yt as UiRuntimeNavigationLevel, Zn as ExtensionToken, Zt as UiScopeMap, _ as ExtensionArtifactLifecycleHooksContribution, _n as PickerConfig, _t as MakaioWebUiComponentProps, a as DetachedTransportSchema, an as HashTriggerSuggestResult, ar as ExtensionDependency, at as StationNodeBlockRun, bn as SelectionFeedback, c as ExtensionDescriptorBase, cn as ActionShortcut, ct as WorkflowStepBlock, d as ExtensionEntrypoints, dn as EntrypointConfig, dr as STORAGE_DIALECTS, f as ExtensionEntrypointsSchema, fn as EventFilter, fr as StorageDialect, ft as ExtensionConfigComponentProps, g as ArtifactLifecycleHooksContributionContext, gn as MessageRole, gt as MakaioWebUiActions, h as safeParseExtensionDescriptor, hn as MessageEventFilter, hr as TrayManifest, i as DetachedTransportConfig, it as RegisteredTriggerBlock, j as TransitionEvaluationContext, k as TransitionCondition, ln as ActionShortcutModifiers, lt as WorkflowStepBlockRun, m as parseExtensionDescriptor, mn as ExecuteResult, mt as LoaderContext, n as parseExtensionConfig, nn as HashTriggerContext, nr as CliManifestSchema, nt as DelegateRoleNodeBlockRun, o as EmbeddedDescriptor, on as ActionCategory, or as ExtensionDependencySchema, ot as WorkflowBlockCollection, p as isDetachedDescriptor, pn as ExecuteContext, pr as StorageManifest, pt as ExtensionFieldTypeLoader, q as AdapterContribution, qn as getExtensionWarningActionLabel, qt as UiNavigationLevel, r as DetachedDescriptor, rn as HashTriggerMetadata, rr as CliSubcommandManifest, rt as RegisteredStepBlock, s as ExtensionDescriptor, sn as ActionCategoryMap, st as WorkflowBlockMetadata, t as ExtensionConfigProvider, ti as BrowserEntrypointSchema, tn as HashTrigger, tr as CliManifest, tt as DelegateAgentNodeBlockRun, u as ExtensionDescriptorSchema, un as CreateSessionEventActionResult, ut as WorkflowTriggerBlock, v as ExtensionContributionProcessor, vn as PickerOpenContext, w as ExtensionTransitionRulesContribution, wn as StructuralEventFilter, wr as primaryMigrationsPath, x as MakaioExtension, xn as SessionEventActionContext, yn as SelectionChangeContext, yr as WindowParamSpec, yt as MakaioWebUiRoute, z as BootstrapDiscoverContext, zn as ExtensionWarning } from "../index-C2tDMYm0.mjs";
11
11
  import { a as ProviderDefinition, i as ProtocolIdSchema, n as ProtocolEndpointsSchema, o as ProviderDefinitionInput, r as ProtocolId, s as ProviderDefinitionSchema, t as ProtocolEndpoints } from "../definition-BwLJnqEo.mjs";
12
12
  import { i as TimeoutConfigSchema, n as TimeoutCategory, r as TimeoutConfig, t as RequiredTimeoutConfig } from "../index-CBTp2XuF.mjs";
13
- import { $ as ImportStatus, B as TurnInitiator, C as SessionEventTypeMap, D as MessageRouting, G as TurnUsage, H as TurnSchema, K as TurnUsageSchema, M as SessionMessageBlock, O as MessageRoutingSchema, P as SessionMessageOrigin, R as SessionMessageSchema, S as SessionEventType, T as SendMessageRequest$1, U as TurnStatus, V as TurnInitiatorSchema, W as TurnStatusSchema, Y as AgentRole, Z as BranchKind, _ as ForkChildInfo, a as SessionPreviewData, b as SESSION_EVENT_TYPES, ct as safeValidateSnapshot, d as SegmentPolicy, dt as SessionPreviewDataSchema, ft as SessionWithPreviewSchema, h as SessionUpdatedEvent, ht as MakaioSessionAgentSchema, i as MakaioSessionEvent, it as SnapshotExportOptions, j as SessionMessage, k as MessageRoutingStatus, l as ForkTransforms, lt as validateSnapshot, mt as AgentStatusSchema, nt as SessionSnapshot, o as SessionWithPreview, ot as SnapshotImportConflictErrorData, p as SessionCreated, q as UsageMetrics, r as MakaioSessionAgent, rt as SessionSnapshotSchema, s as isKnownSessionEvent, st as SnapshotPreviewData, t as IMakaioSession, tt as SNAPSHOT_VERSION, u as ForkTransformsSchema, ut as MakaioSessionSchema, x as SessionEventPayload, y as MakaioSessionEventSchema, z as Turn } from "../types-4LKM7ZfA.mjs";
14
- import { $ as JsonValueSchema, A as FieldOption, B as ResponseSchemaDescriptorSchema, D as EntityUIConfig, E as CustomFieldDefinition, F as FieldWidget, G as StructuredOutputValidationErrorSchema, H as ResponseSchemaNameSchema, I as FormFieldProps, J as StructuredOutputValidationStatusSchema, K as StructuredOutputValidationSchema, O as EntityUIConfigSchema, P as FieldType, Q as JsonValue, R as StandardFieldDefinition, S as SystemPrompt, U as StructuredOutputValidation, V as ResponseSchemaName, W as StructuredOutputValidationError, Y as JsonObjectContractSchema, a as ErrorCategorySchema, d as MessageInput, i as ErrorCategory, k as FieldDefinition, l as MessageDeliveryMode, o as Message$1, p as MessageOutcome, q as StructuredOutputValidationStatus, r as ERROR_CATEGORIES, s as MessageBlock, t as ContentSource, y as SendMessageResultInnerResult, z as ResponseSchemaDescriptor } from "../index-B3mq3Qjf.mjs";
15
- import { _ as FacetNamespaceRegistration, a as FacetNamespaceRegisterRequest, c as FacetSubjects, d as FacetAppliesTo, f as FacetAppliesToSchema, g as FacetCardinalitySchema, h as FacetCardinality, i as FacetNamespaceListResponse, l as FacetNamespaceDefinition, m as FacetAuthoritySchema, n as FacetNamespaceChangedPayload, o as FacetNamespaceRegisterResponse, p as FacetAuthority, r as FacetNamespaceListRequest, s as FacetSchemas, t as FacetNamespace, u as defineFacetNamespace, v as FacetNamespaceRegistrationSchema } from "../index-WKF5BHsw.mjs";
13
+ import { $ as ImportStatus, B as TurnInitiator, C as SessionEventTypeMap, D as MessageRouting, G as TurnUsage, H as TurnSchema, K as TurnUsageSchema, M as SessionMessageBlock, O as MessageRoutingSchema, P as SessionMessageOrigin, R as SessionMessageSchema, S as SessionEventType, T as SendMessageRequest$1, U as TurnStatus, V as TurnInitiatorSchema, W as TurnStatusSchema, Y as AgentRole, Z as BranchKind, _ as ForkChildInfo, a as SessionPreviewData, b as SESSION_EVENT_TYPES, ct as safeValidateSnapshot, d as SegmentPolicy, dt as SessionPreviewDataSchema, ft as SessionWithPreviewSchema, h as SessionUpdatedEvent, ht as MakaioSessionAgentSchema, i as MakaioSessionEvent, it as SnapshotExportOptions, j as SessionMessage, k as MessageRoutingStatus, l as ForkTransforms, lt as validateSnapshot, mt as AgentStatusSchema, nt as SessionSnapshot, o as SessionWithPreview, ot as SnapshotImportConflictErrorData, p as SessionCreated, q as UsageMetrics, r as MakaioSessionAgent, rt as SessionSnapshotSchema, s as isKnownSessionEvent, st as SnapshotPreviewData, t as IMakaioSession, tt as SNAPSHOT_VERSION, u as ForkTransformsSchema, ut as MakaioSessionSchema, x as SessionEventPayload, y as MakaioSessionEventSchema, z as Turn } from "../types-8q9G9p34.mjs";
14
+ import { $ as JsonValueSchema, A as FieldOption, B as ResponseSchemaDescriptorSchema, D as EntityUIConfig, E as CustomFieldDefinition, F as FieldWidget, G as StructuredOutputValidationErrorSchema, H as ResponseSchemaNameSchema, I as FormFieldProps, J as StructuredOutputValidationStatusSchema, K as StructuredOutputValidationSchema, O as EntityUIConfigSchema, P as FieldType, Q as JsonValue, R as StandardFieldDefinition, S as SystemPrompt, U as StructuredOutputValidation, V as ResponseSchemaName, W as StructuredOutputValidationError, Y as JsonObjectContractSchema, a as ErrorCategorySchema, d as MessageInput, i as ErrorCategory, k as FieldDefinition, l as MessageDeliveryMode, o as Message$1, p as MessageOutcome, q as StructuredOutputValidationStatus, r as ERROR_CATEGORIES, s as MessageBlock, t as ContentSource, y as SendMessageResultInnerResult, z as ResponseSchemaDescriptor } from "../index-BZuF4I8O.mjs";
15
+ import { _ as FacetNamespaceRegistration, a as FacetNamespaceRegisterRequest, c as FacetSubjects, d as FacetAppliesTo, f as FacetAppliesToSchema, g as FacetCardinalitySchema, h as FacetCardinality, i as FacetNamespaceListResponse, l as FacetNamespaceDefinition, m as FacetAuthoritySchema, n as FacetNamespaceChangedPayload, o as FacetNamespaceRegisterResponse, p as FacetAuthority, r as FacetNamespaceListRequest, s as FacetSchemas, t as FacetNamespace, u as defineFacetNamespace, v as FacetNamespaceRegistrationSchema } from "../index-gYlNeEGH.mjs";
16
16
  import { n as defineSurfaceBinding, t as SurfaceBindingDefinition } from "../definition-CPc6oKaF.mjs";
17
- import { A as HarnessDefinitionSchema, C as ApprovalPolicy, D as HarnessDefinitionBaseSchema, E as HarnessDefinition, O as HarnessDefinitionCreate, S as HarnessSubjects, _ as ToolCapabilitySchema, d as expandProfileToolCapabilities, g as ToolCapability, h as CapabilityPickerValue, k as HarnessDefinitionCreateSchema, l as ProfileToolCapabilitiesConfig, m as CapabilityItem, o as codexCapabilityMap, p as CapabilityGroup, r as DEFAULT_HARNESSES, u as expandCapabilities, v as ToolMetaTag, w as ApprovalPolicySchema, y as computeMetaTags } from "../index-C24PcW2r.mjs";
17
+ import { A as HarnessDefinitionSchema, C as ApprovalPolicy, D as HarnessDefinitionBaseSchema, E as HarnessDefinition, O as HarnessDefinitionCreate, S as HarnessSubjects, _ as ToolCapabilitySchema, d as expandProfileToolCapabilities, g as ToolCapability, h as CapabilityPickerValue, k as HarnessDefinitionCreateSchema, l as ProfileToolCapabilitiesConfig, m as CapabilityItem, o as codexCapabilityMap, p as CapabilityGroup, r as DEFAULT_HARNESSES, u as expandCapabilities, v as ToolMetaTag, w as ApprovalPolicySchema, y as computeMetaTags } from "../index-CQuLV3jj.mjs";
18
18
  import { a as WindowCreateRequest, c as WindowFocusResponse, d as WindowListResponse, f as WindowOpenedEvent, g as HostSubjects, h as HostNamespace, i as WindowClosedEvent, l as WindowLabelChangedEvent, m as WindowStateSchema, n as TrayActivateRequest, o as WindowCreateResponse, p as WindowState, r as TrayActivateResponse, s as WindowFocusRequest, t as HostSchemas, u as WindowListRequest } from "../index-BUilJdHr.mjs";
19
- import { a as resolveModelVisibility, i as ModelVisibilitySchema, n as ModelFilterModeSchema, r as ModelVisibility, t as ModelFilterMode } from "../index-CEdOq5Om.mjs";
19
+ import { a as resolveModelVisibility, i as ModelVisibilitySchema, n as ModelFilterModeSchema, r as ModelVisibility, t as ModelFilterMode } from "../index-BDnI2oqX.mjs";
20
20
  import { a as ModelRegistrySupportedModelsResponse, i as ModelRegistrySupportedModelsRequest, n as ModelRegistrySupportedModel, o as ModelRegistryPublicNamespace, r as ModelRegistrySupportedModelSchema, s as ModelRegistryPublicSubjects } from "../index-CfpfkKih.mjs";
21
21
  import { a as PlatformSchemas, i as AutoLaunchStatusResponse, n as AutoLaunchEnableRequest, o as PlatformNamespace, r as AutoLaunchEnableResponse, s as PlatformSubjects, t as AutoLaunchDisableResponse } from "../index-DWqSqcpW.mjs";
22
- import { F as CONNECTOR_SWAP_CANCELLED_CODE, G as ContextWindowState, H as UI_WARNINGS_CATEGORY, I as ConnectorSwapCancelledError, K as ForkOptions, L as isConnectorSwapCancelledError, N as ResolveAgentConfigResponse, R as CONNECTOR_SWAP_WARNING_OPTION_IDS, S as isInViewBranch, U as SessionContext, V as INTERACTIVE_DIALOG_TIMEOUT_MS, W as SessionContextSchema, X as SessionSubjects, Y as SessionNamespace, a as SessionStorageSubjects, c as SessionEventStorageSubjects, d as messageCursorKey, f as messageToCursor, g as MessageStorageSubjects, h as MessageStorageNamespace, i as SessionStorageSetSessionSchema, l as compareMessageCursorAsc, m as MessagePageCursorSchema, n as SessionStorageNamespace, o as SessionStorageUpdateSchema, p as MessagePageCursor, q as SessionExtensionContext, r as SessionStorageSetRequestSchema, s as SessionEventStorageNamespace, t as ImportUpsertRequest, u as compareMessageCursorDesc, v as CompressionMode, y as CompressionModeSchema, z as CONNECTOR_SWAP_WARNING_SUPPRESSED_KEY } from "../index-QvciMc7_.mjs";
23
- import { A as SkillRecordInputSchema, C as SkillGetActiveSkillsResponse, E as SkillQuery, F as SkillRuntimePolicySchema, L as SkillScope, M as SkillReinjection, O as SkillRecord, P as SkillRuntimePolicy, S as SkillGetActiveSkillsRequest, T as SkillGetCatalogResponse, U as SkillNamespace, V as SkillTurnEntry, W as SkillSubjects, b as SkillFrontmatter, c as SkillActivateRequest, f as SkillActivationTrigger, g as SkillCatalogTurnEntry, i as ActivatedSkillMetadata, k as SkillRecordInput, l as SkillActivateResponse, m as SkillCatalogEntry, n as SkillStorageSubjects, o as ActiveSkillState, p as SkillActivationTriggerSchema, r as validateSkillScope, t as SkillStorageNamespace, u as SkillActivationMode, v as SkillDeactivationReason, w as SkillGetCatalogRequest, x as SkillFrontmatterSchema, y as SkillDeactivationReasonSchema, z as SkillSource } from "../index-BQ8H7cvY.mjs";
22
+ import { F as CONNECTOR_SWAP_CANCELLED_CODE, G as ContextWindowState, H as UI_WARNINGS_CATEGORY, I as ConnectorSwapCancelledError, K as ForkOptions, L as isConnectorSwapCancelledError, N as ResolveAgentConfigResponse, R as CONNECTOR_SWAP_WARNING_OPTION_IDS, S as isInViewBranch, U as SessionContext, V as INTERACTIVE_DIALOG_TIMEOUT_MS, W as SessionContextSchema, X as SessionSubjects, Y as SessionNamespace, a as SessionStorageSubjects, c as SessionEventStorageSubjects, d as messageCursorKey, f as messageToCursor, g as MessageStorageSubjects, h as MessageStorageNamespace, i as SessionStorageSetSessionSchema, l as compareMessageCursorAsc, m as MessagePageCursorSchema, n as SessionStorageNamespace, o as SessionStorageUpdateSchema, p as MessagePageCursor, q as SessionExtensionContext, r as SessionStorageSetRequestSchema, s as SessionEventStorageNamespace, t as ImportUpsertRequest, u as compareMessageCursorDesc, v as CompressionMode, y as CompressionModeSchema, z as CONNECTOR_SWAP_WARNING_SUPPRESSED_KEY } from "../index-DWBpxSGQ.mjs";
23
+ import { A as SkillRecordInputSchema, C as SkillGetActiveSkillsResponse, E as SkillQuery, F as SkillRuntimePolicySchema, L as SkillScope, M as SkillReinjection, O as SkillRecord, P as SkillRuntimePolicy, S as SkillGetActiveSkillsRequest, T as SkillGetCatalogResponse, U as SkillNamespace, V as SkillTurnEntry, W as SkillSubjects, b as SkillFrontmatter, c as SkillActivateRequest, f as SkillActivationTrigger, g as SkillCatalogTurnEntry, i as ActivatedSkillMetadata, k as SkillRecordInput, l as SkillActivateResponse, m as SkillCatalogEntry, n as SkillStorageSubjects, o as ActiveSkillState, p as SkillActivationTriggerSchema, r as validateSkillScope, t as SkillStorageNamespace, u as SkillActivationMode, v as SkillDeactivationReason, w as SkillGetCatalogRequest, x as SkillFrontmatterSchema, y as SkillDeactivationReasonSchema, z as SkillSource } from "../index-Doy13wLW.mjs";
24
24
  import { a as VariantGetInfoResponse, d as VariantUpgradeStatusSchema, i as MakaioVariantSchema, l as VariantUpgradeProgressEvent, n as VariantSubjects, o as VariantRequestUpgradeRequest, r as MakaioVariant, s as VariantRequestUpgradeResponse, t as VariantNamespace, u as VariantUpgradeStatus } from "../index-GuspCNLR.mjs";
25
25
  import { _ as SupervisorSessionStatusSchema, a as NativeSupervisorLaunchRequest, c as NativeSupervisorStatusRequest, d as NativeSupervisorStopRequest, g as SupervisorSessionStatus, m as SupervisorRuntimeSnapshot, n as NativeSupervisorAttachRequest, y as NativeSessionSupervisorSubjects } from "../index-DdCyeZ59.mjs";
26
26
  import { a as MaterializationSubjects, c as SurfaceBindingListResponse, i as MaterializationSchemas, l as SurfaceBindingRegisterRequest, n as MaterializationNamespace, o as SurfaceBindingChangedPayload, s as SurfaceBindingListRequest, u as SurfaceBindingRegisterResponse } from "../index-BM_y78ZA2.mjs";
@@ -268,25 +268,6 @@ declare const AgentNamespace: _$_makaio_core0.BusNamespaceDefinition<"agent", {
268
268
  occurredAt: _$zod.ZodOptional<_$zod.ZodNumber>;
269
269
  mcpSessionContext: _$zod.ZodObject<{
270
270
  sessionId: _$zod.ZodString;
271
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
272
- fullName: _$zod.ZodString;
273
- originalName: _$zod.ZodString;
274
- serverName: _$zod.ZodString;
275
- description: _$zod.ZodOptional<_$zod.ZodString>;
276
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
277
- exposureMode: _$zod.ZodEnum<{
278
- hidden: "hidden";
279
- discovery: "discovery";
280
- direct: "direct";
281
- }>;
282
- enabled: _$zod.ZodBoolean;
283
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
284
- discovery: "discovery";
285
- toolset: "toolset";
286
- }>>;
287
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
288
- exposed: _$zod.ZodBoolean;
289
- }, _$zod_v4_core0.$strip>>;
290
271
  servers: _$zod.ZodArray<_$zod.ZodObject<{
291
272
  name: _$zod.ZodString;
292
273
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -323,20 +304,39 @@ declare const AgentNamespace: _$_makaio_core0.BusNamespaceDefinition<"agent", {
323
304
  type: _$zod.ZodLiteral<"http">;
324
305
  }, _$zod_v4_core0.$strip>], "type">;
325
306
  exposureMode: _$zod.ZodEnum<{
326
- discovery: "discovery";
327
307
  direct: "direct";
308
+ discovery: "discovery";
328
309
  }>;
329
310
  }, _$zod_v4_core0.$strip>>;
330
- discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
311
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
331
312
  fullName: _$zod.ZodString;
332
313
  originalName: _$zod.ZodString;
333
314
  serverName: _$zod.ZodString;
334
315
  description: _$zod.ZodOptional<_$zod.ZodString>;
335
316
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
336
317
  exposureMode: _$zod.ZodEnum<{
318
+ direct: "direct";
319
+ discovery: "discovery";
337
320
  hidden: "hidden";
321
+ }>;
322
+ enabled: _$zod.ZodBoolean;
323
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
338
324
  discovery: "discovery";
325
+ toolset: "toolset";
326
+ }>>;
327
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
328
+ exposed: _$zod.ZodBoolean;
329
+ }, _$zod_v4_core0.$strip>>;
330
+ discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
331
+ fullName: _$zod.ZodString;
332
+ originalName: _$zod.ZodString;
333
+ serverName: _$zod.ZodString;
334
+ description: _$zod.ZodOptional<_$zod.ZodString>;
335
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
336
+ exposureMode: _$zod.ZodEnum<{
339
337
  direct: "direct";
338
+ discovery: "discovery";
339
+ hidden: "hidden";
340
340
  }>;
341
341
  enabled: _$zod.ZodBoolean;
342
342
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -364,10 +364,10 @@ declare const AgentNamespace: _$_makaio_core0.BusNamespaceDefinition<"agent", {
364
364
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
365
365
  messageId: _$zod.ZodOptional<_$zod.ZodString>;
366
366
  agentId: _$zod.ZodString;
367
- adapterId: _$zod.ZodString;
368
367
  adapterName: _$zod.ZodString;
369
- turnId: _$zod.ZodOptional<_$zod.ZodString>;
370
368
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
369
+ adapterId: _$zod.ZodString;
370
+ turnId: _$zod.ZodOptional<_$zod.ZodString>;
371
371
  occurredAt: _$zod.ZodOptional<_$zod.ZodNumber>;
372
372
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
373
373
  providerConfigId: _$zod.ZodString;
@@ -765,8 +765,8 @@ declare const AgentNamespace: _$_makaio_core0.BusNamespaceDefinition<"agent", {
765
765
  cachedTokens: _$zod.ZodOptional<_$zod.ZodNumber>;
766
766
  percentage: _$zod.ZodNumber;
767
767
  level: _$zod.ZodEnum<{
768
- warn: "warn";
769
768
  ok: "ok";
769
+ warn: "warn";
770
770
  critical: "critical";
771
771
  }>;
772
772
  }, _$zod_v4_core0.$strip>;
@@ -1553,25 +1553,6 @@ declare const AgentSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSub
1553
1553
  occurredAt: _$zod.ZodOptional<_$zod.ZodNumber>;
1554
1554
  mcpSessionContext: _$zod.ZodObject<{
1555
1555
  sessionId: _$zod.ZodString;
1556
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
1557
- fullName: _$zod.ZodString;
1558
- originalName: _$zod.ZodString;
1559
- serverName: _$zod.ZodString;
1560
- description: _$zod.ZodOptional<_$zod.ZodString>;
1561
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
1562
- exposureMode: _$zod.ZodEnum<{
1563
- hidden: "hidden";
1564
- discovery: "discovery";
1565
- direct: "direct";
1566
- }>;
1567
- enabled: _$zod.ZodBoolean;
1568
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
1569
- discovery: "discovery";
1570
- toolset: "toolset";
1571
- }>>;
1572
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
1573
- exposed: _$zod.ZodBoolean;
1574
- }, _$zod_v4_core0.$strip>>;
1575
1556
  servers: _$zod.ZodArray<_$zod.ZodObject<{
1576
1557
  name: _$zod.ZodString;
1577
1558
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -1608,20 +1589,39 @@ declare const AgentSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSub
1608
1589
  type: _$zod.ZodLiteral<"http">;
1609
1590
  }, _$zod_v4_core0.$strip>], "type">;
1610
1591
  exposureMode: _$zod.ZodEnum<{
1611
- discovery: "discovery";
1612
1592
  direct: "direct";
1593
+ discovery: "discovery";
1613
1594
  }>;
1614
1595
  }, _$zod_v4_core0.$strip>>;
1615
- discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
1596
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
1616
1597
  fullName: _$zod.ZodString;
1617
1598
  originalName: _$zod.ZodString;
1618
1599
  serverName: _$zod.ZodString;
1619
1600
  description: _$zod.ZodOptional<_$zod.ZodString>;
1620
1601
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
1621
1602
  exposureMode: _$zod.ZodEnum<{
1603
+ direct: "direct";
1604
+ discovery: "discovery";
1622
1605
  hidden: "hidden";
1606
+ }>;
1607
+ enabled: _$zod.ZodBoolean;
1608
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
1623
1609
  discovery: "discovery";
1610
+ toolset: "toolset";
1611
+ }>>;
1612
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
1613
+ exposed: _$zod.ZodBoolean;
1614
+ }, _$zod_v4_core0.$strip>>;
1615
+ discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
1616
+ fullName: _$zod.ZodString;
1617
+ originalName: _$zod.ZodString;
1618
+ serverName: _$zod.ZodString;
1619
+ description: _$zod.ZodOptional<_$zod.ZodString>;
1620
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
1621
+ exposureMode: _$zod.ZodEnum<{
1624
1622
  direct: "direct";
1623
+ discovery: "discovery";
1624
+ hidden: "hidden";
1625
1625
  }>;
1626
1626
  enabled: _$zod.ZodBoolean;
1627
1627
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -1649,10 +1649,10 @@ declare const AgentSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSub
1649
1649
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
1650
1650
  messageId: _$zod.ZodOptional<_$zod.ZodString>;
1651
1651
  agentId: _$zod.ZodString;
1652
- adapterId: _$zod.ZodString;
1653
1652
  adapterName: _$zod.ZodString;
1654
- turnId: _$zod.ZodOptional<_$zod.ZodString>;
1655
1653
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
1654
+ adapterId: _$zod.ZodString;
1655
+ turnId: _$zod.ZodOptional<_$zod.ZodString>;
1656
1656
  occurredAt: _$zod.ZodOptional<_$zod.ZodNumber>;
1657
1657
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1658
1658
  providerConfigId: _$zod.ZodString;
@@ -2050,8 +2050,8 @@ declare const AgentSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSub
2050
2050
  cachedTokens: _$zod.ZodOptional<_$zod.ZodNumber>;
2051
2051
  percentage: _$zod.ZodNumber;
2052
2052
  level: _$zod.ZodEnum<{
2053
- warn: "warn";
2054
2053
  ok: "ok";
2054
+ warn: "warn";
2055
2055
  critical: "critical";
2056
2056
  }>;
2057
2057
  }, _$zod_v4_core0.$strip>;
@@ -2865,25 +2865,6 @@ declare const AgentSchemas: {
2865
2865
  occurredAt: _$zod.ZodOptional<_$zod.ZodNumber>;
2866
2866
  mcpSessionContext: _$zod.ZodObject<{
2867
2867
  sessionId: _$zod.ZodString;
2868
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
2869
- fullName: _$zod.ZodString;
2870
- originalName: _$zod.ZodString;
2871
- serverName: _$zod.ZodString;
2872
- description: _$zod.ZodOptional<_$zod.ZodString>;
2873
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
2874
- exposureMode: _$zod.ZodEnum<{
2875
- hidden: "hidden";
2876
- discovery: "discovery";
2877
- direct: "direct";
2878
- }>;
2879
- enabled: _$zod.ZodBoolean;
2880
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
2881
- discovery: "discovery";
2882
- toolset: "toolset";
2883
- }>>;
2884
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
2885
- exposed: _$zod.ZodBoolean;
2886
- }, _$zod_v4_core0.$strip>>;
2887
2868
  servers: _$zod.ZodArray<_$zod.ZodObject<{
2888
2869
  name: _$zod.ZodString;
2889
2870
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -2920,20 +2901,39 @@ declare const AgentSchemas: {
2920
2901
  type: _$zod.ZodLiteral<"http">;
2921
2902
  }, _$zod_v4_core0.$strip>], "type">;
2922
2903
  exposureMode: _$zod.ZodEnum<{
2923
- discovery: "discovery";
2924
2904
  direct: "direct";
2905
+ discovery: "discovery";
2925
2906
  }>;
2926
2907
  }, _$zod_v4_core0.$strip>>;
2927
- discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
2908
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
2928
2909
  fullName: _$zod.ZodString;
2929
2910
  originalName: _$zod.ZodString;
2930
2911
  serverName: _$zod.ZodString;
2931
2912
  description: _$zod.ZodOptional<_$zod.ZodString>;
2932
2913
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
2933
2914
  exposureMode: _$zod.ZodEnum<{
2915
+ direct: "direct";
2916
+ discovery: "discovery";
2934
2917
  hidden: "hidden";
2918
+ }>;
2919
+ enabled: _$zod.ZodBoolean;
2920
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
2935
2921
  discovery: "discovery";
2922
+ toolset: "toolset";
2923
+ }>>;
2924
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
2925
+ exposed: _$zod.ZodBoolean;
2926
+ }, _$zod_v4_core0.$strip>>;
2927
+ discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
2928
+ fullName: _$zod.ZodString;
2929
+ originalName: _$zod.ZodString;
2930
+ serverName: _$zod.ZodString;
2931
+ description: _$zod.ZodOptional<_$zod.ZodString>;
2932
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
2933
+ exposureMode: _$zod.ZodEnum<{
2936
2934
  direct: "direct";
2935
+ discovery: "discovery";
2936
+ hidden: "hidden";
2937
2937
  }>;
2938
2938
  enabled: _$zod.ZodBoolean;
2939
2939
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -2961,10 +2961,10 @@ declare const AgentSchemas: {
2961
2961
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
2962
2962
  messageId: _$zod.ZodOptional<_$zod.ZodString>;
2963
2963
  agentId: _$zod.ZodString;
2964
- adapterId: _$zod.ZodString;
2965
2964
  adapterName: _$zod.ZodString;
2966
- turnId: _$zod.ZodOptional<_$zod.ZodString>;
2967
2965
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
2966
+ adapterId: _$zod.ZodString;
2967
+ turnId: _$zod.ZodOptional<_$zod.ZodString>;
2968
2968
  occurredAt: _$zod.ZodOptional<_$zod.ZodNumber>;
2969
2969
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
2970
2970
  providerConfigId: _$zod.ZodString;
@@ -3362,8 +3362,8 @@ declare const AgentSchemas: {
3362
3362
  cachedTokens: _$zod.ZodOptional<_$zod.ZodNumber>;
3363
3363
  percentage: _$zod.ZodNumber;
3364
3364
  level: _$zod.ZodEnum<{
3365
- warn: "warn";
3366
3365
  ok: "ok";
3366
+ warn: "warn";
3367
3367
  critical: "critical";
3368
3368
  }>;
3369
3369
  }, _$zod_v4_core0.$strip>;
@@ -4661,9 +4661,9 @@ declare const ResolvedAgentConfigSchema: z.ZodObject<{
4661
4661
  directTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
4662
4662
  discoveryTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
4663
4663
  toolExposure: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
4664
- hidden: "hidden";
4665
- discovery: "discovery";
4666
4664
  direct: "direct";
4665
+ discovery: "discovery";
4666
+ hidden: "hidden";
4667
4667
  }>>>;
4668
4668
  }, z.core.$strip>>;
4669
4669
  }, z.core.$strip>;
@@ -4712,25 +4712,6 @@ declare const AgentResolutionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
4712
4712
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4713
4713
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
4714
4714
  sessionId: _$zod.ZodString;
4715
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
4716
- fullName: _$zod.ZodString;
4717
- originalName: _$zod.ZodString;
4718
- serverName: _$zod.ZodString;
4719
- description: _$zod.ZodOptional<_$zod.ZodString>;
4720
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4721
- exposureMode: _$zod.ZodEnum<{
4722
- hidden: "hidden";
4723
- discovery: "discovery";
4724
- direct: "direct";
4725
- }>;
4726
- enabled: _$zod.ZodBoolean;
4727
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4728
- discovery: "discovery";
4729
- toolset: "toolset";
4730
- }>>;
4731
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4732
- exposed: _$zod.ZodBoolean;
4733
- }, _$zod_v4_core0.$strip>>;
4734
4715
  servers: _$zod.ZodArray<_$zod.ZodObject<{
4735
4716
  name: _$zod.ZodString;
4736
4717
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -4767,20 +4748,39 @@ declare const AgentResolutionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
4767
4748
  type: _$zod.ZodLiteral<"http">;
4768
4749
  }, _$zod_v4_core0.$strip>], "type">;
4769
4750
  exposureMode: _$zod.ZodEnum<{
4770
- discovery: "discovery";
4771
4751
  direct: "direct";
4752
+ discovery: "discovery";
4772
4753
  }>;
4773
4754
  }, _$zod_v4_core0.$strip>>;
4774
- discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
4755
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
4775
4756
  fullName: _$zod.ZodString;
4776
4757
  originalName: _$zod.ZodString;
4777
4758
  serverName: _$zod.ZodString;
4778
4759
  description: _$zod.ZodOptional<_$zod.ZodString>;
4779
4760
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4780
4761
  exposureMode: _$zod.ZodEnum<{
4762
+ direct: "direct";
4763
+ discovery: "discovery";
4781
4764
  hidden: "hidden";
4765
+ }>;
4766
+ enabled: _$zod.ZodBoolean;
4767
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4782
4768
  discovery: "discovery";
4769
+ toolset: "toolset";
4770
+ }>>;
4771
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4772
+ exposed: _$zod.ZodBoolean;
4773
+ }, _$zod_v4_core0.$strip>>;
4774
+ discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
4775
+ fullName: _$zod.ZodString;
4776
+ originalName: _$zod.ZodString;
4777
+ serverName: _$zod.ZodString;
4778
+ description: _$zod.ZodOptional<_$zod.ZodString>;
4779
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4780
+ exposureMode: _$zod.ZodEnum<{
4783
4781
  direct: "direct";
4782
+ discovery: "discovery";
4783
+ hidden: "hidden";
4784
4784
  }>;
4785
4785
  enabled: _$zod.ZodBoolean;
4786
4786
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -4836,9 +4836,9 @@ declare const AgentResolutionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
4836
4836
  directTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
4837
4837
  discoveryTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
4838
4838
  toolExposure: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
4839
- hidden: "hidden";
4840
- discovery: "discovery";
4841
4839
  direct: "direct";
4840
+ discovery: "discovery";
4841
+ hidden: "hidden";
4842
4842
  }>>>;
4843
4843
  }, _$zod_v4_core0.$strip>>;
4844
4844
  }, _$zod_v4_core0.$strip>;
@@ -5417,8 +5417,8 @@ declare const VCSCheckRunSchema: z.ZodObject<{
5417
5417
  conclusion: z.ZodNullable<z.ZodEnum<{
5418
5418
  success: "success";
5419
5419
  cancelled: "cancelled";
5420
- skipped: "skipped";
5421
5420
  neutral: "neutral";
5421
+ skipped: "skipped";
5422
5422
  failure: "failure";
5423
5423
  timed_out: "timed_out";
5424
5424
  action_required: "action_required";
@@ -5857,8 +5857,8 @@ declare const VCSSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubje
5857
5857
  conclusion: _$zod.ZodNullable<_$zod.ZodEnum<{
5858
5858
  success: "success";
5859
5859
  cancelled: "cancelled";
5860
- skipped: "skipped";
5861
5860
  neutral: "neutral";
5861
+ skipped: "skipped";
5862
5862
  failure: "failure";
5863
5863
  timed_out: "timed_out";
5864
5864
  action_required: "action_required";
@@ -6073,8 +6073,8 @@ type FindingSeverity = z.infer<typeof FindingSeveritySchema>;
6073
6073
  * How the finding was produced.
6074
6074
  */
6075
6075
  declare const FindingOriginSchema: z.ZodEnum<{
6076
- agent: "agent";
6077
6076
  inline: "inline";
6077
+ agent: "agent";
6078
6078
  "review-body": "review-body";
6079
6079
  "issue-comment": "issue-comment";
6080
6080
  "cli-output": "cli-output";
@@ -6113,8 +6113,8 @@ declare const ReviewFindingSchema: z.ZodObject<{
6113
6113
  sourceId: z.ZodString;
6114
6114
  reviewer: z.ZodString;
6115
6115
  origin: z.ZodEnum<{
6116
- agent: "agent";
6117
6116
  inline: "inline";
6117
+ agent: "agent";
6118
6118
  "review-body": "review-body";
6119
6119
  "issue-comment": "issue-comment";
6120
6120
  "cli-output": "cli-output";
@@ -6291,8 +6291,8 @@ declare const ReviewSchemas: {
6291
6291
  sourceId: z.ZodString;
6292
6292
  reviewer: z.ZodString;
6293
6293
  origin: z.ZodEnum<{
6294
- agent: "agent";
6295
6294
  inline: "inline";
6295
+ agent: "agent";
6296
6296
  "review-body": "review-body";
6297
6297
  "issue-comment": "issue-comment";
6298
6298
  "cli-output": "cli-output";
@@ -6366,8 +6366,8 @@ declare const ReviewSchemas: {
6366
6366
  sourceId: z.ZodString;
6367
6367
  reviewer: z.ZodString;
6368
6368
  origin: z.ZodEnum<{
6369
- agent: "agent";
6370
6369
  inline: "inline";
6370
+ agent: "agent";
6371
6371
  "review-body": "review-body";
6372
6372
  "issue-comment": "issue-comment";
6373
6373
  "cli-output": "cli-output";
@@ -6438,19 +6438,13 @@ declare const ReviewSchemas: {
6438
6438
  }, z.core.$strip>;
6439
6439
  message: z.ZodString;
6440
6440
  origin: z.ZodEnum<{
6441
- agent: "agent";
6442
6441
  inline: "inline";
6442
+ agent: "agent";
6443
6443
  "review-body": "review-body";
6444
6444
  "issue-comment": "issue-comment";
6445
6445
  "cli-output": "cli-output";
6446
6446
  }>;
6447
6447
  id: z.ZodString;
6448
- severity: z.ZodEnum<{
6449
- critical: "critical";
6450
- major: "major";
6451
- minor: "minor";
6452
- nitpick: "nitpick";
6453
- }>;
6454
6448
  status: z.ZodEnum<{
6455
6449
  verified: "verified";
6456
6450
  open: "open";
@@ -6458,6 +6452,12 @@ declare const ReviewSchemas: {
6458
6452
  dismissed: "dismissed";
6459
6453
  deferred: "deferred";
6460
6454
  }>;
6455
+ severity: z.ZodEnum<{
6456
+ critical: "critical";
6457
+ major: "major";
6458
+ minor: "minor";
6459
+ nitpick: "nitpick";
6460
+ }>;
6461
6461
  sourceId: z.ZodString;
6462
6462
  reviewer: z.ZodString;
6463
6463
  threadId: z.ZodNullable<z.ZodString>;
@@ -6487,8 +6487,8 @@ declare const ReviewSchemas: {
6487
6487
  sourceId: z.ZodString;
6488
6488
  reviewer: z.ZodString;
6489
6489
  origin: z.ZodEnum<{
6490
- agent: "agent";
6491
6490
  inline: "inline";
6491
+ agent: "agent";
6492
6492
  "review-body": "review-body";
6493
6493
  "issue-comment": "issue-comment";
6494
6494
  "cli-output": "cli-output";
@@ -6564,8 +6564,8 @@ declare const ReviewSchemas: {
6564
6564
  sourceId: z.ZodString;
6565
6565
  reviewer: z.ZodString;
6566
6566
  origin: z.ZodEnum<{
6567
- agent: "agent";
6568
6567
  inline: "inline";
6568
+ agent: "agent";
6569
6569
  "review-body": "review-body";
6570
6570
  "issue-comment": "issue-comment";
6571
6571
  "cli-output": "cli-output";
@@ -6621,8 +6621,8 @@ declare const ReviewSchemas: {
6621
6621
  sourceId: z.ZodString;
6622
6622
  reviewer: z.ZodString;
6623
6623
  origin: z.ZodEnum<{
6624
- agent: "agent";
6625
6624
  inline: "inline";
6625
+ agent: "agent";
6626
6626
  "review-body": "review-body";
6627
6627
  "issue-comment": "issue-comment";
6628
6628
  "cli-output": "cli-output";
@@ -6981,8 +6981,8 @@ declare const ReviewNamespace: _$_makaio_core0.BusNamespaceDefinition<"review",
6981
6981
  sourceId: _$zod.ZodString;
6982
6982
  reviewer: _$zod.ZodString;
6983
6983
  origin: _$zod.ZodEnum<{
6984
- agent: "agent";
6985
6984
  inline: "inline";
6985
+ agent: "agent";
6986
6986
  "review-body": "review-body";
6987
6987
  "issue-comment": "issue-comment";
6988
6988
  "cli-output": "cli-output";
@@ -7051,8 +7051,8 @@ declare const ReviewNamespace: _$_makaio_core0.BusNamespaceDefinition<"review",
7051
7051
  sourceId: _$zod.ZodString;
7052
7052
  reviewer: _$zod.ZodString;
7053
7053
  origin: _$zod.ZodEnum<{
7054
- agent: "agent";
7055
7054
  inline: "inline";
7055
+ agent: "agent";
7056
7056
  "review-body": "review-body";
7057
7057
  "issue-comment": "issue-comment";
7058
7058
  "cli-output": "cli-output";
@@ -7113,19 +7113,13 @@ declare const ReviewNamespace: _$_makaio_core0.BusNamespaceDefinition<"review",
7113
7113
  }, _$zod_v4_core0.$strip>;
7114
7114
  message: _$zod.ZodString;
7115
7115
  origin: _$zod.ZodEnum<{
7116
- agent: "agent";
7117
7116
  inline: "inline";
7117
+ agent: "agent";
7118
7118
  "review-body": "review-body";
7119
7119
  "issue-comment": "issue-comment";
7120
7120
  "cli-output": "cli-output";
7121
7121
  }>;
7122
7122
  id: _$zod.ZodString;
7123
- severity: _$zod.ZodEnum<{
7124
- critical: "critical";
7125
- major: "major";
7126
- minor: "minor";
7127
- nitpick: "nitpick";
7128
- }>;
7129
7123
  status: _$zod.ZodEnum<{
7130
7124
  verified: "verified";
7131
7125
  open: "open";
@@ -7133,6 +7127,12 @@ declare const ReviewNamespace: _$_makaio_core0.BusNamespaceDefinition<"review",
7133
7127
  dismissed: "dismissed";
7134
7128
  deferred: "deferred";
7135
7129
  }>;
7130
+ severity: _$zod.ZodEnum<{
7131
+ critical: "critical";
7132
+ major: "major";
7133
+ minor: "minor";
7134
+ nitpick: "nitpick";
7135
+ }>;
7136
7136
  sourceId: _$zod.ZodString;
7137
7137
  reviewer: _$zod.ZodString;
7138
7138
  threadId: _$zod.ZodNullable<_$zod.ZodString>;
@@ -7162,8 +7162,8 @@ declare const ReviewNamespace: _$_makaio_core0.BusNamespaceDefinition<"review",
7162
7162
  sourceId: _$zod.ZodString;
7163
7163
  reviewer: _$zod.ZodString;
7164
7164
  origin: _$zod.ZodEnum<{
7165
- agent: "agent";
7166
7165
  inline: "inline";
7166
+ agent: "agent";
7167
7167
  "review-body": "review-body";
7168
7168
  "issue-comment": "issue-comment";
7169
7169
  "cli-output": "cli-output";
@@ -7234,8 +7234,8 @@ declare const ReviewNamespace: _$_makaio_core0.BusNamespaceDefinition<"review",
7234
7234
  sourceId: _$zod.ZodString;
7235
7235
  reviewer: _$zod.ZodString;
7236
7236
  origin: _$zod.ZodEnum<{
7237
- agent: "agent";
7238
7237
  inline: "inline";
7238
+ agent: "agent";
7239
7239
  "review-body": "review-body";
7240
7240
  "issue-comment": "issue-comment";
7241
7241
  "cli-output": "cli-output";
@@ -7286,8 +7286,8 @@ declare const ReviewNamespace: _$_makaio_core0.BusNamespaceDefinition<"review",
7286
7286
  sourceId: _$zod.ZodString;
7287
7287
  reviewer: _$zod.ZodString;
7288
7288
  origin: _$zod.ZodEnum<{
7289
- agent: "agent";
7290
7289
  inline: "inline";
7290
+ agent: "agent";
7291
7291
  "review-body": "review-body";
7292
7292
  "issue-comment": "issue-comment";
7293
7293
  "cli-output": "cli-output";
@@ -7431,8 +7431,8 @@ declare const ReviewSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
7431
7431
  sourceId: _$zod.ZodString;
7432
7432
  reviewer: _$zod.ZodString;
7433
7433
  origin: _$zod.ZodEnum<{
7434
- agent: "agent";
7435
7434
  inline: "inline";
7435
+ agent: "agent";
7436
7436
  "review-body": "review-body";
7437
7437
  "issue-comment": "issue-comment";
7438
7438
  "cli-output": "cli-output";
@@ -7501,8 +7501,8 @@ declare const ReviewSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
7501
7501
  sourceId: _$zod.ZodString;
7502
7502
  reviewer: _$zod.ZodString;
7503
7503
  origin: _$zod.ZodEnum<{
7504
- agent: "agent";
7505
7504
  inline: "inline";
7505
+ agent: "agent";
7506
7506
  "review-body": "review-body";
7507
7507
  "issue-comment": "issue-comment";
7508
7508
  "cli-output": "cli-output";
@@ -7563,19 +7563,13 @@ declare const ReviewSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
7563
7563
  }, _$zod_v4_core0.$strip>;
7564
7564
  message: _$zod.ZodString;
7565
7565
  origin: _$zod.ZodEnum<{
7566
- agent: "agent";
7567
7566
  inline: "inline";
7567
+ agent: "agent";
7568
7568
  "review-body": "review-body";
7569
7569
  "issue-comment": "issue-comment";
7570
7570
  "cli-output": "cli-output";
7571
7571
  }>;
7572
7572
  id: _$zod.ZodString;
7573
- severity: _$zod.ZodEnum<{
7574
- critical: "critical";
7575
- major: "major";
7576
- minor: "minor";
7577
- nitpick: "nitpick";
7578
- }>;
7579
7573
  status: _$zod.ZodEnum<{
7580
7574
  verified: "verified";
7581
7575
  open: "open";
@@ -7583,6 +7577,12 @@ declare const ReviewSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
7583
7577
  dismissed: "dismissed";
7584
7578
  deferred: "deferred";
7585
7579
  }>;
7580
+ severity: _$zod.ZodEnum<{
7581
+ critical: "critical";
7582
+ major: "major";
7583
+ minor: "minor";
7584
+ nitpick: "nitpick";
7585
+ }>;
7586
7586
  sourceId: _$zod.ZodString;
7587
7587
  reviewer: _$zod.ZodString;
7588
7588
  threadId: _$zod.ZodNullable<_$zod.ZodString>;
@@ -7612,8 +7612,8 @@ declare const ReviewSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
7612
7612
  sourceId: _$zod.ZodString;
7613
7613
  reviewer: _$zod.ZodString;
7614
7614
  origin: _$zod.ZodEnum<{
7615
- agent: "agent";
7616
7615
  inline: "inline";
7616
+ agent: "agent";
7617
7617
  "review-body": "review-body";
7618
7618
  "issue-comment": "issue-comment";
7619
7619
  "cli-output": "cli-output";
@@ -7684,8 +7684,8 @@ declare const ReviewSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
7684
7684
  sourceId: _$zod.ZodString;
7685
7685
  reviewer: _$zod.ZodString;
7686
7686
  origin: _$zod.ZodEnum<{
7687
- agent: "agent";
7688
7687
  inline: "inline";
7688
+ agent: "agent";
7689
7689
  "review-body": "review-body";
7690
7690
  "issue-comment": "issue-comment";
7691
7691
  "cli-output": "cli-output";
@@ -7736,8 +7736,8 @@ declare const ReviewSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
7736
7736
  sourceId: _$zod.ZodString;
7737
7737
  reviewer: _$zod.ZodString;
7738
7738
  origin: _$zod.ZodEnum<{
7739
- agent: "agent";
7740
7739
  inline: "inline";
7740
+ agent: "agent";
7741
7741
  "review-body": "review-body";
7742
7742
  "issue-comment": "issue-comment";
7743
7743
  "cli-output": "cli-output";
@@ -10867,6 +10867,22 @@ declare const WorkflowDefinitionProvenanceSchema: z.ZodDiscriminatedUnion<[z.Zod
10867
10867
  metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
10868
10868
  }, z.core.$strict>], "kind">;
10869
10869
  type WorkflowDefinitionProvenance = z.infer<typeof WorkflowDefinitionProvenanceSchema>;
10870
+ /**
10871
+ * Optional state contract declared on a workflow definition.
10872
+ *
10873
+ * When present, the workflow engine initializes run-scoped mutable state
10874
+ * at execution start and exposes it to station handlers via `ctx.state`.
10875
+ * State is runtime-owned execution data — persisted as a current snapshot
10876
+ * plus an append-only mutation log, never through the artifact store.
10877
+ * Keep state as small run working memory; large context, evidence, and
10878
+ * durable domain outputs belong in context providers or artifact storage.
10879
+ */
10880
+ declare const WorkflowStateDefinitionSchema: z.ZodObject<{
10881
+ schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
10882
+ initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
10883
+ }, z.core.$strip>;
10884
+ /** Inferred type for {@link WorkflowStateDefinitionSchema}. */
10885
+ type WorkflowStateDefinition = z.infer<typeof WorkflowStateDefinitionSchema>;
10870
10886
  /**
10871
10887
  * Persisted workflow definition in the pipeline-primitive model.
10872
10888
  *
@@ -10886,6 +10902,10 @@ declare const WorkflowDefinitionSchema: z.ZodObject<{
10886
10902
  inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
10887
10903
  configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
10888
10904
  outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
10905
+ state: z.ZodOptional<z.ZodObject<{
10906
+ schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
10907
+ initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
10908
+ }, z.core.$strip>>;
10889
10909
  artifact: z.ZodOptional<z.ZodObject<{
10890
10910
  kind: z.ZodString;
10891
10911
  schemaVersion: z.ZodString;
@@ -11001,8 +11021,8 @@ declare const ExecutionStatusSchema: z.ZodEnum<{
11001
11021
  completed: "completed";
11002
11022
  cancelled: "cancelled";
11003
11023
  failed: "failed";
11004
- running: "running";
11005
11024
  paused: "paused";
11025
+ running: "running";
11006
11026
  }>;
11007
11027
  type ExecutionStatus = z.infer<typeof ExecutionStatusSchema>;
11008
11028
  /**
@@ -11017,8 +11037,8 @@ declare const WorkflowExecutionSchema: z.ZodObject<{
11017
11037
  completed: "completed";
11018
11038
  cancelled: "cancelled";
11019
11039
  failed: "failed";
11020
- running: "running";
11021
11040
  paused: "paused";
11041
+ running: "running";
11022
11042
  }>;
11023
11043
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
11024
11044
  config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -11074,8 +11094,8 @@ declare const WorkflowFrameStateSchema: z.ZodObject<{
11074
11094
  cancelled: "cancelled";
11075
11095
  failed: "failed";
11076
11096
  running: "running";
11077
- skipped: "skipped";
11078
11097
  waiting: "waiting";
11098
+ skipped: "skipped";
11079
11099
  }>;
11080
11100
  attempt: z.ZodDefault<z.ZodNumber>;
11081
11101
  iteration: z.ZodOptional<z.ZodNumber>;
@@ -11090,8 +11110,8 @@ type WorkflowFrameState = z.infer<typeof WorkflowFrameStateSchema>;
11090
11110
  declare const WorkflowGateStatusSchema: z.ZodEnum<{
11091
11111
  cancelled: "cancelled";
11092
11112
  rejected: "rejected";
11093
- resumed: "resumed";
11094
11113
  waiting: "waiting";
11114
+ resumed: "resumed";
11095
11115
  "timed-out": "timed-out";
11096
11116
  }>;
11097
11117
  type WorkflowGateStatus = z.infer<typeof WorkflowGateStatusSchema>;
@@ -11111,8 +11131,8 @@ declare const WorkflowGateInstanceSchema: z.ZodObject<{
11111
11131
  status: z.ZodEnum<{
11112
11132
  cancelled: "cancelled";
11113
11133
  rejected: "rejected";
11114
- resumed: "resumed";
11115
11134
  waiting: "waiting";
11135
+ resumed: "resumed";
11116
11136
  "timed-out": "timed-out";
11117
11137
  }>;
11118
11138
  autoAction: z.ZodEnum<{
@@ -11271,8 +11291,8 @@ declare const ExecutionListQuerySchema: z.ZodObject<{
11271
11291
  completed: "completed";
11272
11292
  cancelled: "cancelled";
11273
11293
  failed: "failed";
11274
- running: "running";
11275
11294
  paused: "paused";
11295
+ running: "running";
11276
11296
  }>>;
11277
11297
  artifactRef: z.ZodOptional<z.ZodObject<{
11278
11298
  kind: z.ZodString;
@@ -11296,8 +11316,8 @@ declare const GateInstanceListQuerySchema: z.ZodObject<{
11296
11316
  status: z.ZodOptional<z.ZodEnum<{
11297
11317
  cancelled: "cancelled";
11298
11318
  rejected: "rejected";
11299
- resumed: "resumed";
11300
11319
  waiting: "waiting";
11320
+ resumed: "resumed";
11301
11321
  "timed-out": "timed-out";
11302
11322
  }>>;
11303
11323
  limit: z.ZodDefault<z.ZodNumber>;
@@ -11673,6 +11693,23 @@ declare const ExecutionLinkListQuerySchema: z.ZodObject<{
11673
11693
  }, z.core.$strip>;
11674
11694
  type ExecutionLinkListQuery = z.infer<typeof ExecutionLinkListQuerySchema>;
11675
11695
  //#endregion
11696
+ //#region core/contracts/src/workflow/json-patch.d.ts
11697
+ /** JSON Patch operation shape accepted by workflow state mutation subjects. */
11698
+ type JsonPatchOperation = {
11699
+ op: 'add' | 'replace' | 'test';
11700
+ path: string;
11701
+ value: JsonValue;
11702
+ } | {
11703
+ op: 'remove';
11704
+ path: string;
11705
+ } | {
11706
+ op: 'move' | 'copy';
11707
+ path: string;
11708
+ from: string;
11709
+ };
11710
+ /** Runtime schema for {@link JsonPatchOperation}. */
11711
+ declare const JsonPatchOperationSchema: z.ZodType<JsonPatchOperation>;
11712
+ //#endregion
11676
11713
  //#region core/contracts/src/workflow/context.d.ts
11677
11714
  /**
11678
11715
  * Artifact-query context source — resolves context from the artifact system.
@@ -11925,6 +11962,10 @@ declare const WorkflowSchemas: {
11925
11962
  inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
11926
11963
  configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
11927
11964
  outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
11965
+ state: z.ZodOptional<z.ZodObject<{
11966
+ schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
11967
+ initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
11968
+ }, z.core.$strip>>;
11928
11969
  artifact: z.ZodOptional<z.ZodObject<{
11929
11970
  kind: z.ZodString;
11930
11971
  schemaVersion: z.ZodString;
@@ -12037,6 +12078,10 @@ declare const WorkflowSchemas: {
12037
12078
  inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
12038
12079
  configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
12039
12080
  outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
12081
+ state: z.ZodOptional<z.ZodObject<{
12082
+ schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
12083
+ initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
12084
+ }, z.core.$strip>>;
12040
12085
  artifact: z.ZodOptional<z.ZodObject<{
12041
12086
  kind: z.ZodString;
12042
12087
  schemaVersion: z.ZodString;
@@ -12175,6 +12220,10 @@ declare const WorkflowSchemas: {
12175
12220
  inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
12176
12221
  configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
12177
12222
  outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
12223
+ state: z.ZodOptional<z.ZodObject<{
12224
+ schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
12225
+ initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
12226
+ }, z.core.$strip>>;
12178
12227
  artifact: z.ZodOptional<z.ZodObject<{
12179
12228
  kind: z.ZodString;
12180
12229
  schemaVersion: z.ZodString;
@@ -12285,6 +12334,10 @@ declare const WorkflowSchemas: {
12285
12334
  inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
12286
12335
  configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
12287
12336
  outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
12337
+ state: z.ZodOptional<z.ZodObject<{
12338
+ schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
12339
+ initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
12340
+ }, z.core.$strip>>;
12288
12341
  artifact: z.ZodOptional<z.ZodObject<{
12289
12342
  kind: z.ZodString;
12290
12343
  schemaVersion: z.ZodString;
@@ -12393,6 +12446,10 @@ declare const WorkflowSchemas: {
12393
12446
  inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
12394
12447
  configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
12395
12448
  outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
12449
+ state: z.ZodOptional<z.ZodObject<{
12450
+ schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
12451
+ initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
12452
+ }, z.core.$strip>>;
12396
12453
  artifact: z.ZodOptional<z.ZodObject<{
12397
12454
  kind: z.ZodString;
12398
12455
  schemaVersion: z.ZodString;
@@ -12568,8 +12625,8 @@ declare const WorkflowSchemas: {
12568
12625
  completed: "completed";
12569
12626
  cancelled: "cancelled";
12570
12627
  failed: "failed";
12571
- running: "running";
12572
12628
  paused: "paused";
12629
+ running: "running";
12573
12630
  }>;
12574
12631
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
12575
12632
  config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -12625,8 +12682,8 @@ declare const WorkflowSchemas: {
12625
12682
  completed: "completed";
12626
12683
  cancelled: "cancelled";
12627
12684
  failed: "failed";
12628
- running: "running";
12629
12685
  paused: "paused";
12686
+ running: "running";
12630
12687
  }>>;
12631
12688
  artifactRef: z.ZodOptional<z.ZodObject<{
12632
12689
  kind: z.ZodString;
@@ -12648,8 +12705,8 @@ declare const WorkflowSchemas: {
12648
12705
  completed: "completed";
12649
12706
  cancelled: "cancelled";
12650
12707
  failed: "failed";
12651
- running: "running";
12652
12708
  paused: "paused";
12709
+ running: "running";
12653
12710
  }>;
12654
12711
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
12655
12712
  config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -12732,8 +12789,8 @@ declare const WorkflowSchemas: {
12732
12789
  status: z.ZodOptional<z.ZodEnum<{
12733
12790
  cancelled: "cancelled";
12734
12791
  rejected: "rejected";
12735
- resumed: "resumed";
12736
12792
  waiting: "waiting";
12793
+ resumed: "resumed";
12737
12794
  "timed-out": "timed-out";
12738
12795
  }>>;
12739
12796
  limit: z.ZodDefault<z.ZodNumber>;
@@ -12748,8 +12805,8 @@ declare const WorkflowSchemas: {
12748
12805
  status: z.ZodEnum<{
12749
12806
  cancelled: "cancelled";
12750
12807
  rejected: "rejected";
12751
- resumed: "resumed";
12752
12808
  waiting: "waiting";
12809
+ resumed: "resumed";
12753
12810
  "timed-out": "timed-out";
12754
12811
  }>;
12755
12812
  autoAction: z.ZodEnum<{
@@ -12843,8 +12900,8 @@ declare const WorkflowSchemas: {
12843
12900
  cancelled: "cancelled";
12844
12901
  failed: "failed";
12845
12902
  running: "running";
12846
- skipped: "skipped";
12847
12903
  waiting: "waiting";
12904
+ skipped: "skipped";
12848
12905
  }>;
12849
12906
  attempt: z.ZodDefault<z.ZodNumber>;
12850
12907
  iteration: z.ZodOptional<z.ZodNumber>;
@@ -13022,6 +13079,10 @@ declare const WorkflowSchemas: {
13022
13079
  inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
13023
13080
  configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
13024
13081
  outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
13082
+ state: z.ZodOptional<z.ZodObject<{
13083
+ schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
13084
+ initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
13085
+ }, z.core.$strip>>;
13025
13086
  artifact: z.ZodOptional<z.ZodObject<{
13026
13087
  kind: z.ZodString;
13027
13088
  schemaVersion: z.ZodString;
@@ -13540,8 +13601,8 @@ declare const WorkflowSchemas: {
13540
13601
  completed: "completed";
13541
13602
  cancelled: "cancelled";
13542
13603
  failed: "failed";
13543
- running: "running";
13544
13604
  paused: "paused";
13605
+ running: "running";
13545
13606
  }>;
13546
13607
  startedAt: z.ZodNumber;
13547
13608
  completedAt: z.ZodOptional<z.ZodNumber>;
@@ -13568,8 +13629,8 @@ declare const WorkflowSchemas: {
13568
13629
  completed: "completed";
13569
13630
  cancelled: "cancelled";
13570
13631
  failed: "failed";
13571
- running: "running";
13572
13632
  paused: "paused";
13633
+ running: "running";
13573
13634
  }>>;
13574
13635
  limit: z.ZodOptional<z.ZodNumber>;
13575
13636
  offset: z.ZodOptional<z.ZodNumber>;
@@ -13584,8 +13645,8 @@ declare const WorkflowSchemas: {
13584
13645
  completed: "completed";
13585
13646
  cancelled: "cancelled";
13586
13647
  failed: "failed";
13587
- running: "running";
13588
13648
  paused: "paused";
13649
+ running: "running";
13589
13650
  }>;
13590
13651
  startedAt: z.ZodNumber;
13591
13652
  completedAt: z.ZodOptional<z.ZodNumber>;
@@ -13612,31 +13673,83 @@ declare const WorkflowSchemas: {
13612
13673
  until: z.ZodOptional<z.ZodNumber>;
13613
13674
  }, z.core.$strip>;
13614
13675
  response: z.ZodObject<{
13615
- stats: z.ZodObject<{
13616
- total: z.ZodNumber;
13617
- byStatus: z.ZodObject<{
13618
- pending: z.ZodNumber;
13619
- running: z.ZodNumber;
13620
- paused: z.ZodNumber;
13621
- completed: z.ZodNumber;
13622
- failed: z.ZodNumber;
13623
- cancelled: z.ZodNumber;
13624
- }, z.core.$strip>;
13625
- totalDurationMs: z.ZodNumber;
13626
- totalInputTokens: z.ZodNumber;
13627
- totalOutputTokens: z.ZodNumber;
13628
- totalEstimatedCost: z.ZodNumber;
13629
- }, z.core.$strip>;
13676
+ stats: z.ZodObject<{
13677
+ total: z.ZodNumber;
13678
+ byStatus: z.ZodObject<{
13679
+ pending: z.ZodNumber;
13680
+ running: z.ZodNumber;
13681
+ paused: z.ZodNumber;
13682
+ completed: z.ZodNumber;
13683
+ failed: z.ZodNumber;
13684
+ cancelled: z.ZodNumber;
13685
+ }, z.core.$strip>;
13686
+ totalDurationMs: z.ZodNumber;
13687
+ totalInputTokens: z.ZodNumber;
13688
+ totalOutputTokens: z.ZodNumber;
13689
+ totalEstimatedCost: z.ZodNumber;
13690
+ }, z.core.$strip>;
13691
+ }, z.core.$strip>;
13692
+ };
13693
+ /**
13694
+ * Emitted when a WorkLog record for an execution is created or updated.
13695
+ *
13696
+ * Subscribers can use this as a lightweight push notification to
13697
+ * invalidate cached summaries without polling.
13698
+ */
13699
+ 'worklog.changed': z.ZodObject<{
13700
+ executionId: z.ZodString;
13701
+ }, z.core.$strip>;
13702
+ /**
13703
+ * Retrieve the current run state snapshot for a workflow execution (RPC).
13704
+ *
13705
+ * Returns the current sequence number and state value. Sequence `0` is
13706
+ * the initial state written at execution start.
13707
+ */
13708
+ 'state.get': {
13709
+ request: z.ZodObject<{
13710
+ executionId: z.ZodString;
13711
+ }, z.core.$strip>;
13712
+ response: z.ZodObject<{
13713
+ executionId: z.ZodString;
13714
+ sequence: z.ZodNumber;
13715
+ value: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
13716
+ }, z.core.$strip>;
13717
+ };
13718
+ /**
13719
+ * Apply a state mutation to a workflow execution (RPC).
13720
+ *
13721
+ * The caller supplies the full next value and a JSON Patch array describing
13722
+ * the requested mutation. The engine persists a canonical patch derived from
13723
+ * the accepted state transition so the audit log and update events cannot
13724
+ * drift from the stored snapshot. The required `expectedSequence` lets the
13725
+ * handler reject the mutation if the current sequence does not match
13726
+ * (optimistic concurrency control).
13727
+ */
13728
+ 'state.patch': {
13729
+ request: z.ZodObject<{
13730
+ executionId: z.ZodString;
13731
+ expectedSequence: z.ZodNumber;
13732
+ patch: z.ZodArray<z.ZodType<_$_makaio_contracts0.JsonPatchOperation, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonPatchOperation, unknown>>>;
13733
+ nextValue: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
13734
+ }, z.core.$strip>;
13735
+ response: z.ZodObject<{
13736
+ executionId: z.ZodString;
13737
+ sequence: z.ZodNumber;
13738
+ value: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
13630
13739
  }, z.core.$strip>;
13631
13740
  };
13632
13741
  /**
13633
- * Emitted when a WorkLog record for an execution is created or updated.
13742
+ * Emitted after a state mutation is accepted and persisted.
13634
13743
  *
13635
- * Subscribers can use this as a lightweight push notification to
13636
- * invalidate cached summaries without polling.
13744
+ * Subscribers use this for real-time state change observation
13745
+ * without polling the `state.get` RPC.
13637
13746
  */
13638
- 'worklog.changed': z.ZodObject<{
13747
+ 'state.updated': z.ZodObject<{
13639
13748
  executionId: z.ZodString;
13749
+ sequence: z.ZodNumber;
13750
+ patch: z.ZodArray<z.ZodType<_$_makaio_contracts0.JsonPatchOperation, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonPatchOperation, unknown>>>;
13751
+ value: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
13752
+ updatedAt: z.ZodNumber;
13640
13753
  }, z.core.$strip>;
13641
13754
  };
13642
13755
  declare const WorkflowNamespace: _$_makaio_core0.BusNamespaceDefinition<"workflow", {
@@ -13652,6 +13765,10 @@ declare const WorkflowNamespace: _$_makaio_core0.BusNamespaceDefinition<"workflo
13652
13765
  inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
13653
13766
  configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
13654
13767
  outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
13768
+ state: z.ZodOptional<z.ZodObject<{
13769
+ schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
13770
+ initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
13771
+ }, z.core.$strip>>;
13655
13772
  artifact: z.ZodOptional<z.ZodObject<{
13656
13773
  kind: z.ZodString;
13657
13774
  schemaVersion: z.ZodString;
@@ -13764,6 +13881,10 @@ declare const WorkflowNamespace: _$_makaio_core0.BusNamespaceDefinition<"workflo
13764
13881
  inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
13765
13882
  configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
13766
13883
  outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
13884
+ state: z.ZodOptional<z.ZodObject<{
13885
+ schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
13886
+ initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
13887
+ }, z.core.$strip>>;
13767
13888
  artifact: z.ZodOptional<z.ZodObject<{
13768
13889
  kind: z.ZodString;
13769
13890
  schemaVersion: z.ZodString;
@@ -13902,6 +14023,10 @@ declare const WorkflowNamespace: _$_makaio_core0.BusNamespaceDefinition<"workflo
13902
14023
  inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
13903
14024
  configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
13904
14025
  outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
14026
+ state: z.ZodOptional<z.ZodObject<{
14027
+ schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
14028
+ initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
14029
+ }, z.core.$strip>>;
13905
14030
  artifact: z.ZodOptional<z.ZodObject<{
13906
14031
  kind: z.ZodString;
13907
14032
  schemaVersion: z.ZodString;
@@ -14012,6 +14137,10 @@ declare const WorkflowNamespace: _$_makaio_core0.BusNamespaceDefinition<"workflo
14012
14137
  inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
14013
14138
  configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
14014
14139
  outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
14140
+ state: z.ZodOptional<z.ZodObject<{
14141
+ schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
14142
+ initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
14143
+ }, z.core.$strip>>;
14015
14144
  artifact: z.ZodOptional<z.ZodObject<{
14016
14145
  kind: z.ZodString;
14017
14146
  schemaVersion: z.ZodString;
@@ -14120,6 +14249,10 @@ declare const WorkflowNamespace: _$_makaio_core0.BusNamespaceDefinition<"workflo
14120
14249
  inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
14121
14250
  configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
14122
14251
  outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
14252
+ state: z.ZodOptional<z.ZodObject<{
14253
+ schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
14254
+ initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
14255
+ }, z.core.$strip>>;
14123
14256
  artifact: z.ZodOptional<z.ZodObject<{
14124
14257
  kind: z.ZodString;
14125
14258
  schemaVersion: z.ZodString;
@@ -14295,8 +14428,8 @@ declare const WorkflowNamespace: _$_makaio_core0.BusNamespaceDefinition<"workflo
14295
14428
  completed: "completed";
14296
14429
  cancelled: "cancelled";
14297
14430
  failed: "failed";
14298
- running: "running";
14299
14431
  paused: "paused";
14432
+ running: "running";
14300
14433
  }>;
14301
14434
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
14302
14435
  config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -14352,8 +14485,8 @@ declare const WorkflowNamespace: _$_makaio_core0.BusNamespaceDefinition<"workflo
14352
14485
  completed: "completed";
14353
14486
  cancelled: "cancelled";
14354
14487
  failed: "failed";
14355
- running: "running";
14356
14488
  paused: "paused";
14489
+ running: "running";
14357
14490
  }>>;
14358
14491
  artifactRef: z.ZodOptional<z.ZodObject<{
14359
14492
  kind: z.ZodString;
@@ -14375,8 +14508,8 @@ declare const WorkflowNamespace: _$_makaio_core0.BusNamespaceDefinition<"workflo
14375
14508
  completed: "completed";
14376
14509
  cancelled: "cancelled";
14377
14510
  failed: "failed";
14378
- running: "running";
14379
14511
  paused: "paused";
14512
+ running: "running";
14380
14513
  }>;
14381
14514
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
14382
14515
  config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -14459,8 +14592,8 @@ declare const WorkflowNamespace: _$_makaio_core0.BusNamespaceDefinition<"workflo
14459
14592
  status: z.ZodOptional<z.ZodEnum<{
14460
14593
  cancelled: "cancelled";
14461
14594
  rejected: "rejected";
14462
- resumed: "resumed";
14463
14595
  waiting: "waiting";
14596
+ resumed: "resumed";
14464
14597
  "timed-out": "timed-out";
14465
14598
  }>>;
14466
14599
  limit: z.ZodDefault<z.ZodNumber>;
@@ -14475,8 +14608,8 @@ declare const WorkflowNamespace: _$_makaio_core0.BusNamespaceDefinition<"workflo
14475
14608
  status: z.ZodEnum<{
14476
14609
  cancelled: "cancelled";
14477
14610
  rejected: "rejected";
14478
- resumed: "resumed";
14479
14611
  waiting: "waiting";
14612
+ resumed: "resumed";
14480
14613
  "timed-out": "timed-out";
14481
14614
  }>;
14482
14615
  autoAction: z.ZodEnum<{
@@ -14570,8 +14703,8 @@ declare const WorkflowNamespace: _$_makaio_core0.BusNamespaceDefinition<"workflo
14570
14703
  cancelled: "cancelled";
14571
14704
  failed: "failed";
14572
14705
  running: "running";
14573
- skipped: "skipped";
14574
14706
  waiting: "waiting";
14707
+ skipped: "skipped";
14575
14708
  }>;
14576
14709
  attempt: z.ZodDefault<z.ZodNumber>;
14577
14710
  iteration: z.ZodOptional<z.ZodNumber>;
@@ -14749,6 +14882,10 @@ declare const WorkflowNamespace: _$_makaio_core0.BusNamespaceDefinition<"workflo
14749
14882
  inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
14750
14883
  configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
14751
14884
  outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
14885
+ state: z.ZodOptional<z.ZodObject<{
14886
+ schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
14887
+ initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
14888
+ }, z.core.$strip>>;
14752
14889
  artifact: z.ZodOptional<z.ZodObject<{
14753
14890
  kind: z.ZodString;
14754
14891
  schemaVersion: z.ZodString;
@@ -15267,8 +15404,8 @@ declare const WorkflowNamespace: _$_makaio_core0.BusNamespaceDefinition<"workflo
15267
15404
  completed: "completed";
15268
15405
  cancelled: "cancelled";
15269
15406
  failed: "failed";
15270
- running: "running";
15271
15407
  paused: "paused";
15408
+ running: "running";
15272
15409
  }>;
15273
15410
  startedAt: z.ZodNumber;
15274
15411
  completedAt: z.ZodOptional<z.ZodNumber>;
@@ -15295,8 +15432,8 @@ declare const WorkflowNamespace: _$_makaio_core0.BusNamespaceDefinition<"workflo
15295
15432
  completed: "completed";
15296
15433
  cancelled: "cancelled";
15297
15434
  failed: "failed";
15298
- running: "running";
15299
15435
  paused: "paused";
15436
+ running: "running";
15300
15437
  }>>;
15301
15438
  limit: z.ZodOptional<z.ZodNumber>;
15302
15439
  offset: z.ZodOptional<z.ZodNumber>;
@@ -15311,8 +15448,8 @@ declare const WorkflowNamespace: _$_makaio_core0.BusNamespaceDefinition<"workflo
15311
15448
  completed: "completed";
15312
15449
  cancelled: "cancelled";
15313
15450
  failed: "failed";
15314
- running: "running";
15315
15451
  paused: "paused";
15452
+ running: "running";
15316
15453
  }>;
15317
15454
  startedAt: z.ZodNumber;
15318
15455
  completedAt: z.ZodOptional<z.ZodNumber>;
@@ -15365,6 +15502,58 @@ declare const WorkflowNamespace: _$_makaio_core0.BusNamespaceDefinition<"workflo
15365
15502
  'worklog.changed': z.ZodObject<{
15366
15503
  executionId: z.ZodString;
15367
15504
  }, z.core.$strip>;
15505
+ /**
15506
+ * Retrieve the current run state snapshot for a workflow execution (RPC).
15507
+ *
15508
+ * Returns the current sequence number and state value. Sequence `0` is
15509
+ * the initial state written at execution start.
15510
+ */
15511
+ 'state.get': {
15512
+ request: z.ZodObject<{
15513
+ executionId: z.ZodString;
15514
+ }, z.core.$strip>;
15515
+ response: z.ZodObject<{
15516
+ executionId: z.ZodString;
15517
+ sequence: z.ZodNumber;
15518
+ value: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
15519
+ }, z.core.$strip>;
15520
+ };
15521
+ /**
15522
+ * Apply a state mutation to a workflow execution (RPC).
15523
+ *
15524
+ * The caller supplies the full next value and a JSON Patch array describing
15525
+ * the requested mutation. The engine persists a canonical patch derived from
15526
+ * the accepted state transition so the audit log and update events cannot
15527
+ * drift from the stored snapshot. The required `expectedSequence` lets the
15528
+ * handler reject the mutation if the current sequence does not match
15529
+ * (optimistic concurrency control).
15530
+ */
15531
+ 'state.patch': {
15532
+ request: z.ZodObject<{
15533
+ executionId: z.ZodString;
15534
+ expectedSequence: z.ZodNumber;
15535
+ patch: z.ZodArray<z.ZodType<_$_makaio_contracts0.JsonPatchOperation, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonPatchOperation, unknown>>>;
15536
+ nextValue: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
15537
+ }, z.core.$strip>;
15538
+ response: z.ZodObject<{
15539
+ executionId: z.ZodString;
15540
+ sequence: z.ZodNumber;
15541
+ value: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
15542
+ }, z.core.$strip>;
15543
+ };
15544
+ /**
15545
+ * Emitted after a state mutation is accepted and persisted.
15546
+ *
15547
+ * Subscribers use this for real-time state change observation
15548
+ * without polling the `state.get` RPC.
15549
+ */
15550
+ 'state.updated': z.ZodObject<{
15551
+ executionId: z.ZodString;
15552
+ sequence: z.ZodNumber;
15553
+ patch: z.ZodArray<z.ZodType<_$_makaio_contracts0.JsonPatchOperation, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonPatchOperation, unknown>>>;
15554
+ value: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
15555
+ updatedAt: z.ZodNumber;
15556
+ }, z.core.$strip>;
15368
15557
  }>;
15369
15558
  declare const WorkflowSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjectDefinitions<"workflow", {
15370
15559
  getDefinition: {
@@ -15379,6 +15568,10 @@ declare const WorkflowSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
15379
15568
  inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
15380
15569
  configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
15381
15570
  outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
15571
+ state: z.ZodOptional<z.ZodObject<{
15572
+ schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
15573
+ initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
15574
+ }, z.core.$strip>>;
15382
15575
  artifact: z.ZodOptional<z.ZodObject<{
15383
15576
  kind: z.ZodString;
15384
15577
  schemaVersion: z.ZodString;
@@ -15491,6 +15684,10 @@ declare const WorkflowSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
15491
15684
  inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
15492
15685
  configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
15493
15686
  outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
15687
+ state: z.ZodOptional<z.ZodObject<{
15688
+ schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
15689
+ initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
15690
+ }, z.core.$strip>>;
15494
15691
  artifact: z.ZodOptional<z.ZodObject<{
15495
15692
  kind: z.ZodString;
15496
15693
  schemaVersion: z.ZodString;
@@ -15629,6 +15826,10 @@ declare const WorkflowSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
15629
15826
  inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
15630
15827
  configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
15631
15828
  outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
15829
+ state: z.ZodOptional<z.ZodObject<{
15830
+ schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
15831
+ initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
15832
+ }, z.core.$strip>>;
15632
15833
  artifact: z.ZodOptional<z.ZodObject<{
15633
15834
  kind: z.ZodString;
15634
15835
  schemaVersion: z.ZodString;
@@ -15739,6 +15940,10 @@ declare const WorkflowSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
15739
15940
  inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
15740
15941
  configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
15741
15942
  outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
15943
+ state: z.ZodOptional<z.ZodObject<{
15944
+ schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
15945
+ initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
15946
+ }, z.core.$strip>>;
15742
15947
  artifact: z.ZodOptional<z.ZodObject<{
15743
15948
  kind: z.ZodString;
15744
15949
  schemaVersion: z.ZodString;
@@ -15847,6 +16052,10 @@ declare const WorkflowSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
15847
16052
  inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
15848
16053
  configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
15849
16054
  outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
16055
+ state: z.ZodOptional<z.ZodObject<{
16056
+ schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
16057
+ initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
16058
+ }, z.core.$strip>>;
15850
16059
  artifact: z.ZodOptional<z.ZodObject<{
15851
16060
  kind: z.ZodString;
15852
16061
  schemaVersion: z.ZodString;
@@ -16022,8 +16231,8 @@ declare const WorkflowSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
16022
16231
  completed: "completed";
16023
16232
  cancelled: "cancelled";
16024
16233
  failed: "failed";
16025
- running: "running";
16026
16234
  paused: "paused";
16235
+ running: "running";
16027
16236
  }>;
16028
16237
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
16029
16238
  config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -16079,8 +16288,8 @@ declare const WorkflowSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
16079
16288
  completed: "completed";
16080
16289
  cancelled: "cancelled";
16081
16290
  failed: "failed";
16082
- running: "running";
16083
16291
  paused: "paused";
16292
+ running: "running";
16084
16293
  }>>;
16085
16294
  artifactRef: z.ZodOptional<z.ZodObject<{
16086
16295
  kind: z.ZodString;
@@ -16102,8 +16311,8 @@ declare const WorkflowSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
16102
16311
  completed: "completed";
16103
16312
  cancelled: "cancelled";
16104
16313
  failed: "failed";
16105
- running: "running";
16106
16314
  paused: "paused";
16315
+ running: "running";
16107
16316
  }>;
16108
16317
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
16109
16318
  config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -16186,8 +16395,8 @@ declare const WorkflowSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
16186
16395
  status: z.ZodOptional<z.ZodEnum<{
16187
16396
  cancelled: "cancelled";
16188
16397
  rejected: "rejected";
16189
- resumed: "resumed";
16190
16398
  waiting: "waiting";
16399
+ resumed: "resumed";
16191
16400
  "timed-out": "timed-out";
16192
16401
  }>>;
16193
16402
  limit: z.ZodDefault<z.ZodNumber>;
@@ -16202,8 +16411,8 @@ declare const WorkflowSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
16202
16411
  status: z.ZodEnum<{
16203
16412
  cancelled: "cancelled";
16204
16413
  rejected: "rejected";
16205
- resumed: "resumed";
16206
16414
  waiting: "waiting";
16415
+ resumed: "resumed";
16207
16416
  "timed-out": "timed-out";
16208
16417
  }>;
16209
16418
  autoAction: z.ZodEnum<{
@@ -16297,8 +16506,8 @@ declare const WorkflowSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
16297
16506
  cancelled: "cancelled";
16298
16507
  failed: "failed";
16299
16508
  running: "running";
16300
- skipped: "skipped";
16301
16509
  waiting: "waiting";
16510
+ skipped: "skipped";
16302
16511
  }>;
16303
16512
  attempt: z.ZodDefault<z.ZodNumber>;
16304
16513
  iteration: z.ZodOptional<z.ZodNumber>;
@@ -16476,6 +16685,10 @@ declare const WorkflowSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
16476
16685
  inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
16477
16686
  configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
16478
16687
  outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
16688
+ state: z.ZodOptional<z.ZodObject<{
16689
+ schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
16690
+ initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
16691
+ }, z.core.$strip>>;
16479
16692
  artifact: z.ZodOptional<z.ZodObject<{
16480
16693
  kind: z.ZodString;
16481
16694
  schemaVersion: z.ZodString;
@@ -16994,8 +17207,8 @@ declare const WorkflowSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
16994
17207
  completed: "completed";
16995
17208
  cancelled: "cancelled";
16996
17209
  failed: "failed";
16997
- running: "running";
16998
17210
  paused: "paused";
17211
+ running: "running";
16999
17212
  }>;
17000
17213
  startedAt: z.ZodNumber;
17001
17214
  completedAt: z.ZodOptional<z.ZodNumber>;
@@ -17022,8 +17235,8 @@ declare const WorkflowSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
17022
17235
  completed: "completed";
17023
17236
  cancelled: "cancelled";
17024
17237
  failed: "failed";
17025
- running: "running";
17026
17238
  paused: "paused";
17239
+ running: "running";
17027
17240
  }>>;
17028
17241
  limit: z.ZodOptional<z.ZodNumber>;
17029
17242
  offset: z.ZodOptional<z.ZodNumber>;
@@ -17038,8 +17251,8 @@ declare const WorkflowSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
17038
17251
  completed: "completed";
17039
17252
  cancelled: "cancelled";
17040
17253
  failed: "failed";
17041
- running: "running";
17042
17254
  paused: "paused";
17255
+ running: "running";
17043
17256
  }>;
17044
17257
  startedAt: z.ZodNumber;
17045
17258
  completedAt: z.ZodOptional<z.ZodNumber>;
@@ -17092,6 +17305,58 @@ declare const WorkflowSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
17092
17305
  'worklog.changed': z.ZodObject<{
17093
17306
  executionId: z.ZodString;
17094
17307
  }, z.core.$strip>;
17308
+ /**
17309
+ * Retrieve the current run state snapshot for a workflow execution (RPC).
17310
+ *
17311
+ * Returns the current sequence number and state value. Sequence `0` is
17312
+ * the initial state written at execution start.
17313
+ */
17314
+ 'state.get': {
17315
+ request: z.ZodObject<{
17316
+ executionId: z.ZodString;
17317
+ }, z.core.$strip>;
17318
+ response: z.ZodObject<{
17319
+ executionId: z.ZodString;
17320
+ sequence: z.ZodNumber;
17321
+ value: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
17322
+ }, z.core.$strip>;
17323
+ };
17324
+ /**
17325
+ * Apply a state mutation to a workflow execution (RPC).
17326
+ *
17327
+ * The caller supplies the full next value and a JSON Patch array describing
17328
+ * the requested mutation. The engine persists a canonical patch derived from
17329
+ * the accepted state transition so the audit log and update events cannot
17330
+ * drift from the stored snapshot. The required `expectedSequence` lets the
17331
+ * handler reject the mutation if the current sequence does not match
17332
+ * (optimistic concurrency control).
17333
+ */
17334
+ 'state.patch': {
17335
+ request: z.ZodObject<{
17336
+ executionId: z.ZodString;
17337
+ expectedSequence: z.ZodNumber;
17338
+ patch: z.ZodArray<z.ZodType<_$_makaio_contracts0.JsonPatchOperation, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonPatchOperation, unknown>>>;
17339
+ nextValue: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
17340
+ }, z.core.$strip>;
17341
+ response: z.ZodObject<{
17342
+ executionId: z.ZodString;
17343
+ sequence: z.ZodNumber;
17344
+ value: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
17345
+ }, z.core.$strip>;
17346
+ };
17347
+ /**
17348
+ * Emitted after a state mutation is accepted and persisted.
17349
+ *
17350
+ * Subscribers use this for real-time state change observation
17351
+ * without polling the `state.get` RPC.
17352
+ */
17353
+ 'state.updated': z.ZodObject<{
17354
+ executionId: z.ZodString;
17355
+ sequence: z.ZodNumber;
17356
+ patch: z.ZodArray<z.ZodType<_$_makaio_contracts0.JsonPatchOperation, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonPatchOperation, unknown>>>;
17357
+ value: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
17358
+ updatedAt: z.ZodNumber;
17359
+ }, z.core.$strip>;
17095
17360
  }>, "workflow">;
17096
17361
  //#endregion
17097
17362
  //#region core/contracts/src/workflow/artifact-ref.d.ts
@@ -17135,6 +17400,10 @@ declare const WorkflowRunContextSchema: z.ZodObject<{
17135
17400
  inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
17136
17401
  configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
17137
17402
  outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
17403
+ state: z.ZodOptional<z.ZodObject<{
17404
+ schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
17405
+ initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
17406
+ }, z.core.$strip>>;
17138
17407
  artifact: z.ZodOptional<z.ZodObject<{
17139
17408
  kind: z.ZodString;
17140
17409
  schemaVersion: z.ZodString;
@@ -17365,6 +17634,10 @@ declare const WorkflowWorkerConfigSchema: z.ZodObject<{
17365
17634
  inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
17366
17635
  configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
17367
17636
  outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
17637
+ state: z.ZodOptional<z.ZodObject<{
17638
+ schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
17639
+ initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
17640
+ }, z.core.$strip>>;
17368
17641
  artifact: z.ZodOptional<z.ZodObject<{
17369
17642
  kind: z.ZodString;
17370
17643
  schemaVersion: z.ZodString;
@@ -17849,8 +18122,8 @@ declare const WorkLogExecutionSummarySchema: z.ZodObject<{
17849
18122
  completed: "completed";
17850
18123
  cancelled: "cancelled";
17851
18124
  failed: "failed";
17852
- running: "running";
17853
18125
  paused: "paused";
18126
+ running: "running";
17854
18127
  }>;
17855
18128
  startedAt: z.ZodNumber;
17856
18129
  completedAt: z.ZodOptional<z.ZodNumber>;
@@ -17887,8 +18160,8 @@ declare const WorkLogFrameEntrySchema: z.ZodObject<{
17887
18160
  cancelled: "cancelled";
17888
18161
  failed: "failed";
17889
18162
  running: "running";
17890
- skipped: "skipped";
17891
18163
  waiting: "waiting";
18164
+ skipped: "skipped";
17892
18165
  }>;
17893
18166
  attempt: z.ZodNumber;
17894
18167
  iteration: z.ZodOptional<z.ZodNumber>;
@@ -17941,8 +18214,8 @@ declare const WorkLogGateEventSchema: z.ZodObject<{
17941
18214
  status: z.ZodEnum<{
17942
18215
  cancelled: "cancelled";
17943
18216
  rejected: "rejected";
17944
- resumed: "resumed";
17945
18217
  waiting: "waiting";
18218
+ resumed: "resumed";
17946
18219
  "timed-out": "timed-out";
17947
18220
  }>;
17948
18221
  prompt: z.ZodOptional<z.ZodString>;
@@ -18414,6 +18687,35 @@ interface ArtifactContext<TData extends Record<string, unknown> = Record<string,
18414
18687
  */
18415
18688
  updateStatus(value: string): Promise<string>;
18416
18689
  }
18690
+ /**
18691
+ * Run-scoped mutable state API exposed on {@link StepContext}.
18692
+ *
18693
+ * Provides read and update access to the workflow's typed run state.
18694
+ * State mutations are sequence-numbered and conflict-checked by the
18695
+ * engine; the `update` method applies a producer function to a
18696
+ * structured clone of the current state, or accepts a returned replacement
18697
+ * value for primitive state.
18698
+ * @typeParam TState - The workflow's declared state type
18699
+ */
18700
+ interface WorkflowStateContext<TState> {
18701
+ /**
18702
+ * Retrieve the current state snapshot.
18703
+ * @returns The current state value
18704
+ */
18705
+ get(): Promise<TState>;
18706
+ /**
18707
+ * Apply a mutation to the current state.
18708
+ *
18709
+ * The `mutator` receives a mutable draft of the current state. Object and
18710
+ * array states can be mutated in place; primitive states should return the
18711
+ * replacement value.
18712
+ * The engine computes a JSON Patch from the mutation, persists it
18713
+ * with sequence numbering, and returns the accepted next state.
18714
+ * @param mutator - Function that mutates the draft state or returns a replacement
18715
+ * @returns The accepted next state after the mutation
18716
+ */
18717
+ update(mutator: (draft: TState) => TState | void | Promise<TState | void>): Promise<TState>;
18718
+ }
18417
18719
  /**
18418
18720
  * Platform and workspace context fields shared by both {@link WorkflowContext}
18419
18721
  * and {@link StepContext}.
@@ -18479,8 +18781,10 @@ type PreviousStepOutput<TOutput extends JsonValue> = {
18479
18781
  * `unknown` so the contracts package stays free of any bus implementation dependency.
18480
18782
  * Bind to `IMakaioBus` (from `@makaio/bus-core`) in host layers that need full bus
18481
18783
  * authoring surface access inside station handlers.
18784
+ * @typeParam TState - The workflow's declared run state type; defaults to `unknown`
18785
+ * when no state contract is declared on the workflow definition.
18482
18786
  */
18483
- interface StepContext<TTrigger, TPreviousSteps extends Record<string, PreviousStepOutput<JsonValue>>, TArtifactData extends Record<string, unknown> = Record<string, unknown>, TBus = unknown> extends WorkflowContextBase {
18787
+ interface StepContext<TTrigger, TPreviousSteps extends Record<string, PreviousStepOutput<JsonValue>>, TArtifactData extends Record<string, unknown> = Record<string, unknown>, TBus = unknown, TState = unknown> extends WorkflowContextBase {
18484
18788
  /** Typed payload from the trigger that started this execution. */
18485
18789
  readonly trigger: TTrigger;
18486
18790
  /**
@@ -18505,6 +18809,16 @@ interface StepContext<TTrigger, TPreviousSteps extends Record<string, PreviousSt
18505
18809
  * artifact could not be initialised.
18506
18810
  */
18507
18811
  readonly artifact?: ArtifactContext<TArtifactData>;
18812
+ /**
18813
+ * Run-scoped mutable state API.
18814
+ *
18815
+ * Present when the workflow declares a state contract via the `state`
18816
+ * field on the definition. Provides `get()` and `update()` methods
18817
+ * for reading and mutating the execution's working memory.
18818
+ *
18819
+ * `undefined` when no state contract is declared on the workflow.
18820
+ */
18821
+ readonly state?: WorkflowStateContext<TState>;
18508
18822
  /**
18509
18823
  * Runtime bus for station handlers that need to query or write durable
18510
18824
  * artifacts as part of their authored output.
@@ -18524,18 +18838,52 @@ interface StepContext<TTrigger, TPreviousSteps extends Record<string, PreviousSt
18524
18838
  readonly updateProgress: (update: WorkflowProgressUpdate) => Promise<void>;
18525
18839
  }
18526
18840
  /**
18527
- * Generic station handler a function accepting a {@link StepContext} and
18841
+ * Station handler context with state presence refined by the builder.
18842
+ *
18843
+ * Base {@link StepContext} keeps `state` optional because runtime contexts can
18844
+ * be constructed without a state contract. The authoring builder uses this
18845
+ * type so workflows that declare `.state<T>()` receive a required
18846
+ * `WorkflowStateContext<T>` in station handlers, while workflows without state
18847
+ * expose `state` as absent.
18848
+ * @typeParam TTrigger - The trigger payload type
18849
+ * @typeParam TPreviousSteps - Map of completed predecessor station outputs
18850
+ * @typeParam TArtifactData - Artifact data shape
18851
+ * @typeParam TBus - Runtime bus type supplied by the host runtime
18852
+ * @typeParam TState - The workflow's declared run state type
18853
+ */
18854
+ type StationStepContext<TTrigger, TPreviousSteps extends Record<string, PreviousStepOutput<JsonValue>>, TArtifactData extends Record<string, unknown> = Record<string, unknown>, TBus = unknown, TState = undefined> = Omit<StepContext<TTrigger, TPreviousSteps, TArtifactData, TBus, TState>, 'state'> & (unknown extends TState ? {
18855
+ readonly state?: WorkflowStateContext<TState>;
18856
+ } : [TState] extends [undefined] ? {
18857
+ readonly state?: undefined;
18858
+ } : {
18859
+ readonly state: WorkflowStateContext<TState>;
18860
+ });
18861
+ /**
18862
+ * Generic station handler — a function accepting a {@link StationStepContext} and
18528
18863
  * returning a JSON-serializable value.
18529
18864
  *
18530
18865
  * Used in the fluent builder methods where trigger and dependency types are
18531
- * not tracked at the builder call site.
18866
+ * tracked by the builder and erased for runtime handler storage.
18867
+ * @typeParam TTrigger - The trigger payload type
18868
+ * @typeParam TPreviousSteps - Map of completed predecessor station outputs
18869
+ * @typeParam TArtifactData - Artifact data shape
18870
+ * @typeParam TBus - Runtime bus type supplied by the host runtime
18871
+ * @typeParam TState - The workflow's declared run state type; defaults to
18872
+ * `unknown` for erased runtime-handler storage.
18532
18873
  */
18533
- type StationHandler = (ctx: StepContext<unknown, Record<string, PreviousStepOutput<JsonValue>>>) => JsonValue | Promise<JsonValue>;
18874
+ type StationHandler<TTrigger = unknown, TPreviousSteps extends Record<string, PreviousStepOutput<JsonValue>> = Record<string, PreviousStepOutput<JsonValue>>, TArtifactData extends Record<string, unknown> = Record<string, unknown>, TBus = unknown, TState = unknown> = {
18875
+ bivarianceHack(ctx: StationStepContext<TTrigger, TPreviousSteps, TArtifactData, TBus, TState>): JsonValue | Promise<JsonValue>;
18876
+ }['bivarianceHack'];
18534
18877
  /**
18535
18878
  * Generic iterate handler — same signature as {@link StationHandler} but
18536
18879
  * semantically used for `iterate` node bodies.
18880
+ * @typeParam TTrigger - The trigger payload type
18881
+ * @typeParam TPreviousSteps - Map of completed predecessor station outputs
18882
+ * @typeParam TArtifactData - Artifact data shape
18883
+ * @typeParam TBus - Runtime bus type supplied by the host runtime
18884
+ * @typeParam TState - The workflow's declared run state type
18537
18885
  */
18538
- type IterateHandler = StationHandler;
18886
+ type IterateHandler<TTrigger = unknown, TPreviousSteps extends Record<string, PreviousStepOutput<JsonValue>> = Record<string, PreviousStepOutput<JsonValue>>, TArtifactData extends Record<string, unknown> = Record<string, unknown>, TBus = unknown, TState = unknown> = StationHandler<TTrigger, TPreviousSteps, TArtifactData, TBus, TState>;
18539
18887
  //#endregion
18540
18888
  //#region core/contracts/src/workflow/authoring-triggers.d.ts
18541
18889
  /**
@@ -18660,7 +19008,12 @@ interface NodeOptions {
18660
19008
  * Options for delegate-role nodes created via the fluent builder or standalone factory.
18661
19009
  */
18662
19010
  type DelegateToRoleOptions = NodeOptions & {
18663
- /** Prompt text passed to the role subagent. Defaults to the node ID. */readonly prompt?: string; /** Completion behavior requested from the spawned role subagent. */
19011
+ /** Prompt text passed to the role subagent. Defaults to the node ID. */readonly prompt?: string;
19012
+ /**
19013
+ * JSON Schema for the expected role delegation output.
19014
+ */
19015
+ readonly outputSchema?: Record<string, JsonValue>; /** Timeout in milliseconds for the delegated role execution. */
19016
+ readonly timeoutMs?: number; /** Completion behavior requested from the spawned role subagent. */
18664
19017
  readonly completion?: CompletionMode;
18665
19018
  };
18666
19019
  /**
@@ -18791,6 +19144,20 @@ interface WorkflowZodSchemas {
18791
19144
  /** Gate resume schemas keyed by gate node ID. */
18792
19145
  readonly gates: Record<string, z.ZodTypeAny>;
18793
19146
  }
19147
+ /**
19148
+ * Typed state contract accepted by the fluent `.state()` builder method.
19149
+ *
19150
+ * The JSON Schema is serialized onto the workflow definition. The optional
19151
+ * initial value is typed for authoring-time handler context inference and is
19152
+ * also stored on the serializable definition when provided.
19153
+ * @typeParam TState - Workflow run-state shape declared by the author.
19154
+ */
19155
+ interface WorkflowStateAuthoringDefinition<TState extends JsonValue = JsonValue> {
19156
+ /** JSON Schema describing the workflow run-state shape. */
19157
+ readonly schema: Record<string, JsonValue>;
19158
+ /** Optional initial value for a new workflow execution. */
19159
+ readonly initial?: TState;
19160
+ }
18794
19161
  /**
18795
19162
  * The result of defining a workflow via the fluent builder.
18796
19163
  *
@@ -18844,8 +19211,9 @@ interface DefineWorkflowOptions<TTriggers extends readonly WorkflowTriggerDef<un
18844
19211
  * be passed wherever a built workflow is expected without an explicit `.build()`
18845
19212
  * call.
18846
19213
  * @typeParam TTrigger - Trigger payload type (from the union of added triggers)
19214
+ * @typeParam TState - Workflow run-state type declared via `.state()`.
18847
19215
  */
18848
- interface WorkflowBuilder<TTrigger = never> extends BuiltWorkflow {
19216
+ interface WorkflowBuilder<TTrigger = never, TState extends JsonValue | undefined = undefined> extends BuiltWorkflow {
18849
19217
  /**
18850
19218
  * Sets the workflow's input schema.
18851
19219
  *
@@ -18854,7 +19222,7 @@ interface WorkflowBuilder<TTrigger = never> extends BuiltWorkflow {
18854
19222
  * @param schema - Zod schema describing the workflow's input parameters
18855
19223
  * @returns This builder for chaining
18856
19224
  */
18857
- input(schema: z.ZodTypeAny): WorkflowBuilder<TTrigger>;
19225
+ input(schema: z.ZodTypeAny): WorkflowBuilder<TTrigger, TState>;
18858
19226
  /**
18859
19227
  * Sets the workflow's config schema.
18860
19228
  *
@@ -18863,7 +19231,7 @@ interface WorkflowBuilder<TTrigger = never> extends BuiltWorkflow {
18863
19231
  * @param schema - Zod schema describing the workflow's static configuration
18864
19232
  * @returns This builder for chaining
18865
19233
  */
18866
- config(schema: z.ZodTypeAny): WorkflowBuilder<TTrigger>;
19234
+ config(schema: z.ZodTypeAny): WorkflowBuilder<TTrigger, TState>;
18867
19235
  /**
18868
19236
  * Sets the workflow's output schema.
18869
19237
  *
@@ -18872,7 +19240,7 @@ interface WorkflowBuilder<TTrigger = never> extends BuiltWorkflow {
18872
19240
  * @param schema - Zod schema describing the workflow's primary output
18873
19241
  * @returns This builder for chaining
18874
19242
  */
18875
- output(schema: z.ZodTypeAny): WorkflowBuilder<TTrigger>;
19243
+ output(schema: z.ZodTypeAny): WorkflowBuilder<TTrigger, TState>;
18876
19244
  /**
18877
19245
  * Binds a primary artifact to the workflow.
18878
19246
  *
@@ -18881,7 +19249,18 @@ interface WorkflowBuilder<TTrigger = never> extends BuiltWorkflow {
18881
19249
  * @param options - Artifact binding configuration
18882
19250
  * @returns This builder for chaining
18883
19251
  */
18884
- artifact(options: ArtifactBindingOptions): WorkflowBuilder<TTrigger>;
19252
+ artifact(options: ArtifactBindingOptions): WorkflowBuilder<TTrigger, TState>;
19253
+ /**
19254
+ * Declares a typed run-state contract for this workflow.
19255
+ *
19256
+ * The state definition specifies a JSON Schema and optional initial value.
19257
+ * At execution start, the engine initializes the state snapshot from
19258
+ * `initial` (or `{}` when omitted). Station handlers access the state
19259
+ * via `ctx.state.get()` and `ctx.state.update()`.
19260
+ * @param definition - State contract with JSON Schema and optional initial value
19261
+ * @returns This builder for chaining
19262
+ */
19263
+ state<TNextState extends JsonValue>(definition: WorkflowStateAuthoringDefinition<TNextState>): WorkflowBuilder<TTrigger, TNextState>;
18885
19264
  /**
18886
19265
  * Appends a station node to the root sequence and registers the handler.
18887
19266
  *
@@ -18892,7 +19271,7 @@ interface WorkflowBuilder<TTrigger = never> extends BuiltWorkflow {
18892
19271
  * @param options - Optional node conditions (`when`, `skip`)
18893
19272
  * @returns This builder for chaining
18894
19273
  */
18895
- station(id: string, handler: StationHandler, options?: NodeOptions): WorkflowBuilder<TTrigger>;
19274
+ station(id: string, handler: StationHandler<TTrigger, Record<string, PreviousStepOutput<JsonValue>>, Record<string, unknown>, unknown, TState>, options?: NodeOptions): WorkflowBuilder<TTrigger, TState>;
18896
19275
  /**
18897
19276
  * Appends a delegate-agent node to the root sequence.
18898
19277
  * @param id - Unique node identifier
@@ -18900,15 +19279,15 @@ interface WorkflowBuilder<TTrigger = never> extends BuiltWorkflow {
18900
19279
  * @param options - Optional node conditions
18901
19280
  * @returns This builder for chaining
18902
19281
  */
18903
- delegateToAgent(id: string, agentConfig: AgentConfig, options?: NodeOptions): WorkflowBuilder<TTrigger>;
19282
+ delegateToAgent(id: string, agentConfig: AgentConfig, options?: NodeOptions): WorkflowBuilder<TTrigger, TState>;
18904
19283
  /**
18905
19284
  * Appends a delegate-role node to the root sequence.
18906
19285
  * @param id - Unique node identifier
18907
19286
  * @param role - Named product role to delegate to
18908
- * @param options - Optional node conditions; `prompt` defaults to the node ID
19287
+ * @param options - Optional node conditions and role delegation settings; `prompt` defaults to the node ID
18909
19288
  * @returns This builder for chaining
18910
19289
  */
18911
- delegateToRole(id: string, role: string, options?: DelegateToRoleOptions): WorkflowBuilder<TTrigger>;
19290
+ delegateToRole(id: string, role: string, options?: DelegateToRoleOptions): WorkflowBuilder<TTrigger, TState>;
18912
19291
  /**
18913
19292
  * Appends a parallel node with static branches to the root sequence.
18914
19293
  *
@@ -18920,7 +19299,7 @@ interface WorkflowBuilder<TTrigger = never> extends BuiltWorkflow {
18920
19299
  * @param branches - Ordered list of branch nodes
18921
19300
  * @returns This builder for chaining
18922
19301
  */
18923
- parallel(id: string, options: ParallelOptions, branches: WorkflowNode[]): WorkflowBuilder<TTrigger>;
19302
+ parallel(id: string, options: ParallelOptions, branches: WorkflowNode[]): WorkflowBuilder<TTrigger, TState>;
18924
19303
  /**
18925
19304
  * Appends a gate node to the root sequence.
18926
19305
  *
@@ -18931,7 +19310,7 @@ interface WorkflowBuilder<TTrigger = never> extends BuiltWorkflow {
18931
19310
  * @param options - Gate configuration including prompt and timeout
18932
19311
  * @returns This builder for chaining
18933
19312
  */
18934
- gate(id: string, options: GateOptions): WorkflowBuilder<TTrigger>;
19313
+ gate(id: string, options: GateOptions): WorkflowBuilder<TTrigger, TState>;
18935
19314
  /**
18936
19315
  * Appends an iterate node to the root sequence and registers the handler.
18937
19316
  * @param id - Unique iterate node identifier
@@ -18939,7 +19318,7 @@ interface WorkflowBuilder<TTrigger = never> extends BuiltWorkflow {
18939
19318
  * @param options - Iterate configuration including collection expression
18940
19319
  * @returns This builder for chaining
18941
19320
  */
18942
- iterate(id: string, handler: IterateHandler, options: IterateOptions): WorkflowBuilder<TTrigger>;
19321
+ iterate(id: string, handler: IterateHandler<TTrigger, Record<string, PreviousStepOutput<JsonValue>>, Record<string, unknown>, unknown, TState>, options: IterateOptions): WorkflowBuilder<TTrigger, TState>;
18943
19322
  /**
18944
19323
  * Appends an iterate-chain node to the root sequence.
18945
19324
  *
@@ -18950,13 +19329,13 @@ interface WorkflowBuilder<TTrigger = never> extends BuiltWorkflow {
18950
19329
  * @param options - Iterate configuration including collection expression
18951
19330
  * @returns This builder for chaining
18952
19331
  */
18953
- iterateChain(id: string, chain: WorkflowNode[], options: IterateOptions): WorkflowBuilder<TTrigger>;
19332
+ iterateChain(id: string, chain: WorkflowNode[], options: IterateOptions): WorkflowBuilder<TTrigger, TState>;
18954
19333
  /**
18955
19334
  * Appends a trigger to the workflow definition.
18956
19335
  * @param trigger - The trigger to add
18957
19336
  * @returns This builder with an expanded trigger payload union
18958
19337
  */
18959
- addTrigger<TPayload>(trigger: WorkflowTriggerDef<TPayload>): WorkflowBuilder<TTrigger | TPayload>;
19338
+ addTrigger<TPayload>(trigger: WorkflowTriggerDef<TPayload>): WorkflowBuilder<TTrigger | TPayload, TState>;
18960
19339
  /**
18961
19340
  * Appends an arbitrary pre-built node to the root sequence.
18962
19341
  *
@@ -19007,7 +19386,7 @@ declare function delegateToAgent(id: string, config: AgentConfig, options?: Node
19007
19386
  * or an `iterateChain()` sub-chain.
19008
19387
  * @param id - Unique node identifier
19009
19388
  * @param role - Named product role to delegate to
19010
- * @param options - Optional node conditions plus optional `prompt` and `completion` overrides
19389
+ * @param options - Optional node conditions and role delegation settings
19011
19390
  * @returns A {@link WorkflowDelegateRoleNode}
19012
19391
  */
19013
19392
  declare function delegateToRole(id: string, role: string, options?: DelegateToRoleOptions): WorkflowDelegateRoleNode;
@@ -19067,7 +19446,7 @@ declare function iterateChain(id: string, chain: WorkflowNode[], options: Iterat
19067
19446
  * .gate('approve', { prompt: 'Approve?', autoAction: 'reject', timeoutMs: null });
19068
19447
  * ```
19069
19448
  */
19070
- declare function defineWorkflow<const TTriggers extends readonly WorkflowTriggerDef<unknown>[] | undefined = undefined>(id: string, options?: DefineWorkflowOptions<TTriggers>): WorkflowBuilder<TriggerPayloadFromTriggers<TTriggers>>;
19449
+ declare function defineWorkflow<const TTriggers extends readonly WorkflowTriggerDef<unknown>[] | undefined = undefined>(id: string, options?: DefineWorkflowOptions<TTriggers>): WorkflowBuilder<TriggerPayloadFromTriggers<TTriggers>, undefined>;
19071
19450
  //#endregion
19072
19451
  //#region core/contracts/src/workflow/execution-hints.d.ts
19073
19452
  /**
@@ -19666,14 +20045,14 @@ declare const McpTransportConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
19666
20045
  }, z.core.$strip>], "type">;
19667
20046
  /** Exposure mode for MCP tools */
19668
20047
  declare const McpExposureModeSchema: z.ZodEnum<{
19669
- hidden: "hidden";
19670
- discovery: "discovery";
19671
20048
  direct: "direct";
20049
+ discovery: "discovery";
20050
+ hidden: "hidden";
19672
20051
  }>;
19673
20052
  /** Exposure mode variant that excludes hidden. */
19674
20053
  declare const McpNonHiddenExposureModeSchema: z.ZodEnum<{
19675
- discovery: "discovery";
19676
20054
  direct: "direct";
20055
+ discovery: "discovery";
19677
20056
  }>;
19678
20057
  /**
19679
20058
  * Glob-style MCP tool pattern used by expose/hide/direct/discovery filters.
@@ -19692,9 +20071,9 @@ declare const McpProfileConfigSchema: z.ZodObject<{
19692
20071
  directTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
19693
20072
  discoveryTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
19694
20073
  toolExposure: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
19695
- hidden: "hidden";
19696
- discovery: "discovery";
19697
20074
  direct: "direct";
20075
+ discovery: "discovery";
20076
+ hidden: "hidden";
19698
20077
  }>>>;
19699
20078
  }, z.core.$strip>;
19700
20079
  /** Resolved server info passed to adapter strategies */
@@ -19734,8 +20113,8 @@ declare const McpResolvedServerSchema: z.ZodObject<{
19734
20113
  type: z.ZodLiteral<"http">;
19735
20114
  }, z.core.$strip>], "type">;
19736
20115
  exposureMode: z.ZodEnum<{
19737
- discovery: "discovery";
19738
20116
  direct: "direct";
20117
+ discovery: "discovery";
19739
20118
  }>;
19740
20119
  }, z.core.$strip>;
19741
20120
  /** Tool state in the MCP tool registry */
@@ -19746,9 +20125,9 @@ declare const McpToolStateSchema: z.ZodObject<{
19746
20125
  description: z.ZodOptional<z.ZodString>;
19747
20126
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
19748
20127
  exposureMode: z.ZodEnum<{
19749
- hidden: "hidden";
19750
- discovery: "discovery";
19751
20128
  direct: "direct";
20129
+ discovery: "discovery";
20130
+ hidden: "hidden";
19752
20131
  }>;
19753
20132
  enabled: z.ZodBoolean;
19754
20133
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -19799,8 +20178,8 @@ declare const McpSessionContextSchema: z.ZodObject<{
19799
20178
  type: z.ZodLiteral<"http">;
19800
20179
  }, z.core.$strip>], "type">;
19801
20180
  exposureMode: z.ZodEnum<{
19802
- discovery: "discovery";
19803
20181
  direct: "direct";
20182
+ discovery: "discovery";
19804
20183
  }>;
19805
20184
  }, z.core.$strip>>;
19806
20185
  directTools: z.ZodArray<z.ZodObject<{
@@ -19810,9 +20189,9 @@ declare const McpSessionContextSchema: z.ZodObject<{
19810
20189
  description: z.ZodOptional<z.ZodString>;
19811
20190
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
19812
20191
  exposureMode: z.ZodEnum<{
19813
- hidden: "hidden";
19814
- discovery: "discovery";
19815
20192
  direct: "direct";
20193
+ discovery: "discovery";
20194
+ hidden: "hidden";
19816
20195
  }>;
19817
20196
  enabled: z.ZodBoolean;
19818
20197
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -19829,9 +20208,9 @@ declare const McpSessionContextSchema: z.ZodObject<{
19829
20208
  description: z.ZodOptional<z.ZodString>;
19830
20209
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
19831
20210
  exposureMode: z.ZodEnum<{
19832
- hidden: "hidden";
19833
- discovery: "discovery";
19834
20211
  direct: "direct";
20212
+ discovery: "discovery";
20213
+ hidden: "hidden";
19835
20214
  }>;
19836
20215
  enabled: z.ZodBoolean;
19837
20216
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -19850,25 +20229,6 @@ declare const McpSessionContextSchema: z.ZodObject<{
19850
20229
  */
19851
20230
  declare const McpRuntimeSessionContextSchema: z.ZodObject<{
19852
20231
  sessionId: z.ZodString;
19853
- directTools: z.ZodArray<z.ZodObject<{
19854
- fullName: z.ZodString;
19855
- originalName: z.ZodString;
19856
- serverName: z.ZodString;
19857
- description: z.ZodOptional<z.ZodString>;
19858
- inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
19859
- exposureMode: z.ZodEnum<{
19860
- hidden: "hidden";
19861
- discovery: "discovery";
19862
- direct: "direct";
19863
- }>;
19864
- enabled: z.ZodBoolean;
19865
- enabledBy: z.ZodOptional<z.ZodEnum<{
19866
- discovery: "discovery";
19867
- toolset: "toolset";
19868
- }>>;
19869
- enabledAt: z.ZodOptional<z.ZodNumber>;
19870
- exposed: z.ZodBoolean;
19871
- }, z.core.$strip>>;
19872
20232
  servers: z.ZodArray<z.ZodObject<{
19873
20233
  name: z.ZodString;
19874
20234
  transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -19905,20 +20265,39 @@ declare const McpRuntimeSessionContextSchema: z.ZodObject<{
19905
20265
  type: z.ZodLiteral<"http">;
19906
20266
  }, z.core.$strip>], "type">;
19907
20267
  exposureMode: z.ZodEnum<{
19908
- discovery: "discovery";
19909
20268
  direct: "direct";
20269
+ discovery: "discovery";
19910
20270
  }>;
19911
20271
  }, z.core.$strip>>;
19912
- discoverableTools: z.ZodArray<z.ZodObject<{
20272
+ directTools: z.ZodArray<z.ZodObject<{
19913
20273
  fullName: z.ZodString;
19914
20274
  originalName: z.ZodString;
19915
20275
  serverName: z.ZodString;
19916
20276
  description: z.ZodOptional<z.ZodString>;
19917
20277
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
19918
20278
  exposureMode: z.ZodEnum<{
20279
+ direct: "direct";
20280
+ discovery: "discovery";
19919
20281
  hidden: "hidden";
20282
+ }>;
20283
+ enabled: z.ZodBoolean;
20284
+ enabledBy: z.ZodOptional<z.ZodEnum<{
19920
20285
  discovery: "discovery";
20286
+ toolset: "toolset";
20287
+ }>>;
20288
+ enabledAt: z.ZodOptional<z.ZodNumber>;
20289
+ exposed: z.ZodBoolean;
20290
+ }, z.core.$strip>>;
20291
+ discoverableTools: z.ZodArray<z.ZodObject<{
20292
+ fullName: z.ZodString;
20293
+ originalName: z.ZodString;
20294
+ serverName: z.ZodString;
20295
+ description: z.ZodOptional<z.ZodString>;
20296
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
20297
+ exposureMode: z.ZodEnum<{
19921
20298
  direct: "direct";
20299
+ discovery: "discovery";
20300
+ hidden: "hidden";
19922
20301
  }>;
19923
20302
  enabled: z.ZodBoolean;
19924
20303
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -20003,9 +20382,9 @@ declare const McpSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubje
20003
20382
  directTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
20004
20383
  discoveryTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
20005
20384
  toolExposure: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
20006
- hidden: "hidden";
20007
- discovery: "discovery";
20008
20385
  direct: "direct";
20386
+ discovery: "discovery";
20387
+ hidden: "hidden";
20009
20388
  }>>>;
20010
20389
  }, _$zod_v4_core0.$strip>>;
20011
20390
  }, _$zod_v4_core0.$strip>;
@@ -20049,8 +20428,8 @@ declare const McpSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubje
20049
20428
  type: _$zod.ZodLiteral<"http">;
20050
20429
  }, _$zod_v4_core0.$strip>], "type">;
20051
20430
  exposureMode: _$zod.ZodEnum<{
20052
- discovery: "discovery";
20053
20431
  direct: "direct";
20432
+ discovery: "discovery";
20054
20433
  }>;
20055
20434
  }, _$zod_v4_core0.$strip>>;
20056
20435
  directTools: _$zod.ZodArray<_$zod.ZodObject<{
@@ -20060,9 +20439,9 @@ declare const McpSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubje
20060
20439
  description: _$zod.ZodOptional<_$zod.ZodString>;
20061
20440
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
20062
20441
  exposureMode: _$zod.ZodEnum<{
20063
- hidden: "hidden";
20064
- discovery: "discovery";
20065
20442
  direct: "direct";
20443
+ discovery: "discovery";
20444
+ hidden: "hidden";
20066
20445
  }>;
20067
20446
  enabled: _$zod.ZodBoolean;
20068
20447
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -20079,9 +20458,9 @@ declare const McpSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubje
20079
20458
  description: _$zod.ZodOptional<_$zod.ZodString>;
20080
20459
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
20081
20460
  exposureMode: _$zod.ZodEnum<{
20082
- hidden: "hidden";
20083
- discovery: "discovery";
20084
20461
  direct: "direct";
20462
+ discovery: "discovery";
20463
+ hidden: "hidden";
20085
20464
  }>;
20086
20465
  enabled: _$zod.ZodBoolean;
20087
20466
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -21231,6 +21610,10 @@ declare const WorkerNodeDispatchRequestSchema: z.ZodObject<{
21231
21610
  inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
21232
21611
  configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
21233
21612
  outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
21613
+ state: z.ZodOptional<z.ZodObject<{
21614
+ schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
21615
+ initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
21616
+ }, z.core.$strip>>;
21234
21617
  artifact: z.ZodOptional<z.ZodObject<{
21235
21618
  kind: z.ZodString;
21236
21619
  schemaVersion: z.ZodString;
@@ -21569,6 +21952,10 @@ declare const WorkerNodeSchemas: {
21569
21952
  inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
21570
21953
  configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
21571
21954
  outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
21955
+ state: z.ZodOptional<z.ZodObject<{
21956
+ schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
21957
+ initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
21958
+ }, z.core.$strip>>;
21572
21959
  artifact: z.ZodOptional<z.ZodObject<{
21573
21960
  kind: z.ZodString;
21574
21961
  schemaVersion: z.ZodString;
@@ -22152,6 +22539,10 @@ declare const WorkerNodeNamespace: _$_makaio_core0.BusNamespaceDefinition<"worke
22152
22539
  inputSchema: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
22153
22540
  configSchema: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
22154
22541
  outputSchema: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
22542
+ state: _$zod.ZodOptional<_$zod.ZodObject<{
22543
+ schema: _$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
22544
+ initial: _$zod.ZodOptional<_$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
22545
+ }, _$zod_v4_core0.$strip>>;
22155
22546
  artifact: _$zod.ZodOptional<_$zod.ZodObject<{
22156
22547
  kind: _$zod.ZodString;
22157
22548
  schemaVersion: _$zod.ZodString;
@@ -22659,6 +23050,10 @@ declare const WorkerNodeSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
22659
23050
  inputSchema: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
22660
23051
  configSchema: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
22661
23052
  outputSchema: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
23053
+ state: _$zod.ZodOptional<_$zod.ZodObject<{
23054
+ schema: _$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
23055
+ initial: _$zod.ZodOptional<_$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
23056
+ }, _$zod_v4_core0.$strip>>;
22662
23057
  artifact: _$zod.ZodOptional<_$zod.ZodObject<{
22663
23058
  kind: _$zod.ZodString;
22664
23059
  schemaVersion: _$zod.ZodString;
@@ -23279,4 +23674,4 @@ declare const FrameworkContractNamespaces: readonly RegistrableBusNamespaceDefin
23279
23674
  */
23280
23675
  declare const FrameworkStorageNamespaces: readonly RegistrableBusNamespaceDefinition[];
23281
23676
  //#endregion
23282
- export { type AIModel, type AIModelMetadata, AIModelSchema, type AIReasoningLevel, AIReasoningLevelSchema, AUTO_LAUNCH_CAPABILITY_ID, type ActionCategory, type ActionCategoryMap, type ActionIntent, type ActionShortcut, type ActionShortcutModifiers, type ActivatedSkillMetadata, type ActiveSkillState, type AdapterClientRef, type AdapterContribution, type AdapterDefinitionContract, AdapterNamespace, type AdapterProviderDefinitionContract, type AdapterProviderRef, type AdapterRuntimeOptions, type AdapterSelection, AdapterSubjects, type AgentComplete, type AgentConfig, type Message as AgentMessage, AgentNamespace, type AgentResolutionContext, AgentResolutionSubjects, type AgentRole, AgentSchemas, type AgentSelection, type AgentSelectionBase, AgentSelectionBaseSchema, type AgentSelectionKindMap, AgentSelectionSchema, type AgentStarted, AgentStatusSchema, AgentSubjects, type AgentToolApproveRequest, type AgentToolApproveResponse, AgentToolApproveSchema, type AnyArtifactKindDefinition, type ApprovalEntry, ApprovalNamespace, type ApprovalPolicy, ApprovalPolicySchema, ApprovalSubjects, type ArtifactActor, ArtifactActorSchema, type ArtifactBindingOptions, type ArtifactCompareRequest, ArtifactCompareRequestSchema, type ArtifactCompareResponse, ArtifactCompareResponseSchema, type ArtifactConflictPolicy, ArtifactConflictPolicySchema, type ArtifactContext, type ArtifactCreateRequest, type ArtifactCreateResponse, type ArtifactCreatedPayload, type ArtifactDataOf, type ArtifactDraft, type ArtifactDraftPatch, type ArtifactHookFilter, type ArtifactKindChangedPayload, type ArtifactKindDefinition, type ArtifactKindListRequest, type ArtifactKindListResponse, type ArtifactKindRegisterRequest, type ArtifactKindRegisterResponse, type ArtifactKindRegistration, ArtifactKindRegistrationSchema, type ArtifactLifecycleHookDefinition, type ArtifactLifecycleHookEvent, type ArtifactLifecycleHookRegistration, type ArtifactLifecycleHooksContributionContext, type ArtifactLifecycleSemanticEvent, type ArtifactMaterializationRef, ArtifactMaterializationRefSchema, ArtifactNamespace, type ArtifactObservation, type ArtifactObservationAddedPayload, ArtifactObservationSchema, type ArtifactOf, type ArtifactPatch, type ArtifactProjectionPolicy, ArtifactProjectionPolicySchema, ArtifactPublishTargetSchema, type ArtifactQueryRequest, ArtifactQueryRequestSchema, type ArtifactQueryResponse, type ArtifactQueryScope, ArtifactQueryScopeSchema, ArtifactQuerySourceSchema, type ArtifactReactionHookContext, type ArtifactReactionHookRegistration, type ArtifactRef, ArtifactRefSchema, type ArtifactRelation, type ArtifactRelationAddedPayload, ArtifactRelationSchema, type ArtifactRelationTarget, ArtifactRelationTargetSchema, type ArtifactRelationTypeListRequest, type ArtifactRelationTypeListResponse, type ArtifactRelationTypeRegisterRequest, type ArtifactRelationTypeRegisterResponse, type ArtifactRepresentations, ArtifactRepresentationsSchema, type ArtifactResolveRequest, type ArtifactResolveResponse, type ArtifactReviseRequest, type ArtifactReviseResponse, type ArtifactRevisedPayload, type ArtifactRevision, ArtifactRevisionSchema, ArtifactSchemas, type ArtifactScope, ArtifactScopeSchema, type ArtifactStatusChangedPayload, ArtifactSubjects, type ArtifactUpdateOperation, type ArtifactUpdater, type AudioChunk, type AutoLaunchDisableResponse, type AutoLaunchEnableRequest, type AutoLaunchEnableResponse, type AutoLaunchStatusResponse, type AwaitSubagentRequest, type AwaitSubagentResponse, BUILT_IN_THIN_WORKFLOW_PROVIDER_ID, type BeforeArtifactHookContext, type BeforeArtifactHookRegistration, type BlockData, type BootstrapAsset, type BootstrapAssetKey, type BootstrapChoice, type BootstrapDiscoverContext, type BootstrapExportContext, type BootstrapExportResult, type BootstrapImportContext, type BootstrapImportResult, type BootstrapResult, type BranchKind, BrowserEntrypointSchema, type BuiltWorkflow, BusEventPublishTargetSchema, type BusEventTrigger, BusEventTriggerSchema, BusEventWorkflowTrigger, BusRequestSourceSchema, COMPRESS_SESSION_LINEAGE_KIND, CONNECTOR_SWAP_CANCELLED_CODE, CONNECTOR_SWAP_WARNING_OPTION_IDS, CONNECTOR_SWAP_WARNING_SUPPRESSED_KEY, type CanonicalModelResolvedSelection, type CanonicalModelSelection, CanonicalModelSubjects, type CapabilityGroup, type CapabilityItem, type CapabilityPickerValue, CapabilitySubjects, type CapabilityToken, type CheckRunDetail, CheckRunDetailSchema, type ChecksSummary, ChecksSummarySchema, type CliArgManifest, type CliManifest, CliManifestSchema, type CliSubcommandManifest, type ClientAccountIdentifier, ClientAccountIdentifierSchema, type ClientAccountObserveRequest, type ClientBinaryCompatibility, ClientBinaryCompatibilitySchema, type ClientBinaryListEntry, type ClientDefinition, ClientDefinitionSchema, type ClientExecutionContext, type ClientIdentityObservation, ClientIdentityObservationSchema, type ClientInstallCompleted, type ClientInstallProgress, type ClientRuntimeObserveRequest, type ClientRuntimeStarted, type ClientScanResult, type ClientScanTarget, type ClientSessionAccountObserveRequest, type ClientSessionAccountObserveResponse, ClientSessionAccountObserveSchema, type ClientSessionLocator, type ClientSessionObservedBase, type ClientSessionStarted, type ClientSessionToolPost, type ClientSessionToolPre, type ClientSessionTurnCompleted, type ClientSessionUserPromptSubmitted, ClientSubjects, type ClientToolDefinition, ClientToolDefinitionSchema, type ClientUsageIngestRequest, type ClientUsageSnapshot, type ClientUsageWindow, type ClientVersionChanged, type ClientVoiceProviderDescriptor, type ClientWiringEntry, ClientWiringEntrySchema, type CompleteTaskRequest, type CompleteTaskResponse, type CompletionMode, CompletionModeSchema, CompressSessionLineageSchema, type CompressionMode, CompressionModeSchema, type ConfidenceBasis, ConfidenceBasisSchema, type ConfidenceLevel, ConfidenceLevelSchema, type ConfidenceMetadata, ConfidenceMetadataSchema, type Config, type ConfigGetResponse, ConfigSchema, ConfigSchemas, ConfigSubjects, type ConfigUpdateRequest, type ConfigUpdateResponse, ConnectorSwapCancelledError, type ContentSource, type ContextBundle, ContextBundleSchema, type ContextMode, ContextModeSchema, type ContextPublishTarget, ContextPublishTargetSchema, type ContextSource, ContextSourceSchema, type ContextWindowState, type CreateSessionEventActionResult, CredentialSubjects, type CronTriggerPayload, CronWorkflowTrigger, type CustomFieldDefinition, DEFAULT_CONSTRAINTS, DEFAULT_HARNESSES, type DefineWorkflowOptions, type DelegateAgentNodeBlockRun, type DelegateRoleNodeBlockRun, type DetachedDescriptor, type DetachedTransportConfig, DetachedTransportSchema, type DiscoveredAIModel, ERROR_CATEGORIES, EXECUTION_LIST_DEFAULT_LIMIT, EXECUTION_LIST_MAX_LIMIT, EXECUTION_LIST_MIN_LIMIT, type EmbeddedDescriptor, type EntityUIConfig, EntityUIConfigSchema, type EntrypointConfig, type ErrorCategory, ErrorCategorySchema, type EventFilter, type EvidenceRef, EvidenceRefSchema, type ExecuteContext, type ExecuteResult, type ExecuteSubagentResponse, type ExecutionHints, ExecutionHintsSchema, type ExecutionLink, type ExecutionLinkListQuery, ExecutionLinkListQuerySchema, ExecutionLinkSchema, type ExecutionLinkType, ExecutionLinkTypeSchema, type ExecutionListCursor, ExecutionListCursorSchema, type ExecutionListQuery, ExecutionListQuerySchema, ExecutionSourceHintSchema, type ExecutionStatus, ExecutionStatusSchema, type ExtensionArtifactLifecycleHooksContribution, type ExtensionBootstrap, type ExtensionConfigComponentProps, type ExtensionConfigProvider, type ExtensionContext, type ExtensionContributionProcessor, type ExtensionDependency, ExtensionDependencySchema, type ExtensionDescriptor, type ExtensionDescriptorBase, ExtensionDescriptorSchema, type ExtensionEntrypoints, ExtensionEntrypointsSchema, type ExtensionFieldTypeLoader, type ExtensionIdentity, type ExtensionService, type ExtensionServiceLifecycle, type ExtensionToken, type ExtensionTransitionActionsContribution, type ExtensionTransitionRulesContribution, type ExtensionWarning, type ExtensionWarningAction, type ExtensionWarningEntry, ExtensionWarningEntrySchema, ExtensionWarningSchema, ExtensionWorkflowTrigger, ExtensionWorkflowTriggerSchema, type ExtensionWorkflowTrigger$1 as ExtensionWorkflowTriggerShape, type ExtractTriggerPayload, FORK_SESSION_LINEAGE_KIND, type FacetAppliesTo, FacetAppliesToSchema, type FacetAuthority, FacetAuthoritySchema, type FacetCardinality, FacetCardinalitySchema, FacetNamespace, type FacetNamespaceChangedPayload, type FacetNamespaceDefinition, type FacetNamespaceListRequest, type FacetNamespaceListResponse, type FacetNamespaceRegisterRequest, type FacetNamespaceRegisterResponse, type FacetNamespaceRegistration, FacetNamespaceRegistrationSchema, FacetSchemas, FacetSubjects, type FetchFindingsParams, type FieldDefinition, type FieldOption, type FieldType, type FieldWidget, type FindingOrigin, FindingOriginSchema, type FindingSeverity, FindingSeveritySchema, type FindingStatus, FindingStatusSchema, type FindingTarget, FindingTargetSchema, type FindingsSummary, FindingsSummarySchema, type FocusContext, type ForkChildInfo, type ForkOptions, ForkSessionLineageSchema, type ForkTransforms, ForkTransformsSchema, type FormFieldProps, FrameworkContractNamespaces, FrameworkStorageNamespaces, GIT_HOOK_EVENTS_CAPABILITY_ID, type GateInstanceListQuery, GateInstanceListQuerySchema, type GateOptions, type GitHookCoverageReason, GitHookCoverageReasonSchema, type GitHookCoverageRequest, GitHookCoverageRequestSchema, type GitHookCoverageResponse, GitHookCoverageResponseSchema, type GitHookCoveredOperation, GitHookCoveredOperationSchema, GitHookNamespace, type GitHookNativeMergeEvent, GitHookNativeMergeEventSchema, type GitHookRewriteEvent, GitHookRewriteEventSchema, type GitHookRewritePair, GitHookRewritePairSchema, GitHookSchemas, GitHookSubjects, type HarnessDefinition, HarnessDefinitionBaseSchema, type HarnessDefinitionCreate, HarnessDefinitionCreateSchema, HarnessDefinitionSchema, HarnessSubjects, type HashTrigger, type HashTriggerContext, type HashTriggerMetadata, type HashTriggerSuggestResult, HostNamespace, HostSchemas, HostSubjects, type HttpServerLike, type IAutoLaunchProvider, type ICapabilityBasedService, type ICapabilityProvider, type IGitHookEventsProvider, type IMakaioSession, INTERACTIVE_DIALOG_TIMEOUT_MS, type IReviewSource, type IReviewerProcessor, type ISTTProvider, type IServerProvider, type IStepRunner, type ITTSProvider, type IVCSProvider, type IVisionProvider, type IVocabularyProvider, type IWorkerNodeProvider, type IWorkflowRunner, type IWorkflowTriggerTypeRegistry, type ImportStatus, type ImportUpsertRequest, type InstallStage, type InstalledVersionEntry, type IterateHandler, type IterateOptions, type JsonValue, JsonValueSchema, type KillSubagentRequest, type KillSubagentResponse, type LabelInfo, LabelInfoSchema, type LabelSemantic, LabelSemanticSchema, type ListSubagentsBySessionRequest, type ListSubagentsBySessionResponse, type LoaderContext, type LocalRef, LocalRefSchema, type LogSourceDefinition, LogSourceDefinitionSchema, MCP_CALL_TOOL_NAME, MCP_DISCOVER_TOOL_NAME, MCP_SCHEMA_TOOL_NAME, type MakaioExtension, type MakaioNodeExtension, type MakaioSessionAgent, MakaioSessionAgentSchema, type MakaioSessionEvent, MakaioSessionEventSchema, MakaioSessionSchema, type MakaioVariant, MakaioVariantSchema, type MakaioWebUiActions, type MakaioWebUiComponentProps, type MakaioWebUiRoute, type ManagedInstallDescriptor, ManagedInstallDescriptorSchema, type ManagedInstallStrategy, ManualWorkflowTrigger, MaterializationNamespace, MaterializationSchemas, MaterializationSubjects, type McpAgentContext, type McpAutoReconnectConfig, McpAutoReconnectConfigSchema, type McpExposureMode, McpExposureModeSchema, McpNonHiddenExposureModeSchema, type McpProfileConfig, McpProfileConfigSchema, type McpResolvedServer, type McpRuntimeSessionContext, McpRuntimeSessionContextSchema, type McpSessionContext, McpSubjects, McpToolPatternSchema, type McpToolState, type McpTransportConfig, McpTransportConfigSchema, type Message$1 as Message, type MessageBlock, type MessageDeliveryMode, type MessageEventFilter, type MessageInput, type MessageOutcome, type MessagePageCursor, MessagePageCursorSchema, type MessageRole, type MessageRouting, MessageRoutingSchema, type MessageRoutingStatus, MessageStorageNamespace, MessageStorageSubjects, type ModelFilterMode, ModelFilterModeSchema, ModelRegistryPublicNamespace, ModelRegistryPublicSubjects, type ModelRegistrySupportedModel, ModelRegistrySupportedModelSchema, type ModelRegistrySupportedModelsRequest, type ModelRegistrySupportedModelsResponse, type ModelVisibility, ModelVisibilitySchema, NativeSessionSupervisorSubjects, type NativeSupervisorAttachRequest, type NativeSupervisorLaunchRequest, type NativeSupervisorStatusRequest, type NativeSupervisorStopRequest, type NodeExtensionContext, type NodeOptions, type NormalizedWorkerNodeCapabilities, type NormalizedWorkerNodeRequirements, type NpmInstallDescriptor, type PageComponentProps, type PageDeclaration, type ParallelMode, type ParallelOptions, type PendingRequest, PendingRequestSchema, type PickerConfig, type PickerOpenContext, PlatformNamespace, PlatformSchemas, PlatformSubjects, type PostInstallDescriptor, type PreviousStepOutput, type ProcessCliOutputParams, type ProcessCommentsParams, type ProcessIssueCommentsParams, type ProcessReviewBodyParams, type ProfileToolCapabilitiesConfig, type ProjectedField, ProjectedFieldSchema, type ProjectedFieldSemantic, ProjectedFieldSemanticSchema, type ProtocolEndpoints, ProtocolEndpointsSchema, type ProtocolId, ProtocolIdSchema, type ProviderAIModel, ProviderAIModelSchema, type ProviderContext, ProviderContextSchema, type ProviderDefinition, type ProviderDefinitionInput, ProviderDefinitionSchema, type ProviderRegistration, type ProviderRuntime, type ProviderSummary, type ProviderUnregistration, type PullRequestState, PullRequestStateSchema, REVIEWER_PROCESSOR_CAPABILITY_ID, REVIEW_SOURCE_CAPABILITY_ID, ROOT_SESSION_LINEAGE_KIND, type ReadinessAssessment, ReadinessAssessmentSchema, type ReasoningLevelMap, type RegisteredStepBlock, type RegisteredTriggerBlock, type RelationTypeRegistration, RelationTypeRegistrationSchema, type RelayConfig, type ReportProgressRequest, type ReportProgressResponse, type RequestInputRpcRequest, type RequestInputRpcResponse, type RequiredTimeoutConfig, type ResolvableCanonicalModel, type ResolveAgentConfigResponse, type ResolveEnrichedPolicyResponse, type ResolvedAgentConfig, ResolvedAgentConfigSchema, type ResolvedApprovalEntry, type ResolvedContextEntry, ResolvedContextEntrySchema, type ResponseSchemaDescriptor, ResponseSchemaDescriptorSchema, type ResponseSchemaName, ResponseSchemaNameSchema, type ReviewFinding, ReviewFindingSchema, type ReviewIssueComment, ReviewIssueCommentSchema, ReviewNamespace, type ReviewRequestContext, ReviewSchemas, type ReviewSourceRateLimit, ReviewSourceRateLimitSchema, type ReviewSourceSnapshot, ReviewSubjects, type ReviewTriggerParams, type ReviewTriggerResult, type ReviewerState, ReviewerStateSchema, type ReviewsSummary, ReviewsSummarySchema, type RiskLevel, RootSessionLineageSchema, SERVER_CAPABILITY_ID, SESSION_EVENT_TYPES, SESSION_LINEAGE_KINDS, SNAPSHOT_VERSION, STORAGE_DIALECTS, type STTCapability, type STTMode, type STTProviderCapabilities, type STTRequest, type STTResult, STT_MODE_LITERALS, SUBAGENT_SESSION_LINEAGE_KIND, type SegmentPolicy, type SelectionChangeContext, type SelectionFeedback, type SendMessageRequest, type SendMessageResponse, type SendMessageResultInnerResult, type SendToSubagentRequest, type SendToSubagentResponse, type ServerAddress, type SessionContext, SessionContextSchema, type SessionCreated, type SessionDiscovered, SessionDiscoveredSchema, type SessionEventActionContext, type SessionEventActionDeclaration, type SessionEventActionOptions, type SessionEventPayload, SessionEventStorageNamespace, SessionEventStorageSubjects, type SessionEventType, type SessionEventTypeMap, type SessionExtensionContext, type SessionLineage, type SessionLineageKind, SessionLineageKindSchema, type SessionMessage, type SessionMessageBlock, type SessionMessageOrigin, SessionMessageSchema, type SessionMetadata, SessionNamespace, type SessionPreviewData, SessionPreviewDataSchema, type SendMessageRequest$1 as SessionSendMessageRequest, type SessionSnapshot, SessionSnapshotSchema, SessionStorageNamespace, SessionStorageSetRequestSchema, SessionStorageSetSessionSchema, SessionStorageSubjects, SessionStorageUpdateSchema, SessionSubjects, type SessionUpdatedEvent, type SessionWithPreview, SessionWithPreviewSchema, type SignedBinaryBucketInstallDescriptor, type SkillActivateRequest, type SkillActivateResponse, type SkillActivationMode, type SkillActivationTrigger, SkillActivationTriggerSchema, type SkillCatalogEntry, type SkillCatalogTurnEntry, type SkillDeactivationReason, SkillDeactivationReasonSchema, type SkillFrontmatter, SkillFrontmatterSchema, type SkillGetActiveSkillsRequest, type SkillGetActiveSkillsResponse, type SkillGetCatalogRequest, type SkillGetCatalogResponse, SkillNamespace, type SkillQuery, type SkillRecord, type SkillRecordInput, SkillRecordInputSchema, type SkillReinjection, type SkillRuntimePolicy, SkillRuntimePolicySchema, type SkillScope, type SkillSource, SkillStorageNamespace, SkillStorageSubjects, SkillSubjects, type SkillTurnEntry, type SnapshotExportOptions, type SnapshotImportConflictErrorData, type SnapshotPreviewData, type SpanRecord, SpanRecordSchema, type SpanStatus, SpanStatusSchema, type SpawnSubagentRpcRequest, SpawnSubagentRpcRequestSchema, type SpawnSubagentRpcResponse, type StandardFieldDefinition, type StartAgentRequest, type StartAgentResponse, type StationHandler, type StationNodeBlockRun, type StepCancelPayload, StepCancelPayloadSchema, type StepCancelSubject, type StepContext, type StepFinished, type StepRunConfig, StepRunConfigSchema, type StepRunResult, StepRunResultSchema, type StepRunnerBusAuth, type StepRunnerPlatformDefaults, type StepStarted, type StepTelemetry, StepTelemetrySchema, type StepType, StepTypeSchema, type StorageDialect, type StorageManifest, type StructuralEventFilter, type StructuredOutputValidation, type StructuredOutputValidationError, StructuredOutputValidationErrorSchema, StructuredOutputValidationSchema, type StructuredOutputValidationStatus, StructuredOutputValidationStatusSchema, type SubagentConfig, SubagentConfigSchema, type SubagentConstraints, SubagentError, SubagentErrorCode, type SubagentExecutionFailed, SubagentSessionLineageSchema, type SubagentStatus, SubagentStatusSchema, SubagentSubjects, type SubjectTelemetryAttributeValue, SubjectTelemetryAttributeValueSchema, SubjectTelemetryDirectionSchema, type SubjectTelemetryFact, SubjectTelemetryFactSchema, SubjectTelemetryMessageTypeSchema, SubjectTelemetryNamespace, SubjectTelemetrySchemas, SubjectTelemetrySubjects, type SuggestedChange, SuggestedChangeSchema, type SupervisorRuntimeSnapshot, type SupervisorSessionStatus, SupervisorSessionStatusSchema, type SurfaceBindingChangedPayload, type SurfaceBindingDefinition, type SurfaceBindingListRequest, type SurfaceBindingListResponse, type SurfaceBindingRegisterRequest, type SurfaceBindingRegisterResponse, type SurfaceBindingRegistration, SurfaceBindingRegistrationSchema, type SurfaceBindingTarget, SurfaceBindingTargetSchema, type SurfaceType, type SuspensionStrategy, SuspensionStrategySchema, type SystemPrompt, type TTSCapability, type TTSMode, type TTSProviderCapabilities, type TTSRequest, TTS_MODE_LITERALS, type TileDeclaration, type TileProps, type TimeoutCategory, type TimeoutConfig, TimeoutConfigSchema, type TokenUsage, TokenUsageSchema, type ToolAdapterIdentity, type ToolAnnotations, type ToolCallFormatterDeclaration, ToolCapability, ToolCapabilitySchema, type ToolCompleted, type ToolExecuteResult, type ToolExecutionContextOverrides, type ToolListItem, type ToolMetaTag, ToolNamespace, type ToolStarted, ToolSubjects, type TransitionActionFactory, type TransitionActionHandler, type TransitionActionInvocation, TransitionActionInvocationSchema, type TransitionCondition, TransitionConditionSchema, type TransitionEvaluationContext, type TransitionEventType, TransitionEventTypeSchema, type TransitionRuleDefinition, TransitionRuleDefinitionSchema, type TrayActivateRequest, type TrayActivateResponse, type TrayManifest, type Turn, type TurnInitiator, TurnInitiatorSchema, TurnSchema, type TurnStatus, TurnStatusSchema, type TurnUsage, TurnUsageSchema, UI_WARNINGS_CATEGORY, type UiContextDimension, type UiContextSnapshot, type UiContextValueMap, type UiNavigationLevel, type UiNavigationLevelMap, type UiRuntimeNavigationLevel, type UiScope, type UiScopeMap, type UpgradeHandler, type UsageMetrics, type VCSCheckRun, type VCSCommitStatus, VCSCommitStatusSchema, VCSEvents, VCSPRNamespace, VCSPRSchemas, VCSPRSubjects, type VCSPullRequest, type VCSPullRequestDetail, type VCSRepository, type VCSReview, type VCSReviewComment, VCSSubjects, VCS_CAPABILITY_ID, VIRTUAL_NAME_RE, type VariantGetInfoResponse, VariantNamespace, type VariantRequestUpgradeRequest, type VariantRequestUpgradeResponse, VariantSubjects, type VariantUpgradeProgressEvent, type VariantUpgradeStatus, VariantUpgradeStatusSchema, type VersionLiteral, VersionLiteralSchema, type VersionRange, VersionRangeSchema, type VisionAnalysisRequest, type VisionAnalysisResult, VisionNamespace, VisionSchemas, VisionSubjects, type VoicePipelineLeg, type VoicePipelineStrategy, type VoiceProviderPreference, VoiceProviderPreferenceSchema, type VoiceSessionStartResponse, type VoiceStatusState, VoiceSubjects, WORKER_NODE_CAPABILITY_ID, WORKFLOW_CANCELLED_REASON, type WebhookTriggerPayload, WebhookWorkflowTrigger, type WhenContext, type WidgetDeclaration, type WidgetProps, type WindowClosedEvent, type WindowCreateRequest, type WindowCreateResponse, type WindowFocusRequest, type WindowFocusResponse, type WindowLabelChangedEvent, type WindowListRequest, type WindowListResponse, type WindowOpenedEvent, type WindowParamSpec, type WindowState, WindowStateSchema, type WorkLogArtifactWrite, WorkLogArtifactWriteSchema, type WorkLogDynamicNodeMaterialization, WorkLogDynamicNodeMaterializationSchema, type WorkLogExecutionSummary, WorkLogExecutionSummarySchema, type WorkLogFrameEntry, WorkLogFrameEntrySchema, type WorkLogGateEvent, WorkLogGateEventSchema, type WorkLogStats, WorkLogStatsSchema, type WorkLogUsageSummary, WorkLogUsageSummarySchema, type WorkerContributionManifest, WorkerContributionManifestSchema, type WorkerContributionPackageRef, WorkerContributionPackageRefSchema, type WorkerNodeCapabilities, WorkerNodeCapabilitiesSchema, type WorkerNodeDispatch, WorkerNodeDispatchRequestSchema, WorkerNodeDispatchResponseSchema, type WorkerNodeHandle, WorkerNodeNamespace, type WorkerNodeProvisionRequest, type WorkerNodeReadyState, type WorkerNodeRequirements, WorkerNodeRequirementsSchema, WorkerNodeSchemas, WorkerNodeSubjects, type WorkflowArtifactBinding, WorkflowArtifactBindingSchema, type WorkflowArtifactRef, WorkflowArtifactRefSchema, type WorkflowBlockCollection, type WorkflowBlockMetadata, WorkflowBlocksNamespace, WorkflowBlocksSchemas, WorkflowBlocksSubjects, type WorkflowBuilder, type WorkflowCancelPayload, WorkflowCancelPayloadSchema, type WorkflowCancelSubject, type WorkflowContext, type WorkflowContextBase, type WorkflowDefinition, type WorkflowDefinitionProvenance, WorkflowDefinitionProvenanceSchema, WorkflowDefinitionSchema, type WorkflowDelegateAgentNode, WorkflowDelegateAgentNodeSchema, type WorkflowDelegateRoleNode, WorkflowDelegateRoleNodeSchema, type WorkflowExecution, WorkflowExecutionSchema, type WorkflowExecutionScope, WorkflowExecutionScopeSchema, type WorkflowFrameState, WorkflowFrameStateSchema, type WorkflowGateInstance, WorkflowGateInstanceSchema, type WorkflowGateNode, WorkflowGateNodeSchema, type WorkflowGateStatus, WorkflowGateStatusSchema, type WorkflowIterateChainNode, WorkflowIterateChainNodeSchema, type WorkflowIterateNode, WorkflowIterateNodeSchema, type WorkflowListQuery, WorkflowListQuerySchema, WorkflowNamespace, type WorkflowNode, type WorkflowNodeBase, WorkflowNodeBaseSchema, WorkflowNodeSchema, type WorkflowNodeType, WorkflowNodeTypeSchema, type WorkflowParallelMode, WorkflowParallelModeSchema, type WorkflowParallelNode, WorkflowParallelNodeSchema, type WorkflowProgressUpdate, WorkflowProgressUpdateSchema, type WorkflowResolvedAgent, WorkflowResolvedAgentSchema, type WorkflowResolvedRole, WorkflowResolvedRoleSchema, type WorkflowRunContext, WorkflowRunContextSchema, type WorkflowRunResult, WorkflowRunResultSchema, type WorkflowRunnerRunOptions, type WorkflowRunnerStepType, WorkflowSchemas, type WorkflowSequenceNode, WorkflowSequenceNodeSchema, type WorkflowStationNode, WorkflowStationNodeSchema, type WorkflowStepBlock, type WorkflowStepBlockRun, type WorkflowStepType, WorkflowStepTypeSchema, WorkflowSubjects, type WorkflowTrigger, type WorkflowTriggerBlock, type WorkflowTriggerDef, WorkflowTriggerSchema, type WorkflowTriggerTypeRecord, type WorkflowWorkerBusAuth, WorkflowWorkerBusAuthSchema, type WorkflowWorkerConfig, WorkflowWorkerConfigSchema, type WorkflowWorkerSource, WorkflowWorkerSourceSchema, type WorkflowZodSchemas, allMigrationsPaths, codexCapabilityMap, compareMessageCursorAsc, compareMessageCursorDesc, computeMetaTags, createClientDefinition, createStepCancelSubject, createWorkflowCancelSubject, defineArtifactKind, defineArtifactLifecycleHooks, defineFacetNamespace, defineSurfaceBinding, defineWorkflow, delegateToAgent, delegateToRole, dep, expandCapabilities, expandProfileToolCapabilities, extensionToken, gate, getBootstrapAssetKey, getExtensionWarningActionLabel, isCanonicalModelParseError, isConnectorSwapCancelledError, isDetachedDescriptor, isInViewBranch, isKnownSessionEvent, isUniversalRange, iterate, iterateChain, messageCursorKey, messageToCursor, parseCanonicalModel, parseExtensionConfig, parseExtensionDescriptor, primaryMigrationsPath, registerAutoLaunchProvider, registerGitHookEventsProvider, registerReviewSource, registerReviewerProcessor, registerServerProvider, registerVCSProvider, registerWorkerNodeProvider, resolveModelVisibility, safeParseExtensionDescriptor, safeValidateSnapshot, station, unregisterGitHookEventsProvider, unregisterReviewSource, unregisterReviewerProcessor, unregisterServerProvider, unregisterVCSProvider, unregisterWorkerNodeProvider, validateSkillScope, validateSnapshot, validateToolAdapterIdentity, versionSatisfies, zodSchemaToJsonRecord };
23677
+ export { type AIModel, type AIModelMetadata, AIModelSchema, type AIReasoningLevel, AIReasoningLevelSchema, AUTO_LAUNCH_CAPABILITY_ID, type ActionCategory, type ActionCategoryMap, type ActionIntent, type ActionShortcut, type ActionShortcutModifiers, type ActivatedSkillMetadata, type ActiveSkillState, type AdapterClientRef, type AdapterContribution, type AdapterDefinitionContract, AdapterNamespace, type AdapterProviderDefinitionContract, type AdapterProviderRef, type AdapterRuntimeOptions, type AdapterSelection, AdapterSubjects, type AgentComplete, type AgentConfig, type Message as AgentMessage, AgentNamespace, type AgentResolutionContext, AgentResolutionSubjects, type AgentRole, AgentSchemas, type AgentSelection, type AgentSelectionBase, AgentSelectionBaseSchema, type AgentSelectionKindMap, AgentSelectionSchema, type AgentStarted, AgentStatusSchema, AgentSubjects, type AgentToolApproveRequest, type AgentToolApproveResponse, AgentToolApproveSchema, type AnyArtifactKindDefinition, type ApprovalEntry, ApprovalNamespace, type ApprovalPolicy, ApprovalPolicySchema, ApprovalSubjects, type ArtifactActor, ArtifactActorSchema, type ArtifactBindingOptions, type ArtifactCompareRequest, ArtifactCompareRequestSchema, type ArtifactCompareResponse, ArtifactCompareResponseSchema, type ArtifactConflictPolicy, ArtifactConflictPolicySchema, type ArtifactContext, type ArtifactCreateRequest, type ArtifactCreateResponse, type ArtifactCreatedPayload, type ArtifactDataOf, type ArtifactDraft, type ArtifactDraftPatch, type ArtifactHookFilter, type ArtifactKindChangedPayload, type ArtifactKindDefinition, type ArtifactKindListRequest, type ArtifactKindListResponse, type ArtifactKindRegisterRequest, type ArtifactKindRegisterResponse, type ArtifactKindRegistration, ArtifactKindRegistrationSchema, type ArtifactLifecycleHookDefinition, type ArtifactLifecycleHookEvent, type ArtifactLifecycleHookRegistration, type ArtifactLifecycleHooksContributionContext, type ArtifactLifecycleSemanticEvent, type ArtifactMaterializationRef, ArtifactMaterializationRefSchema, ArtifactNamespace, type ArtifactObservation, type ArtifactObservationAddedPayload, ArtifactObservationSchema, type ArtifactOf, type ArtifactPatch, type ArtifactProjectionPolicy, ArtifactProjectionPolicySchema, ArtifactPublishTargetSchema, type ArtifactQueryRequest, ArtifactQueryRequestSchema, type ArtifactQueryResponse, type ArtifactQueryScope, ArtifactQueryScopeSchema, ArtifactQuerySourceSchema, type ArtifactReactionHookContext, type ArtifactReactionHookRegistration, type ArtifactRef, ArtifactRefSchema, type ArtifactRelation, type ArtifactRelationAddedPayload, ArtifactRelationSchema, type ArtifactRelationTarget, ArtifactRelationTargetSchema, type ArtifactRelationTypeListRequest, type ArtifactRelationTypeListResponse, type ArtifactRelationTypeRegisterRequest, type ArtifactRelationTypeRegisterResponse, type ArtifactRepresentations, ArtifactRepresentationsSchema, type ArtifactResolveRequest, type ArtifactResolveResponse, type ArtifactReviseRequest, type ArtifactReviseResponse, type ArtifactRevisedPayload, type ArtifactRevision, ArtifactRevisionSchema, ArtifactSchemas, type ArtifactScope, ArtifactScopeSchema, type ArtifactStatusChangedPayload, ArtifactSubjects, type ArtifactUpdateOperation, type ArtifactUpdater, type AudioChunk, type AutoLaunchDisableResponse, type AutoLaunchEnableRequest, type AutoLaunchEnableResponse, type AutoLaunchStatusResponse, type AwaitSubagentRequest, type AwaitSubagentResponse, BUILT_IN_THIN_WORKFLOW_PROVIDER_ID, type BeforeArtifactHookContext, type BeforeArtifactHookRegistration, type BlockData, type BootstrapAsset, type BootstrapAssetKey, type BootstrapChoice, type BootstrapDiscoverContext, type BootstrapExportContext, type BootstrapExportResult, type BootstrapImportContext, type BootstrapImportResult, type BootstrapResult, type BranchKind, BrowserEntrypointSchema, type BuiltWorkflow, BusEventPublishTargetSchema, type BusEventTrigger, BusEventTriggerSchema, BusEventWorkflowTrigger, BusRequestSourceSchema, COMPRESS_SESSION_LINEAGE_KIND, CONNECTOR_SWAP_CANCELLED_CODE, CONNECTOR_SWAP_WARNING_OPTION_IDS, CONNECTOR_SWAP_WARNING_SUPPRESSED_KEY, type CanonicalModelResolvedSelection, type CanonicalModelSelection, CanonicalModelSubjects, type CapabilityGroup, type CapabilityItem, type CapabilityPickerValue, CapabilitySubjects, type CapabilityToken, type CheckRunDetail, CheckRunDetailSchema, type ChecksSummary, ChecksSummarySchema, type CliArgManifest, type CliManifest, CliManifestSchema, type CliSubcommandManifest, type ClientAccountIdentifier, ClientAccountIdentifierSchema, type ClientAccountObserveRequest, type ClientBinaryCompatibility, ClientBinaryCompatibilitySchema, type ClientBinaryListEntry, type ClientDefinition, ClientDefinitionSchema, type ClientExecutionContext, type ClientIdentityObservation, ClientIdentityObservationSchema, type ClientInstallCompleted, type ClientInstallProgress, type ClientRuntimeObserveRequest, type ClientRuntimeStarted, type ClientScanResult, type ClientScanTarget, type ClientSessionAccountObserveRequest, type ClientSessionAccountObserveResponse, ClientSessionAccountObserveSchema, type ClientSessionLocator, type ClientSessionObservedBase, type ClientSessionStarted, type ClientSessionToolPost, type ClientSessionToolPre, type ClientSessionTurnCompleted, type ClientSessionUserPromptSubmitted, ClientSubjects, type ClientToolDefinition, ClientToolDefinitionSchema, type ClientUsageIngestRequest, type ClientUsageSnapshot, type ClientUsageWindow, type ClientVersionChanged, type ClientVoiceProviderDescriptor, type ClientWiringEntry, ClientWiringEntrySchema, type CompleteTaskRequest, type CompleteTaskResponse, type CompletionMode, CompletionModeSchema, CompressSessionLineageSchema, type CompressionMode, CompressionModeSchema, type ConfidenceBasis, ConfidenceBasisSchema, type ConfidenceLevel, ConfidenceLevelSchema, type ConfidenceMetadata, ConfidenceMetadataSchema, type Config, type ConfigGetResponse, ConfigSchema, ConfigSchemas, ConfigSubjects, type ConfigUpdateRequest, type ConfigUpdateResponse, ConnectorSwapCancelledError, type ContentSource, type ContextBundle, ContextBundleSchema, type ContextMode, ContextModeSchema, type ContextPublishTarget, ContextPublishTargetSchema, type ContextSource, ContextSourceSchema, type ContextWindowState, type CreateSessionEventActionResult, CredentialSubjects, type CronTriggerPayload, CronWorkflowTrigger, type CustomFieldDefinition, DEFAULT_CONSTRAINTS, DEFAULT_HARNESSES, type DefineWorkflowOptions, type DelegateAgentNodeBlockRun, type DelegateRoleNodeBlockRun, type DetachedDescriptor, type DetachedTransportConfig, DetachedTransportSchema, type DiscoveredAIModel, ERROR_CATEGORIES, EXECUTION_LIST_DEFAULT_LIMIT, EXECUTION_LIST_MAX_LIMIT, EXECUTION_LIST_MIN_LIMIT, type EmbeddedDescriptor, type EntityUIConfig, EntityUIConfigSchema, type EntrypointConfig, type ErrorCategory, ErrorCategorySchema, type EventFilter, type EvidenceRef, EvidenceRefSchema, type ExecuteContext, type ExecuteResult, type ExecuteSubagentResponse, type ExecutionHints, ExecutionHintsSchema, type ExecutionLink, type ExecutionLinkListQuery, ExecutionLinkListQuerySchema, ExecutionLinkSchema, type ExecutionLinkType, ExecutionLinkTypeSchema, type ExecutionListCursor, ExecutionListCursorSchema, type ExecutionListQuery, ExecutionListQuerySchema, ExecutionSourceHintSchema, type ExecutionStatus, ExecutionStatusSchema, type ExtensionArtifactLifecycleHooksContribution, type ExtensionBootstrap, type ExtensionConfigComponentProps, type ExtensionConfigProvider, type ExtensionContext, type ExtensionContributionProcessor, type ExtensionDependency, ExtensionDependencySchema, type ExtensionDescriptor, type ExtensionDescriptorBase, ExtensionDescriptorSchema, type ExtensionEntrypoints, ExtensionEntrypointsSchema, type ExtensionFieldTypeLoader, type ExtensionIdentity, type ExtensionService, type ExtensionServiceLifecycle, type ExtensionToken, type ExtensionTransitionActionsContribution, type ExtensionTransitionRulesContribution, type ExtensionWarning, type ExtensionWarningAction, type ExtensionWarningEntry, ExtensionWarningEntrySchema, ExtensionWarningSchema, ExtensionWorkflowTrigger, ExtensionWorkflowTriggerSchema, type ExtensionWorkflowTrigger$1 as ExtensionWorkflowTriggerShape, type ExtractTriggerPayload, FORK_SESSION_LINEAGE_KIND, type FacetAppliesTo, FacetAppliesToSchema, type FacetAuthority, FacetAuthoritySchema, type FacetCardinality, FacetCardinalitySchema, FacetNamespace, type FacetNamespaceChangedPayload, type FacetNamespaceDefinition, type FacetNamespaceListRequest, type FacetNamespaceListResponse, type FacetNamespaceRegisterRequest, type FacetNamespaceRegisterResponse, type FacetNamespaceRegistration, FacetNamespaceRegistrationSchema, FacetSchemas, FacetSubjects, type FetchFindingsParams, type FieldDefinition, type FieldOption, type FieldType, type FieldWidget, type FindingOrigin, FindingOriginSchema, type FindingSeverity, FindingSeveritySchema, type FindingStatus, FindingStatusSchema, type FindingTarget, FindingTargetSchema, type FindingsSummary, FindingsSummarySchema, type FocusContext, type ForkChildInfo, type ForkOptions, ForkSessionLineageSchema, type ForkTransforms, ForkTransformsSchema, type FormFieldProps, FrameworkContractNamespaces, FrameworkStorageNamespaces, GIT_HOOK_EVENTS_CAPABILITY_ID, type GateInstanceListQuery, GateInstanceListQuerySchema, type GateOptions, type GitHookCoverageReason, GitHookCoverageReasonSchema, type GitHookCoverageRequest, GitHookCoverageRequestSchema, type GitHookCoverageResponse, GitHookCoverageResponseSchema, type GitHookCoveredOperation, GitHookCoveredOperationSchema, GitHookNamespace, type GitHookNativeMergeEvent, GitHookNativeMergeEventSchema, type GitHookRewriteEvent, GitHookRewriteEventSchema, type GitHookRewritePair, GitHookRewritePairSchema, GitHookSchemas, GitHookSubjects, type HarnessDefinition, HarnessDefinitionBaseSchema, type HarnessDefinitionCreate, HarnessDefinitionCreateSchema, HarnessDefinitionSchema, HarnessSubjects, type HashTrigger, type HashTriggerContext, type HashTriggerMetadata, type HashTriggerSuggestResult, HostNamespace, HostSchemas, HostSubjects, type HttpServerLike, type IAutoLaunchProvider, type ICapabilityBasedService, type ICapabilityProvider, type IGitHookEventsProvider, type IMakaioSession, INTERACTIVE_DIALOG_TIMEOUT_MS, type IReviewSource, type IReviewerProcessor, type ISTTProvider, type IServerProvider, type IStepRunner, type ITTSProvider, type IVCSProvider, type IVisionProvider, type IVocabularyProvider, type IWorkerNodeProvider, type IWorkflowRunner, type IWorkflowTriggerTypeRegistry, type ImportStatus, type ImportUpsertRequest, type InstallStage, type InstalledVersionEntry, type IterateHandler, type IterateOptions, type JsonPatchOperation, JsonPatchOperationSchema, type JsonValue, JsonValueSchema, type KillSubagentRequest, type KillSubagentResponse, type LabelInfo, LabelInfoSchema, type LabelSemantic, LabelSemanticSchema, type ListSubagentsBySessionRequest, type ListSubagentsBySessionResponse, type LoaderContext, type LocalRef, LocalRefSchema, type LogSourceDefinition, LogSourceDefinitionSchema, MCP_CALL_TOOL_NAME, MCP_DISCOVER_TOOL_NAME, MCP_SCHEMA_TOOL_NAME, type MakaioExtension, type MakaioNodeExtension, type MakaioSessionAgent, MakaioSessionAgentSchema, type MakaioSessionEvent, MakaioSessionEventSchema, MakaioSessionSchema, type MakaioVariant, MakaioVariantSchema, type MakaioWebUiActions, type MakaioWebUiComponentProps, type MakaioWebUiRoute, type ManagedInstallDescriptor, ManagedInstallDescriptorSchema, type ManagedInstallStrategy, ManualWorkflowTrigger, MaterializationNamespace, MaterializationSchemas, MaterializationSubjects, type McpAgentContext, type McpAutoReconnectConfig, McpAutoReconnectConfigSchema, type McpExposureMode, McpExposureModeSchema, McpNonHiddenExposureModeSchema, type McpProfileConfig, McpProfileConfigSchema, type McpResolvedServer, type McpRuntimeSessionContext, McpRuntimeSessionContextSchema, type McpSessionContext, McpSubjects, McpToolPatternSchema, type McpToolState, type McpTransportConfig, McpTransportConfigSchema, type Message$1 as Message, type MessageBlock, type MessageDeliveryMode, type MessageEventFilter, type MessageInput, type MessageOutcome, type MessagePageCursor, MessagePageCursorSchema, type MessageRole, type MessageRouting, MessageRoutingSchema, type MessageRoutingStatus, MessageStorageNamespace, MessageStorageSubjects, type ModelFilterMode, ModelFilterModeSchema, ModelRegistryPublicNamespace, ModelRegistryPublicSubjects, type ModelRegistrySupportedModel, ModelRegistrySupportedModelSchema, type ModelRegistrySupportedModelsRequest, type ModelRegistrySupportedModelsResponse, type ModelVisibility, ModelVisibilitySchema, NativeSessionSupervisorSubjects, type NativeSupervisorAttachRequest, type NativeSupervisorLaunchRequest, type NativeSupervisorStatusRequest, type NativeSupervisorStopRequest, type NodeExtensionContext, type NodeOptions, type NormalizedWorkerNodeCapabilities, type NormalizedWorkerNodeRequirements, type NpmInstallDescriptor, type PageComponentProps, type PageDeclaration, type ParallelMode, type ParallelOptions, type PendingRequest, PendingRequestSchema, type PickerConfig, type PickerOpenContext, PlatformNamespace, PlatformSchemas, PlatformSubjects, type PostInstallDescriptor, type PreviousStepOutput, type ProcessCliOutputParams, type ProcessCommentsParams, type ProcessIssueCommentsParams, type ProcessReviewBodyParams, type ProfileToolCapabilitiesConfig, type ProjectedField, ProjectedFieldSchema, type ProjectedFieldSemantic, ProjectedFieldSemanticSchema, type ProtocolEndpoints, ProtocolEndpointsSchema, type ProtocolId, ProtocolIdSchema, type ProviderAIModel, ProviderAIModelSchema, type ProviderContext, ProviderContextSchema, type ProviderDefinition, type ProviderDefinitionInput, ProviderDefinitionSchema, type ProviderRegistration, type ProviderRuntime, type ProviderSummary, type ProviderUnregistration, type PullRequestState, PullRequestStateSchema, REVIEWER_PROCESSOR_CAPABILITY_ID, REVIEW_SOURCE_CAPABILITY_ID, ROOT_SESSION_LINEAGE_KIND, type ReadinessAssessment, ReadinessAssessmentSchema, type ReasoningLevelMap, type RegisteredStepBlock, type RegisteredTriggerBlock, type RelationTypeRegistration, RelationTypeRegistrationSchema, type RelayConfig, type ReportProgressRequest, type ReportProgressResponse, type RequestInputRpcRequest, type RequestInputRpcResponse, type RequiredTimeoutConfig, type ResolvableCanonicalModel, type ResolveAgentConfigResponse, type ResolveEnrichedPolicyResponse, type ResolvedAgentConfig, ResolvedAgentConfigSchema, type ResolvedApprovalEntry, type ResolvedContextEntry, ResolvedContextEntrySchema, type ResponseSchemaDescriptor, ResponseSchemaDescriptorSchema, type ResponseSchemaName, ResponseSchemaNameSchema, type ReviewFinding, ReviewFindingSchema, type ReviewIssueComment, ReviewIssueCommentSchema, ReviewNamespace, type ReviewRequestContext, ReviewSchemas, type ReviewSourceRateLimit, ReviewSourceRateLimitSchema, type ReviewSourceSnapshot, ReviewSubjects, type ReviewTriggerParams, type ReviewTriggerResult, type ReviewerState, ReviewerStateSchema, type ReviewsSummary, ReviewsSummarySchema, type RiskLevel, RootSessionLineageSchema, SERVER_CAPABILITY_ID, SESSION_EVENT_TYPES, SESSION_LINEAGE_KINDS, SNAPSHOT_VERSION, STORAGE_DIALECTS, type STTCapability, type STTMode, type STTProviderCapabilities, type STTRequest, type STTResult, STT_MODE_LITERALS, SUBAGENT_SESSION_LINEAGE_KIND, type SegmentPolicy, type SelectionChangeContext, type SelectionFeedback, type SendMessageRequest, type SendMessageResponse, type SendMessageResultInnerResult, type SendToSubagentRequest, type SendToSubagentResponse, type ServerAddress, type SessionContext, SessionContextSchema, type SessionCreated, type SessionDiscovered, SessionDiscoveredSchema, type SessionEventActionContext, type SessionEventActionDeclaration, type SessionEventActionOptions, type SessionEventPayload, SessionEventStorageNamespace, SessionEventStorageSubjects, type SessionEventType, type SessionEventTypeMap, type SessionExtensionContext, type SessionLineage, type SessionLineageKind, SessionLineageKindSchema, type SessionMessage, type SessionMessageBlock, type SessionMessageOrigin, SessionMessageSchema, type SessionMetadata, SessionNamespace, type SessionPreviewData, SessionPreviewDataSchema, type SendMessageRequest$1 as SessionSendMessageRequest, type SessionSnapshot, SessionSnapshotSchema, SessionStorageNamespace, SessionStorageSetRequestSchema, SessionStorageSetSessionSchema, SessionStorageSubjects, SessionStorageUpdateSchema, SessionSubjects, type SessionUpdatedEvent, type SessionWithPreview, SessionWithPreviewSchema, type SignedBinaryBucketInstallDescriptor, type SkillActivateRequest, type SkillActivateResponse, type SkillActivationMode, type SkillActivationTrigger, SkillActivationTriggerSchema, type SkillCatalogEntry, type SkillCatalogTurnEntry, type SkillDeactivationReason, SkillDeactivationReasonSchema, type SkillFrontmatter, SkillFrontmatterSchema, type SkillGetActiveSkillsRequest, type SkillGetActiveSkillsResponse, type SkillGetCatalogRequest, type SkillGetCatalogResponse, SkillNamespace, type SkillQuery, type SkillRecord, type SkillRecordInput, SkillRecordInputSchema, type SkillReinjection, type SkillRuntimePolicy, SkillRuntimePolicySchema, type SkillScope, type SkillSource, SkillStorageNamespace, SkillStorageSubjects, SkillSubjects, type SkillTurnEntry, type SnapshotExportOptions, type SnapshotImportConflictErrorData, type SnapshotPreviewData, type SpanRecord, SpanRecordSchema, type SpanStatus, SpanStatusSchema, type SpawnSubagentRpcRequest, SpawnSubagentRpcRequestSchema, type SpawnSubagentRpcResponse, type StandardFieldDefinition, type StartAgentRequest, type StartAgentResponse, type StationHandler, type StationNodeBlockRun, type StationStepContext, type StepCancelPayload, StepCancelPayloadSchema, type StepCancelSubject, type StepContext, type StepFinished, type StepRunConfig, StepRunConfigSchema, type StepRunResult, StepRunResultSchema, type StepRunnerBusAuth, type StepRunnerPlatformDefaults, type StepStarted, type StepTelemetry, StepTelemetrySchema, type StepType, StepTypeSchema, type StorageDialect, type StorageManifest, type StructuralEventFilter, type StructuredOutputValidation, type StructuredOutputValidationError, StructuredOutputValidationErrorSchema, StructuredOutputValidationSchema, type StructuredOutputValidationStatus, StructuredOutputValidationStatusSchema, type SubagentConfig, SubagentConfigSchema, type SubagentConstraints, SubagentError, SubagentErrorCode, type SubagentExecutionFailed, SubagentSessionLineageSchema, type SubagentStatus, SubagentStatusSchema, SubagentSubjects, type SubjectTelemetryAttributeValue, SubjectTelemetryAttributeValueSchema, SubjectTelemetryDirectionSchema, type SubjectTelemetryFact, SubjectTelemetryFactSchema, SubjectTelemetryMessageTypeSchema, SubjectTelemetryNamespace, SubjectTelemetrySchemas, SubjectTelemetrySubjects, type SuggestedChange, SuggestedChangeSchema, type SupervisorRuntimeSnapshot, type SupervisorSessionStatus, SupervisorSessionStatusSchema, type SurfaceBindingChangedPayload, type SurfaceBindingDefinition, type SurfaceBindingListRequest, type SurfaceBindingListResponse, type SurfaceBindingRegisterRequest, type SurfaceBindingRegisterResponse, type SurfaceBindingRegistration, SurfaceBindingRegistrationSchema, type SurfaceBindingTarget, SurfaceBindingTargetSchema, type SurfaceType, type SuspensionStrategy, SuspensionStrategySchema, type SystemPrompt, type TTSCapability, type TTSMode, type TTSProviderCapabilities, type TTSRequest, TTS_MODE_LITERALS, type TileDeclaration, type TileProps, type TimeoutCategory, type TimeoutConfig, TimeoutConfigSchema, type TokenUsage, TokenUsageSchema, type ToolAdapterIdentity, type ToolAnnotations, type ToolCallFormatterDeclaration, ToolCapability, ToolCapabilitySchema, type ToolCompleted, type ToolExecuteResult, type ToolExecutionContextOverrides, type ToolListItem, type ToolMetaTag, ToolNamespace, type ToolStarted, ToolSubjects, type TransitionActionFactory, type TransitionActionHandler, type TransitionActionInvocation, TransitionActionInvocationSchema, type TransitionCondition, TransitionConditionSchema, type TransitionEvaluationContext, type TransitionEventType, TransitionEventTypeSchema, type TransitionRuleDefinition, TransitionRuleDefinitionSchema, type TrayActivateRequest, type TrayActivateResponse, type TrayManifest, type Turn, type TurnInitiator, TurnInitiatorSchema, TurnSchema, type TurnStatus, TurnStatusSchema, type TurnUsage, TurnUsageSchema, UI_WARNINGS_CATEGORY, type UiContextDimension, type UiContextSnapshot, type UiContextValueMap, type UiNavigationLevel, type UiNavigationLevelMap, type UiRuntimeNavigationLevel, type UiScope, type UiScopeMap, type UpgradeHandler, type UsageMetrics, type VCSCheckRun, type VCSCommitStatus, VCSCommitStatusSchema, VCSEvents, VCSPRNamespace, VCSPRSchemas, VCSPRSubjects, type VCSPullRequest, type VCSPullRequestDetail, type VCSRepository, type VCSReview, type VCSReviewComment, VCSSubjects, VCS_CAPABILITY_ID, VIRTUAL_NAME_RE, type VariantGetInfoResponse, VariantNamespace, type VariantRequestUpgradeRequest, type VariantRequestUpgradeResponse, VariantSubjects, type VariantUpgradeProgressEvent, type VariantUpgradeStatus, VariantUpgradeStatusSchema, type VersionLiteral, VersionLiteralSchema, type VersionRange, VersionRangeSchema, type VisionAnalysisRequest, type VisionAnalysisResult, VisionNamespace, VisionSchemas, VisionSubjects, type VoicePipelineLeg, type VoicePipelineStrategy, type VoiceProviderPreference, VoiceProviderPreferenceSchema, type VoiceSessionStartResponse, type VoiceStatusState, VoiceSubjects, WORKER_NODE_CAPABILITY_ID, WORKFLOW_CANCELLED_REASON, type WebhookTriggerPayload, WebhookWorkflowTrigger, type WhenContext, type WidgetDeclaration, type WidgetProps, type WindowClosedEvent, type WindowCreateRequest, type WindowCreateResponse, type WindowFocusRequest, type WindowFocusResponse, type WindowLabelChangedEvent, type WindowListRequest, type WindowListResponse, type WindowOpenedEvent, type WindowParamSpec, type WindowState, WindowStateSchema, type WorkLogArtifactWrite, WorkLogArtifactWriteSchema, type WorkLogDynamicNodeMaterialization, WorkLogDynamicNodeMaterializationSchema, type WorkLogExecutionSummary, WorkLogExecutionSummarySchema, type WorkLogFrameEntry, WorkLogFrameEntrySchema, type WorkLogGateEvent, WorkLogGateEventSchema, type WorkLogStats, WorkLogStatsSchema, type WorkLogUsageSummary, WorkLogUsageSummarySchema, type WorkerContributionManifest, WorkerContributionManifestSchema, type WorkerContributionPackageRef, WorkerContributionPackageRefSchema, type WorkerNodeCapabilities, WorkerNodeCapabilitiesSchema, type WorkerNodeDispatch, WorkerNodeDispatchRequestSchema, WorkerNodeDispatchResponseSchema, type WorkerNodeHandle, WorkerNodeNamespace, type WorkerNodeProvisionRequest, type WorkerNodeReadyState, type WorkerNodeRequirements, WorkerNodeRequirementsSchema, WorkerNodeSchemas, WorkerNodeSubjects, type WorkflowArtifactBinding, WorkflowArtifactBindingSchema, type WorkflowArtifactRef, WorkflowArtifactRefSchema, type WorkflowBlockCollection, type WorkflowBlockMetadata, WorkflowBlocksNamespace, WorkflowBlocksSchemas, WorkflowBlocksSubjects, type WorkflowBuilder, type WorkflowCancelPayload, WorkflowCancelPayloadSchema, type WorkflowCancelSubject, type WorkflowContext, type WorkflowContextBase, type WorkflowDefinition, type WorkflowDefinitionProvenance, WorkflowDefinitionProvenanceSchema, WorkflowDefinitionSchema, type WorkflowDelegateAgentNode, WorkflowDelegateAgentNodeSchema, type WorkflowDelegateRoleNode, WorkflowDelegateRoleNodeSchema, type WorkflowExecution, WorkflowExecutionSchema, type WorkflowExecutionScope, WorkflowExecutionScopeSchema, type WorkflowFrameState, WorkflowFrameStateSchema, type WorkflowGateInstance, WorkflowGateInstanceSchema, type WorkflowGateNode, WorkflowGateNodeSchema, type WorkflowGateStatus, WorkflowGateStatusSchema, type WorkflowIterateChainNode, WorkflowIterateChainNodeSchema, type WorkflowIterateNode, WorkflowIterateNodeSchema, type WorkflowListQuery, WorkflowListQuerySchema, WorkflowNamespace, type WorkflowNode, type WorkflowNodeBase, WorkflowNodeBaseSchema, WorkflowNodeSchema, type WorkflowNodeType, WorkflowNodeTypeSchema, type WorkflowParallelMode, WorkflowParallelModeSchema, type WorkflowParallelNode, WorkflowParallelNodeSchema, type WorkflowProgressUpdate, WorkflowProgressUpdateSchema, type WorkflowResolvedAgent, WorkflowResolvedAgentSchema, type WorkflowResolvedRole, WorkflowResolvedRoleSchema, type WorkflowRunContext, WorkflowRunContextSchema, type WorkflowRunResult, WorkflowRunResultSchema, type WorkflowRunnerRunOptions, type WorkflowRunnerStepType, WorkflowSchemas, type WorkflowSequenceNode, WorkflowSequenceNodeSchema, type WorkflowStateAuthoringDefinition, type WorkflowStateContext, type WorkflowStateDefinition, WorkflowStateDefinitionSchema, type WorkflowStationNode, WorkflowStationNodeSchema, type WorkflowStepBlock, type WorkflowStepBlockRun, type WorkflowStepType, WorkflowStepTypeSchema, WorkflowSubjects, type WorkflowTrigger, type WorkflowTriggerBlock, type WorkflowTriggerDef, WorkflowTriggerSchema, type WorkflowTriggerTypeRecord, type WorkflowWorkerBusAuth, WorkflowWorkerBusAuthSchema, type WorkflowWorkerConfig, WorkflowWorkerConfigSchema, type WorkflowWorkerSource, WorkflowWorkerSourceSchema, type WorkflowZodSchemas, allMigrationsPaths, codexCapabilityMap, compareMessageCursorAsc, compareMessageCursorDesc, computeMetaTags, createClientDefinition, createStepCancelSubject, createWorkflowCancelSubject, defineArtifactKind, defineArtifactLifecycleHooks, defineFacetNamespace, defineSurfaceBinding, defineWorkflow, delegateToAgent, delegateToRole, dep, expandCapabilities, expandProfileToolCapabilities, extensionToken, gate, getBootstrapAssetKey, getExtensionWarningActionLabel, isCanonicalModelParseError, isConnectorSwapCancelledError, isDetachedDescriptor, isInViewBranch, isKnownSessionEvent, isUniversalRange, iterate, iterateChain, messageCursorKey, messageToCursor, parseCanonicalModel, parseExtensionConfig, parseExtensionDescriptor, primaryMigrationsPath, registerAutoLaunchProvider, registerGitHookEventsProvider, registerReviewSource, registerReviewerProcessor, registerServerProvider, registerVCSProvider, registerWorkerNodeProvider, resolveModelVisibility, safeParseExtensionDescriptor, safeValidateSnapshot, station, unregisterGitHookEventsProvider, unregisterReviewSource, unregisterReviewerProcessor, unregisterServerProvider, unregisterVCSProvider, unregisterWorkerNodeProvider, validateSkillScope, validateSnapshot, validateToolAdapterIdentity, versionSatisfies, zodSchemaToJsonRecord };