@makaio/framework 1.0.0-dev-1788811230746 → 1.0.0-dev-1788832451167

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 (103) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/{artifact-Btbuib48.mjs → artifact-ClvHqL3w.mjs} +1 -1
  3. package/dist/bus/index.mjs +1 -1
  4. package/dist/{context-resolution-C2VBZhaR.d.mts → context-resolution-BrtoXnez.d.mts} +99 -20
  5. package/dist/contracts/adapter/index.d.mts +1 -1
  6. package/dist/contracts/artifact/index.d.mts +3 -3
  7. package/dist/contracts/artifact/index.mjs +1 -1
  8. package/dist/contracts/capabilities/index.d.mts +1 -1
  9. package/dist/contracts/client/index.d.mts +1 -1
  10. package/dist/contracts/extension/index.d.mts +2 -2
  11. package/dist/contracts/index.d.mts +64 -64
  12. package/dist/contracts/index.mjs +1 -1
  13. package/dist/contracts/materialization/index.d.mts +2 -2
  14. package/dist/contracts/materialization/index.mjs +1 -1
  15. package/dist/contracts/session/index.d.mts +2 -2
  16. package/dist/contracts/worker/index.d.mts +1 -1
  17. package/dist/contracts/worker/index.mjs +1 -1
  18. package/dist/contracts/workflow/index.d.mts +2 -2
  19. package/dist/contracts/workflow/index.mjs +1 -1
  20. package/dist/{execution-attempt-repository-OryBjQQI.d.mts → execution-attempt-repository-CgB7uiYD.d.mts} +12 -1
  21. package/dist/execution-attempt-repository-D0cCU7dI.mjs +1 -0
  22. package/dist/{index-CXH1Bk0W.d.mts → index-BADuMxcP.d.mts} +134 -134
  23. package/dist/{index-BhOMZWZa2.d.mts → index-BDAfOYSw2.d.mts} +24 -24
  24. package/dist/{index-CAYbui7g.d.mts → index-BakMNLkB.d.mts} +110 -22
  25. package/dist/{index-CnGHGFMC.d.mts → index-Bsr4rZl0.d.mts} +4 -4
  26. package/dist/{index-DEpAI8CY.d.mts → index-BvgLFm-U.d.mts} +1 -1
  27. package/dist/{index-9PUmCySn.d.mts → index-BxOFB25y.d.mts} +5 -4
  28. package/dist/{index-BTCodvXA.d.mts → index-C1PfDEIV.d.mts} +50 -50
  29. package/dist/{index-C-cnB1Te.d.mts → index-CGJgZGqN.d.mts} +8 -8
  30. package/dist/{index-B6Kr3cxD2.d.mts → index-CiKzWCW02.d.mts} +30 -6
  31. package/dist/{index-DsjUnKyr.d.mts → index-DZXpKlyB.d.mts} +19 -19
  32. package/dist/{index-DrO6QLwf2.d.mts → index-DZnb56vt2.d.mts} +1 -1
  33. package/dist/{index-BDDavX2S.d.mts → index-LOh6AEqx.d.mts} +9 -9
  34. package/dist/{index-BxTM9lY0.d.mts → index-LryUXslm.d.mts} +1 -1
  35. package/dist/{index-CgqEyk9R.d.mts → index-rygpcDBV.d.mts} +1 -1
  36. package/dist/{index-Df9L5wwp.d.mts → index-vXmPEZ5O.d.mts} +388 -88
  37. package/dist/kernel/extension/index.d.mts +1 -1
  38. package/dist/kernel/index.d.mts +2 -2
  39. package/dist/kernel/observability/index.d.mts +1 -1
  40. package/dist/{materialization-lVd9_-jr.mjs → materialization-B_LA9pfy.mjs} +1 -1
  41. package/dist/{namespace-BkOvOAU5.d.mts → namespace-BMG3RCdr.d.mts} +6 -6
  42. package/dist/{namespace-2qvc6E2Y.d.mts → namespace-BoyqQiW9.d.mts} +2 -2
  43. package/dist/{namespace-CirognbA.d.mts → namespace-BymM0nl_.d.mts} +27 -27
  44. package/dist/{namespace-DAINF1II.d.mts → namespace-DdqVQSyc.d.mts} +2 -2
  45. package/dist/{namespace-DokogwAZ.d.mts → namespace-DlrX8feY.d.mts} +45 -45
  46. package/dist/{namespace-CxXNlHpn.d.mts → namespace-Dw5H_KCF.d.mts} +4 -4
  47. package/dist/{package-DEYXB80d.mjs → package-CzKoZ1k0.mjs} +1 -1
  48. package/dist/{package-eOEt1w6u.d.mts → package-DkpF17X_.d.mts} +14 -6
  49. package/dist/package.json +1 -1
  50. package/dist/runtime-node/index.d.mts +1 -1
  51. package/dist/runtime-node/index.mjs +1 -1
  52. package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
  53. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  54. package/dist/{schema-zSyY22Ck.d.mts → schema-C9PauHXt.d.mts} +2 -2
  55. package/dist/{schemas-DuJs6Iqj.d.mts → schemas-B2UbGJpJ.d.mts} +10 -10
  56. package/dist/{schemas-Dn1JDTPw.d.mts → schemas-BDZFd3Wb.d.mts} +2 -2
  57. package/dist/{schemas-DqnA42bw.d.mts → schemas-CBpjAhut.d.mts} +4 -4
  58. package/dist/schemas-CNkUEbIr.mjs +1 -0
  59. package/dist/{schemas-D0_kfoDf.d.mts → schemas-Wqo3_F6-.d.mts} +1 -1
  60. package/dist/services/adapter-runtime/index.d.mts +3 -3
  61. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  62. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  63. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  64. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  65. package/dist/services/context-rules/index.d.mts +3 -3
  66. package/dist/services/execution-target/index.d.mts +2 -2
  67. package/dist/services/execution-target/namespace.d.mts +1 -1
  68. package/dist/services/execution-target/schemas.d.mts +1 -1
  69. package/dist/services/filesystem/namespace.d.mts +6 -6
  70. package/dist/services/filesystem/schemas.d.mts +3 -3
  71. package/dist/services/index.d.mts +30 -30
  72. package/dist/services/index.mjs +1 -1
  73. package/dist/services/provider-context/index.d.mts +1 -1
  74. package/dist/services/session/handlers/index.d.mts +1 -1
  75. package/dist/services/session/index.d.mts +7 -7
  76. package/dist/services/session/messages/namespace.d.mts +1 -1
  77. package/dist/services/session/session-events/namespace.d.mts +1 -1
  78. package/dist/services/session/storage/namespace.d.mts +1 -1
  79. package/dist/services/session/storage/schema.d.mts +1 -1
  80. package/dist/services/settings/namespace.d.mts +10 -10
  81. package/dist/services/subagent-template/index.d.mts +1 -1
  82. package/dist/services/subagent-template/schemas.d.mts +1 -1
  83. package/dist/{transition-BB138WkK.d.mts → transition-DFA_ckdP.d.mts} +1 -1
  84. package/dist/{types-CR23FzmK.d.mts → types-DkfDRSTr.d.mts} +48 -48
  85. package/dist/{view-builder-qIGQrZfs.d.mts → view-builder-CYW_9n4A.d.mts} +1 -1
  86. package/dist/{worker-DPTYFyNP.mjs → worker-B4nD_Erm.mjs} +1 -1
  87. package/dist/{workflow-BomH9DBB.mjs → workflow-H8hsEikC.mjs} +1 -1
  88. package/dist/workflow-engine/execution-attempt-repository.d.mts +2 -2
  89. package/dist/workflow-engine/execution-attempt-repository.mjs +1 -1
  90. package/dist/workflow-engine/index.d.mts +4 -4
  91. package/dist/workflow-engine/index.mjs +1 -1
  92. package/dist/workflow-engine/package.d.mts +1 -1
  93. package/dist/workflow-engine/package.mjs +1 -1
  94. package/dist/workflow-engine/testing/conformance.d.mts +1 -1
  95. package/dist/workflow-engine/testing/conformance.mjs +1 -1
  96. package/dist/workflow-engine/testing/index.d.mts +1 -1
  97. package/dist/workflow-engine/testing/index.mjs +1 -1
  98. package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
  99. package/dist/workflow-engine/testing/sqlite.mjs +32 -32
  100. package/dist/{workflow-worker-BW3CE0YG.mjs → workflow-worker-CmIkKnpF.mjs} +2 -2
  101. package/package.json +1 -1
  102. package/dist/execution-attempt-repository-Djg3qDRv.mjs +0 -1
  103. package/dist/schemas-C3kyQWGf.mjs +0 -1
