@makaio/framework 1.0.0-dev-1790175294701 → 1.0.0-dev-1790248497521

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 (80) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/artifact-DF2UJsjP.mjs +1 -0
  3. package/dist/bus/index.mjs +1 -1
  4. package/dist/bus-DgpPEPoM.mjs +9 -0
  5. package/dist/contracts/adapter/index.d.mts +1 -1
  6. package/dist/contracts/artifact/index.d.mts +2 -2
  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/facet/index.d.mts +1 -1
  12. package/dist/contracts/index.d.mts +69 -69
  13. package/dist/contracts/index.mjs +1 -1
  14. package/dist/contracts/materialization/index.d.mts +3 -3
  15. package/dist/contracts/materialization/index.mjs +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/worker/index.mjs +1 -1
  20. package/dist/contracts/workflow/index.d.mts +1 -1
  21. package/dist/contracts/workflow/index.mjs +1 -1
  22. package/dist/{index-9O8N514B2.d.mts → index-6UlianLY2.d.mts} +4 -4
  23. package/dist/{index-CVRQS5jk.d.mts → index-BM53WQaQ.d.mts} +1 -1
  24. package/dist/{index-oE2q0pTG.d.mts → index-BZQ3OviE.d.mts} +1 -1
  25. package/dist/{index-Csua5M_M2.d.mts → index-Bmb7jPIe2.d.mts} +8 -8
  26. package/dist/{index-BusmMFMN.d.mts → index-Bon00c4i.d.mts} +48 -11
  27. package/dist/{index-7pt_bh4z.d.mts → index-BrMihjbI.d.mts} +68 -68
  28. package/dist/{index-DWKSiTxX.d.mts → index-C4VB63lu.d.mts} +18 -18
  29. package/dist/{index-Bgz81LHZ.d.mts → index-CEX9qfLa.d.mts} +1 -1
  30. package/dist/{index-DxtUM-qd.d.mts → index-CLwnkYRD.d.mts} +1 -1
  31. package/dist/{index-BMr77str2.d.mts → index-CydQ1dLS2.d.mts} +12 -12
  32. package/dist/{index-BgkQiruC.d.mts → index-D5BLD2Pw.d.mts} +7 -7
  33. package/dist/{index-B1iXL1pW.d.mts → index-D5Lw1UsO.d.mts} +8 -8
  34. package/dist/{index-Cu8k2ZGe.d.mts → index-DJLRXASA.d.mts} +24 -24
  35. package/dist/{index-D8V1DhrY.d.mts → index-Dcwee5Cl.d.mts} +90 -14
  36. package/dist/{index-DIEnLLhi2.d.mts → index-LCumcYK12.d.mts} +37 -37
  37. package/dist/{index-Mk478DlF.d.mts → index-QgSmUedN.d.mts} +4 -4
  38. package/dist/{index-BVN64wQx.d.mts → index-rkN_9bde.d.mts} +24 -24
  39. package/dist/kernel/extension/index.d.mts +2 -2
  40. package/dist/kernel/index.d.mts +2 -2
  41. package/dist/kernel/observability/index.d.mts +1 -1
  42. package/dist/{materialization-iFhpbs1s.mjs → materialization-CIrHHspa.mjs} +4 -1
  43. package/dist/{namespace-Bz0ZDWhE.d.mts → namespace-BEi98VfQ.d.mts} +18 -18
  44. package/dist/{namespace-B9iQN3FQ.d.mts → namespace-C5tKjqgb.d.mts} +4 -4
  45. package/dist/{namespace-h7gq_v5U.d.mts → namespace-CHSwZhH7.d.mts} +2 -2
  46. package/dist/{namespace-DAzOxaux.d.mts → namespace-D6W4Erwp.d.mts} +2 -2
  47. package/dist/{namespace-C1-ZAKEG.d.mts → namespace-D8oTiLLo.d.mts} +6 -6
  48. package/dist/package.json +1 -1
  49. package/dist/{schemas-BTJvvq9Y.d.mts → schemas-BXkSHQaF.d.mts} +2 -2
  50. package/dist/{schemas-CBDNnyz4.d.mts → schemas-Cb9OJ9va.d.mts} +1 -1
  51. package/dist/{schemas-Dec5VtBU.d.mts → schemas-CrOeGZHg.d.mts} +10 -10
  52. package/dist/{schemas-Dyp3rHZ7.d.mts → schemas-__oTCzF6.d.mts} +4 -4
  53. package/dist/services/adapter-runtime/index.d.mts +3 -3
  54. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  55. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  56. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  57. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  58. package/dist/services/execution-target/index.d.mts +2 -2
  59. package/dist/services/execution-target/namespace.d.mts +1 -1
  60. package/dist/services/execution-target/schemas.d.mts +1 -1
  61. package/dist/services/filesystem/namespace.d.mts +6 -6
  62. package/dist/services/filesystem/schemas.d.mts +3 -3
  63. package/dist/services/index.d.mts +32 -28
  64. package/dist/services/index.mjs +1 -1
  65. package/dist/services/provider-context/index.d.mts +1 -1
  66. package/dist/services/session/handlers/index.d.mts +1 -1
  67. package/dist/services/session/index.d.mts +5 -5
  68. package/dist/services/session/messages/namespace.d.mts +1 -1
  69. package/dist/services/session/session-events/namespace.d.mts +1 -1
  70. package/dist/services/settings/namespace.d.mts +10 -10
  71. package/dist/services/subagent-template/index.d.mts +1 -1
  72. package/dist/services/subagent-template/schemas.d.mts +1 -1
  73. package/dist/{types-DTpwvvY9.d.mts → types-BP_P1izV.d.mts} +15 -15
  74. package/dist/{view-builder-cjQZJmTY.d.mts → view-builder-2cR7vI7R.d.mts} +10 -10
  75. package/dist/{worker-B72n8bse.mjs → worker-YKEWHrx5.mjs} +1 -1
  76. package/dist/{workflow-D-X3rPsl.mjs → workflow-01evBylF.mjs} +1 -1
  77. package/dist/workflow-engine/index.d.mts +9 -9
  78. package/package.json +1 -1
  79. package/dist/artifact-CKz9YQPu.mjs +0 -1
  80. package/dist/bus-30AlabEz.mjs +0 -9
