@makaio/framework 1.0.0-dev-1789178780636 → 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.
Files changed (102) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapters/claude/index.d.mts +5 -5
  3. package/dist/artifact-CKz9YQPu.mjs +1 -0
  4. package/dist/authority-state-bootstrap-BkI-zYRx.mjs +1 -0
  5. package/dist/bus/index.d.mts +1 -1
  6. package/dist/bus/index.mjs +1 -1
  7. package/dist/bus-BZB7jNes.mjs +9 -0
  8. package/dist/contracts/artifact/index.d.mts +3 -3
  9. package/dist/contracts/artifact/index.mjs +1 -1
  10. package/dist/contracts/capabilities/index.d.mts +1 -1
  11. package/dist/contracts/extension/index.d.mts +2 -2
  12. package/dist/contracts/extension/index.mjs +1 -1
  13. package/dist/contracts/index.d.mts +49 -49
  14. package/dist/contracts/index.mjs +1 -1
  15. package/dist/contracts/materialization/index.d.mts +2 -2
  16. package/dist/contracts/materialization/index.mjs +1 -1
  17. package/dist/contracts/skill/index.d.mts +1 -1
  18. package/dist/contracts/variant/index.d.mts +1 -1
  19. package/dist/contracts/worker/index.d.mts +1 -1
  20. package/dist/contracts/worker/index.mjs +1 -1
  21. package/dist/contracts/workflow/index.d.mts +2 -2
  22. package/dist/contracts/workflow/index.mjs +1 -1
  23. package/dist/drizzle/0038_execution-attempt-repository.sql +73 -0
  24. package/dist/drizzle/meta/_journal.json +7 -0
  25. package/dist/{extension-DRwry8GA.mjs → extension-CfrTp3rC.mjs} +1 -1
  26. package/dist/{framework-packages-CCIReKIe.mjs → framework-packages-Bg4edkkM.mjs} +1 -1
  27. package/dist/{index-BDRfiSz8.d.mts → index-B4pPwpKk.d.mts} +1 -1
  28. package/dist/{index-DI07GxEW.d.mts → index-Bg3WVL8n.d.mts} +6 -6
  29. package/dist/{index-DNgrWs5j.d.mts → index-BmCm9R8_.d.mts} +21 -21
  30. package/dist/{index-BI8PuDkI.d.mts → index-BpQX136X.d.mts} +1 -1
  31. package/dist/{index-CdWxSwhQ2.d.mts → index-C6e9cwAl2.d.mts} +4 -4
  32. package/dist/{index-BFS-2kcS.d.mts → index-C_kOkO3E.d.mts} +16 -0
  33. package/dist/{index-DhunnX8V.d.mts → index-ClKwF6LE.d.mts} +83 -8
  34. package/dist/{index-4GaVggnR.d.mts → index-Cplq28EL.d.mts} +49 -33
  35. package/dist/{index-DtCVHx8-.d.mts → index-CzUUoexw.d.mts} +17 -9
  36. package/dist/{index-CsLb9M1M.d.mts → index-DMkzJCjS.d.mts} +1 -1
  37. package/dist/{index-GpfGF9AO2.d.mts → index-DXZImst_2.d.mts} +11 -8
  38. package/dist/{index-GPTSqhvy.d.mts → index-D_j_T3nS.d.mts} +1 -1
  39. package/dist/{index-KnN2OyWD2.d.mts → index-mTaFX2HH2.d.mts} +24 -24
  40. package/dist/{index-DVocx__-2.d.mts → index-zmDRR8gv2.d.mts} +11 -11
  41. package/dist/kernel/extension/index.d.mts +1 -1
  42. package/dist/kernel/index.d.mts +2 -2
  43. package/dist/kernel/observability/index.d.mts +1 -1
  44. package/dist/{kind-registration-WrdMzWmV.mjs → kind-registration-Dzfo6kyb.mjs} +1 -1
  45. package/dist/materialization-iFhpbs1s.mjs +1 -0
  46. package/dist/{namespace-DQpBf2CK.d.mts → namespace-B5IFLQc-.d.mts} +6 -6
  47. package/dist/{namespace-BrqkCnyt.d.mts → namespace-BsQPRiMd.d.mts} +6 -6
  48. package/dist/{namespace-CjvSQYRJ.d.mts → namespace-f6Kz5cwX.d.mts} +12 -12
  49. package/dist/node/transports/index.d.mts +32 -11
  50. package/dist/node/transports/index.mjs +2 -2
  51. package/dist/{package-DdymauE9.d.mts → package-CDj3F-L3.d.mts} +1 -0
  52. package/dist/package-D2Erka-E.mjs +7 -0
  53. package/dist/package.json +1 -1
  54. package/dist/packages-vF9F4M41.mjs +1 -0
  55. package/dist/runtime-node/index.d.mts +1 -1
  56. package/dist/runtime-node/index.mjs +1 -1
  57. package/dist/runtime-node/workflow-execution-bus-access.d.mts +37 -20
  58. package/dist/runtime-node/workflow-execution-bus-access.mjs +1 -1
  59. package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
  60. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  61. package/dist/{schemas-Dl_3zv9l.mjs → schemas-CHM0wMq4.mjs} +1 -1
  62. package/dist/{schemas-DlVKv9QC.d.mts → schemas-CaBRbfhU.d.mts} +6 -6
  63. package/dist/{schemas-uA8246K9.d.mts → schemas-CeItAAQM.d.mts} +8 -8
  64. package/dist/{schemas-BcynDWi-.d.mts → schemas-Cj6Gbqch.d.mts} +7 -7
  65. package/dist/{schemas-CKVm28Oy.d.mts → schemas-JjyFxrC0.d.mts} +4 -0
  66. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  67. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  68. package/dist/services/execution-target/index.d.mts +2 -2
  69. package/dist/services/execution-target/namespace.d.mts +1 -1
  70. package/dist/services/execution-target/schemas.d.mts +1 -1
  71. package/dist/services/filesystem/namespace.d.mts +6 -6
  72. package/dist/services/filesystem/schemas.d.mts +3 -3
  73. package/dist/services/index.d.mts +22 -22
  74. package/dist/services/index.mjs +1 -1
  75. package/dist/services/materialization/index.mjs +1 -1
  76. package/dist/services/provider-context/index.d.mts +1 -1
  77. package/dist/services/session/handlers/index.d.mts +1 -1
  78. package/dist/services/session/index.d.mts +3 -3
  79. package/dist/services/tools/index.mjs +1 -1
  80. package/dist/services/tray-menu/index.d.mts +2 -2
  81. package/dist/services/tray-menu/namespace.d.mts +1 -1
  82. package/dist/services/tray-menu/schemas.d.mts +1 -1
  83. package/dist/services/workflow-transitions/index.mjs +1 -1
  84. package/dist/{tools-Dj_ImUQ8.mjs → tools-C5Gy0IQG.mjs} +1 -1
  85. package/dist/{transition-B-YmSK-s.d.mts → transition-D-Lgbp1j.d.mts} +1 -1
  86. package/dist/{view-builder-BUZoNyEQ.d.mts → view-builder-CHUTXJDl.d.mts} +14 -1
  87. package/dist/{worker-IIubsEFG.mjs → worker-4pqm147Q.mjs} +1 -1
  88. package/dist/{workflow-dVr_9gaf.mjs → workflow-C5cS1mgK.mjs} +1 -1
  89. package/dist/workflow-engine/index.d.mts +118 -41
  90. package/dist/workflow-engine/index.mjs +1 -1
  91. package/dist/workflow-engine/package.d.mts +1 -1
  92. package/dist/workflow-engine/package.mjs +1 -1
  93. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  94. package/dist/{workflow-transitions-t6jn_pR_.mjs → workflow-transitions-C0sg3kar.mjs} +1 -1
  95. package/dist/{workflow-worker-C3ZbuhyA.mjs → workflow-worker-l-wflI6V.mjs} +2 -2
  96. package/package.json +1 -1
  97. package/dist/artifact-CH7yhgti.mjs +0 -1
  98. package/dist/authority-state-bootstrap-CV7HpB4v.mjs +0 -1
  99. package/dist/bus-CPlKKH4v.mjs +0 -9
  100. package/dist/materialization-C_92G2CL.mjs +0 -1
  101. package/dist/package-Bn4iwDm3.mjs +0 -7
  102. package/dist/packages-G3bMStlV.mjs +0 -1