@@ -18,11 +18,11 @@ import { ExtensionWarningEntry, ExtensionWarningEntrySchema } from "@makaio/fram
18
18
  * detail, not an externally observable state.
19
19
  */
20
20
  declare const ComponentStateSchema: z.ZodEnum<{
21
- discovered: "discovered";
22
21
  failed: "failed";
23
- stopped: "stopped";
22
+ discovered: "discovered";
24
23
  active: "active";
25
24
  skipped: "skipped";
25
+ stopped: "stopped";
26
26
  initializing: "initializing";
27
27
  }>;
28
28
  /** Inferred union of all valid component lifecycle states. */
@@ -47,11 +47,11 @@ declare const ComponentInfoSchema: z.ZodObject<{
47
47
  name: z.ZodString;
48
48
  displayName: z.ZodString;
49
49
  state: z.ZodEnum<{
50
- discovered: "discovered";
51
50
  failed: "failed";
52
- stopped: "stopped";
51
+ discovered: "discovered";
53
52
  active: "active";
54
53
  skipped: "skipped";
54
+ stopped: "stopped";
55
55
  initializing: "initializing";
56
56
  }>;
57
57
  error: z.ZodOptional<z.ZodString>;
@@ -68,11 +68,11 @@ declare const ServiceInfoSchema: z.ZodObject<{
68
68
  name: z.ZodString;
69
69
  displayName: z.ZodString;
70
70
  state: z.ZodEnum<{
71
- discovered: "discovered";
72
71
  failed: "failed";
73
- stopped: "stopped";
72
+ discovered: "discovered";
74
73
  active: "active";
75
74
  skipped: "skipped";
75
+ stopped: "stopped";
76
76
  initializing: "initializing";
77
77
  }>;
78
78
  error: z.ZodOptional<z.ZodString>;
@@ -90,11 +90,11 @@ declare const ExtensionInfoSchema: z.ZodObject<{
90
90
  name: z.ZodString;
91
91
  displayName: z.ZodString;
92
92
  state: z.ZodEnum<{
93
- discovered: "discovered";
94
93
  failed: "failed";
95
- stopped: "stopped";
94
+ discovered: "discovered";
96
95
  active: "active";
97
96
  skipped: "skipped";
97
+ stopped: "stopped";
98
98
  initializing: "initializing";
99
99
  }>;
100
100
  error: z.ZodOptional<z.ZodString>;
@@ -138,19 +138,19 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
138
138
  name: z.ZodString;
139
139
  displayName: z.ZodString;
140
140
  from: z.ZodEnum<{
141
- discovered: "discovered";
142
141
  failed: "failed";
143
- stopped: "stopped";
142
+ discovered: "discovered";
144
143
  active: "active";
145
144
  skipped: "skipped";
145
+ stopped: "stopped";
146
146
  initializing: "initializing";
147
147
  }>;
148
148
  to: z.ZodEnum<{
149
- discovered: "discovered";
150
149
  failed: "failed";
151
- stopped: "stopped";
150
+ discovered: "discovered";
152
151
  active: "active";
153
152
  skipped: "skipped";
153
+ stopped: "stopped";
154
154
  initializing: "initializing";
155
155
  }>;
156
156
  error: z.ZodOptional<z.ZodString>;
@@ -181,11 +181,11 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
181
181
  name: z.ZodString;
182
182
  displayName: z.ZodString;
183
183
  state: z.ZodEnum<{
184
- discovered: "discovered";
185
184
  failed: "failed";
186
- stopped: "stopped";
185
+ discovered: "discovered";
187
186
  active: "active";
188
187
  skipped: "skipped";
188
+ stopped: "stopped";
189
189
  initializing: "initializing";
190
190
  }>;
191
191
  error: z.ZodOptional<z.ZodString>;
@@ -219,11 +219,11 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
219
219
  name: z.ZodString;
220
220
  displayName: z.ZodString;
221
221
  state: z.ZodEnum<{
222
- discovered: "discovered";
223
222
  failed: "failed";
224
- stopped: "stopped";
223
+ discovered: "discovered";
225
224
  active: "active";
226
225
  skipped: "skipped";
226
+ stopped: "stopped";
227
227
  initializing: "initializing";
228
228
  }>;
229
229
  error: z.ZodOptional<z.ZodString>;
@@ -641,19 +641,19 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
641
641
  name: z.ZodString;
642
642
  displayName: z.ZodString;
643
643
  from: z.ZodEnum<{
644
- discovered: "discovered";
645
644
  failed: "failed";
646
- stopped: "stopped";
645
+ discovered: "discovered";
647
646
  active: "active";
648
647
  skipped: "skipped";
648
+ stopped: "stopped";
649
649
  initializing: "initializing";
650
650
  }>;
651
651
  to: z.ZodEnum<{
652
- discovered: "discovered";
653
652
  failed: "failed";
654
- stopped: "stopped";
653
+ discovered: "discovered";
655
654
  active: "active";
656
655
  skipped: "skipped";
656
+ stopped: "stopped";
657
657
  initializing: "initializing";
658
658
  }>;
659
659
  error: z.ZodOptional<z.ZodString>;
@@ -684,11 +684,11 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
684
684
  name: z.ZodString;
685
685
  displayName: z.ZodString;
686
686
  state: z.ZodEnum<{
687
- discovered: "discovered";
688
687
  failed: "failed";
689
- stopped: "stopped";
688
+ discovered: "discovered";
690
689
  active: "active";
691
690
  skipped: "skipped";
691
+ stopped: "stopped";
692
692
  initializing: "initializing";
693
693
  }>;
694
694
  error: z.ZodOptional<z.ZodString>;
@@ -722,11 +722,11 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
722
722
  name: z.ZodString;
723
723
  displayName: z.ZodString;
724
724
  state: z.ZodEnum<{
725
- discovered: "discovered";
726
725
  failed: "failed";
727
- stopped: "stopped";
726
+ discovered: "discovered";
728
727
  active: "active";
729
728
  skipped: "skipped";
729
+ stopped: "stopped";
730
730
  initializing: "initializing";
731
731
  }>;
732
732
  error: z.ZodOptional<z.ZodString>;
@@ -1,4 +1,4 @@
1
- import { q as ArtifactRevision$1 } from "./context-resolution-C2VBZhaR.mjs";
1
+ import { q as ArtifactRevision$1 } from "./context-resolution-BrtoXnez.mjs";
2
2
  import { n as AutomationTriggerBinding$1, o as AutomationTriggerParams, u as DefinedAutomationTrigger } from "./definition-u_5rYQtc.mjs";
3
3
  import { a as JsonObjectContractSchema, l as JsonValue$1 } from "./json-value-pX6xnLGw.mjs";
4
4
  import { z } from "zod";
@@ -964,8 +964,8 @@ declare const WorkflowResolvedRoleSchema: z.ZodObject<{
964
964
  harnessId: z.ZodOptional<z.ZodString>;
965
965
  systemPrompt: z.ZodOptional<z.ZodString>;
966
966
  contextMode: z.ZodOptional<z.ZodEnum<{
967
- fork: "fork";
968
967
  fresh: "fresh";
968
+ fork: "fork";
969
969
  }>>;
970
970
  providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
971
971
  state: z.ZodLiteral<"resolved">;
@@ -1075,8 +1075,8 @@ declare const WorkflowResolvedAgentSchema: z.ZodObject<{
1075
1075
  harnessId: z.ZodOptional<z.ZodString>;
1076
1076
  systemPrompt: z.ZodOptional<z.ZodString>;
1077
1077
  contextMode: z.ZodOptional<z.ZodEnum<{
1078
- fork: "fork";
1079
1078
  fresh: "fresh";
1079
+ fork: "fork";
1080
1080
  }>>;
1081
1081
  providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1082
1082
  state: z.ZodLiteral<"resolved">;
@@ -2086,7 +2086,11 @@ declare const ArtifactQuerySourceSchema: z.ZodObject<{
2086
2086
  id: z.ZodString;
2087
2087
  revision: z.ZodOptional<z.ZodString>;
2088
2088
  locator: z.ZodOptional<z.ZodString>;
2089
- }, z.core.$strip>], "refClass">>>;
2089
+ }, z.core.$strip>, z.ZodObject<{
2090
+ refClass: z.ZodLiteral<"entity">;
2091
+ entityType: z.ZodString;
2092
+ id: z.ZodString;
2093
+ }, z.core.$strict>], "refClass">>>;
2090
2094
  }, z.core.$strip>>;
2091
2095
  confidence: z.ZodOptional<z.ZodObject<{
2092
2096
  maxLevel: z.ZodOptional<z.ZodEnum<{
@@ -2161,7 +2165,11 @@ declare const ContextSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2161
2165
  id: z.ZodString;
2162
2166
  revision: z.ZodOptional<z.ZodString>;
2163
2167
  locator: z.ZodOptional<z.ZodString>;
2164
- }, z.core.$strip>], "refClass">>>;
2168
+ }, z.core.$strip>, z.ZodObject<{
2169
+ refClass: z.ZodLiteral<"entity">;
2170
+ entityType: z.ZodString;
2171
+ id: z.ZodString;
2172
+ }, z.core.$strict>], "refClass">>>;
2165
2173
  }, z.core.$strip>>;
