@makaio/framework 1.0.0-dev-1783355411417 → 1.0.0-dev-1783477169057

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 (153) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapter-Lx6K7yQS.mjs +1 -0
  3. package/dist/adapter-subsystem/index.mjs +1 -1
  4. package/dist/adapters/config/index.d.mts +1 -1
  5. package/dist/adapters/index.d.mts +219 -40
  6. package/dist/adapters/index.mjs +6 -6
  7. package/dist/adapters/node.d.mts +1 -1
  8. package/dist/adapters/node.mjs +4 -4
  9. package/dist/{base-orchestrator-BNysGvaM.d.mts → base-orchestrator-J1WKAUkF.d.mts} +32 -3
  10. package/dist/bus/index.d.mts +22 -22
  11. package/dist/bus/index.mjs +1 -1
  12. package/dist/client-l1Rq5p6X.mjs +1 -0
  13. package/dist/clients/index.d.mts +30 -0
  14. package/dist/clients/index.mjs +2 -2
  15. package/dist/contracts/adapter/index.d.mts +2 -2
  16. package/dist/contracts/adapter/index.mjs +1 -1
  17. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  18. package/dist/contracts/adapter/schemas/session-lineage.mjs +1 -1
  19. package/dist/contracts/artifact/index.d.mts +1 -1
  20. package/dist/contracts/canonical-model/index.d.mts +1 -1
  21. package/dist/contracts/client/index.d.mts +2 -2
  22. package/dist/contracts/client/index.mjs +1 -1
  23. package/dist/contracts/config/index.d.mts +12 -12
  24. package/dist/contracts/extension/index.d.mts +3 -3
  25. package/dist/contracts/facet/index.d.mts +1 -1
  26. package/dist/contracts/harness/index.d.mts +1 -1
  27. package/dist/contracts/index.d.mts +454 -276
  28. package/dist/contracts/index.mjs +1 -1
  29. package/dist/contracts/materialization/index.d.mts +3 -3
  30. package/dist/contracts/provider/index.d.mts +1 -1
  31. package/dist/contracts/session/index.d.mts +3 -3
  32. package/dist/contracts/session/index.mjs +1 -1
  33. package/dist/contracts/shared/index.d.mts +1 -1
  34. package/dist/contracts/skill/index.d.mts +1 -1
  35. package/dist/contracts/variant/index.d.mts +1 -1
  36. package/dist/contracts/workflow/index.d.mts +2 -2
  37. package/dist/{definition-b9jyJqPD.d.mts → definition-DePb3ke-.d.mts} +1 -1
  38. package/dist/drizzle/0023_m_mr9gc37m.sql +1 -0
  39. package/dist/drizzle/meta/_journal.json +7 -0
  40. package/dist/handlers-B74FvKlA.mjs +57 -0
  41. package/dist/hooks/index.d.mts +19 -2
  42. package/dist/{identity-BarL3JYI.mjs → identity-DC3Pk0ps.mjs} +1 -1
  43. package/dist/{index-BwGfdbI0.d.mts → index-2fK9iSHI.d.mts} +9 -9
  44. package/dist/{index-D7rWAEY0.d.mts → index-B-6DtLLz.d.mts} +1 -1
  45. package/dist/{index-4eP9DRL_.d.mts → index-B3fjN5HX.d.mts} +7 -7
  46. package/dist/{index-O08Q2ikz.d.mts → index-BMbmoarE.d.mts} +8 -8
  47. package/dist/{index-DV4nRk0h.d.mts → index-BX1MxwFr.d.mts} +28 -28
  48. package/dist/{index-CqCe7Phc.d.mts → index-BcwOnvUh.d.mts} +6 -6
  49. package/dist/{index-D6aAzr32.d.mts → index-BeouVICp.d.mts} +36 -36
  50. package/dist/{index-DQYj8-53.d.mts → index-BjO4Zkap.d.mts} +1 -1
  51. package/dist/{index-B5w-0Gg9.d.mts → index-Bl42SCEI.d.mts} +8 -8
  52. package/dist/{index-BYfSAJRC.d.mts → index-BvTd61i5.d.mts} +151 -29
  53. package/dist/{index-3X0368CL.d.mts → index-CA-AJbq6.d.mts} +4 -4
  54. package/dist/{index-C5C1tk9f.d.mts → index-CQQcnpev.d.mts} +41 -41
  55. package/dist/{index-BKZhnb2B.d.mts → index-C_xQM96Y.d.mts} +802 -422
  56. package/dist/{index-31vR1sxk.d.mts → index-CwFSL4xI.d.mts} +144 -21
  57. package/dist/{index-WHUV7neB.d.mts → index-DMz-2ACU.d.mts} +105 -105
  58. package/dist/{index-3J0HZlPH.d.mts → index-DScUb-hF.d.mts} +334 -13
  59. package/dist/{index-DEzdNQum.d.mts → index-Di84JjS0.d.mts} +2 -2
  60. package/dist/{index-DvHYpi-J.d.mts → index-Dv4oGVZK.d.mts} +1246 -397
  61. package/dist/{index-CaerrEDH.d.mts → index-NkNbYFud.d.mts} +1 -1
  62. package/dist/{index-D9-vOJvZ.d.mts → index-h5go5Dtd.d.mts} +1 -1
  63. package/dist/{index-DLNRgZPo2.d.mts → index-j_X5xefv2.d.mts} +26 -26
  64. package/dist/{index-C6Ys8pxt.d.mts → index-uM4KZopE.d.mts} +9 -9
  65. package/dist/kernel/extension/index.d.mts +1 -1
  66. package/dist/kernel/index.d.mts +2 -2
  67. package/dist/kernel/observability/index.d.mts +1 -1
  68. package/dist/{namespace-j7vFsmYL.d.mts → namespace-3yGm4WF9.d.mts} +2 -2
  69. package/dist/{namespace-D8P8Sxce2.d.mts → namespace-6sIu5nBI2.d.mts} +2 -2
  70. package/dist/{namespace-B3ol3pc-.d.mts → namespace-BigVYQyx.d.mts} +12 -0
  71. package/dist/{namespace-DmqoDDRD.d.mts → namespace-Boh42UoL.d.mts} +66 -22
  72. package/dist/{namespace-CfvtDD_U.d.mts → namespace-COEUMuHL.d.mts} +156 -156
  73. package/dist/{namespace-B4cV_pk3.d.mts → namespace-D94HrTtq.d.mts} +58 -58
  74. package/dist/{namespace-DhDY0juT.d.mts → namespace-OLAh9wHU.d.mts} +375 -27
  75. package/dist/{namespace-Bm77p82L.d.mts → namespace-TPbegIMi.d.mts} +27 -27
  76. package/dist/{package-MmQvNJ3u.d.mts → package-B6mEMD8r.d.mts} +5 -0
  77. package/dist/{package-BmRhhi-3.mjs → package-BQn_RTo7.mjs} +1 -1
  78. package/dist/package.json +1 -1
  79. package/dist/{schema-DLNBajAV.d.mts → schema-B5vHi7Uu.d.mts} +28 -1
  80. package/dist/{schemas-CoFCV42v.d.mts → schemas-CDBn9MTz.d.mts} +156 -156
  81. package/dist/schemas-CkOigLAT.mjs +1 -0
  82. package/dist/{schemas-lnE9YoG7.d.mts → schemas-CscdPqCt.d.mts} +3 -3
  83. package/dist/{schemas-DMMWmWjq.d.mts → schemas-D512XweP.d.mts} +4 -4
  84. package/dist/{schemas-DuuVuhHX2.d.mts → schemas-DOV4UouN2.d.mts} +13 -13
  85. package/dist/{schemas-DmGRSeIq.d.mts → schemas-t6h9oSct.d.mts} +28 -1
  86. package/dist/services/adapter-runtime/index.d.mts +4 -4
  87. package/dist/services/adapter-runtime/index.mjs +1 -1
  88. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  89. package/dist/services/adapter-runtime/schemas.d.mts +2 -2
  90. package/dist/services/adapter-runtime/schemas.mjs +1 -1
  91. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  92. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  93. package/dist/services/agent-runtime/index.d.mts +2 -2
  94. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  95. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  96. package/dist/services/context-rules/index.d.mts +8 -8
  97. package/dist/services/execution-target/index.d.mts +1 -1
  98. package/dist/services/filesystem/namespace.d.mts +12 -12
  99. package/dist/services/filesystem/schemas.d.mts +6 -6
  100. package/dist/services/git/namespace.d.mts +2 -2
  101. package/dist/services/git/schemas.d.mts +1 -1
  102. package/dist/services/harness/index.d.mts +3 -3
  103. package/dist/services/index.d.mts +147 -140
  104. package/dist/services/index.mjs +1 -1
  105. package/dist/services/log-import/browser.d.mts +2 -2
  106. package/dist/services/log-import/index.d.mts +15 -2
  107. package/dist/services/log-import/index.mjs +2 -2
  108. package/dist/services/log-import/log-import.d.mts +1 -1
  109. package/dist/services/log-import/namespace.d.mts +2 -2
  110. package/dist/services/log-import/schemas.d.mts +1 -1
  111. package/dist/services/session/handlers/index.d.mts +1 -1
  112. package/dist/services/session/handlers/index.mjs +1 -1
  113. package/dist/services/session/index.d.mts +7 -7
  114. package/dist/services/session/index.mjs +1 -1
  115. package/dist/services/session/messages/namespace.d.mts +1 -1
  116. package/dist/services/session/session-events/namespace.d.mts +1 -1
  117. package/dist/services/session/storage/namespace.d.mts +1 -1
  118. package/dist/services/session/storage/schema.d.mts +1 -1
  119. package/dist/services/session/storage/schema.mjs +1 -1
  120. package/dist/services/session/testing/index.mjs +3 -2
  121. package/dist/services/session-editor/index.d.mts +1 -1
  122. package/dist/services/settings/namespace.d.mts +10 -10
  123. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  124. package/dist/services/subagent-template/index.d.mts +2 -2
  125. package/dist/services/subagent-template/namespace.d.mts +1 -1
  126. package/dist/services/subagent-template/schemas.d.mts +1 -1
  127. package/dist/services/tool-approval/index.mjs +1 -1
  128. package/dist/services/tools/index.mjs +1 -1
  129. package/dist/services/tray-menu/index.d.mts +2 -2
  130. package/dist/services/tray-menu/namespace.d.mts +1 -1
  131. package/dist/services/tray-menu/schemas.d.mts +1 -1
  132. package/dist/session-CoGaTin6.mjs +69 -0
  133. package/dist/session-Dp7z5N1d.mjs +1 -0
  134. package/dist/{session-lineage-DR-9DU-U.d.mts → session-lineage-C1M7-O3C.d.mts} +3 -3
  135. package/dist/{tool-approval-service-MU_DmJsf.mjs → tool-approval-service-BNXgr-az.mjs} +1 -1
  136. package/dist/tools-BaO4GYj0.mjs +1 -0
  137. package/dist/{transition-Dq41YCkc.d.mts → transition-Bbjlwv5K.d.mts} +1 -1
  138. package/dist/{types-BMS6yfLS.d.mts → types-BNW5n6qm.d.mts} +1 -1
  139. package/dist/{types-BMlzmWp6.d.mts → types-CNkx2awa.d.mts} +12 -1
  140. package/dist/{types-Cse8s_cD.d.mts → types-D7W0ntGr.d.mts} +45 -18
  141. package/dist/{types-C76EP81O.d.mts → types-jruUn6oW.d.mts} +694 -282
  142. package/dist/workflow-engine/index.d.mts +41 -41
  143. package/dist/workflow-engine/index.mjs +1 -1
  144. package/dist/workflow-engine/package.d.mts +1 -1
  145. package/dist/workflow-engine/package.mjs +1 -1
  146. package/package.json +1 -1
  147. package/dist/adapter-BRxCc72E.mjs +0 -1
  148. package/dist/client-BgUjVbXX.mjs +0 -1
  149. package/dist/handlers-v47Gbsr1.mjs +0 -57
  150. package/dist/schemas-ftgVeWIG.mjs +0 -1
  151. package/dist/session-CKWfn3oc.mjs +0 -1
  152. package/dist/session-DCbJwYEU.mjs +0 -69
  153. package/dist/tools-BrNm-een.mjs +0 -1
@@ -297,6 +297,36 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
297
297
  fullPrefix: "fullPrefix";
298
298
  }>>;
299
299
  turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
300
+ nativeLocality: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
301
+ kind: _$zod.ZodLiteral<"native">;
302
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
303
+ kind: _$zod.ZodLiteral<"degrade">;
304
+ reason: _$zod.ZodEnum<{
305
+ "adapter-unsupported": "adapter-unsupported";
306
+ "adapter-mismatch": "adapter-mismatch";
307
+ "no-adapter-session": "no-adapter-session";
308
+ "missing-machine-id": "missing-machine-id";
309
+ "machine-mismatch": "machine-mismatch";
310
+ "cwd-mismatch": "cwd-mismatch";
311
+ "transforms-present": "transforms-present";
312
+ "compression-present": "compression-present";
313
+ "connector-swap": "connector-swap";
314
+ "mid-history-unsupported": "mid-history-unsupported";
315
+ "hybrid-imported-orchestrated": "hybrid-imported-orchestrated";
316
+ "native-attempt-failed": "native-attempt-failed";
317
+ "agent-already-started": "agent-already-started";
318
+ "fork-point-unresolvable": "fork-point-unresolvable";
319
+ }>;
320
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
321
+ kind: _$zod.ZodLiteral<"foreign">;
322
+ machineId: _$zod.ZodString;
323
+ }, _$zod_v4_core0.$strip>], "kind">>;
324
+ nativeFork: _$zod.ZodOptional<_$zod.ZodObject<{
325
+ sourceSessionId: _$zod.ZodString;
326
+ sourceAdapterSessionId: _$zod.ZodString;
327
+ forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
328
+ targetWorkingDirectory: _$zod.ZodOptional<_$zod.ZodString>;
329
+ }, _$zod_v4_core0.$strip>>;
300
330
  }, _$zod_v4_core0.$strip>>;
301
331
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodUnion<readonly [_$zod.ZodObject<{
302
332
  sessionId: _$zod.ZodString;
@@ -338,8 +368,8 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
338
368
  type: _$zod.ZodLiteral<"http">;
339
369
  }, _$zod_v4_core0.$strip>], "type">;
340
370
  exposureMode: _$zod.ZodEnum<{
341
- direct: "direct";
342
371
  discovery: "discovery";
372
+ direct: "direct";
343
373
  }>;
