@makaio/framework 1.0.0-dev-1788963848381 → 1.0.0-dev-1788966380232

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 (106) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/{attempt-record-codec-62Ifw7fv.mjs → attempt-record-codec-D2Gb_epJ.mjs} +1 -1
  3. package/dist/contracts/adapter/index.d.mts +2 -2
  4. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  5. package/dist/contracts/artifact/index.d.mts +1 -1
  6. package/dist/contracts/automation-trigger/index.d.mts +1 -1
  7. package/dist/contracts/capabilities/index.d.mts +1 -1
  8. package/dist/contracts/client/index.d.mts +2 -2
  9. package/dist/contracts/extension/index.d.mts +4 -4
  10. package/dist/contracts/facet/index.d.mts +1 -1
  11. package/dist/contracts/harness/index.d.mts +1 -1
  12. package/dist/contracts/index.d.mts +71 -71
  13. package/dist/contracts/materialization/index.d.mts +2 -2
  14. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  15. package/dist/contracts/reaction/index.d.mts +1 -1
  16. package/dist/contracts/session/index.d.mts +2 -2
  17. package/dist/contracts/variant/index.d.mts +1 -1
  18. package/dist/contracts/worker/index.d.mts +1 -1
  19. package/dist/contracts/workflow/index.d.mts +1 -1
  20. package/dist/{contribution-BexrtFLC.d.mts → contribution-BfEEQ8YZ.d.mts} +1 -1
  21. package/dist/{execution-attempt-owner-recovery-CwTiTnnR.mjs → execution-attempt-owner-recovery-D4APLAvt.mjs} +1 -1
  22. package/dist/{execution-attempt-repository-CE7UXmEi.d.mts → execution-attempt-repository--RVils5-.d.mts} +273 -189
  23. package/dist/execution-attempt-repository-CWbgCTwA.mjs +1 -0
  24. package/dist/{extension-context-DDfSMPat.d.mts → extension-context-Cpf_n5FH.d.mts} +3 -3
  25. package/dist/{hook-responses-CRQYe15-.d.mts → hook-responses-CpEfxEmG.d.mts} +1 -1
  26. package/dist/{index-Bq8JJ77a2.d.mts → index-09eal6WI2.d.mts} +11 -11
  27. package/dist/{index-B_gyAIAo.d.mts → index-B7wjmaev.d.mts} +23 -13
  28. package/dist/{index-DTadNB7U.d.mts → index-BKwYE1Qk.d.mts} +3 -3
  29. package/dist/{index-BsZu6i8H2.d.mts → index-BT5qcsEf2.d.mts} +15 -15
  30. package/dist/{index-CCYavCD92.d.mts → index-BfzuauBt2.d.mts} +1 -1
  31. package/dist/{index-DkviOBAT.d.mts → index-Bj2JCo9V.d.mts} +1 -1
  32. package/dist/{index-CpGf9W_u.d.mts → index-BkQlL0Pl.d.mts} +8 -8
  33. package/dist/{index-DsEwuqKE.d.mts → index-Bnm0QvJ4.d.mts} +32 -32
  34. package/dist/{index-dpaDWzUU.d.mts → index-BqR2xDu6.d.mts} +234 -234
  35. package/dist/{index-CR5OVrQJ.d.mts → index-Bxq_zO2E.d.mts} +4 -4
  36. package/dist/{index-ndFBIZvG2.d.mts → index-C75h1xHF2.d.mts} +1 -1
  37. package/dist/{index-BdGOOFbD.d.mts → index-CVh7ZP2I.d.mts} +6 -6
  38. package/dist/{index-Bk8WkSa_.d.mts → index-DO633_D-.d.mts} +45 -45
  39. package/dist/{index-CP96gudX2.d.mts → index-DU9Y9tes2.d.mts} +4 -4
  40. package/dist/{index-CX9F0vHE.d.mts → index-DY_0TRvM.d.mts} +7 -7
  41. package/dist/{index-DhhHzOUU.d.mts → index-DzlGAEws.d.mts} +1 -1
  42. package/dist/{index-BIlFSGnW.d.mts → index-LjLUr3Dm.d.mts} +10 -10
  43. package/dist/{index-E55FZQKt.d.mts → index-MtDz_goH.d.mts} +49 -49
  44. package/dist/{index-DCHdW5g-.d.mts → index-ud9i9pue.d.mts} +16 -16
  45. package/dist/{index-di-02yaB2.d.mts → index-v9TbeVee2.d.mts} +5 -5
  46. package/dist/kernel/extension/index.d.mts +1 -1
  47. package/dist/kernel/index.d.mts +2 -2
  48. package/dist/kernel/observability/index.d.mts +1 -1
  49. package/dist/{namespace-CfA0C0JR.d.mts → namespace-B1sjokHd.d.mts} +2 -2
  50. package/dist/{namespace-BFZ4HTH-.d.mts → namespace-BYsKOw-g.d.mts} +2 -2
  51. package/dist/{namespace-Dmbm2JzV.d.mts → namespace-Cy62a3YP.d.mts} +2 -2
  52. package/dist/{namespace-De6ORL69.d.mts → namespace-KTRWfIPy.d.mts} +2 -2
  53. package/dist/package-B-xpYKe8.mjs +7 -0
  54. package/dist/{package-DjI3DSDe.d.mts → package-Bl0mcGb8.d.mts} +8 -1
  55. package/dist/package.json +1 -1
  56. package/dist/runtime-node/index.d.mts +1 -1
  57. package/dist/runtime-node/index.mjs +1 -1
  58. package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
  59. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  60. package/dist/{schemas-a4aVR0WT.d.mts → schemas-BYyT43gX.d.mts} +13 -13
  61. package/dist/{schemas-CQe4xCRn.d.mts → schemas-DGKWi7mk.d.mts} +2 -2
  62. package/dist/{schemas-CikbhFMx.d.mts → schemas-DwqibWUL.d.mts} +2 -2
  63. package/dist/services/agent-runtime/index.d.mts +2 -2
  64. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  65. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  66. package/dist/services/execution-target/index.d.mts +3 -3
  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 +24 -24
  72. package/dist/services/log-import/browser.d.mts +2 -2
  73. package/dist/services/log-import/index.d.mts +2 -2
  74. package/dist/services/log-import/log-import.d.mts +1 -1
  75. package/dist/services/log-import/namespace.d.mts +2 -2
  76. package/dist/services/log-import/schemas.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/session/messages/namespace.d.mts +1 -1
  80. package/dist/services/settings/namespace.d.mts +10 -10
  81. package/dist/services/subagent-template/index.d.mts +2 -2
  82. package/dist/services/subagent-template/namespace.d.mts +1 -1
  83. package/dist/services/subagent-template/schemas.d.mts +1 -1
  84. package/dist/{session-lineage-CLOlB9l_.d.mts → session-lineage-CEyJWg_J.d.mts} +1 -1
  85. package/dist/{types-Bs3Pm8rB2.d.mts → types-Bnc-pdB12.d.mts} +1 -1
  86. package/dist/{types-DoxPKNUW.d.mts → types-ZvPhKp3j.d.mts} +8 -8
  87. package/dist/{view-builder-BMpOHHlf.d.mts → view-builder-D54kvyf7.d.mts} +9 -9
  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 +51 -51
  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/provider-operation.d.mts +1 -1
  95. package/dist/workflow-engine/testing/conformance.d.mts +1 -1
  96. package/dist/workflow-engine/testing/conformance.mjs +2 -2
  97. package/dist/workflow-engine/testing/index.d.mts +3 -1
  98. package/dist/workflow-engine/testing/index.mjs +1 -1
  99. package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
  100. package/dist/workflow-engine/testing/sqlite.mjs +66 -61
  101. package/dist/workflow-worker-CrnDwpkP.mjs +2 -0
  102. package/package.json +1 -1
  103. package/dist/execution-attempt-repository-Z7oEBcgp.mjs +0 -1
  104. package/dist/package-BESXccyx.mjs +0 -7
  105. package/dist/workflow-worker-Drf-skvM.mjs +0 -2
  106. package/dist/{index-BU9HQ1vJ2.d.mts → index-BBkJsViX2.d.mts} +6 -6