2166
2174
  confidence: z.ZodOptional<z.ZodObject<{
2167
2175
  maxLevel: z.ZodOptional<z.ZodEnum<{
@@ -3057,7 +3065,11 @@ declare const WorkflowSchemas: {
3057
3065
  id: z.ZodString;
3058
3066
  revision: z.ZodOptional<z.ZodString>;
3059
3067
  locator: z.ZodOptional<z.ZodString>;
3060
- }, z.core.$strip>], "refClass">>;
3068
+ }, z.core.$strip>, z.ZodObject<{
3069
+ refClass: z.ZodLiteral<"entity">;
3070
+ entityType: z.ZodString;
3071
+ id: z.ZodString;
3072
+ }, z.core.$strict>], "refClass">>;
3061
3073
  }, z.core.$strip>>;
3062
3074
  confidence: z.ZodOptional<z.ZodObject<{
3063
3075
  level: z.ZodEnum<{
@@ -3096,7 +3108,11 @@ declare const WorkflowSchemas: {
3096
3108
  id: z.ZodString;
3097
3109
  revision: z.ZodOptional<z.ZodString>;
3098
3110
  locator: z.ZodOptional<z.ZodString>;
3099
- }, z.core.$strip>], "refClass">>>;
3111
+ }, z.core.$strip>, z.ZodObject<{
3112
+ refClass: z.ZodLiteral<"entity">;
3113
+ entityType: z.ZodString;
3114
+ id: z.ZodString;
3115
+ }, z.core.$strict>], "refClass">>>;
3100
3116
  }, z.core.$strip>>;
