@makaio/framework 1.0.0-dev-1788511348215 → 1.0.0-dev-1788721567504

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 (94) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/attempt-record-codec-BORASgzn.mjs +1 -0
  3. package/dist/bus/index.d.mts +19 -19
  4. package/dist/bus/index.mjs +1 -1
  5. package/dist/{context-resolution-841T7jBI.d.mts → context-resolution-CoKFKIqz.d.mts} +3 -3
  6. package/dist/contracts/adapter/index.d.mts +1 -1
  7. package/dist/contracts/artifact/index.d.mts +2 -2
  8. package/dist/contracts/canonical-model/index.d.mts +1 -1
  9. package/dist/contracts/capabilities/index.d.mts +1 -1
  10. package/dist/contracts/client/index.d.mts +1 -1
  11. package/dist/contracts/extension/index.d.mts +3 -3
  12. package/dist/contracts/index.d.mts +616 -122
  13. package/dist/contracts/index.mjs +1 -1
  14. package/dist/contracts/materialization/index.d.mts +2 -2
  15. package/dist/contracts/session/index.d.mts +2 -2
  16. package/dist/contracts/shared/index.d.mts +1 -1
  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 +2 -2
  21. package/dist/{execution-attempt-repository-DY4KTptE.d.mts → execution-attempt-repository-CRdrgou3.d.mts} +512 -3
  22. package/dist/{index-jxPncqWZ2.d.mts → index--Ws52sWV2.d.mts} +4 -4
  23. package/dist/{index-Wbd_syN2.d.mts → index-37_b--BH.d.mts} +11 -11
  24. package/dist/{index-6trZYnUP2.d.mts → index-8NdPPzUh2.d.mts} +12 -12
  25. package/dist/{index-B-3I98nw.d.mts → index-AdcDBUnc.d.mts} +95 -95
  26. package/dist/{index-C6aSnO8m.d.mts → index-BJdkVFX9.d.mts} +288 -24
  27. package/dist/{index-DXtQRehh.d.mts → index-BKIxdzIw.d.mts} +11 -11
  28. package/dist/{index-CmwAJ8-5.d.mts → index-CFI6FxC7.d.mts} +1 -1
  29. package/dist/{index-DI2lS7VT.d.mts → index-CVcG4Q3X.d.mts} +5 -5
  30. package/dist/{index-DHH-93YD.d.mts → index-CYjgoYeX.d.mts} +1 -1
  31. package/dist/{index-CDud4NAm.d.mts → index-CxwqnZpT.d.mts} +75 -75
  32. package/dist/{index-BkbnC65b.d.mts → index-CyWGSxrs.d.mts} +291 -291
  33. package/dist/{index-C146Eq_J.d.mts → index-D1wTWSLR.d.mts} +327 -327
  34. package/dist/{index-Bqk0pJBQ2.d.mts → index-DBD_oFEt2.d.mts} +1 -1
  35. package/dist/{index-BmilK-co2.d.mts → index-DV38-klA2.d.mts} +12 -36
  36. package/dist/{index-DNI6UF9h.d.mts → index-I5a37JCm.d.mts} +4 -4
  37. package/dist/kernel/extension/index.d.mts +1 -1
  38. package/dist/kernel/index.d.mts +2 -2
  39. package/dist/kernel/observability/index.d.mts +1 -1
  40. package/dist/{namespace-l-HG1rLF.d.mts → namespace-Bo94cenp.d.mts} +136 -136
  41. package/dist/{namespace-DknCutQZ.d.mts → namespace-CPm9dhi2.d.mts} +2 -2
  42. package/dist/{namespace-BNp7n_gu.d.mts → namespace-CsnrP8AD.d.mts} +3 -3
  43. package/dist/{namespace-BGRHcrmp.d.mts → namespace-CstawJgN.d.mts} +2 -2
  44. package/dist/{package-efR90JGe.d.mts → package-DkZmsdCd.d.mts} +49 -1
  45. package/dist/package-UemD2NWn.mjs +7 -0
  46. package/dist/package.json +1 -1
  47. package/dist/runtime-node/index.d.mts +2 -2
  48. package/dist/runtime-node/index.mjs +24 -24
  49. package/dist/runtime-node/workflow-execution-bus-access.mjs +1 -1
  50. package/dist/runtime-node/workflow-worker/index.d.mts +2 -2
  51. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  52. package/dist/runtime-node/workflow-worker/worker-entry.d.mts +49 -9
  53. package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
  54. package/dist/runtime-registration-client-BTtFpt_k.mjs +1 -0
  55. package/dist/{schemas-D7EeKBDJ.d.mts → schemas-CJKHYluy.d.mts} +13 -13
  56. package/dist/{schemas-C1mxTfd7.d.mts → schemas-CenET9Cq.d.mts} +1 -1
  57. package/dist/{schemas-D7ScxLrf.d.mts → schemas-DTJtS14K.d.mts} +136 -136
  58. package/dist/services/adapter-runtime/index.d.mts +3 -3
  59. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  60. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  61. package/dist/services/agent-runtime/index.d.mts +2 -2
  62. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  63. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  64. package/dist/services/filesystem/namespace.d.mts +6 -6
  65. package/dist/services/filesystem/schemas.d.mts +3 -3
  66. package/dist/services/index.d.mts +86 -86
  67. package/dist/services/session/index.d.mts +1 -1
  68. package/dist/services/session/messages/namespace.d.mts +1 -1
  69. package/dist/services/settings/namespace.d.mts +10 -10
  70. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  71. package/dist/services/subagent-template/index.d.mts +2 -2
  72. package/dist/services/subagent-template/namespace.d.mts +1 -1
  73. package/dist/services/subagent-template/schemas.d.mts +1 -1
  74. package/dist/{transition-D3zUBTPc.d.mts → transition-DxsrTsn4.d.mts} +1 -1
  75. package/dist/{types-DcxBYlPA.d.mts → types-Czdm5op1.d.mts} +306 -306
  76. package/dist/{view-builder-B0j9p5C0.d.mts → view-builder-D-Wz_l_B.d.mts} +1 -1
  77. package/dist/worker-DlRdLf2d.mjs +1 -0
  78. package/dist/workflow-engine/execution-attempt-repository.d.mts +2 -2
  79. package/dist/workflow-engine/execution-attempt-repository.mjs +1 -1
  80. package/dist/workflow-engine/index.d.mts +205 -70
  81. package/dist/workflow-engine/index.mjs +1 -1
  82. package/dist/workflow-engine/package.d.mts +1 -1
  83. package/dist/workflow-engine/package.mjs +1 -1
  84. package/dist/workflow-engine/testing/index.d.mts +55 -3
  85. package/dist/workflow-engine/testing/index.mjs +1 -1
  86. package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
  87. package/dist/workflow-engine/testing/sqlite.mjs +106 -38
  88. package/dist/workflow-worker-DjUfKshi.mjs +1 -0
  89. package/package.json +1 -1
  90. package/dist/attempt-record-codec-dC9LSFUE.mjs +0 -1
  91. package/dist/await-trigger-Bkg2BQfg.mjs +0 -1
  92. package/dist/package-Cgjpm9om.mjs +0 -7
  93. package/dist/worker-CARV52hT.mjs +0 -1
  94. package/dist/workflow-worker-Dul-wcOR.mjs +0 -1