344
374
  }, _$zod_v4_core0.$strip>>;
345
375
  directTools: _$zod.ZodArray<_$zod.ZodObject<{
@@ -349,9 +379,9 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
349
379
  description: _$zod.ZodOptional<_$zod.ZodString>;
350
380
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
351
381
  exposureMode: _$zod.ZodEnum<{
352
- direct: "direct";
353
- discovery: "discovery";
354
382
  hidden: "hidden";
383
+ discovery: "discovery";
384
+ direct: "direct";
355
385
  }>;
356
386
  enabled: _$zod.ZodBoolean;
357
387
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -368,9 +398,9 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
368
398
  description: _$zod.ZodOptional<_$zod.ZodString>;
369
399
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
370
400
  exposureMode: _$zod.ZodEnum<{
371
- direct: "direct";
372
- discovery: "discovery";
373
401
  hidden: "hidden";
402
+ discovery: "discovery";
403
+ direct: "direct";
374
404
  }>;
375
405
  enabled: _$zod.ZodBoolean;
376
406
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -382,6 +412,25 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
382
412
  }, _$zod_v4_core0.$strip>>;
383
413
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
384
414
  sessionId: _$zod.ZodString;
415
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
416
+ fullName: _$zod.ZodString;
417
+ originalName: _$zod.ZodString;
418
+ serverName: _$zod.ZodString;
419
+ description: _$zod.ZodOptional<_$zod.ZodString>;
420
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
421
+ exposureMode: _$zod.ZodEnum<{
422
+ hidden: "hidden";
423
+ discovery: "discovery";
424
+ direct: "direct";
425
+ }>;
426
+ enabled: _$zod.ZodBoolean;
427
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
428
+ discovery: "discovery";
429
+ toolset: "toolset";
430
+ }>>;
431
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
432
+ exposed: _$zod.ZodBoolean;
433
+ }, _$zod_v4_core0.$strip>>;
385
434
  servers: _$zod.ZodArray<_$zod.ZodObject<{
386
435
  name: _$zod.ZodString;
387
436
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -418,28 +467,9 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
418
467
  type: _$zod.ZodLiteral<"http">;
419
468
  }, _$zod_v4_core0.$strip>], "type">;
420
469
  exposureMode: _$zod.ZodEnum<{
421
- direct: "direct";
422
470
  discovery: "discovery";
423
- }>;
424
- }, _$zod_v4_core0.$strip>>;
425
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
426
- fullName: _$zod.ZodString;
427
- originalName: _$zod.ZodString;
428
- serverName: _$zod.ZodString;
429
- description: _$zod.ZodOptional<_$zod.ZodString>;
430
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
431
- exposureMode: _$zod.ZodEnum<{
432
471
  direct: "direct";
433
- discovery: "discovery";
434
- hidden: "hidden";
435
472
  }>;
436
- enabled: _$zod.ZodBoolean;
437
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
438
- discovery: "discovery";
439
- toolset: "toolset";
440
- }>>;
441
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
442
- exposed: _$zod.ZodBoolean;
443
473
  }, _$zod_v4_core0.$strip>>;
444
474
  discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
445
475
  fullName: _$zod.ZodString;
@@ -448,9 +478,9 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
448
478
  description: _$zod.ZodOptional<_$zod.ZodString>;
449
479
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
450
480
  exposureMode: _$zod.ZodEnum<{
451
- direct: "direct";
452
- discovery: "discovery";
453
481
  hidden: "hidden";
482
+ discovery: "discovery";
483
+ direct: "direct";
454
484
  }>;
455
485
  enabled: _$zod.ZodBoolean;
456
486
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -485,6 +515,9 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
485
515
  mode: _$zod.ZodLiteral<"fork">;
486
516
  sessionId: _$zod.ZodString;
487
517
  sourceSessionId: _$zod.ZodString;
518
+ sourceAdapterSessionId: _$zod.ZodString;
519
+ forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
520
+ targetWorkingDirectory: _$zod.ZodOptional<_$zod.ZodString>;
488
521
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
489
522
  adapterId: _$zod.ZodString;
490
523
  harnessId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -765,6 +798,36 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
765
798
  fullPrefix: "fullPrefix";
766
799
  }>>;
767
800
  turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
801
+ nativeLocality: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
802
+ kind: _$zod.ZodLiteral<"native">;
803
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
804
+ kind: _$zod.ZodLiteral<"degrade">;
805
+ reason: _$zod.ZodEnum<{
806
+ "adapter-unsupported": "adapter-unsupported";
807
+ "adapter-mismatch": "adapter-mismatch";
808
+ "no-adapter-session": "no-adapter-session";
809
+ "missing-machine-id": "missing-machine-id";
810
+ "machine-mismatch": "machine-mismatch";
811
+ "cwd-mismatch": "cwd-mismatch";
812
+ "transforms-present": "transforms-present";
813
+ "compression-present": "compression-present";
814
+ "connector-swap": "connector-swap";
815
+ "mid-history-unsupported": "mid-history-unsupported";
816
+ "hybrid-imported-orchestrated": "hybrid-imported-orchestrated";
817
+ "native-attempt-failed": "native-attempt-failed";
818
+ "agent-already-started": "agent-already-started";
819
+ "fork-point-unresolvable": "fork-point-unresolvable";
820
+ }>;
821
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
822
+ kind: _$zod.ZodLiteral<"foreign">;
823
+ machineId: _$zod.ZodString;
824
+ }, _$zod_v4_core0.$strip>], "kind">>;
825
+ nativeFork: _$zod.ZodOptional<_$zod.ZodObject<{
826
+ sourceSessionId: _$zod.ZodString;
827
+ sourceAdapterSessionId: _$zod.ZodString;
828
+ forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
829
+ targetWorkingDirectory: _$zod.ZodOptional<_$zod.ZodString>;
830
+ }, _$zod_v4_core0.$strip>>;
768
831
  }, _$zod_v4_core0.$strip>>;
769
832
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodUnion<readonly [_$zod.ZodObject<{
770
833
  sessionId: _$zod.ZodString;
@@ -806,8 +869,8 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
806
869
  type: _$zod.ZodLiteral<"http">;
807
870
  }, _$zod_v4_core0.$strip>], "type">;
808
871
  exposureMode: _$zod.ZodEnum<{
809
- direct: "direct";
810
872
  discovery: "discovery";
873
+ direct: "direct";
811
874
  }>;
812
875
  }, _$zod_v4_core0.$strip>>;
813
876
  directTools: _$zod.ZodArray<_$zod.ZodObject<{
@@ -817,9 +880,9 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
817
880
  description: _$zod.ZodOptional<_$zod.ZodString>;
818
881
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
819
882
  exposureMode: _$zod.ZodEnum<{
820
- direct: "direct";
821
- discovery: "discovery";
822
883
  hidden: "hidden";
884
+ discovery: "discovery";
885
+ direct: "direct";
823
886
  }>;
824
887
  enabled: _$zod.ZodBoolean;
825
888
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -836,9 +899,9 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
836
899
  description: _$zod.ZodOptional<_$zod.ZodString>;
837
900
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
838
901
  exposureMode: _$zod.ZodEnum<{
839
- direct: "direct";
840
- discovery: "discovery";
841
902
  hidden: "hidden";
903
+ discovery: "discovery";
904
+ direct: "direct";
842
905
  }>;
843
906
  enabled: _$zod.ZodBoolean;
844
907
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -850,6 +913,25 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
850
913
  }, _$zod_v4_core0.$strip>>;
851
914
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
852
915
  sessionId: _$zod.ZodString;
916
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
917
+ fullName: _$zod.ZodString;
918
+ originalName: _$zod.ZodString;
919
+ serverName: _$zod.ZodString;
920
+ description: _$zod.ZodOptional<_$zod.ZodString>;
921
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
922
+ exposureMode: _$zod.ZodEnum<{
923
+ hidden: "hidden";
924
+ discovery: "discovery";
925
+ direct: "direct";
926
+ }>;
927
+ enabled: _$zod.ZodBoolean;
928
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
929
+ discovery: "discovery";
930
+ toolset: "toolset";
931
+ }>>;
932
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
933
+ exposed: _$zod.ZodBoolean;
934
+ }, _$zod_v4_core0.$strip>>;
853
935
  servers: _$zod.ZodArray<_$zod.ZodObject<{
854
936
  name: _$zod.ZodString;
855
937
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -886,28 +968,9 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
886
968
  type: _$zod.ZodLiteral<"http">;
887
969
  }, _$zod_v4_core0.$strip>], "type">;
888
970
  exposureMode: _$zod.ZodEnum<{
889
- direct: "direct";
890
971
  discovery: "discovery";
891
- }>;
892
- }, _$zod_v4_core0.$strip>>;
893
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
894
- fullName: _$zod.ZodString;
895
- originalName: _$zod.ZodString;
896
- serverName: _$zod.ZodString;
897
- description: _$zod.ZodOptional<_$zod.ZodString>;
898
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
899
- exposureMode: _$zod.ZodEnum<{
900
972
  direct: "direct";
901
- discovery: "discovery";
902
- hidden: "hidden";
903
973
  }>;
904
- enabled: _$zod.ZodBoolean;
905
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
906
- discovery: "discovery";
907
- toolset: "toolset";
908
- }>>;
909
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
910
- exposed: _$zod.ZodBoolean;
911
974
  }, _$zod_v4_core0.$strip>>;
912
975
  discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
913
976
  fullName: _$zod.ZodString;
@@ -916,9 +979,9 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
916
979
  description: _$zod.ZodOptional<_$zod.ZodString>;
917
980
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
918
981
  exposureMode: _$zod.ZodEnum<{
919
- direct: "direct";
920
- discovery: "discovery";
921
982
  hidden: "hidden";
983
+ discovery: "discovery";
984
+ direct: "direct";
922
985
  }>;
923
986
  enabled: _$zod.ZodBoolean;
924
987
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -1233,6 +1296,36 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
1233
1296
  fullPrefix: "fullPrefix";
1234
1297
  }>>;
1235
1298
  turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
1299
+ nativeLocality: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1300
+ kind: _$zod.ZodLiteral<"native">;
1301
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1302
+ kind: _$zod.ZodLiteral<"degrade">;
1303
+ reason: _$zod.ZodEnum<{
1304
+ "adapter-unsupported": "adapter-unsupported";
1305
+ "adapter-mismatch": "adapter-mismatch";
1306
+ "no-adapter-session": "no-adapter-session";
1307
+ "missing-machine-id": "missing-machine-id";
1308
+ "machine-mismatch": "machine-mismatch";
1309
+ "cwd-mismatch": "cwd-mismatch";
1310
+ "transforms-present": "transforms-present";
1311
+ "compression-present": "compression-present";
1312
+ "connector-swap": "connector-swap";
1313
+ "mid-history-unsupported": "mid-history-unsupported";
1314
+ "hybrid-imported-orchestrated": "hybrid-imported-orchestrated";
1315
+ "native-attempt-failed": "native-attempt-failed";
1316
+ "agent-already-started": "agent-already-started";
1317
+ "fork-point-unresolvable": "fork-point-unresolvable";
1318
+ }>;
1319
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1320
+ kind: _$zod.ZodLiteral<"foreign">;
1321
+ machineId: _$zod.ZodString;
1322
+ }, _$zod_v4_core0.$strip>], "kind">>;
1323
+ nativeFork: _$zod.ZodOptional<_$zod.ZodObject<{
1324
+ sourceSessionId: _$zod.ZodString;
1325
+ sourceAdapterSessionId: _$zod.ZodString;
1326
+ forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
1327
+ targetWorkingDirectory: _$zod.ZodOptional<_$zod.ZodString>;
1328
+ }, _$zod_v4_core0.$strip>>;
1236
1329
  }, _$zod_v4_core0.$strip>>;
1237
1330
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodUnion<readonly [_$zod.ZodObject<{
1238
1331
  sessionId: _$zod.ZodString;
@@ -1274,8 +1367,8 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
1274
1367
  type: _$zod.ZodLiteral<"http">;
1275
1368
  }, _$zod_v4_core0.$strip>], "type">;
1276
1369
  exposureMode: _$zod.ZodEnum<{
1277
- direct: "direct";
1278
1370
  discovery: "discovery";
1371
+ direct: "direct";
1279
1372
  }>;
1280
1373
  }, _$zod_v4_core0.$strip>>;
1281
1374
  directTools: _$zod.ZodArray<_$zod.ZodObject<{
@@ -1285,9 +1378,9 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
1285
1378
  description: _$zod.ZodOptional<_$zod.ZodString>;
1286
1379
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
1287
1380
  exposureMode: _$zod.ZodEnum<{
1288
- direct: "direct";
1289
- discovery: "discovery";
1290
1381
  hidden: "hidden";
1382
+ discovery: "discovery";
1383
+ direct: "direct";
1291
1384
  }>;
1292
1385
  enabled: _$zod.ZodBoolean;
1293
1386
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -1304,9 +1397,9 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
1304
1397
  description: _$zod.ZodOptional<_$zod.ZodString>;
1305
1398
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
1306
1399
  exposureMode: _$zod.ZodEnum<{
1307
- direct: "direct";
1308
- discovery: "discovery";
1309
1400
  hidden: "hidden";
1401
+ discovery: "discovery";
1402
+ direct: "direct";
1310
1403
  }>;
1311
1404
  enabled: _$zod.ZodBoolean;
1312
1405
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -1318,6 +1411,25 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
1318
1411
  }, _$zod_v4_core0.$strip>>;
1319
1412
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1320
1413
  sessionId: _$zod.ZodString;
1414
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
1415
+ fullName: _$zod.ZodString;
1416
+ originalName: _$zod.ZodString;
1417
+ serverName: _$zod.ZodString;
1418
+ description: _$zod.ZodOptional<_$zod.ZodString>;
1419
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
1420
+ exposureMode: _$zod.ZodEnum<{
1421
+ hidden: "hidden";
1422
+ discovery: "discovery";
1423
+ direct: "direct";
1424
+ }>;
1425
+ enabled: _$zod.ZodBoolean;
1426
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
1427
+ discovery: "discovery";
1428
+ toolset: "toolset";
1429
+ }>>;
1430
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
1431
+ exposed: _$zod.ZodBoolean;
1432
+ }, _$zod_v4_core0.$strip>>;
1321
1433
  servers: _$zod.ZodArray<_$zod.ZodObject<{
1322
1434
  name: _$zod.ZodString;
1323
1435
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -1354,28 +1466,9 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
1354
1466
  type: _$zod.ZodLiteral<"http">;
1355
1467
  }, _$zod_v4_core0.$strip>], "type">;