@@ -27,10 +27,10 @@ type MakaioVariant = z.infer<typeof MakaioVariantSchema>;
27
27
  */
28
28
  declare const VariantUpgradeStatusSchema: z.ZodEnum<{
29
29
  error: "error";
30
- progress: "progress";
31
- complete: "complete";
32
30
  downloading: "downloading";
31
+ progress: "progress";
33
32
  applying: "applying";
33
+ complete: "complete";
34
34
  }>;
35
35
  /** Inferred TypeScript type for an upgrade status value. */
36
36
  type VariantUpgradeStatus = z.infer<typeof VariantUpgradeStatusSchema>;
@@ -58,8 +58,8 @@ declare const VariantSchemas: {
58
58
  }>;
59
59
  bundleCEF: z.ZodBoolean;
60
60
  defaultRenderer: z.ZodEnum<{
61
- native: "native";
62
61
  cef: "cef";
62
+ native: "native";
63
63
  }>;
64
64
  }, z.core.$strip>;
65
65
  };
@@ -101,10 +101,10 @@ declare const VariantSchemas: {
101
101
  upgradeProgress: z.ZodObject<{
102
102
  status: z.ZodEnum<{
103
103
  error: "error";
104
- progress: "progress";
105
- complete: "complete";
106
104
  downloading: "downloading";
105
+ progress: "progress";
107
106
  applying: "applying";
107
+ complete: "complete";
108
108
  }>;
109
109
  percent: z.ZodOptional<z.ZodNumber>;
110
110
  message: z.ZodOptional<z.ZodString>;
@@ -134,8 +134,8 @@ declare const VariantNamespace: _$_makaio_core0.BusNamespaceDefinition<"host:var
134
134
  }>;
135
135
  bundleCEF: _$zod.ZodBoolean;
136
136
  defaultRenderer: _$zod.ZodEnum<{
137
- native: "native";
138
137
  cef: "cef";
138
+ native: "native";
139
139
  }>;
140
140
  }, _$zod_v4_core0.$strip>;
141
141
  };
@@ -158,10 +158,10 @@ declare const VariantNamespace: _$_makaio_core0.BusNamespaceDefinition<"host:var
158
158
  upgradeProgress: _$zod.ZodObject<{
159
159
  status: _$zod.ZodEnum<{
160
160
  error: "error";
161
- progress: "progress";
162
- complete: "complete";
163
161
  downloading: "downloading";
162
+ progress: "progress";
164
163
  applying: "applying";
164
+ complete: "complete";
165
165
  }>;
166
166
  percent: _$zod.ZodOptional<_$zod.ZodNumber>;
167
167
  message: _$zod.ZodOptional<_$zod.ZodString>;
@@ -181,8 +181,8 @@ declare const VariantSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatS
181
181
  }>;
182
182
  bundleCEF: _$zod.ZodBoolean;
