@makaio/framework 1.0.0-dev-1789234461336 → 1.0.0-dev-1789404058608
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.makaio-build.json +2 -2
- package/dist/adapters/claude/index.d.mts +24 -24
- package/dist/authority-state-bootstrap-CvuWPywM.mjs +1 -0
- package/dist/bus/index.mjs +1 -1
- package/dist/{bus-BZB7jNes.mjs → bus-DlTN167w.mjs} +1 -1
- package/dist/contracts/adapter/index.d.mts +2 -2
- package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +2 -2
- package/dist/contracts/capabilities/index.d.mts +1 -1
- package/dist/contracts/client/index.d.mts +1 -1
- package/dist/contracts/extension/index.d.mts +3 -3
- package/dist/contracts/index.d.mts +61 -61
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +1 -1
- package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/shared/index.d.mts +1 -1
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/contracts/worker/index.d.mts +1 -1
- package/dist/contracts/worker/index.mjs +1 -1
- package/dist/contracts/workflow/index.d.mts +2 -2
- package/dist/contracts/workflow/index.mjs +1 -1
- package/dist/drizzle/0039_m_mtyn7x1q.sql +1 -0
- package/dist/drizzle/meta/_journal.json +7 -0
- package/dist/{index-Cplq28EL.d.mts → index-BArnbdj6.d.mts} +84 -67
- package/dist/{index-De_oh9M-2.d.mts → index-BEi6nx1S2.d.mts} +1 -1
- package/dist/{index-iVisrVdC2.d.mts → index-BUC9P6Q12.d.mts} +6 -6
- package/dist/{index-B6WkHnCQ.d.mts → index-C1nSuiG0.d.mts} +1 -1
- package/dist/{index-CA3Uzki8.d.mts → index-CGxjX4fw.d.mts} +5 -5
- package/dist/{index-nkix3hP7.d.mts → index-CWlvL7GB.d.mts} +6 -6
- package/dist/{index-DXZImst_2.d.mts → index-DH0m01hJ2.d.mts} +15 -11
- package/dist/{index-BmCm9R8_.d.mts → index-DaAWCLe9.d.mts} +25 -25
- package/dist/{index-ClKwF6LE.d.mts → index-DjQebquc.d.mts} +287 -287
- package/dist/{index-DMkzJCjS.d.mts → index-Du4wUv9q.d.mts} +7 -7
- package/dist/{index-CzUUoexw.d.mts → index-HJkz7i4E.d.mts} +70 -1
- package/dist/{index-mTaFX2HH2.d.mts → index-HMb0RcTG2.d.mts} +12 -12
- package/dist/{index-Bg3WVL8n.d.mts → index-N3f65Z_S.d.mts} +8 -8
- package/dist/{index-xsaaa85T.d.mts → index-T-aAKybB.d.mts} +8 -8
- package/dist/{index-BpQX136X.d.mts → index-U--ajOHy.d.mts} +1 -1
- package/dist/{index-D_j_T3nS.d.mts → index-gu4mzfTr.d.mts} +1 -1
- package/dist/{index-C6e9cwAl2.d.mts → index-n1hV8uFw2.d.mts} +7 -7
- package/dist/kernel/extension/index.d.mts +1 -1
- package/dist/kernel/index.d.mts +2 -2
- package/dist/kernel/observability/index.d.mts +1 -1
- package/dist/{namespace-Phxf0Lep.d.mts → namespace-CPGTaFqO.d.mts} +2 -2
- package/dist/{namespace-UFcDEBJB.d.mts → namespace-D2RZfl0a.d.mts} +2 -2
- package/dist/{namespace-BsQPRiMd.d.mts → namespace-DM5vykb7.d.mts} +2 -2
- package/dist/{namespace-B5IFLQc-.d.mts → namespace-DQpBf2CK.d.mts} +6 -6
- package/dist/{namespace-rJ3ycPMg.d.mts → namespace-DSRoDmT6.d.mts} +2 -2
- package/dist/{package-CDj3F-L3.d.mts → package-D-oIvXJD.d.mts} +1 -1
- package/dist/{package-D2Erka-E.mjs → package-DYScYC0D.mjs} +2 -2
- package/dist/package.json +1 -1
- package/dist/runtime-node/index.d.mts +2 -2
- package/dist/runtime-node/index.mjs +22 -22
- package/dist/runtime-node/workflow-execution-bus-access.mjs +1 -1
- package/dist/runtime-node/workflow-worker/index.d.mts +2 -2
- package/dist/runtime-node/workflow-worker/index.mjs +1 -1
- package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
- package/dist/{schemas-COiUhOce.d.mts → schemas-BQsXr4FF.d.mts} +7 -7
- package/dist/{schemas-Cj6Gbqch.d.mts → schemas-BcynDWi-.d.mts} +7 -7
- package/dist/{schemas-CaBRbfhU.d.mts → schemas-CEJe8O6P.d.mts} +2 -2
- package/dist/{schemas-2_D4iVbb.d.mts → schemas-CJKDu4Kt.d.mts} +1 -1
- package/dist/{schemas-Cq1d5tid.d.mts → schemas-e8o4JGBu.d.mts} +2 -2
- package/dist/services/adapter-runtime/index.d.mts +3 -3
- package/dist/services/adapter-runtime/namespace.d.mts +1 -1
- package/dist/services/adapter-runtime/schemas.d.mts +1 -1
- package/dist/services/agent-runtime/index.d.mts +2 -2
- package/dist/services/agent-runtime/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/schemas.d.mts +1 -1
- package/dist/services/execution-target/index.d.mts +3 -3
- package/dist/services/execution-target/namespace.d.mts +1 -1
- package/dist/services/execution-target/schemas.d.mts +1 -1
- package/dist/services/filesystem/namespace.d.mts +6 -6
- package/dist/services/filesystem/schemas.d.mts +3 -3
- package/dist/services/index.d.mts +29 -29
- package/dist/services/session/handlers/index.d.mts +1 -1
- package/dist/services/session/index.d.mts +2 -2
- package/dist/services/settings/namespace.d.mts +4 -4
- package/dist/services/subagent-template/index.d.mts +2 -2
- package/dist/services/subagent-template/namespace.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/services/tray-menu/index.d.mts +2 -2
- package/dist/services/tray-menu/namespace.d.mts +1 -1
- package/dist/services/tray-menu/schemas.d.mts +1 -1
- package/dist/{session-lineage-C3myyt5x.d.mts → session-lineage-BQimcKsh.d.mts} +1 -1
- package/dist/{transition-D-Lgbp1j.d.mts → transition-JmAdtcwW.d.mts} +1 -1
- package/dist/{types-DhbllltK.d.mts → types-C5MnkQv6.d.mts} +9 -9
- package/dist/{view-builder-CHUTXJDl.d.mts → view-builder-ByHQ4Oop.d.mts} +2 -2
- package/dist/{worker-4pqm147Q.mjs → worker-B72n8bse.mjs} +1 -1
- package/dist/workflow-D-X3rPsl.mjs +1 -0
- package/dist/workflow-engine/index.d.mts +67 -34
- package/dist/workflow-engine/index.mjs +1 -1
- package/dist/workflow-engine/package.d.mts +1 -1
- package/dist/workflow-engine/package.mjs +1 -1
- package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
- package/dist/workflow-worker-ChrMIcKm.mjs +2 -0
- package/package.json +1 -1
- package/dist/authority-state-bootstrap-BkI-zYRx.mjs +0 -1
- package/dist/workflow-C5cS1mgK.mjs +0 -1
- package/dist/workflow-worker-l-wflI6V.mjs +0 -2
- package/dist/{index-Htfr-K5U2.d.mts → index-CCH0Dnty2.d.mts} +6 -6
- package/dist/{schemas-JjyFxrC0.d.mts → schemas-lAb9QH1A.d.mts} +8 -8
|
@@ -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.outcome.submit,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.state.get,o.state.patch,o.resolveAgent,o.resolveRole,n.kind.list,n.query,n.resolve,n.resolvePart,n.create,n.revise,n.patch,o.artifact.updated,i.spawn,i.await,i.getStatus,i.kill],h=[r.operation.deliver,r.control.deliver,o.gate.respond];function g(e){return{allowedMessageSubjects:m.map(t),allowedSubscriptionSubjects:[...h.map(t),`workflow.${e}.cancel`]}}function _(e){if(`allowedSubjects`in e)throw Error(`Workflow execution bus access no longer accepts allowedSubjects; use allowedMessageSubjects and/or allowedSubscriptionSubjects`)}function v(e){_(e);let{executionAttemptId:n,executionId:i,secret:a}=e,
|
|
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.outcome.submit,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.state.get,o.state.patch,o.resolveAgent,o.resolveRole,n.kind.list,n.query,n.resolve,n.resolvePart,n.create,n.revise,n.patch,o.artifact.updated,i.spawn,i.await,i.getStatus,i.kill],h=[r.operation.deliver,r.control.deliver,o.gate.respond];function g(e){return{allowedMessageSubjects:m.map(t),allowedSubscriptionSubjects:[...h.map(t),`workflow.${e}.cancel`]}}function _(e){if(`allowedSubjects`in e)throw Error(`Workflow execution bus access no longer accepts allowedSubjects; use allowedMessageSubjects and/or allowedSubscriptionSubjects`)}function v(e){_(e);let{executionAttemptId:n,executionId:i,secret:a}=e,s=g(i);return{secret:a,cleanup:c(n,a,{peerKind:`workflow-execution-attempt`,claims:{executionId:i},allowedMessageSubjects:e.allowedMessageSubjects??s.allowedMessageSubjects,allowedSubscriptionSubjects:e.allowedSubscriptionSubjects??s.allowedSubscriptionSubjects,requiredSubscriptionFilters:{[t(r.operation.deliver)]:{executionAttemptId:n},[t(r.control.deliver)]:{executionAttemptId:n},[t(o.gate.respond)]:{executionAttemptId:n}}})}}function y(t){_(t);let n=e(32).toString(`hex`);return v({...t,secret:n})}function b(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 x(e){return _(e),u(e.executionAttemptId)===null?y(e):b(e)}function S(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 C(e){return u(e)??void 0}export{g as buildExecutionAttemptSubjectAccess,S as captureWorkflowExecutionBusSecretCleanup,x as mintOrRotateWorkflowExecutionBusSecret,y as mintWorkflowExecutionBusSecret,v as registerWorkflowExecutionBusSecret,C as resolveWorkflowExecutionBusSecret,b as rotateWorkflowExecutionBusSecret};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
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
|
+
import { $ as CreateIsolatedWorkflowRuntimeOptions, $t as computeContributionPackageDigest, A as createLocalGitWorkspacePreparation, At as runWorkerBootstrapExchange, B as HeadlessWorkerMaterializer, C as admitWorkflowRunOperation, Ct as WorkerRunnerOptions, D as loadWorkflowModule, Dt as createNodeWorkflowRunnerPackageOptions, E as registerWorkerRuntime, Et as createNodeWorkflowRunner, F as HeadlessWorkerBootstrap, Ft as IWorkflowRunner, G as runHeadlessWorkflowWorker, H as HeadlessWorkflowWorkerDeps, I as HeadlessWorkerBootstrapCredentials, It as RuntimeLoadedWorkflow, J as WorkloadControlBinding, Jt as MaterializationError, K as InstalledWorkloadAdapter, L as HeadlessWorkerBusConnector, Lt as ThinWorkflowPiscinaRunnerOptions, M as HeadlessWorkerDeps, Mt as withWorkerBootstrapDeadline, N as HeadlessWorkerResult, Nt as createWorkerBusAuth, O as loadWorkflowModules, Ot as BootstrapExchangeResult, P as runHeadlessWorker, Pt as ThinWorkflowPiscinaRunner, Qt as assertNoSymlinkEscape, R as HeadlessWorkerContributionLoader, Rt as WorkflowRunResult, S as RuntimeRegistrationRefusedError, St as WorkerRunner, T as registerAndAdmitWorkflowRun, Tt as NodeWorkflowRunnerPackageOptions, U as HeadlessWorkflowWorkerResult, V as HeadlessWorkerPostCommitObserver, W as MaterializedWorkspace, X as WorkloadInvocationResult, Xt as WorkspaceRootResolver, Y as WorkloadInvocationPreparation, Yt as ParsedSriIntegrity, Z as runWorkloadInvocation, Zt as assertContainedIn, _ as OperationDeliveryEndpointIdentity, _t as OutcomeReconnect, a as InstalledAttemptControlEndpoint, an as WorkflowWorkerEntryMode, at as InProcessWorkflowRunner, b as RegisterAndAdmitWorkflowRunOptions, bt as submitAttemptOutcomeWithAck, c as BootstrapStartRefusedError, ct as PiscinaThinWorkflowProviderOptions, d as bootstrapWorkerRuntime, dt as createWorkflowLaunchResolver, en as computeDirectoryDigest, et as IsolatedWorkflowRuntime, f as AdmitWorkflowRunOperationOptions, ft as AttemptOutcomeDeliveryError, g as OperationDeliveryEndpoint, gt as OutcomeDeliveryError, h as OperationAdmissionRefusedError, ht as DELIVERED_DECISIONS, i as AttemptControlReportOptions, in as verifyContribution, it as createIsolatedWorkflowRuntime, j as LocalGitSourceOptions, jt as BootstrapDeadlineExceededError, k as loadWorkflowFromConfig, kt as WorkerBootstrapExchangeOptions, l as BootstrapWorkerRuntimeOptions, lt as WorkflowAttemptInstructionReader, m as DeliverableOperationKind, mt as AuthorityRequestDeliveryError, n as AttemptControlEndpointIdentity, nn as materializeLocalDirectory, nt as WorkflowRuntimeAuthorityConnector, o as installAttemptControlEndpoint, on as WorkflowWorkerEntryResolverOptions, ot as InProcessWorkflowRunnerOptions, p as AdmittedWorkflowRun, pt as AttemptOutcomeSubmitPayload, q as RunWorkloadInvocationOptions, qt as LocalDirectoryMaterializerOptions, r as AttemptControlLastReport, rn as parseSriIntegrity, rt as WorkflowRuntimeContributionLoader, s as BootstrapRuntimeConnection, sn as resolveWorkflowWorkerEntry, st as PiscinaThinWorkflowProvider, t as AttemptControlEndpointDeps, tn as computeFileDigest, tt as IsolatedWorkflowRuntimeContext, u as StartedWorkerRuntime, ut as WorkflowLaunchResolver, v as OperationDeliveryHandler, vt as OutcomeSubmitPayload, w as installOperationDeliveryEndpoint, wt as CreateNodeWorkflowRunnerPackageOptionsParams, x as RegisterWorkerRuntimeOptions, xt as submitOutcomeWithAck, y as OperationDeliveryHandlers, yt as OutcomeSubmitRetryConfig, z as HeadlessWorkerExecutor } from "../../index-HJkz7i4E.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, HeadlessWorkerDeps, HeadlessWorkerExecutor, HeadlessWorkerMaterializer, HeadlessWorkerPostCommitObserver, HeadlessWorkerResult, 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, runHeadlessWorker, runHeadlessWorkflowWorker, runWorkerBootstrapExchange, runWorkloadInvocation, submitAttemptOutcomeWithAck, submitOutcomeWithAck, verifyContribution, withWorkerBootstrapDeadline };
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,k as h,l as g,m as _,n as v,o as y,p as b,r as x,s as S,t as C,u as w,v as T,w as E,x as D,y as O}from"../../workflow-worker-ChrMIcKm.mjs";import{a as k,c as A,d as j,f as M,h as N,i as P,l as F,m as I,n as L,p as R,r as z,s as B,t as V,v as H,y as U}from"../../bootstrap-start-client-C1ZHbv6e.mjs";export{g as AttemptOutcomeDeliveryError,w as AuthorityRequestDeliveryError,H as BootstrapDeadlineExceededError,V as BootstrapStartRefusedError,u as DELIVERED_DECISIONS,o as InProcessWorkflowRunner,D as MaterializationError,z as OperationAdmissionRefusedError,d as OutcomeDeliveryError,l as PiscinaThinWorkflowProvider,P as RuntimeRegistrationRefusedError,c as ThinWorkflowPiscinaRunner,T as WorkerRunner,k as admitWorkflowRunOperation,i as assertContainedIn,e as assertNoSymlinkEscape,L as bootstrapWorkerRuntime,E as computeContributionPackageDigest,a as computeDirectoryDigest,n as computeFileDigest,y as createIsolatedWorkflowRuntime,C as createLocalGitWorkspacePreparation,p as createNodeWorkflowRunner,f as createNodeWorkflowRunnerPackageOptions,N as createWorkerBusAuth,S as createWorkflowLaunchResolver,m as installAttemptControlEndpoint,B as installOperationDeliveryEndpoint,j as loadWorkflowFromConfig,M as loadWorkflowModule,R as loadWorkflowModules,t as materializeLocalDirectory,r as parseSriIntegrity,A as registerAndAdmitWorkflowRun,F as registerWorkerRuntime,O as resolveWorkflowWorkerEntry,x as runHeadlessWorker,v as runHeadlessWorkflowWorker,I as runWorkerBootstrapExchange,s as runWorkloadInvocation,b as submitAttemptOutcomeWithAck,_ as submitOutcomeWithAck,h as verifyContribution,U as withWorkerBootstrapDeadline};
|
|
@@ -1 +1 @@
|
|
|
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-C1ZHbv6e.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,
|
|
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-C1ZHbv6e.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=r.kind===`attempt-bound`?{...i,executionAttemptId:r.executionAttemptId}:i,s=new AbortController,c=()=>s.abort(),u=r.signal??s.signal;u!==s.signal&&(u.aborted?s.abort():u.addEventListener(`abort`,c,{once:!0}));let d,p,m;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(),i=await j(r,a,n,s);d=i.connection,m=i.endpoint,await t(d.bus,{executionAttemptId:r.executionAttemptId,runtimeIncarnationId:n,endpoint:m,signal:s.signal}),_?.postMessage(e(a.executionId,a.cancelSubject,r.executionAttemptId))}else d=await M(a,s);let i=await O(r.contributionEntrypoints,{bus:d.bus,signal:s.signal});i.toolsets.length>0&&(p=await C(d,i));let c=await n(a);return await v({config:await o(a,c,d.bus,s.signal),loaded:c,bus:d.bus,signal:s.signal})}finally{m?.cleanup(),u.removeEventListener(`abort`,c);try{p&&await p.close()}finally{d&&await d.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};
|
|
@@ -45,10 +45,9 @@ type SubagentTemplateSummary = z.infer<typeof SubagentTemplateSummarySchema>;
|
|
|
45
45
|
declare const SubagentTemplateCreateSchema: z.ZodObject<{
|
|
46
46
|
name: z.ZodString;
|
|
47
47
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
48
|
-
|
|
48
|
+
providerConfigId: z.ZodOptional<z.ZodString>;
|
|
49
49
|
model: z.ZodOptional<z.ZodString>;
|
|
50
50
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
51
|
-
providerConfigId: z.ZodOptional<z.ZodString>;
|
|
52
51
|
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
53
52
|
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
54
53
|
allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -56,6 +55,7 @@ declare const SubagentTemplateCreateSchema: z.ZodObject<{
|
|
|
56
55
|
fork: "fork";
|
|
57
56
|
fresh: "fresh";
|
|
58
57
|
}>>;
|
|
58
|
+
adapterName: z.ZodString;
|
|
59
59
|
}, z.core.$strip>;
|
|
60
60
|
type SubagentTemplateCreate = z.infer<typeof SubagentTemplateCreateSchema>;
|
|
61
61
|
/**
|
|
@@ -130,10 +130,9 @@ declare const SubagentTemplateSettingsSchemas: {
|
|
|
130
130
|
request: z.ZodObject<{
|
|
131
131
|
name: z.ZodString;
|
|
132
132
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
133
|
-
|
|
133
|
+
providerConfigId: z.ZodOptional<z.ZodString>;
|
|
134
134
|
model: z.ZodOptional<z.ZodString>;
|
|
135
135
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
136
|
-
providerConfigId: z.ZodOptional<z.ZodString>;
|
|
137
136
|
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
138
137
|
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
139
138
|
allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -141,6 +140,7 @@ declare const SubagentTemplateSettingsSchemas: {
|
|
|
141
140
|
fork: "fork";
|
|
142
141
|
fresh: "fresh";
|
|
143
142
|
}>>;
|
|
143
|
+
adapterName: z.ZodString;
|
|
144
144
|
}, z.core.$strip>;
|
|
145
145
|
response: z.ZodObject<{
|
|
146
146
|
id: z.ZodString;
|
|
@@ -191,9 +191,9 @@ declare const SubagentTemplateInstanceSchema: z.ZodObject<{
|
|
|
191
191
|
status: z.ZodEnum<{
|
|
192
192
|
completed: "completed";
|
|
193
193
|
cancelled: "cancelled";
|
|
194
|
-
failed: "failed";
|
|
195
194
|
running: "running";
|
|
196
195
|
waiting_input: "waiting_input";
|
|
196
|
+
failed: "failed";
|
|
197
197
|
}>;
|
|
198
198
|
createdAt: z.ZodString;
|
|
199
199
|
}, z.core.$strip>;
|
|
@@ -222,9 +222,9 @@ declare const SubagentTemplateInstanceStatusSchema: z.ZodObject<{
|
|
|
222
222
|
status: z.ZodEnum<{
|
|
223
223
|
completed: "completed";
|
|
224
224
|
cancelled: "cancelled";
|
|
225
|
-
failed: "failed";
|
|
226
225
|
running: "running";
|
|
227
226
|
waiting_input: "waiting_input";
|
|
227
|
+
failed: "failed";
|
|
228
228
|
}>;
|
|
229
229
|
result: z.ZodOptional<z.ZodString>;
|
|
230
230
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -274,9 +274,9 @@ declare const SubagentTemplateKernelSchemas: {
|
|
|
274
274
|
status: z.ZodEnum<{
|
|
275
275
|
completed: "completed";
|
|
276
276
|
cancelled: "cancelled";
|
|
277
|
-
failed: "failed";
|
|
278
277
|
running: "running";
|
|
279
278
|
waiting_input: "waiting_input";
|
|
279
|
+
failed: "failed";
|
|
280
280
|
}>;
|
|
281
281
|
result: z.ZodOptional<z.ZodString>;
|
|
282
282
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -4,8 +4,8 @@ import { z } from "zod";
|
|
|
4
4
|
/** Visual grouping for system tray menu entries. */
|
|
5
5
|
declare const TrayMenuSectionSchema: z.ZodEnum<{
|
|
6
6
|
tools: "tools";
|
|
7
|
-
views: "views";
|
|
8
7
|
utilities: "utilities";
|
|
8
|
+
views: "views";
|
|
9
9
|
}>;
|
|
10
10
|
/** Opaque metadata echoed back to the owning package on click. */
|
|
11
11
|
declare const TrayMenuMetadataSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -16,8 +16,8 @@ declare const TrayMenuEntrySchema: z.ZodObject<{
|
|
|
16
16
|
label: z.ZodString;
|
|
17
17
|
section: z.ZodEnum<{
|
|
18
18
|
tools: "tools";
|
|
19
|
-
views: "views";
|
|
20
19
|
utilities: "utilities";
|
|
20
|
+
views: "views";
|
|
21
21
|
}>;
|
|
22
22
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
23
23
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -44,8 +44,8 @@ declare const TrayMenuGroupSchema: z.ZodObject<{
|
|
|
44
44
|
}, z.core.$strip>>;
|
|
45
45
|
section: z.ZodEnum<{
|
|
46
46
|
tools: "tools";
|
|
47
|
-
views: "views";
|
|
48
47
|
utilities: "utilities";
|
|
48
|
+
views: "views";
|
|
49
49
|
}>;
|
|
50
50
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
51
51
|
}, z.core.$strip>;
|
|
@@ -56,8 +56,8 @@ declare const TrayMenuListEntrySchema: z.ZodObject<{
|
|
|
56
56
|
label: z.ZodString;
|
|
57
57
|
section: z.ZodEnum<{
|
|
58
58
|
tools: "tools";
|
|
59
|
-
views: "views";
|
|
60
59
|
utilities: "utilities";
|
|
60
|
+
views: "views";
|
|
61
61
|
}>;
|
|
62
62
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
63
63
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -81,8 +81,8 @@ declare const TrayMenuSchemas: {
|
|
|
81
81
|
label: z.ZodString;
|
|
82
82
|
section: z.ZodEnum<{
|
|
83
83
|
tools: "tools";
|
|
84
|
-
views: "views";
|
|
85
84
|
utilities: "utilities";
|
|
85
|
+
views: "views";
|
|
86
86
|
}>;
|
|
87
87
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
88
88
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -116,8 +116,8 @@ declare const TrayMenuSchemas: {
|
|
|
116
116
|
}, z.core.$strip>>;
|
|
117
117
|
section: z.ZodEnum<{
|
|
118
118
|
tools: "tools";
|
|
119
|
-
views: "views";
|
|
120
119
|
utilities: "utilities";
|
|
120
|
+
views: "views";
|
|
121
121
|
}>;
|
|
122
122
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
123
123
|
}, z.core.$strip>;
|
|
@@ -151,8 +151,8 @@ declare const TrayMenuSchemas: {
|
|
|
151
151
|
label: z.ZodString;
|
|
152
152
|
section: z.ZodEnum<{
|
|
153
153
|
tools: "tools";
|
|
154
|
-
views: "views";
|
|
155
154
|
utilities: "utilities";
|
|
155
|
+
views: "views";
|
|
156
156
|
}>;
|
|
157
157
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
158
158
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -102,8 +102,8 @@ declare const ExecutionTargetInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
102
102
|
name: z.ZodString;
|
|
103
103
|
image: z.ZodOptional<z.ZodString>;
|
|
104
104
|
enabled: z.ZodBoolean;
|
|
105
|
-
scope: z.ZodString;
|
|
106
105
|
busUrl: z.ZodOptional<z.ZodString>;
|
|
106
|
+
scope: z.ZodString;
|
|
107
107
|
}, z.core.$strip>, z.ZodObject<{
|
|
108
108
|
type: z.ZodLiteral<"container-isolated">;
|
|
109
109
|
id: z.ZodString;
|
|
@@ -205,8 +205,8 @@ declare const ExecutionTargetSchemas: {
|
|
|
205
205
|
name: z.ZodString;
|
|
206
206
|
image: z.ZodOptional<z.ZodString>;
|
|
207
207
|
enabled: z.ZodBoolean;
|
|
208
|
-
scope: z.ZodString;
|
|
209
208
|
busUrl: z.ZodOptional<z.ZodString>;
|
|
209
|
+
scope: z.ZodString;
|
|
210
210
|
}, z.core.$strip>, z.ZodObject<{
|
|
211
211
|
type: z.ZodLiteral<"container-isolated">;
|
|
212
212
|
id: z.ZodString;
|
|
@@ -143,8 +143,8 @@ declare const AdapterRuntimeSchemas: {
|
|
|
143
143
|
teardownCompleted: z.ZodObject<{
|
|
144
144
|
evidence: z.ZodEnum<{
|
|
145
145
|
unknown: "unknown";
|
|
146
|
-
exited: "exited";
|
|
147
146
|
closed: "closed";
|
|
147
|
+
exited: "exited";
|
|
148
148
|
released: "released";
|
|
149
149
|
detached: "detached";
|
|
150
150
|
}>;
|
|
@@ -427,9 +427,9 @@ declare const AgentInstanceStatusSchema: z.ZodObject<{
|
|
|
427
427
|
status: z.ZodEnum<{
|
|
428
428
|
completed: "completed";
|
|
429
429
|
cancelled: "cancelled";
|
|
430
|
-
failed: "failed";
|
|
431
430
|
running: "running";
|
|
432
431
|
waiting_input: "waiting_input";
|
|
432
|
+
failed: "failed";
|
|
433
433
|
}>;
|
|
434
434
|
result: z.ZodOptional<z.ZodString>;
|
|
435
435
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -892,9 +892,9 @@ declare const AgentRuntimeSchemas: {
|
|
|
892
892
|
status: z.ZodEnum<{
|
|
893
893
|
completed: "completed";
|
|
894
894
|
cancelled: "cancelled";
|
|
895
|
-
failed: "failed";
|
|
896
895
|
running: "running";
|
|
897
896
|
waiting_input: "waiting_input";
|
|
897
|
+
failed: "failed";
|
|
898
898
|
}>;
|
|
899
899
|
result: z.ZodOptional<z.ZodString>;
|
|
900
900
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -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-
|
|
2
|
-
import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../../namespace-
|
|
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-
|
|
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-CJKDu4Kt.mjs";
|
|
2
|
+
import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../../namespace-CPGTaFqO.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-C1nSuiG0.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-
|
|
1
|
+
import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../../namespace-CPGTaFqO.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-
|
|
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-CJKDu4Kt.mjs";
|
|
2
2
|
export { AdapterRuntimeSchemas, GetMachineIdRequest, GetMachineIdRequestSchema, GetMachineIdResponse, GetMachineIdResponseSchema, ResolveIdRequest, ResolveIdRequestSchema, ResolveIdResponse, ResolveIdResponseSchema, ResolveLiveIdentityRequest, ResolveLiveIdentityRequestSchema, ResolveLiveIdentityResponse, ResolveLiveIdentityResponseSchema, ResolveNameRequest, ResolveNameRequestSchema, ResolveNameResponse, ResolveNameResponseSchema };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-
|
|
2
|
-
import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-
|
|
1
|
+
import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-e8o4JGBu.mjs";
|
|
2
|
+
import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-D2RZfl0a.mjs";
|
|
3
3
|
export { type AgentInstanceStatus, AgentInstanceStatusSchema, AgentRuntimeNamespace, AgentRuntimeSchemas, type AgentRuntimeSelection, AgentRuntimeSelectionSchema, AgentRuntimeSubjects };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-
|
|
1
|
+
import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-D2RZfl0a.mjs";
|
|
2
2
|
export { AgentRuntimeNamespace, AgentRuntimeSubjects };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-
|
|
1
|
+
import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-e8o4JGBu.mjs";
|
|
2
2
|
export { AgentInstanceStatus, AgentInstanceStatusSchema, AgentRuntimeSchemas, AgentRuntimeSelection, AgentRuntimeSelectionSchema };
|
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
2
|
-
import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../../namespace-
|
|
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-
|
|
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-CEJe8O6P.mjs";
|
|
2
|
+
import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../../namespace-DM5vykb7.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-CWlvL7GB.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 };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../../namespace-
|
|
1
|
+
import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../../namespace-DM5vykb7.mjs";
|
|
2
2
|
export { ExecutionTargetNamespace, ExecutionTargetSubjects };
|
|
@@ -1,2 +1,2 @@
|
|
|
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-
|
|
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-CEJe8O6P.mjs";
|
|
2
2
|
export { ContainerIsolatedExecutionTargetSchema, ContainerLocalExecutionTargetSchema, ExecutionTarget, ExecutionTargetInput, ExecutionTargetInputSchema, ExecutionTargetListQuery, ExecutionTargetListQuerySchema, ExecutionTargetResolveRequest, ExecutionTargetResolveRequestSchema, ExecutionTargetSchema, ExecutionTargetSchemas, ExecutionTargetType, ExecutionTargetTypeSchema, LocalExecutionTargetSchema };
|
|
@@ -11,8 +11,8 @@ declare const FsNamespace: _$_makaio_core0.BusNamespaceDefinition<"fs", {
|
|
|
11
11
|
path: _$zod.ZodString;
|
|
12
12
|
kind: _$zod.ZodEnum<{
|
|
13
13
|
create: "create";
|
|
14
|
-
change: "change";
|
|
15
14
|
delete: "delete";
|
|
15
|
+
change: "change";
|
|
16
16
|
}>;
|
|
17
17
|
}, _$zod_v4_core0.$strip>;
|
|
18
18
|
batch: _$zod.ZodObject<{
|
|
@@ -20,8 +20,8 @@ declare const FsNamespace: _$_makaio_core0.BusNamespaceDefinition<"fs", {
|
|
|
20
20
|
path: _$zod.ZodString;
|
|
21
21
|
kind: _$zod.ZodEnum<{
|
|
22
22
|
create: "create";
|
|
23
|
-
change: "change";
|
|
24
23
|
delete: "delete";
|
|
24
|
+
change: "change";
|
|
25
25
|
}>;
|
|
26
26
|
}, _$zod_v4_core0.$strip>>;
|
|
27
27
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -154,8 +154,8 @@ declare const FsSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjec
|
|
|
154
154
|
path: _$zod.ZodString;
|
|
155
155
|
kind: _$zod.ZodEnum<{
|
|
156
156
|
create: "create";
|
|
157
|
-
change: "change";
|
|
158
157
|
delete: "delete";
|
|
158
|
+
change: "change";
|
|
159
159
|
}>;
|
|
160
160
|
}, _$zod_v4_core0.$strip>;
|
|
161
161
|
batch: _$zod.ZodObject<{
|
|
@@ -163,8 +163,8 @@ declare const FsSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjec
|
|
|
163
163
|
path: _$zod.ZodString;
|
|
164
164
|
kind: _$zod.ZodEnum<{
|
|
165
165
|
create: "create";
|
|
166
|
-
change: "change";
|
|
167
166
|
delete: "delete";
|
|
167
|
+
change: "change";
|
|
168
168
|
}>;
|
|
169
169
|
}, _$zod_v4_core0.$strip>>;
|
|
170
170
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -295,8 +295,8 @@ declare const FileSystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
295
295
|
path: _$zod.ZodString;
|
|
296
296
|
kind: _$zod.ZodEnum<{
|
|
297
297
|
create: "create";
|
|
298
|
-
change: "change";
|
|
299
298
|
delete: "delete";
|
|
299
|
+
change: "change";
|
|
300
300
|
}>;
|
|
301
301
|
}, _$zod_v4_core0.$strip>;
|
|
302
302
|
batch: _$zod.ZodObject<{
|
|
@@ -304,8 +304,8 @@ declare const FileSystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
304
304
|
path: _$zod.ZodString;
|
|
305
305
|
kind: _$zod.ZodEnum<{
|
|
306
306
|
create: "create";
|
|
307
|
-
change: "change";
|
|
308
307
|
delete: "delete";
|
|
308
|
+
change: "change";
|
|
309
309
|
}>;
|
|
310
310
|
}, _$zod_v4_core0.$strip>>;
|
|
311
311
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -6,8 +6,8 @@ import { z } from "zod";
|
|
|
6
6
|
*/
|
|
7
7
|
declare const FsChangeKindSchema: z.ZodEnum<{
|
|
8
8
|
create: "create";
|
|
9
|
-
change: "change";
|
|
10
9
|
delete: "delete";
|
|
10
|
+
change: "change";
|
|
11
11
|
}>;
|
|
12
12
|
type FsChangeKind = z.infer<typeof FsChangeKindSchema>;
|
|
13
13
|
/**
|
|
@@ -17,8 +17,8 @@ declare const FsChangedSchema: z.ZodObject<{
|
|
|
17
17
|
path: z.ZodString;
|
|
18
18
|
kind: z.ZodEnum<{
|
|
19
19
|
create: "create";
|
|
20
|
-
change: "change";
|
|
21
20
|
delete: "delete";
|
|
21
|
+
change: "change";
|
|
22
22
|
}>;
|
|
23
23
|
}, z.core.$strip>;
|
|
24
24
|
type FsChanged = z.infer<typeof FsChangedSchema>;
|
|
@@ -30,8 +30,8 @@ declare const FsBatchSchema: z.ZodObject<{
|
|
|
30
30
|
path: z.ZodString;
|
|
31
31
|
kind: z.ZodEnum<{
|
|
32
32
|
create: "create";
|
|
33
|
-
change: "change";
|
|
34
33
|
delete: "delete";
|
|
34
|
+
change: "change";
|
|
35
35
|
}>;
|
|
36
36
|
}, z.core.$strip>>;
|
|
37
37
|
}, z.core.$strip>;
|