1356
1468
  exposureMode: _$zod.ZodEnum<{
1357
- direct: "direct";
1358
1469
  discovery: "discovery";
1359
- }>;
1360
- }, _$zod_v4_core0.$strip>>;
1361
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
1362
- fullName: _$zod.ZodString;
1363
- originalName: _$zod.ZodString;
1364
- serverName: _$zod.ZodString;
1365
- description: _$zod.ZodOptional<_$zod.ZodString>;
1366
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
1367
- exposureMode: _$zod.ZodEnum<{
1368
1470
  direct: "direct";
1369
- discovery: "discovery";
1370
- hidden: "hidden";
1371
1471
  }>;
1372
- enabled: _$zod.ZodBoolean;
1373
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
1374
- discovery: "discovery";
1375
- toolset: "toolset";
1376
- }>>;
1377
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
1378
- exposed: _$zod.ZodBoolean;
1379
1472
  }, _$zod_v4_core0.$strip>>;
1380
1473
  discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
1381
1474
  fullName: _$zod.ZodString;
@@ -1384,9 +1477,9 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
1384
1477
  description: _$zod.ZodOptional<_$zod.ZodString>;
1385
1478
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
1386
1479
  exposureMode: _$zod.ZodEnum<{
1387
- direct: "direct";
1388
- discovery: "discovery";
1389
1480
  hidden: "hidden";
1481
+ discovery: "discovery";
1482
+ direct: "direct";
1390
1483
  }>;
1391
1484
  enabled: _$zod.ZodBoolean;
1392
1485
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -1425,7 +1518,7 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
1425
1518
  success: _$zod.ZodLiteral<true>;
1426
1519
  agentId: _$zod.ZodString;
1427
1520
  adapterId: _$zod.ZodString;
1428
- adapterSessionId: _$zod.ZodString;
1521
+ adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1429
1522
  sessionId: _$zod.ZodString;
1430
1523
  messageId: _$zod.ZodOptional<_$zod.ZodString>;
1431
1524
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
@@ -1473,7 +1566,7 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
1473
1566
  agents: _$zod.ZodArray<_$zod.ZodObject<{
1474
1567
  agentId: _$zod.ZodString;
1475
1568
  sessionId: _$zod.ZodString;
1476
- adapterSessionId: _$zod.ZodString;
1569
+ adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1477
1570
  }, _$zod_v4_core0.$strip>>;
1478
1571
  }, _$zod_v4_core0.$strip>;
1479
1572
  };
@@ -1486,7 +1579,7 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
1486
1579
  agent: _$zod.ZodNullable<_$zod.ZodObject<{
1487
1580
  agentId: _$zod.ZodString;
1488
1581
  sessionId: _$zod.ZodString;
1489
- adapterSessionId: _$zod.ZodString;
1582
+ adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1490
1583
  }, _$zod_v4_core0.$strip>>;
1491
1584
  }, _$zod_v4_core0.$strip>;
1492
1585
  };
@@ -1506,6 +1599,7 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
1506
1599
  cwd: _$zod.ZodOptional<_$zod.ZodString>;
1507
1600
  model: _$zod.ZodOptional<_$zod.ZodString>;
1508
1601
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1602
+ resumeAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1509
1603
  }, _$zod_v4_core0.$strip>;
1510
1604
  response: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
1511
1605
  };
@@ -1529,7 +1623,7 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
1529
1623
  'session.created': _$zod.ZodObject<{
1530
1624
  adapterId: _$zod.ZodString;
1531
1625
  adapterName: _$zod.ZodString;
1532
- adapterSessionId: _$zod.ZodString;
1626
+ adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1533
1627
  sessionId: _$zod.ZodString;
1534
1628
  model: _$zod.ZodString;
1535
1629
  }, _$zod_v4_core0.$strip>;
@@ -1542,6 +1636,7 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
1542
1636
  title: _$zod.ZodOptional<_$zod.ZodString>;
1543
1637
  logFilePath: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
1544
1638
  startedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
1639
+ machineId: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
1545
1640
  }, _$zod_v4_core0.$strip>, _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1546
1641
  kind: _$zod.ZodLiteral<"root">;
1547
1642
  parentAdapterSessionId: _$zod.ZodNull;
@@ -1549,7 +1644,7 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
1549
1644
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1550
1645
  kind: _$zod.ZodLiteral<"fork">;
1551
1646
  parentAdapterSessionId: _$zod.ZodString;
1552
- forkPointMessageId: _$zod.ZodString;
1647
+ forkPointMessageId: _$zod.ZodNullable<_$zod.ZodString>;
1553
1648
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1554
1649
  kind: _$zod.ZodLiteral<"subagent">;
1555
1650
  parentAdapterSessionId: _$zod.ZodString;
@@ -1563,7 +1658,7 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
1563
1658
  adapterId: _$zod.ZodString;
1564
1659
  adapterName: _$zod.ZodString;
1565
1660
  sessionId: _$zod.ZodString;
1566
- adapterSessionId: _$zod.ZodString;
1661
+ adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1567
1662
  totalInputTokens: _$zod.ZodNumber;
1568
1663
  totalOutputTokens: _$zod.ZodNumber;
1569
1664
  totalCalls: _$zod.ZodNumber;
@@ -1909,6 +2004,36 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
1909
2004
  fullPrefix: "fullPrefix";
1910
2005
  }>>;
1911
2006
  turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
2007
+ nativeLocality: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
2008
+ kind: _$zod.ZodLiteral<"native">;
2009
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
2010
+ kind: _$zod.ZodLiteral<"degrade">;
2011
+ reason: _$zod.ZodEnum<{
2012
+ "adapter-unsupported": "adapter-unsupported";
2013
+ "adapter-mismatch": "adapter-mismatch";
2014
+ "no-adapter-session": "no-adapter-session";
2015
+ "missing-machine-id": "missing-machine-id";
2016
+ "machine-mismatch": "machine-mismatch";
2017
+ "cwd-mismatch": "cwd-mismatch";
2018
+ "transforms-present": "transforms-present";
2019
+ "compression-present": "compression-present";
2020
+ "connector-swap": "connector-swap";
2021
+ "mid-history-unsupported": "mid-history-unsupported";
2022
+ "hybrid-imported-orchestrated": "hybrid-imported-orchestrated";
2023
+ "native-attempt-failed": "native-attempt-failed";
2024
+ "agent-already-started": "agent-already-started";
2025
+ "fork-point-unresolvable": "fork-point-unresolvable";
2026
+ }>;
2027
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
2028
+ kind: _$zod.ZodLiteral<"foreign">;
2029
+ machineId: _$zod.ZodString;
2030
+ }, _$zod_v4_core0.$strip>], "kind">>;
2031
+ nativeFork: _$zod.ZodOptional<_$zod.ZodObject<{
2032
+ sourceSessionId: _$zod.ZodString;
2033
+ sourceAdapterSessionId: _$zod.ZodString;
2034
+ forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
2035
+ targetWorkingDirectory: _$zod.ZodOptional<_$zod.ZodString>;
2036
+ }, _$zod_v4_core0.$strip>>;
1912
2037
  }, _$zod_v4_core0.$strip>>;
1913
2038
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodUnion<readonly [_$zod.ZodObject<{
1914
2039
  sessionId: _$zod.ZodString;
@@ -1950,8 +2075,8 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
1950
2075
  type: _$zod.ZodLiteral<"http">;
1951
2076
  }, _$zod_v4_core0.$strip>], "type">;
1952
2077
  exposureMode: _$zod.ZodEnum<{
1953
- direct: "direct";
1954
2078
  discovery: "discovery";
2079
+ direct: "direct";
1955
2080
  }>;
1956
2081
  }, _$zod_v4_core0.$strip>>;
1957
2082
  directTools: _$zod.ZodArray<_$zod.ZodObject<{
@@ -1961,9 +2086,9 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
1961
2086
  description: _$zod.ZodOptional<_$zod.ZodString>;
1962
2087
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
1963
2088
  exposureMode: _$zod.ZodEnum<{
1964
- direct: "direct";
1965
- discovery: "discovery";
1966
2089
  hidden: "hidden";
2090
+ discovery: "discovery";
2091
+ direct: "direct";
1967
2092
  }>;
1968
2093
  enabled: _$zod.ZodBoolean;
1969
2094
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -1980,9 +2105,9 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
1980
2105
  description: _$zod.ZodOptional<_$zod.ZodString>;
1981
2106
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
1982
2107
  exposureMode: _$zod.ZodEnum<{
1983
- direct: "direct";
1984
- discovery: "discovery";
1985
2108
  hidden: "hidden";
2109
+ discovery: "discovery";
2110
+ direct: "direct";
1986
2111
  }>;
1987
2112
  enabled: _$zod.ZodBoolean;
1988
2113
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -1994,6 +2119,25 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
1994
2119
  }, _$zod_v4_core0.$strip>>;
1995
2120
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1996
2121
  sessionId: _$zod.ZodString;
2122
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
2123
+ fullName: _$zod.ZodString;
2124
+ originalName: _$zod.ZodString;
2125
+ serverName: _$zod.ZodString;
2126
+ description: _$zod.ZodOptional<_$zod.ZodString>;
2127
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
2128
+ exposureMode: _$zod.ZodEnum<{
2129
+ hidden: "hidden";
2130
+ discovery: "discovery";
2131
+ direct: "direct";
2132
+ }>;
2133
+ enabled: _$zod.ZodBoolean;
2134
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
2135
+ discovery: "discovery";
2136
+ toolset: "toolset";
2137
+ }>>;
2138
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
2139
+ exposed: _$zod.ZodBoolean;
2140
+ }, _$zod_v4_core0.$strip>>;
1997
2141
  servers: _$zod.ZodArray<_$zod.ZodObject<{
1998
2142
  name: _$zod.ZodString;
1999
2143
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -2030,28 +2174,9 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
2030
2174
  type: _$zod.ZodLiteral<"http">;
2031
2175
  }, _$zod_v4_core0.$strip>], "type">;
2032
2176
  exposureMode: _$zod.ZodEnum<{
2033
- direct: "direct";
2034
2177
  discovery: "discovery";
2035
- }>;
2036
- }, _$zod_v4_core0.$strip>>;
2037
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
2038
- fullName: _$zod.ZodString;
2039
- originalName: _$zod.ZodString;
2040
- serverName: _$zod.ZodString;
2041
- description: _$zod.ZodOptional<_$zod.ZodString>;
2042
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
2043
- exposureMode: _$zod.ZodEnum<{
2044
2178
  direct: "direct";
2045
- discovery: "discovery";
2046
- hidden: "hidden";
2047
2179
  }>;
2048
- enabled: _$zod.ZodBoolean;
2049
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
2050
- discovery: "discovery";
2051
- toolset: "toolset";
2052
- }>>;
2053
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
2054
- exposed: _$zod.ZodBoolean;
2055
2180
  }, _$zod_v4_core0.$strip>>;
2056
2181
  discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
2057
2182
  fullName: _$zod.ZodString;
@@ -2060,9 +2185,9 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
2060
2185
  description: _$zod.ZodOptional<_$zod.ZodString>;
2061
2186
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
2062
2187
  exposureMode: _$zod.ZodEnum<{
2063
- direct: "direct";
2064
- discovery: "discovery";
2065
2188
  hidden: "hidden";
2189
+ discovery: "discovery";
2190
+ direct: "direct";
2066
2191
  }>;
2067
2192
  enabled: _$zod.ZodBoolean;
2068
2193
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -2097,6 +2222,9 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
2097
2222
  mode: _$zod.ZodLiteral<"fork">;
2098
2223
  sessionId: _$zod.ZodString;
2099
2224
  sourceSessionId: _$zod.ZodString;
2225
+ sourceAdapterSessionId: _$zod.ZodString;
2226
+ forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
2227
+ targetWorkingDirectory: _$zod.ZodOptional<_$zod.ZodString>;
2100
2228
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
2101
2229
  adapterId: _$zod.ZodString;
2102
2230
  harnessId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2377,6 +2505,36 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
2377
2505
  fullPrefix: "fullPrefix";
2378
2506
  }>>;
2379
2507
  turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
2508
+ nativeLocality: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
2509
+ kind: _$zod.ZodLiteral<"native">;
2510
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
2511
+ kind: _$zod.ZodLiteral<"degrade">;
2512
+ reason: _$zod.ZodEnum<{
2513
+ "adapter-unsupported": "adapter-unsupported";
2514
+ "adapter-mismatch": "adapter-mismatch";
2515
+ "no-adapter-session": "no-adapter-session";
2516
+ "missing-machine-id": "missing-machine-id";
2517
+ "machine-mismatch": "machine-mismatch";
2518
+ "cwd-mismatch": "cwd-mismatch";
2519
+ "transforms-present": "transforms-present";
2520
+ "compression-present": "compression-present";
2521
+ "connector-swap": "connector-swap";
2522
+ "mid-history-unsupported": "mid-history-unsupported";
2523
+ "hybrid-imported-orchestrated": "hybrid-imported-orchestrated";
2524
+ "native-attempt-failed": "native-attempt-failed";
2525
+ "agent-already-started": "agent-already-started";
2526
+ "fork-point-unresolvable": "fork-point-unresolvable";
2527
+ }>;
2528
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
2529
+ kind: _$zod.ZodLiteral<"foreign">;
2530
+ machineId: _$zod.ZodString;
2531
+ }, _$zod_v4_core0.$strip>], "kind">>;
2532
+ nativeFork: _$zod.ZodOptional<_$zod.ZodObject<{
2533
+ sourceSessionId: _$zod.ZodString;
2534
+ sourceAdapterSessionId: _$zod.ZodString;
2535
+ forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
2536
+ targetWorkingDirectory: _$zod.ZodOptional<_$zod.ZodString>;
2537
+ }, _$zod_v4_core0.$strip>>;
2380
2538
  }, _$zod_v4_core0.$strip>>;
2381
2539
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodUnion<readonly [_$zod.ZodObject<{
2382
2540
  sessionId: _$zod.ZodString;
@@ -2418,8 +2576,8 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
2418
2576
  type: _$zod.ZodLiteral<"http">;
2419
2577
  }, _$zod_v4_core0.$strip>], "type">;
2420
2578
  exposureMode: _$zod.ZodEnum<{
2421
- direct: "direct";
2422
2579
  discovery: "discovery";
2580
+ direct: "direct";
2423
2581
  }>;
2424
2582
  }, _$zod_v4_core0.$strip>>;