183
183
  defaultRenderer: _$zod.ZodEnum<{
184
- native: "native";
185
184
  cef: "cef";
185
+ native: "native";
186
186
  }>;
187
187
  }, _$zod_v4_core0.$strip>;
188
188
  };
@@ -205,10 +205,10 @@ declare const VariantSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatS
205
205
  upgradeProgress: _$zod.ZodObject<{
206
206
  status: _$zod.ZodEnum<{
207
207
  error: "error";
208
- progress: "progress";
209
- complete: "complete";
210
208
  downloading: "downloading";
209
+ progress: "progress";
211
210
  applying: "applying";
211
+ complete: "complete";
212
212
  }>;
213
213
  percent: _$zod.ZodOptional<_$zod.ZodNumber>;
214
214
  message: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1,6 +1,6 @@
1
1
  import { r as ExtensionDiscovery } from "./extension-discovery-B0ZL076T.mjs";
2
2
  import { RegistrableBusNamespaceDefinition } from "@makaio/framework/core";
3
- import { ExecutionAttemptBootstrapStartRefusalReason, ExecutionAttemptInstruction, ExecutionAttemptOperationAdmitRefusalReason, ExecutionAttemptOperationDelivery, ExecutionAttemptOperationKind, ExecutionAttemptOperationReceipt, ExecutionAttemptOutcome, ExecutionAttemptRuntimeRegisterRefusalReason, ExecutionAttemptWorkspaceBinding, ExtensionConfigProvider, IWorkerProvider, IWorkflowRunner, IWorkflowRunner as IWorkflowRunner$1, JsonValue, LoopGateHandler, MakaioNodeExtension, NormalizedWorkerCapabilities, OutcomeAckDecision, StationHandler, StepRunnerBusAuth, StepRunnerPlatformDefaults, TrayManifest, WorkerAllocatedOutcome, WorkerBootstrapCredentials, WorkerCapabilities, WorkerContributionManifest, WorkerContributionRef, WorkerDispatch, WorkerMaterializationSpec, WorkerProvisionRequest, WorkerRequirements, WorkerRuntimeContext, WorkflowDefinition, WorkflowRunContext, WorkflowRunResult, WorkflowRunResult as WorkflowRunResult$1, WorkflowRunnerCompletion, WorkflowRunnerCompletion as WorkflowRunnerCompletion$1, WorkflowRunnerRunOptions, WorkflowWorkerConfig, WorkflowWorkerSource, WorkflowZodSchemas, WorkspaceRequirement } from "@makaio/framework/contracts";
3
+ import { ExecutionAttemptBootstrapStartRefusalReason, ExecutionAttemptInstruction, ExecutionAttemptOperationAdmitRefusalReason, ExecutionAttemptOperationDelivery, ExecutionAttemptOperationKind, ExecutionAttemptOperationReceipt, ExecutionAttemptOutcome, ExecutionAttemptRuntimeRegisterRefusalReason, ExecutionAttemptWorkspaceBinding, ExtensionConfigProvider, IWorkerProvider, IWorkflowRunner, IWorkflowRunner as IWorkflowRunner$1, JsonValue, LoopGateHandler, MakaioNodeExtension, NormalizedWorkerCapabilities, OutcomeAckDecision, StationHandler, StepRunnerBusAuth, StepRunnerPlatformDefaults, TrayManifest, WorkerBootstrapCredentials, WorkerCapabilities, WorkerContributionManifest, WorkerContributionRef, WorkerDispatch, WorkerMaterializationSpec, WorkerProvisionOutcome, WorkerProvisionRequest, WorkerRequirements, WorkerRuntimeContext, WorkflowDefinition, WorkflowRunContext, WorkflowRunResult, WorkflowRunResult as WorkflowRunResult$1, WorkflowRunnerCompletion, WorkflowRunnerCompletion as WorkflowRunnerCompletion$1, WorkflowRunnerRunOptions, WorkflowWorkerConfig, WorkflowWorkerSource, WorkflowZodSchemas, WorkspaceRequirement } from "@makaio/framework/contracts";
4
4
  import { BusTransport, IMakaioBus, SubjectTelemetryProjectorRegistry } from "@makaio/framework/bus";
5
5
  import { DispatchingAuth, HmacAuth, TransportAuth } from "@makaio/framework/node/transports";
6
6
  import { ContributionProcessor, ExtensionCoordinator, ExtensionRuntimeSurface, KernelExtensionContext, KernelMakaioExtension, RuntimeCapability, TransportProvider, WindowRegistry } from "@makaio/framework/kernel";
@@ -1973,21 +1973,31 @@ declare class PiscinaThinWorkflowProvider implements IWorkerProvider {
1973
1973
  * runner. Cancellation is never flattened into an outcome, so callers
1974
1974
  * can tell it apart from an ambiguous infrastructure rejection.
1975
1975
  *
1976
- * The return type is narrower than {@link IWorkerProvider.provision}:
1977
- * this provider allocates a local worker thread or rejects, and it has no
1978
- * way to positively prove that nothing was created. The narrow type states
1979
- * what it can prove today. Gaining the ability to confirm absence means
1980
- * deliberately widening this signature back to the contract union.
1981
- * A resolved workflow configuration without a bus URL is rejected loudly rather than
1982
- * allocated: the thread would have no transport, so it could never
1983
- * authenticate as the attempt or register its runtime, and the allocation
1984
- * would be a worker that is provisioned and permanently unready.
1976
+ * Workflow launch resolution and its required bus URL are an explicit
1977
+ * pre-allocation boundary: a non-cancellation failure there returns
1978
+ * `confirmed-absent`, because no local allocation setup has begun.
1979
+ * Cancellation still rejects with the caller's exact reason. Every later
1980
+ * failure remains rejected because this provider cannot prove that a local
1981
+ * startup side effect did not occur.
1985
1982
  * @param request - Generic provision request with selected Runtime inputs.
1986
1983
  * @param signal - AbortSignal for cooperative cancellation of the provision operation.
1987
- * @returns Allocated outcome with a validated allocation reference and infrastructure handle.
1988
- * @throws When the workflow adapter cannot resolve a launch configuration or it carries no bus URL.
1984
+ * @returns Allocated outcome, or confirmed absence when no local allocation could exist.
1985
+ * @throws When cancellation occurs or a failure follows the pre-allocation boundary.
1989
1986
  */
1990
- provision(request: WorkerProvisionRequest, signal: AbortSignal): Promise<WorkerAllocatedOutcome>;
1987
+ provision(request: WorkerProvisionRequest, signal: AbortSignal): Promise<WorkerProvisionOutcome>;
1988
+ /**
1989
+ * Resolve workflow-specific inputs before beginning local allocation setup.
1990
+ * @param request - Generic Worker request whose workflow launch data is resolved.
1991
+ * @param signal - Caller cancellation signal.
1992
+ * @returns A resolved configuration or proof that no local allocation was created.
1993
+ */
1994
+ private resolveLaunchBeforeAllocation;
1995
+ /**
1996
+ * State that a local request failed before this provider could create a thread.
1997
+ * @param summary - Fixed provider-authored explanation safe for durable evidence.
1998
+ * @returns Bounded absence evidence suitable for the durable provisioning record.
1999
+ */
2000
+ private confirmedAbsent;
1991
2001
  /**
1992
2002
  * Submit a workflow outcome through the Authority bus protocol after
1993
2003
  * the runner promise settles.
@@ -2013,9 +2013,9 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
2013
2013
  timestamp: _$zod.ZodNumber;
2014
2014
  level: _$zod.ZodOptional<_$zod.ZodEnum<{
2015
2015
  error: "error";
2016
- warn: "warn";
2017
2016
  debug: "debug";
2018
2017
  info: "info";
2018
+ warn: "warn";
2019
2019
  }>>;
2020
2020
  }, _$zod_v4_core0.$strip>;
2021
2021
  error: _$zod.ZodObject<{
@@ -4063,9 +4063,9 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
4063
4063
  timestamp: _$zod.ZodNumber;
4064
4064
  level: _$zod.ZodOptional<_$zod.ZodEnum<{
4065
4065
  error: "error";
4066
- warn: "warn";
4067
4066
  debug: "debug";
4068
4067
  info: "info";
4068
+ warn: "warn";
4069
4069
  }>>;
4070
4070
  }, _$zod_v4_core0.$strip>;
4071
4071
  error: _$zod.ZodObject<{
@@ -6137,9 +6137,9 @@ declare const AdapterSchemas: {
6137
6137
  timestamp: _$zod.ZodNumber;
6138
6138
  level: _$zod.ZodOptional<_$zod.ZodEnum<{
6139
6139
  error: "error";
6140
- warn: "warn";
6141
6140
  debug: "debug";
6142
6141
  info: "info";
6142
+ warn: "warn";
6143
6143
  }>>;
6144
6144
  }, _$zod_v4_core0.$strip>;
6145
6145
  error: _$zod.ZodObject<{
@@ -27,9 +27,9 @@ declare const WorkerBootstrapGrantedClaimResponseSchema: z.ZodObject<{
27
27
  }, z.core.$strict>;
28
28
  /** Non-secret refusals shared with start authorization plus remote claim eligibility. */
29
29
  declare const WorkerBootstrapClaimRefusalReasonSchema: z.ZodEnum<{
30
+ "not-found": "not-found";
30
31
  resolved: "resolved";
31
32
  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";
@@ -50,9 +50,9 @@ declare const WorkerBootstrapClaimResponseSchema: z.ZodDiscriminatedUnion<[z.Zod
50
50
  }, z.core.$strict>, z.ZodObject<{
51
51
  status: z.ZodLiteral<"refused">;
52
52
  reason: z.ZodEnum<{
53
+ "not-found": "not-found";
53
54
  resolved: "resolved";
54
55
  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";
@@ -230,8 +230,8 @@ declare const WorkerDispatchRequestSchema: z.ZodObject<{
230
230
  "exit-and-resume": "exit-and-resume";
231
231
  }>>;
232
232
  terminalAuthority: z.ZodOptional<z.ZodEnum<{
233
- worker: "worker";
234
233
  authority: "authority";
234
+ worker: "worker";
235
235
  }>>;
236
236
  materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
237
237
  kind: z.ZodLiteral<"local-directory">;
@@ -467,8 +467,8 @@ declare const WorkerSchemas$1: {
467
467
  "exit-and-resume": "exit-and-resume";
468
468
  }>>;
469
469
  terminalAuthority: z.ZodOptional<z.ZodEnum<{
470
- worker: "worker";
471
470
  authority: "authority";
471
+ worker: "worker";
472
472
  }>>;
473
473
  materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
474
474
  kind: z.ZodLiteral<"local-directory">;
@@ -723,10 +723,10 @@ declare const WorkerSchemas$1: {
723
723
  }, z.core.$strict>;
724
724
  response: z.ZodObject<{
725
725
  decision: z.ZodEnum<{
726
- accepted: "accepted";
727
726
  duplicate: "duplicate";
728
- conflict: "conflict";
729
727
  fenced: "fenced";
728
+ accepted: "accepted";
729
+ conflict: "conflict";
730
730
  }>;
731
731
  }, z.core.$strict>;
732
732
  };
@@ -758,9 +758,9 @@ declare const WorkerSchemas$1: {
758
758
  }, z.core.$strict>, z.ZodObject<{
759
759
  status: z.ZodLiteral<"refused">;
760
760
  reason: z.ZodEnum<{
761
+ "not-found": "not-found";
761
762
  resolved: "resolved";
762
763
  fenced: "fenced";
763
- "not-found": "not-found";
764
764
  "allocation-terminated": "allocation-terminated";
765
765
  "gate-closed": "gate-closed";
766
766
  "bootstrap-expired": "bootstrap-expired";
@@ -1059,8 +1059,8 @@ declare const WorkerNamespace: _$_makaio_core0.BusNamespaceDefinition<"worker",
1059
1059
  "exit-and-resume": "exit-and-resume";
1060
1060
  }>>;
1061
1061
  terminalAuthority: _$zod.ZodOptional<_$zod.ZodEnum<{
1062
- worker: "worker";
1063
1062
  authority: "authority";
1063
+ worker: "worker";
1064
1064
  }>>;
1065
1065
  materializationSpec: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1066
1066
  kind: _$zod.ZodLiteral<"local-directory">;
@@ -1295,10 +1295,10 @@ declare const WorkerNamespace: _$_makaio_core0.BusNamespaceDefinition<"worker",
1295
1295
  }, _$zod_v4_core0.$strict>;
1296
1296
  response: _$zod.ZodObject<{
1297
1297
  decision: _$zod.ZodEnum<{
1298
- accepted: "accepted";
1299
1298
  duplicate: "duplicate";
1300
- conflict: "conflict";
1301
1299
  fenced: "fenced";
1300
+ accepted: "accepted";
1301
+ conflict: "conflict";
1302
1302
  }>;
1303
1303
  }, _$zod_v4_core0.$strict>;
1304
1304
  };
@@ -1319,9 +1319,9 @@ declare const WorkerNamespace: _$_makaio_core0.BusNamespaceDefinition<"worker",
1319
1319
  }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
1320
1320
  status: _$zod.ZodLiteral<"refused">;
1321
1321
  reason: _$zod.ZodEnum<{
1322
+ "not-found": "not-found";
1322
1323
  resolved: "resolved";
1323
1324
  fenced: "fenced";
1324
- "not-found": "not-found";
1325
1325
  "allocation-terminated": "allocation-terminated";
1326
1326
  "gate-closed": "gate-closed";
1327
1327
  "bootstrap-expired": "bootstrap-expired";
@@ -1554,8 +1554,8 @@ declare const WorkerSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
1554
1554
  "exit-and-resume": "exit-and-resume";
1555
1555
  }>>;
1556
1556
  terminalAuthority: _$zod.ZodOptional<_$zod.ZodEnum<{
1557
- worker: "worker";
1558
1557
  authority: "authority";
1558
+ worker: "worker";
1559
1559
  }>>;
1560
1560
  materializationSpec: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1561
1561
  kind: _$zod.ZodLiteral<"local-directory">;
@@ -1790,10 +1790,10 @@ declare const WorkerSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
1790
1790
  }, _$zod_v4_core0.$strict>;
1791
1791
  response: _$zod.ZodObject<{
1792
1792
  decision: _$zod.ZodEnum<{
1793
- accepted: "accepted";
1794
1793
  duplicate: "duplicate";
1795
- conflict: "conflict";
1796
1794
  fenced: "fenced";
1795
+ accepted: "accepted";
1796
+ conflict: "conflict";
1797
1797
  }>;
1798
1798
  }, _$zod_v4_core0.$strict>;
1799
1799
  };
