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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapters/claude/index.d.mts +24 -24
  3. package/dist/bridge/pty-bridge.cjs +222 -0
  4. package/dist/bus/index.d.mts +20 -20
  5. package/dist/bus/index.mjs +1 -1
  6. package/dist/{bus-D4DBDaoS.mjs → bus-30AlabEz.mjs} +1 -1
  7. package/dist/contracts/adapter/index.d.mts +2 -2
  8. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  9. package/dist/contracts/artifact/index.d.mts +2 -2
  10. package/dist/contracts/canonical-model/index.d.mts +1 -1
  11. package/dist/contracts/capabilities/index.d.mts +1 -1
  12. package/dist/contracts/client/index.d.mts +1 -1
  13. package/dist/contracts/extension/index.d.mts +3 -3
  14. package/dist/contracts/facet/index.d.mts +1 -1
  15. package/dist/contracts/index.d.mts +188 -188
  16. package/dist/contracts/index.mjs +1 -1
  17. package/dist/contracts/materialization/index.d.mts +2 -2
  18. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  19. package/dist/contracts/reaction/index.d.mts +1 -1
  20. package/dist/contracts/reaction/index.mjs +1 -1
  21. package/dist/contracts/session/index.d.mts +2 -2
  22. package/dist/contracts/shared/index.d.mts +1 -1
  23. package/dist/contracts/variant/index.d.mts +1 -1
  24. package/dist/contracts/worker/index.d.mts +1 -1
  25. package/dist/contracts/workflow/index.d.mts +2 -2
  26. package/dist/framework-packages-mquh5_Yw.mjs +1 -0
  27. package/dist/{index-C9Dz8UoK2.d.mts → index-2YW8DTb62.d.mts} +6 -6
  28. package/dist/{index-DyzmUD1S.d.mts → index-7pt_bh4z.d.mts} +51 -51
  29. package/dist/{index-B7KgjUmJ2.d.mts → index-9O8N514B2.d.mts} +4 -4
  30. package/dist/{index-CI5ss_XH.d.mts → index-B1iXL1pW.d.mts} +341 -341
  31. package/dist/{index-QYdQSOnc2.d.mts → index-BMr77str2.d.mts} +15 -15
  32. package/dist/{index-BRF5X-EZ.d.mts → index-BRXETFym.d.mts} +9 -1
  33. package/dist/{index-BDTcg6tu.d.mts → index-BV3nQpdO.d.mts} +100 -100
  34. package/dist/{index-BnNNfBck.d.mts → index-BVN64wQx.d.mts} +12 -12
  35. package/dist/{index-D5BLD2Pw.d.mts → index-BgkQiruC.d.mts} +7 -7
  36. package/dist/{index-DRSeELQh.d.mts → index-Bgz81LHZ.d.mts} +1 -1
  37. package/dist/{index-z_wA9LhQ.d.mts → index-BusmMFMN.d.mts} +10 -10
  38. package/dist/{index-BM53WQaQ.d.mts → index-CVRQS5jk.d.mts} +1 -1
  39. package/dist/{index-Bmb7jPIe2.d.mts → index-Csua5M_M2.d.mts} +8 -8
  40. package/dist/{index-8hJCLlAE.d.mts → index-Cu8k2ZGe.d.mts} +25 -25
  41. package/dist/{index-CmTVBNCe.d.mts → index-D8V1DhrY.d.mts} +291 -291
  42. package/dist/{index-BUxs65tf.d.mts → index-DDCixELI.d.mts} +1 -1
  43. package/dist/{index-CDuEmakt2.d.mts → index-DIEnLLhi2.d.mts} +347 -347
  44. package/dist/{index-BVG-RaIu.d.mts → index-DWKSiTxX.d.mts} +72 -72
  45. package/dist/{index-CLwnkYRD.d.mts → index-DxtUM-qd.d.mts} +1 -1
  46. package/dist/{index-qtH2O8j_.d.mts → index-Mk478DlF.d.mts} +7 -7
  47. package/dist/{index-B1uHTa1l.d.mts → index-oE2q0pTG.d.mts} +1 -1
  48. package/dist/kernel/extension/index.d.mts +2 -2
  49. package/dist/kernel/index.d.mts +2 -2
  50. package/dist/kernel/observability/index.d.mts +1 -1
  51. package/dist/{namespace-BhpzgnH3.d.mts → namespace-B9iQN3FQ.d.mts} +3 -3
  52. package/dist/{namespace-CNX4llM5.d.mts → namespace-C1-ZAKEG.d.mts} +6 -6
  53. package/dist/{namespace-D6W4Erwp.d.mts → namespace-DAzOxaux.d.mts} +2 -2
  54. package/dist/{namespace-B0__88KU.d.mts → namespace-HLrZerLd.d.mts} +154 -154
  55. package/dist/{namespace-BaUgxONS.d.mts → namespace-KomML5ti.d.mts} +2 -2
  56. package/dist/{namespace-CHSwZhH7.d.mts → namespace-h7gq_v5U.d.mts} +2 -2
  57. package/dist/{package-jjugnMVh.d.mts → package-BswWlFSn.d.mts} +1 -1
  58. package/dist/package.json +1 -1
  59. package/dist/reaction-DVa5lwm5.mjs +1 -0
  60. package/dist/{schemas-DFamD1UF.d.mts → schemas-BOT1HUv6.d.mts} +154 -154
  61. package/dist/{schemas-BXkSHQaF.d.mts → schemas-BTJvvq9Y.d.mts} +2 -2
  62. package/dist/{schemas-Cb9OJ9va.d.mts → schemas-CBDNnyz4.d.mts} +1 -1
  63. package/dist/{schemas-KyQQPGjX.d.mts → schemas-Dec5VtBU.d.mts} +5 -5
  64. package/dist/{schemas-D9pXu76T.d.mts → schemas-Dyp3rHZ7.d.mts} +4 -4
  65. package/dist/services/adapter-runtime/index.d.mts +3 -3
  66. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  67. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  68. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  69. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  70. package/dist/services/agent-runtime/index.d.mts +2 -2
  71. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  72. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  73. package/dist/services/context-rules/index.d.mts +3 -3
  74. package/dist/services/execution-target/index.d.mts +2 -2
  75. package/dist/services/execution-target/namespace.d.mts +1 -1
  76. package/dist/services/execution-target/schemas.d.mts +1 -1
  77. package/dist/services/filesystem/namespace.d.mts +6 -6
  78. package/dist/services/filesystem/schemas.d.mts +3 -3
  79. package/dist/services/index.d.mts +137 -104
  80. package/dist/services/index.mjs +1 -1
  81. package/dist/services/provider-context/index.d.mts +1 -1
  82. package/dist/services/session/handlers/index.d.mts +1 -1
  83. package/dist/services/session/index.d.mts +4 -4
  84. package/dist/services/session/messages/namespace.d.mts +1 -1
  85. package/dist/services/settings/namespace.d.mts +2 -2
  86. package/dist/services/subagent-template/index.d.mts +2 -2
  87. package/dist/services/subagent-template/namespace.d.mts +1 -1
  88. package/dist/services/subagent-template/schemas.d.mts +1 -1
  89. package/dist/services/tools/index.mjs +1 -1
  90. package/dist/services/workflow-transitions/index.mjs +1 -1
  91. package/dist/{session-lineage-CmP7L5g2.d.mts → session-lineage-BQ9NWlt6.d.mts} +1 -1
  92. package/dist/{tools-ByDy0ueE.mjs → tools-K3DWA4Jr.mjs} +1 -1
  93. package/dist/{transition-CAtcgdUp.d.mts → transition-CSN6QoMp.d.mts} +1 -1
  94. package/dist/{types-BbqmHOM-.d.mts → types-DTpwvvY9.d.mts} +328 -328
  95. package/dist/{view-builder-6YQFmKD6.d.mts → view-builder-cjQZJmTY.d.mts} +11 -11
  96. package/dist/workflow-engine/index.d.mts +42 -42
  97. package/dist/workflow-engine/package.d.mts +1 -1
  98. package/dist/{workflow-transitions-UOXY-VZa.mjs → workflow-transitions-C2BLDE5N.mjs} +1 -1
  99. package/package.json +1 -1
  100. package/dist/framework-packages-C2tvdFmP.mjs +0 -1
  101. package/dist/reaction-C8WbJqLk.mjs +0 -1
  102. package/dist/{schemas-CuOZoC08.d.mts → schemas-CU2NE5Lg.d.mts} +8 -8