2425
2583
  directTools: _$zod.ZodArray<_$zod.ZodObject<{
@@ -2429,9 +2587,9 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
2429
2587
  description: _$zod.ZodOptional<_$zod.ZodString>;
2430
2588
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
2431
2589
  exposureMode: _$zod.ZodEnum<{
2432
- direct: "direct";
2433
- discovery: "discovery";
2434
2590
  hidden: "hidden";
2591
+ discovery: "discovery";
2592
+ direct: "direct";
2435
2593
  }>;
2436
2594
  enabled: _$zod.ZodBoolean;
2437
2595
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -2448,9 +2606,9 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
2448
2606
  description: _$zod.ZodOptional<_$zod.ZodString>;
2449
2607
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
2450
2608
  exposureMode: _$zod.ZodEnum<{
2451
- direct: "direct";
2452
- discovery: "discovery";
2453
2609
  hidden: "hidden";
2610
+ discovery: "discovery";
2611
+ direct: "direct";
2454
2612
  }>;
2455
2613
  enabled: _$zod.ZodBoolean;
2456
2614
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -2462,18 +2620,37 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
2462
2620
  }, _$zod_v4_core0.$strip>>;
2463
2621
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
2464
2622
  sessionId: _$zod.ZodString;
2465
- servers: _$zod.ZodArray<_$zod.ZodObject<{
2466
- name: _$zod.ZodString;
2467
- transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
2468
- type: _$zod.ZodLiteral<"stdio">;
2469
- command: _$zod.ZodString;
2470
- args: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
2471
- env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
2472
- alwaysLoad: _$zod.ZodOptional<_$zod.ZodBoolean>;
2473
- }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
2474
- url: _$zod.ZodString;
2475
- headers: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
2476
- tools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
2623
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
2624
+ fullName: _$zod.ZodString;
2625
+ originalName: _$zod.ZodString;
2626
+ serverName: _$zod.ZodString;
2627
+ description: _$zod.ZodOptional<_$zod.ZodString>;
2628
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
2629
+ exposureMode: _$zod.ZodEnum<{
2630
+ hidden: "hidden";
2631
+ discovery: "discovery";
2632
+ direct: "direct";
2633
+ }>;
2634
+ enabled: _$zod.ZodBoolean;
2635
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
2636
+ discovery: "discovery";
2637
+ toolset: "toolset";
2638
+ }>>;
2639
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
2640
+ exposed: _$zod.ZodBoolean;
2641
+ }, _$zod_v4_core0.$strip>>;
2642
+ servers: _$zod.ZodArray<_$zod.ZodObject<{
2643
+ name: _$zod.ZodString;
2644
+ transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
2645
+ type: _$zod.ZodLiteral<"stdio">;
2646
+ command: _$zod.ZodString;
2647
+ args: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
2648
+ env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
2649
+ alwaysLoad: _$zod.ZodOptional<_$zod.ZodBoolean>;
2650
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
2651
+ url: _$zod.ZodString;
2652
+ headers: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
2653
+ tools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
2477
2654
  name: _$zod.ZodString;
2478
2655
  permission_policy: _$zod.ZodEnum<{
2479
2656
  always_allow: "always_allow";
@@ -2498,28 +2675,9 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
2498
2675
  type: _$zod.ZodLiteral<"http">;
2499
2676
  }, _$zod_v4_core0.$strip>], "type">;
2500
2677
  exposureMode: _$zod.ZodEnum<{
2501
- direct: "direct";
2502
2678
  discovery: "discovery";
2503
- }>;
2504
- }, _$zod_v4_core0.$strip>>;
2505
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
2506
- fullName: _$zod.ZodString;
2507
- originalName: _$zod.ZodString;
2508
- serverName: _$zod.ZodString;
2509
- description: _$zod.ZodOptional<_$zod.ZodString>;
2510
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
2511
- exposureMode: _$zod.ZodEnum<{
2512
2679
  direct: "direct";
2513
- discovery: "discovery";
2514
- hidden: "hidden";
2515
2680
  }>;
2516
- enabled: _$zod.ZodBoolean;
2517
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
2518
- discovery: "discovery";
2519
- toolset: "toolset";
2520
- }>>;
2521
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
2522
- exposed: _$zod.ZodBoolean;
2523
2681
  }, _$zod_v4_core0.$strip>>;
2524
2682
  discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
2525
2683
  fullName: _$zod.ZodString;
@@ -2528,9 +2686,9 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
2528
2686
  description: _$zod.ZodOptional<_$zod.ZodString>;
2529
2687
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
2530
2688
  exposureMode: _$zod.ZodEnum<{
2531
- direct: "direct";
2532
- discovery: "discovery";
2533
2689
  hidden: "hidden";
2690
+ discovery: "discovery";
2691
+ direct: "direct";
2534
2692
  }>;
2535
2693
  enabled: _$zod.ZodBoolean;
2536
2694
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -2845,6 +3003,36 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
2845
3003
  fullPrefix: "fullPrefix";
2846
3004
  }>>;
2847
3005
  turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
3006
+ nativeLocality: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
3007
+ kind: _$zod.ZodLiteral<"native">;
3008
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
3009
+ kind: _$zod.ZodLiteral<"degrade">;
3010
+ reason: _$zod.ZodEnum<{
3011
+ "adapter-unsupported": "adapter-unsupported";
3012
+ "adapter-mismatch": "adapter-mismatch";
3013
+ "no-adapter-session": "no-adapter-session";
3014
+ "missing-machine-id": "missing-machine-id";
3015
+ "machine-mismatch": "machine-mismatch";
3016
+ "cwd-mismatch": "cwd-mismatch";
3017
+ "transforms-present": "transforms-present";
3018
+ "compression-present": "compression-present";
3019
+ "connector-swap": "connector-swap";
3020
+ "mid-history-unsupported": "mid-history-unsupported";
3021
+ "hybrid-imported-orchestrated": "hybrid-imported-orchestrated";
3022
+ "native-attempt-failed": "native-attempt-failed";
3023
+ "agent-already-started": "agent-already-started";
3024
+ "fork-point-unresolvable": "fork-point-unresolvable";
3025
+ }>;
3026
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
3027
+ kind: _$zod.ZodLiteral<"foreign">;
3028
+ machineId: _$zod.ZodString;
3029
+ }, _$zod_v4_core0.$strip>], "kind">>;
3030
+ nativeFork: _$zod.ZodOptional<_$zod.ZodObject<{
3031
+ sourceSessionId: _$zod.ZodString;
3032
+ sourceAdapterSessionId: _$zod.ZodString;
3033
+ forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
3034
+ targetWorkingDirectory: _$zod.ZodOptional<_$zod.ZodString>;
3035
+ }, _$zod_v4_core0.$strip>>;
2848
3036
  }, _$zod_v4_core0.$strip>>;
2849
3037
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodUnion<readonly [_$zod.ZodObject<{
2850
3038
  sessionId: _$zod.ZodString;
@@ -2886,8 +3074,8 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
2886
3074
  type: _$zod.ZodLiteral<"http">;
2887
3075
  }, _$zod_v4_core0.$strip>], "type">;
2888
3076
  exposureMode: _$zod.ZodEnum<{
2889
- direct: "direct";
2890
3077
  discovery: "discovery";
3078
+ direct: "direct";
2891
3079
  }>;
2892
3080
  }, _$zod_v4_core0.$strip>>;
2893
3081
  directTools: _$zod.ZodArray<_$zod.ZodObject<{
@@ -2897,9 +3085,9 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
2897
3085
  description: _$zod.ZodOptional<_$zod.ZodString>;
2898
3086
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
2899
3087
  exposureMode: _$zod.ZodEnum<{
2900
- direct: "direct";
2901
- discovery: "discovery";
2902
3088
  hidden: "hidden";
3089
+ discovery: "discovery";
3090
+ direct: "direct";
2903
3091
  }>;
2904
3092
  enabled: _$zod.ZodBoolean;
2905
3093
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -2916,9 +3104,9 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
2916
3104
  description: _$zod.ZodOptional<_$zod.ZodString>;
2917
3105
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
2918
3106
  exposureMode: _$zod.ZodEnum<{
2919
- direct: "direct";
2920
- discovery: "discovery";
2921
3107
  hidden: "hidden";
3108
+ discovery: "discovery";
3109
+ direct: "direct";
2922
3110
  }>;
2923
3111
  enabled: _$zod.ZodBoolean;
2924
3112
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -2930,6 +3118,25 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
2930
3118
  }, _$zod_v4_core0.$strip>>;
2931
3119
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
2932
3120
  sessionId: _$zod.ZodString;
3121
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
3122
+ fullName: _$zod.ZodString;
3123
+ originalName: _$zod.ZodString;
3124
+ serverName: _$zod.ZodString;
3125
+ description: _$zod.ZodOptional<_$zod.ZodString>;
3126
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
3127
+ exposureMode: _$zod.ZodEnum<{
3128
+ hidden: "hidden";
3129
+ discovery: "discovery";
3130
+ direct: "direct";
3131
+ }>;
3132
+ enabled: _$zod.ZodBoolean;
3133
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
3134
+ discovery: "discovery";
3135
+ toolset: "toolset";
3136
+ }>>;
3137
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
3138
+ exposed: _$zod.ZodBoolean;
3139
+ }, _$zod_v4_core0.$strip>>;
2933
3140
  servers: _$zod.ZodArray<_$zod.ZodObject<{
2934
3141
  name: _$zod.ZodString;
2935
3142
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -2966,28 +3173,9 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
2966
3173
  type: _$zod.ZodLiteral<"http">;
2967
3174
  }, _$zod_v4_core0.$strip>], "type">;
2968
3175
  exposureMode: _$zod.ZodEnum<{
2969
- direct: "direct";
2970
3176
  discovery: "discovery";
2971
- }>;
2972
- }, _$zod_v4_core0.$strip>>;
2973
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
2974
- fullName: _$zod.ZodString;
2975
- originalName: _$zod.ZodString;
2976
- serverName: _$zod.ZodString;
2977
- description: _$zod.ZodOptional<_$zod.ZodString>;
2978
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
2979
- exposureMode: _$zod.ZodEnum<{
2980
3177
  direct: "direct";
2981
- discovery: "discovery";
2982
- hidden: "hidden";
2983
3178
  }>;
2984
- enabled: _$zod.ZodBoolean;
2985
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
2986
- discovery: "discovery";
2987
- toolset: "toolset";
2988
- }>>;
2989
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
2990
- exposed: _$zod.ZodBoolean;
2991
3179
  }, _$zod_v4_core0.$strip>>;
2992
3180
  discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
2993
3181
  fullName: _$zod.ZodString;
@@ -2996,9 +3184,9 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
2996
3184
  description: _$zod.ZodOptional<_$zod.ZodString>;
2997
3185
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
2998
3186
  exposureMode: _$zod.ZodEnum<{
2999
- direct: "direct";
3000
- discovery: "discovery";
3001
3187
  hidden: "hidden";
3188
+ discovery: "discovery";
3189
+ direct: "direct";
3002
3190
  }>;
3003
3191
  enabled: _$zod.ZodBoolean;
3004
3192
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -3037,7 +3225,7 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
3037
3225
  success: _$zod.ZodLiteral<true>;
3038
3226
  agentId: _$zod.ZodString;
3039
3227
  adapterId: _$zod.ZodString;
3040
- adapterSessionId: _$zod.ZodString;
3228
+ adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
3041
3229
  sessionId: _$zod.ZodString;
3042
3230
  messageId: _$zod.ZodOptional<_$zod.ZodString>;
3043
3231
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
@@ -3085,7 +3273,7 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
3085
3273
  agents: _$zod.ZodArray<_$zod.ZodObject<{
3086
3274
  agentId: _$zod.ZodString;
3087
3275
  sessionId: _$zod.ZodString;
3088
- adapterSessionId: _$zod.ZodString;
3276
+ adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
3089
3277
  }, _$zod_v4_core0.$strip>>;
3090
3278
  }, _$zod_v4_core0.$strip>;
3091
3279
  };
@@ -3098,7 +3286,7 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
3098
3286
  agent: _$zod.ZodNullable<_$zod.ZodObject<{
3099
3287
  agentId: _$zod.ZodString;
3100
3288
  sessionId: _$zod.ZodString;
3101
- adapterSessionId: _$zod.ZodString;
3289
+ adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
3102
3290
  }, _$zod_v4_core0.$strip>>;
3103
3291
  }, _$zod_v4_core0.$strip>;
3104
3292
  };
@@ -3118,6 +3306,7 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
3118
3306
  cwd: _$zod.ZodOptional<_$zod.ZodString>;
3119
3307
  model: _$zod.ZodOptional<_$zod.ZodString>;
3120
3308
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
3309
+ resumeAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
3121
3310
  }, _$zod_v4_core0.$strip>;
3122
3311
  response: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
3123
3312
  };
@@ -3141,7 +3330,7 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
3141
3330
  'session.created': _$zod.ZodObject<{
3142
3331
  adapterId: _$zod.ZodString;
3143
3332
  adapterName: _$zod.ZodString;
3144
- adapterSessionId: _$zod.ZodString;
3333
+ adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
3145
3334
  sessionId: _$zod.ZodString;
3146
3335
  model: _$zod.ZodString;
3147
3336
  }, _$zod_v4_core0.$strip>;
@@ -3154,6 +3343,7 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
3154
3343
  title: _$zod.ZodOptional<_$zod.ZodString>;
3155
3344
  logFilePath: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
3156
3345
  startedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
3346
+ machineId: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
3157
3347
  }, _$zod_v4_core0.$strip>, _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
3158
3348
  kind: _$zod.ZodLiteral<"root">;
3159
3349
  parentAdapterSessionId: _$zod.ZodNull;
@@ -3161,7 +3351,7 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
3161
3351
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
3162
3352
  kind: _$zod.ZodLiteral<"fork">;
3163
3353
  parentAdapterSessionId: _$zod.ZodString;
3164
- forkPointMessageId: _$zod.ZodString;
3354
+ forkPointMessageId: _$zod.ZodNullable<_$zod.ZodString>;
3165
3355
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
3166
3356
  kind: _$zod.ZodLiteral<"subagent">;
3167
3357
  parentAdapterSessionId: _$zod.ZodString;
@@ -3175,7 +3365,7 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
3175
3365
  adapterId: _$zod.ZodString;
3176
3366
  adapterName: _$zod.ZodString;
3177
3367
  sessionId: _$zod.ZodString;
3178
- adapterSessionId: _$zod.ZodString;
3368
+ adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
3179
3369
  totalInputTokens: _$zod.ZodNumber;