@@ -1814,9 +1814,9 @@ declare const WorkerSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
1814
1814
  }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
1815
1815
  status: _$zod.ZodLiteral<"refused">;
1816
1816
  reason: _$zod.ZodEnum<{
1817
+ "not-found": "not-found";
1817
1818
  resolved: "resolved";
1818
1819
  fenced: "fenced";
1819
- "not-found": "not-found";
1820
1820
  "allocation-terminated": "allocation-terminated";
1821
1821
  "gate-closed": "gate-closed";
1822
1822
  "bootstrap-expired": "bootstrap-expired";
@@ -1,4 +1,4 @@
1
- import { n as NodeExtensionContext$1, t as ExtensionContext$1 } from "./extension-context-DDfSMPat.mjs";
1
+ import { n as NodeExtensionContext$1, t as ExtensionContext$1 } from "./extension-context-Cpf_n5FH.mjs";
2
2
  import { z } from "zod";
3
3
  import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as ExecutionTarget } from "./schemas-CikbhFMx.mjs";
1
+ import { r as ExecutionTarget } from "./schemas-DwqibWUL.mjs";
2
2
  import { IMakaioSession, MakaioSessionAgent, Message, MessageInput, MessageOutcome, ReasoningLevelMap, ResponseSchemaDescriptor, SessionContext, SessionOwnershipRecoveryGuard, TurnInitiator } from "@makaio/framework/contracts";