3101
3117
  }, z.core.$strip>>;
3102
3118
  representations: z.ZodOptional<z.ZodObject<{
@@ -3164,6 +3180,10 @@ declare const WorkflowSchemas: {
3164
3180
  id: string;
3165
3181
  revision?: string | undefined;
3166
3182
  locator?: string | undefined;
3183
+ } | {
3184
+ refClass: "entity";
3185
+ entityType: string;
3186
+ id: string;
3167
3187
  };
3168
3188
  }[];
3169
3189
  actor: {
@@ -3203,6 +3223,10 @@ declare const WorkflowSchemas: {
3203
3223
  id: string;
3204
3224
  revision?: string | undefined;
3205
3225
  locator?: string | undefined;
3226
+ } | {
3227
+ refClass: "entity";
3228
+ entityType: string;
3229
+ id: string;
3206
3230
  } | undefined;
3207
3231
  }[];
3208
3232
  } | undefined;
@@ -3320,6 +3344,10 @@ declare const WorkflowSchemas: {
3320
3344
  id: string;
3321
3345
  revision?: string | undefined;
3322
3346
  locator?: string | undefined;
3347
+ } | {
3348
+ refClass: "entity";
3349
+ entityType: string;
3350
+ id: string;
3323
3351
  };
3324
3352
  }[];