@@ -1,4 +1,4 @@
1
- import { f as ResolveLiveIdentityResponse, o as ResolveIdRequest, u as ResolveLiveIdentityRequest } from "./schemas-C1mxTfd7.mjs";
1
+ import { f as ResolveLiveIdentityResponse, o as ResolveIdRequest, u as ResolveLiveIdentityRequest } from "./schemas-CenET9Cq.mjs";
2
2
  import { IMakaioBus } from "@makaio/framework/bus";
3
3
 
4
4
  //#region services/core/src/adapter-runtime/identity.d.ts
@@ -229,7 +229,7 @@ declare const WorkerDispatchResponseSchema: z.ZodObject<{
229
229
  * Lifecycle states in order:
230
230
  * - `lifecycle.provisioning` — dispatch has selected a provider; Worker allocation is in progress
231
231
  * - `lifecycle.booting` — environment is initialising (importing packages, connecting to bus)
232
- * - `lifecycle.ready` — Worker Runtime is connected and ready to accept work
232
+ * - `lifecycle.ready` — projected from `execution-attempt.runtime.ready`
233
233
  * - `lifecycle.busy` — Worker Runtime has started executing the workflow
234
234
  * - `lifecycle.completed` — execution finished successfully
235
235
  * - `lifecycle.failed` — execution terminated with an error
@@ -237,7 +237,6 @@ declare const WorkerDispatchResponseSchema: z.ZodObject<{
237
237
  * - `lifecycle.paused` — Worker Runtime parked at a gate and exited for later resume
238
238
  *
239
239
  * Control subjects:
240
- * - `control.attempt-ready` — worker reports readiness for its attempt
241
240
  * - `control.outcome.submit` — worker submits an execution outcome for durable ACK
242
241
  * - `control.bootstrap.claim`— worker claims execution-scoped bus credentials
243
242
  */
@@ -449,21 +448,6 @@ declare const WorkerSchemas: {
449
448
  }, z.core.$strict>;
450
449
  }, z.core.$strict>;
451
450
  };