3
3
  import { IMakaioBus } from "@makaio/framework/bus";
4
4
 
@@ -1,16 +1,16 @@
1
- import { X as AnyArtifactKindDefinition, ct as ArtifactLifecycleHookRegistration$1, st as ArtifactLifecycleHookEvent } from "./index-dpaDWzUU.mjs";
1
+ import { X as AnyArtifactKindDefinition, ct as ArtifactLifecycleHookRegistration$1, st as ArtifactLifecycleHookEvent } from "./index-BqR2xDu6.mjs";
2
2
  import { s as AdapterProviderAuth$1 } from "./adapter-binding-DhANVB-O.mjs";
3
- import { i as ExtensionService$1, n as NodeExtensionContext$1, t as ExtensionContext$1 } from "./extension-context-DDfSMPat.mjs";
4
- import { t as ExtensionAutomationTriggersContribution } from "./contribution-BexrtFLC.mjs";
3
+ import { i as ExtensionService$1, n as NodeExtensionContext$1, t as ExtensionContext$1 } from "./extension-context-Cpf_n5FH.mjs";
4
+ import { t as ExtensionAutomationTriggersContribution } from "./contribution-BfEEQ8YZ.mjs";
5
5
  import { n as ExtensionTransitionRulesContribution, t as ExtensionTransitionActionsContribution, v as WorkflowBlockCollection$1 } from "./transition-CgsrmsfE.mjs";