3325
3353
  actor: {
@@ -3359,6 +3387,10 @@ declare const WorkflowSchemas: {
3359
3387
  id: string;
3360
3388
  revision?: string | undefined;
3361
3389
  locator?: string | undefined;
3390
+ } | {
3391
+ refClass: "entity";
3392
+ entityType: string;
3393
+ id: string;
3362
3394
  } | undefined;
3363
3395
  }[];
3364
3396
  } | undefined;
@@ -4053,8 +4085,8 @@ declare const WorkflowSchemas: {
4053
4085
  harnessId: z.ZodOptional<z.ZodString>;
4054
4086
  systemPrompt: z.ZodOptional<z.ZodString>;
4055
4087
  contextMode: z.ZodOptional<z.ZodEnum<{
4056
- fork: "fork";
4057
4088
  fresh: "fresh";
4089
+ fork: "fork";
4058
4090
  }>>;
4059
4091
  providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
4060
4092
  state: z.ZodLiteral<"resolved">;
@@ -4164,8 +4196,8 @@ declare const WorkflowSchemas: {
4164
4196
  harnessId: z.ZodOptional<z.ZodString>;
4165
4197
  systemPrompt: z.ZodOptional<z.ZodString>;
4166
4198
  contextMode: z.ZodOptional<z.ZodEnum<{
4167
- fork: "fork";
4168
4199
  fresh: "fresh";
4200
+ fork: "fork";
4169
4201
  }>>;
4170
4202
  providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
4171
4203
  state: z.ZodLiteral<"resolved">;
@@ -5765,7 +5797,11 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
5765
5797
  id: z.ZodString;
5766
5798
  revision: z.ZodOptional<z.ZodString>;
5767
5799
  locator: z.ZodOptional<z.ZodString>;
5768
- }, z.core.$strip>], "refClass">>;
5800
+ }, z.core.$strip>, z.ZodObject<{
5801
+ refClass: z.ZodLiteral<"entity">;
5802
+ entityType: z.ZodString;
5803
+ id: z.ZodString;
5804
+ }, z.core.$strict>], "refClass">>;
5769
5805
  }, z.core.$strip>>;
5770
5806
  confidence: z.ZodOptional<z.ZodObject<{
5771
5807
  level: z.ZodEnum<{
@@ -5804,7 +5840,11 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
5804
5840
  id: z.ZodString;
5805
5841
  revision: z.ZodOptional<z.ZodString>;
5806
5842
  locator: z.ZodOptional<z.ZodString>;
5807
- }, z.core.$strip>], "refClass">>>;
5843
+ }, z.core.$strip>, z.ZodObject<{
5844
+ refClass: z.ZodLiteral<"entity">;
5845
+ entityType: z.ZodString;
5846
+ id: z.ZodString;
5847
+ }, z.core.$strict>], "refClass">>>;
5808
5848
  }, z.core.$strip>>;
5809
5849
  }, z.core.$strip>>;
5810
5850
  representations: z.ZodOptional<z.ZodObject<{
@@ -5872,6 +5912,10 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
5872
5912
  id: string;
5873
5913
  revision?: string | undefined;
5874
5914
  locator?: string | undefined;
5915
+ } | {
5916
+ refClass: "entity";
5917
+ entityType: string;
5918
+ id: string;
5875
5919
  };
5876
5920
  }[];
