@makaio/framework 1.0.0-dev-1788966380232 → 1.0.0-dev-1788978977154
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/authority-state-bootstrap-B8jG1zI1.mjs +1 -0
- package/dist/contracts/adapter/index.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/facet/index.d.mts +1 -1
- package/dist/contracts/harness/index.d.mts +1 -1
- package/dist/contracts/index.d.mts +96 -230
- package/dist/contracts/materialization/index.d.mts +2 -2
- 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/workflow/index.d.mts +3 -3
- package/dist/{execution-attempt-repository--RVils5-.d.mts → execution-attempt-repository-DSpz2kyW.d.mts} +7 -25
- package/dist/{index-BqR2xDu6.d.mts → index-2ww5IWeo.d.mts} +67 -67
- package/dist/{index-LjLUr3Dm.d.mts → index-BIlFSGnW.d.mts} +10 -10
- package/dist/{index-nJvYTAbD.d.mts → index-BfwHYuRf.d.mts} +1 -1
- package/dist/{index-BKwYE1Qk.d.mts → index-Bzxs2nVR.d.mts} +5 -5
- package/dist/{index-MtDz_goH.d.mts → index-CQ8MVY5G.d.mts} +251 -63
- package/dist/{index-09eal6WI2.d.mts → index-CVBlYxKV2.d.mts} +11 -11
- package/dist/{index-DO633_D-.d.mts → index-CWq-9Mpk.d.mts} +38 -38
- package/dist/{index-BkQlL0Pl.d.mts → index-CWuPfOzU.d.mts} +6 -6
- package/dist/{index-Bxq_zO2E.d.mts → index-CilWtThn.d.mts} +4 -4
- package/dist/{index-B7wjmaev.d.mts → index-CjMMvZch.d.mts} +12 -12
- package/dist/{index-ud9i9pue.d.mts → index-DCHdW5g-.d.mts} +16 -16
- package/dist/{index-D7IZQNhD.d.mts → index-D_oDoazF.d.mts} +1 -1
- package/dist/{index-DU9Y9tes2.d.mts → index-Dckvm0Ml2.d.mts} +12 -12
- package/dist/{index-DzlGAEws.d.mts → index-Dzozmb5u.d.mts} +1 -1
- package/dist/{index-v9TbeVee2.d.mts → index-OQeNNbiX2.d.mts} +6 -6
- package/dist/{index-Bnm0QvJ4.d.mts → index-VLZJ3Scz.d.mts} +14 -14
- package/dist/{index-BT5qcsEf2.d.mts → index-h7_ddTvG2.d.mts} +15 -15
- 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-wuGMWlyz.d.mts → namespace-B0_Sg-1m.d.mts} +2 -2
- package/dist/{namespace-BYsKOw-g.d.mts → namespace-CY-9Evdf.d.mts} +3 -3
- package/dist/package-BDaNGoBY.mjs +7 -0
- package/dist/{package-Bl0mcGb8.d.mts → package-DQgqWIcX.d.mts} +45 -41
- package/dist/package.json +1 -1
- package/dist/runtime-node/index.d.mts +1 -1
- package/dist/runtime-node/index.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-D2HmGmCt.d.mts → schemas-CSeLgroC.d.mts} +1 -1
- package/dist/{schemas-BYyT43gX.d.mts → schemas-C_kxk6gr.d.mts} +4 -4
- package/dist/{schemas-CvUe_yff.d.mts → schemas-uWyTgMWm.d.mts} +1 -1
- 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/filesystem/namespace.d.mts +6 -6
- package/dist/services/filesystem/schemas.d.mts +3 -3
- package/dist/services/harness/index.d.mts +3 -3
- package/dist/services/index.d.mts +13 -13
- package/dist/services/session/index.d.mts +1 -1
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/settings/namespace.d.mts +4 -4
- package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
- package/dist/services/subagent-template/index.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/{transition-CgsrmsfE.d.mts → transition-h6UZHLGq.d.mts} +1 -1
- package/dist/{types-ZvPhKp3j.d.mts → types-Bcsp_FCp.d.mts} +6 -6
- package/dist/{view-builder-D54kvyf7.d.mts → view-builder-BMmmF-Mf.d.mts} +11 -11
- package/dist/workflow-engine/execution-attempt-repository.d.mts +1 -1
- package/dist/workflow-engine/index.d.mts +64 -64
- 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/provider-operation.d.mts +1 -1
- package/dist/workflow-engine/testing/conformance.d.mts +1 -1
- package/dist/workflow-engine/testing/index.d.mts +15 -4
- package/dist/workflow-engine/testing/index.mjs +1 -1
- package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
- package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
- package/dist/workflow-worker-BAO7pQpx.mjs +2 -0
- package/package.json +1 -1
- package/dist/authority-state-bootstrap-DgoHPc9J.mjs +0 -1
- package/dist/package-B-xpYKe8.mjs +0 -7
- package/dist/workflow-worker-CrnDwpkP.mjs +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { x as ArtifactRevision$1 } from "./schemas-
|
|
1
|
+
import { x as ArtifactRevision$1 } from "./schemas-uWyTgMWm.mjs";
|
|
2
2
|
import { n as AutomationTriggerBinding$1, o as AutomationTriggerParams, u as DefinedAutomationTrigger } from "./definition-6d5JBi55.mjs";
|
|
3
3
|
import { a as JsonObjectContractSchema, l as JsonValue$1 } from "./json-value-BKUDMT7k.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
@@ -145,12 +145,12 @@ type WorkflowSourceLocation = z.infer<typeof WorkflowSourceLocationSchema>;
|
|
|
145
145
|
* - `sequence` — ordered list of child nodes (the structural container)
|
|
146
146
|
*/
|
|
147
147
|
declare const WorkflowNodeTypeSchema: z.ZodEnum<{
|
|
148
|
-
sequence: "sequence";
|
|
149
148
|
station: "station";
|
|
150
149
|
"delegate-agent": "delegate-agent";
|
|
151
150
|
"delegate-role": "delegate-role";
|
|
152
|
-
|
|
151
|
+
sequence: "sequence";
|
|
153
152
|
parallel: "parallel";
|
|
153
|
+
gate: "gate";
|
|
154
154
|
iterate: "iterate";
|
|
155
155
|
"iterate-chain": "iterate-chain";
|
|
156
156
|
loop: "loop";
|
|
@@ -814,8 +814,8 @@ declare const ExecutionStatusSchema$1: z.ZodEnum<{
|
|
|
814
814
|
completed: "completed";
|
|
815
815
|
cancelled: "cancelled";
|
|
816
816
|
failed: "failed";
|
|
817
|
-
paused: "paused";
|
|
818
817
|
running: "running";
|
|
818
|
+
paused: "paused";
|
|
819
819
|
finalizing: "finalizing";
|
|
820
820
|
}>;
|
|
821
821
|
type ExecutionStatus = z.infer<typeof ExecutionStatusSchema$1>;
|
|
@@ -831,8 +831,8 @@ declare const WorkflowExecutionSchema$1: z.ZodObject<{
|
|
|
831
831
|
completed: "completed";
|
|
832
832
|
cancelled: "cancelled";
|
|
833
833
|
failed: "failed";
|
|
834
|
-
paused: "paused";
|
|
835
834
|
running: "running";
|
|
835
|
+
paused: "paused";
|
|
836
836
|
finalizing: "finalizing";
|
|
837
837
|
}>;
|
|
838
838
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
|
|
@@ -872,12 +872,12 @@ declare const WorkflowFrameStateSchema$1: z.ZodObject<{
|
|
|
872
872
|
frameId: z.ZodString;
|
|
873
873
|
nodeId: z.ZodString;
|
|
874
874
|
nodeType: z.ZodEnum<{
|
|
875
|
-
sequence: "sequence";
|
|
876
875
|
station: "station";
|
|
877
876
|
"delegate-agent": "delegate-agent";
|
|
878
877
|
"delegate-role": "delegate-role";
|
|
879
|
-
|
|
878
|
+
sequence: "sequence";
|
|
880
879
|
parallel: "parallel";
|
|
880
|
+
gate: "gate";
|
|
881
881
|
iterate: "iterate";
|
|
882
882
|
"iterate-chain": "iterate-chain";
|
|
883
883
|
loop: "loop";
|
|
@@ -1227,8 +1227,8 @@ declare const ExecutionListQuerySchema$1: z.ZodObject<{
|
|
|
1227
1227
|
completed: "completed";
|
|
1228
1228
|
cancelled: "cancelled";
|
|
1229
1229
|
failed: "failed";
|
|
1230
|
-
paused: "paused";
|
|
1231
1230
|
running: "running";
|
|
1231
|
+
paused: "paused";
|
|
1232
1232
|
finalizing: "finalizing";
|
|
1233
1233
|
}>>;
|
|
1234
1234
|
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
@@ -3716,8 +3716,8 @@ declare const WorkflowSchemas: {
|
|
|
3716
3716
|
completed: "completed";
|
|
3717
3717
|
cancelled: "cancelled";
|
|
3718
3718
|
failed: "failed";
|
|
3719
|
-
paused: "paused";
|
|
3720
3719
|
running: "running";
|
|
3720
|
+
paused: "paused";
|
|
3721
3721
|
finalizing: "finalizing";
|
|
3722
3722
|
}>;
|
|
3723
3723
|
}, z.core.$strip>;
|
|
@@ -3795,8 +3795,8 @@ declare const WorkflowSchemas: {
|
|
|
3795
3795
|
completed: "completed";
|
|
3796
3796
|
cancelled: "cancelled";
|
|
3797
3797
|
failed: "failed";
|
|
3798
|
-
paused: "paused";
|
|
3799
3798
|
running: "running";
|
|
3799
|
+
paused: "paused";
|
|
3800
3800
|
finalizing: "finalizing";
|
|
3801
3801
|
}>;
|
|
3802
3802
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
|
|
@@ -3853,8 +3853,8 @@ declare const WorkflowSchemas: {
|
|
|
3853
3853
|
completed: "completed";
|
|
3854
3854
|
cancelled: "cancelled";
|
|
3855
3855
|
failed: "failed";
|
|
3856
|
-
paused: "paused";
|
|
3857
3856
|
running: "running";
|
|
3857
|
+
paused: "paused";
|
|
3858
3858
|
finalizing: "finalizing";
|
|
3859
3859
|
}>>;
|
|
3860
3860
|
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
@@ -3877,8 +3877,8 @@ declare const WorkflowSchemas: {
|
|
|
3877
3877
|
completed: "completed";
|
|
3878
3878
|
cancelled: "cancelled";
|
|
3879
3879
|
failed: "failed";
|
|
3880
|
-
paused: "paused";
|
|
3881
3880
|
running: "running";
|
|
3881
|
+
paused: "paused";
|
|
3882
3882
|
finalizing: "finalizing";
|
|
3883
3883
|
}>;
|
|
3884
3884
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
|
|
@@ -3934,8 +3934,8 @@ declare const WorkflowSchemas: {
|
|
|
3934
3934
|
completed: "completed";
|
|
3935
3935
|
cancelled: "cancelled";
|
|
3936
3936
|
failed: "failed";
|
|
3937
|
-
paused: "paused";
|
|
3938
3937
|
running: "running";
|
|
3938
|
+
paused: "paused";
|
|
3939
3939
|
finalizing: "finalizing";
|
|
3940
3940
|
}>;
|
|
3941
3941
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
|
|
@@ -4115,12 +4115,12 @@ declare const WorkflowSchemas: {
|
|
|
4115
4115
|
frameId: z.ZodString;
|
|
4116
4116
|
nodeId: z.ZodString;
|
|
4117
4117
|
nodeType: z.ZodEnum<{
|
|
4118
|
-
sequence: "sequence";
|
|
4119
4118
|
station: "station";
|
|
4120
4119
|
"delegate-agent": "delegate-agent";
|
|
4121
4120
|
"delegate-role": "delegate-role";
|
|
4122
|
-
|
|
4121
|
+
sequence: "sequence";
|
|
4123
4122
|
parallel: "parallel";
|
|
4123
|
+
gate: "gate";
|
|
4124
4124
|
iterate: "iterate";
|
|
4125
4125
|
"iterate-chain": "iterate-chain";
|
|
4126
4126
|
loop: "loop";
|
|
@@ -4694,8 +4694,8 @@ declare const WorkflowSchemas: {
|
|
|
4694
4694
|
"exit-and-resume": "exit-and-resume";
|
|
4695
4695
|
}>>;
|
|
4696
4696
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
4697
|
-
authority: "authority";
|
|
4698
4697
|
worker: "worker";
|
|
4698
|
+
authority: "authority";
|
|
4699
4699
|
}>>;
|
|
4700
4700
|
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4701
4701
|
kind: z.ZodLiteral<"local-directory">;
|
|
@@ -4933,12 +4933,12 @@ declare const WorkflowSchemas: {
|
|
|
4933
4933
|
frameId: z.ZodString;
|
|
4934
4934
|
nodeId: z.ZodString;
|
|
4935
4935
|
nodeType: z.ZodEnum<{
|
|
4936
|
-
sequence: "sequence";
|
|
4937
4936
|
station: "station";
|
|
4938
4937
|
"delegate-agent": "delegate-agent";
|
|
4939
4938
|
"delegate-role": "delegate-role";
|
|
4940
|
-
|
|
4939
|
+
sequence: "sequence";
|
|
4941
4940
|
parallel: "parallel";
|
|
4941
|
+
gate: "gate";
|
|
4942
4942
|
iterate: "iterate";
|
|
4943
4943
|
"iterate-chain": "iterate-chain";
|
|
4944
4944
|
loop: "loop";
|
|
@@ -5063,8 +5063,8 @@ declare const WorkflowSchemas: {
|
|
|
5063
5063
|
completed: "completed";
|
|
5064
5064
|
cancelled: "cancelled";
|
|
5065
5065
|
failed: "failed";
|
|
5066
|
-
paused: "paused";
|
|
5067
5066
|
running: "running";
|
|
5067
|
+
paused: "paused";
|
|
5068
5068
|
finalizing: "finalizing";
|
|
5069
5069
|
}>;
|
|
5070
5070
|
startedAt: z.ZodNumber;
|
|
@@ -5094,12 +5094,12 @@ declare const WorkflowSchemas: {
|
|
|
5094
5094
|
frameId: z.ZodString;
|
|
5095
5095
|
nodeId: z.ZodString;
|
|
5096
5096
|
nodeType: z.ZodEnum<{
|
|
5097
|
-
sequence: "sequence";
|
|
5098
5097
|
station: "station";
|
|
5099
5098
|
"delegate-agent": "delegate-agent";
|
|
5100
5099
|
"delegate-role": "delegate-role";
|
|
5101
|
-
|
|
5100
|
+
sequence: "sequence";
|
|
5102
5101
|
parallel: "parallel";
|
|
5102
|
+
gate: "gate";
|
|
5103
5103
|
iterate: "iterate";
|
|
5104
5104
|
"iterate-chain": "iterate-chain";
|
|
5105
5105
|
loop: "loop";
|
|
@@ -5141,8 +5141,8 @@ declare const WorkflowSchemas: {
|
|
|
5141
5141
|
completed: "completed";
|
|
5142
5142
|
cancelled: "cancelled";
|
|
5143
5143
|
failed: "failed";
|
|
5144
|
-
paused: "paused";
|
|
5145
5144
|
running: "running";
|
|
5145
|
+
paused: "paused";
|
|
5146
5146
|
finalizing: "finalizing";
|
|
5147
5147
|
}>>;
|
|
5148
5148
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5158,8 +5158,8 @@ declare const WorkflowSchemas: {
|
|
|
5158
5158
|
completed: "completed";
|
|
5159
5159
|
cancelled: "cancelled";
|
|
5160
5160
|
failed: "failed";
|
|
5161
|
-
paused: "paused";
|
|
5162
5161
|
running: "running";
|
|
5162
|
+
paused: "paused";
|
|
5163
5163
|
finalizing: "finalizing";
|
|
5164
5164
|
}>;
|
|
5165
5165
|
startedAt: z.ZodNumber;
|
|
@@ -6683,8 +6683,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6683
6683
|
completed: "completed";
|
|
6684
6684
|
cancelled: "cancelled";
|
|
6685
6685
|
failed: "failed";
|
|
6686
|
-
paused: "paused";
|
|
6687
6686
|
running: "running";
|
|
6687
|
+
paused: "paused";
|
|
6688
6688
|
finalizing: "finalizing";
|
|
6689
6689
|
}>;
|
|
6690
6690
|
}, z.core.$strip>;
|
|
@@ -6762,8 +6762,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6762
6762
|
completed: "completed";
|
|
6763
6763
|
cancelled: "cancelled";
|
|
6764
6764
|
failed: "failed";
|
|
6765
|
-
paused: "paused";
|
|
6766
6765
|
running: "running";
|
|
6766
|
+
paused: "paused";
|
|
6767
6767
|
finalizing: "finalizing";
|
|
6768
6768
|
}>;
|
|
6769
6769
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
|
|
@@ -6820,8 +6820,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6820
6820
|
completed: "completed";
|
|
6821
6821
|
cancelled: "cancelled";
|
|
6822
6822
|
failed: "failed";
|
|
6823
|
-
paused: "paused";
|
|
6824
6823
|
running: "running";
|
|
6824
|
+
paused: "paused";
|
|
6825
6825
|
finalizing: "finalizing";
|
|
6826
6826
|
}>>;
|
|
6827
6827
|
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
@@ -6844,8 +6844,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6844
6844
|
completed: "completed";
|
|
6845
6845
|
cancelled: "cancelled";
|
|
6846
6846
|
failed: "failed";
|
|
6847
|
-
paused: "paused";
|
|
6848
6847
|
running: "running";
|
|
6848
|
+
paused: "paused";
|
|
6849
6849
|
finalizing: "finalizing";
|
|
6850
6850
|
}>;
|
|
6851
6851
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
|
|
@@ -6901,8 +6901,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6901
6901
|
completed: "completed";
|
|
6902
6902
|
cancelled: "cancelled";
|
|
6903
6903
|
failed: "failed";
|
|
6904
|
-
paused: "paused";
|
|
6905
6904
|
running: "running";
|
|
6905
|
+
paused: "paused";
|
|
6906
6906
|
finalizing: "finalizing";
|
|
6907
6907
|
}>;
|
|
6908
6908
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
|
|
@@ -7082,12 +7082,12 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
7082
7082
|
frameId: z.ZodString;
|
|
7083
7083
|
nodeId: z.ZodString;
|
|
7084
7084
|
nodeType: z.ZodEnum<{
|
|
7085
|
-
sequence: "sequence";
|
|
7086
7085
|
station: "station";
|
|
7087
7086
|
"delegate-agent": "delegate-agent";
|
|
7088
7087
|
"delegate-role": "delegate-role";
|
|
7089
|
-
|
|
7088
|
+
sequence: "sequence";
|
|
7090
7089
|
parallel: "parallel";
|
|
7090
|
+
gate: "gate";
|
|
7091
7091
|
iterate: "iterate";
|
|
7092
7092
|
"iterate-chain": "iterate-chain";
|
|
7093
7093
|
loop: "loop";
|
|
@@ -7661,8 +7661,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
7661
7661
|
"exit-and-resume": "exit-and-resume";
|
|
7662
7662
|
}>>;
|
|
7663
7663
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
7664
|
-
authority: "authority";
|
|
7665
7664
|
worker: "worker";
|
|
7665
|
+
authority: "authority";
|
|
7666
7666
|
}>>;
|
|
7667
7667
|
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7668
7668
|
kind: z.ZodLiteral<"local-directory">;
|
|
@@ -7900,12 +7900,12 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
7900
7900
|
frameId: z.ZodString;
|
|
7901
7901
|
nodeId: z.ZodString;
|
|
7902
7902
|
nodeType: z.ZodEnum<{
|
|
7903
|
-
sequence: "sequence";
|
|
7904
7903
|
station: "station";
|
|
7905
7904
|
"delegate-agent": "delegate-agent";
|
|
7906
7905
|
"delegate-role": "delegate-role";
|
|
7907
|
-
|
|
7906
|
+
sequence: "sequence";
|
|
7908
7907
|
parallel: "parallel";
|
|
7908
|
+
gate: "gate";
|
|
7909
7909
|
iterate: "iterate";
|
|
7910
7910
|
"iterate-chain": "iterate-chain";
|
|
7911
7911
|
loop: "loop";
|
|
@@ -8030,8 +8030,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
8030
8030
|
completed: "completed";
|
|
8031
8031
|
cancelled: "cancelled";
|
|
8032
8032
|
failed: "failed";
|
|
8033
|
-
paused: "paused";
|
|
8034
8033
|
running: "running";
|
|
8034
|
+
paused: "paused";
|
|
8035
8035
|
finalizing: "finalizing";
|
|
8036
8036
|
}>;
|
|
8037
8037
|
startedAt: z.ZodNumber;
|
|
@@ -8061,12 +8061,12 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
8061
8061
|
frameId: z.ZodString;
|
|
8062
8062
|
nodeId: z.ZodString;
|
|
8063
8063
|
nodeType: z.ZodEnum<{
|
|
8064
|
-
sequence: "sequence";
|
|
8065
8064
|
station: "station";
|
|
8066
8065
|
"delegate-agent": "delegate-agent";
|
|
8067
8066
|
"delegate-role": "delegate-role";
|
|
8068
|
-
|
|
8067
|
+
sequence: "sequence";
|
|
8069
8068
|
parallel: "parallel";
|
|
8069
|
+
gate: "gate";
|
|
8070
8070
|
iterate: "iterate";
|
|
8071
8071
|
"iterate-chain": "iterate-chain";
|
|
8072
8072
|
loop: "loop";
|
|
@@ -8108,8 +8108,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
8108
8108
|
completed: "completed";
|
|
8109
8109
|
cancelled: "cancelled";
|
|
8110
8110
|
failed: "failed";
|
|
8111
|
-
paused: "paused";
|
|
8112
8111
|
running: "running";
|
|
8112
|
+
paused: "paused";
|
|
8113
8113
|
finalizing: "finalizing";
|
|
8114
8114
|
}>>;
|
|
8115
8115
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8125,8 +8125,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
8125
8125
|
completed: "completed";
|
|
8126
8126
|
cancelled: "cancelled";
|
|
8127
8127
|
failed: "failed";
|
|
8128
|
-
paused: "paused";
|
|
8129
8128
|
running: "running";
|
|
8129
|
+
paused: "paused";
|
|
8130
8130
|
finalizing: "finalizing";
|
|
8131
8131
|
}>;
|
|
8132
8132
|
startedAt: z.ZodNumber;
|
|
@@ -9650,8 +9650,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9650
9650
|
completed: "completed";
|
|
9651
9651
|
cancelled: "cancelled";
|
|
9652
9652
|
failed: "failed";
|
|
9653
|
-
paused: "paused";
|
|
9654
9653
|
running: "running";
|
|
9654
|
+
paused: "paused";
|
|
9655
9655
|
finalizing: "finalizing";
|
|
9656
9656
|
}>;
|
|
9657
9657
|
}, z.core.$strip>;
|
|
@@ -9729,8 +9729,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9729
9729
|
completed: "completed";
|
|
9730
9730
|
cancelled: "cancelled";
|
|
9731
9731
|
failed: "failed";
|
|
9732
|
-
paused: "paused";
|
|
9733
9732
|
running: "running";
|
|
9733
|
+
paused: "paused";
|
|
9734
9734
|
finalizing: "finalizing";
|
|
9735
9735
|
}>;
|
|
9736
9736
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
|
|
@@ -9787,8 +9787,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9787
9787
|
completed: "completed";
|
|
9788
9788
|
cancelled: "cancelled";
|
|
9789
9789
|
failed: "failed";
|
|
9790
|
-
paused: "paused";
|
|
9791
9790
|
running: "running";
|
|
9791
|
+
paused: "paused";
|
|
9792
9792
|
finalizing: "finalizing";
|
|
9793
9793
|
}>>;
|
|
9794
9794
|
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
@@ -9811,8 +9811,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9811
9811
|
completed: "completed";
|
|
9812
9812
|
cancelled: "cancelled";
|
|
9813
9813
|
failed: "failed";
|
|
9814
|
-
paused: "paused";
|
|
9815
9814
|
running: "running";
|
|
9815
|
+
paused: "paused";
|
|
9816
9816
|
finalizing: "finalizing";
|
|
9817
9817
|
}>;
|
|
9818
9818
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
|
|
@@ -9868,8 +9868,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9868
9868
|
completed: "completed";
|
|
9869
9869
|
cancelled: "cancelled";
|
|
9870
9870
|
failed: "failed";
|
|
9871
|
-
paused: "paused";
|
|
9872
9871
|
running: "running";
|
|
9872
|
+
paused: "paused";
|
|
9873
9873
|
finalizing: "finalizing";
|
|
9874
9874
|
}>;
|
|
9875
9875
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
|
|
@@ -10049,12 +10049,12 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
10049
10049
|
frameId: z.ZodString;
|
|
10050
10050
|
nodeId: z.ZodString;
|
|
10051
10051
|
nodeType: z.ZodEnum<{
|
|
10052
|
-
sequence: "sequence";
|
|
10053
10052
|
station: "station";
|
|
10054
10053
|
"delegate-agent": "delegate-agent";
|
|
10055
10054
|
"delegate-role": "delegate-role";
|
|
10056
|
-
|
|
10055
|
+
sequence: "sequence";
|
|
10057
10056
|
parallel: "parallel";
|
|
10057
|
+
gate: "gate";
|
|
10058
10058
|
iterate: "iterate";
|
|
10059
10059
|
"iterate-chain": "iterate-chain";
|
|
10060
10060
|
loop: "loop";
|
|
@@ -10628,8 +10628,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
10628
10628
|
"exit-and-resume": "exit-and-resume";
|
|
10629
10629
|
}>>;
|
|
10630
10630
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
10631
|
-
authority: "authority";
|
|
10632
10631
|
worker: "worker";
|
|
10632
|
+
authority: "authority";
|
|
10633
10633
|
}>>;
|
|
10634
10634
|
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10635
10635
|
kind: z.ZodLiteral<"local-directory">;
|
|
@@ -10867,12 +10867,12 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
10867
10867
|
frameId: z.ZodString;
|
|
10868
10868
|
nodeId: z.ZodString;
|
|
10869
10869
|
nodeType: z.ZodEnum<{
|
|
10870
|
-
sequence: "sequence";
|
|
10871
10870
|
station: "station";
|
|
10872
10871
|
"delegate-agent": "delegate-agent";
|
|
10873
10872
|
"delegate-role": "delegate-role";
|
|
10874
|
-
|
|
10873
|
+
sequence: "sequence";
|
|
10875
10874
|
parallel: "parallel";
|
|
10875
|
+
gate: "gate";
|
|
10876
10876
|
iterate: "iterate";
|
|
10877
10877
|
"iterate-chain": "iterate-chain";
|
|
10878
10878
|
loop: "loop";
|
|
@@ -10997,8 +10997,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
10997
10997
|
completed: "completed";
|
|
10998
10998
|
cancelled: "cancelled";
|
|
10999
10999
|
failed: "failed";
|
|
11000
|
-
paused: "paused";
|
|
11001
11000
|
running: "running";
|
|
11001
|
+
paused: "paused";
|
|
11002
11002
|
finalizing: "finalizing";
|
|
11003
11003
|
}>;
|
|
11004
11004
|
startedAt: z.ZodNumber;
|
|
@@ -11028,12 +11028,12 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
11028
11028
|
frameId: z.ZodString;
|
|
11029
11029
|
nodeId: z.ZodString;
|
|
11030
11030
|
nodeType: z.ZodEnum<{
|
|
11031
|
-
sequence: "sequence";
|
|
11032
11031
|
station: "station";
|
|
11033
11032
|
"delegate-agent": "delegate-agent";
|
|
11034
11033
|
"delegate-role": "delegate-role";
|
|
11035
|
-
|
|
11034
|
+
sequence: "sequence";
|
|
11036
11035
|
parallel: "parallel";
|
|
11036
|
+
gate: "gate";
|
|
11037
11037
|
iterate: "iterate";
|
|
11038
11038
|
"iterate-chain": "iterate-chain";
|
|
11039
11039
|
loop: "loop";
|
|
@@ -11075,8 +11075,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
11075
11075
|
completed: "completed";
|
|
11076
11076
|
cancelled: "cancelled";
|
|
11077
11077
|
failed: "failed";
|
|
11078
|
-
paused: "paused";
|
|
11079
11078
|
running: "running";
|
|
11079
|
+
paused: "paused";
|
|
11080
11080
|
finalizing: "finalizing";
|
|
11081
11081
|
}>>;
|
|
11082
11082
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11092,8 +11092,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
11092
11092
|
completed: "completed";
|
|
11093
11093
|
cancelled: "cancelled";
|
|
11094
11094
|
failed: "failed";
|
|
11095
|
-
paused: "paused";
|
|
11096
11095
|
running: "running";
|
|
11096
|
+
paused: "paused";
|
|
11097
11097
|
finalizing: "finalizing";
|
|
11098
11098
|
}>;
|
|
11099
11099
|
startedAt: z.ZodNumber;
|
|
@@ -11411,8 +11411,8 @@ declare const WorkflowRunContextSchema$1: z.ZodObject<{
|
|
|
11411
11411
|
"exit-and-resume": "exit-and-resume";
|
|
11412
11412
|
}>>;
|
|
11413
11413
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
11414
|
-
authority: "authority";
|
|
11415
11414
|
worker: "worker";
|
|
11415
|
+
authority: "authority";
|
|
11416
11416
|
}>>;
|
|
11417
11417
|
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11418
11418
|
kind: z.ZodLiteral<"local-directory">;
|
|
@@ -11557,6 +11557,171 @@ interface ProjectedWorkflowGraph {
|
|
|
11557
11557
|
*/
|
|
11558
11558
|
declare function projectWorkflowGraph(definition: WorkflowDefinition$1): ProjectedWorkflowGraph;
|
|
11559
11559
|
//#endregion
|
|
11560
|
+
//#region core/contracts/src/execution-attempt/instruction.d.ts
|
|
11561
|
+
/** One already-authorized setup command; credentials are injected locally, never stored here. */
|
|
11562
|
+
declare const WorkspaceSetupCommandSchema: z.ZodObject<{
|
|
11563
|
+
command: z.ZodString;
|
|
11564
|
+
args: z.ZodArray<z.ZodString>;
|
|
11565
|
+
env: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
11566
|
+
timeoutMs: z.ZodNumber;
|
|
11567
|
+
}, z.core.$strict>;
|
|
11568
|
+
/** Portable working-area requirement; the host supplies the concrete local root separately. */
|
|
11569
|
+
declare const WorkspaceRequirementSchema: z.ZodObject<{
|
|
11570
|
+
provisioning: z.ZodEnum<{
|
|
11571
|
+
create: "create";
|
|
11572
|
+
bind: "bind";
|
|
11573
|
+
}>;
|
|
11574
|
+
custody: z.ZodEnum<{
|
|
11575
|
+
external: "external";
|
|
11576
|
+
disposable: "disposable";
|
|
11577
|
+
}>;
|
|
11578
|
+
sourceRoots: z.ZodArray<z.ZodObject<{
|
|
11579
|
+
id: z.ZodString;
|
|
11580
|
+
path: z.ZodString;
|
|
11581
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
11582
|
+
kind: z.ZodString;
|
|
11583
|
+
input: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
|
|
11584
|
+
}, z.core.$strict>>;
|
|
11585
|
+
}, z.core.$strict>>;
|
|
11586
|
+
setup: z.ZodArray<z.ZodObject<{
|
|
11587
|
+
command: z.ZodString;
|
|
11588
|
+
args: z.ZodArray<z.ZodString>;
|
|
11589
|
+
env: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
11590
|
+
timeoutMs: z.ZodNumber;
|
|
11591
|
+
}, z.core.$strict>>;
|
|
11592
|
+
}, z.core.$strict>;
|
|
11593
|
+
/** What must survive before destructive release; an empty list explicitly declares scratch work. */
|
|
11594
|
+
declare const ExecutionPreservationRequirementsSchema: z.ZodObject<{
|
|
11595
|
+
required: z.ZodArray<z.ZodEnum<{
|
|
11596
|
+
"source-state": "source-state";
|
|
11597
|
+
diagnostics: "diagnostics";
|
|
11598
|
+
"workspace-state": "workspace-state";
|
|
11599
|
+
"live-state": "live-state";
|
|
11600
|
+
}>>;
|
|
11601
|
+
}, z.core.$strict>;
|
|
11602
|
+
/** Frozen non-secret assignment bound by the execution owner to one Attempt. */
|
|
11603
|
+
declare const ExecutionAttemptInstructionSchema$1: z.ZodObject<{
|
|
11604
|
+
id: z.ZodString;
|
|
11605
|
+
revision: z.ZodString;
|
|
11606
|
+
workload: z.ZodObject<{
|
|
11607
|
+
kind: z.ZodString;
|
|
11608
|
+
version: z.ZodString;
|
|
11609
|
+
input: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
|
|
11610
|
+
}, z.core.$strict>;
|
|
11611
|
+
workspace: z.ZodOptional<z.ZodObject<{
|
|
11612
|
+
provisioning: z.ZodEnum<{
|
|
11613
|
+
create: "create";
|
|
11614
|
+
bind: "bind";
|
|
11615
|
+
}>;
|
|
11616
|
+
custody: z.ZodEnum<{
|
|
11617
|
+
external: "external";
|
|
11618
|
+
disposable: "disposable";
|
|
11619
|
+
}>;
|
|
11620
|
+
sourceRoots: z.ZodArray<z.ZodObject<{
|
|
11621
|
+
id: z.ZodString;
|
|
11622
|
+
path: z.ZodString;
|
|
11623
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
11624
|
+
kind: z.ZodString;
|
|
11625
|
+
input: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
|
|
11626
|
+
}, z.core.$strict>>;
|
|
11627
|
+
}, z.core.$strict>>;
|
|
11628
|
+
setup: z.ZodArray<z.ZodObject<{
|
|
11629
|
+
command: z.ZodString;
|
|
11630
|
+
args: z.ZodArray<z.ZodString>;
|
|
11631
|
+
env: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
11632
|
+
timeoutMs: z.ZodNumber;
|
|
11633
|
+
}, z.core.$strict>>;
|
|
11634
|
+
}, z.core.$strict>>;
|
|
11635
|
+
preservation: z.ZodObject<{
|
|
11636
|
+
required: z.ZodArray<z.ZodEnum<{
|
|
11637
|
+
"source-state": "source-state";
|
|
11638
|
+
diagnostics: "diagnostics";
|
|
11639
|
+
"workspace-state": "workspace-state";
|
|
11640
|
+
"live-state": "live-state";
|
|
11641
|
+
}>>;
|
|
11642
|
+
}, z.core.$strict>;
|
|
11643
|
+
}, z.core.$strict>;
|
|
11644
|
+
/** Local filesystem realization, valid only for the reporting Attempt/runtime generation. */
|
|
11645
|
+
declare const ExecutionAttemptWorkspaceBindingSchema: z.ZodObject<{
|
|
11646
|
+
workspaceRoot: z.ZodString;
|
|
11647
|
+
sourceRoots: z.ZodArray<z.ZodObject<{
|
|
11648
|
+
id: z.ZodString;
|
|
11649
|
+
path: z.ZodString;
|
|
11650
|
+
}, z.core.$strict>>;
|
|
11651
|
+
}, z.core.$strict>;
|
|
11652
|
+
/** Successful, non-terminal Preparation result; its acceptance permits Invocation. */
|
|
11653
|
+
declare const ExecutionAttemptPreparationResultSchema$1: z.ZodObject<{
|
|
11654
|
+
kind: z.ZodLiteral<"workspace-prepared">;
|
|
11655
|
+
binding: z.ZodObject<{
|
|
11656
|
+
workspaceRoot: z.ZodString;
|
|
11657
|
+
sourceRoots: z.ZodArray<z.ZodObject<{
|
|
11658
|
+
id: z.ZodString;
|
|
11659
|
+
path: z.ZodString;
|
|
11660
|
+
}, z.core.$strict>>;
|
|
11661
|
+
}, z.core.$strict>;
|
|
11662
|
+
}, z.core.$strict>;
|
|
11663
|
+
/** Terminal runtime outcome or opaque adapter result, never a product Job disposition. */
|
|
11664
|
+
declare const ExecutionAttemptOutcomeSchema$1: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11665
|
+
kind: z.ZodLiteral<"technical-failure">;
|
|
11666
|
+
stage: z.ZodEnum<{
|
|
11667
|
+
"workspace-preparation": "workspace-preparation";
|
|
11668
|
+
"workload-invocation": "workload-invocation";
|
|
11669
|
+
startup: "startup";
|
|
11670
|
+
}>;
|
|
11671
|
+
message: z.ZodString;
|
|
11672
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
11673
|
+
kind: z.ZodLiteral<"workload-result">;
|
|
11674
|
+
result: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
|
|
11675
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
11676
|
+
kind: z.ZodLiteral<"cancelled">;
|
|
11677
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
11678
|
+
}, z.core.$strict>], "kind">;
|
|
11679
|
+
/** Frozen setup command interpreted locally by the Worker Runtime. */
|
|
11680
|
+
type WorkspaceSetupCommand = z.infer<typeof WorkspaceSetupCommandSchema>;
|
|
11681
|
+
/** Portable optional Workspace requirement. */
|
|
11682
|
+
type WorkspaceRequirement$1 = z.infer<typeof WorkspaceRequirementSchema>;
|
|
11683
|
+
/** Preservation obligations checked before release. */
|
|
11684
|
+
type ExecutionPreservationRequirements$1 = z.infer<typeof ExecutionPreservationRequirementsSchema>;
|
|
11685
|
+
/** Immutable owner-supplied instruction. */
|
|
11686
|
+
type ExecutionAttemptInstruction$1 = z.infer<typeof ExecutionAttemptInstructionSchema$1>;
|
|
11687
|
+
/** Local binding scoped by the report's Attempt/runtime generation. */
|
|
11688
|
+
type ExecutionAttemptWorkspaceBinding$1 = z.infer<typeof ExecutionAttemptWorkspaceBindingSchema>;
|
|
11689
|
+
/** Semantic success result accepted atomically with Preparation completion. */
|
|
11690
|
+
type ExecutionAttemptPreparationResult$1 = z.infer<typeof ExecutionAttemptPreparationResultSchema$1>;
|
|
11691
|
+
/** Terminal result interpreted by the owner-side adapter. */
|
|
11692
|
+
type ExecutionAttemptOutcome$1 = z.infer<typeof ExecutionAttemptOutcomeSchema$1>;
|
|
11693
|
+
//#endregion
|
|
11694
|
+
//#region core/contracts/src/execution-attempt/outcome-acceptance.d.ts
|
|
11695
|
+
/** A durable request to stop an attempt, never evidence that it stopped. */
|
|
11696
|
+
interface ExecutionAttemptCancellationIntent$1 {
|
|
11697
|
+
/** Winning owner request key, scoped to this attempt and retained for replay. */
|
|
11698
|
+
readonly requestKey: string;
|
|
11699
|
+
/** Accepted control-request revision; delivery and runtime reports never advance it. */
|
|
11700
|
+
readonly controlRevision: number;
|
|
11701
|
+
/** First acceptance time, preserved across retries and controller handoff. */
|
|
11702
|
+
readonly requestedAt: string;
|
|
11703
|
+
/** Optional owner-supplied explanation. */
|
|
11704
|
+
readonly reason?: string;
|
|
11705
|
+
}
|
|
11706
|
+
/** Accepted control facts observed atomically with the first canonical outcome commit. */
|
|
11707
|
+
interface AttemptOutcomeControlObservation$1 {
|
|
11708
|
+
/** Zero before Cancel; the winning request revision afterwards. */
|
|
11709
|
+
readonly controlRevision: number;
|
|
11710
|
+
/** Detached winning receipt, or null when no Cancel had been accepted. */
|
|
11711
|
+
readonly cancellation: ExecutionAttemptCancellationIntent$1 | null;
|
|
11712
|
+
}
|
|
11713
|
+
/** Owner interpretation of a technical fact, independent of proof that its worker stopped. */
|
|
11714
|
+
type OutcomeAcceptance$1 = 'projected' | 'recorded-only';
|
|
11715
|
+
/** Canonical outcome and its explicit owner interpretation delivered to local consumers. */
|
|
11716
|
+
interface AcceptedAttemptOutcome$1<TOutcome> {
|
|
11717
|
+
/** Original committed outcome; recorded-only acceptance never rewrites this value. */
|
|
11718
|
+
readonly outcome: TOutcome;
|
|
11719
|
+
/** Frozen commit-time observation, or unknown for legacy outcomes. */
|
|
11720
|
+
readonly controlObservation: AttemptOutcomeControlObservation$1 | null;
|
|
11721
|
+
/** Whether this outcome may be projected onto the owner's lifecycle. */
|
|
11722
|
+
readonly acceptance: OutcomeAcceptance$1;
|
|
11723
|
+
}
|
|
11724
|
+
//#endregion
|
|
11560
11725
|
//#region core/contracts/src/workflow/worker.d.ts
|
|
11561
11726
|
/**
|
|
11562
11727
|
* Bus authentication strategy for a workflow worker connection.
|
|
@@ -11762,8 +11927,8 @@ declare const WorkflowWorkerConfigSchema$1: z.ZodObject<{
|
|
|
11762
11927
|
"exit-and-resume": "exit-and-resume";
|
|
11763
11928
|
}>>;
|
|
11764
11929
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
11765
|
-
authority: "authority";
|
|
11766
11930
|
worker: "worker";
|
|
11931
|
+
authority: "authority";
|
|
11767
11932
|
}>>;
|
|
11768
11933
|
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11769
11934
|
kind: z.ZodLiteral<"local-directory">;
|
|
@@ -12143,8 +12308,11 @@ interface WorkflowRunnerRunOptions$1 {
|
|
|
12143
12308
|
* transition has not been performed. The host executor must finalize or
|
|
12144
12309
|
* park the execution (in-process and Piscina runners).
|
|
12145
12310
|
* - `authority-committed`: the Authority outcome RPC has converged canonical
|
|
12146
|
-
* state. The host
|
|
12147
|
-
*
|
|
12311
|
+
* state. The host verifies invocation identity and trusts that acceptance,
|
|
12312
|
+
* without reinterpreting later owner state or invoking a fallback finalizer.
|
|
12313
|
+
* - `authority-recorded-only`: the Authority accepted the canonical technical
|
|
12314
|
+
* fact without changing the owner's lifecycle. The host releases local task
|
|
12315
|
+
* bookkeeping, without projecting a result or inferring that a worker stopped.
|
|
12148
12316
|
*/
|
|
12149
12317
|
type WorkflowRunnerCompletion$1 = {
|
|
12150
12318
|
readonly state: 'uncommitted';
|
|
@@ -12152,7 +12320,27 @@ type WorkflowRunnerCompletion$1 = {
|
|
|
12152
12320
|
} | {
|
|
12153
12321
|
readonly state: 'authority-committed';
|
|
12154
12322
|
readonly result: WorkflowRunResult$1;
|
|
12323
|
+
readonly acceptedOutcome: AcceptedAttemptOutcome$1<WorkflowAttemptOutcome$1> & {
|
|
12324
|
+
readonly acceptance: 'projected';
|
|
12325
|
+
};
|
|
12326
|
+
} | {
|
|
12327
|
+
readonly state: 'authority-recorded-only';
|
|
12328
|
+
readonly executionId: string;
|
|
12329
|
+
readonly workflowId: string;
|
|
12330
|
+
readonly acceptedOutcome: AcceptedAttemptOutcome$1<WorkflowAttemptOutcome$1> & {
|
|
12331
|
+
readonly acceptance: 'recorded-only';
|
|
12332
|
+
};
|
|
12155
12333
|
};
|
|
12334
|
+
/** Technical failure retained without inventing a workflow-produced result. */
|
|
12335
|
+
type WorkflowAttemptTechnicalFailure = Extract<ExecutionAttemptOutcome$1, {
|
|
12336
|
+
kind: 'technical-failure';
|
|
12337
|
+
}>;
|
|
12338
|
+
/** Confirmed cooperative stop retained independently of a workflow-produced result. */
|
|
12339
|
+
type WorkflowAttemptCancellation = Extract<ExecutionAttemptOutcome$1, {
|
|
12340
|
+
kind: 'cancelled';
|
|
12341
|
+
}>;
|
|
12342
|
+
/** Canonical workflow-owner outcome, separate from its lifecycle interpretation. */
|
|
12343
|
+
type WorkflowAttemptOutcome$1 = WorkflowRunResult$1 | WorkflowAttemptTechnicalFailure | WorkflowAttemptCancellation;
|
|
12156
12344
|
/**
|
|
12157
12345
|
* Contract for dispatching a full workflow execution to an isolated environment.
|
|
12158
12346
|
*
|
|
@@ -12163,7 +12351,7 @@ type WorkflowRunnerCompletion$1 = {
|
|
|
12163
12351
|
interface IWorkflowRunner$1 {
|
|
12164
12352
|
/**
|
|
12165
12353
|
* Completion ownership known before the owner persists and starts a run.
|
|
12166
|
-
* Authority runners return an authority-committed completion; worker runners
|
|
12354
|
+
* Authority runners return an authority-committed or authority-recorded-only completion; worker runners
|
|
12167
12355
|
* leave finalization to the invoking executor. Omission retains the worker
|
|
12168
12356
|
* completion protocol. This declaration does not select a compute provider.
|
|
12169
12357
|
*/
|
|
@@ -12333,8 +12521,8 @@ declare const WorkLogExecutionSummarySchema: z.ZodObject<{
|
|
|
12333
12521
|
completed: "completed";
|
|
12334
12522
|
cancelled: "cancelled";
|
|
12335
12523
|
failed: "failed";
|
|
12336
|
-
paused: "paused";
|
|
12337
12524
|
running: "running";
|
|
12525
|
+
paused: "paused";
|
|
12338
12526
|
finalizing: "finalizing";
|
|
12339
12527
|
}>;
|
|
12340
12528
|
startedAt: z.ZodNumber;
|
|
@@ -12360,12 +12548,12 @@ declare const WorkLogFrameEntrySchema$1: z.ZodObject<{
|
|
|
12360
12548
|
frameId: z.ZodString;
|
|
12361
12549
|
nodeId: z.ZodString;
|
|
12362
12550
|
nodeType: z.ZodEnum<{
|
|
12363
|
-
sequence: "sequence";
|
|
12364
12551
|
station: "station";
|
|
12365
12552
|
"delegate-agent": "delegate-agent";
|
|
12366
12553
|
"delegate-role": "delegate-role";
|
|
12367
|
-
|
|
12554
|
+
sequence: "sequence";
|
|
12368
12555
|
parallel: "parallel";
|
|
12556
|
+
gate: "gate";
|
|
12369
12557
|
iterate: "iterate";
|
|
12370
12558
|
"iterate-chain": "iterate-chain";
|
|
12371
12559
|
loop: "loop";
|
|
@@ -13256,8 +13444,8 @@ declare const AwaitSubagentResponseSchema: z.ZodObject<{
|
|
|
13256
13444
|
completed: "completed";
|
|
13257
13445
|
cancelled: "cancelled";
|
|
13258
13446
|
failed: "failed";
|
|
13259
|
-
timeout: "timeout";
|
|
13260
13447
|
waiting_input: "waiting_input";
|
|
13448
|
+
timeout: "timeout";
|
|
13261
13449
|
}>;
|
|
13262
13450
|
result: z.ZodOptional<z.ZodString>;
|
|
13263
13451
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -14014,4 +14202,4 @@ declare function defineWorkflowBundle(config: {
|
|
|
14014
14202
|
/** Non-empty list of built workflows to include in the bundle. */readonly workflows: readonly BuiltWorkflow[];
|
|
14015
14203
|
}): WorkflowBundle;
|
|
14016
14204
|
//#endregion
|
|
14017
|
-
export { SubagentConfig$1 as $,
|
|
14205
|
+
export { SubagentConfig$1 as $, WorkflowConditionSchema as $i, WorkflowNamespace$1 as $n, WorkflowCancelSubject as $r, WorkerContributionManifestSchema as $t, CompleteTaskRequest as A, WorkflowNode as Aa, EXECUTIONS_BY_ARTIFACT_REFS_MAX_REFS as Ai, WorkspaceRequirement$1 as An, SpanRecord as Ar, WorkLogDynamicNodeMaterialization as At, ListSubagentsBySessionRequest as B, WorkflowResolvedAgent as Ba, ExecutionsByArtifactRefsQuery as Bi, WorkflowDefinitionPathSegment as Bn, StepRunResult as Br, WorkLogUsageSummary as Bt, WorkflowStateAuthoringDefinition as C, WorkflowIterateChainNodeSchema as Ca, WorkflowFinalizerIdSchema$1 as Ci, ExecutionAttemptOutcomeSchema$1 as Cn, WorkflowErrorCode$1 as Cr, CronTriggerPayload as Ct, validateNoNestedLoops as D, WorkflowListQuerySchema$1 as Da, createWorkflowFinalizerNamespace$1 as Di, ExecutionAttemptWorkspaceBindingSchema as Dn, ExecutionLinkSchema$1 as Dr, WorkflowTriggerDef as Dt, LoopGateHandler$1 as E, WorkflowListQuery as Ea, createWorkflowDelegateResultFinalizerNamespace$1 as Ei, ExecutionAttemptWorkspaceBinding$1 as En, ExecutionLinkListQuerySchema$1 as Er, ExtractTriggerPayload as Et, ContextModeSchema$1 as F, WorkflowNodeTypeSchema as Fa, ExecutionListCursorSchema as Fi, ProjectedEdgeKind as Fn, StepCancelPayload as Fr, WorkLogFrameEntrySchema$1 as Ft, ReportProgressResponse as G, WorkflowSequenceNodeSchema as Ga, LoopGateOutcomeSchema as Gi, walkWorkflowDefinition$1 as Gn, StepRunnerPlatformDefaultsSchema as Gr, ExternalExecutionFrameCompletion as Gt, PendingRequest$1 as H, WorkflowResolvedRole as Ha, GateInstanceListQuery as Hi, WalkContext as Hn, StepRunnerBusAuth$1 as Hr, CompleteExternalExecutionRequest as Ht, DEFAULT_CONSTRAINTS$1 as I, WorkflowParallelMode as Ia, ExecutionListQuery as Ii, ProjectedNode as In, StepCancelPayloadSchema as Ir, WorkLogGateEvent as It, SendToSubagentRequest as J, WorkflowStateDefinition as Ja, WorkflowArtifactWriteDeclaration as Ji, WorkflowRunContextSource as Jn, TokenUsage as Jr, ExternalExecutionFrameStartSchema as Jt, RequestInputRpcRequest as K, WorkflowSourceLocation as Ka, WorkflowArtifactBinding as Ki, WorkflowRunContext$1 as Kn, StepTelemetry as Kr, ExternalExecutionFrameCompletionSchema as Kt, ExecuteSubagentResponse as L, WorkflowParallelModeSchema as La, ExecutionListQuerySchema$1 as Li, ProjectedNodeRole as Ln, StepCancelSubject as Lr, WorkLogGateEventSchema as Lt, CompletionMode$1 as M, WorkflowNodeBaseSchema as Ma, EXECUTION_LIST_MAX_LIMIT$1 as Mi, WorkspaceSetupCommand as Mn, SpanStatus as Mr, WorkLogExecutionSummary as Mt, CompletionModeSchema as N, WorkflowNodeSchema as Na, EXECUTION_LIST_MIN_LIMIT$1 as Ni, WorkspaceSetupCommandSchema as Nn, SpanStatusSchema as Nr, WorkLogExecutionSummarySchema as Nt, AwaitSubagentRequest as O, WorkflowLoopNode as Oa, EXECUTIONS_BY_ARTIFACT_REFS_DEFAULT_LIMIT_PER_REF as Oi, ExecutionPreservationRequirements$1 as On, ExecutionLinkType as Or, WorkLogArtifactWrite as Ot, ContextMode as P, WorkflowNodeType as Pa, ExecutionListCursor as Pi, ProjectedEdge as Pn, IStepRunner as Pr, WorkLogFrameEntry as Pt, SpawnSubagentRpcResponse as Q, WorkflowCondition as Qi, serializeArtifactRef$1 as Qn, WorkflowCancelPayloadSchema as Qr, WorkerContributionManifest$1 as Qt, KillSubagentRequest as R, WorkflowParallelNode as Ra, ExecutionStatus as Ri, ProjectedWorkflowGraph as Rn, StepRunConfig as Rr, WorkLogStats as Rt, WorkflowBuilder as S, WorkflowIterateChainNode as Sa, WorkflowFinalizerId as Si, ExecutionAttemptOutcome$1 as Sn, WorkflowError$1 as Sr, CronAutomationTriggerParamsSchema$1 as St, LoopGateContext as T, WorkflowIterateNodeSchema as Ta, WorkflowTerminalStatusSchema as Ti, ExecutionAttemptPreparationResultSchema$1 as Tn, ExecutionLinkListQuery as Tr, DEFAULT_CRON_TIMEZONE as Tt, PendingRequestSchema as U, WorkflowResolvedRoleSchema as Ua, GateInstanceListQuerySchema$1 as Ui, WalkRelationship as Un, StepRunnerBusAuthSchema as Ur, CompleteExternalExecutionRequestSchema as Ut, ListSubagentsBySessionResponse as V, WorkflowResolvedAgentSchema as Va, ExecutionsByArtifactRefsQuerySchema$1 as Vi, projectWorkflowGraph as Vn, StepRunResultSchema as Vr, WorkLogUsageSummarySchema as Vt, ReportProgressRequest as W, WorkflowSequenceNode as Wa, LoopGateOutcome as Wi, WorkflowNodeVisitor as Wn, StepRunnerPlatformDefaults$1 as Wr, EXTERNAL_EXECUTION_ID_PREFIX$1 as Wt, SpawnSubagentRpcRequest as X, WorkflowStationNode as Xa, WorkflowAutomationTriggerBinding$1 as Xi, WorkflowArtifactRefSchema as Xn, WORKFLOW_CANCELLED_REASON$1 as Xr, RegisterExternalExecutionRequestSchema as Xt, SendToSubagentResponse as Y, WorkflowStateDefinitionSchema as Ya, WorkflowArtifactWriteDeclarationSchema as Yi, WorkflowArtifactRef as Yn, TokenUsageSchema as Yr, RegisterExternalExecutionRequest as Yt, SpawnSubagentRpcRequestSchema$1 as Z, WorkflowStationNodeSchema as Za, WorkflowAutomationTriggerBindingSchema$1 as Zi, parseArtifactRef as Zn, WorkflowCancelPayload as Zr, IWorkflowRunner$1 as Zt, LoopGateRegistration as _, WorkflowGateInstanceSchema$1 as _a, WorkflowFinalizationClaim as _i, AttemptOutcomeControlObservation$1 as _n, ContextSourceSchema as _r, WorkflowStateContext as _t, delegateToRole as a, WorkflowDelegateAgentNodeSchema as aa, createWorkflowCancelSubject$1 as ai, WorkflowRunResultSchema$1 as an, ArtifactPublishTargetSchema as ar, UsageStats$1 as at, ParallelMode as b, WorkflowGateStatus as ba, WorkflowFinalizationIntent as bi, ExecutionAttemptInstruction$1 as bn, JsonPatchOperation$1 as br, BusEventWorkflowTrigger as bt, iterateChain as c, WorkflowDynamicRegion as ca, WorkflowDelegateResultFinalizationGatewayRequest as ci, WorkflowTriggerMode as cn, BusEventPublishTarget as cr, ArtifactUpdateOperation as ct, AgentConfig as d, WorkflowExecutionSchema$1 as da, WorkflowDelegateResultFinalizationRequestSchema as di, WorkflowWorkerBusAuthSchema as dn, BusRequestSourceSchema as dr, PreviousStepOutput as dt, WorkflowDefinition$1 as ea, WorkflowRunnerStepType as ei, WorkerRuntimeContext$1 as en, WorkflowProgressUpdate as er, SubagentConfigSchema$1 as et, ArtifactBindingOptions as f, WorkflowExecutionScope as fa, WorkflowDelegateResultFinalizationResponse as fi, WorkflowWorkerConfig$1 as fn, ContextBundle as fr, StationHandler$1 as ft, IterateOptions as g, WorkflowGateInstance as ga, WorkflowDelegateToolObservationSchema as gi, AcceptedAttemptOutcome$1 as gn, ContextSource as gr, WorkflowContextBase as gt, GateOptions as h, WorkflowFrameStateSchema$1 as ha, WorkflowDelegateToolObservation as hi, WorkflowWorkerSourceSchema as hn, ContextPublishTargetSchema as hr, WorkflowContext as ht, delegateToAgent as i, WorkflowDelegateAgentNode as ia, createStepCancelSubject$1 as ii, WorkflowRunResult$1 as in, ArtifactPublishTarget as ir, SubagentStatusSchema as it, CompleteTaskResponse as j, WorkflowNodeBase as ja, EXECUTION_LIST_DEFAULT_LIMIT$1 as ji, WorkspaceRequirementSchema as jn, SpanRecordSchema$1 as jr, WorkLogDynamicNodeMaterializationSchema as jt, AwaitSubagentResponse$1 as k, WorkflowLoopNodeSchema as ka, EXECUTIONS_BY_ARTIFACT_REFS_MAX_LIMIT_PER_REF as ki, ExecutionPreservationRequirementsSchema as kn, ExecutionLinkTypeSchema as kr, WorkLogArtifactWriteSchema as kt, loop as l, WorkflowDynamicRegionSchema as la, WorkflowDelegateResultFinalizationGatewayRequestSchema as li, WorkflowTriggerModeSchema as ln, BusEventPublishTargetSchema as lr, ArtifactUpdater as lt, DefineWorkflowOptions as m, WorkflowFrameState$1 as ma, WorkflowDelegateResultFinalizerIdSchema as mi, WorkflowWorkerSource$1 as mn, ContextPublishTarget as mr, StepContext as mt, defineWorkflowBundle as n, WorkflowDefinitionProvenanceSchema as na, WorkflowStepType as ni, WorkflowAttemptOutcome$1 as nn, WorkflowSchemas as nr, SubagentExecutionFailed as nt, gate as o, WorkflowDelegateRoleNode as oa, WorkflowDelegateEconomics as oi, WorkflowRunnerCompletion$1 as on, ArtifactQuerySource as or, ArtifactContext as ot, BuiltWorkflow as p, WorkflowExecutionScopeSchema as pa, WorkflowDelegateResultFinalizationResponseSchema as pi, WorkflowWorkerConfigSchema$1 as pn, ContextBundleSchema as pr, StationStepContext as pt, RequestInputRpcResponse as q, WorkflowSourceLocationSchema as qa, WorkflowArtifactBindingSchema as qi, WorkflowRunContextSchema$1 as qn, StepTelemetrySchema as qr, ExternalExecutionFrameStart as qt, defineWorkflow as r, WorkflowDefinitionSchema$1 as ra, WorkflowStepTypeSchema$1 as ri, WorkflowAttemptTechnicalFailure as rn, WorkflowSubjects$1 as rr, SubagentStatus$1 as rt, iterate as s, WorkflowDelegateRoleNodeSchema as sa, WorkflowDelegateEconomicsSchema as si, WorkflowRunnerRunOptions$1 as sn, ArtifactQuerySourceSchema as sr, ArtifactPatch as st, WorkflowBundle as t, WorkflowDefinitionProvenance as ta, WorkflowRunnerStepTypeSchema as ti, WorkflowAttemptCancellation as tn, WorkflowProgressUpdateSchema as tr, SubagentConstraints$1 as tt, station as u, WorkflowExecution$1 as ua, WorkflowDelegateResultFinalizationRequest as ui, WorkflowWorkerBusAuth as un, BusRequestSource as ur, IterateHandler as ut, LoopOptions as v, WorkflowGateNode as va, WorkflowFinalizationClaimSchema$1 as vi, ExecutionAttemptCancellationIntent$1 as vn, ResolvedContextEntry as vr, AutomationWorkflowTrigger as vt, WorkflowZodSchemas$1 as w, WorkflowIterateNode as wa, WorkflowTerminalStatus as wi, ExecutionAttemptPreparationResult$1 as wn, ExecutionLink as wr, CronWorkflowTrigger as wt, ParallelOptions as x, WorkflowGateStatusSchema as xa, WorkflowFinalizationIntentSchema as xi, ExecutionAttemptInstructionSchema$1 as xn, JsonPatchOperationSchema$1 as xr, CRON_AUTOMATION_TRIGGER_KIND$1 as xt, NodeOptions as y, WorkflowGateNodeSchema as ya, WorkflowFinalizationDeliveryResultSchema as yi, OutcomeAcceptance$1 as yn, ResolvedContextEntrySchema as yr, BUS_EVENT_AUTOMATION_TRIGGER_KIND$1 as yt, KillSubagentResponse as z, WorkflowParallelNodeSchema as za, ExecutionStatusSchema$1 as zi, WorkflowDefinitionPath as zn, StepRunConfigSchema as zr, WorkLogStatsSchema as zt };
|