6
- import { E as ClientDefinition$1, Q as VersionLiteral$1, et as VersionRange, f as ExtensionClientHookResponsesContribution } from "./hook-responses-CRQYe15-.mjs";
6
+ import { E as ClientDefinition$1, Q as VersionLiteral$1, et as VersionRange, f as ExtensionClientHookResponsesContribution } from "./hook-responses-CpEfxEmG.mjs";
7
7
  import { c as ProviderDefinitionInput$1, r as ProtocolId$1 } from "./definition-VK1rERAp.mjs";
8
8
  import { t as RequiredTimeoutConfig } from "./index-Ccaqmi0J.mjs";
9
- import { Qt as SESSION_EVENT_TYPES, bn as SessionMessage$1, i as MakaioSessionEvent$1 } from "./types-DoxPKNUW.mjs";
9
+ import { Qt as SESSION_EVENT_TYPES, bn as SessionMessage$1, i as MakaioSessionEvent$1 } from "./types-ZvPhKp3j.mjs";
10
10
  import { D as EntityUIConfig$1, I as FormFieldProps } from "./index-D7IZQNhD.mjs";
11
- import { l as FacetNamespaceDefinition } from "./index-DCHdW5g-.mjs";
12
- import { t as ExtensionReactionsContribution } from "./index-CCYavCD92.mjs";
13
- import { G as SurfaceBindingDefinition, p as ExtensionArtifactViewBuildersContribution } from "./view-builder-BMpOHHlf.mjs";
11
+ import { l as FacetNamespaceDefinition } from "./index-ud9i9pue.mjs";
12
+ import { t as ExtensionReactionsContribution } from "./index-BfzuauBt2.mjs";
13
+ import { G as SurfaceBindingDefinition, p as ExtensionArtifactViewBuildersContribution } from "./view-builder-D54kvyf7.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 { D as ClientDefinitionInput, E as ClientDefinition } from "./hook-responses-CRQYe15-.mjs";
1
+ import { D as ClientDefinitionInput, E as ClientDefinition } from "./hook-responses-CpEfxEmG.mjs";
2
2
  import * as _$zod from "zod";
3
3
  import { z } from "zod";
4
4
  import * as _$_makaio_core0 from "@makaio/framework/core";
@@ -17,8 +17,8 @@ declare const ClientExecutionContextSchema: z.ZodObject<{
17
17
  env: z.ZodRecord<z.ZodString, z.ZodString>;
18
18
  configDir: z.ZodNullable<z.ZodString>;
19
19
  source: z.ZodEnum<{
20
- global: "global";
21
20
  managed: "managed";
21
+ global: "global";
22
22
  }>;
23
23
  version: z.ZodNullable<z.ZodString>;
24
24
  }, z.core.$strip>;
@@ -39,8 +39,8 @@ declare const ClientResolveBinarySchema: {
39
39
  sessionId: z.ZodOptional<z.ZodString>;
40
40
  projectDir: z.ZodOptional<z.ZodString>;
41
41
  preferSource: z.ZodOptional<z.ZodEnum<{
42
- global: "global";
43
42
  managed: "managed";
43
+ global: "global";
44
44
  }>>;
45
45
  harnessId: z.ZodOptional<z.ZodString>;
46
46
  }, z.core.$strip>;
@@ -49,8 +49,8 @@ declare const ClientResolveBinarySchema: {
49
49
  env: z.ZodRecord<z.ZodString, z.ZodString>;
50
50
  configDir: z.ZodNullable<z.ZodString>;
51
51
  source: z.ZodEnum<{
52
- global: "global";
53
52
  managed: "managed";
53
+ global: "global";
54
54
  }>;
55
55
  version: z.ZodNullable<z.ZodString>;
56
56
  }, z.core.$strip>;
@@ -89,9 +89,9 @@ declare const ClientSchemas: {
89
89
  baseConfigDir: z.ZodOptional<z.ZodString>;
90
90
  projectDir: z.ZodOptional<z.ZodString>;
91
91
  configInheritance: z.ZodOptional<z.ZodEnum<{
92
- full: "full";
93
- "auth-only": "auth-only";
94
92
  empty: "empty";
93
+ "auth-only": "auth-only";
94
+ full: "full";
95
95
  }>>;
96
96
  }, z.core.$strip>;