5877
5921
  actor: {
@@ -5911,6 +5955,10 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
5911
5955
  id: string;
5912
5956
  revision?: string | undefined;
5913
5957
  locator?: string | undefined;
5958
+ } | {
5959
+ refClass: "entity";
5960
+ entityType: string;
5961
+ id: string;
5914
5962
  } | undefined;
5915
5963
  }[];
5916
5964
  } | undefined;
@@ -6028,6 +6076,10 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
6028
6076
  id: string;
6029
6077
  revision?: string | undefined;
6030
6078
  locator?: string | undefined;
6079
+ } | {
6080
+ refClass: "entity";
6081
+ entityType: string;
6082
+ id: string;
6031
6083
  };
6032
6084
  }[];
6033
6085
  actor: {
@@ -6067,6 +6119,10 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
6067
6119
  id: string;
6068
6120
  revision?: string | undefined;
6069
6121
  locator?: string | undefined;
6122
+ } | {
6123
+ refClass: "entity";
6124
+ entityType: string;
6125
+ id: string;
6070
6126
  } | undefined;
6071
6127
  }[];
6072
6128
  } | undefined;
@@ -6761,8 +6817,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
6761
6817
  harnessId: z.ZodOptional<z.ZodString>;
6762
6818
  systemPrompt: z.ZodOptional<z.ZodString>;
6763
6819
  contextMode: z.ZodOptional<z.ZodEnum<{
6764
- fork: "fork";
6765
6820
  fresh: "fresh";
6821
+ fork: "fork";
6766
6822
  }>>;
6767
6823
  providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
6768
6824
  state: z.ZodLiteral<"resolved">;
@@ -6872,8 +6928,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
6872
6928
  harnessId: z.ZodOptional<z.ZodString>;
6873
6929
  systemPrompt: z.ZodOptional<z.ZodString>;
6874
6930
  contextMode: z.ZodOptional<z.ZodEnum<{
6875
- fork: "fork";
6876
6931
  fresh: "fresh";
6932
+ fork: "fork";
6877
6933
  }>>;
6878
6934
  providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
6879
6935
  state: z.ZodLiteral<"resolved">;
@@ -8473,7 +8529,11 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
8473
8529
  id: z.ZodString;
8474
8530
  revision: z.ZodOptional<z.ZodString>;
8475
8531
  locator: z.ZodOptional<z.ZodString>;
8476
- }, z.core.$strip>], "refClass">>;
8532
+ }, z.core.$strip>, z.ZodObject<{
8533
+ refClass: z.ZodLiteral<"entity">;
8534
+ entityType: z.ZodString;
8535
+ id: z.ZodString;
8536
+ }, z.core.$strict>], "refClass">>;
8477
8537
  }, z.core.$strip>>;
8478
8538
  confidence: z.ZodOptional<z.ZodObject<{
8479
8539
  level: z.ZodEnum<{
@@ -8512,7 +8572,11 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
8512
8572
  id: z.ZodString;
8513
8573
  revision: z.ZodOptional<z.ZodString>;
8514
8574
  locator: z.ZodOptional<z.ZodString>;
8515
- }, z.core.$strip>], "refClass">>>;
8575
+ }, z.core.$strip>, z.ZodObject<{
8576
+ refClass: z.ZodLiteral<"entity">;
8577
+ entityType: z.ZodString;
8578
+ id: z.ZodString;
8579
+ }, z.core.$strict>], "refClass">>>;
8516
8580
  }, z.core.$strip>>;
8517
8581
  }, z.core.$strip>>;
8518
8582
  representations: z.ZodOptional<z.ZodObject<{
@@ -8580,6 +8644,10 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
8580
8644
  id: string;
8581
8645
  revision?: string | undefined;
8582
8646
  locator?: string | undefined;
8647
+ } | {
8648
+ refClass: "entity";
8649
+ entityType: string;
8650
+ id: string;
8583
8651
  };
8584
8652
  }[];
8585
8653
  actor: {
@@ -8619,6 +8687,10 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
8619
8687
  id: string;
8620
8688
  revision?: string | undefined;
8621
8689
  locator?: string | undefined;
8690
+ } | {
8691
+ refClass: "entity";
8692
+ entityType: string;
8693
+ id: string;
8622
8694
  } | undefined;
8623
8695
  }[];
8624
8696
  } | undefined;
@@ -8736,6 +8808,10 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
8736
8808
  id: string;
8737
8809
  revision?: string | undefined;
8738
8810
  locator?: string | undefined;
8811
+ } | {
8812
+ refClass: "entity";
8813
+ entityType: string;
8814
+ id: string;
8739
8815
  };
8740
8816
  }[];
8741
8817
  actor: {
@@ -8775,6 +8851,10 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
8775
8851
  id: string;
8776
8852
  revision?: string | undefined;
8777
8853
  locator?: string | undefined;
8854
+ } | {
8855
+ refClass: "entity";
8856
+ entityType: string;
8857
+ id: string;
8778
8858
  } | undefined;
