@makaio/framework 1.0.0-dev-1781442380278 → 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 (96) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapters/index.d.mts +1 -1
  3. package/dist/bus/index.d.mts +2 -2
  4. package/dist/bus/index.mjs +1 -1
  5. package/dist/contracts/adapter/index.d.mts +2 -2
  6. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  7. package/dist/contracts/artifact/index.d.mts +1 -1
  8. package/dist/contracts/canonical-model/index.d.mts +1 -1
  9. package/dist/contracts/extension/index.d.mts +3 -3
  10. package/dist/contracts/facet/index.d.mts +1 -1
  11. package/dist/contracts/harness/index.d.mts +1 -1
  12. package/dist/contracts/index.d.mts +508 -118
  13. package/dist/contracts/index.mjs +1 -1
  14. package/dist/contracts/materialization/index.d.mts +3 -3
  15. package/dist/contracts/session/index.d.mts +2 -2
  16. package/dist/contracts/shared/index.d.mts +1 -1
  17. package/dist/contracts/skill/index.d.mts +1 -1
  18. package/dist/contracts/variant/index.d.mts +1 -1
  19. package/dist/{definition-CZcVOhXZ.d.mts → definition-CPc6oKaF.d.mts} +1 -1
  20. package/dist/drizzle/0018_m_mqcweucg.sql +17 -0
  21. package/dist/drizzle/0019_m_mqcwyn0w.sql +1 -0
  22. package/dist/drizzle/meta/_journal.json +14 -0
  23. package/dist/{index-DvETyI0_.d.mts → index-BBteExwv.d.mts} +1 -1
  24. package/dist/{index-cN4DkU5Y2.d.mts → index-BM_y78ZA2.d.mts} +9 -9
  25. package/dist/{index-B3mq3Qjf.d.mts → index-BZuF4I8O.d.mts} +1 -1
  26. package/dist/{index-DHVoVh-j.d.mts → index-C2tDMYm0.d.mts} +8 -8
  27. package/dist/{index-B1PgTu7q.d.mts → index-CQuLV3jj.d.mts} +12 -12
  28. package/dist/{index-DigeEyrf.d.mts → index-CtVy1e5h.d.mts} +15 -15
  29. package/dist/{index-oUqyVvsD.d.mts → index-D7oEYudM.d.mts} +1 -1
  30. package/dist/{index-BF84QInS.d.mts → index-DWBpxSGQ.d.mts} +121 -121
  31. package/dist/{index-DLPjliGd.d.mts → index-DWRwbJjQ.d.mts} +1 -1
  32. package/dist/{index-BQ8H7cvY.d.mts → index-Doy13wLW.d.mts} +15 -15
  33. package/dist/{index-LrZlZUvQ.d.mts → index-DsAfeVbS.d.mts} +16 -16
  34. package/dist/{index-DyqZej9j.d.mts → index-GuspCNLR.d.mts} +8 -8
  35. package/dist/{index-Cj3XCjXZ.d.mts → index-N7JtH6hX.d.mts} +57 -57
  36. package/dist/{index-HiAth5G0.d.mts → index-bLWdMu_T.d.mts} +42 -42
  37. package/dist/{index-DUI1W-zN.d.mts → index-gYlNeEGH.d.mts} +16 -16
  38. package/dist/{index-BVMF3kRv.d.mts → index-iRe4CsR5.d.mts} +4 -4
  39. package/dist/{index-DUsm-DeE.d.mts → index-xeg-bqxO.d.mts} +10 -10
  40. package/dist/kernel/extension/index.d.mts +1 -1
  41. package/dist/kernel/index.d.mts +2 -2
  42. package/dist/kernel/observability/index.d.mts +1 -1
  43. package/dist/{namespace-BXuuv8L9.d.mts → namespace-1tHmgGQV.d.mts} +20 -20
  44. package/dist/{namespace-Ba1gUpUu.d.mts → namespace-CK50FeCH.d.mts} +2 -2
  45. package/dist/{namespace-Q-z7Lr2f.d.mts → namespace-D63jVkzY.d.mts} +4 -4
  46. package/dist/{namespace-DM3TSh_y.d.mts → namespace-DWT6hqxX.d.mts} +36 -36
  47. package/dist/{namespace-CWgNi8Gv.d.mts → namespace-thr1fR3_.d.mts} +6 -6
  48. package/dist/{namespace-B1Bldc48.d.mts → namespace-vfKj-JHx.d.mts} +9 -9
  49. package/dist/package-Dvk8-Gfd.mjs +1 -0
  50. package/dist/package.json +1 -1
  51. package/dist/primitive-runtime-UEzX4Ayu.mjs +1 -0
  52. package/dist/runtime-node/index.d.mts +1 -1
  53. package/dist/runtime-node/workflow-worker/index.d.mts +2 -2
  54. package/dist/{schema-BKdn_bdY.d.mts → schema-CXgFk-dK.d.mts} +2 -2
  55. package/dist/{schemas-DvjQHkmw2.d.mts → schemas-BS8xAZ2y2.d.mts} +4 -4
  56. package/dist/{schemas-BbFAwUpf.d.mts → schemas-DMl7IKG-.d.mts} +5 -5
  57. package/dist/{schemas-IDGAJ_zv.d.mts → schemas-YFBpHbzr.d.mts} +3 -3
  58. package/dist/{schemas-CyEdMtnQ.d.mts → schemas-za4KzhEe.d.mts} +20 -20
  59. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  60. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  61. package/dist/services/agent-runtime/index.d.mts +2 -2
  62. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  63. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  64. package/dist/services/context-rules/index.d.mts +11 -11
  65. package/dist/services/filesystem/namespace.d.mts +6 -6
  66. package/dist/services/filesystem/schemas.d.mts +3 -3
  67. package/dist/services/harness/index.d.mts +3 -3
  68. package/dist/services/index.d.mts +42 -42
  69. package/dist/services/log-import/browser.d.mts +2 -2
  70. package/dist/services/log-import/index.d.mts +2 -2
  71. package/dist/services/log-import/log-import.d.mts +1 -1
  72. package/dist/services/log-import/namespace.d.mts +2 -2
  73. package/dist/services/log-import/schemas.d.mts +1 -1
  74. package/dist/services/session/index.d.mts +5 -5
  75. package/dist/services/session/messages/namespace.d.mts +1 -1
  76. package/dist/services/session/session-events/namespace.d.mts +1 -1
  77. package/dist/services/session/storage/namespace.d.mts +1 -1
  78. package/dist/services/session/storage/schema.d.mts +1 -1
  79. package/dist/services/settings/namespace.d.mts +7 -7
  80. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  81. package/dist/services/subagent-template/index.d.mts +1 -1
  82. package/dist/services/subagent-template/schemas.d.mts +1 -1
  83. package/dist/services/tray-menu/index.d.mts +2 -2
  84. package/dist/services/tray-menu/namespace.d.mts +1 -1
  85. package/dist/services/tray-menu/schemas.d.mts +1 -1
  86. package/dist/{session-lineage-DFkJgYt5.d.mts → session-lineage-CJgqfkMj.d.mts} +1 -1
  87. package/dist/{types-Bo2-N1YR.d.mts → types-8q9G9p34.d.mts} +62 -62
  88. package/dist/{types-BB8iIAjZ.d.mts → types-bPzpZb7_.d.mts} +1 -1
  89. package/dist/workflow-engine/index.d.mts +451 -36
  90. package/dist/workflow-engine/index.mjs +1 -1
  91. package/dist/workflow-engine/package.mjs +1 -1
  92. package/dist/workflow-engine/workflow-orchestrator.d.mts +3 -2
  93. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  94. package/package.json +1 -1
  95. package/dist/package-DMoFY63f.mjs +0 -1
  96. package/dist/primitive-runtime-DWbV7f_r.mjs +0 -1
