@makaio/framework 1.0.0-dev-1789034250920 → 1.0.0-dev-1789056039016

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapters/claude/index.d.mts +36 -36
  3. package/dist/bootstrap-start-client-D7t7d9ty.mjs +1 -0
  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 +2 -2
  8. package/dist/contracts/automation-trigger/index.d.mts +1 -1
  9. package/dist/contracts/capabilities/index.d.mts +1 -1
  10. package/dist/contracts/client/index.d.mts +2 -2
  11. package/dist/contracts/extension/index.d.mts +4 -4
  12. package/dist/contracts/harness/index.d.mts +1 -1
  13. package/dist/contracts/index.d.mts +51 -51
  14. package/dist/contracts/index.mjs +1 -1
  15. package/dist/contracts/materialization/index.d.mts +1 -1
  16. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  17. package/dist/contracts/reaction/index.d.mts +1 -1
  18. package/dist/contracts/session/index.d.mts +2 -2
  19. package/dist/contracts/variant/index.d.mts +1 -1
  20. package/dist/contracts/worker/index.d.mts +2 -2
  21. package/dist/contracts/worker/index.mjs +1 -1
  22. package/dist/contracts/workflow/index.d.mts +2 -2
  23. package/dist/{contribution-CejwVIb3.d.mts → contribution-BWanQHUz.d.mts} +1 -1
  24. package/dist/{extension-context-SrQpa_kp.d.mts → extension-context-BGNUn34r.d.mts} +3 -3
  25. package/dist/{hook-responses-E1gipXIp.d.mts → hook-responses-DVjMuGh9.d.mts} +1 -1
  26. package/dist/{index-D1rYHYPO.d.mts → index-B4KCyY6J.d.mts} +8 -8
  27. package/dist/{index-yapYXeah.d.mts → index-BLhNHkiK.d.mts} +8 -8
  28. package/dist/{index-DWlmiprx2.d.mts → index-BgKU1PuR2.d.mts} +1 -1
  29. package/dist/{index-DKq33gti.d.mts → index-C0jn5nKJ.d.mts} +32 -32
  30. package/dist/{index-BncQwKi-2.d.mts → index-CAURP-Tl2.d.mts} +37 -37
  31. package/dist/{index-BN0qpem12.d.mts → index-CK5GEXLB2.d.mts} +16 -16
  32. package/dist/{index-B94tZHiU.d.mts → index-CKvliyuY.d.mts} +241 -241
  33. package/dist/{index-MKNhvbfG.d.mts → index-CO6ADD43.d.mts} +22 -22
  34. package/dist/{index-OLGGmjgd.d.mts → index-CU9xmTkP.d.mts} +1 -1
  35. package/dist/{index-B7VWSBm72.d.mts → index-CVP9K9-a2.d.mts} +4 -4
  36. package/dist/{index-BTwMms1p.d.mts → index-Caai1zAG.d.mts} +1 -1
  37. package/dist/{index-BPrpnLRQ.d.mts → index-CrvTRZqh.d.mts} +4 -4
  38. package/dist/{index-6BDbhx3A2.d.mts → index-DO0QO0ux2.d.mts} +1 -1
  39. package/dist/{index-BFchykav.d.mts → index-Ddk-kjif.d.mts} +1 -1
  40. package/dist/{index-Cp9olTr7.d.mts → index-DhW9WHFS.d.mts} +6 -6
  41. package/dist/{index-0_Ao0hwU.d.mts → index-Dtc5UYJG.d.mts} +54 -54
  42. package/dist/{index-BeLI73yw2.d.mts → index-H2NL2OwF2.d.mts} +116 -4
  43. package/dist/{index-DxUstDMY.d.mts → index-LRAmVQLj.d.mts} +277 -43
  44. package/dist/{index-BN2_TMtX.d.mts → index-fpGFhEmI.d.mts} +6 -6
  45. package/dist/kernel/extension/index.d.mts +1 -1
  46. package/dist/kernel/index.d.mts +2 -2
  47. package/dist/kernel/observability/index.d.mts +1 -1
  48. package/dist/{namespace-CZJQrexB.d.mts → namespace--mFdPlbu.d.mts} +18 -18
  49. package/dist/{namespace-CjFT0wBT.d.mts → namespace-CQPcYS-Q.d.mts} +2 -2
  50. package/dist/{namespace-BHkEHrUG.d.mts → namespace-DyWNxLt1.d.mts} +6 -6
  51. package/dist/{namespace-BYBMtQUy.d.mts → namespace-TX9DlWiQ.d.mts} +4 -4
  52. package/dist/package.json +1 -1
  53. package/dist/runtime-node/index.d.mts +2 -2
  54. package/dist/runtime-node/index.mjs +21 -21
  55. package/dist/runtime-node/workflow-execution-bus-access.mjs +1 -1
  56. package/dist/runtime-node/workflow-worker/index.d.mts +2 -2
  57. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  58. package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
  59. package/dist/{schemas-COQUToGQ.d.mts → schemas-BGcAiQE0.d.mts} +4 -4
  60. package/dist/{schemas-DNUfTOJ0.d.mts → schemas-D9WJH6We.d.mts} +1 -1
  61. package/dist/{schemas-Ct0tTtkV.d.mts → schemas-Dt1YwXLN.d.mts} +8 -8
  62. package/dist/{schemas-DYtUc2WA.d.mts → schemas-FkLOBJgq.d.mts} +4 -4
  63. package/dist/{schemas-DNvDh0eE2.d.mts → schemas-Fn-eeay32.d.mts} +7 -7
  64. package/dist/{schemas-mTWvDwx9.d.mts → schemas-_NrySTmN.d.mts} +1 -1
  65. package/dist/services/adapter-runtime/index.d.mts +3 -3
  66. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  67. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  68. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  69. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  70. package/dist/services/context-rules/index.d.mts +3 -3
  71. package/dist/services/execution-target/index.d.mts +1 -1
  72. package/dist/services/filesystem/namespace.d.mts +6 -6
  73. package/dist/services/filesystem/schemas.d.mts +3 -3
  74. package/dist/services/git/namespace.d.mts +2 -2
  75. package/dist/services/git/schemas.d.mts +1 -1
  76. package/dist/services/harness/index.d.mts +3 -3
  77. package/dist/services/index.d.mts +34 -34
  78. package/dist/services/log-import/browser.d.mts +2 -2
  79. package/dist/services/log-import/index.d.mts +2 -2
  80. package/dist/services/log-import/log-import.d.mts +1 -1
  81. package/dist/services/log-import/namespace.d.mts +2 -2
  82. package/dist/services/log-import/schemas.d.mts +1 -1
  83. package/dist/services/preferences/index.d.mts +2 -2
  84. package/dist/services/preferences/schemas.d.mts +1 -1
  85. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  86. package/dist/services/provider-context/index.d.mts +1 -1
  87. package/dist/services/session/index.d.mts +4 -4
  88. package/dist/services/session/messages/namespace.d.mts +1 -1
  89. package/dist/services/session/session-events/namespace.d.mts +1 -1
  90. package/dist/services/settings/namespace.d.mts +8 -8
  91. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  92. package/dist/services/subagent-template/index.d.mts +1 -1
  93. package/dist/services/subagent-template/schemas.d.mts +1 -1
  94. package/dist/{session-lineage-9_qwkjUq.d.mts → session-lineage-CoNs4WZy.d.mts} +1 -1
  95. package/dist/{storage-namespace-DITavhRL.d.mts → storage-namespace-BUSNKZLw.d.mts} +10 -10
  96. package/dist/{transition-DNi6L7i2.d.mts → transition-D2VKNtv6.d.mts} +1 -1
  97. package/dist/{types-BeAxyCuU2.d.mts → types-DafDuOcH2.d.mts} +1 -1
  98. package/dist/{types-DXobLxrf.d.mts → types-DyXXIK4c.d.mts} +15 -15
  99. package/dist/ui-kernel/index.d.mts +4 -4
  100. package/dist/ui-kernel/pages/namespace.d.mts +4 -4
  101. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  102. package/dist/{view-builder-B5gP9RnN.d.mts → view-builder-BFEvUe6n.d.mts} +1 -1
  103. package/dist/worker-L8vWpbYa.mjs +1 -0
  104. package/dist/workflow-engine/index.d.mts +32 -32
  105. package/dist/workflow-worker-BDA-E_pm.mjs +2 -0
  106. package/package.json +1 -1
  107. package/dist/bootstrap-start-client-rW55mDI-.mjs +0 -1
  108. package/dist/worker-Cmme3rMM.mjs +0 -1
  109. package/dist/workflow-worker-BAO7pQpx.mjs +0 -2
  110. package/dist/{index-C4DMSFLE2.d.mts → index-D4FE3jHM2.d.mts} +6 -6