8779
8859
  }[];
8780
8860
  } | undefined;
@@ -9469,8 +9549,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
9469
9549
  harnessId: z.ZodOptional<z.ZodString>;
9470
9550
  systemPrompt: z.ZodOptional<z.ZodString>;
9471
9551
  contextMode: z.ZodOptional<z.ZodEnum<{
9472
- fork: "fork";
9473
9552
  fresh: "fresh";
9553
+ fork: "fork";
9474
9554
  }>>;
9475
9555
  providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
9476
9556
  state: z.ZodLiteral<"resolved">;
@@ -9580,8 +9660,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
9580
9660
  harnessId: z.ZodOptional<z.ZodString>;
9581
9661
  systemPrompt: z.ZodOptional<z.ZodString>;
9582
9662
  contextMode: z.ZodOptional<z.ZodEnum<{
9583
- fork: "fork";
9584
9663
  fresh: "fresh";
9664
+ fork: "fork";
9585
9665
  }>>;
9586
9666
  providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
9587
9667
  state: z.ZodLiteral<"resolved">;
@@ -11179,7 +11259,11 @@ declare const WorkflowRunResultSchema$1: z.ZodDiscriminatedUnion<[z.ZodObject<{
11179
11259
  id: z.ZodString;
11180
11260
  revision: z.ZodOptional<z.ZodString>;
11181
11261
  locator: z.ZodOptional<z.ZodString>;
11182
- }, z.core.$strip>], "refClass">>;
11262
+ }, z.core.$strip>, z.ZodObject<{
11263
+ refClass: z.ZodLiteral<"entity">;
11264
+ entityType: z.ZodString;
11265
+ id: z.ZodString;
11266
+ }, z.core.$strict>], "refClass">>;
11183
11267
  }, z.core.$strip>>;
11184
11268
  confidence: z.ZodOptional<z.ZodObject<{
11185
11269
  level: z.ZodEnum<{
@@ -11218,7 +11302,11 @@ declare const WorkflowRunResultSchema$1: z.ZodDiscriminatedUnion<[z.ZodObject<{
11218
11302
  id: z.ZodString;
11219
11303
  revision: z.ZodOptional<z.ZodString>;
11220
11304
  locator: z.ZodOptional<z.ZodString>;
11221
- }, z.core.$strip>], "refClass">>>;
11305
+ }, z.core.$strip>, z.ZodObject<{
11306
+ refClass: z.ZodLiteral<"entity">;
11307
+ entityType: z.ZodString;
11308
+ id: z.ZodString;
11309
+ }, z.core.$strict>], "refClass">>>;
11222
11310
  }, z.core.$strip>>;
11223
11311
  }, z.core.$strip>>;