3180
3370
  totalOutputTokens: _$zod.ZodNumber;
3181
3371
  totalCalls: _$zod.ZodNumber;
@@ -3545,6 +3735,36 @@ declare const AdapterSchemas: {
3545
3735
  fullPrefix: "fullPrefix";
3546
3736
  }>>;
3547
3737
  turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
3738
+ nativeLocality: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
3739
+ kind: _$zod.ZodLiteral<"native">;
3740
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
3741
+ kind: _$zod.ZodLiteral<"degrade">;
3742
+ reason: _$zod.ZodEnum<{
3743
+ "adapter-unsupported": "adapter-unsupported";
3744
+ "adapter-mismatch": "adapter-mismatch";
3745
+ "no-adapter-session": "no-adapter-session";
3746
+ "missing-machine-id": "missing-machine-id";
3747
+ "machine-mismatch": "machine-mismatch";
3748
+ "cwd-mismatch": "cwd-mismatch";
3749
+ "transforms-present": "transforms-present";
3750
+ "compression-present": "compression-present";
3751
+ "connector-swap": "connector-swap";
3752
+ "mid-history-unsupported": "mid-history-unsupported";
3753
+ "hybrid-imported-orchestrated": "hybrid-imported-orchestrated";
3754
+ "native-attempt-failed": "native-attempt-failed";
3755
+ "agent-already-started": "agent-already-started";
3756
+ "fork-point-unresolvable": "fork-point-unresolvable";
3757
+ }>;
3758
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
3759
+ kind: _$zod.ZodLiteral<"foreign">;
3760
+ machineId: _$zod.ZodString;
3761
+ }, _$zod_v4_core0.$strip>], "kind">>;
3762
+ nativeFork: _$zod.ZodOptional<_$zod.ZodObject<{
3763
+ sourceSessionId: _$zod.ZodString;
3764
+ sourceAdapterSessionId: _$zod.ZodString;
3765
+ forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
3766
+ targetWorkingDirectory: _$zod.ZodOptional<_$zod.ZodString>;
3767
+ }, _$zod_v4_core0.$strip>>;
3548
3768
  }, _$zod_v4_core0.$strip>>;
3549
3769
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodUnion<readonly [_$zod.ZodObject<{
3550
3770
  sessionId: _$zod.ZodString;
@@ -3586,8 +3806,8 @@ declare const AdapterSchemas: {
3586
3806
  type: _$zod.ZodLiteral<"http">;
3587
3807
  }, _$zod_v4_core0.$strip>], "type">;
3588
3808
  exposureMode: _$zod.ZodEnum<{
3589
- direct: "direct";
3590
3809
  discovery: "discovery";
3810
+ direct: "direct";
3591
3811
  }>;
3592
3812
  }, _$zod_v4_core0.$strip>>;
3593
3813
  directTools: _$zod.ZodArray<_$zod.ZodObject<{
@@ -3597,9 +3817,9 @@ declare const AdapterSchemas: {
3597
3817
  description: _$zod.ZodOptional<_$zod.ZodString>;
3598
3818
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
3599
3819
  exposureMode: _$zod.ZodEnum<{
3600
- direct: "direct";
3601
- discovery: "discovery";
3602
3820
  hidden: "hidden";
3821
+ discovery: "discovery";
3822
+ direct: "direct";
3603
3823
  }>;
3604
3824
  enabled: _$zod.ZodBoolean;
3605
3825
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -3616,9 +3836,9 @@ declare const AdapterSchemas: {
3616
3836
  description: _$zod.ZodOptional<_$zod.ZodString>;
3617
3837
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
3618
3838
  exposureMode: _$zod.ZodEnum<{
3619
- direct: "direct";
3620
- discovery: "discovery";
3621
3839
  hidden: "hidden";
3840
+ discovery: "discovery";
3841
+ direct: "direct";
3622
3842
  }>;
3623
3843
  enabled: _$zod.ZodBoolean;
3624
3844
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -3630,6 +3850,25 @@ declare const AdapterSchemas: {
3630
3850
  }, _$zod_v4_core0.$strip>>;
3631
3851
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
3632
3852
  sessionId: _$zod.ZodString;
3853
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
3854
+ fullName: _$zod.ZodString;
3855
+ originalName: _$zod.ZodString;
3856
+ serverName: _$zod.ZodString;
3857
+ description: _$zod.ZodOptional<_$zod.ZodString>;
3858
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
3859
+ exposureMode: _$zod.ZodEnum<{
3860
+ hidden: "hidden";
3861
+ discovery: "discovery";
3862
+ direct: "direct";
3863
+ }>;
3864
+ enabled: _$zod.ZodBoolean;
3865
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
3866
+ discovery: "discovery";
3867
+ toolset: "toolset";
3868
+ }>>;
3869
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
3870
+ exposed: _$zod.ZodBoolean;
3871
+ }, _$zod_v4_core0.$strip>>;
3633
3872
  servers: _$zod.ZodArray<_$zod.ZodObject<{
3634
3873
  name: _$zod.ZodString;
3635
3874
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -3666,28 +3905,9 @@ declare const AdapterSchemas: {
3666
3905
  type: _$zod.ZodLiteral<"http">;
3667
3906
  }, _$zod_v4_core0.$strip>], "type">;
3668
3907
  exposureMode: _$zod.ZodEnum<{
3669
- direct: "direct";
3670
3908
  discovery: "discovery";
3671
- }>;
3672
- }, _$zod_v4_core0.$strip>>;
3673
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
3674
- fullName: _$zod.ZodString;
3675
- originalName: _$zod.ZodString;
3676
- serverName: _$zod.ZodString;
3677
- description: _$zod.ZodOptional<_$zod.ZodString>;
3678
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
3679
- exposureMode: _$zod.ZodEnum<{
3680
3909
  direct: "direct";
3681
- discovery: "discovery";
3682
- hidden: "hidden";
3683
3910
  }>;
3684
- enabled: _$zod.ZodBoolean;
3685
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
3686
- discovery: "discovery";
3687
- toolset: "toolset";
3688
- }>>;
3689
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
3690
- exposed: _$zod.ZodBoolean;
3691
3911
  }, _$zod_v4_core0.$strip>>;
3692
3912
  discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
3693
3913
  fullName: _$zod.ZodString;
@@ -3696,9 +3916,9 @@ declare const AdapterSchemas: {
3696
3916
  description: _$zod.ZodOptional<_$zod.ZodString>;
3697
3917
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
3698
3918
  exposureMode: _$zod.ZodEnum<{
3699
- direct: "direct";
3700
- discovery: "discovery";
3701
3919
  hidden: "hidden";
3920
+ discovery: "discovery";
3921
+ direct: "direct";
3702
3922
  }>;
3703
3923
  enabled: _$zod.ZodBoolean;
3704
3924
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -3733,6 +3953,9 @@ declare const AdapterSchemas: {
3733
3953
  mode: _$zod.ZodLiteral<"fork">;
3734
3954
  sessionId: _$zod.ZodString;
3735
3955
  sourceSessionId: _$zod.ZodString;
3956
+ sourceAdapterSessionId: _$zod.ZodString;
3957
+ forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
3958
+ targetWorkingDirectory: _$zod.ZodOptional<_$zod.ZodString>;
3736
3959
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
3737
3960
  adapterId: _$zod.ZodString;
3738
3961
  harnessId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -4013,6 +4236,36 @@ declare const AdapterSchemas: {
4013
4236
  fullPrefix: "fullPrefix";
4014
4237
  }>>;
4015
4238
  turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
4239
+ nativeLocality: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
4240
+ kind: _$zod.ZodLiteral<"native">;
4241
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
4242
+ kind: _$zod.ZodLiteral<"degrade">;
4243
+ reason: _$zod.ZodEnum<{
4244
+ "adapter-unsupported": "adapter-unsupported";
4245
+ "adapter-mismatch": "adapter-mismatch";
4246
+ "no-adapter-session": "no-adapter-session";
4247
+ "missing-machine-id": "missing-machine-id";
4248
+ "machine-mismatch": "machine-mismatch";
4249
+ "cwd-mismatch": "cwd-mismatch";
4250
+ "transforms-present": "transforms-present";
4251
+ "compression-present": "compression-present";
4252
+ "connector-swap": "connector-swap";
4253
+ "mid-history-unsupported": "mid-history-unsupported";
4254
+ "hybrid-imported-orchestrated": "hybrid-imported-orchestrated";
4255
+ "native-attempt-failed": "native-attempt-failed";
4256
+ "agent-already-started": "agent-already-started";
4257
+ "fork-point-unresolvable": "fork-point-unresolvable";
4258
+ }>;
4259
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
4260
+ kind: _$zod.ZodLiteral<"foreign">;
4261
+ machineId: _$zod.ZodString;
4262
+ }, _$zod_v4_core0.$strip>], "kind">>;
4263
+ nativeFork: _$zod.ZodOptional<_$zod.ZodObject<{
4264
+ sourceSessionId: _$zod.ZodString;
4265
+ sourceAdapterSessionId: _$zod.ZodString;
4266
+ forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
4267
+ targetWorkingDirectory: _$zod.ZodOptional<_$zod.ZodString>;
4268
+ }, _$zod_v4_core0.$strip>>;
4016
4269
  }, _$zod_v4_core0.$strip>>;
4017
4270
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodUnion<readonly [_$zod.ZodObject<{
4018
4271
  sessionId: _$zod.ZodString;
@@ -4054,8 +4307,8 @@ declare const AdapterSchemas: {
4054
4307
  type: _$zod.ZodLiteral<"http">;
4055
4308
  }, _$zod_v4_core0.$strip>], "type">;
4056
4309
  exposureMode: _$zod.ZodEnum<{
4057
- direct: "direct";
4058
4310
  discovery: "discovery";
4311
+ direct: "direct";
4059
4312
  }>;
4060
4313
  }, _$zod_v4_core0.$strip>>;
4061
4314
  directTools: _$zod.ZodArray<_$zod.ZodObject<{
@@ -4065,9 +4318,9 @@ declare const AdapterSchemas: {
4065
4318
  description: _$zod.ZodOptional<_$zod.ZodString>;
4066
4319
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4067
4320
  exposureMode: _$zod.ZodEnum<{
4068
- direct: "direct";
4069
- discovery: "discovery";
4070
4321
  hidden: "hidden";
4322
+ discovery: "discovery";
4323
+ direct: "direct";
4071
4324
  }>;
4072
4325
  enabled: _$zod.ZodBoolean;
4073
4326
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -4084,9 +4337,9 @@ declare const AdapterSchemas: {
4084
4337
  description: _$zod.ZodOptional<_$zod.ZodString>;
4085
4338
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4086
4339
  exposureMode: _$zod.ZodEnum<{
4087
- direct: "direct";
4088
- discovery: "discovery";
4089
4340
  hidden: "hidden";
4341
+ discovery: "discovery";
4342
+ direct: "direct";
4090
4343
  }>;
4091
4344
  enabled: _$zod.ZodBoolean;
4092
4345
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -4098,6 +4351,25 @@ declare const AdapterSchemas: {
4098
4351
  }, _$zod_v4_core0.$strip>>;
4099
4352
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
4100
4353
  sessionId: _$zod.ZodString;
4354
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
4355
+ fullName: _$zod.ZodString;
4356
+ originalName: _$zod.ZodString;
4357
+ serverName: _$zod.ZodString;
4358
+ description: _$zod.ZodOptional<_$zod.ZodString>;
4359
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4360
+ exposureMode: _$zod.ZodEnum<{
4361
+ hidden: "hidden";
4362
+ discovery: "discovery";
4363
+ direct: "direct";
4364
+ }>;
4365
+ enabled: _$zod.ZodBoolean;
4366
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4367
+ discovery: "discovery";
4368
+ toolset: "toolset";
4369
+ }>>;
4370
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4371
+ exposed: _$zod.ZodBoolean;
4372
+ }, _$zod_v4_core0.$strip>>;
4101
4373
  servers: _$zod.ZodArray<_$zod.ZodObject<{
4102
4374
  name: _$zod.ZodString;
4103
4375
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -4134,28 +4406,9 @@ declare const AdapterSchemas: {
4134
4406
  type: _$zod.ZodLiteral<"http">;
4135
4407
  }, _$zod_v4_core0.$strip>], "type">;
4136
4408
  exposureMode: _$zod.ZodEnum<{
4137
- direct: "direct";
4138
4409
  discovery: "discovery";
4139
- }>;
4140
- }, _$zod_v4_core0.$strip>>;
4141
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
4142
- fullName: _$zod.ZodString;
4143
- originalName: _$zod.ZodString;
4144
- serverName: _$zod.ZodString;
4145
- description: _$zod.ZodOptional<_$zod.ZodString>;
4146
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4147
- exposureMode: _$zod.ZodEnum<{
4148
4410
  direct: "direct";
4149
- discovery: "discovery";
4150
- hidden: "hidden";
4151
4411
  }>;
4152
- enabled: _$zod.ZodBoolean;
4153
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4154
- discovery: "discovery";
4155
- toolset: "toolset";
4156
- }>>;
4157
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4158
- exposed: _$zod.ZodBoolean;
4159
4412
  }, _$zod_v4_core0.$strip>>;
4160
4413
  discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
4161
4414
  fullName: _$zod.ZodString;