452
- /**
453
- * Worker reports that it has booted, connected to the bus, and is ready
454
- * to execute the workflow for its assigned attempt.
455
- *
456
- * The Authority and lifecycle emitters consume this to transition the
457
- * attempt into the active execution phase.
458
- *
459
- * Subject: `worker.control.attempt-ready`
460
- * Type: Event
461
- */
462
- 'control.attempt-ready': z.ZodObject<{
463
- executionAttemptId: z.ZodString;
464
- executionId: z.ZodString;
465
- adapters: z.ZodDefault<z.ZodArray<z.ZodString>>;
466
- }, z.core.$strict>;
467
451
  /**
468
452
  * Worker submits a terminal workflow outcome for durable acknowledgement.
469
453
  *
@@ -589,10 +573,10 @@ declare const WorkerSchemas: {
589
573
  }, z.core.$strict>;
590
574
  response: z.ZodObject<{
591
575
  decision: z.ZodEnum<{
592
- accepted: "accepted";
593
576
  duplicate: "duplicate";
594
- conflict: "conflict";
595
577
  fenced: "fenced";
578
+ accepted: "accepted";
579
+ conflict: "conflict";
596
580
  }>;
597
581
  }, z.core.$strict>;
598
582
  };
@@ -644,6 +628,11 @@ declare const WorkerSchemas: {
644
628
  /**
645
629
  * Worker Runtime is connected and ready to accept work.
646
630
  *
631
+ * Projected by the worker pool from `execution-attempt.runtime.ready`, which is
632
+ * the subject that carries the proven runtime endpoint. This event stays a plain
633
+ * lifecycle payload: adapter composition is a workflow-runtime concern and is not
634
+ * part of the readiness surface.
635
+ *
647
636
  * Subject: `worker.lifecycle.ready`
648
637
  * Type: Event
649
638
  */
@@ -652,7 +641,6 @@ declare const WorkerSchemas: {
652
641
  executionId: z.ZodString;
653
642
  environment: z.ZodString;
654
643
  metadata: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
655
- adapters: z.ZodDefault<z.ZodArray<z.ZodString>>;
656
644
  }, z.core.$strip>;