11224
11312
  representations: z.ZodOptional<z.ZodObject<{
@@ -12058,8 +12146,8 @@ type IterateHandler<TTrigger = unknown, TPreviousSteps extends Record<string, Pr
12058
12146
  * - fresh: Start with clean context
12059
12147
  */
12060
12148
  declare const ContextModeSchema$1: z.ZodEnum<{
12061
- fork: "fork";
12062
12149
  fresh: "fresh";
12150
+ fork: "fork";
12063
12151
  }>;
12064
12152
  type ContextMode = z.infer<typeof ContextModeSchema$1>;
12065
12153
  /**
@@ -12194,8 +12282,8 @@ declare const SubagentConfigSchema$1: z.ZodObject<{
12194
12282
  "extra-high": "extra-high";
12195
12283
  }>>;
12196
12284
  contextMode: z.ZodDefault<z.ZodEnum<{
12197
- fork: "fork";
12198
12285
  fresh: "fresh";
12286
+ fork: "fork";
12199
12287
  }>>;
12200
12288
  tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
12201
12289
  disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -12364,8 +12452,8 @@ declare const SpawnSubagentRpcRequestSchema$1: z.ZodObject<{
12364
12452
  "extra-high": "extra-high";
12365
12453
  }>>;
12366
12454
  contextMode: z.ZodDefault<z.ZodEnum<{
12367
- fork: "fork";
12368
12455
  fresh: "fresh";
12456
+ fork: "fork";
12369
12457
  }>>;
12370
12458
  tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
12371
12459
  disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -1,16 +1,16 @@
1
- import { G as ArtifactLifecycleHookRegistration$1, N as AnyArtifactKindDefinition, W as ArtifactLifecycleHookEvent } from "./index-Df9L5wwp.mjs";
1
+ import { G as ArtifactLifecycleHookRegistration$1, N as AnyArtifactKindDefinition, W as ArtifactLifecycleHookEvent } from "./index-vXmPEZ5O.mjs";
2
2
  import { s as AdapterProviderAuth$1 } from "./adapter-binding-D68U_Hmh.mjs";
3
3
  import { i as ExtensionService$1, n as NodeExtensionContext$1, t as ExtensionContext$1 } from "./extension-context-BmU5XKjI.mjs";
4
4
  import { t as ExtensionAutomationTriggersContribution } from "./contribution-Crm-mctl.mjs";
5
- import { n as ExtensionTransitionRulesContribution, t as ExtensionTransitionActionsContribution, v as WorkflowBlockCollection$1 } from "./transition-BB138WkK.mjs";
5
+ import { n as ExtensionTransitionRulesContribution, t as ExtensionTransitionActionsContribution, v as WorkflowBlockCollection$1 } from "./transition-DFA_ckdP.mjs";
6
6
  import { E as ClientDefinition$1, Q as VersionLiteral$1, et as VersionRange, f as ExtensionClientHookResponsesContribution } from "./hook-responses-DcapjzLb.mjs";
7
7
  import { c as ProviderDefinitionInput$1, r as ProtocolId$1 } from "./definition-BHSzhrUf.mjs";
8
8
  import { t as RequiredTimeoutConfig } from "./index-D94yE5Dr.mjs";
9
- import { Qt as SESSION_EVENT_TYPES, bn as SessionMessage$1, i as MakaioSessionEvent$1 } from "./types-CR23FzmK.mjs";
9
+ import { Qt as SESSION_EVENT_TYPES, bn as SessionMessage$1, i as MakaioSessionEvent$1 } from "./types-DkfDRSTr.mjs";
10
10
  import { D as EntityUIConfig$1, I as FormFieldProps } from "./index-QJW9g1mG.mjs";
11
11
  import { l as FacetNamespaceDefinition } from "./index-CPWBGotQ.mjs";
12
12
  import { t as ExtensionReactionsContribution } from "./index-Bo3LRb2u.mjs";
13
- import { G as SurfaceBindingDefinition, p as ExtensionArtifactViewBuildersContribution } from "./view-builder-qIGQrZfs.mjs";
13
+ import { G as SurfaceBindingDefinition, p as ExtensionArtifactViewBuildersContribution } from "./view-builder-CYW_9n4A.mjs";
14
14
  import { z } from "zod";
15
15
  import { MakaioBusLike, PayloadFilter, RegistrableBusNamespaceDefinition, SubjectSchema } from "@makaio/framework/core";
16
16
  import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
@@ -1,4 +1,4 @@
1
- import { c as AdapterRuntimeSnapshotErrorCode } from "./schemas-DqnA42bw.mjs";
1
+ import { c as AdapterRuntimeSnapshotErrorCode } from "./schemas-CBpjAhut.mjs";
2
2
  import { IMakaioBus } from "@makaio/framework/bus";
3
3
  import { ProviderContext, ResolvedProviderContext } from "@makaio/framework/contracts";
4
4
 
@@ -2342,6 +2342,7 @@ interface WorkloadInvocationPreparation {
2342
2342
  prepare(input: {
2343
2343
  readonly requirement: WorkspaceRequirement;
2344
2344
  readonly workspaceRoot: string;
2345
+ readonly signal?: AbortSignal;
2345
2346
  }): Promise<LocalWorkspaceHandle>;
2346
2347
  }
2347
2348
  /** Inputs for the fixed Preparation → Invocation sequence of an already registered Runtime. */
@@ -2356,7 +2357,7 @@ interface RunWorkloadInvocationOptions {
2356
2357
  readonly setupEnv?: Readonly<NodeJS.ProcessEnv>;
2357
2358
  /** Installed workload adapters available in this Runtime. */
2358
2359
  readonly adapters: readonly InstalledWorkloadAdapter[];
2359
- /** Cancellation signal forwarded to local setup and workload execution. */
2360
+ /** Cancellation signal forwarded to source preparation, setup and workload execution. */
2360
2361
  readonly signal?: AbortSignal;
2361
2362
  /** Reconnect hook reused for terminal outcome acknowledgement. */
2362
2363
  readonly reconnect?: OutcomeReconnect;
@@ -2375,9 +2376,9 @@ interface WorkloadInvocationResult {
2375
2376
  /**
2376
2377
  * Execute the fixed generic workload sequence for an already registered Runtime.
2377
2378
  *
2378
- * No Workspace is synthesized for workspace-less instructions. Source
2379
- * acquisition remains unsupported by the local Preparation helper; workload
2380
- * executable acquisition stays inside the admitted adapter invocation.
2379
+ * No Workspace is synthesized for workspace-less instructions. The default
2380
+ * Preparation installs no source strategy; an injected Preparation can supply
2381
+ * one. Executable acquisition stays inside the admitted adapter invocation.
2381
2382
  * @param bus - Runtime bus authenticated as this Attempt.
2382
2383
  * @param options - Registered Attempt, installed adapters and optional local Workspace locator.
2383
2384
  * @returns The terminal outcome after canonical Authority acknowledgement.