@@ -965,8 +965,8 @@ declare const WorkflowResolvedRoleSchema: z.ZodObject<{
965
965
  harnessId: z.ZodOptional<z.ZodString>;
966
966
  systemPrompt: z.ZodOptional<z.ZodString>;
967
967
  contextMode: z.ZodOptional<z.ZodEnum<{
968
- fork: "fork";
969
968
  fresh: "fresh";
969
+ fork: "fork";
970
970
  }>>;
971
971
  providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
972
972
  state: z.ZodLiteral<"resolved">;
@@ -1076,8 +1076,8 @@ declare const WorkflowResolvedAgentSchema: z.ZodObject<{
1076
1076
  harnessId: z.ZodOptional<z.ZodString>;
1077
1077
  systemPrompt: z.ZodOptional<z.ZodString>;
1078
1078
  contextMode: z.ZodOptional<z.ZodEnum<{
1079
- fork: "fork";
1080
1079
  fresh: "fresh";
1080
+ fork: "fork";
1081
1081
  }>>;
1082
1082
  providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1083
1083
  state: z.ZodLiteral<"resolved">;
@@ -4327,8 +4327,8 @@ declare const WorkflowSchemas: {
4327
4327
  harnessId: z.ZodOptional<z.ZodString>;
4328
4328
  systemPrompt: z.ZodOptional<z.ZodString>;
4329
4329
  contextMode: z.ZodOptional<z.ZodEnum<{
4330
- fork: "fork";
4331
4330
  fresh: "fresh";
4331
+ fork: "fork";
4332
4332
  }>>;
4333
4333
  providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
4334
4334
  state: z.ZodLiteral<"resolved">;
@@ -4438,8 +4438,8 @@ declare const WorkflowSchemas: {
4438
4438
  harnessId: z.ZodOptional<z.ZodString>;
4439
4439
  systemPrompt: z.ZodOptional<z.ZodString>;
4440
4440
  contextMode: z.ZodOptional<z.ZodEnum<{
4441
- fork: "fork";
4442
4441
  fresh: "fresh";
4442
+ fork: "fork";
4443
4443
  }>>;
4444
4444
  providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
4445
4445
  state: z.ZodLiteral<"resolved">;
@@ -4701,8 +4701,8 @@ declare const WorkflowSchemas: {
4701
4701
  "exit-and-resume": "exit-and-resume";
4702
4702
  }>>;
4703
4703
  terminalAuthority: z.ZodOptional<z.ZodEnum<{
4704
- authority: "authority";
4705
4704
  worker: "worker";
4705
+ authority: "authority";
4706
4706
  }>>;
4707
4707
  materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
4708
4708
  kind: z.ZodLiteral<"local-directory">;
@@ -7304,8 +7304,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
7304
7304
  harnessId: z.ZodOptional<z.ZodString>;
7305
7305
  systemPrompt: z.ZodOptional<z.ZodString>;
7306
7306
  contextMode: z.ZodOptional<z.ZodEnum<{
7307
- fork: "fork";
7308
7307
  fresh: "fresh";
7308
+ fork: "fork";
7309
7309
  }>>;
7310
7310
  providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
7311
7311
  state: z.ZodLiteral<"resolved">;
@@ -7415,8 +7415,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
7415
7415
  harnessId: z.ZodOptional<z.ZodString>;
7416
7416
  systemPrompt: z.ZodOptional<z.ZodString>;
7417
7417
  contextMode: z.ZodOptional<z.ZodEnum<{
7418
- fork: "fork";
7419
7418
  fresh: "fresh";
7419
+ fork: "fork";
7420
7420
  }>>;
7421
7421
  providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
7422
7422
  state: z.ZodLiteral<"resolved">;
@@ -7678,8 +7678,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
7678
7678
  "exit-and-resume": "exit-and-resume";
7679
7679
  }>>;
7680
7680
  terminalAuthority: z.ZodOptional<z.ZodEnum<{
7681
- authority: "authority";
7682
7681
  worker: "worker";
7682
+ authority: "authority";
7683
7683
  }>>;
7684
7684
  materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
7685
7685
  kind: z.ZodLiteral<"local-directory">;
@@ -10281,8 +10281,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
10281
10281
  harnessId: z.ZodOptional<z.ZodString>;
10282
10282
  systemPrompt: z.ZodOptional<z.ZodString>;
10283
10283
  contextMode: z.ZodOptional<z.ZodEnum<{
10284
- fork: "fork";
10285
10284
  fresh: "fresh";
10285
+ fork: "fork";
10286
10286
  }>>;
10287
10287
  providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
10288
10288
  state: z.ZodLiteral<"resolved">;
@@ -10392,8 +10392,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
10392
10392
  harnessId: z.ZodOptional<z.ZodString>;
10393
10393
  systemPrompt: z.ZodOptional<z.ZodString>;
10394
10394
  contextMode: z.ZodOptional<z.ZodEnum<{
10395
- fork: "fork";
10396
10395
  fresh: "fresh";
10396
+ fork: "fork";
10397
10397
  }>>;
10398
10398
  providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
10399
10399
  state: z.ZodLiteral<"resolved">;
@@ -10655,8 +10655,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
10655
10655
  "exit-and-resume": "exit-and-resume";
10656
10656
  }>>;
10657
10657
  terminalAuthority: z.ZodOptional<z.ZodEnum<{
10658
- authority: "authority";
10659
10658
  worker: "worker";
10659
+ authority: "authority";
10660
10660
  }>>;
10661
10661
  materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
10662
10662
  kind: z.ZodLiteral<"local-directory">;
@@ -11442,8 +11442,8 @@ declare const WorkflowRunContextSchema$1: z.ZodObject<{
11442
11442
  "exit-and-resume": "exit-and-resume";
11443
11443
  }>>;
11444
11444
  terminalAuthority: z.ZodOptional<z.ZodEnum<{
11445
- authority: "authority";
11446
11445
  worker: "worker";
11446
+ authority: "authority";
11447
11447
  }>>;
11448
11448
  materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
11449
11449
  kind: z.ZodLiteral<"local-directory">;
@@ -11828,8 +11828,8 @@ declare const ExecutionAttemptControlReportSchema$1: z.ZodObject<{
11828
11828
  }, z.core.$strict>;
11829
11829
  /** Correlation refusals do not invalidate the durable Attempt-wide Cancel. */
11830
11830
  declare const ExecutionAttemptControlRefusalReasonSchema: z.ZodEnum<{
11831
- conflict: "conflict";
11832
11831
  "not-found": "not-found";
11832
+ conflict: "conflict";
11833
11833
  "stale-generation": "stale-generation";
11834
11834
  "cancel-mismatch": "cancel-mismatch";
11835
11835
  "operation-mismatch": "operation-mismatch";
@@ -11842,8 +11842,8 @@ declare const ExecutionAttemptControlReportResponseSchema: z.ZodDiscriminatedUni
11842
11842
  }, z.core.$strict>, z.ZodObject<{
11843
11843
  decision: z.ZodLiteral<"refused">;
11844
11844
  reason: z.ZodEnum<{
11845
- conflict: "conflict";
11846
11845
  "not-found": "not-found";
11846
+ conflict: "conflict";
11847
11847
  "stale-generation": "stale-generation";
11848
11848
  "cancel-mismatch": "cancel-mismatch";
11849
11849
  "operation-mismatch": "operation-mismatch";
@@ -12094,8 +12094,8 @@ declare const WorkflowWorkerConfigSchema$1: z.ZodObject<{
12094
12094
  "exit-and-resume": "exit-and-resume";
12095
12095
  }>>;
12096
12096
  terminalAuthority: z.ZodOptional<z.ZodEnum<{
12097
- authority: "authority";
12098
12097
  worker: "worker";
12098
+ authority: "authority";
12099
12099
  }>>;
12100
12100
  materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
12101
12101
  kind: z.ZodLiteral<"local-directory">;
@@ -13264,8 +13264,8 @@ type IterateHandler<TTrigger = unknown, TPreviousSteps extends Record<string, Pr
13264
13264
  * - fresh: Start with clean context
13265
13265
  */
13266
13266
  declare const ContextModeSchema$1: z.ZodEnum<{
13267
- fork: "fork";
13268
13267
  fresh: "fresh";
13268
+ fork: "fork";
13269
13269
  }>;
13270
13270
  type ContextMode = z.infer<typeof ContextModeSchema$1>;
13271
13271
  /**
@@ -13400,8 +13400,8 @@ declare const SubagentConfigSchema$1: z.ZodObject<{
13400
13400
  "extra-high": "extra-high";
13401
13401
  }>>;
13402
13402
  contextMode: z.ZodDefault<z.ZodEnum<{
13403
- fork: "fork";
13404
13403
  fresh: "fresh";
13404
+ fork: "fork";
13405
13405
  }>>;
13406
13406
  tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
13407
13407
  disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -13570,8 +13570,8 @@ declare const SpawnSubagentRpcRequestSchema$1: z.ZodObject<{
13570
13570
  "extra-high": "extra-high";
13571
13571
  }>>;
13572
13572
  contextMode: z.ZodDefault<z.ZodEnum<{
13573
- fork: "fork";
13574
13573
  fresh: "fresh";
13574
+ fork: "fork";
13575
13575
  }>>;
13576
13576
  tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
13577
13577
  disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -1,5 +1,5 @@
1
1
  import { i as CliContribution } from "./types-D7WtaoMR.mjs";
2
- import { a as InstalledExtensionRecord, d as TransitionOutcome, l as SetEnabledReason, v as ExtensionInfo } from "./index-BVN64wQx.mjs";
2
+ import { a as InstalledExtensionRecord, d as TransitionOutcome, l as SetEnabledReason, v as ExtensionInfo } from "./index-rkN_9bde.mjs";
3
3
  import { r as WindowRegistry } from "./window-registry-1jI3f9ir.mjs";
4
4
  import { z } from "zod";
5
5
  import { MakaioError } from "@makaio/framework/core";
@@ -1,4 +1,4 @@
1
- import { r as ExecutionTarget } from "./schemas-BTJvvq9Y.mjs";
1
+ import { r as ExecutionTarget } from "./schemas-BXkSHQaF.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
 
@@ -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
- fenced: "fenced";
32
31
  "not-found": "not-found";
32
+ fenced: "fenced";
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
- fenced: "fenced";
55
54
  "not-found": "not-found";
55
+ fenced: "fenced";
56
56
  "allocation-terminated": "allocation-terminated";
57
57
  "gate-closed": "gate-closed";
58
58
  "bootstrap-expired": "bootstrap-expired";
@@ -281,8 +281,8 @@ declare const WorkerDispatchRequestSchema: z.ZodObject<{
281
281
  "exit-and-resume": "exit-and-resume";
282
282
  }>>;
283
283
  terminalAuthority: z.ZodOptional<z.ZodEnum<{
284
- authority: "authority";
285
284
  worker: "worker";
285
+ authority: "authority";
286
286
  }>>;
287
287
  materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
288
288
  kind: z.ZodLiteral<"local-directory">;
@@ -523,8 +523,8 @@ declare const WorkerSchemas$1: {
523
523
  "exit-and-resume": "exit-and-resume";
524
524
  }>>;
525
525
  terminalAuthority: z.ZodOptional<z.ZodEnum<{
526
- authority: "authority";
527
526
  worker: "worker";
527
+ authority: "authority";
528
528
  }>>;
529
529
  materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
530
530
  kind: z.ZodLiteral<"local-directory">;
@@ -781,9 +781,9 @@ declare const WorkerSchemas$1: {
781
781
  response: z.ZodObject<{
782
782
  decision: z.ZodEnum<{
783
783
  accepted: "accepted";
784
+ fenced: "fenced";
784
785
  duplicate: "duplicate";
785
786
  conflict: "conflict";
786
- fenced: "fenced";
787
787
  }>;
788
788
  }, z.core.$strict>;
789
789
  };
@@ -816,8 +816,8 @@ declare const WorkerSchemas$1: {
816
816
  status: z.ZodLiteral<"refused">;
817
817
  reason: z.ZodEnum<{
818
818
  resolved: "resolved";
819
- fenced: "fenced";
820
819
  "not-found": "not-found";
820
+ fenced: "fenced";
821
821
  "allocation-terminated": "allocation-terminated";
822
822
  "gate-closed": "gate-closed";
823
823
  "bootstrap-expired": "bootstrap-expired";
@@ -1147,8 +1147,8 @@ declare const WorkerNamespace: _$_makaio_core0.BusNamespaceDefinition<"worker",
1147
1147
  "exit-and-resume": "exit-and-resume";
1148
1148
  }>>;
1149
1149
  terminalAuthority: _$zod.ZodOptional<_$zod.ZodEnum<{
1150
- authority: "authority";
1151
1150
  worker: "worker";
1151
+ authority: "authority";
1152
1152
  }>>;
1153
1153
  materializationSpec: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1154
1154
  kind: _$zod.ZodLiteral<"local-directory">;
@@ -1385,9 +1385,9 @@ declare const WorkerNamespace: _$_makaio_core0.BusNamespaceDefinition<"worker",
1385
1385
  response: _$zod.ZodObject<{
1386
1386
  decision: _$zod.ZodEnum<{
1387
1387
  accepted: "accepted";
1388
+ fenced: "fenced";
1388
1389
  duplicate: "duplicate";
1389
1390
  conflict: "conflict";
1390
- fenced: "fenced";
1391
1391
  }>;
1392
1392
  }, _$zod_v4_core0.$strict>;
1393
1393
  };
@@ -1409,8 +1409,8 @@ declare const WorkerNamespace: _$_makaio_core0.BusNamespaceDefinition<"worker",
1409
1409
  status: _$zod.ZodLiteral<"refused">;
1410
1410
  reason: _$zod.ZodEnum<{
1411
1411
  resolved: "resolved";
1412
- fenced: "fenced";
1413
1412
  "not-found": "not-found";
1413
+ fenced: "fenced";
1414
1414
  "allocation-terminated": "allocation-terminated";
1415
1415
  "gate-closed": "gate-closed";
1416
1416
  "bootstrap-expired": "bootstrap-expired";
@@ -1658,8 +1658,8 @@ declare const WorkerSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
1658
1658
  "exit-and-resume": "exit-and-resume";
1659
1659
  }>>;
1660
1660
  terminalAuthority: _$zod.ZodOptional<_$zod.ZodEnum<{
1661
- authority: "authority";
1662
1661
  worker: "worker";
1662
+ authority: "authority";
1663
1663
  }>>;
1664
1664
  materializationSpec: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1665
1665
  kind: _$zod.ZodLiteral<"local-directory">;
@@ -1896,9 +1896,9 @@ declare const WorkerSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
1896
1896
  response: _$zod.ZodObject<{
1897
1897
  decision: _$zod.ZodEnum<{
1898
1898
  accepted: "accepted";
1899
+ fenced: "fenced";
1899
1900
  duplicate: "duplicate";
1900
1901
  conflict: "conflict";
1901
- fenced: "fenced";
1902
1902
  }>;
1903
1903
  }, _$zod_v4_core0.$strict>;
1904
1904
  };
@@ -1920,8 +1920,8 @@ declare const WorkerSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
1920
1920
  status: _$zod.ZodLiteral<"refused">;
1921
1921
  reason: _$zod.ZodEnum<{
1922
1922
  resolved: "resolved";
1923
- fenced: "fenced";
1924
1923
  "not-found": "not-found";
1924
+ fenced: "fenced";
1925
1925
  "allocation-terminated": "allocation-terminated";
1926
1926
  "gate-closed": "gate-closed";
1927
1927
  "bootstrap-expired": "bootstrap-expired";
@@ -1,4 +1,4 @@
1
- import { g as OwnedAdapterInstance, h as MachineScopedAdapterInstance, w as Turn$1 } from "./index-DxtUM-qd.mjs";
1
+ import { g as OwnedAdapterInstance, h as MachineScopedAdapterInstance, w as Turn$1 } from "./index-CLwnkYRD.mjs";
2
2
  import { a as PipelineStep, o as SessionEditorAction, t as ActionCategory } from "./types-CjoaGe_E.mjs";
3
3
  import { z } from "zod";
4
4
  import * as _$_makaio_core0 from "@makaio/framework/core";
@@ -6656,8 +6656,8 @@ declare const MessageRoutingNamespace: _$_makaio_storage_core0.StorageNamespaceD
6656
6656
  agentId: z.ZodString;
6657
6657
  status: z.ZodEnum<{
6658
6658
  completed: "completed";
6659
- acknowledged: "acknowledged";
6660
6659
  sent: "sent";
6660
+ acknowledged: "acknowledged";
6661
6661
  }>;
6662
6662
  timestamp: z.ZodNumber;
6663
6663
  error: z.ZodOptional<z.ZodString>;
@@ -6682,8 +6682,8 @@ declare const MessageRoutingNamespace: _$_makaio_storage_core0.StorageNamespaceD
6682
6682
  agentId: z.ZodString;
6683
6683
  status: z.ZodEnum<{
6684
6684
  completed: "completed";
6685
- acknowledged: "acknowledged";
6686
6685
  sent: "sent";
6686
+ acknowledged: "acknowledged";
6687
6687
  }>;
6688
6688
  timestamp: z.ZodNumber;
6689
6689
  error: z.ZodOptional<z.ZodString>;
@@ -6770,7 +6770,7 @@ declare const MessageRoutingNamespace: _$_makaio_storage_core0.StorageNamespaceD
6770
6770
  tableName: "message_routing";
6771
6771
  dataType: "string";
6772
6772
  columnType: "SQLiteText";
6773
- data: "completed" | "acknowledged" | "sent";
6773
+ data: "completed" | "sent" | "acknowledged";
6774
6774
  driverParam: string;
6775
6775
  notNull: true;
6776
6776
  hasDefault: false;
@@ -6841,8 +6841,8 @@ declare const MessageRoutingSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
6841
6841
  agentId: z.ZodString;
6842
6842
  status: z.ZodEnum<{
6843
6843
  completed: "completed";
6844
- acknowledged: "acknowledged";
6845
6844
  sent: "sent";
6845
+ acknowledged: "acknowledged";
6846
6846
  }>;
6847
6847
  timestamp: z.ZodNumber;
6848
6848
  error: z.ZodOptional<z.ZodString>;
@@ -6867,8 +6867,8 @@ declare const MessageRoutingSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
6867
6867
  agentId: z.ZodString;
6868
6868
  status: z.ZodEnum<{
6869
6869
  completed: "completed";
6870
- acknowledged: "acknowledged";
6871
6870
  sent: "sent";
6871
+ acknowledged: "acknowledged";
6872
6872
  }>;
6873
6873
  timestamp: z.ZodNumber;
6874
6874
  error: z.ZodOptional<z.ZodString>;
@@ -7012,7 +7012,7 @@ declare const messageRouting: _$drizzle_orm_sqlite_core0.SQLiteTableWithColumns<
7012
7012
  tableName: "message_routing";
7013
7013
  dataType: "string";
7014
7014
  columnType: "SQLiteText";
7015
- data: "completed" | "acknowledged" | "sent";
7015
+ data: "completed" | "sent" | "acknowledged";
7016
7016
  driverParam: string;
7017
7017
  notNull: true;
7018
7018
  hasDefault: false;
@@ -1889,8 +1889,8 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
1889
1889
  success: _$zod.ZodBoolean;
1890
1890
  evidence: _$zod.ZodEnum<{
1891
1891
  unknown: "unknown";
1892
- exited: "exited";
1893
1892
  closed: "closed";
1893
+ exited: "exited";
1894
1894
  released: "released";
1895
1895
  detached: "detached";
1896
1896
  }>;
@@ -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";
2016
2017
  debug: "debug";
2017
2018
  info: "info";
2018
- warn: "warn";
2019
2019
  }>>;
2020
2020
  }, _$zod_v4_core0.$strip>;
2021
2021
  error: _$zod.ZodObject<{
@@ -3939,8 +3939,8 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
3939
3939
  success: _$zod.ZodBoolean;
3940
3940
  evidence: _$zod.ZodEnum<{
3941
3941
  unknown: "unknown";
3942
- exited: "exited";
3943
3942
  closed: "closed";
3943
+ exited: "exited";
3944
3944
  released: "released";
3945
3945
  detached: "detached";
3946
3946
  }>;
@@ -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";
4066
4067
  debug: "debug";
4067
4068
  info: "info";
4068
- warn: "warn";
4069
4069
  }>>;
4070
4070
  }, _$zod_v4_core0.$strip>;
4071
4071
  error: _$zod.ZodObject<{
@@ -6013,8 +6013,8 @@ declare const AdapterSchemas: {
6013
6013
  success: _$zod.ZodBoolean;
6014
6014
  evidence: _$zod.ZodEnum<{
6015
6015
  unknown: "unknown";
6016
- exited: "exited";
6017
6016
  closed: "closed";
6017
+ exited: "exited";
6018
6018
  released: "released";
6019
6019
  detached: "detached";
6020
6020
  }>;
@@ -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";
6140
6141
  debug: "debug";
6141
6142
  info: "info";
6142
- warn: "warn";
6143
6143
  }>>;
6144
6144
  }, _$zod_v4_core0.$strip>;
6145
6145
  error: _$zod.ZodObject<{
@@ -8118,8 +8118,8 @@ type AcknowledgeCallerSettlementResponse = z.infer<typeof AcknowledgeCallerSettl
8118
8118
  */
8119
8119
  declare const TeardownEvidenceSchema: z.ZodEnum<{
8120
8120
  unknown: "unknown";
8121
- exited: "exited";
8122
8121
  closed: "closed";
8122
+ exited: "exited";
8123
8123
  released: "released";
8124
8124
  detached: "detached";
8125
8125
  }>;
@@ -8147,8 +8147,8 @@ declare function teardownWasObserved$1(evidence: TeardownEvidence$1): boolean;
8147
8147
  declare const ConnectorTeardownResultSchema$1: z.ZodObject<{
8148
8148
  evidence: z.ZodEnum<{
8149
8149
  unknown: "unknown";
8150
- exited: "exited";
8151
8150
  closed: "closed";
8151
+ exited: "exited";
8152
8152
  released: "released";
8153
8153
  detached: "detached";
8154
8154
  }>;
@@ -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
- managed: "managed";
21
20
  global: "global";
21
+ managed: "managed";
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
- managed: "managed";
43
42
  global: "global";
43
+ managed: "managed";
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
- managed: "managed";
53
52
  global: "global";
53
+ managed: "managed";
54
54
  }>;
55
55
  version: z.ZodNullable<z.ZodString>;
56
56
  }, z.core.$strip>;
@@ -550,9 +550,9 @@ declare const ClientSchemas: {
550
550
  cwd: z.ZodOptional<z.ZodString>;
551
551
  machineId: z.ZodOptional<z.ZodString>;
552
552
  startMode: z.ZodOptional<z.ZodEnum<{
553
- fork: "fork";
554
- resume: "resume";
555
553
  fresh: "fresh";
554
+ resume: "resume";
555
+ fork: "fork";
556
556
  clear: "clear";
557
557
  compact: "compact";
558
558
  }>>;
@@ -738,8 +738,8 @@ declare const ClientSchemas: {
738
738
  "signed-binary-bucket": "signed-binary-bucket";
739
739
  }>;
740
740
  stage: z.ZodEnum<{
741
- resolving: "resolving";
742
741
  downloading: "downloading";
742
+ resolving: "resolving";
743
743
  verifying: "verifying";
744
744
  extracting: "extracting";
745
745
  installing: "installing";
@@ -788,8 +788,8 @@ declare const ClientSchemas: {
788
788
  sessionId: z.ZodOptional<z.ZodString>;
789
789
  projectDir: z.ZodOptional<z.ZodString>;
790
790
  preferSource: z.ZodOptional<z.ZodEnum<{
791
- managed: "managed";
792
791
  global: "global";
792
+ managed: "managed";
793
793
  }>>;
794
794
  harnessId: z.ZodOptional<z.ZodString>;
795
795
  }, z.core.$strip>;
@@ -798,8 +798,8 @@ declare const ClientSchemas: {
798
798
  env: z.ZodRecord<z.ZodString, z.ZodString>;
799
799
  configDir: z.ZodNullable<z.ZodString>;
800
800
  source: z.ZodEnum<{
801
- managed: "managed";
802
801
  global: "global";
802
+ managed: "managed";
803
803
  }>;
804
804
  version: z.ZodNullable<z.ZodString>;
805
805
  }, z.core.$strip>;
@@ -1249,8 +1249,8 @@ type ClientSetActiveResponse = z.infer<typeof ClientSetActiveSchema.response>;
1249
1249
  * - `'activating'` — marking the installed version as active.
1250
1250
  */
1251
1251
  declare const InstallStageSchema: z.ZodEnum<{
1252
- resolving: "resolving";
1253
1252
  downloading: "downloading";
1253
+ resolving: "resolving";
1254
1254
  verifying: "verifying";
1255
1255
  extracting: "extracting";
1256
1256
  installing: "installing";
@@ -1273,8 +1273,8 @@ declare const ClientInstallProgressSchema: z.ZodObject<{
1273
1273
  "signed-binary-bucket": "signed-binary-bucket";
1274
1274
  }>;
1275
1275
  stage: z.ZodEnum<{
1276
- resolving: "resolving";
1277
1276
  downloading: "downloading";
1277
+ resolving: "resolving";
1278
1278
  verifying: "verifying";
1279
1279
  extracting: "extracting";
1280
1280
  installing: "installing";
@@ -1640,9 +1640,9 @@ type ClientSessionObservedBase = z.infer<typeof ClientSessionObservedBaseSchema>
1640
1640
  declare const CLIENT_SESSION_START_MODES: readonly ["fresh", "fork", "resume", "clear", "compact"];
1641
1641
  /** Zod schema for the client-reported session start mode. */
1642
1642
  declare const ClientSessionStartModeSchema: z.ZodEnum<{
1643
- fork: "fork";
1644
- resume: "resume";
1645
1643
  fresh: "fresh";
1644
+ resume: "resume";
1645
+ fork: "fork";
1646
1646
  clear: "clear";
1647
1647
  compact: "compact";
1648
1648
  }>;
@@ -1659,9 +1659,9 @@ declare const ClientSessionStartedSchema: z.ZodObject<{
1659
1659
  cwd: z.ZodOptional<z.ZodString>;
1660
1660
  machineId: z.ZodOptional<z.ZodString>;
1661
1661
  startMode: z.ZodOptional<z.ZodEnum<{
1662
- fork: "fork";
1663
- resume: "resume";
1664
1662
  fresh: "fresh";
1663
+ resume: "resume";
1664
+ fork: "fork";
1665
1665
  clear: "clear";
1666
1666
  compact: "compact";
1667
1667
  }>>;
@@ -2444,9 +2444,9 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
2444
2444
  cwd: _$zod.ZodOptional<_$zod.ZodString>;
2445
2445
  machineId: _$zod.ZodOptional<_$zod.ZodString>;
2446
2446
  startMode: _$zod.ZodOptional<_$zod.ZodEnum<{
2447
- fork: "fork";
2448
- resume: "resume";
2449
2447
  fresh: "fresh";
2448
+ resume: "resume";
2449
+ fork: "fork";
2450
2450
  clear: "clear";
2451
2451
  compact: "compact";
2452
2452
  }>>;
@@ -2632,8 +2632,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
2632
2632
  "signed-binary-bucket": "signed-binary-bucket";
2633
2633
  }>;
2634
2634
  stage: _$zod.ZodEnum<{
2635
- resolving: "resolving";
2636
2635
  downloading: "downloading";
2636
+ resolving: "resolving";
2637
2637
  verifying: "verifying";
2638
2638
  extracting: "extracting";
2639
2639
  installing: "installing";
@@ -2682,8 +2682,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
2682
2682
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
2683
2683
  projectDir: _$zod.ZodOptional<_$zod.ZodString>;
2684
2684
  preferSource: _$zod.ZodOptional<_$zod.ZodEnum<{
2685
- managed: "managed";
2686
2685
  global: "global";
2686
+ managed: "managed";
2687
2687
  }>>;
2688
2688
  harnessId: _$zod.ZodOptional<_$zod.ZodString>;
2689
2689
  }, _$zod_v4_core0.$strip>;
@@ -2692,8 +2692,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
2692
2692
  env: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>;
2693
2693
  configDir: _$zod.ZodNullable<_$zod.ZodString>;
2694
2694
  source: _$zod.ZodEnum<{
2695
- managed: "managed";
2696
2695
  global: "global";
2696
+ managed: "managed";
2697
2697
  }>;
2698
2698
  version: _$zod.ZodNullable<_$zod.ZodString>;
2699
2699
  }, _$zod_v4_core0.$strip>;
@@ -3174,9 +3174,9 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
3174
3174
  cwd: _$zod.ZodOptional<_$zod.ZodString>;
3175
3175
  machineId: _$zod.ZodOptional<_$zod.ZodString>;
3176
3176
  startMode: _$zod.ZodOptional<_$zod.ZodEnum<{
3177
- fork: "fork";
3178
- resume: "resume";
3179
3177
  fresh: "fresh";
3178
+ resume: "resume";
3179
+ fork: "fork";
3180
3180
  clear: "clear";
3181
3181
  compact: "compact";
3182
3182
  }>>;
@@ -3362,8 +3362,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
3362
3362
  "signed-binary-bucket": "signed-binary-bucket";
3363
3363
  }>;
3364
3364
  stage: _$zod.ZodEnum<{
3365
- resolving: "resolving";
3366
3365
  downloading: "downloading";
3366
+ resolving: "resolving";
3367
3367
  verifying: "verifying";
3368
3368
  extracting: "extracting";
3369
3369
  installing: "installing";
@@ -3412,8 +3412,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
3412
3412
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
3413
3413
  projectDir: _$zod.ZodOptional<_$zod.ZodString>;
3414
3414
  preferSource: _$zod.ZodOptional<_$zod.ZodEnum<{
3415
- managed: "managed";
3416
3415
  global: "global";
3416
+ managed: "managed";
3417
3417
  }>>;
3418
3418
  harnessId: _$zod.ZodOptional<_$zod.ZodString>;
3419
3419
  }, _$zod_v4_core0.$strip>;
@@ -3422,8 +3422,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
3422
3422
  env: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>;
3423
3423
  configDir: _$zod.ZodNullable<_$zod.ZodString>;
3424
3424
  source: _$zod.ZodEnum<{
3425
- managed: "managed";
3426
3425
  global: "global";
3426
+ managed: "managed";
3427
3427
  }>;
3428
3428
  version: _$zod.ZodNullable<_$zod.ZodString>;
3429
3429
  }, _$zod_v4_core0.$strip>;