@@ -1 +1 @@
1
- import{randomBytes as e}from"node:crypto";import{getFullSubjectForSubjectDefinition as t}from"@makaio/framework/core";import{ArtifactSubjects as n,ExecutionAttemptSubjects as r,SubagentSubjects as i,WorkerSubjects as a,WorkflowSubjects as o}from"@makaio/framework/contracts";import{captureHmacIdentitySecretCleanup as s,registerHmacIdentitySecret as c,resolveHmacIdentityPeer as l,resolveHmacIdentitySecret as u,rotateHmacIdentitySecret as d}from"@makaio/framework/node/transports";import{AdapterSubsystemSubjects as f}from"@makaio/framework/services/adapter-subsystem";import{WorkflowStorageSubjects as p}from"@makaio/framework/workflow-engine";const m=[r.runtime.register,r.bootstrap.awaitStart,r.instruction.get,r.operation.admit,r.operation.report,r.operation.deliver,r.outcome.submit,a.runtime.inputs.get,a.control.outcome.submit,o.getRunContext,f.listAdapters,o.bootstrapAuthorityState,o.finalizeDelegateResult,p.getExecution,p.setFrame,p.setSpan,p.listFrames,p.getGateInstance,p.setGateInstance,o.frame.started,o.frame.completed,o.frame.failed,o.frame.sessionLinked,o.execution.progress,o.gate.suspended,o.gate.resumed,o.gate.resolved,o.gate.respond,o.state.get,o.state.patch,o.resolveAgent,o.resolveRole,n.kind.list,n.query,n.resolve,n.create,n.revise,o.artifact.updated,i.spawn,i.await,i.getStatus,i.kill];function h(e){return[...m.map(t),`workflow.${e}.cancel`]}function g(e){let{executionAttemptId:t,executionId:n,secret:r}=e,i=e.allowedSubjects??h(n);return{secret:r,cleanup:c(t,r,{peerKind:`workflow-execution-attempt`,claims:{executionId:n},allowedSubjects:i})}}function _(t){let n=e(32).toString(`hex`);return g({...t,secret:n})}function v(t){let{executionAttemptId:n,executionId:r}=t,i=l(n);if(i?.kind!==`workflow-execution-attempt`||i.claims?.executionId!==r)throw Error(`Cannot rotate workflow execution bus secret: attempt "${n}" is not registered for execution "${r}"`);let a=e(32).toString(`hex`);return{secret:a,cleanup:d(n,a)}}function y(e){return u(e.executionAttemptId)===null?_(e):v(e)}function b(e){let{executionAttemptId:t,executionId:n}=e,r=l(t);if(r!==null){if(r.kind!==`workflow-execution-attempt`||r.claims?.executionId!==n)throw Error(`Cannot capture workflow execution bus secret cleanup: attempt "${t}" is not registered for execution "${n}"`);return s(t)}}function x(e){return u(e)??void 0}export{h as buildExecutionAttemptAllowedSubjects,b as captureWorkflowExecutionBusSecretCleanup,y as mintOrRotateWorkflowExecutionBusSecret,_ as mintWorkflowExecutionBusSecret,g as registerWorkflowExecutionBusSecret,x as resolveWorkflowExecutionBusSecret,v as rotateWorkflowExecutionBusSecret};
1
+ import{randomBytes as e}from"node:crypto";import{getFullSubjectForSubjectDefinition as t}from"@makaio/framework/core";import{ArtifactSubjects as n,ExecutionAttemptSubjects as r,SubagentSubjects as i,WorkerSubjects as a,WorkflowSubjects as o}from"@makaio/framework/contracts";import{captureHmacIdentitySecretCleanup as s,registerHmacIdentitySecret as c,resolveHmacIdentityPeer as l,resolveHmacIdentitySecret as u,rotateHmacIdentitySecret as d}from"@makaio/framework/node/transports";import{AdapterSubsystemSubjects as f}from"@makaio/framework/services/adapter-subsystem";import{WorkflowStorageSubjects as p}from"@makaio/framework/workflow-engine";const m=[r.runtime.register,r.bootstrap.awaitStart,r.instruction.get,r.operation.admit,r.operation.report,r.operation.deliver,r.outcome.submit,r.control.deliver,r.control.report,a.runtime.inputs.get,a.control.outcome.submit,o.getRunContext,f.listAdapters,o.bootstrapAuthorityState,o.finalizeDelegateResult,p.getExecution,p.setFrame,p.setSpan,p.listFrames,p.getGateInstance,p.setGateInstance,o.frame.started,o.frame.completed,o.frame.failed,o.frame.sessionLinked,o.execution.progress,o.gate.suspended,o.gate.resumed,o.gate.resolved,o.gate.respond,o.state.get,o.state.patch,o.resolveAgent,o.resolveRole,n.kind.list,n.query,n.resolve,n.create,n.revise,o.artifact.updated,i.spawn,i.await,i.getStatus,i.kill];function h(e){return[...m.map(t),`workflow.${e}.cancel`]}function g(e){let{executionAttemptId:t,executionId:n,secret:r}=e,i=e.allowedSubjects??h(n);return{secret:r,cleanup:c(t,r,{peerKind:`workflow-execution-attempt`,claims:{executionId:n},allowedSubjects:i})}}function _(t){let n=e(32).toString(`hex`);return g({...t,secret:n})}function v(t){let{executionAttemptId:n,executionId:r}=t,i=l(n);if(i?.kind!==`workflow-execution-attempt`||i.claims?.executionId!==r)throw Error(`Cannot rotate workflow execution bus secret: attempt "${n}" is not registered for execution "${r}"`);let a=e(32).toString(`hex`);return{secret:a,cleanup:d(n,a)}}function y(e){return u(e.executionAttemptId)===null?_(e):v(e)}function b(e){let{executionAttemptId:t,executionId:n}=e,r=l(t);if(r!==null){if(r.kind!==`workflow-execution-attempt`||r.claims?.executionId!==n)throw Error(`Cannot capture workflow execution bus secret cleanup: attempt "${t}" is not registered for execution "${n}"`);return s(t)}}function x(e){return u(e)??void 0}export{h as buildExecutionAttemptAllowedSubjects,b as captureWorkflowExecutionBusSecretCleanup,y as mintOrRotateWorkflowExecutionBusSecret,_ as mintWorkflowExecutionBusSecret,g as registerWorkflowExecutionBusSecret,x as resolveWorkflowExecutionBusSecret,v as rotateWorkflowExecutionBusSecret};
@@ -1,2 +1,2 @@
1
- import { $ as WorkflowAttemptInstructionReader, A as HeadlessWorkerExecutor, B as WorkloadInvocationPreparation, Bt as WorkspaceRootResolver, C as loadWorkflowFromConfig, Ct as createWorkerBusAuth, D as HeadlessWorkerBootstrapCredentials, Dt as ThinWorkflowPiscinaRunnerOptions, E as HeadlessWorkerBootstrap, Et as RuntimeLoadedWorkflow, F as MaterializedWorkspace, G as IsolatedWorkflowRuntimeContext, Gt as computeFileDigest, H as runWorkloadInvocation, Ht as assertNoSymlinkEscape, I as runHeadlessWorkflowWorker, J as createIsolatedWorkflowRuntime, Jt as verifyContribution, K as WorkflowRuntimeAuthorityConnector, Kt as materializeLocalDirectory, L as InstalledWorkloadAdapter, Lt as LocalDirectoryMaterializerOptions, M as HeadlessWorkerPostCommitObserver, N as HeadlessWorkflowWorkerDeps, O as HeadlessWorkerBusConnector, Ot as WorkflowRunResult, P as HeadlessWorkflowWorkerResult, Q as PiscinaThinWorkflowProviderOptions, R as RunWorkloadInvocationOptions, Rt as MaterializationError, S as loadWorkflowModules, St as withWorkerBootstrapDeadline, T as LocalGitSourceOptions, Tt as IWorkflowRunner, U as CreateIsolatedWorkflowRuntimeOptions, Ut as computeContributionPackageDigest, V as WorkloadInvocationResult, Vt as assertContainedIn, W as IsolatedWorkflowRuntime, Wt as computeDirectoryDigest, X as InProcessWorkflowRunnerOptions, Xt as WorkflowWorkerEntryResolverOptions, Y as InProcessWorkflowRunner, Yt as WorkflowWorkerEntryMode, Z as PiscinaThinWorkflowProvider, Zt as resolveWorkflowWorkerEntry, _ as admitWorkflowRunOperation, _t as createNodeWorkflowRunnerPackageOptions, a as bootstrapWorkerRuntime, at as DELIVERED_DECISIONS, b as registerWorkerRuntime, bt as runWorkerBootstrapExchange, c as DeliverableOperationKind, ct as OutcomeSubmitPayload, d as OperationDeliveryEndpointIdentity, dt as submitOutcomeWithAck, et as WorkflowLaunchResolver, f as OperationDeliveryHandler, ft as WorkerRunner, g as RuntimeRegistrationRefusedError, gt as createNodeWorkflowRunner, h as RegisterWorkerRuntimeOptions, ht as NodeWorkflowRunnerPackageOptions, i as StartedWorkerRuntime, it as AuthorityRequestDeliveryError, j as HeadlessWorkerMaterializer, k as HeadlessWorkerContributionLoader, l as OperationAdmissionRefusedError, lt as OutcomeSubmitRetryConfig, m as RegisterAndAdmitWorkflowRunOptions, mt as CreateNodeWorkflowRunnerPackageOptionsParams, n as BootstrapStartRefusedError, nt as AttemptOutcomeDeliveryError, o as AdmitWorkflowRunOperationOptions, ot as OutcomeDeliveryError, p as OperationDeliveryHandlers, pt as WorkerRunnerOptions, q as WorkflowRuntimeContributionLoader, qt as parseSriIntegrity, r as BootstrapWorkerRuntimeOptions, rt as AttemptOutcomeSubmitPayload, s as AdmittedWorkflowRun, st as OutcomeReconnect, t as BootstrapRuntimeConnection, tt as createWorkflowLaunchResolver, u as OperationDeliveryEndpoint, ut as submitAttemptOutcomeWithAck, v as installOperationDeliveryEndpoint, vt as BootstrapExchangeResult, w as createLocalGitWorkspacePreparation, wt as ThinWorkflowPiscinaRunner, x as loadWorkflowModule, xt as BootstrapDeadlineExceededError, y as registerAndAdmitWorkflowRun, yt as WorkerBootstrapExchangeOptions, z as WorkloadControlBinding, zt as ParsedSriIntegrity } from "../../index-DxUstDMY.mjs";
2
- export { AdmitWorkflowRunOperationOptions, AdmittedWorkflowRun, AttemptOutcomeDeliveryError, AttemptOutcomeSubmitPayload, AuthorityRequestDeliveryError, BootstrapDeadlineExceededError, BootstrapExchangeResult, BootstrapRuntimeConnection, BootstrapStartRefusedError, BootstrapWorkerRuntimeOptions, CreateIsolatedWorkflowRuntimeOptions, CreateNodeWorkflowRunnerPackageOptionsParams, DELIVERED_DECISIONS, DeliverableOperationKind, HeadlessWorkerBootstrap, HeadlessWorkerBootstrapCredentials, HeadlessWorkerBusConnector, HeadlessWorkerContributionLoader, HeadlessWorkerExecutor, HeadlessWorkerMaterializer, HeadlessWorkerPostCommitObserver, HeadlessWorkflowWorkerDeps, HeadlessWorkflowWorkerResult, IWorkflowRunner, InProcessWorkflowRunner, InProcessWorkflowRunnerOptions, InstalledWorkloadAdapter, IsolatedWorkflowRuntime, IsolatedWorkflowRuntimeContext, LocalDirectoryMaterializerOptions, LocalGitSourceOptions, MaterializationError, MaterializedWorkspace, NodeWorkflowRunnerPackageOptions, OperationAdmissionRefusedError, OperationDeliveryEndpoint, OperationDeliveryEndpointIdentity, OperationDeliveryHandler, OperationDeliveryHandlers, OutcomeDeliveryError, OutcomeReconnect, OutcomeSubmitPayload, OutcomeSubmitRetryConfig, ParsedSriIntegrity, PiscinaThinWorkflowProvider, PiscinaThinWorkflowProviderOptions, RegisterAndAdmitWorkflowRunOptions, RegisterWorkerRuntimeOptions, RunWorkloadInvocationOptions, RuntimeLoadedWorkflow, RuntimeRegistrationRefusedError, StartedWorkerRuntime, ThinWorkflowPiscinaRunner, ThinWorkflowPiscinaRunnerOptions, WorkerBootstrapExchangeOptions, WorkerRunner, WorkerRunnerOptions, WorkflowAttemptInstructionReader, WorkflowLaunchResolver, WorkflowRunResult, WorkflowRuntimeAuthorityConnector, WorkflowRuntimeContributionLoader, WorkflowWorkerEntryMode, WorkflowWorkerEntryResolverOptions, WorkloadControlBinding, WorkloadInvocationPreparation, WorkloadInvocationResult, WorkspaceRootResolver, admitWorkflowRunOperation, assertContainedIn, assertNoSymlinkEscape, bootstrapWorkerRuntime, computeContributionPackageDigest, computeDirectoryDigest, computeFileDigest, createIsolatedWorkflowRuntime, createLocalGitWorkspacePreparation, createNodeWorkflowRunner, createNodeWorkflowRunnerPackageOptions, createWorkerBusAuth, createWorkflowLaunchResolver, installOperationDeliveryEndpoint, loadWorkflowFromConfig, loadWorkflowModule, loadWorkflowModules, materializeLocalDirectory, parseSriIntegrity, registerAndAdmitWorkflowRun, registerWorkerRuntime, resolveWorkflowWorkerEntry, runHeadlessWorkflowWorker, runWorkerBootstrapExchange, runWorkloadInvocation, submitAttemptOutcomeWithAck, submitOutcomeWithAck, verifyContribution, withWorkerBootstrapDeadline };
1
+ import { $ as WorkflowRuntimeAuthorityConnector, $t as materializeLocalDirectory, A as createLocalGitWorkspacePreparation, At as createWorkerBusAuth, B as HeadlessWorkflowWorkerResult, C as admitWorkflowRunOperation, Ct as createNodeWorkflowRunner, D as loadWorkflowModule, Dt as runWorkerBootstrapExchange, E as registerWorkerRuntime, Et as WorkerBootstrapExchangeOptions, F as HeadlessWorkerContributionLoader, Ft as WorkflowRunResult, G as WorkloadControlBinding, Gt as MaterializationError, H as runHeadlessWorkflowWorker, I as HeadlessWorkerExecutor, J as runWorkloadInvocation, Jt as assertContainedIn, K as WorkloadInvocationPreparation, Kt as ParsedSriIntegrity, L as HeadlessWorkerMaterializer, M as HeadlessWorkerBootstrap, Mt as IWorkflowRunner, N as HeadlessWorkerBootstrapCredentials, Nt as RuntimeLoadedWorkflow, O as loadWorkflowModules, Ot as BootstrapDeadlineExceededError, P as HeadlessWorkerBusConnector, Pt as ThinWorkflowPiscinaRunnerOptions, Q as IsolatedWorkflowRuntimeContext, Qt as computeFileDigest, R as HeadlessWorkerPostCommitObserver, S as RuntimeRegistrationRefusedError, St as NodeWorkflowRunnerPackageOptions, T as registerAndAdmitWorkflowRun, Tt as BootstrapExchangeResult, U as InstalledWorkloadAdapter, V as MaterializedWorkspace, W as RunWorkloadInvocationOptions, Wt as LocalDirectoryMaterializerOptions, X as CreateIsolatedWorkflowRuntimeOptions, Xt as computeContributionPackageDigest, Yt as assertNoSymlinkEscape, Z as IsolatedWorkflowRuntime, Zt as computeDirectoryDigest, _ as OperationDeliveryEndpointIdentity, _t as submitAttemptOutcomeWithAck, a as InstalledAttemptControlEndpoint, at as PiscinaThinWorkflowProviderOptions, b as RegisterAndAdmitWorkflowRunOptions, bt as WorkerRunnerOptions, c as BootstrapStartRefusedError, ct as createWorkflowLaunchResolver, d as bootstrapWorkerRuntime, dt as AuthorityRequestDeliveryError, en as parseSriIntegrity, et as WorkflowRuntimeContributionLoader, f as AdmitWorkflowRunOperationOptions, ft as DELIVERED_DECISIONS, g as OperationDeliveryEndpoint, gt as OutcomeSubmitRetryConfig, h as OperationAdmissionRefusedError, ht as OutcomeSubmitPayload, i as AttemptControlReportOptions, in as resolveWorkflowWorkerEntry, it as PiscinaThinWorkflowProvider, j as LocalGitSourceOptions, jt as ThinWorkflowPiscinaRunner, k as loadWorkflowFromConfig, kt as withWorkerBootstrapDeadline, l as BootstrapWorkerRuntimeOptions, lt as AttemptOutcomeDeliveryError, m as DeliverableOperationKind, mt as OutcomeReconnect, n as AttemptControlEndpointIdentity, nn as WorkflowWorkerEntryMode, nt as InProcessWorkflowRunner, o as installAttemptControlEndpoint, ot as WorkflowAttemptInstructionReader, p as AdmittedWorkflowRun, pt as OutcomeDeliveryError, q as WorkloadInvocationResult, qt as WorkspaceRootResolver, r as AttemptControlLastReport, rn as WorkflowWorkerEntryResolverOptions, rt as InProcessWorkflowRunnerOptions, s as BootstrapRuntimeConnection, st as WorkflowLaunchResolver, t as AttemptControlEndpointDeps, tn as verifyContribution, tt as createIsolatedWorkflowRuntime, u as StartedWorkerRuntime, ut as AttemptOutcomeSubmitPayload, v as OperationDeliveryHandler, vt as submitOutcomeWithAck, w as installOperationDeliveryEndpoint, wt as createNodeWorkflowRunnerPackageOptions, x as RegisterWorkerRuntimeOptions, xt as CreateNodeWorkflowRunnerPackageOptionsParams, y as OperationDeliveryHandlers, yt as WorkerRunner, z as HeadlessWorkflowWorkerDeps } from "../../index-LRAmVQLj.mjs";
2
+ export { AdmitWorkflowRunOperationOptions, AdmittedWorkflowRun, AttemptControlEndpointDeps, AttemptControlEndpointIdentity, AttemptControlLastReport, AttemptControlReportOptions, AttemptOutcomeDeliveryError, AttemptOutcomeSubmitPayload, AuthorityRequestDeliveryError, BootstrapDeadlineExceededError, BootstrapExchangeResult, BootstrapRuntimeConnection, BootstrapStartRefusedError, BootstrapWorkerRuntimeOptions, CreateIsolatedWorkflowRuntimeOptions, CreateNodeWorkflowRunnerPackageOptionsParams, DELIVERED_DECISIONS, DeliverableOperationKind, HeadlessWorkerBootstrap, HeadlessWorkerBootstrapCredentials, HeadlessWorkerBusConnector, HeadlessWorkerContributionLoader, HeadlessWorkerExecutor, HeadlessWorkerMaterializer, HeadlessWorkerPostCommitObserver, HeadlessWorkflowWorkerDeps, HeadlessWorkflowWorkerResult, IWorkflowRunner, InProcessWorkflowRunner, InProcessWorkflowRunnerOptions, InstalledAttemptControlEndpoint, InstalledWorkloadAdapter, IsolatedWorkflowRuntime, IsolatedWorkflowRuntimeContext, LocalDirectoryMaterializerOptions, LocalGitSourceOptions, MaterializationError, MaterializedWorkspace, NodeWorkflowRunnerPackageOptions, OperationAdmissionRefusedError, OperationDeliveryEndpoint, OperationDeliveryEndpointIdentity, OperationDeliveryHandler, OperationDeliveryHandlers, OutcomeDeliveryError, OutcomeReconnect, OutcomeSubmitPayload, OutcomeSubmitRetryConfig, ParsedSriIntegrity, PiscinaThinWorkflowProvider, PiscinaThinWorkflowProviderOptions, RegisterAndAdmitWorkflowRunOptions, RegisterWorkerRuntimeOptions, RunWorkloadInvocationOptions, RuntimeLoadedWorkflow, RuntimeRegistrationRefusedError, StartedWorkerRuntime, ThinWorkflowPiscinaRunner, ThinWorkflowPiscinaRunnerOptions, WorkerBootstrapExchangeOptions, WorkerRunner, WorkerRunnerOptions, WorkflowAttemptInstructionReader, WorkflowLaunchResolver, WorkflowRunResult, WorkflowRuntimeAuthorityConnector, WorkflowRuntimeContributionLoader, WorkflowWorkerEntryMode, WorkflowWorkerEntryResolverOptions, WorkloadControlBinding, WorkloadInvocationPreparation, WorkloadInvocationResult, WorkspaceRootResolver, admitWorkflowRunOperation, assertContainedIn, assertNoSymlinkEscape, bootstrapWorkerRuntime, computeContributionPackageDigest, computeDirectoryDigest, computeFileDigest, createIsolatedWorkflowRuntime, createLocalGitWorkspacePreparation, createNodeWorkflowRunner, createNodeWorkflowRunnerPackageOptions, createWorkerBusAuth, createWorkflowLaunchResolver, installAttemptControlEndpoint, installOperationDeliveryEndpoint, loadWorkflowFromConfig, loadWorkflowModule, loadWorkflowModules, materializeLocalDirectory, parseSriIntegrity, registerAndAdmitWorkflowRun, registerWorkerRuntime, resolveWorkflowWorkerEntry, runHeadlessWorkflowWorker, runWorkerBootstrapExchange, runWorkloadInvocation, submitAttemptOutcomeWithAck, submitOutcomeWithAck, verifyContribution, withWorkerBootstrapDeadline };
@@ -1 +1 @@
1
- import{C as e,D as t,E as n,S as r,T as i,_ as a,a as o,b as s,c,d as l,f as u,g as d,h as f,i as p,l as m,m as h,n as g,o as _,p as v,r as y,s as b,t as x,u as S,v as C,w,x as T,y as E}from"../../workflow-worker-BAO7pQpx.mjs";import{_ as D,a as O,c as k,d as A,f as j,i as M,m as N,n as P,o as F,p as I,r as L,s as R,t as z,u as B,v as V}from"../../bootstrap-start-client-rW55mDI-.mjs";export{b as AttemptOutcomeDeliveryError,c as AuthorityRequestDeliveryError,D as BootstrapDeadlineExceededError,z as BootstrapStartRefusedError,m as DELIVERED_DECISIONS,f as InProcessWorkflowRunner,E as MaterializationError,L as OperationAdmissionRefusedError,S as OutcomeDeliveryError,_ as PiscinaThinWorkflowProvider,M as RuntimeRegistrationRefusedError,C as ThinWorkflowPiscinaRunner,d as WorkerRunner,O as admitWorkflowRunOperation,s as assertContainedIn,T as assertNoSymlinkEscape,P as bootstrapWorkerRuntime,r as computeContributionPackageDigest,e as computeDirectoryDigest,w as computeFileDigest,p as createIsolatedWorkflowRuntime,x as createLocalGitWorkspacePreparation,v as createNodeWorkflowRunner,h as createNodeWorkflowRunnerPackageOptions,N as createWorkerBusAuth,o as createWorkflowLaunchResolver,F as installOperationDeliveryEndpoint,B as loadWorkflowFromConfig,A as loadWorkflowModule,j as loadWorkflowModules,i as materializeLocalDirectory,n as parseSriIntegrity,R as registerAndAdmitWorkflowRun,k as registerWorkerRuntime,a as resolveWorkflowWorkerEntry,g as runHeadlessWorkflowWorker,I as runWorkerBootstrapExchange,y as runWorkloadInvocation,l as submitAttemptOutcomeWithAck,u as submitOutcomeWithAck,t as verifyContribution,V as withWorkerBootstrapDeadline};
1
+ import{C as e,D as t,E as n,O as r,S as i,T as a,_ as o,a as s,b as c,c as l,d as u,f as d,g as f,h as p,i as m,l as h,m as g,n as _,o as v,p as y,r as b,s as x,t as S,u as C,v as w,w as T,x as E,y as D}from"../../workflow-worker-BDA-E_pm.mjs";import{a as O,c as k,d as A,f as j,h as M,i as N,l as P,m as F,n as I,p as L,r as R,s as z,t as B,v as V,y as H}from"../../bootstrap-start-client-D7t7d9ty.mjs";export{l as AttemptOutcomeDeliveryError,h as AuthorityRequestDeliveryError,V as BootstrapDeadlineExceededError,B as BootstrapStartRefusedError,C as DELIVERED_DECISIONS,f as InProcessWorkflowRunner,c as MaterializationError,R as OperationAdmissionRefusedError,u as OutcomeDeliveryError,x as PiscinaThinWorkflowProvider,N as RuntimeRegistrationRefusedError,D as ThinWorkflowPiscinaRunner,o as WorkerRunner,O as admitWorkflowRunOperation,E as assertContainedIn,i as assertNoSymlinkEscape,I as bootstrapWorkerRuntime,e as computeContributionPackageDigest,T as computeDirectoryDigest,a as computeFileDigest,s as createIsolatedWorkflowRuntime,S as createLocalGitWorkspacePreparation,g as createNodeWorkflowRunner,p as createNodeWorkflowRunnerPackageOptions,M as createWorkerBusAuth,v as createWorkflowLaunchResolver,b as installAttemptControlEndpoint,z as installOperationDeliveryEndpoint,A as loadWorkflowFromConfig,j as loadWorkflowModule,L as loadWorkflowModules,n as materializeLocalDirectory,t as parseSriIntegrity,k as registerAndAdmitWorkflowRun,P as registerWorkerRuntime,w as resolveWorkflowWorkerEntry,_ as runHeadlessWorkflowWorker,F as runWorkerBootstrapExchange,m as runWorkloadInvocation,d as submitAttemptOutcomeWithAck,y as submitOutcomeWithAck,r as verifyContribution,H as withWorkerBootstrapDeadline};
@@ -1 +1 @@
1
- import{h as e,l as t,m as n,n as r,s as i,u as a,y as o}from"../../bootstrap-start-client-rW55mDI-.mjs";import{pathToFileURL as s}from"node:url";import*as c from"node:path";import{randomUUID as l}from"node:crypto";import{FrameworkContractNamespaces as u,FrameworkStorageNamespaces as d,WorkflowWorkerConfigSchema as f,createWorkflowCancelSubject as p}from"@makaio/framework/contracts";import{createBusInstance as m,waitForSubscriptionPropagation as h}from"@makaio/framework/bus";import{WebSocketClientTransport as g}from"@makaio/framework/node/transports";import{parentPort as _}from"node:worker_threads";import{runWorkflowOrchestrator as v}from"@makaio/framework/workflow-engine/workflow-orchestrator";import{McpServerBridgeService as y}from"@makaio/framework/mcp-http-server";import{ToolRegistry as b}from"@makaio/framework/services/tools";function x(e){let t=m();if(t.registerNamespaces(u),t.registerNamespaces(d),!e.busUrl)return{bus:t,connect:async e=>e.throwIfAborted(),close:()=>t.disconnect()};let r=n(e.busAuth.kind===`hmac`?e.busAuth.secret:void 0,e.identityId),i=new g({url:e.busUrl,auth:r,autoReconnect:!1});return t.registerTransport(i),{bus:t,async connect(e){try{e.throwIfAborted();let n=()=>t.disconnect();e.addEventListener(`abort`,n,{once:!0});try{await t.connect()}finally{e.removeEventListener(`abort`,n)}e.throwIfAborted()}catch(e){throw t.disconnect(),e}},async close(){await t.disconnect()}}}async function S(e,t=new AbortController().signal){let n=x(e);try{return await n.connect(t),n}catch(e){throw await n.close(),e}}async function C(e,t){let n=new b({bus:e.bus}),r=new y(e.bus),i=async()=>{try{await r.destroy()}finally{n.dispose()}};try{await r.init();for(let e of t.toolsets)await w(n,e)}catch(e){throw await i(),e}return{close:i}}async function w(e,t){await e.register(t)}function T(e){if(typeof e!=`object`||!e)return!1;let t=e;return typeof t.name==`string`?typeof t.tools==`object`&&t.tools!==null||Array.isArray(t.adapters):!1}function E(e,t){if(T(e.default))return e.default;for(let t of Object.keys(e))if(t!==`default`&&T(e[t]))return e[t]}function D(e){return Object.freeze({bus:e?.bus,identity:Object.freeze({extensionName:`__worker__`}),dataDir:``,machineId:``,platform:process.platform,homedir:``,makaioHome:``,username:``,signal:e?.signal??new AbortController().signal,tryImport:async()=>null,getService:()=>{throw Error(`Worker-local contribution context does not expose host services.`)},hasExtension:()=>!1})}async function O(e,t){let n=await Promise.all(e.map(e=>k(e,t))),r=[];for(let e of n)r.push(...e.toolsets);return{toolsets:r}}async function k(e,t){if(!c.isAbsolute(e))throw Error(`Worker contribution entrypoint must be an absolute materialized path: ${e}`);let n=E(await import(s(e).href),e);if(!n)throw Error(`No recognizable extension export in "${e}". Expected a default export or named export with a "name" field and "tools" or "adapters" surface.`);let r=[];if(n.tools?.createToolsets){let e=n.tools.createToolsets(D(t));r.push(...e)}return{toolsets:r}}async function A(e){let n=f.parse(e.config),r=new AbortController,s=()=>r.abort(),c=e.signal??r.signal;c!==r.signal&&(c.aborted?r.abort():c.addEventListener(`abort`,s,{once:!0}));let u,d,p;try{if(e.contributionEntrypoints.length!==e.manifest.contributionRefs.length)throw Error(`Worker contribution materialization does not match the declared contribution identity set.`);if(e.kind===`attempt-bound`){let t=l(),a=await j(e,n,t,r);u=a.connection,p=a.endpoint,await i(u.bus,{executionAttemptId:e.executionAttemptId,runtimeIncarnationId:t,endpoint:p,signal:r.signal}),_?.postMessage(o(n.executionId,n.cancelSubject,e.executionAttemptId))}else u=await M(n,r);let s=await O(e.contributionEntrypoints,{bus:u.bus,signal:r.signal});s.toolsets.length>0&&(d=await C(u,s));let c=await a(n);return await v({config:await t(n,c,u.bus,r.signal),loaded:c,bus:u.bus,signal:r.signal})}finally{p?.cleanup(),c.removeEventListener(`abort`,s);try{d&&await d.close()}finally{u&&await u.close()}}}function j(e,t,n,i){return r({executionAttemptId:e.executionAttemptId,runtimeIncarnationId:n,bootstrapDeadlineAt:e.bootstrapDeadlineAt,signal:i.signal,createConnection:()=>N(x({busUrl:t.busUrl,busAuth:t.busAuth,identityId:e.executionAttemptId}),t.cancelSubject,i)})}async function M(e,t){let n=N({...await S({busUrl:e.busUrl,busAuth:e.busAuth},t.signal),connect:async e=>e.throwIfAborted()},e.cancelSubject,t);try{return await n.connect(t.signal),n}catch(e){throw await n.close(),e}}function N(e,t,n){let r;return{bus:e.bus,async connect(i){await e.connect(i),i.throwIfAborted(),r=e.bus.on(p(t),()=>n.abort()),await h(r),i.throwIfAborted()},async close(){r?.(),r=void 0,await e.close()}}}async function P(t){return t.kind===`attempt-bound`&&await e(t,t.signal),A(t)}export{P as default,A as runWorkflowInWorker};
1
+ import{b as e,c as t,d as n,g as r,h as i,n as a,u as o}from"../../bootstrap-start-client-D7t7d9ty.mjs";import{pathToFileURL as s}from"node:url";import*as c from"node:path";import{randomUUID as l}from"node:crypto";import{FrameworkContractNamespaces as u,FrameworkStorageNamespaces as d,WorkflowWorkerConfigSchema as f,createWorkflowCancelSubject as p}from"@makaio/framework/contracts";import{createBusInstance as m,waitForSubscriptionPropagation as h}from"@makaio/framework/bus";import{WebSocketClientTransport as g}from"@makaio/framework/node/transports";import{parentPort as _}from"node:worker_threads";import{runWorkflowOrchestrator as v}from"@makaio/framework/workflow-engine/workflow-orchestrator";import{McpServerBridgeService as y}from"@makaio/framework/mcp-http-server";import{ToolRegistry as b}from"@makaio/framework/services/tools";function x(e){let t=m();if(t.registerNamespaces(u),t.registerNamespaces(d),!e.busUrl)return{bus:t,connect:async e=>e.throwIfAborted(),close:()=>t.disconnect()};let n=i(e.busAuth.kind===`hmac`?e.busAuth.secret:void 0,e.identityId),r=new g({url:e.busUrl,auth:n,autoReconnect:!1});return t.registerTransport(r),{bus:t,async connect(e){try{e.throwIfAborted();let n=()=>t.disconnect();e.addEventListener(`abort`,n,{once:!0});try{await t.connect()}finally{e.removeEventListener(`abort`,n)}e.throwIfAborted()}catch(e){throw t.disconnect(),e}},async close(){await t.disconnect()}}}async function S(e,t=new AbortController().signal){let n=x(e);try{return await n.connect(t),n}catch(e){throw await n.close(),e}}async function C(e,t){let n=new b({bus:e.bus}),r=new y(e.bus),i=async()=>{try{await r.destroy()}finally{n.dispose()}};try{await r.init();for(let e of t.toolsets)await w(n,e)}catch(e){throw await i(),e}return{close:i}}async function w(e,t){await e.register(t)}function T(e){if(typeof e!=`object`||!e)return!1;let t=e;return typeof t.name==`string`?typeof t.tools==`object`&&t.tools!==null||Array.isArray(t.adapters):!1}function E(e,t){if(T(e.default))return e.default;for(let t of Object.keys(e))if(t!==`default`&&T(e[t]))return e[t]}function D(e){return Object.freeze({bus:e?.bus,identity:Object.freeze({extensionName:`__worker__`}),dataDir:``,machineId:``,platform:process.platform,homedir:``,makaioHome:``,username:``,signal:e?.signal??new AbortController().signal,tryImport:async()=>null,getService:()=>{throw Error(`Worker-local contribution context does not expose host services.`)},hasExtension:()=>!1})}async function O(e,t){let n=await Promise.all(e.map(e=>k(e,t))),r=[];for(let e of n)r.push(...e.toolsets);return{toolsets:r}}async function k(e,t){if(!c.isAbsolute(e))throw Error(`Worker contribution entrypoint must be an absolute materialized path: ${e}`);let n=E(await import(s(e).href),e);if(!n)throw Error(`No recognizable extension export in "${e}". Expected a default export or named export with a "name" field and "tools" or "adapters" surface.`);let r=[];if(n.tools?.createToolsets){let e=n.tools.createToolsets(D(t));r.push(...e)}return{toolsets:r}}async function A(r){let i=f.parse(r.config),a=new AbortController,s=()=>a.abort(),c=r.signal??a.signal;c!==a.signal&&(c.aborted?a.abort():c.addEventListener(`abort`,s,{once:!0}));let u,d,p;try{if(r.contributionEntrypoints.length!==r.manifest.contributionRefs.length)throw Error(`Worker contribution materialization does not match the declared contribution identity set.`);if(r.kind===`attempt-bound`){let n=l(),o=await j(r,i,n,a);u=o.connection,p=o.endpoint,await t(u.bus,{executionAttemptId:r.executionAttemptId,runtimeIncarnationId:n,endpoint:p,signal:a.signal}),_?.postMessage(e(i.executionId,i.cancelSubject,r.executionAttemptId))}else u=await M(i,a);let s=await O(r.contributionEntrypoints,{bus:u.bus,signal:a.signal});s.toolsets.length>0&&(d=await C(u,s));let c=await n(i);return await v({config:await o(i,c,u.bus,a.signal),loaded:c,bus:u.bus,signal:a.signal})}finally{p?.cleanup(),c.removeEventListener(`abort`,s);try{d&&await d.close()}finally{u&&await u.close()}}}function j(e,t,n,r){return a({executionAttemptId:e.executionAttemptId,runtimeIncarnationId:n,bootstrapDeadlineAt:e.bootstrapDeadlineAt,signal:r.signal,createConnection:()=>N(x({busUrl:t.busUrl,busAuth:t.busAuth,identityId:e.executionAttemptId}),t.cancelSubject,r)})}async function M(e,t){let n=N({...await S({busUrl:e.busUrl,busAuth:e.busAuth},t.signal),connect:async e=>e.throwIfAborted()},e.cancelSubject,t);try{return await n.connect(t.signal),n}catch(e){throw await n.close(),e}}function N(e,t,n){let r;return{bus:e.bus,async connect(i){await e.connect(i),i.throwIfAborted(),r=e.bus.on(p(t),()=>n.abort()),await h(r),i.throwIfAborted()},async close(){r?.(),r=void 0,await e.close()}}}async function P(e){return e.kind===`attempt-bound`&&await r(e,e.signal),A(e)}export{P as default,A as runWorkflowInWorker};
@@ -18,8 +18,8 @@ declare const AdapterSubsystemSchemas: {
18
18
  config: z.ZodNullable<z.ZodObject<{
19
19
  description: z.ZodOptional<z.ZodString>;
20
20
  displayName: z.ZodOptional<z.ZodString>;
21
- protocol: z.ZodOptional<z.ZodString>;
22
21
  clientId: z.ZodOptional<z.ZodString>;
22
+ protocol: z.ZodOptional<z.ZodString>;
23
23
  helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
24
24
  label: z.ZodString;
25
25
  url: z.ZodString;
@@ -46,8 +46,8 @@ declare const AdapterSubsystemSchemas: {
46
46
  configs: z.ZodArray<z.ZodObject<{
47
47
  description: z.ZodOptional<z.ZodString>;
48
48
  displayName: z.ZodOptional<z.ZodString>;
49
- protocol: z.ZodOptional<z.ZodString>;
50
49
  clientId: z.ZodOptional<z.ZodString>;
50
+ protocol: z.ZodOptional<z.ZodString>;
51
51
  helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
52
52
  label: z.ZodString;
53
53
  url: z.ZodString;
@@ -1717,8 +1717,8 @@ declare const AdapterSubsystemSchemas: {
1717
1717
  config: z.ZodObject<{
1718
1718
  description: z.ZodOptional<z.ZodString>;
1719
1719
  displayName: z.ZodOptional<z.ZodString>;
1720
- protocol: z.ZodOptional<z.ZodString>;
1721
1720
  clientId: z.ZodOptional<z.ZodString>;
1721
+ protocol: z.ZodOptional<z.ZodString>;
1722
1722
  helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1723
1723
  label: z.ZodString;
1724
1724
  url: z.ZodString;
@@ -3122,8 +3122,8 @@ type BindingRecord = z.infer<typeof BindingRecordSchema>;
3122
3122
  declare const AdapterFileConfigSchema: z.ZodObject<{
3123
3123
  description: z.ZodOptional<z.ZodString>;
3124
3124
  displayName: z.ZodOptional<z.ZodString>;
3125
- protocol: z.ZodOptional<z.ZodString>;
3126
3125
  clientId: z.ZodOptional<z.ZodString>;
3126
+ protocol: z.ZodOptional<z.ZodString>;
3127
3127
  helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
3128
3128
  label: z.ZodString;
3129
3129
  url: z.ZodString;
@@ -143,8 +143,8 @@ declare const AdapterRuntimeSchemas: {
143
143
  teardownCompleted: z.ZodObject<{
144
144
  evidence: z.ZodEnum<{
145
145
  unknown: "unknown";
146
- closed: "closed";
147
146
  exited: "exited";
147
+ closed: "closed";
148
148
  released: "released";
149
149
  detached: "detached";
150
150
  }>;
@@ -15,8 +15,8 @@ declare const SubagentTemplateSchema: z.ZodObject<{
15
15
  model: z.ZodOptional<z.ZodString>;
16
16
  systemPrompt: z.ZodOptional<z.ZodString>;
17
17
  contextMode: z.ZodDefault<z.ZodEnum<{
18
- fresh: "fresh";
19
18
  fork: "fork";
19
+ fresh: "fresh";
20
20
  }>>;
21
21
  allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
22
22
  disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -46,15 +46,15 @@ declare const SubagentTemplateCreateSchema: z.ZodObject<{
46
46
  name: z.ZodString;
47
47
  enabled: z.ZodDefault<z.ZodBoolean>;
48
48
  adapterName: z.ZodString;
49
- providerConfigId: z.ZodOptional<z.ZodString>;
50
49
  model: z.ZodOptional<z.ZodString>;
51
50
  systemPrompt: z.ZodOptional<z.ZodString>;
51
+ providerConfigId: z.ZodOptional<z.ZodString>;
52
52
  allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
53
53
  disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
54
54
  allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
55
55
  contextMode: z.ZodDefault<z.ZodEnum<{
56
- fresh: "fresh";
57
56
  fork: "fork";
57
+ fresh: "fresh";
58
58
  }>>;
59
59
  }, z.core.$strip>;
60
60
  type SubagentTemplateCreate = z.infer<typeof SubagentTemplateCreateSchema>;
@@ -69,8 +69,8 @@ declare const SubagentTemplateUpdateSchema: z.ZodObject<{
69
69
  model: z.ZodOptional<z.ZodOptional<z.ZodString>>;
70
70
  systemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
71
71
  contextMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
72
- fresh: "fresh";
73
72
  fork: "fork";
73
+ fresh: "fresh";
74
74
  }>>>;
75
75
  allowedTools: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
76
76
  disallowedTools: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
@@ -114,8 +114,8 @@ declare const SubagentTemplateSettingsSchemas: {
114
114
  model: z.ZodOptional<z.ZodString>;
115
115
  systemPrompt: z.ZodOptional<z.ZodString>;
116
116
  contextMode: z.ZodDefault<z.ZodEnum<{
117
- fresh: "fresh";
118
117
  fork: "fork";
118
+ fresh: "fresh";
119
119
  }>>;
120
120
  allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
121
121
  disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -131,15 +131,15 @@ declare const SubagentTemplateSettingsSchemas: {
131
131
  name: z.ZodString;
132
132
  enabled: z.ZodDefault<z.ZodBoolean>;
133
133
  adapterName: z.ZodString;
134
- providerConfigId: z.ZodOptional<z.ZodString>;
135
134
  model: z.ZodOptional<z.ZodString>;
136
135
  systemPrompt: z.ZodOptional<z.ZodString>;
136
+ providerConfigId: z.ZodOptional<z.ZodString>;
137
137
  allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
138
138
  disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
139
139
  allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
140
140
  contextMode: z.ZodDefault<z.ZodEnum<{
141
- fresh: "fresh";
142
141
  fork: "fork";
142
+ fresh: "fresh";
143
143
  }>>;
144
144
  }, z.core.$strip>;
145
145
  response: z.ZodObject<{
@@ -155,8 +155,8 @@ declare const SubagentTemplateSettingsSchemas: {
155
155
  model: z.ZodOptional<z.ZodOptional<z.ZodString>>;
156
156
  systemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
157
157
  contextMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
158
- fresh: "fresh";
159
158
  fork: "fork";
159
+ fresh: "fresh";
160
160
  }>>>;
161
161
  allowedTools: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
162
162
  disallowedTools: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
@@ -10,8 +10,8 @@ import { UiNavigationLevel } from "@makaio/framework/contracts";
10
10
  */
11
11
  declare const SurfaceIdSchema: z.ZodEnum<{
12
12
  tray: "tray";
13
- mobile: "mobile";
14
13
  web: "web";
14
+ mobile: "mobile";
15
15
  electron: "electron";
16
16
  electrobun: "electrobun";
17
17
  }>;
@@ -101,8 +101,8 @@ declare const PageMetadataSchema: z.ZodObject<{
101
101
  level: z.ZodCustom<UiNavigationLevel, UiNavigationLevel>;
102
102
  surfaces: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodEnum<{
103
103
  tray: "tray";
104
- mobile: "mobile";
105
104
  web: "web";
105
+ mobile: "mobile";
106
106
  electron: "electron";
107
107
  electrobun: "electrobun";
108
108
  }>>]>>;
@@ -127,8 +127,8 @@ declare const PageSchemas: {
127
127
  readonly request: z.ZodObject<{
128
128
  surface: z.ZodOptional<z.ZodEnum<{
129
129
  tray: "tray";
130
- mobile: "mobile";
131
130
  web: "web";
131
+ mobile: "mobile";
132
132
  electron: "electron";
133
133
  electrobun: "electrobun";
134
134
  }>>;
@@ -147,8 +147,8 @@ declare const PageSchemas: {
147
147
  level: z.ZodCustom<UiNavigationLevel, UiNavigationLevel>;
148
148
  surfaces: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodEnum<{
149
149
  tray: "tray";
150
- mobile: "mobile";
151
150
  web: "web";
151
+ mobile: "mobile";
152
152
  electron: "electron";
153
153
  electrobun: "electrobun";
154
154
  }>>]>>;
@@ -13,9 +13,9 @@ declare const PreferenceKeySchema: z.ZodObject<{
13
13
  scope: z.ZodString;
14
14
  context: z.ZodOptional<z.ZodString>;
15
15
  viewport: z.ZodOptional<z.ZodEnum<{
16
+ mobile: "mobile";
16
17
  desktop: "desktop";
17
18
  tablet: "tablet";
18
- mobile: "mobile";
19
19
  }>>;
20
20
  }, z.core.$strip>;
21
21
  type PreferenceKey = z.infer<typeof PreferenceKeySchema>;
@@ -33,9 +33,9 @@ declare const PreferenceItemSchema: z.ZodObject<{
33
33
  scope: z.ZodString;
34
34
  context: z.ZodOptional<z.ZodString>;
35
35
  viewport: z.ZodOptional<z.ZodEnum<{
36
+ mobile: "mobile";
36
37
  desktop: "desktop";
37
38
  tablet: "tablet";
38
- mobile: "mobile";
39
39
  }>>;
40
40
  }, z.core.$strip>;
41
41
  category: z.ZodString;
@@ -67,9 +67,9 @@ declare const PreferencesSchemas: {
67
67
  scope: z.ZodString;
68
68
  context: z.ZodOptional<z.ZodString>;
69
69
  viewport: z.ZodOptional<z.ZodEnum<{
70
+ mobile: "mobile";
70
71
  desktop: "desktop";
71
72
  tablet: "tablet";
72
- mobile: "mobile";
73
73
  }>>;
74
74
  }, z.core.$strip>;
75
75
  category: z.ZodString;
@@ -94,9 +94,9 @@ declare const PreferencesSchemas: {
94
94
  scope: z.ZodString;
95
95
  context: z.ZodOptional<z.ZodString>;
96
96
  viewport: z.ZodOptional<z.ZodEnum<{
97
+ mobile: "mobile";
97
98
  desktop: "desktop";
98
99
  tablet: "tablet";
99
- mobile: "mobile";
100
100
  }>>;
101
101
  }, z.core.$strip>;
102
102
  category: z.ZodString;
@@ -122,9 +122,9 @@ declare const PreferencesSchemas: {
122
122
  scope: z.ZodString;
123
123
  context: z.ZodOptional<z.ZodString>;
124
124
  viewport: z.ZodOptional<z.ZodEnum<{
125
+ mobile: "mobile";
125
126
  desktop: "desktop";
126
127
  tablet: "tablet";
127
- mobile: "mobile";
128
128
  }>>;
129
129
  }, z.core.$strip>;
130
130
  category: z.ZodString;
@@ -149,9 +149,9 @@ declare const PreferencesSchemas: {
149
149
  scope: z.ZodOptional<z.ZodString>;
150
150
  context: z.ZodOptional<z.ZodOptional<z.ZodString>>;
151
151
  viewport: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
152
+ mobile: "mobile";
152
153
  desktop: "desktop";
153
154
  tablet: "tablet";
154
- mobile: "mobile";
155
155
  }>>>;
156
156
  }, z.core.$strip>>;
157
157
  category: z.ZodOptional<z.ZodString>;
@@ -166,9 +166,9 @@ declare const PreferencesSchemas: {
166
166
  scope: z.ZodString;
167
167
  context: z.ZodOptional<z.ZodString>;
168
168
  viewport: z.ZodOptional<z.ZodEnum<{
169
+ mobile: "mobile";
169
170
  desktop: "desktop";
170
171
  tablet: "tablet";
171
- mobile: "mobile";
172
172
  }>>;
173
173
  }, z.core.$strip>;
174
174
  category: z.ZodString;
@@ -666,8 +666,8 @@ declare const RelationTypeRegistrationSchema: z.ZodObject<{
666
666
  targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
667
667
  targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
668
668
  local: "local";
669
- artifact: "artifact";
670
669
  evidence: "evidence";
670
+ artifact: "artifact";
671
671
  entity: "entity";
672
672
  }>>>;
673
673
  }, z.core.$strip>;
@@ -1,4 +1,4 @@
1
- import { _ as ResolveNameResponseSchema, a as GetMachineIdResponseSchema, c as ResolveIdResponse, d as ResolveLiveIdentityRequestSchema, f as ResolveLiveIdentityResponse, g as ResolveNameResponse, h as ResolveNameRequestSchema, i as GetMachineIdResponse, l as ResolveIdResponseSchema, m as ResolveNameRequest, n as GetMachineIdRequest, o as ResolveIdRequest, p as ResolveLiveIdentityResponseSchema, r as GetMachineIdRequestSchema, s as ResolveIdRequestSchema, t as AdapterRuntimeSchemas, u as ResolveLiveIdentityRequest } from "../../schemas-DNUfTOJ0.mjs";
2
- import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../../namespace-CjFT0wBT.mjs";
3
- import { a as ResolveLiveAdapterIdentity, c as resolveDeterministicAdapterId, i as ResolveLiveAdapterId, n as AdapterRuntimeIdentityHandlerOptions, o as buildDeterministicAdapterId, r as RegisteredAdapterRuntimeIdentityHandlers, s as registerAdapterRuntimeIdentityHandlers, t as AdapterIdentityRegistry } from "../../index-BTwMms1p.mjs";
1
+ import { _ as ResolveNameResponseSchema, a as GetMachineIdResponseSchema, c as ResolveIdResponse, d as ResolveLiveIdentityRequestSchema, f as ResolveLiveIdentityResponse, g as ResolveNameResponse, h as ResolveNameRequestSchema, i as GetMachineIdResponse, l as ResolveIdResponseSchema, m as ResolveNameRequest, n as GetMachineIdRequest, o as ResolveIdRequest, p as ResolveLiveIdentityResponseSchema, r as GetMachineIdRequestSchema, s as ResolveIdRequestSchema, t as AdapterRuntimeSchemas, u as ResolveLiveIdentityRequest } from "../../schemas-D9WJH6We.mjs";
2
+ import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../../namespace-CQPcYS-Q.mjs";
3
+ import { a as ResolveLiveAdapterIdentity, c as resolveDeterministicAdapterId, i as ResolveLiveAdapterId, n as AdapterRuntimeIdentityHandlerOptions, o as buildDeterministicAdapterId, r as RegisteredAdapterRuntimeIdentityHandlers, s as registerAdapterRuntimeIdentityHandlers, t as AdapterIdentityRegistry } from "../../index-Caai1zAG.mjs";
4
4
  export { AdapterIdentityRegistry, AdapterRuntimeIdentityHandlerOptions, AdapterRuntimeNamespace, AdapterRuntimeSchemas, AdapterRuntimeSubjects, GetMachineIdRequest, GetMachineIdRequestSchema, GetMachineIdResponse, GetMachineIdResponseSchema, RegisteredAdapterRuntimeIdentityHandlers, ResolveIdRequest, ResolveIdRequestSchema, ResolveIdResponse, ResolveIdResponseSchema, ResolveLiveAdapterId, ResolveLiveAdapterIdentity, ResolveLiveIdentityRequest, ResolveLiveIdentityRequestSchema, ResolveLiveIdentityResponse, ResolveLiveIdentityResponseSchema, ResolveNameRequest, ResolveNameRequestSchema, ResolveNameResponse, ResolveNameResponseSchema, buildDeterministicAdapterId, registerAdapterRuntimeIdentityHandlers, resolveDeterministicAdapterId };
@@ -1,2 +1,2 @@
1
- import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../../namespace-CjFT0wBT.mjs";
1
+ import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../../namespace-CQPcYS-Q.mjs";
2
2
  export { AdapterRuntimeNamespace, AdapterRuntimeSubjects };
@@ -1,2 +1,2 @@
1
- import { _ as ResolveNameResponseSchema, a as GetMachineIdResponseSchema, c as ResolveIdResponse, d as ResolveLiveIdentityRequestSchema, f as ResolveLiveIdentityResponse, g as ResolveNameResponse, h as ResolveNameRequestSchema, i as GetMachineIdResponse, l as ResolveIdResponseSchema, m as ResolveNameRequest, n as GetMachineIdRequest, o as ResolveIdRequest, p as ResolveLiveIdentityResponseSchema, r as GetMachineIdRequestSchema, s as ResolveIdRequestSchema, t as AdapterRuntimeSchemas, u as ResolveLiveIdentityRequest } from "../../schemas-DNUfTOJ0.mjs";
1
+ import { _ as ResolveNameResponseSchema, a as GetMachineIdResponseSchema, c as ResolveIdResponse, d as ResolveLiveIdentityRequestSchema, f as ResolveLiveIdentityResponse, g as ResolveNameResponse, h as ResolveNameRequestSchema, i as GetMachineIdResponse, l as ResolveIdResponseSchema, m as ResolveNameRequest, n as GetMachineIdRequest, o as ResolveIdRequest, p as ResolveLiveIdentityResponseSchema, r as GetMachineIdRequestSchema, s as ResolveIdRequestSchema, t as AdapterRuntimeSchemas, u as ResolveLiveIdentityRequest } from "../../schemas-D9WJH6We.mjs";
2
2
  export { AdapterRuntimeSchemas, GetMachineIdRequest, GetMachineIdRequestSchema, GetMachineIdResponse, GetMachineIdResponseSchema, ResolveIdRequest, ResolveIdRequestSchema, ResolveIdResponse, ResolveIdResponseSchema, ResolveLiveIdentityRequest, ResolveLiveIdentityRequestSchema, ResolveLiveIdentityResponse, ResolveLiveIdentityResponseSchema, ResolveNameRequest, ResolveNameRequestSchema, ResolveNameResponse, ResolveNameResponseSchema };
@@ -1,4 +1,4 @@
1
- import { C as ProviderRuntimeSnapshot, S as ProviderConfigFileRecordSchema, T as AdapterSubsystemSchemas, _ as EffectiveAdapter, a as AdapterRuntimePackages, b as ProviderConfigAuthSummarySchema, c as AdapterRuntimeSnapshotErrorCode, d as AdapterRuntimeSnapshotResolutionSchema, f as AdapterRuntimeSnapshotSchema, g as CompatibleAuthOptionSchema, h as CompatibleAuthOption, i as AdapterReadinessSchema, l as AdapterRuntimeSnapshotErrorCodeSchema, m as BindingRecordSchema, n as AdapterFileConfigSchema, o as AdapterRuntimePackagesSchema, p as BindingRecord, r as AdapterReadiness, s as AdapterRuntimeSnapshot, t as AdapterFileConfig, u as AdapterRuntimeSnapshotResolution, v as EffectiveAdapterSchema, w as ProviderRuntimeSnapshotSchema, x as ProviderConfigFileRecord, y as ProviderConfigAuthSummary } from "../../schemas-COQUToGQ.mjs";
1
+ import { C as ProviderRuntimeSnapshot, S as ProviderConfigFileRecordSchema, T as AdapterSubsystemSchemas, _ as EffectiveAdapter, a as AdapterRuntimePackages, b as ProviderConfigAuthSummarySchema, c as AdapterRuntimeSnapshotErrorCode, d as AdapterRuntimeSnapshotResolutionSchema, f as AdapterRuntimeSnapshotSchema, g as CompatibleAuthOptionSchema, h as CompatibleAuthOption, i as AdapterReadinessSchema, l as AdapterRuntimeSnapshotErrorCodeSchema, m as BindingRecordSchema, n as AdapterFileConfigSchema, o as AdapterRuntimePackagesSchema, p as BindingRecord, r as AdapterReadiness, s as AdapterRuntimeSnapshot, t as AdapterFileConfig, u as AdapterRuntimeSnapshotResolution, v as EffectiveAdapterSchema, w as ProviderRuntimeSnapshotSchema, x as ProviderConfigFileRecord, y as ProviderConfigAuthSummary } from "../../schemas-BGcAiQE0.mjs";
2
2
  import { a as CreateCanonicalProviderConfigInput, c as AdapterFileConfigSet, i as CanonicalProviderConfigPatchSchema, l as IAdapterConfigRepository, n as CanonicalProviderConfigAuthPayload, o as CreateCanonicalProviderConfigInputPayload, r as CanonicalProviderConfigPatch, s as CreateCanonicalProviderConfigInputSchema, t as CanonicalProviderConfigAuth, u as ProviderConfigFileSet } from "../../index-CrDp6vHG.mjs";
3
- import { n as AdapterSubsystemNamespace, r as AdapterSubsystemSubjects, t as ADAPTER_SUBSYSTEM_PACKAGE_NAME } from "../../namespace-BHkEHrUG.mjs";
3
+ import { n as AdapterSubsystemNamespace, r as AdapterSubsystemSubjects, t as ADAPTER_SUBSYSTEM_PACKAGE_NAME } from "../../namespace-DyWNxLt1.mjs";
4
4
  export { ADAPTER_SUBSYSTEM_PACKAGE_NAME, AdapterFileConfig, AdapterFileConfigSchema, AdapterFileConfigSet, AdapterReadiness, AdapterReadinessSchema, AdapterRuntimePackages, AdapterRuntimePackagesSchema, AdapterRuntimeSnapshot, AdapterRuntimeSnapshotErrorCode, AdapterRuntimeSnapshotErrorCodeSchema, AdapterRuntimeSnapshotResolution, AdapterRuntimeSnapshotResolutionSchema, AdapterRuntimeSnapshotSchema, AdapterSubsystemNamespace, AdapterSubsystemSchemas, AdapterSubsystemSubjects, BindingRecord, BindingRecordSchema, CanonicalProviderConfigAuth, CanonicalProviderConfigAuthPayload, CanonicalProviderConfigPatch, CanonicalProviderConfigPatchSchema, CompatibleAuthOption, CompatibleAuthOptionSchema, CreateCanonicalProviderConfigInput, CreateCanonicalProviderConfigInputPayload, CreateCanonicalProviderConfigInputSchema, EffectiveAdapter, EffectiveAdapterSchema, IAdapterConfigRepository, ProviderConfigAuthSummary, ProviderConfigAuthSummarySchema, ProviderConfigFileRecord, ProviderConfigFileRecordSchema, ProviderConfigFileSet, ProviderRuntimeSnapshot, ProviderRuntimeSnapshotSchema };
@@ -1,2 +1,2 @@
1
- import { n as AdapterSubsystemNamespace, r as AdapterSubsystemSubjects, t as ADAPTER_SUBSYSTEM_PACKAGE_NAME } from "../../namespace-BHkEHrUG.mjs";
1
+ import { n as AdapterSubsystemNamespace, r as AdapterSubsystemSubjects, t as ADAPTER_SUBSYSTEM_PACKAGE_NAME } from "../../namespace-DyWNxLt1.mjs";
2
2
  export { ADAPTER_SUBSYSTEM_PACKAGE_NAME, AdapterSubsystemNamespace, AdapterSubsystemSubjects };
@@ -160,8 +160,8 @@ declare const ResolvedContextRulesSchema: z.ZodObject<{
160
160
  declare const ContextRuleChangedEventSchema: z.ZodObject<{
161
161
  ruleId: z.ZodString;
162
162
  changeType: z.ZodEnum<{
163
- updated: "updated";
164
163
  created: "created";
164
+ updated: "updated";
165
165
  deleted: "deleted";
166
166
  }>;
167
167
  previous: z.ZodNullable<z.ZodObject<{
@@ -313,8 +313,8 @@ declare const ContextRulesServiceNamespace: _$_makaio_core0.BusNamespaceDefiniti
313
313
  changed: _$zod.ZodObject<{
314
314
  ruleId: _$zod.ZodString;
315
315
  changeType: _$zod.ZodEnum<{
316
- updated: "updated";
317
316
  created: "created";
317
+ updated: "updated";
318
318
  deleted: "deleted";
319
319
  }>;
320
320
  previous: _$zod.ZodNullable<_$zod.ZodObject<{
@@ -383,8 +383,8 @@ declare const ContextRulesServiceSubjects: _$_makaio_core0.BusSubjects<_$_makaio
383
383
  changed: _$zod.ZodObject<{
384
384
  ruleId: _$zod.ZodString;
385
385
  changeType: _$zod.ZodEnum<{
386
- updated: "updated";
387
386
  created: "created";
387
+ updated: "updated";
388
388
  deleted: "deleted";
389
389
  }>;
390
390
  previous: _$zod.ZodNullable<_$zod.ZodObject<{
@@ -1,4 +1,4 @@
1
1
  import { a as ExecutionTargetInputSchema, c as ExecutionTargetResolveRequest, d as ExecutionTargetSchemas, f as ExecutionTargetType, i as ExecutionTargetInput, l as ExecutionTargetResolveRequestSchema, m as LocalExecutionTargetSchema, n as ContainerLocalExecutionTargetSchema, o as ExecutionTargetListQuery, p as ExecutionTargetTypeSchema, r as ExecutionTarget, s as ExecutionTargetListQuerySchema, t as ContainerIsolatedExecutionTargetSchema, u as ExecutionTargetSchema } from "../../schemas-DKy_XYjq.mjs";
2
2
  import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../../namespace-Bivbsfms.mjs";
3
- import { A as ContainerRuntimeSchema, B as SpawnRequest, C as ContainerIsolatedSpawnRequest, D as ContainerLocalWorkflowSpawnRequest, E as ContainerLocalSpawnRequestSchema, F as ContainerState, G as StatusRequestSchema, H as SpawnResponse, I as ContainerStateSchema, J as StopRequest, K as StatusResponse, L as ContainerStopped, M as ContainerSessionRuntimeBindingSchema, N as ContainerStarted, O as ContainerLocalWorkflowSpawnRequestSchema, P as ContainerStartedSchema, R as ContainerStoppedSchema, S as ContainerDestroyedSchema, T as ContainerLocalSpawnRequest, U as SpawnResponseSchema, V as SpawnRequestSchema, W as StatusRequest, X as StopResponse, Y as StopRequestSchema, Z as StopResponseSchema, _ as ContainerConnectorAuthValue, a as DockerSubjects, b as ContainerCreatedSchema, c as ContainerAdapterAuthEnvelopeSchema, d as ContainerBootstrapConfig, f as ContainerBootstrapConfigSchema, g as ContainerConnectorAuthDeliverySchema, h as ContainerConnectorAuthDelivery, i as DockerNamespace, j as ContainerSessionRuntimeBinding, k as ContainerRuntime, l as ContainerAdapterAuthSelector, m as ContainerBootstrapSpawnRequestSchema, n as ContainerSpawnSubjects, o as CONTAINER_BOOTSTRAP_PRIVATE_ENV_VARS, p as ContainerBootstrapSpawnRequest, q as StatusResponseSchema, r as CONTAINER_BOOTSTRAP_CHANNEL_ENDPOINT, s as ContainerAdapterAuthEnvelope, t as ContainerSpawnNamespace, u as ContainerAdapterAuthSelectorSchema, v as ContainerConnectorAuthValueSchema, w as ContainerIsolatedSpawnRequestSchema, x as ContainerDestroyed, y as ContainerCreated, z as CredentialFreeGitRemoteSchema } from "../../index-BN2_TMtX.mjs";
3
+ import { A as ContainerRuntimeSchema, B as SpawnRequest, C as ContainerIsolatedSpawnRequest, D as ContainerLocalWorkflowSpawnRequest, E as ContainerLocalSpawnRequestSchema, F as ContainerState, G as StatusRequestSchema, H as SpawnResponse, I as ContainerStateSchema, J as StopRequest, K as StatusResponse, L as ContainerStopped, M as ContainerSessionRuntimeBindingSchema, N as ContainerStarted, O as ContainerLocalWorkflowSpawnRequestSchema, P as ContainerStartedSchema, R as ContainerStoppedSchema, S as ContainerDestroyedSchema, T as ContainerLocalSpawnRequest, U as SpawnResponseSchema, V as SpawnRequestSchema, W as StatusRequest, X as StopResponse, Y as StopRequestSchema, Z as StopResponseSchema, _ as ContainerConnectorAuthValue, a as DockerSubjects, b as ContainerCreatedSchema, c as ContainerAdapterAuthEnvelopeSchema, d as ContainerBootstrapConfig, f as ContainerBootstrapConfigSchema, g as ContainerConnectorAuthDeliverySchema, h as ContainerConnectorAuthDelivery, i as DockerNamespace, j as ContainerSessionRuntimeBinding, k as ContainerRuntime, l as ContainerAdapterAuthSelector, m as ContainerBootstrapSpawnRequestSchema, n as ContainerSpawnSubjects, o as CONTAINER_BOOTSTRAP_PRIVATE_ENV_VARS, p as ContainerBootstrapSpawnRequest, q as StatusResponseSchema, r as CONTAINER_BOOTSTRAP_CHANNEL_ENDPOINT, s as ContainerAdapterAuthEnvelope, t as ContainerSpawnNamespace, u as ContainerAdapterAuthSelectorSchema, v as ContainerConnectorAuthValueSchema, w as ContainerIsolatedSpawnRequestSchema, x as ContainerDestroyed, y as ContainerCreated, z as CredentialFreeGitRemoteSchema } from "../../index-fpGFhEmI.mjs";
4
4
  export { CONTAINER_BOOTSTRAP_CHANNEL_ENDPOINT, CONTAINER_BOOTSTRAP_PRIVATE_ENV_VARS, ContainerAdapterAuthEnvelope, ContainerAdapterAuthEnvelopeSchema, ContainerAdapterAuthSelector, ContainerAdapterAuthSelectorSchema, ContainerBootstrapConfig, ContainerBootstrapConfigSchema, ContainerBootstrapSpawnRequest, ContainerBootstrapSpawnRequestSchema, ContainerConnectorAuthDelivery, ContainerConnectorAuthDeliverySchema, ContainerConnectorAuthValue, ContainerConnectorAuthValueSchema, ContainerCreated, ContainerCreatedSchema, ContainerDestroyed, ContainerDestroyedSchema, ContainerIsolatedExecutionTargetSchema, ContainerIsolatedSpawnRequest, ContainerIsolatedSpawnRequestSchema, ContainerLocalExecutionTargetSchema, ContainerLocalSpawnRequest, ContainerLocalSpawnRequestSchema, ContainerLocalWorkflowSpawnRequest, ContainerLocalWorkflowSpawnRequestSchema, ContainerRuntime, ContainerRuntimeSchema, ContainerSessionRuntimeBinding, ContainerSessionRuntimeBindingSchema, ContainerSpawnNamespace, ContainerSpawnSubjects, ContainerStarted, ContainerStartedSchema, ContainerState, ContainerStateSchema, ContainerStopped, ContainerStoppedSchema, CredentialFreeGitRemoteSchema, DockerNamespace, DockerSubjects, ExecutionTarget, ExecutionTargetInput, ExecutionTargetInputSchema, ExecutionTargetListQuery, ExecutionTargetListQuerySchema, ExecutionTargetNamespace, ExecutionTargetResolveRequest, ExecutionTargetResolveRequestSchema, ExecutionTargetSchema, ExecutionTargetSchemas, ExecutionTargetSubjects, ExecutionTargetType, ExecutionTargetTypeSchema, LocalExecutionTargetSchema, SpawnRequest, SpawnRequestSchema, SpawnResponse, SpawnResponseSchema, StatusRequest, StatusRequestSchema, StatusResponse, StatusResponseSchema, StopRequest, StopRequestSchema, StopResponse, StopResponseSchema };
@@ -10,8 +10,8 @@ declare const FsNamespace: _$_makaio_core0.BusNamespaceDefinition<"fs", {
10
10
  changed: _$zod.ZodObject<{
11
11
  path: _$zod.ZodString;
12
12
  kind: _$zod.ZodEnum<{
13
- change: "change";
14
13
  create: "create";
14
+ change: "change";
15
15
  delete: "delete";
16
16
  }>;
17
17
  }, _$zod_v4_core0.$strip>;
@@ -19,8 +19,8 @@ declare const FsNamespace: _$_makaio_core0.BusNamespaceDefinition<"fs", {
19
19
  changes: _$zod.ZodArray<_$zod.ZodObject<{
20
20
  path: _$zod.ZodString;
21
21
  kind: _$zod.ZodEnum<{
22
- change: "change";
23
22
  create: "create";
23
+ change: "change";
24
24
  delete: "delete";
25
25
  }>;
26
26
  }, _$zod_v4_core0.$strip>>;
@@ -153,8 +153,8 @@ declare const FsSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjec
153
153
  changed: _$zod.ZodObject<{
154
154
  path: _$zod.ZodString;
155
155
  kind: _$zod.ZodEnum<{
156
- change: "change";
157
156
  create: "create";
157
+ change: "change";
158
158
  delete: "delete";
159
159
  }>;
160
160
  }, _$zod_v4_core0.$strip>;
@@ -162,8 +162,8 @@ declare const FsSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjec
162
162
  changes: _$zod.ZodArray<_$zod.ZodObject<{
163
163
  path: _$zod.ZodString;
164
164
  kind: _$zod.ZodEnum<{
165
- change: "change";
166
165
  create: "create";
166
+ change: "change";
167
167
  delete: "delete";
168
168
  }>;
169
169
  }, _$zod_v4_core0.$strip>>;
@@ -294,8 +294,8 @@ declare const FileSystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
294
294
  changed: _$zod.ZodObject<{
295
295
  path: _$zod.ZodString;
296
296
  kind: _$zod.ZodEnum<{
297
- change: "change";
298
297
  create: "create";
298
+ change: "change";
299
299
  delete: "delete";
300
300
  }>;
301
301
  }, _$zod_v4_core0.$strip>;
@@ -303,8 +303,8 @@ declare const FileSystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
303
303
  changes: _$zod.ZodArray<_$zod.ZodObject<{
304
304
  path: _$zod.ZodString;
305
305
  kind: _$zod.ZodEnum<{
306
- change: "change";
307
306
  create: "create";
307
+ change: "change";
308
308
  delete: "delete";
309
309
  }>;
310
310
  }, _$zod_v4_core0.$strip>>;
@@ -5,8 +5,8 @@ import { z } from "zod";
5
5
  * File change kind.
6
6
  */
7
7
  declare const FsChangeKindSchema: z.ZodEnum<{
8
- change: "change";
9
8
  create: "create";
9
+ change: "change";
10
10
  delete: "delete";
11
11
  }>;
12
12
  type FsChangeKind = z.infer<typeof FsChangeKindSchema>;
@@ -16,8 +16,8 @@ type FsChangeKind = z.infer<typeof FsChangeKindSchema>;
16
16
  declare const FsChangedSchema: z.ZodObject<{
17
17
  path: z.ZodString;
18
18
  kind: z.ZodEnum<{
19
- change: "change";
20
19
  create: "create";
20
+ change: "change";
21
21
  delete: "delete";
22
22
  }>;
23
23
  }, z.core.$strip>;
@@ -29,8 +29,8 @@ declare const FsBatchSchema: z.ZodObject<{
29
29
  changes: z.ZodArray<z.ZodObject<{
30
30
  path: z.ZodString;
31
31
  kind: z.ZodEnum<{
32
- change: "change";
33
32
  create: "create";
33
+ change: "change";
34
34
  delete: "delete";
35
35
  }>;
36
36
  }, z.core.$strip>>;
@@ -330,8 +330,8 @@ declare const GitNamespace: _$_makaio_core0.BusNamespaceDefinition<"git", {
330
330
  path: _$zod.ZodString;
331
331
  branch: _$zod.ZodString;
332
332
  event: _$zod.ZodEnum<{
333
- added: "added";
334
333
  removed: "removed";
334
+ added: "added";
335
335
  }>;
336
336
  timestamp: _$zod.ZodString;
337
337
  }, _$zod_v4_core0.$strip>; /** Add a repo to watch */
@@ -917,8 +917,8 @@ declare const GitSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubje
917
917
  path: _$zod.ZodString;
918
918
  branch: _$zod.ZodString;
919
919
  event: _$zod.ZodEnum<{
920
- added: "added";
921
920
  removed: "removed";
921
+ added: "added";
922
922
  }>;
923
923
  timestamp: _$zod.ZodString;
924
924
  }, _$zod_v4_core0.$strip>; /** Add a repo to watch */
@@ -429,8 +429,8 @@ declare const GitWorktreeEventSchema: z.ZodObject<{
429
429
  path: z.ZodString;
430
430
  branch: z.ZodString;
431
431
  event: z.ZodEnum<{
432
- added: "added";
433
432
  removed: "removed";
433
+ added: "added";
434
434
  }>;
435
435
  timestamp: z.ZodString;
436
436
  }, z.core.$strip>;
@@ -15,7 +15,6 @@ declare const HarnessInputSchema: z.ZodObject<{
15
15
  name: z.ZodString;
16
16
  clientId: z.ZodOptional<z.ZodString>;
17
17
  adapterName: z.ZodOptional<z.ZodString>;
18
- credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
19
18
  toolCapabilityMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodEnum<{
20
19
  "file.read": "file.read";
21
20
  "file.write": "file.write";
@@ -37,6 +36,7 @@ declare const HarnessInputSchema: z.ZodObject<{
37
36
  "always-ask": "always-ask";
38
37
  "full-access": "full-access";
39
38
  }>>>;
39
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
40
40
  approvalPolicy: z.ZodEnum<{
41
41
  reject: "reject";
42
42
  "always-ask": "always-ask";
@@ -132,7 +132,6 @@ declare const HarnessStorageNamespace: _$_makaio_storage_core0.StorageNamespaceD
132
132
  name: z.ZodString;
133
133
  clientId: z.ZodOptional<z.ZodString>;
134
134
  adapterName: z.ZodOptional<z.ZodString>;
135
- credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
136
135
  toolCapabilityMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodEnum<{
137
136
  "file.read": "file.read";
138
137
  "file.write": "file.write";
@@ -154,6 +153,7 @@ declare const HarnessStorageNamespace: _$_makaio_storage_core0.StorageNamespaceD
154
153
  "always-ask": "always-ask";
155
154
  "full-access": "full-access";
156
155
  }>>>;
156
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
157
157
  approvalPolicy: z.ZodEnum<{
158
158
  reject: "reject";
159
159
  "always-ask": "always-ask";
@@ -739,7 +739,6 @@ declare const HarnessStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
739
739
  name: z.ZodString;
740
740
  clientId: z.ZodOptional<z.ZodString>;
741
741
  adapterName: z.ZodOptional<z.ZodString>;
742
- credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
743
742
  toolCapabilityMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodEnum<{
744
743
  "file.read": "file.read";
745
744
  "file.write": "file.write";
@@ -761,6 +760,7 @@ declare const HarnessStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
761
760
  "always-ask": "always-ask";
762
761
  "full-access": "full-access";
763
762
  }>>>;
763
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
764
764
  approvalPolicy: z.ZodEnum<{
765
765
  reject: "reject";
766
766
  "always-ask": "always-ask";