@@ -28,8 +28,8 @@ declare const WorkerBootstrapGrantedClaimResponseSchema: z.ZodObject<{
28
28
  /** Non-secret refusals shared with start authorization plus remote claim eligibility. */
29
29
  declare const WorkerBootstrapClaimRefusalReasonSchema: z.ZodEnum<{
30
30
  resolved: "resolved";
31
- "not-found": "not-found";
32
31
  fenced: "fenced";
32
+ "not-found": "not-found";
33
33
  "allocation-terminated": "allocation-terminated";
34
34
  "gate-closed": "gate-closed";
35
35
  "bootstrap-expired": "bootstrap-expired";
@@ -51,8 +51,8 @@ declare const WorkerBootstrapClaimResponseSchema: z.ZodDiscriminatedUnion<[z.Zod
51
51
  status: z.ZodLiteral<"refused">;
52
52
  reason: z.ZodEnum<{
53
53
  resolved: "resolved";
54
- "not-found": "not-found";
55
54
  fenced: "fenced";
55
+ "not-found": "not-found";
56
56
  "allocation-terminated": "allocation-terminated";
57
57
  "gate-closed": "gate-closed";
58
58
  "bootstrap-expired": "bootstrap-expired";
@@ -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
- worker: "worker";
285
284
  authority: "authority";
285
+ worker: "worker";
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
- worker: "worker";
527
526
  authority: "authority";
527
+ worker: "worker";
528
528
  }>>;
529
529
  materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
530
530
  kind: z.ZodLiteral<"local-directory">;
@@ -706,9 +706,9 @@ declare const WorkerSchemas$1: {
706
706
  confidence: z.ZodOptional<z.ZodObject<{
707
707
  level: z.ZodEnum<{
708
708
  inferred: "inferred";
709
+ confirmed: "confirmed";
709
710
  assumed: "assumed";
710
711
  stated: "stated";
711
- confirmed: "confirmed";
712
712
  verified: "verified";
713
713
  }>;
714
714
  basis: z.ZodArray<z.ZodObject<{
@@ -780,10 +780,10 @@ declare const WorkerSchemas$1: {
780
780
  }, z.core.$strict>;
781
781
  response: z.ZodObject<{
782
782
  decision: z.ZodEnum<{
783
- fenced: "fenced";
784
783
  accepted: "accepted";
785
784
  duplicate: "duplicate";
786
785
  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
- "not-found": "not-found";
820
819
  fenced: "fenced";
820
+ "not-found": "not-found";
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
- worker: "worker";
1151
1150
  authority: "authority";
1151
+ worker: "worker";
1152
1152
  }>>;
1153
1153
  materializationSpec: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1154
1154
  kind: _$zod.ZodLiteral<"local-directory">;
@@ -1310,9 +1310,9 @@ declare const WorkerNamespace: _$_makaio_core0.BusNamespaceDefinition<"worker",
1310
1310
  confidence: _$zod.ZodOptional<_$zod.ZodObject<{
1311
1311
  level: _$zod.ZodEnum<{
1312
1312
  inferred: "inferred";
1313
+ confirmed: "confirmed";
1313
1314
  assumed: "assumed";
1314
1315
  stated: "stated";
1315
- confirmed: "confirmed";
1316
1316
  verified: "verified";
1317
1317
  }>;
1318
1318
  basis: _$zod.ZodArray<_$zod.ZodObject<{
@@ -1384,10 +1384,10 @@ declare const WorkerNamespace: _$_makaio_core0.BusNamespaceDefinition<"worker",
1384
1384
  }, _$zod_v4_core0.$strict>;
1385
1385
  response: _$zod.ZodObject<{
1386
1386
  decision: _$zod.ZodEnum<{
1387
- fenced: "fenced";
1388
1387
  accepted: "accepted";
1389
1388
  duplicate: "duplicate";
1390
1389
  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
- "not-found": "not-found";
1413
1412
  fenced: "fenced";
1413
+ "not-found": "not-found";
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
- worker: "worker";
1662
1661
  authority: "authority";
1662
+ worker: "worker";
1663
1663
  }>>;
1664
1664
  materializationSpec: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1665
1665
  kind: _$zod.ZodLiteral<"local-directory">;
@@ -1821,9 +1821,9 @@ declare const WorkerSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
1821
1821
  confidence: _$zod.ZodOptional<_$zod.ZodObject<{
1822
1822
  level: _$zod.ZodEnum<{
1823
1823
  inferred: "inferred";
1824
+ confirmed: "confirmed";
1824
1825
  assumed: "assumed";
1825
1826
  stated: "stated";
1826
- confirmed: "confirmed";
1827
1827
  verified: "verified";
1828
1828
  }>;
1829
1829
  basis: _$zod.ZodArray<_$zod.ZodObject<{
@@ -1895,10 +1895,10 @@ declare const WorkerSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
1895
1895
  }, _$zod_v4_core0.$strict>;
1896
1896
  response: _$zod.ZodObject<{
1897
1897
  decision: _$zod.ZodEnum<{
1898
- fenced: "fenced";
1899
1898
  accepted: "accepted";
1900
1899
  duplicate: "duplicate";
1901
1900
  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
- "not-found": "not-found";
1924
1923
  fenced: "fenced";
1924
+ "not-found": "not-found";
1925
1925
  "allocation-terminated": "allocation-terminated";
1926
1926
  "gate-closed": "gate-closed";
1927
1927
  "bootstrap-expired": "bootstrap-expired";
@@ -27,7 +27,9 @@ type ReactionDescriptor$1 = z.infer<typeof ReactionDescriptorSchema$1>;
27
27
  * Serializable normalized outcome of a single Reaction invocation.
28
28
  *
29
29
  * A handler that resolves normally maps to `{ success: true }`; a handler
30
- * that throws maps to `{ success: false }` with a plain error message.
30
+ * that throws maps to `{ success: false }` with a stable failure code and a
31
+ * plain error message. Consumers can branch on the code while preserving the
32
+ * message for diagnostics and existing user-facing reporting.
31
33
  * Cancellation is cooperative: a handler that resolves despite an abort
32
34
  * still yields `{ success: true }` — only dispatches that are already
33
35
  * aborted or already past their deadline before handler entry are
@@ -40,6 +42,12 @@ declare const ReactionOutcomeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
40
42
  }, z.core.$strip>, z.ZodObject<{
41
43
  success: z.ZodLiteral<false>;
42
44
  error: z.ZodObject<{
45
+ code: z.ZodEnum<{
46
+ cancelled: "cancelled";
47
+ "unknown-reaction": "unknown-reaction";
48
+ "invalid-parameters": "invalid-parameters";
49
+ "handler-failed": "handler-failed";
50
+ }>;
43
51
  message: z.ZodString;
44
52
  }, z.core.$strip>;
45
53
  }, z.core.$strip>], "success">;
@@ -263,25 +263,6 @@ declare const CanonicalModelSelectionSchema: z.ZodObject<{
263
263
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
264
264
  mcpSessionContext: z.ZodOptional<z.ZodObject<{
265
265
  sessionId: z.ZodString;
266
- directTools: z.ZodArray<z.ZodObject<{
267
- fullName: z.ZodString;
268
- originalName: z.ZodString;
269
- serverName: z.ZodString;
270
- description: z.ZodOptional<z.ZodString>;
271
- inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
272
- exposureMode: z.ZodEnum<{
273
- discovery: "discovery";
274
- direct: "direct";
275
- hidden: "hidden";
276
- }>;
277
- enabled: z.ZodBoolean;
278
- enabledBy: z.ZodOptional<z.ZodEnum<{
279
- discovery: "discovery";
280
- toolset: "toolset";
281
- }>>;
282
- enabledAt: z.ZodOptional<z.ZodNumber>;
283
- exposed: z.ZodBoolean;
284
- }, z.core.$strip>>;
285
266
  servers: z.ZodArray<z.ZodObject<{
286
267
  name: z.ZodString;
287
268
  transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -318,9 +299,28 @@ declare const CanonicalModelSelectionSchema: z.ZodObject<{
318
299
  type: z.ZodLiteral<"http">;
319
300
  }, z.core.$strip>], "type">;
320
301
  exposureMode: z.ZodEnum<{
302
+ direct: "direct";
321
303
  discovery: "discovery";
304
+ }>;
305
+ }, z.core.$strip>>;
306
+ directTools: z.ZodArray<z.ZodObject<{
307
+ fullName: z.ZodString;
308
+ originalName: z.ZodString;
309
+ serverName: z.ZodString;
310
+ description: z.ZodOptional<z.ZodString>;
311
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
312
+ exposureMode: z.ZodEnum<{
322
313
  direct: "direct";
314
+ discovery: "discovery";
315
+ hidden: "hidden";
323
316
  }>;
317
+ enabled: z.ZodBoolean;
318
+ enabledBy: z.ZodOptional<z.ZodEnum<{
319
+ discovery: "discovery";
320
+ toolset: "toolset";
321
+ }>>;
322
+ enabledAt: z.ZodOptional<z.ZodNumber>;
323
+ exposed: z.ZodBoolean;
324
324
  }, z.core.$strip>>;
325
325
  discoverableTools: z.ZodArray<z.ZodObject<{
326
326
  fullName: z.ZodString;
@@ -329,8 +329,8 @@ declare const CanonicalModelSelectionSchema: z.ZodObject<{
329
329
  description: z.ZodOptional<z.ZodString>;
330
330
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
331
331
  exposureMode: z.ZodEnum<{
332
- discovery: "discovery";
333
332
  direct: "direct";
333
+ discovery: "discovery";
334
334
  hidden: "hidden";
335
335
  }>;
336
336
  enabled: z.ZodBoolean;
@@ -380,25 +380,6 @@ declare const CanonicalModelResolvedSelectionSchema: z.ZodObject<{
380
380
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
381
381
  mcpSessionContext: z.ZodOptional<z.ZodObject<{
382
382
  sessionId: z.ZodString;
383
- directTools: z.ZodArray<z.ZodObject<{
384
- fullName: z.ZodString;
385
- originalName: z.ZodString;
386
- serverName: z.ZodString;
387
- description: z.ZodOptional<z.ZodString>;
388
- inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
389
- exposureMode: z.ZodEnum<{
390
- discovery: "discovery";
391
- direct: "direct";
392
- hidden: "hidden";
393
- }>;
394
- enabled: z.ZodBoolean;
395
- enabledBy: z.ZodOptional<z.ZodEnum<{
396
- discovery: "discovery";
397
- toolset: "toolset";
398
- }>>;
399
- enabledAt: z.ZodOptional<z.ZodNumber>;
400
- exposed: z.ZodBoolean;
401
- }, z.core.$strip>>;
402
383
  servers: z.ZodArray<z.ZodObject<{
403
384
  name: z.ZodString;
404
385
  transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -435,9 +416,28 @@ declare const CanonicalModelResolvedSelectionSchema: z.ZodObject<{
435
416
  type: z.ZodLiteral<"http">;
436
417
  }, z.core.$strip>], "type">;
437
418
  exposureMode: z.ZodEnum<{
419
+ direct: "direct";
438
420
  discovery: "discovery";
421
+ }>;
422
+ }, z.core.$strip>>;
423
+ directTools: z.ZodArray<z.ZodObject<{
424
+ fullName: z.ZodString;
425
+ originalName: z.ZodString;
426
+ serverName: z.ZodString;
427
+ description: z.ZodOptional<z.ZodString>;
428
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
429
+ exposureMode: z.ZodEnum<{
439
430
  direct: "direct";
431
+ discovery: "discovery";
432
+ hidden: "hidden";
440
433
  }>;
434
+ enabled: z.ZodBoolean;
435
+ enabledBy: z.ZodOptional<z.ZodEnum<{
436
+ discovery: "discovery";
437
+ toolset: "toolset";
438
+ }>>;
439
+ enabledAt: z.ZodOptional<z.ZodNumber>;
440
+ exposed: z.ZodBoolean;
441
441
  }, z.core.$strip>>;
442
442
  discoverableTools: z.ZodArray<z.ZodObject<{
443
443
  fullName: z.ZodString;
@@ -446,8 +446,8 @@ declare const CanonicalModelResolvedSelectionSchema: z.ZodObject<{
446
446
  description: z.ZodOptional<z.ZodString>;
447
447
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
448
448
  exposureMode: z.ZodEnum<{
449
- discovery: "discovery";
450
449
  direct: "direct";
450
+ discovery: "discovery";
451
451
  hidden: "hidden";
452
452
  }>;
453
453
  enabled: z.ZodBoolean;
@@ -511,25 +511,6 @@ declare const CanonicalModelSchemas: {
511
511
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
512
512
  mcpSessionContext: z.ZodOptional<z.ZodObject<{
513
513
  sessionId: z.ZodString;
514
- directTools: z.ZodArray<z.ZodObject<{
515
- fullName: z.ZodString;
516
- originalName: z.ZodString;
517
- serverName: z.ZodString;
518
- description: z.ZodOptional<z.ZodString>;
519
- inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
520
- exposureMode: z.ZodEnum<{
521
- discovery: "discovery";
522
- direct: "direct";
523
- hidden: "hidden";
524
- }>;
525
- enabled: z.ZodBoolean;
526
- enabledBy: z.ZodOptional<z.ZodEnum<{
527
- discovery: "discovery";
528
- toolset: "toolset";
529
- }>>;
530
- enabledAt: z.ZodOptional<z.ZodNumber>;
531
- exposed: z.ZodBoolean;
532
- }, z.core.$strip>>;
533
514
  servers: z.ZodArray<z.ZodObject<{
534
515
  name: z.ZodString;
535
516
  transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -566,9 +547,28 @@ declare const CanonicalModelSchemas: {
566
547
  type: z.ZodLiteral<"http">;
567
548
  }, z.core.$strip>], "type">;
568
549
  exposureMode: z.ZodEnum<{
550
+ direct: "direct";
569
551
  discovery: "discovery";
552
+ }>;
553
+ }, z.core.$strip>>;
554
+ directTools: z.ZodArray<z.ZodObject<{
555
+ fullName: z.ZodString;
556
+ originalName: z.ZodString;
557
+ serverName: z.ZodString;
558
+ description: z.ZodOptional<z.ZodString>;
559
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
560
+ exposureMode: z.ZodEnum<{
570
561
  direct: "direct";
562
+ discovery: "discovery";
563
+ hidden: "hidden";
571
564
  }>;
565
+ enabled: z.ZodBoolean;
566
+ enabledBy: z.ZodOptional<z.ZodEnum<{
567
+ discovery: "discovery";
568
+ toolset: "toolset";
569
+ }>>;
570
+ enabledAt: z.ZodOptional<z.ZodNumber>;
571
+ exposed: z.ZodBoolean;
572
572
  }, z.core.$strip>>;
573
573
  discoverableTools: z.ZodArray<z.ZodObject<{
574
574
  fullName: z.ZodString;
@@ -577,8 +577,8 @@ declare const CanonicalModelSchemas: {
577
577
  description: z.ZodOptional<z.ZodString>;
578
578
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
579
579
  exposureMode: z.ZodEnum<{
580
- discovery: "discovery";
581
580
  direct: "direct";
581
+ discovery: "discovery";
582
582
  hidden: "hidden";
583
583
  }>;
584
584
  enabled: z.ZodBoolean;
@@ -641,25 +641,6 @@ declare const CanonicalModelNamespace: _$_makaio_core0.BusNamespaceDefinition<"c
641
641
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
642
642
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
643
643
  sessionId: _$zod.ZodString;
644
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
645
- fullName: _$zod.ZodString;
646
- originalName: _$zod.ZodString;
647
- serverName: _$zod.ZodString;
648
- description: _$zod.ZodOptional<_$zod.ZodString>;
649
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
650
- exposureMode: _$zod.ZodEnum<{
651
- discovery: "discovery";
652
- direct: "direct";
653
- hidden: "hidden";
654
- }>;
655
- enabled: _$zod.ZodBoolean;
656
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
657
- discovery: "discovery";
658
- toolset: "toolset";
659
- }>>;
660
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
661
- exposed: _$zod.ZodBoolean;
662
- }, _$zod_v4_core0.$strip>>;
663
644
  servers: _$zod.ZodArray<_$zod.ZodObject<{
664
645
  name: _$zod.ZodString;
665
646
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -696,9 +677,28 @@ declare const CanonicalModelNamespace: _$_makaio_core0.BusNamespaceDefinition<"c
696
677
  type: _$zod.ZodLiteral<"http">;
697
678
  }, _$zod_v4_core0.$strip>], "type">;
698
679
  exposureMode: _$zod.ZodEnum<{
680
+ direct: "direct";
699
681
  discovery: "discovery";
682
+ }>;
683
+ }, _$zod_v4_core0.$strip>>;
684
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
685
+ fullName: _$zod.ZodString;
686
+ originalName: _$zod.ZodString;
687
+ serverName: _$zod.ZodString;
688
+ description: _$zod.ZodOptional<_$zod.ZodString>;
689
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
690
+ exposureMode: _$zod.ZodEnum<{
700
691
  direct: "direct";
692
+ discovery: "discovery";
693
+ hidden: "hidden";
701
694
  }>;
695
+ enabled: _$zod.ZodBoolean;
696
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
697
+ discovery: "discovery";
698
+ toolset: "toolset";
699
+ }>>;
700
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
701
+ exposed: _$zod.ZodBoolean;
702
702
  }, _$zod_v4_core0.$strip>>;
703
703
  discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
704
704
  fullName: _$zod.ZodString;
@@ -707,8 +707,8 @@ declare const CanonicalModelNamespace: _$_makaio_core0.BusNamespaceDefinition<"c
707
707
  description: _$zod.ZodOptional<_$zod.ZodString>;
708
708
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
709
709
  exposureMode: _$zod.ZodEnum<{
710
- discovery: "discovery";
711
710
  direct: "direct";
711
+ discovery: "discovery";
712
712
  hidden: "hidden";
713
713
  }>;
714
714
  enabled: _$zod.ZodBoolean;
@@ -769,25 +769,6 @@ declare const CanonicalModelSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
769
769
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
770
770
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
771
771
  sessionId: _$zod.ZodString;
772
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
773
- fullName: _$zod.ZodString;
774
- originalName: _$zod.ZodString;
775
- serverName: _$zod.ZodString;
776
- description: _$zod.ZodOptional<_$zod.ZodString>;
777
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
778
- exposureMode: _$zod.ZodEnum<{
779
- discovery: "discovery";
780
- direct: "direct";
781
- hidden: "hidden";
782
- }>;
783
- enabled: _$zod.ZodBoolean;
784
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
785
- discovery: "discovery";
786
- toolset: "toolset";
787
- }>>;
788
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
789
- exposed: _$zod.ZodBoolean;
790
- }, _$zod_v4_core0.$strip>>;
791
772
  servers: _$zod.ZodArray<_$zod.ZodObject<{
792
773
  name: _$zod.ZodString;
793
774
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -824,9 +805,28 @@ declare const CanonicalModelSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
824
805
  type: _$zod.ZodLiteral<"http">;
825
806
  }, _$zod_v4_core0.$strip>], "type">;
826
807
  exposureMode: _$zod.ZodEnum<{
808
+ direct: "direct";
827
809
  discovery: "discovery";
810
+ }>;
811
+ }, _$zod_v4_core0.$strip>>;
812
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
813
+ fullName: _$zod.ZodString;
814
+ originalName: _$zod.ZodString;
815
+ serverName: _$zod.ZodString;
816
+ description: _$zod.ZodOptional<_$zod.ZodString>;
817
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
818
+ exposureMode: _$zod.ZodEnum<{
828
819
  direct: "direct";
820
+ discovery: "discovery";
821
+ hidden: "hidden";
829
822
  }>;
823
+ enabled: _$zod.ZodBoolean;
824
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
825
+ discovery: "discovery";
826
+ toolset: "toolset";
827
+ }>>;
828
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
829
+ exposed: _$zod.ZodBoolean;
830
830
  }, _$zod_v4_core0.$strip>>;
831
831
  discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
832
832
  fullName: _$zod.ZodString;
@@ -835,8 +835,8 @@ declare const CanonicalModelSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
835
835
  description: _$zod.ZodOptional<_$zod.ZodString>;
836
836
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
837
837
  exposureMode: _$zod.ZodEnum<{
838
- discovery: "discovery";
839
838
  direct: "direct";
839
+ discovery: "discovery";
840
840
  hidden: "hidden";
841
841
  }>;
842
842
  enabled: _$zod.ZodBoolean;
@@ -18,8 +18,8 @@ import { ExtensionWarningEntry, ExtensionWarningEntrySchema } from "@makaio/fram
18
18
  * detail, not an externally observable state.
19
19
  */
20
20
  declare const ComponentStateSchema: z.ZodEnum<{
21
- failed: "failed";
22
21
  discovered: "discovered";
22
+ failed: "failed";
23
23
  stopped: "stopped";
24
24
  active: "active";
25
25
  skipped: "skipped";
@@ -47,8 +47,8 @@ declare const ComponentInfoSchema: z.ZodObject<{
47
47
  name: z.ZodString;
48
48
  displayName: z.ZodString;
49
49
  state: z.ZodEnum<{
50
- failed: "failed";
51
50
  discovered: "discovered";
51
+ failed: "failed";
52
52
  stopped: "stopped";
53
53
  active: "active";
54
54
  skipped: "skipped";
@@ -68,8 +68,8 @@ declare const ServiceInfoSchema: z.ZodObject<{
68
68
  name: z.ZodString;
69
69
  displayName: z.ZodString;
70
70
  state: z.ZodEnum<{
71
- failed: "failed";
72
71
  discovered: "discovered";
72
+ failed: "failed";
73
73
  stopped: "stopped";
74
74
  active: "active";
75
75
  skipped: "skipped";
@@ -90,8 +90,8 @@ declare const ExtensionInfoSchema: z.ZodObject<{
90
90
  name: z.ZodString;
91
91
  displayName: z.ZodString;
92
92
  state: z.ZodEnum<{
93
- failed: "failed";
94
93
  discovered: "discovered";
94
+ failed: "failed";
95
95
  stopped: "stopped";
96
96
  active: "active";
97
97
  skipped: "skipped";
@@ -227,16 +227,16 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
227
227
  name: z.ZodString;
228
228
  displayName: z.ZodString;
229
229
  from: z.ZodEnum<{
230
- failed: "failed";
231
230
  discovered: "discovered";
231
+ failed: "failed";
232
232
  stopped: "stopped";
233
233
  active: "active";
234
234
  skipped: "skipped";
235
235
  initializing: "initializing";
236
236
  }>;
237
237
  to: z.ZodEnum<{
238
- failed: "failed";
239
238
  discovered: "discovered";
239
+ failed: "failed";
240
240
  stopped: "stopped";
241
241
  active: "active";
242
242
  skipped: "skipped";
@@ -270,8 +270,8 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
270
270
  name: z.ZodString;
271
271
  displayName: z.ZodString;
272
272
  state: z.ZodEnum<{
273
- failed: "failed";
274
273
  discovered: "discovered";
274
+ failed: "failed";
275
275
  stopped: "stopped";
276
276
  active: "active";
277
277
  skipped: "skipped";
@@ -311,8 +311,8 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
311
311
  name: z.ZodString;
312
312
  displayName: z.ZodString;
313
313
  state: z.ZodEnum<{
314
- failed: "failed";
315
314
  discovered: "discovered";
315
+ failed: "failed";
316
316
  stopped: "stopped";
317
317
  active: "active";
318
318
  skipped: "skipped";
@@ -838,16 +838,16 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
838
838
  name: z.ZodString;
839
839
  displayName: z.ZodString;
840
840
  from: z.ZodEnum<{
841
- failed: "failed";
842
841
  discovered: "discovered";
842
+ failed: "failed";
843
843
  stopped: "stopped";
844
844
  active: "active";
845
845
  skipped: "skipped";
846
846
  initializing: "initializing";
847
847
  }>;
848
848
  to: z.ZodEnum<{
849
- failed: "failed";
850
849
  discovered: "discovered";
850
+ failed: "failed";
851
851
  stopped: "stopped";
852
852
  active: "active";
853
853
  skipped: "skipped";
@@ -881,8 +881,8 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
881
881
  name: z.ZodString;
882
882
  displayName: z.ZodString;
883
883
  state: z.ZodEnum<{
884
- failed: "failed";
885
884
  discovered: "discovered";
885
+ failed: "failed";
886
886
  stopped: "stopped";
887
887
  active: "active";
888
888
  skipped: "skipped";
@@ -922,8 +922,8 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
922
922
  name: z.ZodString;
923
923
  displayName: z.ZodString;
924
924
  state: z.ZodEnum<{
925
- failed: "failed";
926
925
  discovered: "discovered";
926
+ failed: "failed";
927
927
  stopped: "stopped";
928
928
  active: "active";
929
929
  skipped: "skipped";
@@ -1,4 +1,4 @@
1
- import { g as OwnedAdapterInstance, h as MachineScopedAdapterInstance, w as Turn$1 } from "./index-CLwnkYRD.mjs";
1
+ import { g as OwnedAdapterInstance, h as MachineScopedAdapterInstance, w as Turn$1 } from "./index-DxtUM-qd.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
- sent: "sent";
6660
6659
  acknowledged: "acknowledged";
6660
+ sent: "sent";
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
- sent: "sent";
6686
6685
  acknowledged: "acknowledged";
6686
+ sent: "sent";
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" | "sent" | "acknowledged";
6773
+ data: "completed" | "acknowledged" | "sent";
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
- sent: "sent";
6845
6844
  acknowledged: "acknowledged";
6845
+ sent: "sent";
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
- sent: "sent";
6871
6870
  acknowledged: "acknowledged";
6871
+ sent: "sent";
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" | "sent" | "acknowledged";
7015
+ data: "completed" | "acknowledged" | "sent";
7016
7016
  driverParam: string;
7017
7017
  notNull: true;
7018
7018
  hasDefault: false;
@@ -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-BnNNfBck.mjs";
2
+ import { a as InstalledExtensionRecord, d as TransitionOutcome, l as SetEnabledReason, v as ExtensionInfo } from "./index-BVN64wQx.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";