@@ -4164,9 +4417,9 @@ declare const AdapterSchemas: {
4164
4417
  description: _$zod.ZodOptional<_$zod.ZodString>;
4165
4418
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4166
4419
  exposureMode: _$zod.ZodEnum<{
4167
- direct: "direct";
4168
- discovery: "discovery";
4169
4420
  hidden: "hidden";
4421
+ discovery: "discovery";
4422
+ direct: "direct";
4170
4423
  }>;
4171
4424
  enabled: _$zod.ZodBoolean;
4172
4425
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -4481,6 +4734,36 @@ declare const AdapterSchemas: {
4481
4734
  fullPrefix: "fullPrefix";
4482
4735
  }>>;
4483
4736
  turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
4737
+ nativeLocality: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
4738
+ kind: _$zod.ZodLiteral<"native">;
4739
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
4740
+ kind: _$zod.ZodLiteral<"degrade">;
4741
+ reason: _$zod.ZodEnum<{
4742
+ "adapter-unsupported": "adapter-unsupported";
4743
+ "adapter-mismatch": "adapter-mismatch";
4744
+ "no-adapter-session": "no-adapter-session";
4745
+ "missing-machine-id": "missing-machine-id";
4746
+ "machine-mismatch": "machine-mismatch";
4747
+ "cwd-mismatch": "cwd-mismatch";
4748
+ "transforms-present": "transforms-present";
4749
+ "compression-present": "compression-present";
4750
+ "connector-swap": "connector-swap";
4751
+ "mid-history-unsupported": "mid-history-unsupported";
4752
+ "hybrid-imported-orchestrated": "hybrid-imported-orchestrated";
4753
+ "native-attempt-failed": "native-attempt-failed";
4754
+ "agent-already-started": "agent-already-started";
4755
+ "fork-point-unresolvable": "fork-point-unresolvable";
4756
+ }>;
4757
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
4758
+ kind: _$zod.ZodLiteral<"foreign">;
4759
+ machineId: _$zod.ZodString;
4760
+ }, _$zod_v4_core0.$strip>], "kind">>;
4761
+ nativeFork: _$zod.ZodOptional<_$zod.ZodObject<{
4762
+ sourceSessionId: _$zod.ZodString;
4763
+ sourceAdapterSessionId: _$zod.ZodString;
4764
+ forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
4765
+ targetWorkingDirectory: _$zod.ZodOptional<_$zod.ZodString>;
4766
+ }, _$zod_v4_core0.$strip>>;
4484
4767
  }, _$zod_v4_core0.$strip>>;
4485
4768
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodUnion<readonly [_$zod.ZodObject<{
4486
4769
  sessionId: _$zod.ZodString;
@@ -4522,8 +4805,8 @@ declare const AdapterSchemas: {
4522
4805
  type: _$zod.ZodLiteral<"http">;
4523
4806
  }, _$zod_v4_core0.$strip>], "type">;
4524
4807
  exposureMode: _$zod.ZodEnum<{
4525
- direct: "direct";
4526
4808
  discovery: "discovery";
4809
+ direct: "direct";
4527
4810
  }>;
4528
4811
  }, _$zod_v4_core0.$strip>>;
4529
4812
  directTools: _$zod.ZodArray<_$zod.ZodObject<{
@@ -4533,9 +4816,9 @@ declare const AdapterSchemas: {
4533
4816
  description: _$zod.ZodOptional<_$zod.ZodString>;
4534
4817
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4535
4818
  exposureMode: _$zod.ZodEnum<{
4536
- direct: "direct";
4537
- discovery: "discovery";
4538
4819
  hidden: "hidden";
4820
+ discovery: "discovery";
4821
+ direct: "direct";
4539
4822
  }>;
4540
4823
  enabled: _$zod.ZodBoolean;
4541
4824
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -4552,9 +4835,9 @@ declare const AdapterSchemas: {
4552
4835
  description: _$zod.ZodOptional<_$zod.ZodString>;
4553
4836
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4554
4837
  exposureMode: _$zod.ZodEnum<{
4555
- direct: "direct";
4556
- discovery: "discovery";
4557
4838
  hidden: "hidden";
4839
+ discovery: "discovery";
4840
+ direct: "direct";
4558
4841
  }>;
4559
4842
  enabled: _$zod.ZodBoolean;
4560
4843
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -4566,20 +4849,39 @@ declare const AdapterSchemas: {
4566
4849
  }, _$zod_v4_core0.$strip>>;
4567
4850
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
4568
4851
  sessionId: _$zod.ZodString;
4569
- servers: _$zod.ZodArray<_$zod.ZodObject<{
4570
- name: _$zod.ZodString;
4571
- transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
4572
- type: _$zod.ZodLiteral<"stdio">;
4573
- command: _$zod.ZodString;
4574
- args: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
4575
- env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4576
- alwaysLoad: _$zod.ZodOptional<_$zod.ZodBoolean>;
4577
- }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
4578
- url: _$zod.ZodString;
4579
- headers: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4580
- tools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
4581
- name: _$zod.ZodString;
4582
- permission_policy: _$zod.ZodEnum<{
4852
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
4853
+ fullName: _$zod.ZodString;
4854
+ originalName: _$zod.ZodString;
4855
+ serverName: _$zod.ZodString;
4856
+ description: _$zod.ZodOptional<_$zod.ZodString>;
4857
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4858
+ exposureMode: _$zod.ZodEnum<{
4859
+ hidden: "hidden";
4860
+ discovery: "discovery";
4861
+ direct: "direct";
4862
+ }>;
4863
+ enabled: _$zod.ZodBoolean;
4864
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4865
+ discovery: "discovery";
4866
+ toolset: "toolset";
4867
+ }>>;
4868
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4869
+ exposed: _$zod.ZodBoolean;
4870
+ }, _$zod_v4_core0.$strip>>;
4871
+ servers: _$zod.ZodArray<_$zod.ZodObject<{
4872
+ name: _$zod.ZodString;
4873
+ transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
4874
+ type: _$zod.ZodLiteral<"stdio">;
4875
+ command: _$zod.ZodString;
4876
+ args: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
4877
+ env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4878
+ alwaysLoad: _$zod.ZodOptional<_$zod.ZodBoolean>;
4879
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
4880
+ url: _$zod.ZodString;
4881
+ headers: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4882
+ tools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
4883
+ name: _$zod.ZodString;
4884
+ permission_policy: _$zod.ZodEnum<{
4583
4885
  always_allow: "always_allow";
4584
4886
  always_ask: "always_ask";
4585
4887
  always_deny: "always_deny";
@@ -4602,28 +4904,9 @@ declare const AdapterSchemas: {
4602
4904
  type: _$zod.ZodLiteral<"http">;
4603
4905
  }, _$zod_v4_core0.$strip>], "type">;
4604
4906
  exposureMode: _$zod.ZodEnum<{
4605
- direct: "direct";
4606
4907
  discovery: "discovery";
4607
- }>;
4608
- }, _$zod_v4_core0.$strip>>;
4609
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
4610
- fullName: _$zod.ZodString;
4611
- originalName: _$zod.ZodString;
4612
- serverName: _$zod.ZodString;
4613
- description: _$zod.ZodOptional<_$zod.ZodString>;
4614
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4615
- exposureMode: _$zod.ZodEnum<{
4616
4908
  direct: "direct";
4617
- discovery: "discovery";
4618
- hidden: "hidden";
4619
4909
  }>;
4620
- enabled: _$zod.ZodBoolean;
4621
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4622
- discovery: "discovery";
4623
- toolset: "toolset";
4624
- }>>;
4625
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4626
- exposed: _$zod.ZodBoolean;
4627
4910
  }, _$zod_v4_core0.$strip>>;
4628
4911
  discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
4629
4912
  fullName: _$zod.ZodString;
@@ -4632,9 +4915,9 @@ declare const AdapterSchemas: {
4632
4915
  description: _$zod.ZodOptional<_$zod.ZodString>;
4633
4916
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4634
4917
  exposureMode: _$zod.ZodEnum<{
4635
- direct: "direct";
4636
- discovery: "discovery";
4637
4918
  hidden: "hidden";
4919
+ discovery: "discovery";
4920
+ direct: "direct";
4638
4921
  }>;
4639
4922
  enabled: _$zod.ZodBoolean;
4640
4923
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -4673,7 +4956,7 @@ declare const AdapterSchemas: {
4673
4956
  success: _$zod.ZodLiteral<true>;
4674
4957
  agentId: _$zod.ZodString;
4675
4958
  adapterId: _$zod.ZodString;
4676
- adapterSessionId: _$zod.ZodString;
4959
+ adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
4677
4960
  sessionId: _$zod.ZodString;
4678
4961
  messageId: _$zod.ZodOptional<_$zod.ZodString>;
4679
4962
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
@@ -4721,7 +5004,7 @@ declare const AdapterSchemas: {
4721
5004
  agents: _$zod.ZodArray<_$zod.ZodObject<{
4722
5005
  agentId: _$zod.ZodString;
4723
5006
  sessionId: _$zod.ZodString;
4724
- adapterSessionId: _$zod.ZodString;
5007
+ adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
4725
5008
  }, _$zod_v4_core0.$strip>>;
4726
5009
  }, _$zod_v4_core0.$strip>;
4727
5010
  };
@@ -4734,7 +5017,7 @@ declare const AdapterSchemas: {
4734
5017
  agent: _$zod.ZodNullable<_$zod.ZodObject<{
4735
5018
  agentId: _$zod.ZodString;
4736
5019
  sessionId: _$zod.ZodString;
4737
- adapterSessionId: _$zod.ZodString;
5020
+ adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
4738
5021
  }, _$zod_v4_core0.$strip>>;
4739
5022
  }, _$zod_v4_core0.$strip>;
4740
5023
  };
@@ -4754,6 +5037,7 @@ declare const AdapterSchemas: {
4754
5037
  cwd: _$zod.ZodOptional<_$zod.ZodString>;
4755
5038
  model: _$zod.ZodOptional<_$zod.ZodString>;
4756
5039
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
5040
+ resumeAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
4757
5041
  }, _$zod_v4_core0.$strip>;
4758
5042
  response: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
4759
5043
  };
@@ -4777,7 +5061,7 @@ declare const AdapterSchemas: {
4777
5061
  'session.created': _$zod.ZodObject<{
4778
5062
  adapterId: _$zod.ZodString;
4779
5063
  adapterName: _$zod.ZodString;
4780
- adapterSessionId: _$zod.ZodString;
5064
+ adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
4781
5065
  sessionId: _$zod.ZodString;
4782
5066
  model: _$zod.ZodString;
4783
5067
  }, _$zod_v4_core0.$strip>;
@@ -4790,6 +5074,7 @@ declare const AdapterSchemas: {
4790
5074
  title: _$zod.ZodOptional<_$zod.ZodString>;
4791
5075
  logFilePath: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
4792
5076
  startedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
5077
+ machineId: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
4793
5078
  }, _$zod_v4_core0.$strip>, _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
4794
5079
  kind: _$zod.ZodLiteral<"root">;
4795
5080
  parentAdapterSessionId: _$zod.ZodNull;
@@ -4797,7 +5082,7 @@ declare const AdapterSchemas: {
4797
5082
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
4798
5083
  kind: _$zod.ZodLiteral<"fork">;
4799
5084
  parentAdapterSessionId: _$zod.ZodString;
4800
- forkPointMessageId: _$zod.ZodString;
5085
+ forkPointMessageId: _$zod.ZodNullable<_$zod.ZodString>;
4801
5086
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
4802
5087
  kind: _$zod.ZodLiteral<"subagent">;
4803
5088
  parentAdapterSessionId: _$zod.ZodString;
@@ -4811,7 +5096,7 @@ declare const AdapterSchemas: {
4811
5096
  adapterId: _$zod.ZodString;
4812
5097
  adapterName: _$zod.ZodString;
4813
5098
  sessionId: _$zod.ZodString;
4814
- adapterSessionId: _$zod.ZodString;
5099
+ adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
4815
5100
  totalInputTokens: _$zod.ZodNumber;
4816
5101
  totalOutputTokens: _$zod.ZodNumber;
4817
5102
  totalCalls: _$zod.ZodNumber;
@@ -5196,6 +5481,36 @@ declare const StartAgentSchema: {
5196
5481
  fullPrefix: "fullPrefix";
5197
5482
  }>>;
5198
5483
  turnContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
5484
+ nativeLocality: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
5485
+ kind: z.ZodLiteral<"native">;
5486
+ }, z.core.$strip>, z.ZodObject<{
5487
+ kind: z.ZodLiteral<"degrade">;
5488
+ reason: z.ZodEnum<{
5489
+ "adapter-unsupported": "adapter-unsupported";
5490
+ "adapter-mismatch": "adapter-mismatch";
5491
+ "no-adapter-session": "no-adapter-session";
5492
+ "missing-machine-id": "missing-machine-id";
5493
+ "machine-mismatch": "machine-mismatch";
5494
+ "cwd-mismatch": "cwd-mismatch";
5495
+ "transforms-present": "transforms-present";
5496
+ "compression-present": "compression-present";
5497
+ "connector-swap": "connector-swap";
5498
+ "mid-history-unsupported": "mid-history-unsupported";
5499
+ "hybrid-imported-orchestrated": "hybrid-imported-orchestrated";
5500
+ "native-attempt-failed": "native-attempt-failed";
5501
+ "agent-already-started": "agent-already-started";
5502
+ "fork-point-unresolvable": "fork-point-unresolvable";
5503
+ }>;
5504
+ }, z.core.$strip>, z.ZodObject<{
5505
+ kind: z.ZodLiteral<"foreign">;
5506
+ machineId: z.ZodString;
5507
+ }, z.core.$strip>], "kind">>;
5508
+ nativeFork: z.ZodOptional<z.ZodObject<{
5509
+ sourceSessionId: z.ZodString;
5510
+ sourceAdapterSessionId: z.ZodString;
5511
+ forkPointMessageId: z.ZodOptional<z.ZodString>;
5512
+ targetWorkingDirectory: z.ZodOptional<z.ZodString>;
5513
+ }, z.core.$strip>>;
5199
5514
  }, z.core.$strip>>;
5200
5515
  mcpSessionContext: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
5201
5516
  sessionId: z.ZodString;
@@ -5237,8 +5552,8 @@ declare const StartAgentSchema: {
5237
5552
  type: z.ZodLiteral<"http">;
5238
5553
  }, z.core.$strip>], "type">;
5239
5554
  exposureMode: z.ZodEnum<{
5240
- direct: "direct";
5241
5555
  discovery: "discovery";
5556
+ direct: "direct";
5242
5557
  }>;
5243
5558
  }, z.core.$strip>>;