657
645
  /**
658
646
  * Worker Runtime has started executing the workflow.
@@ -939,11 +927,6 @@ declare const WorkerNamespace: _$_makaio_core0.BusNamespaceDefinition<"worker",
939
927
  }, _$zod_v4_core0.$strict>;
940
928
  }, _$zod_v4_core0.$strict>;
941
929
  };
942
- 'control.attempt-ready': _$zod.ZodObject<{
943
- executionAttemptId: _$zod.ZodString;
944
- executionId: _$zod.ZodString;
945
- adapters: _$zod.ZodDefault<_$zod.ZodArray<_$zod.ZodString>>;
946
- }, _$zod_v4_core0.$strict>;
947
930
  'control.outcome.submit': {
948
931
  request: _$zod.ZodObject<{
949
932
  executionAttemptId: _$zod.ZodString;
@@ -1059,10 +1042,10 @@ declare const WorkerNamespace: _$_makaio_core0.BusNamespaceDefinition<"worker",
1059
1042
  }, _$zod_v4_core0.$strict>;
1060
1043
  response: _$zod.ZodObject<{
1061
1044
  decision: _$zod.ZodEnum<{
1062
- accepted: "accepted";
1063
1045
  duplicate: "duplicate";
1064
- conflict: "conflict";
1065
1046
  fenced: "fenced";
1047
+ accepted: "accepted";
1048
+ conflict: "conflict";
1066
1049
  }>;
1067
1050
  }, _$zod_v4_core0.$strict>;
1068
1051
  };
@@ -1093,7 +1076,6 @@ declare const WorkerNamespace: _$_makaio_core0.BusNamespaceDefinition<"worker",
1093
1076
  executionId: _$zod.ZodString;
1094
1077
  environment: _$zod.ZodString;
1095
1078
  metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1096
- adapters: _$zod.ZodDefault<_$zod.ZodArray<_$zod.ZodString>>;
1097
1079
  }, _$zod_v4_core0.$strip>;
1098
1080
  'lifecycle.busy': _$zod.ZodObject<{
1099
1081
  executionAttemptId: _$zod.ZodString;
@@ -1344,11 +1326,6 @@ declare const WorkerSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
1344
1326
  }, _$zod_v4_core0.$strict>;
1345
1327
  }, _$zod_v4_core0.$strict>;
1346
1328
  };
1347
- 'control.attempt-ready': _$zod.ZodObject<{
1348
- executionAttemptId: _$zod.ZodString;
1349
- executionId: _$zod.ZodString;
1350
- adapters: _$zod.ZodDefault<_$zod.ZodArray<_$zod.ZodString>>;
1351
- }, _$zod_v4_core0.$strict>;
1352
1329
  'control.outcome.submit': {
1353
1330
  request: _$zod.ZodObject<{
1354
1331
  executionAttemptId: _$zod.ZodString;
@@ -1464,10 +1441,10 @@ declare const WorkerSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
1464
1441
  }, _$zod_v4_core0.$strict>;
1465
1442
  response: _$zod.ZodObject<{
1466
1443
  decision: _$zod.ZodEnum<{
1467
- accepted: "accepted";
1468
1444
  duplicate: "duplicate";
1469
- conflict: "conflict";
1470
1445
  fenced: "fenced";
1446
+ accepted: "accepted";
1447
+ conflict: "conflict";
1471
1448
  }>;
1472
1449
  }, _$zod_v4_core0.$strict>;
1473
1450
  };
@@ -1498,7 +1475,6 @@ declare const WorkerSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
1498
1475
  executionId: _$zod.ZodString;
1499
1476
  environment: _$zod.ZodString;
1500
1477
  metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1501
- adapters: _$zod.ZodDefault<_$zod.ZodArray<_$zod.ZodString>>;
1502
1478
  }, _$zod_v4_core0.$strip>;
1503
1479
  'lifecycle.busy': _$zod.ZodObject<{
1504
1480
  executionAttemptId: _$zod.ZodString;
@@ -1,4 +1,4 @@
1
- import { G as ArtifactRepresentations, L as ArtifactRef$1, U as ArtifactRelationTarget, Y as ArtifactScope, a as ResolvedArtifactContextWire$1, j as ArtifactObservation$1, k as ArtifactKindRegistration$1, l as ArtifactProjectionPolicy$1, q as ArtifactRevision$1, r as ArtifactContextUnresolvedReason, x as ArtifactActor, z as ArtifactRelation } from "./context-resolution-841T7jBI.mjs";
1
+ import { G as ArtifactRepresentations, L as ArtifactRef$1, U as ArtifactRelationTarget, Y as ArtifactScope, a as ResolvedArtifactContextWire$1, j as ArtifactObservation$1, k as ArtifactKindRegistration$1, l as ArtifactProjectionPolicy$1, q as ArtifactRevision$1, r as ArtifactContextUnresolvedReason, x as ArtifactActor, z as ArtifactRelation } from "./context-resolution-CoKFKIqz.mjs";
2
2
  import { z } from "zod";
3
3
  import * as _$_makaio_core0 from "@makaio/framework/core";
4
4
  import { MakaioBusLike } from "@makaio/framework/core";
@@ -1659,8 +1659,8 @@ declare const ArtifactSchemas: {
1659
1659
  unresolved: "unresolved";
1660
1660
  }>;
1661
1661
  reason: z.ZodOptional<z.ZodEnum<{
1662
- "not-selected": "not-selected";
1663
1662
  "not-found": "not-found";
1663
+ "not-selected": "not-selected";
1664
1664
  "depth-exceeded": "depth-exceeded";
1665
1665
  "unsupported-ref-class": "unsupported-ref-class";
1666
1666
  "cycle-detected": "cycle-detected";
@@ -3112,8 +3112,8 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
3112
3112
  unresolved: "unresolved";
3113
3113
  }>;
3114
3114
  reason: z.ZodOptional<z.ZodEnum<{
3115
- "not-selected": "not-selected";
3116
3115
  "not-found": "not-found";
3116
+ "not-selected": "not-selected";
3117
3117
  "depth-exceeded": "depth-exceeded";
3118
3118
  "unsupported-ref-class": "unsupported-ref-class";
3119
3119
  "cycle-detected": "cycle-detected";
@@ -4579,8 +4579,8 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
4579
4579
  unresolved: "unresolved";
4580
4580
  }>;
4581
4581
  reason: z.ZodOptional<z.ZodEnum<{
4582
- "not-selected": "not-selected";
4583
4582
  "not-found": "not-found";
4583
+ "not-selected": "not-selected";
4584
4584
  "depth-exceeded": "depth-exceeded";
4585
4585
  "unsupported-ref-class": "unsupported-ref-class";
4586
4586
  "cycle-detected": "cycle-detected";
@@ -1,2 +1,2 @@
1
- import { a as ExtensionCoordinatorOptions, c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../../index-DHH-93YD.mjs";
1
+ import { a as ExtensionCoordinatorOptions, c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../../index-CYjgoYeX.mjs";
2
2
  export { ContributionProcessor, ExtensionCoordinator, ExtensionCoordinatorOptions, ExtensionRuntimeSurface, KernelExtensionContext, KernelMakaioExtension, RuntimeCapability, RuntimeEnvironment, coalesceExtensionOverrides, filterEligibleExtensions };
@@ -1,5 +1,5 @@
1
- import { c as ExtensionInfo, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, s as ComponentStateSchema, t as ExtensionNamespace } from "../index-6trZYnUP2.mjs";
2
- import { c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../index-DHH-93YD.mjs";
1
+ import { c as ExtensionInfo, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, s as ComponentStateSchema, t as ExtensionNamespace } from "../index-8NdPPzUh2.mjs";
2
+ import { c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../index-CYjgoYeX.mjs";
3
3
  import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../window-registry-Pcf35cac.mjs";
4
4
  import { n as KernelSubjects, r as KernelSchemas, t as KernelNamespace } from "../index-8y4hT9WL.mjs";
5
5
  import { a as MachineIdentity, c as StorageProvider, i as IdentityProvider, n as NoTransportProvider, o as TransportProvider, r as MemoryStorageProvider, s as StorageCleanup, t as EphemeralIdentityProvider } from "../index-DgspOUa72.mjs";
@@ -1,2 +1,2 @@
1
- import { a as ComponentInfoSchema, c as ExtensionInfo, d as ExtensionWarningEntrySchema, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, r as ComponentIdentitySchema, s as ComponentStateSchema, t as ExtensionNamespace, u as ExtensionWarningEntry } from "../../index-6trZYnUP2.mjs";
1
+ import { a as ComponentInfoSchema, c as ExtensionInfo, d as ExtensionWarningEntrySchema, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, r as ComponentIdentitySchema, s as ComponentStateSchema, t as ExtensionNamespace, u as ExtensionWarningEntry } from "../../index-8NdPPzUh2.mjs";
2
2
  export { ComponentIdentitySchema, ComponentInfo, ComponentInfoSchema, ComponentState, ComponentStateSchema, ExtensionInfo, ExtensionInfoSchema, ExtensionNamespace, ExtensionSubjects, ExtensionWarningEntry, ExtensionWarningEntrySchema, ServiceInfo, ServiceInfoSchema };
@@ -38,6 +38,25 @@ declare const AgentRuntimeNamespace: _$_makaio_core0.BusNamespaceDefinition<"age
38
38
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
39
39
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
40
40
  sessionId: _$zod.ZodString;
41
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
42
+ fullName: _$zod.ZodString;
43
+ originalName: _$zod.ZodString;
44
+ serverName: _$zod.ZodString;
45
+ description: _$zod.ZodOptional<_$zod.ZodString>;
46
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
47
+ exposureMode: _$zod.ZodEnum<{
48
+ direct: "direct";
49
+ discovery: "discovery";
50
+ hidden: "hidden";
51
+ }>;
52
+ enabled: _$zod.ZodBoolean;
53
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
54
+ discovery: "discovery";
55
+ toolset: "toolset";
56
+ }>>;
57
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
58
+ exposed: _$zod.ZodBoolean;
59
+ }, _$zod_v4_core0.$strip>>;
41
60
  servers: _$zod.ZodArray<_$zod.ZodObject<{
42
61
  name: _$zod.ZodString;
43
62
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -78,25 +97,6 @@ declare const AgentRuntimeNamespace: _$_makaio_core0.BusNamespaceDefinition<"age
78
97
  discovery: "discovery";
79
98
  }>;
80
99
  }, _$zod_v4_core0.$strip>>;
81
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
82
- fullName: _$zod.ZodString;
83
- originalName: _$zod.ZodString;
84
- serverName: _$zod.ZodString;
85
- description: _$zod.ZodOptional<_$zod.ZodString>;
86
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
87
- exposureMode: _$zod.ZodEnum<{
88
- direct: "direct";
89
- discovery: "discovery";
90
- hidden: "hidden";
91
- }>;
92
- enabled: _$zod.ZodBoolean;
93
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
94
- discovery: "discovery";
95
- toolset: "toolset";
96
- }>>;
97
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
98
- exposed: _$zod.ZodBoolean;
99
- }, _$zod_v4_core0.$strip>>;
100
100
  discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
101
101
  fullName: _$zod.ZodString;
102
102
  originalName: _$zod.ZodString;
@@ -135,6 +135,18 @@ declare const AgentRuntimeNamespace: _$_makaio_core0.BusNamespaceDefinition<"age
135
135
  env?: Record<string, string> | undefined;
136
136
  mcpSessionContext?: {
137
137
  sessionId: string;
138
+ directTools: {
139
+ fullName: string;
140
+ originalName: string;
141
+ serverName: string;
142
+ inputSchema: Record<string, unknown>;
143
+ exposureMode: "direct" | "discovery" | "hidden";
144
+ enabled: boolean;
145
+ exposed: boolean;
146
+ description?: string | undefined;
147
+ enabledBy?: "discovery" | "toolset" | undefined;
148
+ enabledAt?: number | undefined;
149
+ }[];
138
150
  servers: {
139
151
  name: string;
140
152
  transport: {
@@ -164,18 +176,6 @@ declare const AgentRuntimeNamespace: _$_makaio_core0.BusNamespaceDefinition<"age
164
176
  };
165
177
  exposureMode: "direct" | "discovery";
166
178
  }[];
167
- directTools: {
168
- fullName: string;
169
- originalName: string;
170
- serverName: string;
171
- inputSchema: Record<string, unknown>;
172
- exposureMode: "direct" | "discovery" | "hidden";
173
- enabled: boolean;
174
- exposed: boolean;
175
- description?: string | undefined;
176
- enabledBy?: "discovery" | "toolset" | undefined;
177
- enabledAt?: number | undefined;
178
- }[];
179
179
  discoverableTools: {
180
180
  fullName: string;
181
181
  originalName: string;
@@ -210,6 +210,18 @@ declare const AgentRuntimeNamespace: _$_makaio_core0.BusNamespaceDefinition<"age
210
210
  env?: Record<string, string> | undefined;
211
211
  mcpSessionContext?: {
212
212
  sessionId: string;
213
+ directTools: {
214
+ fullName: string;
215
+ originalName: string;
216
+ serverName: string;
217
+ inputSchema: Record<string, unknown>;
218
+ exposureMode: "direct" | "discovery" | "hidden";
219
+ enabled: boolean;
220
+ exposed: boolean;
221
+ description?: string | undefined;
222
+ enabledBy?: "discovery" | "toolset" | undefined;
223
+ enabledAt?: number | undefined;
224
+ }[];
213
225
  servers: {
214
226
  name: string;
215
227
  transport: {
@@ -239,18 +251,6 @@ declare const AgentRuntimeNamespace: _$_makaio_core0.BusNamespaceDefinition<"age
239
251
  };
240
252
  exposureMode: "direct" | "discovery";
241
253
  }[];
242
- directTools: {
243
- fullName: string;
244
- originalName: string;
245
- serverName: string;
246
- inputSchema: Record<string, unknown>;
247
- exposureMode: "direct" | "discovery" | "hidden";
248
- enabled: boolean;
249
- exposed: boolean;
250
- description?: string | undefined;
251
- enabledBy?: "discovery" | "toolset" | undefined;
252
- enabledAt?: number | undefined;
253
- }[];
254
254
  discoverableTools: {
255
255
  fullName: string;
256
256
  originalName: string;
@@ -282,6 +282,18 @@ declare const AgentRuntimeNamespace: _$_makaio_core0.BusNamespaceDefinition<"age
282
282
  env?: Record<string, string> | undefined;
283
283
  mcpSessionContext?: {
284
284
  sessionId: string;
285
+ directTools: {
286
+ fullName: string;
287
+ originalName: string;
288
+ serverName: string;
289
+ inputSchema: Record<string, unknown>;
290
+ exposureMode: "direct" | "discovery" | "hidden";
291
+ enabled: boolean;
292
+ exposed: boolean;
293
+ description?: string | undefined;
294
+ enabledBy?: "discovery" | "toolset" | undefined;
295
+ enabledAt?: number | undefined;
296
+ }[];
285
297
  servers: {
286
298
  name: string;
287
299
  transport: {
@@ -311,18 +323,6 @@ declare const AgentRuntimeNamespace: _$_makaio_core0.BusNamespaceDefinition<"age
311
323
  };
312
324
  exposureMode: "direct" | "discovery";
313
325
  }[];
314
- directTools: {
315
- fullName: string;
316
- originalName: string;
317
- serverName: string;
318
- inputSchema: Record<string, unknown>;
319
- exposureMode: "direct" | "discovery" | "hidden";
320
- enabled: boolean;
321
- exposed: boolean;
322
- description?: string | undefined;
323
- enabledBy?: "discovery" | "toolset" | undefined;
324
- enabledAt?: number | undefined;
325
- }[];
326
326
  discoverableTools: {
327
327
  fullName: string;
328
328
  originalName: string;
@@ -357,6 +357,18 @@ declare const AgentRuntimeNamespace: _$_makaio_core0.BusNamespaceDefinition<"age
357
357
  env?: Record<string, string> | undefined;
358
358
  mcpSessionContext?: {
359
359
  sessionId: string;
360
+ directTools: {
361
+ fullName: string;
362
+ originalName: string;
363
+ serverName: string;
364
+ inputSchema: Record<string, unknown>;
365
+ exposureMode: "direct" | "discovery" | "hidden";
366
+ enabled: boolean;
367
+ exposed: boolean;
368
+ description?: string | undefined;
369
+ enabledBy?: "discovery" | "toolset" | undefined;
370
+ enabledAt?: number | undefined;
371
+ }[];
360
372
  servers: {
361
373
  name: string;
362
374
  transport: {
@@ -386,18 +398,6 @@ declare const AgentRuntimeNamespace: _$_makaio_core0.BusNamespaceDefinition<"age
386
398
  };
387
399
  exposureMode: "direct" | "discovery";
388
400
  }[];
389
- directTools: {
390
- fullName: string;
391
- originalName: string;
392
- serverName: string;
393
- inputSchema: Record<string, unknown>;
394
- exposureMode: "direct" | "discovery" | "hidden";
395
- enabled: boolean;
396
- exposed: boolean;
397
- description?: string | undefined;
398
- enabledBy?: "discovery" | "toolset" | undefined;
399
- enabledAt?: number | undefined;
400
- }[];
401
401
  discoverableTools: {
402
402
  fullName: string;
403
403
  originalName: string;
@@ -434,9 +434,9 @@ declare const AgentRuntimeNamespace: _$_makaio_core0.BusNamespaceDefinition<"age
434
434
  status: _$zod.ZodEnum<{
435
435
  completed: "completed";
436
436
  cancelled: "cancelled";
437
- failed: "failed";
438
437
  running: "running";
439
438
  waiting_input: "waiting_input";
439
+ failed: "failed";
440
440
  }>;
441
441
  result: _$zod.ZodOptional<_$zod.ZodString>;
442
442
  error: _$zod.ZodOptional<_$zod.ZodString>;
@@ -497,6 +497,25 @@ declare const AgentRuntimeSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.
497
497
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
498
498
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
499
499
  sessionId: _$zod.ZodString;
500
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
501
+ fullName: _$zod.ZodString;
502
+ originalName: _$zod.ZodString;
503
+ serverName: _$zod.ZodString;
504
+ description: _$zod.ZodOptional<_$zod.ZodString>;
505
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
506
+ exposureMode: _$zod.ZodEnum<{
507
+ direct: "direct";
508
+ discovery: "discovery";
509
+ hidden: "hidden";
510
+ }>;
511
+ enabled: _$zod.ZodBoolean;
512
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
513
+ discovery: "discovery";
514
+ toolset: "toolset";
515
+ }>>;
516
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
517
+ exposed: _$zod.ZodBoolean;
518
+ }, _$zod_v4_core0.$strip>>;
500
519
  servers: _$zod.ZodArray<_$zod.ZodObject<{
501
520
  name: _$zod.ZodString;
502
521
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -537,25 +556,6 @@ declare const AgentRuntimeSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.
537
556
  discovery: "discovery";
538
557
  }>;
539
558
  }, _$zod_v4_core0.$strip>>;
540
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
541
- fullName: _$zod.ZodString;
542
- originalName: _$zod.ZodString;
543
- serverName: _$zod.ZodString;
544
- description: _$zod.ZodOptional<_$zod.ZodString>;
545
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
546
- exposureMode: _$zod.ZodEnum<{
547
- direct: "direct";
548
- discovery: "discovery";
549
- hidden: "hidden";
550
- }>;
551
- enabled: _$zod.ZodBoolean;
552
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
553
- discovery: "discovery";
554
- toolset: "toolset";
555
- }>>;
556
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
557
- exposed: _$zod.ZodBoolean;
558
- }, _$zod_v4_core0.$strip>>;
559
559
  discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
560
560
  fullName: _$zod.ZodString;
561
561
  originalName: _$zod.ZodString;
@@ -594,6 +594,18 @@ declare const AgentRuntimeSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.
594
594
  env?: Record<string, string> | undefined;
595
595
  mcpSessionContext?: {
596
596
  sessionId: string;
597
+ directTools: {
598
+ fullName: string;
599
+ originalName: string;
600
+ serverName: string;
601
+ inputSchema: Record<string, unknown>;
602
+ exposureMode: "direct" | "discovery" | "hidden";
603
+ enabled: boolean;
604
+ exposed: boolean;
605
+ description?: string | undefined;
606
+ enabledBy?: "discovery" | "toolset" | undefined;
607
+ enabledAt?: number | undefined;
608
+ }[];
597
609
  servers: {
598
610
  name: string;
599
611
  transport: {
@@ -623,18 +635,6 @@ declare const AgentRuntimeSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.
623
635
  };
624
636
  exposureMode: "direct" | "discovery";
625
637
  }[];
626
- directTools: {
627
- fullName: string;
628
- originalName: string;
629
- serverName: string;
630
- inputSchema: Record<string, unknown>;
631
- exposureMode: "direct" | "discovery" | "hidden";
632
- enabled: boolean;
633
- exposed: boolean;
634
- description?: string | undefined;
635
- enabledBy?: "discovery" | "toolset" | undefined;
636
- enabledAt?: number | undefined;
637
- }[];
638
638
  discoverableTools: {
639
639
  fullName: string;
640
640
  originalName: string;
@@ -669,6 +669,18 @@ declare const AgentRuntimeSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.
669
669
  env?: Record<string, string> | undefined;
670
670
  mcpSessionContext?: {
671
671
  sessionId: string;
672
+ directTools: {
673
+ fullName: string;
674
+ originalName: string;
675
+ serverName: string;
676
+ inputSchema: Record<string, unknown>;
677
+ exposureMode: "direct" | "discovery" | "hidden";
678
+ enabled: boolean;
679
+ exposed: boolean;
680
+ description?: string | undefined;
681
+ enabledBy?: "discovery" | "toolset" | undefined;
682
+ enabledAt?: number | undefined;
683
+ }[];
672
684
  servers: {
673
685
  name: string;
674
686
  transport: {
@@ -698,18 +710,6 @@ declare const AgentRuntimeSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.
698
710
  };
699
711
  exposureMode: "direct" | "discovery";
700
712
  }[];
701
- directTools: {
702
- fullName: string;
703
- originalName: string;
704
- serverName: string;
705
- inputSchema: Record<string, unknown>;
706
- exposureMode: "direct" | "discovery" | "hidden";
707
- enabled: boolean;
708
- exposed: boolean;
709
- description?: string | undefined;
710
- enabledBy?: "discovery" | "toolset" | undefined;
711
- enabledAt?: number | undefined;
712
- }[];
713
713
  discoverableTools: {
714
714
  fullName: string;
715
715
  originalName: string;
@@ -741,6 +741,18 @@ declare const AgentRuntimeSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.
741
741
  env?: Record<string, string> | undefined;
742
742
  mcpSessionContext?: {
743
743
  sessionId: string;
744
+ directTools: {
745
+ fullName: string;
746
+ originalName: string;
747
+ serverName: string;
748
+ inputSchema: Record<string, unknown>;
749
+ exposureMode: "direct" | "discovery" | "hidden";
750
+ enabled: boolean;
751
+ exposed: boolean;
752
+ description?: string | undefined;
753
+ enabledBy?: "discovery" | "toolset" | undefined;
754
+ enabledAt?: number | undefined;
755
+ }[];
744
756
  servers: {
745
757
  name: string;
746
758
  transport: {
@@ -770,18 +782,6 @@ declare const AgentRuntimeSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.
770
782
  };
771
783
  exposureMode: "direct" | "discovery";
772
784
  }[];
773
- directTools: {
774
- fullName: string;
775
- originalName: string;
776
- serverName: string;
777
- inputSchema: Record<string, unknown>;
778
- exposureMode: "direct" | "discovery" | "hidden";
779
- enabled: boolean;
780
- exposed: boolean;
781
- description?: string | undefined;
782
- enabledBy?: "discovery" | "toolset" | undefined;
783
- enabledAt?: number | undefined;
784
- }[];
785
785
  discoverableTools: {
786
786
  fullName: string;
787
787
  originalName: string;
@@ -816,6 +816,18 @@ declare const AgentRuntimeSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.
816
816
  env?: Record<string, string> | undefined;
817
817
  mcpSessionContext?: {
818
818
  sessionId: string;
819
+ directTools: {
820
+ fullName: string;
821
+ originalName: string;
822
+ serverName: string;
823
+ inputSchema: Record<string, unknown>;
824
+ exposureMode: "direct" | "discovery" | "hidden";
825
+ enabled: boolean;
826
+ exposed: boolean;
827
+ description?: string | undefined;
828
+ enabledBy?: "discovery" | "toolset" | undefined;
829
+ enabledAt?: number | undefined;
830
+ }[];
819
831
  servers: {
820
832
  name: string;
821
833
  transport: {
@@ -845,18 +857,6 @@ declare const AgentRuntimeSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.
845
857
  };
846
858
  exposureMode: "direct" | "discovery";
847
859
  }[];
848
- directTools: {
849
- fullName: string;
850
- originalName: string;
851
- serverName: string;
852
- inputSchema: Record<string, unknown>;
853
- exposureMode: "direct" | "discovery" | "hidden";
854
- enabled: boolean;
855
- exposed: boolean;
856
- description?: string | undefined;
857
- enabledBy?: "discovery" | "toolset" | undefined;
858
- enabledAt?: number | undefined;
859
- }[];
860
860
  discoverableTools: {
861
861
  fullName: string;
862
862
  originalName: string;
@@ -893,9 +893,9 @@ declare const AgentRuntimeSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.
893
893
  status: _$zod.ZodEnum<{
894
894
  completed: "completed";
895
895
  cancelled: "cancelled";
896
- failed: "failed";
897
896
  running: "running";
898
897
  waiting_input: "waiting_input";
898
+ failed: "failed";
899
899
  }>;
900
900
  result: _$zod.ZodOptional<_$zod.ZodString>;
901
901
  error: _$zod.ZodOptional<_$zod.ZodString>;
@@ -47,8 +47,8 @@ declare const AdapterRuntimeNamespace: _$_makaio_core0.BusNamespaceDefinition<"a
47
47
  teardownCompleted: _$zod.ZodObject<{
48
48
  evidence: _$zod.ZodEnum<{
49
49
  unknown: "unknown";
50
- exited: "exited";
51
50
  closed: "closed";
51
+ exited: "exited";
52
52
  released: "released";
53
53
  detached: "detached";
54
54
  }>;
@@ -100,8 +100,8 @@ declare const AdapterRuntimeSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
100
100
  teardownCompleted: _$zod.ZodObject<{
101
101
  evidence: _$zod.ZodEnum<{
102
102
  unknown: "unknown";
103
- exited: "exited";
104
103
  closed: "closed";
104
+ exited: "exited";
105
105
  released: "released";
106
106
  detached: "detached";
107
107
  }>;
@@ -335,8 +335,8 @@ declare const MessageStorageNamespace$1: {
335
335
  isError: _$zod.ZodOptional<_$zod.ZodBoolean>;
336
336
  }, _$zod_v4_core0.$strip>], "type">>;
337
337
  agentId: _$zod.ZodOptional<_$zod.ZodString>;
338
- turnId: _$zod.ZodNullable<_$zod.ZodString>;
339
338
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
339
+ turnId: _$zod.ZodNullable<_$zod.ZodString>;
340
340
  timestamp: _$zod.ZodNumber;
341
341
  contentText: _$zod.ZodString;
342
342
  adapterMessageId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1120,8 +1120,8 @@ declare const MessageStorageNamespace$1: {
1120
1120
  isError: _$zod.ZodOptional<_$zod.ZodBoolean>;
1121
1121
  }, _$zod_v4_core0.$strip>], "type">>;
1122
1122
  agentId: _$zod.ZodOptional<_$zod.ZodString>;
1123
- turnId: _$zod.ZodNullable<_$zod.ZodString>;
1124
1123
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1124
+ turnId: _$zod.ZodNullable<_$zod.ZodString>;
1125
1125
  timestamp: _$zod.ZodNumber;
1126
1126
  contentText: _$zod.ZodString;
1127
1127
  adapterMessageId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2030,8 +2030,8 @@ declare const MessageStorageNamespace$1: {
2030
2030
  })[];
2031
2031
  messageId: string;
2032
2032
  agentId: never;
2033
- turnId: string | null;
2034
2033
  adapterSessionId: never;
2034
+ turnId: string | null;
2035
2035
  timestamp: number;
2036
2036
  limit: never;
2037
2037
  query: string;