@makaio/framework 1.0.0-dev-1789178369476 → 1.0.0-dev-1789234461336
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/artifact-CKz9YQPu.mjs +1 -0
- package/dist/authority-state-bootstrap-BkI-zYRx.mjs +1 -0
- package/dist/bus/index.mjs +1 -1
- package/dist/{bus-CyrTcF8F.mjs → bus-BZB7jNes.mjs} +2 -2
- package/dist/contracts/adapter/index.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +3 -3
- package/dist/contracts/artifact/index.mjs +1 -1
- 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 +2 -2
- package/dist/contracts/extension/index.mjs +1 -1
- package/dist/contracts/index.d.mts +75 -75
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +2 -2
- package/dist/contracts/materialization/index.mjs +1 -1
- package/dist/contracts/session/index.d.mts +2 -2
- 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/0038_execution-attempt-repository.sql +73 -0
- package/dist/drizzle/meta/_journal.json +7 -0
- package/dist/{extension-D8uLQSDc.mjs → extension-CfrTp3rC.mjs} +1 -1
- package/dist/{framework-packages-CCIReKIe.mjs → framework-packages-Bg4edkkM.mjs} +1 -1
- package/dist/{index-C1nSuiG0.d.mts → index-B6WkHnCQ.d.mts} +1 -1
- package/dist/{index-B3fuld9X.d.mts → index-Bg3WVL8n.d.mts} +4 -4
- package/dist/{index-CdgRoaey.d.mts → index-BmCm9R8_.d.mts} +2 -2
- package/dist/{index-U--ajOHy.d.mts → index-BpQX136X.d.mts} +1 -1
- package/dist/{index-D0xS-mYt.d.mts → index-CA3Uzki8.d.mts} +10 -10
- package/dist/{index-BFS-2kcS.d.mts → index-C_kOkO3E.d.mts} +16 -0
- package/dist/{index-a_peDAyG.d.mts → index-ClKwF6LE.d.mts} +84 -3
- package/dist/{index-BqtdO-uk.d.mts → index-Cplq28EL.d.mts} +30 -14
- package/dist/{index-DtCVHx8-.d.mts → index-CzUUoexw.d.mts} +17 -9
- package/dist/{index-Du4wUv9q.d.mts → index-DMkzJCjS.d.mts} +7 -7
- package/dist/{index-DyVXhEBC2.d.mts → index-DXZImst_2.d.mts} +11 -8
- package/dist/{index-gu4mzfTr.d.mts → index-D_j_T3nS.d.mts} +1 -1
- package/dist/{index-GFf4oKBg2.d.mts → index-iVisrVdC2.d.mts} +37 -37
- package/dist/{index-HMb0RcTG2.d.mts → index-mTaFX2HH2.d.mts} +12 -12
- package/dist/{index-T-aAKybB.d.mts → index-xsaaa85T.d.mts} +8 -8
- 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/kind-registration-Dzfo6kyb.mjs +1 -0
- package/dist/materialization-iFhpbs1s.mjs +1 -0
- package/dist/{namespace-DM5vykb7.d.mts → namespace-BsQPRiMd.d.mts} +2 -2
- package/dist/{namespace-C_tttgJ8.d.mts → namespace-DlOQmhgX.d.mts} +18 -18
- package/dist/{namespace-CPGTaFqO.d.mts → namespace-Phxf0Lep.d.mts} +2 -2
- package/dist/{namespace-LSHmxtMn.d.mts → namespace-uCaKZm89.d.mts} +4 -4
- package/dist/node/transports/index.d.mts +32 -11
- package/dist/node/transports/index.mjs +2 -2
- package/dist/{package-DdymauE9.d.mts → package-CDj3F-L3.d.mts} +1 -0
- package/dist/package-D2Erka-E.mjs +7 -0
- package/dist/package.json +1 -1
- package/dist/packages-vF9F4M41.mjs +1 -0
- package/dist/runtime-node/index.d.mts +1 -1
- package/dist/runtime-node/index.mjs +1 -1
- package/dist/runtime-node/workflow-execution-bus-access.d.mts +37 -20
- package/dist/runtime-node/workflow-execution-bus-access.mjs +1 -1
- package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
- package/dist/runtime-node/workflow-worker/index.mjs +1 -1
- package/dist/{schemas-CJKDu4Kt.d.mts → schemas-2_D4iVbb.d.mts} +1 -1
- package/dist/{schemas-rlb0IQ-G.mjs → schemas-CHM0wMq4.mjs} +1 -1
- package/dist/{schemas-CPNdGMLf.d.mts → schemas-COiUhOce.d.mts} +8 -8
- package/dist/{schemas-CEJe8O6P.d.mts → schemas-CaBRbfhU.d.mts} +2 -2
- package/dist/{schemas-CKVm28Oy.d.mts → schemas-JjyFxrC0.d.mts} +4 -0
- 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/context-rules/index.d.mts +3 -3
- package/dist/services/execution-target/index.d.mts +2 -2
- 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 +22 -22
- package/dist/services/index.mjs +1 -1
- package/dist/services/materialization/index.mjs +1 -1
- package/dist/services/session/handlers/index.d.mts +1 -1
- package/dist/services/session/index.d.mts +4 -4
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/session/session-events/namespace.d.mts +1 -1
- package/dist/services/settings/namespace.d.mts +8 -8
- package/dist/services/subagent-template/index.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/services/tools/index.mjs +1 -1
- package/dist/services/workflow-transitions/index.mjs +1 -1
- package/dist/{tools-Dj_ImUQ8.mjs → tools-C5Gy0IQG.mjs} +1 -1
- package/dist/{transition-B-YmSK-s.d.mts → transition-D-Lgbp1j.d.mts} +1 -1
- package/dist/{types-7QB81mzR.d.mts → types-DhbllltK.d.mts} +15 -15
- package/dist/{view-builder-BUZoNyEQ.d.mts → view-builder-CHUTXJDl.d.mts} +14 -1
- package/dist/{worker-DWEma08Q.mjs → worker-4pqm147Q.mjs} +1 -1
- package/dist/{workflow-DA2yJJK-.mjs → workflow-C5cS1mgK.mjs} +1 -1
- package/dist/workflow-engine/index.d.mts +81 -4
- 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-transitions-t6jn_pR_.mjs → workflow-transitions-C0sg3kar.mjs} +1 -1
- package/dist/{workflow-worker-C3ZbuhyA.mjs → workflow-worker-l-wflI6V.mjs} +2 -2
- package/package.json +1 -1
- package/dist/artifact-DGxKwbHE.mjs +0 -1
- package/dist/authority-state-bootstrap-CV7HpB4v.mjs +0 -1
- package/dist/kind-registration-BcNuwXPC.mjs +0 -1
- package/dist/materialization-kP_vEXV3.mjs +0 -1
- package/dist/package-Bn4iwDm3.mjs +0 -7
- package/dist/packages-G3bMStlV.mjs +0 -1
|
@@ -24,14 +24,20 @@ interface MintWorkflowExecutionBusSecretParams {
|
|
|
24
24
|
*/
|
|
25
25
|
readonly executionId: string;
|
|
26
26
|
/**
|
|
27
|
-
* Optional
|
|
27
|
+
* Optional outbound message restriction list for this execution attempt.
|
|
28
28
|
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
* requires a matching advertised subscription. When omitted, the default
|
|
32
|
-
* list from {@link buildExecutionAttemptAllowedSubjects} is used.
|
|
29
|
+
* When omitted, the default message subjects from
|
|
30
|
+
* {@link buildExecutionAttemptSubjectAccess} are used.
|
|
33
31
|
*/
|
|
34
|
-
readonly
|
|
32
|
+
readonly allowedMessageSubjects?: readonly string[];
|
|
33
|
+
/**
|
|
34
|
+
* Optional subscription restriction list for this execution attempt.
|
|
35
|
+
*
|
|
36
|
+
* When omitted, the default subscription subjects from
|
|
37
|
+
* {@link buildExecutionAttemptSubjectAccess} are used. Server-to-peer
|
|
38
|
+
* request routing still requires a matching advertised subscription.
|
|
39
|
+
*/
|
|
40
|
+
readonly allowedSubscriptionSubjects?: readonly string[];
|
|
35
41
|
}
|
|
36
42
|
/** Parameters for registering a caller-provided workflow execution bus secret. */
|
|
37
43
|
interface RegisterWorkflowExecutionBusSecretParams extends MintWorkflowExecutionBusSecretParams {
|
|
@@ -45,27 +51,38 @@ interface RotateWorkflowExecutionBusSecretParams {
|
|
|
45
51
|
/** Parent workflow execution identifier that must match the registered claim. */
|
|
46
52
|
readonly executionId: string;
|
|
47
53
|
}
|
|
54
|
+
/** Directional subject restrictions for an execution-attempt identity. */
|
|
55
|
+
interface ExecutionAttemptSubjectAccess {
|
|
56
|
+
/** Subjects the attempt may send to the authority. */
|
|
57
|
+
readonly allowedMessageSubjects: readonly string[];
|
|
58
|
+
/** Subjects the attempt may advertise to receive from the authority. */
|
|
59
|
+
readonly allowedSubscriptionSubjects: readonly string[];
|
|
60
|
+
}
|
|
48
61
|
/**
|
|
49
|
-
* Build the complete
|
|
62
|
+
* Build the complete directional subject restrictions for a workflow execution
|
|
63
|
+
* attempt.
|
|
50
64
|
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
65
|
+
* Message subjects include every static operation an attempt may originate.
|
|
66
|
+
* Subscription subjects include only the authority-delivered operation,
|
|
67
|
+
* control, and gate-response endpoints plus the dynamic per-execution
|
|
68
|
+
* cancellation endpoint.
|
|
69
|
+
* Subjects are statically enumerable even when the workflow content does not
|
|
70
|
+
* use every feature (e.g. state, delegation, artifacts, subagents) because
|
|
71
|
+
* the transport restriction is deny-by-default: listing a subject that the
|
|
56
72
|
* workflow never uses has no security impact. Delegate result finalization is
|
|
57
73
|
* routed through the static Authority gateway; dynamic finalizer subjects are
|
|
58
74
|
* never exposed to remote attempts.
|
|
59
75
|
* @param executionId - Workflow execution identifier for the dynamic cancel subject.
|
|
60
|
-
* @returns Complete
|
|
76
|
+
* @returns Complete directional subject restrictions for the execution attempt.
|
|
61
77
|
*/
|
|
62
|
-
declare function
|
|
78
|
+
declare function buildExecutionAttemptSubjectAccess(executionId: string): ExecutionAttemptSubjectAccess;
|
|
63
79
|
/**
|
|
64
80
|
* Register caller-provided bus access for one workflow execution attempt.
|
|
65
81
|
*
|
|
66
82
|
* Use this when a provider already owns secret delivery. The identity still
|
|
67
|
-
* receives the canonical execution peer kind, claim, and subject
|
|
68
|
-
*
|
|
83
|
+
* receives the canonical execution peer kind, claim, and directional subject
|
|
84
|
+
* restrictions.
|
|
85
|
+
* @param params - Attempt identity, execution claim, secret, and optional directional restrictions.
|
|
69
86
|
* @returns Registered secret plus cleanup handle.
|
|
70
87
|
*/
|
|
71
88
|
declare function registerWorkflowExecutionBusSecret(params: RegisterWorkflowExecutionBusSecretParams): WorkflowExecutionBusSecret;
|
|
@@ -77,9 +94,9 @@ declare function registerWorkflowExecutionBusSecret(params: RegisterWorkflowExec
|
|
|
77
94
|
* claim so bus handlers can verify execution-bound access via
|
|
78
95
|
* `peer.claims.executionId`.
|
|
79
96
|
*
|
|
80
|
-
* When
|
|
81
|
-
*
|
|
82
|
-
*
|
|
97
|
+
* When directional restrictions are not provided, the default matrix from
|
|
98
|
+
* {@link buildExecutionAttemptSubjectAccess} restricts the identity to the
|
|
99
|
+
* minimum outbound and subscription subjects a worker needs.
|
|
83
100
|
* @param params - Attempt and execution identifiers.
|
|
84
101
|
* @returns Secret plus cleanup handle.
|
|
85
102
|
*/
|
|
@@ -130,4 +147,4 @@ declare function captureWorkflowExecutionBusSecretCleanup(params: RotateWorkflow
|
|
|
130
147
|
*/
|
|
131
148
|
declare function resolveWorkflowExecutionBusSecret(executionAttemptId: string): string | undefined;
|
|
132
149
|
//#endregion
|
|
133
|
-
export { MintWorkflowExecutionBusSecretParams, RegisterWorkflowExecutionBusSecretParams, RotateWorkflowExecutionBusSecretParams, WorkflowExecutionBusSecret,
|
|
150
|
+
export { ExecutionAttemptSubjectAccess, MintWorkflowExecutionBusSecretParams, RegisterWorkflowExecutionBusSecretParams, RotateWorkflowExecutionBusSecretParams, WorkflowExecutionBusSecret, buildExecutionAttemptSubjectAccess, captureWorkflowExecutionBusSecretCleanup, mintOrRotateWorkflowExecutionBusSecret, mintWorkflowExecutionBusSecret, registerWorkflowExecutionBusSecret, resolveWorkflowExecutionBusSecret, rotateWorkflowExecutionBusSecret };
|
|
@@ -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.
|
|
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,o=g(i);return{secret:a,cleanup:c(n,a,{peerKind:`workflow-execution-attempt`,claims:{executionId:i},allowedMessageSubjects:e.allowedMessageSubjects??o.allowedMessageSubjects,allowedSubscriptionSubjects:e.allowedSubscriptionSubjects??o.allowedSubscriptionSubjects,requiredSubscriptionFilters:{[t(r.operation.deliver)]:{executionAttemptId:n},[t(r.control.deliver)]:{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 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-
|
|
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-CzUUoexw.mjs";
|
|
2
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,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-
|
|
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-l-wflI6V.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-C1ZHbv6e.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};
|
|
@@ -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
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,o as t}from"./json-value-DM-EjTC1.mjs";import{r as n,u as r}from"./kind-registration-
|
|
1
|
+
import{n as e,o as t}from"./json-value-DM-EjTC1.mjs";import{r as n,u as r}from"./kind-registration-Dzfo6kyb.mjs";import{t as i}from"./repo-context-cO-TLEGN.mjs";import{z as a}from"zod";const o=a.string().min(1).regex(/\S/),s=a.strictObject({refClass:a.literal(`artifact`),kind:o,id:o,revision:o}),c=`x-makaio-value-type`,l=`evidence/v1`,u=a.string().min(1).regex(/\S/),d=a.strictObject({kind:a.literal(`whole-source`)}),f=a.strictObject({kind:a.literal(`lines`),startLine:a.number().int().positive(),lineCount:a.number().int().positive()}),p=a.strictObject({kind:a.literal(`data-path`),path:n}),m=a.strictObject({kind:a.literal(`git-file`),repository:i.strict(),path:u,commit:a.string().regex(/^(?:[0-9a-fA-F]{40}|[0-9a-fA-F]{64})$/)}),h=a.strictObject({kind:a.literal(`confluence-page`),site:u,pageId:u,version:a.number().int().positive()}),g=a.strictObject({kind:a.literal(`artifact`),reference:s}),_=a.union([a.strictObject({source:m,location:a.union([d,f]),excerpt:a.string().optional()}),a.strictObject({source:h,location:d,excerpt:a.string().optional()}),a.strictObject({source:g,location:a.union([d,p]),excerpt:a.string().optional()})]).meta({title:`EvidenceValue`,description:`An immutable, directly cited source and its source-specific location.`,[c]:l}),v=a.string().regex(/^(?:\/(?:[^~/]|~[01])*)+$/,`Expected a data-relative JSON Pointer`),y=a.object({kind:a.string().min(1),id:a.string().min(1),displayName:a.string().optional()}),b=a.object({level:a.string().min(1),ids:a.record(a.string().min(1),a.string().min(1)).optional()}).superRefine((e,t)=>{e.level!==`global`&&(!e.ids||Object.keys(e.ids).length===0)&&t.addIssue({code:a.ZodIssueCode.custom,path:[`ids`],message:`ids is required when scope level is not 'global'`})}),x=a.object({level:a.string().min(1),ids:a.record(a.string().min(1),a.string().min(1)).optional()}),S=a.object({refClass:a.literal(`local`).default(`local`),artifact:s,localId:a.string().min(1)}),C=a.object({refClass:a.literal(`evidence`).default(`evidence`),kind:a.string().min(1),id:a.string().min(1),revision:a.string().min(1).optional(),locator:a.string().min(1).optional()}),w=a.strictObject({refClass:a.literal(`entity`),entityType:a.string().min(1),id:a.string().min(1)}),T=a.discriminatedUnion(`refClass`,[s,S,C,w]);function E(e){return!e||typeof e!=`object`||Array.isArray(e)||`refClass`in e?e:`artifact`in e&&`localId`in e?{...e,refClass:`local`}:`locator`in e||!(`revision`in e)?{...e,refClass:`evidence`}:{...e,refClass:`artifact`}}const D=a.preprocess(E,T),O=a.discriminatedUnion(`refClass`,[s.extend({revision:s.shape.revision.optional()}),S,C,w]);function k(e){return!e||typeof e!=`object`||Array.isArray(e)||`refClass`in e?e:`artifact`in e&&`localId`in e?{...e,refClass:`local`}:`locator`in e?{...e,refClass:`evidence`}:{...e,refClass:`artifact`}}const A=a.preprocess(k,O),j=a.object({type:a.string().min(1),sourceLocalId:a.string().min(1).regex(/\S/).optional(),target:D}),M=a.enum([`assumed`,`inferred`,`stated`,`confirmed`,`verified`]),N=a.object({kind:a.string().min(1),actor:y,timestamp:a.number().int().nonnegative(),detail:a.string().optional(),evidenceRef:D.optional()}),P=a.object({level:M,basis:a.array(N)}),F=a.object({id:a.string().min(1),kind:a.string().min(1),summary:a.string().min(1),detail:a.string().optional(),severity:a.enum([`info`,`warning`,`blocker`]).optional(),tags:a.array(a.string().min(1)).optional(),regarding:a.union([s,S]).optional(),evidence:a.union([s,C]).optional(),actor:y,timestamp:a.number().int().nonnegative()}),I=a.object({markdown:a.string().optional(),summary:a.string().optional(),plaintext:a.string().optional()}),L=a.object({kind:s.shape.kind,id:s.shape.id,revision:s.shape.revision,scope:b,schemaVersion:r,data:e,relations:a.array(j),evidence:a.array(_).optional(),confidence:P.optional(),representations:I.optional(),actor:y,timestamp:a.number().int().nonnegative(),createdAt:a.number().int().nonnegative().optional()}),R=a.object({type:a.string().min(1),symmetry:a.enum([`asymmetric`,`symmetric`]),implication:a.string().min(1).optional(),sourceKinds:a.array(a.string().min(1)).optional(),targetKinds:a.array(a.string().min(1)).optional(),targetRefClasses:a.array(a.enum([`artifact`,`local`,`evidence`,`entity`])).optional()}),z=a.object({kind:a.string().min(1).optional(),scope:x.optional(),ids:a.array(a.string().min(1)).optional(),currentOnly:a.boolean().optional(),search:a.string().optional(),relation:a.object({type:a.string().min(1).optional(),target:A.optional()}).optional(),confidence:a.object({maxLevel:M.optional(),minLevel:M.optional()}).optional(),indexed:a.record(a.string(),t).optional(),limit:a.number().int().min(1).optional()}),B=a.object({base:s,target:s}),V=a.object({base:L,target:L,changedPaths:a.array(a.string())});export{_ as C,l as S,w as _,z as a,R as b,j as c,L as d,b as f,P as g,M as h,F as i,D as l,N as m,B as n,x as o,v as p,V as r,A as s,y as t,I as u,C as v,s as w,c as x,S as y};
|
|
@@ -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>>>;
|
|
@@ -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
|
-
busUrl: z.ZodOptional<z.ZodString>;
|
|
106
105
|
scope: z.ZodString;
|
|
106
|
+
busUrl: z.ZodOptional<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
|
-
busUrl: z.ZodOptional<z.ZodString>;
|
|
209
208
|
scope: z.ZodString;
|
|
209
|
+
busUrl: z.ZodOptional<z.ZodString>;
|
|
210
210
|
}, z.core.$strip>, z.ZodObject<{
|
|
211
211
|
type: z.ZodLiteral<"container-isolated">;
|
|
212
212
|
id: z.ZodString;
|
|
@@ -331,6 +331,7 @@ declare const ArtifactRelationQueryTargetSchema: z.ZodPreprocess<z.ZodDiscrimina
|
|
|
331
331
|
*/
|
|
332
332
|
declare const ArtifactRelationSchema: z.ZodObject<{
|
|
333
333
|
type: z.ZodString;
|
|
334
|
+
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
334
335
|
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
335
336
|
refClass: z.ZodLiteral<"artifact">;
|
|
336
337
|
kind: z.ZodString;
|
|
@@ -542,6 +543,7 @@ declare const ArtifactRevisionSchema: z.ZodObject<{
|
|
|
542
543
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
543
544
|
relations: z.ZodArray<z.ZodObject<{
|
|
544
545
|
type: z.ZodString;
|
|
546
|
+
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
545
547
|
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
546
548
|
refClass: z.ZodLiteral<"artifact">;
|
|
547
549
|
kind: z.ZodString;
|
|
@@ -792,6 +794,7 @@ declare const ArtifactCompareResponseSchema: z.ZodObject<{
|
|
|
792
794
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
793
795
|
relations: z.ZodArray<z.ZodObject<{
|
|
794
796
|
type: z.ZodString;
|
|
797
|
+
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
795
798
|
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
796
799
|
refClass: z.ZodLiteral<"artifact">;
|
|
797
800
|
kind: z.ZodString;
|
|
@@ -934,6 +937,7 @@ declare const ArtifactCompareResponseSchema: z.ZodObject<{
|
|
|
934
937
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
935
938
|
relations: z.ZodArray<z.ZodObject<{
|
|
936
939
|
type: z.ZodString;
|
|
940
|
+
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
937
941
|
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
938
942
|
refClass: z.ZodLiteral<"artifact">;
|
|
939
943
|
kind: 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-2_D4iVbb.mjs";
|
|
2
|
+
import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../../namespace-Phxf0Lep.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-B6WkHnCQ.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-Phxf0Lep.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-2_D4iVbb.mjs";
|
|
2
2
|
export { AdapterRuntimeSchemas, GetMachineIdRequest, GetMachineIdRequestSchema, GetMachineIdResponse, GetMachineIdResponseSchema, ResolveIdRequest, ResolveIdRequestSchema, ResolveIdResponse, ResolveIdResponseSchema, ResolveLiveIdentityRequest, ResolveLiveIdentityRequestSchema, ResolveLiveIdentityResponse, ResolveLiveIdentityResponseSchema, ResolveNameRequest, ResolveNameRequestSchema, ResolveNameResponse, ResolveNameResponseSchema };
|
|
@@ -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
|
-
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-
|
|
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-CaBRbfhU.mjs";
|
|
2
|
+
import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../../namespace-BsQPRiMd.mjs";
|
|
3
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-nkix3hP7.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-BsQPRiMd.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-CaBRbfhU.mjs";
|
|
2
2
|
export { ContainerIsolatedExecutionTargetSchema, ContainerLocalExecutionTargetSchema, ExecutionTarget, ExecutionTargetInput, ExecutionTargetInputSchema, ExecutionTargetListQuery, ExecutionTargetListQuerySchema, ExecutionTargetResolveRequest, ExecutionTargetResolveRequestSchema, ExecutionTargetSchema, ExecutionTargetSchemas, ExecutionTargetType, ExecutionTargetTypeSchema, LocalExecutionTargetSchema };
|
|
@@ -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>>;
|