5244
5559
  directTools: z.ZodArray<z.ZodObject<{
@@ -5248,9 +5563,9 @@ declare const StartAgentSchema: {
5248
5563
  description: z.ZodOptional<z.ZodString>;
5249
5564
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5250
5565
  exposureMode: z.ZodEnum<{
5251
- direct: "direct";
5252
- discovery: "discovery";
5253
5566
  hidden: "hidden";
5567
+ discovery: "discovery";
5568
+ direct: "direct";
5254
5569
  }>;
5255
5570
  enabled: z.ZodBoolean;
5256
5571
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -5267,9 +5582,9 @@ declare const StartAgentSchema: {
5267
5582
  description: z.ZodOptional<z.ZodString>;
5268
5583
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5269
5584
  exposureMode: z.ZodEnum<{
5270
- direct: "direct";
5271
- discovery: "discovery";
5272
5585
  hidden: "hidden";
5586
+ discovery: "discovery";
5587
+ direct: "direct";
5273
5588
  }>;
5274
5589
  enabled: z.ZodBoolean;
5275
5590
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -5281,6 +5596,25 @@ declare const StartAgentSchema: {
5281
5596
  }, z.core.$strip>>;
5282
5597
  }, z.core.$strip>, z.ZodObject<{
5283
5598
  sessionId: z.ZodString;
5599
+ directTools: z.ZodArray<z.ZodObject<{
5600
+ fullName: z.ZodString;
5601
+ originalName: z.ZodString;
5602
+ serverName: z.ZodString;
5603
+ description: z.ZodOptional<z.ZodString>;
5604
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5605
+ exposureMode: z.ZodEnum<{
5606
+ hidden: "hidden";
5607
+ discovery: "discovery";
5608
+ direct: "direct";
5609
+ }>;
5610
+ enabled: z.ZodBoolean;
5611
+ enabledBy: z.ZodOptional<z.ZodEnum<{
5612
+ discovery: "discovery";
5613
+ toolset: "toolset";
5614
+ }>>;
5615
+ enabledAt: z.ZodOptional<z.ZodNumber>;
5616
+ exposed: z.ZodBoolean;
5617
+ }, z.core.$strip>>;
5284
5618
  servers: z.ZodArray<z.ZodObject<{
5285
5619
  name: z.ZodString;
5286
5620
  transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -5317,28 +5651,9 @@ declare const StartAgentSchema: {
5317
5651
  type: z.ZodLiteral<"http">;
5318
5652
  }, z.core.$strip>], "type">;
5319
5653
  exposureMode: z.ZodEnum<{
5320
- direct: "direct";
5321
5654
  discovery: "discovery";
5322
- }>;
5323
- }, z.core.$strip>>;
5324
- directTools: z.ZodArray<z.ZodObject<{
5325
- fullName: z.ZodString;
5326
- originalName: z.ZodString;
5327
- serverName: z.ZodString;
5328
- description: z.ZodOptional<z.ZodString>;
5329
- inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5330
- exposureMode: z.ZodEnum<{
5331
5655
  direct: "direct";
5332
- discovery: "discovery";
5333
- hidden: "hidden";
5334
5656
  }>;
5335
- enabled: z.ZodBoolean;
5336
- enabledBy: z.ZodOptional<z.ZodEnum<{
5337
- discovery: "discovery";
5338
- toolset: "toolset";
5339
- }>>;
5340
- enabledAt: z.ZodOptional<z.ZodNumber>;
5341
- exposed: z.ZodBoolean;
5342
5657
  }, z.core.$strip>>;
5343
5658
  discoverableTools: z.ZodArray<z.ZodObject<{
5344
5659
  fullName: z.ZodString;
@@ -5347,9 +5662,9 @@ declare const StartAgentSchema: {
5347
5662
  description: z.ZodOptional<z.ZodString>;
5348
5663
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5349
5664
  exposureMode: z.ZodEnum<{
5350
- direct: "direct";
5351
- discovery: "discovery";
5352
5665
  hidden: "hidden";
5666
+ discovery: "discovery";
5667
+ direct: "direct";
5353
5668
  }>;
5354
5669
  enabled: z.ZodBoolean;
5355
5670
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -5384,6 +5699,9 @@ declare const StartAgentSchema: {
5384
5699
  mode: z.ZodLiteral<"fork">;
5385
5700
  sessionId: z.ZodString;
5386
5701
  sourceSessionId: z.ZodString;
5702
+ sourceAdapterSessionId: z.ZodString;
5703
+ forkPointMessageId: z.ZodOptional<z.ZodString>;
5704
+ targetWorkingDirectory: z.ZodOptional<z.ZodString>;
5387
5705
  }, z.core.$strip>, z.ZodObject<{
5388
5706
  adapterId: z.ZodString;
5389
5707
  harnessId: z.ZodOptional<z.ZodString>;
@@ -5664,6 +5982,36 @@ declare const StartAgentSchema: {
5664
5982
  fullPrefix: "fullPrefix";
5665
5983
  }>>;
5666
5984
  turnContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
5985
+ nativeLocality: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
5986
+ kind: z.ZodLiteral<"native">;
5987
+ }, z.core.$strip>, z.ZodObject<{
5988
+ kind: z.ZodLiteral<"degrade">;
5989
+ reason: z.ZodEnum<{
5990
+ "adapter-unsupported": "adapter-unsupported";
5991
+ "adapter-mismatch": "adapter-mismatch";
5992
+ "no-adapter-session": "no-adapter-session";
5993
+ "missing-machine-id": "missing-machine-id";
5994
+ "machine-mismatch": "machine-mismatch";
5995
+ "cwd-mismatch": "cwd-mismatch";
5996
+ "transforms-present": "transforms-present";
5997
+ "compression-present": "compression-present";
5998
+ "connector-swap": "connector-swap";
5999
+ "mid-history-unsupported": "mid-history-unsupported";
6000
+ "hybrid-imported-orchestrated": "hybrid-imported-orchestrated";
6001
+ "native-attempt-failed": "native-attempt-failed";
6002
+ "agent-already-started": "agent-already-started";
6003
+ "fork-point-unresolvable": "fork-point-unresolvable";
6004
+ }>;
6005
+ }, z.core.$strip>, z.ZodObject<{
6006
+ kind: z.ZodLiteral<"foreign">;
6007
+ machineId: z.ZodString;
6008
+ }, z.core.$strip>], "kind">>;
6009
+ nativeFork: z.ZodOptional<z.ZodObject<{
6010
+ sourceSessionId: z.ZodString;
6011
+ sourceAdapterSessionId: z.ZodString;
6012
+ forkPointMessageId: z.ZodOptional<z.ZodString>;
6013
+ targetWorkingDirectory: z.ZodOptional<z.ZodString>;
6014
+ }, z.core.$strip>>;
5667
6015
  }, z.core.$strip>>;
5668
6016
  mcpSessionContext: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
5669
6017
  sessionId: z.ZodString;
@@ -5705,8 +6053,8 @@ declare const StartAgentSchema: {
5705
6053
  type: z.ZodLiteral<"http">;
5706
6054
  }, z.core.$strip>], "type">;
5707
6055
  exposureMode: z.ZodEnum<{
5708
- direct: "direct";
5709
6056
  discovery: "discovery";
6057
+ direct: "direct";
5710
6058
  }>;
5711
6059
  }, z.core.$strip>>;
5712
6060
  directTools: z.ZodArray<z.ZodObject<{
@@ -5716,9 +6064,9 @@ declare const StartAgentSchema: {
5716
6064
  description: z.ZodOptional<z.ZodString>;
5717
6065
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5718
6066
  exposureMode: z.ZodEnum<{
5719
- direct: "direct";
5720
- discovery: "discovery";
5721
6067
  hidden: "hidden";
6068
+ discovery: "discovery";
6069
+ direct: "direct";
5722
6070
  }>;
5723
6071
  enabled: z.ZodBoolean;
5724
6072
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -5735,9 +6083,9 @@ declare const StartAgentSchema: {
5735
6083
  description: z.ZodOptional<z.ZodString>;
5736
6084
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5737
6085
  exposureMode: z.ZodEnum<{
5738
- direct: "direct";
5739
- discovery: "discovery";
5740
6086
  hidden: "hidden";
6087
+ discovery: "discovery";
6088
+ direct: "direct";
5741
6089
  }>;
5742
6090
  enabled: z.ZodBoolean;
5743
6091
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -5749,6 +6097,25 @@ declare const StartAgentSchema: {
5749
6097
  }, z.core.$strip>>;
5750
6098
  }, z.core.$strip>, z.ZodObject<{
5751
6099
  sessionId: z.ZodString;
6100
+ directTools: z.ZodArray<z.ZodObject<{
6101
+ fullName: z.ZodString;
6102
+ originalName: z.ZodString;
6103
+ serverName: z.ZodString;
6104
+ description: z.ZodOptional<z.ZodString>;
6105
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6106
+ exposureMode: z.ZodEnum<{
6107
+ hidden: "hidden";
6108
+ discovery: "discovery";
6109
+ direct: "direct";
6110
+ }>;
6111
+ enabled: z.ZodBoolean;
6112
+ enabledBy: z.ZodOptional<z.ZodEnum<{
6113
+ discovery: "discovery";
6114
+ toolset: "toolset";
6115
+ }>>;
6116
+ enabledAt: z.ZodOptional<z.ZodNumber>;
6117
+ exposed: z.ZodBoolean;
6118
+ }, z.core.$strip>>;
5752
6119
  servers: z.ZodArray<z.ZodObject<{
5753
6120
  name: z.ZodString;
5754
6121
  transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -5785,28 +6152,9 @@ declare const StartAgentSchema: {
5785
6152
  type: z.ZodLiteral<"http">;
5786
6153
  }, z.core.$strip>], "type">;
5787
6154
  exposureMode: z.ZodEnum<{
5788
- direct: "direct";
5789
6155
  discovery: "discovery";
5790
- }>;
5791
- }, z.core.$strip>>;
5792
- directTools: z.ZodArray<z.ZodObject<{
5793
- fullName: z.ZodString;
5794
- originalName: z.ZodString;
5795
- serverName: z.ZodString;
5796
- description: z.ZodOptional<z.ZodString>;
5797
- inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5798
- exposureMode: z.ZodEnum<{
5799
6156
  direct: "direct";
5800
- discovery: "discovery";
5801
- hidden: "hidden";
5802
6157
  }>;
5803
- enabled: z.ZodBoolean;
5804
- enabledBy: z.ZodOptional<z.ZodEnum<{
5805
- discovery: "discovery";
5806
- toolset: "toolset";
5807
- }>>;
5808
- enabledAt: z.ZodOptional<z.ZodNumber>;
5809
- exposed: z.ZodBoolean;
5810
6158
  }, z.core.$strip>>;
5811
6159
  discoverableTools: z.ZodArray<z.ZodObject<{
5812
6160
  fullName: z.ZodString;
@@ -5815,9 +6163,9 @@ declare const StartAgentSchema: {
5815
6163
  description: z.ZodOptional<z.ZodString>;
5816
6164
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5817
6165
  exposureMode: z.ZodEnum<{
5818
- direct: "direct";
5819
- discovery: "discovery";
5820
6166
  hidden: "hidden";
6167
+ discovery: "discovery";
6168
+ direct: "direct";
5821
6169
  }>;
5822
6170
  enabled: z.ZodBoolean;
5823
6171
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -6132,6 +6480,36 @@ declare const StartAgentSchema: {
6132
6480
  fullPrefix: "fullPrefix";
6133
6481
  }>>;
6134
6482
  turnContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
6483
+ nativeLocality: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
6484
+ kind: z.ZodLiteral<"native">;
6485
+ }, z.core.$strip>, z.ZodObject<{
6486
+ kind: z.ZodLiteral<"degrade">;
6487
+ reason: z.ZodEnum<{
6488
+ "adapter-unsupported": "adapter-unsupported";
6489
+ "adapter-mismatch": "adapter-mismatch";
6490
+ "no-adapter-session": "no-adapter-session";
6491
+ "missing-machine-id": "missing-machine-id";
6492
+ "machine-mismatch": "machine-mismatch";
6493
+ "cwd-mismatch": "cwd-mismatch";
6494
+ "transforms-present": "transforms-present";
6495
+ "compression-present": "compression-present";
6496
+ "connector-swap": "connector-swap";
6497
+ "mid-history-unsupported": "mid-history-unsupported";
6498
+ "hybrid-imported-orchestrated": "hybrid-imported-orchestrated";
6499
+ "native-attempt-failed": "native-attempt-failed";
6500
+ "agent-already-started": "agent-already-started";
6501
+ "fork-point-unresolvable": "fork-point-unresolvable";
6502
+ }>;
6503
+ }, z.core.$strip>, z.ZodObject<{
6504
+ kind: z.ZodLiteral<"foreign">;
6505
+ machineId: z.ZodString;
6506
+ }, z.core.$strip>], "kind">>;
6507
+ nativeFork: z.ZodOptional<z.ZodObject<{
6508
+ sourceSessionId: z.ZodString;
6509
+ sourceAdapterSessionId: z.ZodString;
6510
+ forkPointMessageId: z.ZodOptional<z.ZodString>;
6511
+ targetWorkingDirectory: z.ZodOptional<z.ZodString>;
6512
+ }, z.core.$strip>>;
6135
6513
  }, z.core.$strip>>;
6136
6514
  mcpSessionContext: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
6137
6515
  sessionId: z.ZodString;
@@ -6173,8 +6551,8 @@ declare const StartAgentSchema: {
6173
6551
  type: z.ZodLiteral<"http">;
6174
6552
  }, z.core.$strip>], "type">;
6175
6553
  exposureMode: z.ZodEnum<{
6176
- direct: "direct";
6177
6554
  discovery: "discovery";
6555
+ direct: "direct";
6178
6556
  }>;
6179
6557
  }, z.core.$strip>>;