@@ -1,4 +1,4 @@
1
- import { x as ArtifactRevision$1 } from "./schemas-CKVm28Oy.mjs";
1
+ import { x as ArtifactRevision$1 } from "./schemas-JjyFxrC0.mjs";
2
2
  import { a as JsonObjectContractSchema, l as JsonValue$1 } from "./json-value-Ymw2f8i_.mjs";
3
3
  import { n as AutomationTriggerBinding$1, o as AutomationTriggerParams, u as DefinedAutomationTrigger } from "./definition-CuaBQyde.mjs";
4
4
  import { z } from "zod";
@@ -149,8 +149,8 @@ declare const WorkflowNodeTypeSchema: z.ZodEnum<{
149
149
  "delegate-agent": "delegate-agent";
150
150
  "delegate-role": "delegate-role";
151
151
  sequence: "sequence";
152
- gate: "gate";
153
152
  parallel: "parallel";
153
+ gate: "gate";
154
154
  iterate: "iterate";
155
155
  "iterate-chain": "iterate-chain";
156
156
  loop: "loop";
@@ -876,8 +876,8 @@ declare const WorkflowFrameStateSchema$1: z.ZodObject<{
876
876
  "delegate-agent": "delegate-agent";
877
877
  "delegate-role": "delegate-role";
878
878
  sequence: "sequence";
879
- gate: "gate";
880
879
  parallel: "parallel";
880
+ gate: "gate";
881
881
  iterate: "iterate";
882
882
  "iterate-chain": "iterate-chain";
883
883
  loop: "loop";
@@ -890,8 +890,8 @@ declare const WorkflowFrameStateSchema$1: z.ZodObject<{
890
890
  cancelled: "cancelled";
891
891
  failed: "failed";
892
892
  running: "running";
893
- waiting: "waiting";
894
893
  skipped: "skipped";
894
+ waiting: "waiting";
895
895
  }>;
896
896
  attempt: z.ZodDefault<z.ZodNumber>;
897
897
  iteration: z.ZodOptional<z.ZodNumber>;
@@ -906,8 +906,8 @@ type WorkflowFrameState$1 = z.infer<typeof WorkflowFrameStateSchema$1>;
906
906
  declare const WorkflowGateStatusSchema: z.ZodEnum<{
907
907
  cancelled: "cancelled";
908
908
  rejected: "rejected";
909
- waiting: "waiting";
910
909
  resumed: "resumed";
910
+ waiting: "waiting";
911
911
  "timed-out": "timed-out";
912
912
  }>;
913
913
  type WorkflowGateStatus = z.infer<typeof WorkflowGateStatusSchema>;
@@ -927,8 +927,8 @@ declare const WorkflowGateInstanceSchema$1: z.ZodObject<{
927
927
  status: z.ZodEnum<{
928
928
  cancelled: "cancelled";
929
929
  rejected: "rejected";
930
- waiting: "waiting";
931
930
  resumed: "resumed";
931
+ waiting: "waiting";
932
932
  "timed-out": "timed-out";
933
933
  }>;
934
934
  autoAction: z.ZodEnum<{
@@ -1278,8 +1278,8 @@ declare const GateInstanceListQuerySchema$1: z.ZodObject<{
1278
1278
  status: z.ZodOptional<z.ZodEnum<{
1279
1279
  cancelled: "cancelled";
1280
1280
  rejected: "rejected";
1281
- waiting: "waiting";
1282
1281
  resumed: "resumed";
1282
+ waiting: "waiting";
1283
1283
  "timed-out": "timed-out";
1284
1284
  }>>;
1285
1285
  limit: z.ZodDefault<z.ZodNumber>;
@@ -3045,6 +3045,7 @@ declare const WorkflowSchemas: {
3045
3045
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
3046
3046
  relations: z.ZodArray<z.ZodObject<{
3047
3047
  type: z.ZodString;
3048
+ sourceLocalId: z.ZodOptional<z.ZodString>;
3048
3049
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
3049
3050
  refClass: z.ZodLiteral<"artifact">;
3050
3051
  kind: z.ZodString;
@@ -3232,6 +3233,7 @@ declare const WorkflowSchemas: {
3232
3233
  entityType: string;
3233
3234
  id: string;
3234
3235
  };
3236
+ sourceLocalId?: string | undefined;
3235
3237
  }[];
3236
3238
  actor: {
3237
3239
  kind: string;
@@ -3358,6 +3360,7 @@ declare const WorkflowSchemas: {
3358
3360
  relations: {
3359
3361
  type: string;
3360
3362
  target: unknown;
3363
+ sourceLocalId?: string | undefined;
3361
3364
  }[];
3362
3365
  actor: {
3363
3366
  kind: string;
@@ -3490,6 +3493,7 @@ declare const WorkflowSchemas: {
3490
3493
  entityType: string;
3491
3494
  id: string;
3492
3495
  };
3496
+ sourceLocalId?: string | undefined;
3493
3497
  }[];
3494
3498
  actor: {
3495
3499
  kind: string;
@@ -3616,6 +3620,7 @@ declare const WorkflowSchemas: {
3616
3620
  relations: {
3617
3621
  type: string;
3618
3622
  target: unknown;
3623
+ sourceLocalId?: string | undefined;
3619
3624
  }[];
3620
3625
  actor: {
3621
3626
  kind: string;
@@ -4019,8 +4024,8 @@ declare const WorkflowSchemas: {
4019
4024
  status: z.ZodOptional<z.ZodEnum<{
4020
4025
  cancelled: "cancelled";
4021
4026
  rejected: "rejected";
4022
- waiting: "waiting";
4023
4027
  resumed: "resumed";
4028
+ waiting: "waiting";
4024
4029
  "timed-out": "timed-out";
4025
4030
  }>>;
4026
4031
  limit: z.ZodDefault<z.ZodNumber>;
@@ -4035,8 +4040,8 @@ declare const WorkflowSchemas: {
4035
4040
  status: z.ZodEnum<{
4036
4041
  cancelled: "cancelled";
4037
4042
  rejected: "rejected";
4038
- waiting: "waiting";
4039
4043
  resumed: "resumed";
4044
+ waiting: "waiting";
4040
4045
  "timed-out": "timed-out";
4041
4046
  }>;
4042
4047
  autoAction: z.ZodEnum<{
@@ -4119,8 +4124,8 @@ declare const WorkflowSchemas: {
4119
4124
  "delegate-agent": "delegate-agent";
4120
4125
  "delegate-role": "delegate-role";
4121
4126
  sequence: "sequence";
4122
- gate: "gate";
4123
4127
  parallel: "parallel";
4128
+ gate: "gate";
4124
4129
  iterate: "iterate";
4125
4130
  "iterate-chain": "iterate-chain";
4126
4131
  loop: "loop";
@@ -4133,8 +4138,8 @@ declare const WorkflowSchemas: {
4133
4138
  cancelled: "cancelled";
4134
4139
  failed: "failed";
4135
4140
  running: "running";
4136
- waiting: "waiting";
4137
4141
  skipped: "skipped";
4142
+ waiting: "waiting";
4138
4143
  }>;
4139
4144
  attempt: z.ZodDefault<z.ZodNumber>;
4140
4145
  iteration: z.ZodOptional<z.ZodNumber>;
@@ -4937,8 +4942,8 @@ declare const WorkflowSchemas: {
4937
4942
  "delegate-agent": "delegate-agent";
4938
4943
  "delegate-role": "delegate-role";
4939
4944
  sequence: "sequence";
4940
- gate: "gate";
4941
4945
  parallel: "parallel";
4946
+ gate: "gate";
4942
4947
  iterate: "iterate";
4943
4948
  "iterate-chain": "iterate-chain";
4944
4949
  loop: "loop";
@@ -5098,8 +5103,8 @@ declare const WorkflowSchemas: {
5098
5103
  "delegate-agent": "delegate-agent";
5099
5104
  "delegate-role": "delegate-role";
5100
5105
  sequence: "sequence";
5101
- gate: "gate";
5102
5106
  parallel: "parallel";
5107
+ gate: "gate";
5103
5108
  iterate: "iterate";
5104
5109
  "iterate-chain": "iterate-chain";
5105
5110
  loop: "loop";
@@ -5111,8 +5116,8 @@ declare const WorkflowSchemas: {
5111
5116
  cancelled: "cancelled";
5112
5117
  failed: "failed";
5113
5118
  running: "running";
5114
- waiting: "waiting";
5115
5119
  skipped: "skipped";
5120
+ waiting: "waiting";
5116
5121
  }>;
5117
5122
  attempt: z.ZodNumber;
5118
5123
  iteration: z.ZodOptional<z.ZodNumber>;
@@ -6012,6 +6017,7 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
6012
6017
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
6013
6018
  relations: z.ZodArray<z.ZodObject<{
6014
6019
  type: z.ZodString;
6020
+ sourceLocalId: z.ZodOptional<z.ZodString>;
6015
6021
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
6016
6022
  refClass: z.ZodLiteral<"artifact">;
6017
6023
  kind: z.ZodString;
@@ -6199,6 +6205,7 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
6199
6205
  entityType: string;
6200
6206
  id: string;
6201
6207
  };
6208
+ sourceLocalId?: string | undefined;
6202
6209
  }[];
6203
6210
  actor: {
6204
6211
  kind: string;
@@ -6325,6 +6332,7 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
6325
6332
  relations: {
6326
6333
  type: string;
6327
6334
  target: unknown;
6335
+ sourceLocalId?: string | undefined;
6328
6336
  }[];
6329
6337
  actor: {
6330
6338
  kind: string;
@@ -6457,6 +6465,7 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
6457
6465
  entityType: string;
6458
6466
  id: string;
6459
6467
  };
6468
+ sourceLocalId?: string | undefined;
6460
6469
  }[];
6461
6470
  actor: {
6462
6471
  kind: string;
@@ -6583,6 +6592,7 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
6583
6592
  relations: {
6584
6593
  type: string;
6585
6594
  target: unknown;
6595
+ sourceLocalId?: string | undefined;
6586
6596
  }[];
6587
6597
  actor: {
6588
6598
  kind: string;
@@ -6986,8 +6996,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
6986
6996
  status: z.ZodOptional<z.ZodEnum<{
6987
6997
  cancelled: "cancelled";
6988
6998
  rejected: "rejected";
6989
- waiting: "waiting";
6990
6999
  resumed: "resumed";
7000
+ waiting: "waiting";
6991
7001
  "timed-out": "timed-out";
6992
7002
  }>>;
6993
7003
  limit: z.ZodDefault<z.ZodNumber>;
@@ -7002,8 +7012,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
7002
7012
  status: z.ZodEnum<{
7003
7013
  cancelled: "cancelled";
7004
7014
  rejected: "rejected";
7005
- waiting: "waiting";
7006
7015
  resumed: "resumed";
7016
+ waiting: "waiting";
7007
7017
  "timed-out": "timed-out";
7008
7018
  }>;
7009
7019
  autoAction: z.ZodEnum<{
@@ -7086,8 +7096,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
7086
7096
  "delegate-agent": "delegate-agent";
7087
7097
  "delegate-role": "delegate-role";
7088
7098
  sequence: "sequence";
7089
- gate: "gate";
7090
7099
  parallel: "parallel";
7100
+ gate: "gate";
7091
7101
  iterate: "iterate";
7092
7102
  "iterate-chain": "iterate-chain";
7093
7103
  loop: "loop";
@@ -7100,8 +7110,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
7100
7110
  cancelled: "cancelled";
7101
7111
  failed: "failed";
7102
7112
  running: "running";
7103
- waiting: "waiting";
7104
7113
  skipped: "skipped";
7114
+ waiting: "waiting";
7105
7115
  }>;
7106
7116
  attempt: z.ZodDefault<z.ZodNumber>;
7107
7117
  iteration: z.ZodOptional<z.ZodNumber>;
@@ -7904,8 +7914,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
7904
7914
  "delegate-agent": "delegate-agent";
7905
7915
  "delegate-role": "delegate-role";
7906
7916
  sequence: "sequence";
7907
- gate: "gate";
7908
7917
  parallel: "parallel";
7918
+ gate: "gate";
7909
7919
  iterate: "iterate";
7910
7920
  "iterate-chain": "iterate-chain";
7911
7921
  loop: "loop";
@@ -8065,8 +8075,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
8065
8075
  "delegate-agent": "delegate-agent";
8066
8076
  "delegate-role": "delegate-role";
8067
8077
  sequence: "sequence";
8068
- gate: "gate";
8069
8078
  parallel: "parallel";
8079
+ gate: "gate";
8070
8080
  iterate: "iterate";
8071
8081
  "iterate-chain": "iterate-chain";
8072
8082
  loop: "loop";
@@ -8078,8 +8088,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
8078
8088
  cancelled: "cancelled";
8079
8089
  failed: "failed";
8080
8090
  running: "running";
8081
- waiting: "waiting";
8082
8091
  skipped: "skipped";
8092
+ waiting: "waiting";
8083
8093
  }>;
8084
8094
  attempt: z.ZodNumber;
8085
8095
  iteration: z.ZodOptional<z.ZodNumber>;
@@ -8979,6 +8989,7 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
8979
8989
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
8980
8990
  relations: z.ZodArray<z.ZodObject<{
8981
8991
  type: z.ZodString;
8992
+ sourceLocalId: z.ZodOptional<z.ZodString>;
8982
8993
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
8983
8994
  refClass: z.ZodLiteral<"artifact">;
8984
8995
  kind: z.ZodString;
@@ -9166,6 +9177,7 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
9166
9177
  entityType: string;
9167
9178
  id: string;
9168
9179
  };
9180
+ sourceLocalId?: string | undefined;
9169
9181
  }[];
9170
9182
  actor: {
9171
9183
  kind: string;
@@ -9292,6 +9304,7 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
9292
9304
  relations: {
9293
9305
  type: string;
9294
9306
  target: unknown;
9307
+ sourceLocalId?: string | undefined;
9295
9308
  }[];
9296
9309
  actor: {
9297
9310
  kind: string;
@@ -9424,6 +9437,7 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
9424
9437
  entityType: string;
9425
9438
  id: string;
9426
9439
  };
9440
+ sourceLocalId?: string | undefined;
9427
9441
  }[];
9428
9442
  actor: {
9429
9443
  kind: string;
@@ -9550,6 +9564,7 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
9550
9564
  relations: {
9551
9565
  type: string;
9552
9566
  target: unknown;
9567
+ sourceLocalId?: string | undefined;
9553
9568
  }[];
9554
9569
  actor: {
9555
9570
  kind: string;
@@ -9953,8 +9968,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
9953
9968
  status: z.ZodOptional<z.ZodEnum<{
9954
9969
  cancelled: "cancelled";
9955
9970
  rejected: "rejected";
9956
- waiting: "waiting";
9957
9971
  resumed: "resumed";
9972
+ waiting: "waiting";
9958
9973
  "timed-out": "timed-out";
9959
9974
  }>>;
9960
9975
  limit: z.ZodDefault<z.ZodNumber>;
@@ -9969,8 +9984,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
9969
9984
  status: z.ZodEnum<{
9970
9985
  cancelled: "cancelled";
9971
9986
  rejected: "rejected";
9972
- waiting: "waiting";
9973
9987
  resumed: "resumed";
9988
+ waiting: "waiting";
9974
9989
  "timed-out": "timed-out";
9975
9990
  }>;
9976
9991
  autoAction: z.ZodEnum<{
@@ -10053,8 +10068,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
10053
10068
  "delegate-agent": "delegate-agent";
10054
10069
  "delegate-role": "delegate-role";
10055
10070
  sequence: "sequence";
10056
- gate: "gate";
10057
10071
  parallel: "parallel";
10072
+ gate: "gate";
10058
10073
  iterate: "iterate";
10059
10074
  "iterate-chain": "iterate-chain";
10060
10075
  loop: "loop";
@@ -10067,8 +10082,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
10067
10082
  cancelled: "cancelled";
10068
10083
  failed: "failed";
10069
10084
  running: "running";
10070
- waiting: "waiting";
10071
10085
  skipped: "skipped";
10086
+ waiting: "waiting";
10072
10087
  }>;
10073
10088
  attempt: z.ZodDefault<z.ZodNumber>;
10074
10089
  iteration: z.ZodOptional<z.ZodNumber>;
@@ -10871,8 +10886,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
10871
10886
  "delegate-agent": "delegate-agent";
10872
10887
  "delegate-role": "delegate-role";
10873
10888
  sequence: "sequence";
10874
- gate: "gate";
10875
10889
  parallel: "parallel";
10890
+ gate: "gate";
10876
10891
  iterate: "iterate";
10877
10892
  "iterate-chain": "iterate-chain";
10878
10893
  loop: "loop";
@@ -11032,8 +11047,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
11032
11047
  "delegate-agent": "delegate-agent";
11033
11048
  "delegate-role": "delegate-role";
11034
11049
  sequence: "sequence";
11035
- gate: "gate";
11036
11050
  parallel: "parallel";
11051
+ gate: "gate";
11037
11052
  iterate: "iterate";
11038
11053
  "iterate-chain": "iterate-chain";
11039
11054
  loop: "loop";
@@ -11045,8 +11060,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
11045
11060
  cancelled: "cancelled";
11046
11061
  failed: "failed";
11047
11062
  running: "running";
11048
- waiting: "waiting";
11049
11063
  skipped: "skipped";
11064
+ waiting: "waiting";
11050
11065
  }>;
11051
11066
  attempt: z.ZodNumber;
11052
11067
  iteration: z.ZodOptional<z.ZodNumber>;
@@ -11797,8 +11812,8 @@ declare const ExecutionAttemptControlReportSchema$1: z.ZodObject<{
11797
11812
  }, z.core.$strict>;
11798
11813
  /** Correlation refusals do not invalidate the durable Attempt-wide Cancel. */
11799
11814
  declare const ExecutionAttemptControlRefusalReasonSchema: z.ZodEnum<{
11800
- "not-found": "not-found";
11801
11815
  conflict: "conflict";
11816
+ "not-found": "not-found";
11802
11817
  "stale-generation": "stale-generation";
11803
11818
  "cancel-mismatch": "cancel-mismatch";
11804
11819
  "operation-mismatch": "operation-mismatch";
@@ -11811,8 +11826,8 @@ declare const ExecutionAttemptControlReportResponseSchema: z.ZodDiscriminatedUni
11811
11826
  }, z.core.$strict>, z.ZodObject<{
11812
11827
  decision: z.ZodLiteral<"refused">;
11813
11828
  reason: z.ZodEnum<{
11814
- "not-found": "not-found";
11815
11829
  conflict: "conflict";
11830
+ "not-found": "not-found";
11816
11831
  "stale-generation": "stale-generation";
11817
11832
  "cancel-mismatch": "cancel-mismatch";
11818
11833
  "operation-mismatch": "operation-mismatch";
@@ -12244,6 +12259,7 @@ declare const WorkflowRunResultSchema$1: z.ZodDiscriminatedUnion<[z.ZodObject<{
12244
12259
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
12245
12260
  relations: z.ZodArray<z.ZodObject<{
12246
12261
  type: z.ZodString;
12262
+ sourceLocalId: z.ZodOptional<z.ZodString>;
12247
12263
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
12248
12264
  refClass: z.ZodLiteral<"artifact">;
12249
12265
  kind: z.ZodString;
@@ -12687,8 +12703,8 @@ declare const WorkLogFrameEntrySchema$1: z.ZodObject<{
12687
12703
  "delegate-agent": "delegate-agent";
12688
12704
  "delegate-role": "delegate-role";
12689
12705
  sequence: "sequence";
12690
- gate: "gate";
12691
12706
  parallel: "parallel";
12707
+ gate: "gate";
12692
12708
  iterate: "iterate";
12693
12709
  "iterate-chain": "iterate-chain";
12694
12710
  loop: "loop";
@@ -12700,8 +12716,8 @@ declare const WorkLogFrameEntrySchema$1: z.ZodObject<{
12700
12716
  cancelled: "cancelled";
12701
12717
  failed: "failed";
12702
12718
  running: "running";
12703
- waiting: "waiting";
12704
12719
  skipped: "skipped";
12720
+ waiting: "waiting";
12705
12721
  }>;
12706
12722
  attempt: z.ZodNumber;
12707
12723
  iteration: z.ZodOptional<z.ZodNumber>;
@@ -12754,8 +12770,8 @@ declare const WorkLogGateEventSchema: z.ZodObject<{
12754
12770
  status: z.ZodEnum<{
12755
12771
  cancelled: "cancelled";
12756
12772
  rejected: "rejected";
12757
- waiting: "waiting";
12758
12773
  resumed: "resumed";
12774
+ waiting: "waiting";
12759
12775
  "timed-out": "timed-out";
12760
12776
  }>;
12761
12777
  prompt: z.ZodOptional<z.ZodString>;
@@ -1766,8 +1766,8 @@ declare class AuthorityRequestDeliveryError extends Error {
1766
1766
  * Optional reconnect callback invoked before each retry when the
1767
1767
  * previous attempt failed with a transport-level error.
1768
1768
  *
1769
- * Implementations should trigger a bus reconnect (e.g.
1770
- * `bus.reconnect()`) and return once the attempt has been initiated.
1769
+ * Implementations should trigger a bus reconnect (e.g. `bus.reconnect()`)
1770
+ * and return once the attempt has been initiated.
1771
1771
  * Failures from the reconnect attempt are non-fatal; the next retry
1772
1772
  * will naturally fail again if the transport is still down.
1773
1773
  */
@@ -1776,6 +1776,11 @@ type OutcomeReconnect = () => Promise<void>;
1776
1776
  interface OutcomeSubmitOptions {
1777
1777
  readonly retry?: OutcomeSubmitRetryConfig;
1778
1778
  readonly reconnect?: OutcomeReconnect;
1779
+ /**
1780
+ * Cancels a pending request, retry delay, or reconnect wait.
1781
+ * The reconnect itself remains owned by its host lifecycle.
1782
+ */
1783
+ readonly signal?: AbortSignal;
1779
1784
  }
1780
1785
  /**
1781
1786
  * Submit a workflow outcome for durable acknowledgement with
@@ -1797,7 +1802,7 @@ interface OutcomeSubmitOptions {
1797
1802
  * bus request; expiry throws a deterministic {@link OutcomeDeliveryError}.
1798
1803
  * @param bus - Worker-local bus connected to the Authority.
1799
1804
  * @param payload - Attempt identity and terminal result.
1800
- * @param options - Optional retry configuration and reconnect callback.
1805
+ * @param options - Optional retry configuration, reconnect callback, and cancellation signal.
1801
1806
  * @returns Durable ACK decision (`accepted` or `duplicate`).
1802
1807
  * @throws {@link OutcomeDeliveryError} On non-transient rejection or deadline expiry.
1803
1808
  */
@@ -1807,7 +1812,7 @@ declare function submitOutcomeWithAck(bus: IMakaioBus, payload: OutcomeSubmitPay
1807
1812
  * as legacy workflow results.
1808
1813
  * @param bus - Runtime bus authenticated as the Attempt peer.
1809
1814
  * @param payload - Fenced Attempt result and optional admitted operation.
1810
- * @param options - Retry and reconnect behavior.
1815
+ * @param options - Retry, reconnect, and cancellation behavior.
1811
1816
  * @returns Durable Authority acknowledgement.
1812
1817
  */
1813
1818
  declare function submitAttemptOutcomeWithAck(bus: IMakaioBus, payload: AttemptOutcomeSubmitPayload, options?: OutcomeSubmitOptions): Promise<OutcomeAckDecision>;
@@ -2906,12 +2911,17 @@ declare function bootstrapWorkerRuntime(options: BootstrapWorkerRuntimeOptions):
2906
2911
  //#endregion
2907
2912
  //#region runtimes/node/src/workflow-worker/attempt-control-client.d.ts
2908
2913
  /** Options for the report transport retried independently of the cancel signal. */
2909
- type AttemptControlReportOptions = OutcomeSubmitOptions;
2914
+ type AttemptControlReportOptions = Omit<OutcomeSubmitOptions, 'signal'>;
2910
2915
  /** Dependencies for the attempt control endpoint installer. */
2911
2916
  interface AttemptControlEndpointDeps {
2912
2917
  /** Retry and reconnect options for the `control.report` retrying transport. */
2913
2918
  readonly reportOptions?: AttemptControlReportOptions;
2914
- /** Outer cancellation signal for endpoint installation only, not for report delivery. */
2919
+ /**
2920
+ * Shutdown signal for `control.report` delivery, independent from the Cancel
2921
+ * signal that stops the workload.
2922
+ */
2923
+ readonly reportSignal?: AbortSignal;
2924
+ /** Outer cancellation signal for endpoint installation only. */
2915
2925
  readonly signal?: AbortSignal;
2916
2926
  /** Wall-clock supplier; defaults to `() => new Date()`. */
2917
2927
  readonly now?: () => Date;
@@ -2975,9 +2985,7 @@ interface InstalledAttemptControlEndpoint {
2975
2985
  * The subject is static and filtered by `{ executionAttemptId, runtimeIncarnationId }`
2976
2986
  * on the runtime bus — the same fenced scaffold the operation delivery endpoint
2977
2987
  * uses. A delivery for another attempt or incarnation is a filter miss, never
2978
- * seen here. See the trust-boundary note on
2979
- * {@link installFencedAttemptEndpoint} for the gap that filter leaves open, and
2980
- * for why it is wider on this subject than on `operation.deliver`.
2988
+ * seen here.
2981
2989
  *
2982
2990
  * The endpoint must exist before the runtime registers so that the authority's
2983
2991
  * `reconcileAttemptCancellation` call can reach it. The scaffold's
@@ -1,4 +1,4 @@
1
- import { g as OwnedAdapterInstance, h as MachineScopedAdapterInstance, w as Turn$1 } from "./index-BI8PuDkI.mjs";
1
+ import { g as OwnedAdapterInstance, h as MachineScopedAdapterInstance, w as Turn$1 } from "./index-BpQX136X.mjs";
2
2
  import { a as PipelineStep, o as SessionEditorAction, t as ActionCategory } from "./types-BRM1AZaP.mjs";
3
3
  import { z } from "zod";
4
4
  import * as _$_makaio_core0 from "@makaio/framework/core";
@@ -28,8 +28,8 @@ declare const WorkerBootstrapGrantedClaimResponseSchema: z.ZodObject<{
28
28
  /** Non-secret refusals shared with start authorization plus remote claim eligibility. */
29
29
  declare const WorkerBootstrapClaimRefusalReasonSchema: z.ZodEnum<{
30
30
  resolved: "resolved";
31
- "not-found": "not-found";
32
31
  fenced: "fenced";
32
+ "not-found": "not-found";
33
33
  "allocation-terminated": "allocation-terminated";
34
34
  "gate-closed": "gate-closed";
35
35
  "bootstrap-expired": "bootstrap-expired";
@@ -51,8 +51,8 @@ declare const WorkerBootstrapClaimResponseSchema: z.ZodDiscriminatedUnion<[z.Zod
51
51
  status: z.ZodLiteral<"refused">;
52
52
  reason: z.ZodEnum<{
53
53
  resolved: "resolved";
54
- "not-found": "not-found";
55
54
  fenced: "fenced";
55
+ "not-found": "not-found";
56
56
  "allocation-terminated": "allocation-terminated";
57
57
  "gate-closed": "gate-closed";
58
58
  "bootstrap-expired": "bootstrap-expired";
@@ -627,6 +627,7 @@ declare const WorkerSchemas$1: {
627
627
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
628
628
  relations: z.ZodArray<z.ZodObject<{
629
629
  type: z.ZodString;
630
+ sourceLocalId: z.ZodOptional<z.ZodString>;
630
631
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
631
632
  refClass: z.ZodLiteral<"artifact">;
632
633
  kind: z.ZodString;
@@ -778,9 +779,9 @@ declare const WorkerSchemas$1: {
778
779
  response: z.ZodObject<{
779
780
  decision: z.ZodEnum<{
780
781
  accepted: "accepted";
781
- fenced: "fenced";
782
782
  duplicate: "duplicate";
783
783
  conflict: "conflict";
784
+ fenced: "fenced";
784
785
  }>;
785
786
  }, z.core.$strict>;
786
787
  };
@@ -813,8 +814,8 @@ declare const WorkerSchemas$1: {
813
814
  status: z.ZodLiteral<"refused">;
814
815
  reason: z.ZodEnum<{
815
816
  resolved: "resolved";
816
- "not-found": "not-found";
817
817
  fenced: "fenced";
818
+ "not-found": "not-found";
818
819
  "allocation-terminated": "allocation-terminated";
819
820
  "gate-closed": "gate-closed";
820
821
  "bootstrap-expired": "bootstrap-expired";
@@ -1229,6 +1230,7 @@ declare const WorkerNamespace: _$_makaio_core0.BusNamespaceDefinition<"worker",
1229
1230
  data: _$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
1230
1231
  relations: _$zod.ZodArray<_$zod.ZodObject<{
1231
1232
  type: _$zod.ZodString;
1233
+ sourceLocalId: _$zod.ZodOptional<_$zod.ZodString>;
1232
1234
  target: _$zod.ZodPreprocess<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1233
1235
  refClass: _$zod.ZodLiteral<"artifact">;
1234
1236
  kind: _$zod.ZodString;
@@ -1380,9 +1382,9 @@ declare const WorkerNamespace: _$_makaio_core0.BusNamespaceDefinition<"worker",
1380
1382
  response: _$zod.ZodObject<{
1381
1383
  decision: _$zod.ZodEnum<{
1382
1384
  accepted: "accepted";
1383
- fenced: "fenced";
1384
1385
  duplicate: "duplicate";
1385
1386
  conflict: "conflict";
1387
+ fenced: "fenced";
1386
1388
  }>;
1387
1389
  }, _$zod_v4_core0.$strict>;
1388
1390
  };
@@ -1404,8 +1406,8 @@ declare const WorkerNamespace: _$_makaio_core0.BusNamespaceDefinition<"worker",
1404
1406
  status: _$zod.ZodLiteral<"refused">;
1405
1407
  reason: _$zod.ZodEnum<{
1406
1408
  resolved: "resolved";
1407
- "not-found": "not-found";
1408
1409
  fenced: "fenced";
1410
+ "not-found": "not-found";
1409
1411
  "allocation-terminated": "allocation-terminated";
1410
1412
  "gate-closed": "gate-closed";
1411
1413
  "bootstrap-expired": "bootstrap-expired";
@@ -1738,6 +1740,7 @@ declare const WorkerSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
1738
1740
  data: _$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
1739
1741
  relations: _$zod.ZodArray<_$zod.ZodObject<{
1740
1742
  type: _$zod.ZodString;
1743
+ sourceLocalId: _$zod.ZodOptional<_$zod.ZodString>;
1741
1744
  target: _$zod.ZodPreprocess<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1742
1745
  refClass: _$zod.ZodLiteral<"artifact">;
1743
1746
  kind: _$zod.ZodString;
@@ -1889,9 +1892,9 @@ declare const WorkerSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
1889
1892
  response: _$zod.ZodObject<{
1890
1893
  decision: _$zod.ZodEnum<{
1891
1894
  accepted: "accepted";
1892
- fenced: "fenced";
1893
1895
  duplicate: "duplicate";
1894
1896
  conflict: "conflict";
1897
+ fenced: "fenced";
1895
1898
  }>;
1896
1899
  }, _$zod_v4_core0.$strict>;
1897
1900
  };
@@ -1913,8 +1916,8 @@ declare const WorkerSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
1913
1916
  status: _$zod.ZodLiteral<"refused">;
1914
1917
  reason: _$zod.ZodEnum<{
1915
1918
  resolved: "resolved";
1916
- "not-found": "not-found";
1917
1919
  fenced: "fenced";
1920
+ "not-found": "not-found";
1918
1921
  "allocation-terminated": "allocation-terminated";
1919
1922
  "gate-closed": "gate-closed";
1920
1923
  "bootstrap-expired": "bootstrap-expired";
@@ -1,5 +1,5 @@
1
1
  import { i as CliContribution } from "./types-QRSc2AUU.mjs";
2
- import { c as ExtensionInfo } from "./index-KnN2OyWD2.mjs";
2
+ import { c as ExtensionInfo } from "./index-mTaFX2HH2.mjs";
3
3
  import { r as WindowRegistry } from "./window-registry-DeG37kt8.mjs";
4
4
  import { ExtensionContributionProcessor, ExtensionService, ExtensionToken, MakaioExtension, NodeExtensionContext, StorageDialect, TrayManifest, VersionLiteral } from "@makaio/framework/contracts";
5
5
  import { IMakaioBus } from "@makaio/framework/bus";