97
97
  response: z.ZodObject<{
@@ -222,8 +222,8 @@ declare const ClientSchemas: {
222
222
  clientId: z.ZodString;
223
223
  source: z.ZodObject<{
224
224
  layer: z.ZodEnum<{
225
- supervisor: "supervisor";
226
225
  adapter: "adapter";
226
+ supervisor: "supervisor";
227
227
  "client-hook": "client-hook";
228
228
  statusline: "statusline";
229
229
  "cli-wrapper": "cli-wrapper";
@@ -263,8 +263,8 @@ declare const ClientSchemas: {
263
263
  }>;
264
264
  source: z.ZodObject<{
265
265
  layer: z.ZodEnum<{
266
- supervisor: "supervisor";
267
266
  adapter: "adapter";
267
+ supervisor: "supervisor";
268
268
  "client-hook": "client-hook";
269
269
  statusline: "statusline";
270
270
  "cli-wrapper": "cli-wrapper";
@@ -698,8 +698,8 @@ declare const ClientSchemas: {
698
698
  sessionId: z.ZodOptional<z.ZodString>;
699
699
  projectDir: z.ZodOptional<z.ZodString>;
700
700
  preferSource: z.ZodOptional<z.ZodEnum<{
701
- global: "global";
702
701
  managed: "managed";
702
+ global: "global";
703
703
  }>>;
704
704
  harnessId: z.ZodOptional<z.ZodString>;
705
705
  }, z.core.$strip>;
@@ -708,8 +708,8 @@ declare const ClientSchemas: {
708
708
  env: z.ZodRecord<z.ZodString, z.ZodString>;
709
709
  configDir: z.ZodNullable<z.ZodString>;
710
710
  source: z.ZodEnum<{
711
- global: "global";
712
711
  managed: "managed";
712
+ global: "global";
713
713
  }>;
714
714
  version: z.ZodNullable<z.ZodString>;
715
715
  }, z.core.$strip>;
@@ -1264,8 +1264,8 @@ type ClientVersionChanged = z.infer<typeof ClientVersionChangedSchema>;
1264
1264
  * - `'cli-wrapper'` — a thin CLI shim wrapping the client binary reported the signal
1265
1265
  */
1266
1266
  declare const ClientRuntimeSourceLayerSchema: z.ZodEnum<{
1267
- supervisor: "supervisor";
1268
1267
  adapter: "adapter";
1268
+ supervisor: "supervisor";
1269
1269
  "client-hook": "client-hook";
1270
1270
  statusline: "statusline";
1271
1271
  "cli-wrapper": "cli-wrapper";
@@ -1279,8 +1279,8 @@ type ClientRuntimeSourceLayer = z.infer<typeof ClientRuntimeSourceLayerSchema>;
1279
1279
  */
1280
1280
  declare const ClientRuntimeSourceSchema: z.ZodObject<{
1281
1281
  layer: z.ZodEnum<{
1282
- supervisor: "supervisor";
1283
1282
  adapter: "adapter";
1283
+ supervisor: "supervisor";
1284
1284
  "client-hook": "client-hook";
1285
1285
  statusline: "statusline";
1286
1286
  "cli-wrapper": "cli-wrapper";
@@ -1334,8 +1334,8 @@ declare const ClientRuntimeObserveSchema: {
1334
1334
  clientId: z.ZodString;
1335
1335
  source: z.ZodObject<{
1336
1336
  layer: z.ZodEnum<{
1337
- supervisor: "supervisor";
1338
1337
  adapter: "adapter";
1338
+ supervisor: "supervisor";
1339
1339
  "client-hook": "client-hook";
1340
1340
  statusline: "statusline";
1341
1341
  "cli-wrapper": "cli-wrapper";
@@ -1387,8 +1387,8 @@ declare const ClientRuntimeStartedSchema: z.ZodObject<{
1387
1387
  }>;
1388
1388
  source: z.ZodObject<{
1389
1389
  layer: z.ZodEnum<{
1390
- supervisor: "supervisor";
1391
1390
  adapter: "adapter";
1391
+ supervisor: "supervisor";
1392
1392
  "client-hook": "client-hook";
1393
1393
  statusline: "statusline";
1394
1394
  "cli-wrapper": "cli-wrapper";
@@ -1675,9 +1675,9 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
1675
1675
  baseConfigDir: _$zod.ZodOptional<_$zod.ZodString>;
1676
1676
  projectDir: _$zod.ZodOptional<_$zod.ZodString>;
1677
1677
  configInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
1678
- full: "full";
1679
- "auth-only": "auth-only";
1680
1678
  empty: "empty";
1679
+ "auth-only": "auth-only";
1680
+ full: "full";
1681
1681
  }>>;
1682
1682
  }, _$zod_v4_core0.$strip>;
1683
1683
  response: _$zod.ZodObject<{
@@ -1808,8 +1808,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
1808
1808
  clientId: _$zod.ZodString;
1809
1809
  source: _$zod.ZodObject<{
1810
1810
  layer: _$zod.ZodEnum<{
1811
- supervisor: "supervisor";
1812
1811
  adapter: "adapter";
1812
+ supervisor: "supervisor";
1813
1813
  "client-hook": "client-hook";
1814
1814
  statusline: "statusline";
1815
1815
  "cli-wrapper": "cli-wrapper";
@@ -1849,8 +1849,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
1849
1849
  }>;
1850
1850
  source: _$zod.ZodObject<{
1851
1851
  layer: _$zod.ZodEnum<{
1852
- supervisor: "supervisor";
1853
1852
  adapter: "adapter";
1853
+ supervisor: "supervisor";
1854
1854
  "client-hook": "client-hook";
1855
1855
  statusline: "statusline";
1856
1856
  "cli-wrapper": "cli-wrapper";
@@ -2268,8 +2268,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
2268
2268
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
2269
2269
  projectDir: _$zod.ZodOptional<_$zod.ZodString>;
2270
2270
  preferSource: _$zod.ZodOptional<_$zod.ZodEnum<{
2271
- global: "global";
2272
2271
  managed: "managed";
2272
+ global: "global";
2273
2273
  }>>;
2274
2274
  harnessId: _$zod.ZodOptional<_$zod.ZodString>;
2275
2275
  }, _$zod_v4_core0.$strip>;
@@ -2278,8 +2278,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
2278
2278
  env: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>;
2279
2279
  configDir: _$zod.ZodNullable<_$zod.ZodString>;
2280
2280
  source: _$zod.ZodEnum<{
2281
- global: "global";
2282
2281
  managed: "managed";
2282
+ global: "global";
2283
2283
  }>;
2284
2284
  version: _$zod.ZodNullable<_$zod.ZodString>;
2285
2285
  }, _$zod_v4_core0.$strip>;
@@ -2315,9 +2315,9 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2315
2315
  baseConfigDir: _$zod.ZodOptional<_$zod.ZodString>;
2316
2316
  projectDir: _$zod.ZodOptional<_$zod.ZodString>;
2317
2317
  configInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
2318
- full: "full";
2319
- "auth-only": "auth-only";
2320
2318
  empty: "empty";
2319
+ "auth-only": "auth-only";
2320
+ full: "full";
2321
2321
  }>>;
2322
2322
  }, _$zod_v4_core0.$strip>;
2323
2323
  response: _$zod.ZodObject<{
@@ -2448,8 +2448,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2448
2448
  clientId: _$zod.ZodString;
2449
2449
  source: _$zod.ZodObject<{
2450
2450
  layer: _$zod.ZodEnum<{
2451
- supervisor: "supervisor";
2452
2451
  adapter: "adapter";
2452
+ supervisor: "supervisor";
2453
2453
  "client-hook": "client-hook";
2454
2454
  statusline: "statusline";
2455
2455
  "cli-wrapper": "cli-wrapper";
@@ -2489,8 +2489,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2489
2489
  }>;
2490
2490
  source: _$zod.ZodObject<{
2491
2491
  layer: _$zod.ZodEnum<{
2492
- supervisor: "supervisor";
2493
2492
  adapter: "adapter";
2493
+ supervisor: "supervisor";
2494
2494
  "client-hook": "client-hook";
2495
2495
  statusline: "statusline";
2496
2496
  "cli-wrapper": "cli-wrapper";
@@ -2908,8 +2908,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2908
2908
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
2909
2909
  projectDir: _$zod.ZodOptional<_$zod.ZodString>;
2910
2910
  preferSource: _$zod.ZodOptional<_$zod.ZodEnum<{
2911
- global: "global";
2912
2911
  managed: "managed";
2912
+ global: "global";
2913
2913
  }>>;
2914
2914
  harnessId: _$zod.ZodOptional<_$zod.ZodString>;
2915
2915
  }, _$zod_v4_core0.$strip>;
@@ -2918,8 +2918,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2918
2918
  env: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>;
2919
2919
  configDir: _$zod.ZodNullable<_$zod.ZodString>;
2920
2920
  source: _$zod.ZodEnum<{
2921
- global: "global";
2922
2921
  managed: "managed";
2922
+ global: "global";
2923
2923
  }>;
2924
2924
  version: _$zod.ZodNullable<_$zod.ZodString>;
2925
2925
  }, _$zod_v4_core0.$strip>;
@@ -2978,9 +2978,9 @@ declare const SessionConfigEnvSchema: z.ZodRecord<z.ZodString, z.ZodString>;
2978
2978
  * Policy for materializing a session config directory from a base client config.
2979
2979
  */
2980
2980
  declare const SessionConfigInheritanceSchema: z.ZodEnum<{
2981
- full: "full";
2982
- "auth-only": "auth-only";
2983
2981
  empty: "empty";
2982
+ "auth-only": "auth-only";
2983
+ full: "full";
2984
2984
  }>;
2985
2985
  type SessionConfigInheritance = z.infer<typeof SessionConfigInheritanceSchema>;
2986
2986
  /**
@@ -3136,9 +3136,9 @@ declare const ClientSessionConfigSchemas: {
3136
3136
  baseConfigDir: z.ZodOptional<z.ZodString>;
3137
3137
  projectDir: z.ZodOptional<z.ZodString>;
3138
3138
  configInheritance: z.ZodOptional<z.ZodEnum<{
3139
- full: "full";
3140
- "auth-only": "auth-only";
3141
3139
  empty: "empty";
3140
+ "auth-only": "auth-only";
3141
+ full: "full";
3142
3142
  }>>;
3143
3143
  }, z.core.$strip>;
3144
3144
  response: z.ZodObject<{
@@ -3192,9 +3192,9 @@ declare const SessionConfigSetupRequestSchema: z.ZodObject<{
3192
3192
  win32: "win32";
3193
3193
  }>;
3194
3194
  configInheritance: z.ZodEnum<{
3195
- full: "full";
3196
- "auth-only": "auth-only";
3197
3195
  empty: "empty";
3196
+ "auth-only": "auth-only";
3197
+ full: "full";
3198
3198
  }>;
3199
3199
  }, z.core.$strip>;
3200
3200
  type SessionConfigSetupRequest = z.infer<typeof SessionConfigSetupRequestSchema>;