6180
6558
  directTools: z.ZodArray<z.ZodObject<{
@@ -6184,9 +6562,9 @@ declare const StartAgentSchema: {
6184
6562
  description: z.ZodOptional<z.ZodString>;
6185
6563
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6186
6564
  exposureMode: z.ZodEnum<{
6187
- direct: "direct";
6188
- discovery: "discovery";
6189
6565
  hidden: "hidden";
6566
+ discovery: "discovery";
6567
+ direct: "direct";
6190
6568
  }>;
6191
6569
  enabled: z.ZodBoolean;
6192
6570
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -6203,9 +6581,9 @@ declare const StartAgentSchema: {
6203
6581
  description: z.ZodOptional<z.ZodString>;
6204
6582
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6205
6583
  exposureMode: z.ZodEnum<{
6206
- direct: "direct";
6207
- discovery: "discovery";
6208
6584
  hidden: "hidden";
6585
+ discovery: "discovery";
6586
+ direct: "direct";
6209
6587
  }>;
6210
6588
  enabled: z.ZodBoolean;
6211
6589
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -6217,6 +6595,25 @@ declare const StartAgentSchema: {
6217
6595
  }, z.core.$strip>>;
6218
6596
  }, z.core.$strip>, z.ZodObject<{
6219
6597
  sessionId: z.ZodString;
6598
+ directTools: z.ZodArray<z.ZodObject<{
6599
+ fullName: z.ZodString;
6600
+ originalName: z.ZodString;
6601
+ serverName: z.ZodString;
6602
+ description: z.ZodOptional<z.ZodString>;
6603
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6604
+ exposureMode: z.ZodEnum<{
6605
+ hidden: "hidden";
6606
+ discovery: "discovery";
6607
+ direct: "direct";
6608
+ }>;
6609
+ enabled: z.ZodBoolean;
6610
+ enabledBy: z.ZodOptional<z.ZodEnum<{
6611
+ discovery: "discovery";
6612
+ toolset: "toolset";
6613
+ }>>;
6614
+ enabledAt: z.ZodOptional<z.ZodNumber>;
6615
+ exposed: z.ZodBoolean;
6616
+ }, z.core.$strip>>;
6220
6617
  servers: z.ZodArray<z.ZodObject<{
6221
6618
  name: z.ZodString;
6222
6619
  transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -6253,28 +6650,9 @@ declare const StartAgentSchema: {
6253
6650
  type: z.ZodLiteral<"http">;
6254
6651
  }, z.core.$strip>], "type">;
6255
6652
  exposureMode: z.ZodEnum<{
6256
- direct: "direct";
6257
6653
  discovery: "discovery";
6258
- }>;
6259
- }, z.core.$strip>>;
6260
- directTools: z.ZodArray<z.ZodObject<{
6261
- fullName: z.ZodString;
6262
- originalName: z.ZodString;
6263
- serverName: z.ZodString;
6264
- description: z.ZodOptional<z.ZodString>;
6265
- inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6266
- exposureMode: z.ZodEnum<{
6267
6654
  direct: "direct";
6268
- discovery: "discovery";
6269
- hidden: "hidden";
6270
6655
  }>;
6271
- enabled: z.ZodBoolean;
6272
- enabledBy: z.ZodOptional<z.ZodEnum<{
6273
- discovery: "discovery";
6274
- toolset: "toolset";
6275
- }>>;
6276
- enabledAt: z.ZodOptional<z.ZodNumber>;
6277
- exposed: z.ZodBoolean;
6278
6656
  }, z.core.$strip>>;
6279
6657
  discoverableTools: z.ZodArray<z.ZodObject<{
6280
6658
  fullName: z.ZodString;
@@ -6283,9 +6661,9 @@ declare const StartAgentSchema: {
6283
6661
  description: z.ZodOptional<z.ZodString>;
6284
6662
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6285
6663
  exposureMode: z.ZodEnum<{
6286
- direct: "direct";
6287
- discovery: "discovery";
6288
6664
  hidden: "hidden";
6665
+ discovery: "discovery";
6666
+ direct: "direct";
6289
6667
  }>;
6290
6668
  enabled: z.ZodBoolean;
6291
6669
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -6324,7 +6702,7 @@ declare const StartAgentSchema: {
6324
6702
  success: z.ZodLiteral<true>;
6325
6703
  agentId: z.ZodString;
6326
6704
  adapterId: z.ZodString;
6327
- adapterSessionId: z.ZodString;
6705
+ adapterSessionId: z.ZodOptional<z.ZodString>;
6328
6706
  sessionId: z.ZodString;
6329
6707
  messageId: z.ZodOptional<z.ZodString>;
6330
6708
  }, z.core.$strip>, z.ZodObject<{
@@ -6367,6 +6745,7 @@ declare const RehydrateAgentSchema: {
6367
6745
  cwd: z.ZodOptional<z.ZodString>;
6368
6746
  model: z.ZodOptional<z.ZodString>;
6369
6747
  adapterSessionId: z.ZodOptional<z.ZodString>;
6748
+ resumeAdapterSessionId: z.ZodOptional<z.ZodString>;
6370
6749
  }, z.core.$strip>; /** Empty response - success is implicit, errors throw */
6371
6750
  response: z.ZodObject<{}, z.core.$strip>;
6372
6751
  };
@@ -6388,7 +6767,7 @@ declare const SessionUsageSchema: z.ZodObject<{
6388
6767
  adapterId: z.ZodString;
6389
6768
  adapterName: z.ZodString;
6390
6769
  sessionId: z.ZodString;
6391
- adapterSessionId: z.ZodString;
6770
+ adapterSessionId: z.ZodOptional<z.ZodString>;
6392
6771
  totalInputTokens: z.ZodNumber;
6393
6772
  totalOutputTokens: z.ZodNumber;
6394
6773
  totalCalls: z.ZodNumber;
@@ -6405,6 +6784,7 @@ declare const SessionDiscoveredSchema$1: z.ZodIntersection<z.ZodObject<{
6405
6784
  title: z.ZodOptional<z.ZodString>;
6406
6785
  logFilePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6407
6786
  startedAt: z.ZodOptional<z.ZodNumber>;
6787
+ machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6408
6788
  }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
6409
6789
  kind: z.ZodLiteral<"root">;
6410
6790
  parentAdapterSessionId: z.ZodNull;
@@ -6412,7 +6792,7 @@ declare const SessionDiscoveredSchema$1: z.ZodIntersection<z.ZodObject<{
6412
6792
  }, z.core.$strip>, z.ZodObject<{
6413
6793
  kind: z.ZodLiteral<"fork">;
6414
6794
  parentAdapterSessionId: z.ZodString;
6415
- forkPointMessageId: z.ZodString;
6795
+ forkPointMessageId: z.ZodNullable<z.ZodString>;
6416
6796
  }, z.core.$strip>, z.ZodObject<{
6417
6797
  kind: z.ZodLiteral<"subagent">;
6418
6798
  parentAdapterSessionId: z.ZodString;
@@ -6462,6 +6842,25 @@ declare const AgentSelectionBaseSchema: z.ZodObject<{
6462
6842
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
6463
6843
  mcpSessionContext: z.ZodOptional<z.ZodObject<{
6464
6844
  sessionId: z.ZodString;
6845
+ directTools: z.ZodArray<z.ZodObject<{
6846
+ fullName: z.ZodString;
6847
+ originalName: z.ZodString;
6848
+ serverName: z.ZodString;
6849
+ description: z.ZodOptional<z.ZodString>;
6850
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6851
+ exposureMode: z.ZodEnum<{
6852
+ hidden: "hidden";
6853
+ discovery: "discovery";
6854
+ direct: "direct";
6855
+ }>;
6856
+ enabled: z.ZodBoolean;
6857
+ enabledBy: z.ZodOptional<z.ZodEnum<{
6858
+ discovery: "discovery";
6859
+ toolset: "toolset";
6860
+ }>>;
6861
+ enabledAt: z.ZodOptional<z.ZodNumber>;
6862
+ exposed: z.ZodBoolean;
6863
+ }, z.core.$strip>>;
6465
6864
  servers: z.ZodArray<z.ZodObject<{
6466
6865
  name: z.ZodString;
6467
6866
  transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -6498,28 +6897,9 @@ declare const AgentSelectionBaseSchema: z.ZodObject<{
6498
6897
  type: z.ZodLiteral<"http">;
6499
6898
  }, z.core.$strip>], "type">;
6500
6899
  exposureMode: z.ZodEnum<{
6501
- direct: "direct";
6502
6900
  discovery: "discovery";
6503
- }>;
6504
- }, z.core.$strip>>;
6505
- directTools: z.ZodArray<z.ZodObject<{
6506
- fullName: z.ZodString;
6507
- originalName: z.ZodString;
6508
- serverName: z.ZodString;
6509
- description: z.ZodOptional<z.ZodString>;
6510
- inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6511
- exposureMode: z.ZodEnum<{
6512
6901
  direct: "direct";
6513
- discovery: "discovery";
6514
- hidden: "hidden";
6515
6902
  }>;
6516
- enabled: z.ZodBoolean;
6517
- enabledBy: z.ZodOptional<z.ZodEnum<{
6518
- discovery: "discovery";
6519
- toolset: "toolset";
6520
- }>>;
6521
- enabledAt: z.ZodOptional<z.ZodNumber>;
6522
- exposed: z.ZodBoolean;
6523
6903
  }, z.core.$strip>>;
6524
6904
  discoverableTools: z.ZodArray<z.ZodObject<{
6525
6905
  fullName: z.ZodString;
@@ -6528,9 +6908,9 @@ declare const AgentSelectionBaseSchema: z.ZodObject<{
6528
6908
  description: z.ZodOptional<z.ZodString>;
6529
6909
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6530
6910
  exposureMode: z.ZodEnum<{
6531
- direct: "direct";
6532
- discovery: "discovery";
6533
6911
  hidden: "hidden";
6912
+ discovery: "discovery";
6913
+ direct: "direct";
6534
6914
  }>;
6535
6915
  enabled: z.ZodBoolean;
6536
6916
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -6581,6 +6961,25 @@ declare const AdapterSelectionSchema: z.ZodObject<{
6581
6961
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
6582
6962
  mcpSessionContext: z.ZodOptional<z.ZodObject<{
6583
6963
  sessionId: z.ZodString;
6964
+ directTools: z.ZodArray<z.ZodObject<{
6965
+ fullName: z.ZodString;
6966
+ originalName: z.ZodString;
6967
+ serverName: z.ZodString;
6968
+ description: z.ZodOptional<z.ZodString>;
6969
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6970
+ exposureMode: z.ZodEnum<{
6971
+ hidden: "hidden";
6972
+ discovery: "discovery";
6973
+ direct: "direct";
6974
+ }>;
6975
+ enabled: z.ZodBoolean;
6976
+ enabledBy: z.ZodOptional<z.ZodEnum<{
6977
+ discovery: "discovery";
6978
+ toolset: "toolset";
6979
+ }>>;
6980
+ enabledAt: z.ZodOptional<z.ZodNumber>;
6981
+ exposed: z.ZodBoolean;
6982
+ }, z.core.$strip>>;
6584
6983
  servers: z.ZodArray<z.ZodObject<{
6585
6984
  name: z.ZodString;
6586
6985
  transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -6617,28 +7016,9 @@ declare const AdapterSelectionSchema: z.ZodObject<{
6617
7016
  type: z.ZodLiteral<"http">;
6618
7017
  }, z.core.$strip>], "type">;
6619
7018
  exposureMode: z.ZodEnum<{
6620
- direct: "direct";
6621
7019
  discovery: "discovery";
6622
- }>;
6623
- }, z.core.$strip>>;
6624
- directTools: z.ZodArray<z.ZodObject<{
6625
- fullName: z.ZodString;
6626
- originalName: z.ZodString;
6627
- serverName: z.ZodString;
6628
- description: z.ZodOptional<z.ZodString>;
6629
- inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6630
- exposureMode: z.ZodEnum<{
6631
7020
  direct: "direct";
6632
- discovery: "discovery";
6633
- hidden: "hidden";
6634
7021
  }>;
6635
- enabled: z.ZodBoolean;
6636
- enabledBy: z.ZodOptional<z.ZodEnum<{
6637
- discovery: "discovery";
6638
- toolset: "toolset";
6639
- }>>;
6640
- enabledAt: z.ZodOptional<z.ZodNumber>;
6641
- exposed: z.ZodBoolean;
6642
7022
  }, z.core.$strip>>;
6643
7023
  discoverableTools: z.ZodArray<z.ZodObject<{
6644
7024
  fullName: z.ZodString;
@@ -6647,9 +7027,9 @@ declare const AdapterSelectionSchema: z.ZodObject<{
6647
7027
  description: z.ZodOptional<z.ZodString>;
6648
7028
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6649
7029
  exposureMode: z.ZodEnum<{
6650
- direct: "direct";
6651
- discovery: "discovery";
6652
7030
  hidden: "hidden";
7031
+ discovery: "discovery";
7032
+ direct: "direct";
6653
7033
  }>;
6654
7034
  enabled: z.ZodBoolean;
6655
7035
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -6731,6 +7111,25 @@ declare const AgentSelectionSchema: z.ZodObject<{
6731
7111
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
6732
7112
  mcpSessionContext: z.ZodOptional<z.ZodObject<{
6733
7113
  sessionId: z.ZodString;
7114
+ directTools: z.ZodArray<z.ZodObject<{
7115
+ fullName: z.ZodString;
7116
+ originalName: z.ZodString;
7117
+ serverName: z.ZodString;
7118
+ description: z.ZodOptional<z.ZodString>;
7119
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
7120
+ exposureMode: z.ZodEnum<{
7121
+ hidden: "hidden";
7122
+ discovery: "discovery";
7123
+ direct: "direct";
7124
+ }>;
7125
+ enabled: z.ZodBoolean;
7126
+ enabledBy: z.ZodOptional<z.ZodEnum<{
7127
+ discovery: "discovery";
7128
+ toolset: "toolset";
7129
+ }>>;
7130
+ enabledAt: z.ZodOptional<z.ZodNumber>;
7131
+ exposed: z.ZodBoolean;
7132
+ }, z.core.$strip>>;
6734
7133
  servers: z.ZodArray<z.ZodObject<{
6735
7134
  name: z.ZodString;
6736
7135
  transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -6767,28 +7166,9 @@ declare const AgentSelectionSchema: z.ZodObject<{
6767
7166
  type: z.ZodLiteral<"http">;
6768
7167
  }, z.core.$strip>], "type">;
6769
7168
  exposureMode: z.ZodEnum<{
6770
- direct: "direct";
6771
7169
  discovery: "discovery";
6772
- }>;
6773
- }, z.core.$strip>>;
6774
- directTools: z.ZodArray<z.ZodObject<{
6775
- fullName: z.ZodString;
6776
- originalName: z.ZodString;
6777
- serverName: z.ZodString;
6778
- description: z.ZodOptional<z.ZodString>;
6779
- inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6780
- exposureMode: z.ZodEnum<{
6781
7170
  direct: "direct";
6782
- discovery: "discovery";
6783
- hidden: "hidden";
6784
7171
  }>;
6785
- enabled: z.ZodBoolean;
6786
- enabledBy: z.ZodOptional<z.ZodEnum<{
6787
- discovery: "discovery";
6788
- toolset: "toolset";
6789
- }>>;
6790
- enabledAt: z.ZodOptional<z.ZodNumber>;
6791
- exposed: z.ZodBoolean;
6792
7172
  }, z.core.$strip>>;
6793
7173
  discoverableTools: z.ZodArray<z.ZodObject<{
6794
7174
  fullName: z.ZodString;
@@ -6797,9 +7177,9 @@ declare const AgentSelectionSchema: z.ZodObject<{
6797
7177
  description: z.ZodOptional<z.ZodString>;
6798
7178
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6799
7179
  exposureMode: z.ZodEnum<{
6800
- direct: "direct";
6801
- discovery: "discovery";
6802
7180
  hidden: "hidden";
7181
+ discovery: "discovery";
7182
+ direct: "direct";
6803
7183
  }>;
6804
7184
  enabled: z.ZodBoolean;
6805
7185
  enabledBy: z.ZodOptional<z.ZodEnum<{