@@ -1,29 +1,29 @@
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-Cj3XCjXZ.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-HiAth5G0.mjs";
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-BbFAwUpf.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-DUsm-DeE.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
+ 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-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-DHVoVh-j.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-Bo2-N1YR.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-DUI1W-zN.mjs";
16
- import { n as defineSurfaceBinding, t as SurfaceBindingDefinition } from "../definition-CZcVOhXZ.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-B1PgTu7q.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
+ 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-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
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-BF84QInS.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";
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-DyqZej9j.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
+ 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
- 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-cN4DkU5Y2.mjs";
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";
27
27
  import { a as SubjectTelemetryFactSchema, c as SubjectTelemetryNamespace, i as SubjectTelemetryFact, l as SubjectTelemetrySubjects, n as SubjectTelemetryAttributeValueSchema, o as SubjectTelemetryMessageTypeSchema, r as SubjectTelemetryDirectionSchema, s as SubjectTelemetrySchemas, t as SubjectTelemetryAttributeValue } from "../index-DHHKwLww.mjs";
28
28
  import * as _$zod from "zod";
29
29
  import { z } from "zod";
@@ -315,9 +315,9 @@ declare const AgentNamespace: _$_makaio_core0.BusNamespaceDefinition<"agent", {
315
315
  description: _$zod.ZodOptional<_$zod.ZodString>;
316
316
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
317
317
  exposureMode: _$zod.ZodEnum<{
318
- hidden: "hidden";
319
318
  direct: "direct";
320
319
  discovery: "discovery";
320
+ hidden: "hidden";
321
321
  }>;
322
322
  enabled: _$zod.ZodBoolean;
323
323
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -334,9 +334,9 @@ declare const AgentNamespace: _$_makaio_core0.BusNamespaceDefinition<"agent", {
334
334
  description: _$zod.ZodOptional<_$zod.ZodString>;
335
335
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
336
336
  exposureMode: _$zod.ZodEnum<{
337
- hidden: "hidden";
338
337
  direct: "direct";
339
338
  discovery: "discovery";
339
+ hidden: "hidden";
340
340
  }>;
341
341
  enabled: _$zod.ZodBoolean;
342
342
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -363,11 +363,11 @@ declare const AgentNamespace: _$_makaio_core0.BusNamespaceDefinition<"agent", {
363
363
  request: _$zod.ZodObject<{
364
364
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
365
365
  messageId: _$zod.ZodOptional<_$zod.ZodString>;
366
- adapterId: _$zod.ZodString;
367
- adapterName: _$zod.ZodString;
368
366
  agentId: _$zod.ZodString;
369
- turnId: _$zod.ZodOptional<_$zod.ZodString>;
367
+ adapterName: _$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;
@@ -1600,9 +1600,9 @@ declare const AgentSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSub
1600
1600
  description: _$zod.ZodOptional<_$zod.ZodString>;
1601
1601
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
1602
1602
  exposureMode: _$zod.ZodEnum<{
1603
- hidden: "hidden";
1604
1603
  direct: "direct";
1605
1604
  discovery: "discovery";
1605
+ hidden: "hidden";
1606
1606
  }>;
1607
1607
  enabled: _$zod.ZodBoolean;
1608
1608
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -1619,9 +1619,9 @@ declare const AgentSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSub
1619
1619
  description: _$zod.ZodOptional<_$zod.ZodString>;
1620
1620
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
1621
1621
  exposureMode: _$zod.ZodEnum<{
1622
- hidden: "hidden";
1623
1622
  direct: "direct";
1624
1623
  discovery: "discovery";
1624
+ hidden: "hidden";
1625
1625
  }>;
1626
1626
  enabled: _$zod.ZodBoolean;
1627
1627
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -1648,11 +1648,11 @@ declare const AgentSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSub
1648
1648
  request: _$zod.ZodObject<{
1649
1649
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
1650
1650
  messageId: _$zod.ZodOptional<_$zod.ZodString>;
1651
- adapterId: _$zod.ZodString;
1652
- adapterName: _$zod.ZodString;
1653
1651
  agentId: _$zod.ZodString;
1654
- turnId: _$zod.ZodOptional<_$zod.ZodString>;
1652
+ adapterName: _$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;
@@ -2912,9 +2912,9 @@ declare const AgentSchemas: {
2912
2912
  description: _$zod.ZodOptional<_$zod.ZodString>;
2913
2913
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
2914
2914
  exposureMode: _$zod.ZodEnum<{
2915
- hidden: "hidden";
2916
2915
  direct: "direct";
2917
2916
  discovery: "discovery";
2917
+ hidden: "hidden";
2918
2918
  }>;
2919
2919
  enabled: _$zod.ZodBoolean;
2920
2920
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -2931,9 +2931,9 @@ declare const AgentSchemas: {
2931
2931
  description: _$zod.ZodOptional<_$zod.ZodString>;
2932
2932
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
2933
2933
  exposureMode: _$zod.ZodEnum<{
2934
- hidden: "hidden";
2935
2934
  direct: "direct";
2936
2935
  discovery: "discovery";
2936
+ hidden: "hidden";
2937
2937
  }>;
2938
2938
  enabled: _$zod.ZodBoolean;
2939
2939
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -2960,11 +2960,11 @@ declare const AgentSchemas: {
2960
2960
  request: _$zod.ZodObject<{
2961
2961
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
2962
2962
  messageId: _$zod.ZodOptional<_$zod.ZodString>;
2963
- adapterId: _$zod.ZodString;
2964
- adapterName: _$zod.ZodString;
2965
2963
  agentId: _$zod.ZodString;
2966
- turnId: _$zod.ZodOptional<_$zod.ZodString>;
2964
+ adapterName: _$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;
@@ -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
4664
  direct: "direct";
4666
4665
  discovery: "discovery";
4666
+ hidden: "hidden";
4667
4667
  }>>>;
4668
4668
  }, z.core.$strip>>;
4669
4669
  }, z.core.$strip>;
@@ -4759,9 +4759,9 @@ declare const AgentResolutionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
4759
4759
  description: _$zod.ZodOptional<_$zod.ZodString>;
4760
4760
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4761
4761
  exposureMode: _$zod.ZodEnum<{
4762
- hidden: "hidden";
4763
4762
  direct: "direct";
4764
4763
  discovery: "discovery";
4764
+ hidden: "hidden";
4765
4765
  }>;
4766
4766
  enabled: _$zod.ZodBoolean;
4767
4767
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -4778,9 +4778,9 @@ declare const AgentResolutionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
4778
4778
  description: _$zod.ZodOptional<_$zod.ZodString>;
4779
4779
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4780
4780
  exposureMode: _$zod.ZodEnum<{
4781
- hidden: "hidden";
4782
4781
  direct: "direct";
4783
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
4839
  direct: "direct";
4841
4840
  discovery: "discovery";
4841
+ hidden: "hidden";
4842
4842
  }>>>;
4843
4843
  }, _$zod_v4_core0.$strip>>;
4844
4844
  }, _$zod_v4_core0.$strip>;
@@ -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,8 +6438,8 @@ 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";
@@ -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,8 +7113,8 @@ 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";
@@ -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,8 +7563,8 @@ 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";
@@ -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";
@@ -10464,10 +10464,10 @@ type WorkflowSourceLocation = z.infer<typeof WorkflowSourceLocationSchema>;
10464
10464
  * - `sequence` — ordered list of child nodes (the structural container)
10465
10465
  */
10466
10466
  declare const WorkflowNodeTypeSchema: z.ZodEnum<{
10467
- sequence: "sequence";
10468
10467
  station: "station";
10469
10468
  "delegate-agent": "delegate-agent";
10470
10469
  "delegate-role": "delegate-role";
10470
+ sequence: "sequence";
10471
10471
  parallel: "parallel";
10472
10472
  gate: "gate";
10473
10473
  iterate: "iterate";
@@ -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>>>>;
@@ -11057,10 +11077,10 @@ declare const WorkflowFrameStateSchema: z.ZodObject<{
11057
11077
  frameId: z.ZodString;
11058
11078
  nodeId: z.ZodString;
11059
11079
  nodeType: z.ZodEnum<{
11060
- sequence: "sequence";
11061
11080
  station: "station";
11062
11081
  "delegate-agent": "delegate-agent";
11063
11082
  "delegate-role": "delegate-role";
11083
+ sequence: "sequence";
11064
11084
  parallel: "parallel";
11065
11085
  gate: "gate";
11066
11086
  iterate: "iterate";
@@ -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;
@@ -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>>>>;
@@ -12826,10 +12883,10 @@ declare const WorkflowSchemas: {
12826
12883
  frameId: z.ZodString;
12827
12884
  nodeId: z.ZodString;
12828
12885
  nodeType: z.ZodEnum<{
12829
- sequence: "sequence";
12830
12886
  station: "station";
12831
12887
  "delegate-agent": "delegate-agent";
12832
12888
  "delegate-role": "delegate-role";
12889
+ sequence: "sequence";
12833
12890
  parallel: "parallel";
12834
12891
  gate: "gate";
12835
12892
  iterate: "iterate";
@@ -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;
@@ -13411,10 +13472,10 @@ declare const WorkflowSchemas: {
13411
13472
  frameId: z.ZodString;
13412
13473
  nodeId: z.ZodString;
13413
13474
  nodeType: z.ZodEnum<{
13414
- sequence: "sequence";
13415
13475
  station: "station";
13416
13476
  "delegate-agent": "delegate-agent";
13417
13477
  "delegate-role": "delegate-role";
13478
+ sequence: "sequence";
13418
13479
  parallel: "parallel";
13419
13480
  gate: "gate";
13420
13481
  iterate: "iterate";
@@ -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>;
@@ -13638,6 +13699,58 @@ declare const WorkflowSchemas: {
13638
13699
  'worklog.changed': z.ZodObject<{
13639
13700
  executionId: z.ZodString;
13640
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>>;
13739
+ }, z.core.$strip>;
13740
+ };
13741
+ /**
13742
+ * Emitted after a state mutation is accepted and persisted.
13743
+ *
13744
+ * Subscribers use this for real-time state change observation
13745
+ * without polling the `state.get` RPC.
13746
+ */
13747
+ 'state.updated': z.ZodObject<{
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;
13753
+ }, z.core.$strip>;
13641
13754
  };
13642
13755
  declare const WorkflowNamespace: _$_makaio_core0.BusNamespaceDefinition<"workflow", {
13643
13756
  getDefinition: {
@@ -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>>>>;
@@ -14553,10 +14686,10 @@ declare const WorkflowNamespace: _$_makaio_core0.BusNamespaceDefinition<"workflo
14553
14686
  frameId: z.ZodString;
14554
14687
  nodeId: z.ZodString;
14555
14688
  nodeType: z.ZodEnum<{
14556
- sequence: "sequence";
14557
14689
  station: "station";
14558
14690
  "delegate-agent": "delegate-agent";
14559
14691
  "delegate-role": "delegate-role";
14692
+ sequence: "sequence";
14560
14693
  parallel: "parallel";
14561
14694
  gate: "gate";
14562
14695
  iterate: "iterate";
@@ -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;
@@ -15138,10 +15275,10 @@ declare const WorkflowNamespace: _$_makaio_core0.BusNamespaceDefinition<"workflo
15138
15275
  frameId: z.ZodString;
15139
15276
  nodeId: z.ZodString;
15140
15277
  nodeType: z.ZodEnum<{
15141
- sequence: "sequence";
15142
15278
  station: "station";
15143
15279
  "delegate-agent": "delegate-agent";
15144
15280
  "delegate-role": "delegate-role";
15281
+ sequence: "sequence";
15145
15282
  parallel: "parallel";
15146
15283
  gate: "gate";
15147
15284
  iterate: "iterate";
@@ -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>>>>;
@@ -16280,10 +16489,10 @@ declare const WorkflowSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
16280
16489
  frameId: z.ZodString;
16281
16490
  nodeId: z.ZodString;
16282
16491
  nodeType: z.ZodEnum<{
16283
- sequence: "sequence";
16284
16492
  station: "station";
16285
16493
  "delegate-agent": "delegate-agent";
16286
16494
  "delegate-role": "delegate-role";
16495
+ sequence: "sequence";
16287
16496
  parallel: "parallel";
16288
16497
  gate: "gate";
16289
16498
  iterate: "iterate";
@@ -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;
@@ -16865,10 +17078,10 @@ declare const WorkflowSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
16865
17078
  frameId: z.ZodString;
16866
17079
  nodeId: z.ZodString;
16867
17080
  nodeType: z.ZodEnum<{
16868
- sequence: "sequence";
16869
17081
  station: "station";
16870
17082
  "delegate-agent": "delegate-agent";
16871
17083
  "delegate-role": "delegate-role";
17084
+ sequence: "sequence";
16872
17085
  parallel: "parallel";
16873
17086
  gate: "gate";
16874
17087
  iterate: "iterate";
@@ -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>;
@@ -18030,8 +18303,8 @@ declare const SubagentStatusSchema: z.ZodEnum<{
18030
18303
  completed: "completed";
18031
18304
  cancelled: "cancelled";
18032
18305
  failed: "failed";
18033
- spawning: "spawning";
18034
18306
  running: "running";
18307
+ spawning: "spawning";
18035
18308
  waiting_input: "waiting_input";
18036
18309
  hung: "hung";
18037
18310
  }>;
@@ -18325,8 +18598,8 @@ declare const ListSubagentsBySessionResponseSchema: z.ZodObject<{
18325
18598
  completed: "completed";
18326
18599
  cancelled: "cancelled";
18327
18600
  failed: "failed";
18328
- spawning: "spawning";
18329
18601
  running: "running";
18602
+ spawning: "spawning";
18330
18603
  waiting_input: "waiting_input";
18331
18604
  hung: "hung";
18332
18605
  }>;
@@ -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
  /**
@@ -18796,6 +19144,20 @@ interface WorkflowZodSchemas {
18796
19144
  /** Gate resume schemas keyed by gate node ID. */
18797
19145
  readonly gates: Record<string, z.ZodTypeAny>;
18798
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
+ }
18799
19161
  /**
18800
19162
  * The result of defining a workflow via the fluent builder.
18801
19163
  *
@@ -18849,8 +19211,9 @@ interface DefineWorkflowOptions<TTriggers extends readonly WorkflowTriggerDef<un
18849
19211
  * be passed wherever a built workflow is expected without an explicit `.build()`
18850
19212
  * call.
18851
19213
  * @typeParam TTrigger - Trigger payload type (from the union of added triggers)
19214
+ * @typeParam TState - Workflow run-state type declared via `.state()`.
18852
19215
  */
18853
- interface WorkflowBuilder<TTrigger = never> extends BuiltWorkflow {
19216
+ interface WorkflowBuilder<TTrigger = never, TState extends JsonValue | undefined = undefined> extends BuiltWorkflow {
18854
19217
  /**
18855
19218
  * Sets the workflow's input schema.
18856
19219
  *
@@ -18859,7 +19222,7 @@ interface WorkflowBuilder<TTrigger = never> extends BuiltWorkflow {
18859
19222
  * @param schema - Zod schema describing the workflow's input parameters
18860
19223
  * @returns This builder for chaining
18861
19224
  */
18862
- input(schema: z.ZodTypeAny): WorkflowBuilder<TTrigger>;
19225
+ input(schema: z.ZodTypeAny): WorkflowBuilder<TTrigger, TState>;
18863
19226
  /**
18864
19227
  * Sets the workflow's config schema.
18865
19228
  *
@@ -18868,7 +19231,7 @@ interface WorkflowBuilder<TTrigger = never> extends BuiltWorkflow {
18868
19231
  * @param schema - Zod schema describing the workflow's static configuration
18869
19232
  * @returns This builder for chaining
18870
19233
  */
18871
- config(schema: z.ZodTypeAny): WorkflowBuilder<TTrigger>;
19234
+ config(schema: z.ZodTypeAny): WorkflowBuilder<TTrigger, TState>;
18872
19235
  /**
18873
19236
  * Sets the workflow's output schema.
18874
19237
  *
@@ -18877,7 +19240,7 @@ interface WorkflowBuilder<TTrigger = never> extends BuiltWorkflow {
18877
19240
  * @param schema - Zod schema describing the workflow's primary output
18878
19241
  * @returns This builder for chaining
18879
19242
  */
18880
- output(schema: z.ZodTypeAny): WorkflowBuilder<TTrigger>;
19243
+ output(schema: z.ZodTypeAny): WorkflowBuilder<TTrigger, TState>;
18881
19244
  /**
18882
19245
  * Binds a primary artifact to the workflow.
18883
19246
  *
@@ -18886,7 +19249,18 @@ interface WorkflowBuilder<TTrigger = never> extends BuiltWorkflow {
18886
19249
  * @param options - Artifact binding configuration
18887
19250
  * @returns This builder for chaining
18888
19251
  */
18889
- 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>;
18890
19264
  /**
18891
19265
  * Appends a station node to the root sequence and registers the handler.
18892
19266
  *
@@ -18897,7 +19271,7 @@ interface WorkflowBuilder<TTrigger = never> extends BuiltWorkflow {
18897
19271
  * @param options - Optional node conditions (`when`, `skip`)
18898
19272
  * @returns This builder for chaining
18899
19273
  */
18900
- 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>;
18901
19275
  /**
18902
19276
  * Appends a delegate-agent node to the root sequence.
18903
19277
  * @param id - Unique node identifier
@@ -18905,7 +19279,7 @@ interface WorkflowBuilder<TTrigger = never> extends BuiltWorkflow {
18905
19279
  * @param options - Optional node conditions
18906
19280
  * @returns This builder for chaining
18907
19281
  */
18908
- delegateToAgent(id: string, agentConfig: AgentConfig, options?: NodeOptions): WorkflowBuilder<TTrigger>;
19282
+ delegateToAgent(id: string, agentConfig: AgentConfig, options?: NodeOptions): WorkflowBuilder<TTrigger, TState>;
18909
19283
  /**
18910
19284
  * Appends a delegate-role node to the root sequence.
18911
19285
  * @param id - Unique node identifier
@@ -18913,7 +19287,7 @@ interface WorkflowBuilder<TTrigger = never> extends BuiltWorkflow {
18913
19287
  * @param options - Optional node conditions and role delegation settings; `prompt` defaults to the node ID
18914
19288
  * @returns This builder for chaining
18915
19289
  */
18916
- delegateToRole(id: string, role: string, options?: DelegateToRoleOptions): WorkflowBuilder<TTrigger>;
19290
+ delegateToRole(id: string, role: string, options?: DelegateToRoleOptions): WorkflowBuilder<TTrigger, TState>;
18917
19291
  /**
18918
19292
  * Appends a parallel node with static branches to the root sequence.
18919
19293
  *
@@ -18925,7 +19299,7 @@ interface WorkflowBuilder<TTrigger = never> extends BuiltWorkflow {
18925
19299
  * @param branches - Ordered list of branch nodes
18926
19300
  * @returns This builder for chaining
18927
19301
  */
18928
- parallel(id: string, options: ParallelOptions, branches: WorkflowNode[]): WorkflowBuilder<TTrigger>;
19302
+ parallel(id: string, options: ParallelOptions, branches: WorkflowNode[]): WorkflowBuilder<TTrigger, TState>;
18929
19303
  /**
18930
19304
  * Appends a gate node to the root sequence.
18931
19305
  *
@@ -18936,7 +19310,7 @@ interface WorkflowBuilder<TTrigger = never> extends BuiltWorkflow {
18936
19310
  * @param options - Gate configuration including prompt and timeout
18937
19311
  * @returns This builder for chaining
18938
19312
  */
18939
- gate(id: string, options: GateOptions): WorkflowBuilder<TTrigger>;
19313
+ gate(id: string, options: GateOptions): WorkflowBuilder<TTrigger, TState>;
18940
19314
  /**
18941
19315
  * Appends an iterate node to the root sequence and registers the handler.
18942
19316
  * @param id - Unique iterate node identifier
@@ -18944,7 +19318,7 @@ interface WorkflowBuilder<TTrigger = never> extends BuiltWorkflow {
18944
19318
  * @param options - Iterate configuration including collection expression
18945
19319
  * @returns This builder for chaining
18946
19320
  */
18947
- 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>;
18948
19322
  /**
18949
19323
  * Appends an iterate-chain node to the root sequence.
18950
19324
  *
@@ -18955,13 +19329,13 @@ interface WorkflowBuilder<TTrigger = never> extends BuiltWorkflow {
18955
19329
  * @param options - Iterate configuration including collection expression
18956
19330
  * @returns This builder for chaining
18957
19331
  */
18958
- iterateChain(id: string, chain: WorkflowNode[], options: IterateOptions): WorkflowBuilder<TTrigger>;
19332
+ iterateChain(id: string, chain: WorkflowNode[], options: IterateOptions): WorkflowBuilder<TTrigger, TState>;
18959
19333
  /**
18960
19334
  * Appends a trigger to the workflow definition.
18961
19335
  * @param trigger - The trigger to add
18962
19336
  * @returns This builder with an expanded trigger payload union
18963
19337
  */
18964
- addTrigger<TPayload>(trigger: WorkflowTriggerDef<TPayload>): WorkflowBuilder<TTrigger | TPayload>;
19338
+ addTrigger<TPayload>(trigger: WorkflowTriggerDef<TPayload>): WorkflowBuilder<TTrigger | TPayload, TState>;
18965
19339
  /**
18966
19340
  * Appends an arbitrary pre-built node to the root sequence.
18967
19341
  *
@@ -19072,7 +19446,7 @@ declare function iterateChain(id: string, chain: WorkflowNode[], options: Iterat
19072
19446
  * .gate('approve', { prompt: 'Approve?', autoAction: 'reject', timeoutMs: null });
19073
19447
  * ```
19074
19448
  */
19075
- 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>;
19076
19450
  //#endregion
19077
19451
  //#region core/contracts/src/workflow/execution-hints.d.ts
19078
19452
  /**
@@ -19671,9 +20045,9 @@ declare const McpTransportConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
19671
20045
  }, z.core.$strip>], "type">;
19672
20046
  /** Exposure mode for MCP tools */
19673
20047
  declare const McpExposureModeSchema: z.ZodEnum<{
19674
- hidden: "hidden";
19675
20048
  direct: "direct";
19676
20049
  discovery: "discovery";
20050
+ hidden: "hidden";
19677
20051
  }>;
19678
20052
  /** Exposure mode variant that excludes hidden. */
19679
20053
  declare const McpNonHiddenExposureModeSchema: z.ZodEnum<{
@@ -19697,9 +20071,9 @@ declare const McpProfileConfigSchema: z.ZodObject<{
19697
20071
  directTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
19698
20072
  discoveryTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
19699
20073
  toolExposure: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
19700
- hidden: "hidden";
19701
20074
  direct: "direct";
19702
20075
  discovery: "discovery";
20076
+ hidden: "hidden";
19703
20077
  }>>>;
19704
20078
  }, z.core.$strip>;
19705
20079
  /** Resolved server info passed to adapter strategies */
@@ -19751,9 +20125,9 @@ declare const McpToolStateSchema: z.ZodObject<{
19751
20125
  description: z.ZodOptional<z.ZodString>;
19752
20126
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
19753
20127
  exposureMode: z.ZodEnum<{
19754
- hidden: "hidden";
19755
20128
  direct: "direct";
19756
20129
  discovery: "discovery";
20130
+ hidden: "hidden";
19757
20131
  }>;
19758
20132
  enabled: z.ZodBoolean;
19759
20133
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -19815,9 +20189,9 @@ declare const McpSessionContextSchema: z.ZodObject<{
19815
20189
  description: z.ZodOptional<z.ZodString>;
19816
20190
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
19817
20191
  exposureMode: z.ZodEnum<{
19818
- hidden: "hidden";
19819
20192
  direct: "direct";
19820
20193
  discovery: "discovery";
20194
+ hidden: "hidden";
19821
20195
  }>;
19822
20196
  enabled: z.ZodBoolean;
19823
20197
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -19834,9 +20208,9 @@ declare const McpSessionContextSchema: z.ZodObject<{
19834
20208
  description: z.ZodOptional<z.ZodString>;
19835
20209
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
19836
20210
  exposureMode: z.ZodEnum<{
19837
- hidden: "hidden";
19838
20211
  direct: "direct";
19839
20212
  discovery: "discovery";
20213
+ hidden: "hidden";
19840
20214
  }>;
19841
20215
  enabled: z.ZodBoolean;
19842
20216
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -19902,9 +20276,9 @@ declare const McpRuntimeSessionContextSchema: z.ZodObject<{
19902
20276
  description: z.ZodOptional<z.ZodString>;
19903
20277
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
19904
20278
  exposureMode: z.ZodEnum<{
19905
- hidden: "hidden";
19906
20279
  direct: "direct";
19907
20280
  discovery: "discovery";
20281
+ hidden: "hidden";
19908
20282
  }>;
19909
20283
  enabled: z.ZodBoolean;
19910
20284
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -19921,9 +20295,9 @@ declare const McpRuntimeSessionContextSchema: z.ZodObject<{
19921
20295
  description: z.ZodOptional<z.ZodString>;
19922
20296
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
19923
20297
  exposureMode: z.ZodEnum<{
19924
- hidden: "hidden";
19925
20298
  direct: "direct";
19926
20299
  discovery: "discovery";
20300
+ hidden: "hidden";
19927
20301
  }>;
19928
20302
  enabled: z.ZodBoolean;
19929
20303
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -20008,9 +20382,9 @@ declare const McpSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubje
20008
20382
  directTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
20009
20383
  discoveryTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
20010
20384
  toolExposure: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
20011
- hidden: "hidden";
20012
20385
  direct: "direct";
20013
20386
  discovery: "discovery";
20387
+ hidden: "hidden";
20014
20388
  }>>>;
20015
20389
  }, _$zod_v4_core0.$strip>>;
20016
20390
  }, _$zod_v4_core0.$strip>;
@@ -20065,9 +20439,9 @@ declare const McpSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubje
20065
20439
  description: _$zod.ZodOptional<_$zod.ZodString>;
20066
20440
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
20067
20441
  exposureMode: _$zod.ZodEnum<{
20068
- hidden: "hidden";
20069
20442
  direct: "direct";
20070
20443
  discovery: "discovery";
20444
+ hidden: "hidden";
20071
20445
  }>;
20072
20446
  enabled: _$zod.ZodBoolean;
20073
20447
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -20084,9 +20458,9 @@ declare const McpSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubje
20084
20458
  description: _$zod.ZodOptional<_$zod.ZodString>;
20085
20459
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
20086
20460
  exposureMode: _$zod.ZodEnum<{
20087
- hidden: "hidden";
20088
20461
  direct: "direct";
20089
20462
  discovery: "discovery";
20463
+ hidden: "hidden";
20090
20464
  }>;
20091
20465
  enabled: _$zod.ZodBoolean;
20092
20466
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -20278,8 +20652,8 @@ declare const SubagentSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
20278
20652
  completed: "completed";
20279
20653
  cancelled: "cancelled";
20280
20654
  failed: "failed";
20281
- spawning: "spawning";
20282
20655
  running: "running";
20656
+ spawning: "spawning";
20283
20657
  waiting_input: "waiting_input";
20284
20658
  hung: "hung";
20285
20659
  }>;
@@ -20513,8 +20887,8 @@ declare const SubagentSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
20513
20887
  completed: "completed";
20514
20888
  cancelled: "cancelled";
20515
20889
  failed: "failed";
20516
- spawning: "spawning";
20517
20890
  running: "running";
20891
+ spawning: "spawning";
20518
20892
  waiting_input: "waiting_input";
20519
20893
  hung: "hung";
20520
20894
  }>;
@@ -21236,6 +21610,10 @@ declare const WorkerNodeDispatchRequestSchema: z.ZodObject<{
21236
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>>>>;
21237
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>>>>;
21238
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>>;
21239
21617
  artifact: z.ZodOptional<z.ZodObject<{
21240
21618
  kind: z.ZodString;
21241
21619
  schemaVersion: z.ZodString;
@@ -21574,6 +21952,10 @@ declare const WorkerNodeSchemas: {
21574
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>>>>;
21575
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>>>>;
21576
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>>;
21577
21959
  artifact: z.ZodOptional<z.ZodObject<{
21578
21960
  kind: z.ZodString;
21579
21961
  schemaVersion: z.ZodString;
@@ -22157,6 +22539,10 @@ declare const WorkerNodeNamespace: _$_makaio_core0.BusNamespaceDefinition<"worke
22157
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>>>>;
22158
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>>>>;
22159
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>>;
22160
22546
  artifact: _$zod.ZodOptional<_$zod.ZodObject<{
22161
22547
  kind: _$zod.ZodString;
22162
22548
  schemaVersion: _$zod.ZodString;
@@ -22664,6 +23050,10 @@ declare const WorkerNodeSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
22664
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>>>>;
22665
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>>>>;
22666
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>>;
22667
23057
  artifact: _$zod.ZodOptional<_$zod.ZodObject<{
22668
23058
  kind: _$zod.ZodString;
22669
23059
  schemaVersion: _$zod.ZodString;
@@ -23284,4 +23674,4 @@ declare const FrameworkContractNamespaces: readonly RegistrableBusNamespaceDefin
23284
23674
  */
23285
23675
  declare const FrameworkStorageNamespaces: readonly RegistrableBusNamespaceDefinition[];
23286
23676
  //#endregion
23287
- 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 };