@makaio/framework 1.0.0-dev-1790783144258 → 1.0.0-dev-1791471149180

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 (115) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapters/claude/index.d.mts +20 -20
  3. package/dist/artifact-D3VD0bDr.mjs +1 -0
  4. package/dist/bus/index.mjs +1 -1
  5. package/dist/bus-CzD5SUBY.mjs +9 -0
  6. package/dist/contracts/adapter/index.d.mts +2 -2
  7. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  8. package/dist/contracts/artifact/index.d.mts +3 -3
  9. package/dist/contracts/artifact/index.mjs +1 -1
  10. package/dist/contracts/automation-trigger/index.d.mts +1 -1
  11. package/dist/contracts/capabilities/index.d.mts +1 -1
  12. package/dist/contracts/client/index.d.mts +2 -2
  13. package/dist/contracts/extension/index.d.mts +4 -4
  14. package/dist/contracts/harness/index.d.mts +1 -1
  15. package/dist/contracts/index.d.mts +77 -77
  16. package/dist/contracts/index.mjs +1 -1
  17. package/dist/contracts/materialization/index.d.mts +2 -2
  18. package/dist/contracts/materialization/index.mjs +1 -1
  19. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  20. package/dist/contracts/reaction/index.d.mts +1 -1
  21. package/dist/contracts/session/index.d.mts +2 -2
  22. package/dist/contracts/variant/index.d.mts +1 -1
  23. package/dist/contracts/worker/index.d.mts +1 -1
  24. package/dist/contracts/worker/index.mjs +1 -1
  25. package/dist/contracts/workflow/index.d.mts +2 -2
  26. package/dist/contracts/workflow/index.mjs +1 -1
  27. package/dist/{contribution-CsDOPiDo.d.mts → contribution-CCVRsaNB.d.mts} +1 -1
  28. package/dist/{extension-context-BY9o1ITm.d.mts → extension-context-BWrjVPXR.d.mts} +3 -3
  29. package/dist/{framework-packages-blqho6Nk.mjs → framework-packages-CdpSqDeo.mjs} +1 -1
  30. package/dist/{hook-responses-Xxq6QAL2.d.mts → hook-responses-v6EA_7WC.d.mts} +1 -1
  31. package/dist/{index-CDezXPm9.d.mts → index-5NiMVtgh.d.mts} +425 -289
  32. package/dist/{index-BrnOW7-5.d.mts → index-B4IxvgmZ.d.mts} +17 -17
  33. package/dist/{index-VG-C-ZHN.d.mts → index-BKA5-NKn.d.mts} +16 -16
  34. package/dist/{index-Fmdwbgei.d.mts → index-BYFxcF58.d.mts} +7 -7
  35. package/dist/{index-DWWP2cUb.d.mts → index-Bt6KIvVk.d.mts} +1 -1
  36. package/dist/{index-CnVhfLrY.d.mts → index-C3C0hYHu.d.mts} +53 -53
  37. package/dist/{index-PymaxRkQ2.d.mts → index-CFet5T7v2.d.mts} +6 -6
  38. package/dist/{index-Di2-G_3M.d.mts → index-CQQsIg1Z.d.mts} +1 -1
  39. package/dist/{index-D_fMdJbU.d.mts → index-CTScKg_6.d.mts} +8 -8
  40. package/dist/{index-Dnc0PaTv2.d.mts → index-ChwEMUbc2.d.mts} +12 -12
  41. package/dist/{index-DMFFSC7x.d.mts → index-Cxx1aoPR.d.mts} +1 -1
  42. package/dist/{index-Fo4ALycy.d.mts → index-D9rIwIZ_.d.mts} +19 -19
  43. package/dist/{index-D_Zdnh0U.d.mts → index-DHKBs9sY.d.mts} +8 -8
  44. package/dist/{index-OA1A-NWE.d.mts → index-DVorNME3.d.mts} +1 -1
  45. package/dist/{index-chwNKVMu2.d.mts → index-D_1N051p2.d.mts} +37 -37
  46. package/dist/{index-CP7iuxhd2.d.mts → index-DbTxrhan2.d.mts} +4 -4
  47. package/dist/{index-C9X6ei7S.d.mts → index-DneUbrTU.d.mts} +4 -4
  48. package/dist/{index-BBrLhtLK.d.mts → index-MzTQNTb8.d.mts} +1 -1
  49. package/dist/{index-D9Ome4qp.d.mts → index-bYrlVerZ.d.mts} +1 -1
  50. package/dist/kernel/extension/index.d.mts +2 -2
  51. package/dist/kernel/index.d.mts +2 -2
  52. package/dist/kernel/observability/index.d.mts +1 -1
  53. package/dist/{materialization-BzSgnv2R.mjs → materialization-Cqx2hTZU.mjs} +1 -1
  54. package/dist/{namespace-BG35KNtw.d.mts → namespace-C1AVqxHR.d.mts} +4 -4
  55. package/dist/{namespace-BH9U2C1O.d.mts → namespace-ChJ-C9m_.d.mts} +2 -2
  56. package/dist/{namespace-D74MefGI.d.mts → namespace-D89Ih67f.d.mts} +2 -2
  57. package/dist/{namespace-DK5qZpST.d.mts → namespace-D_NJoYyN.d.mts} +6 -6
  58. package/dist/{namespace-DZooy1DW.d.mts → namespace-u4eoUCLp.d.mts} +18 -18
  59. package/dist/package.json +1 -1
  60. package/dist/packages-BOM7wECe.mjs +1 -0
  61. package/dist/{packages-Fy4a6vQy.d.mts → packages-g6BtlUF9.d.mts} +9 -6
  62. package/dist/{schemas-JPaSXxNr.d.mts → schemas-BBMHnFq8.d.mts} +4 -4
  63. package/dist/{schemas-CiJpGURT.d.mts → schemas-C81JlArF.d.mts} +8 -8
  64. package/dist/{schemas-DyTbvDp-.d.mts → schemas-CY2niCMn.d.mts} +54 -11
  65. package/dist/{schemas-CEc_v3dl.d.mts → schemas-DKaUrczB.d.mts} +2 -2
  66. package/dist/{schemas-BvDsO8Is.mjs → schemas-DmP_43fe.mjs} +1 -1
  67. package/dist/{schemas-DnwAE1ao.d.mts → schemas-DrTW-Clp.d.mts} +1 -1
  68. package/dist/{schemas-BYEgjPst2.d.mts → schemas-DrrpHMbF2.d.mts} +7 -7
  69. package/dist/{schemas-CtL2su-K.d.mts → schemas-yyNP39HU.d.mts} +4 -4
  70. package/dist/services/adapter-runtime/index.d.mts +3 -3
  71. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  72. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  73. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  74. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  75. package/dist/services/execution-target/index.d.mts +2 -2
  76. package/dist/services/execution-target/namespace.d.mts +1 -1
  77. package/dist/services/execution-target/schemas.d.mts +1 -1
  78. package/dist/services/filesystem/namespace.d.mts +12 -12
  79. package/dist/services/filesystem/schemas.d.mts +6 -6
  80. package/dist/services/git/namespace.d.mts +2 -2
  81. package/dist/services/git/schemas.d.mts +2 -2
  82. package/dist/services/index.d.mts +36 -36
  83. package/dist/services/index.mjs +1 -1
  84. package/dist/services/materialization/index.d.mts +1 -1
  85. package/dist/services/materialization/index.mjs +1 -1
  86. package/dist/services/preferences/index.d.mts +2 -2
  87. package/dist/services/preferences/schemas.d.mts +1 -1
  88. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  89. package/dist/services/provider-context/index.d.mts +1 -1
  90. package/dist/services/session/handlers/index.d.mts +1 -1
  91. package/dist/services/session/index.d.mts +5 -5
  92. package/dist/services/session/messages/namespace.d.mts +1 -1
  93. package/dist/services/session/session-events/namespace.d.mts +1 -1
  94. package/dist/services/settings/namespace.d.mts +8 -8
  95. package/dist/services/subagent-template/index.d.mts +1 -1
  96. package/dist/services/subagent-template/schemas.d.mts +1 -1
  97. package/dist/services/tools/index.mjs +1 -1
  98. package/dist/services/workflow-transitions/index.mjs +1 -1
  99. package/dist/{session-lineage-DZr5w2-z.d.mts → session-lineage-Bjh0Ccu7.d.mts} +1 -1
  100. package/dist/{storage-namespace-Cl8qtHDu.d.mts → storage-namespace-DoxNJ9Cg.d.mts} +10 -10
  101. package/dist/{tools-Cbuj-ClQ.mjs → tools-EK2HiPee.mjs} +1 -1
  102. package/dist/{transition-CzxHvafT.d.mts → transition-BEbgeCGa.d.mts} +1 -1
  103. package/dist/{types-CRKyrt5_.d.mts → types-C4-76ief.d.mts} +15 -15
  104. package/dist/ui-kernel/index.d.mts +4 -4
  105. package/dist/ui-kernel/pages/namespace.d.mts +4 -4
  106. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  107. package/dist/{view-builder-BLdSezFD.d.mts → view-builder-Cw9R3hvK.d.mts} +1 -1
  108. package/dist/{worker-toBnRJ0A.mjs → worker-DAWXguML.mjs} +1 -1
  109. package/dist/{workflow-BDDB6EJi.mjs → workflow-CS_pwwXn.mjs} +1 -1
  110. package/dist/workflow-engine/index.d.mts +9 -9
  111. package/dist/{workflow-transitions-CvT6P03B.mjs → workflow-transitions-ztq90FUj.mjs} +1 -1
  112. package/package.json +1 -1
  113. package/dist/artifact-XE82Q2bH.mjs +0 -1
  114. package/dist/bus-B-ksy7YX.mjs +0 -9
  115. package/dist/packages-CZ2x-Ver.mjs +0 -1
@@ -1,4 +1,4 @@
1
- import { Hn as BranchKind$1, bn as SessionMessage$1 } from "./types-CRKyrt5_.mjs";
1
+ import { Hn as BranchKind$1, bn as SessionMessage$1 } from "./types-C4-76ief.mjs";
2
2
  import { o as Message$1 } from "./index-D-1RUdHM.mjs";
3
3
  import { t as ContractStorageNamespaceDefinition } from "./storage-namespace-definition--9lrtKns.mjs";
4
4
  import * as _$zod from "zod";
@@ -3159,8 +3159,8 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
3159
3159
  type: _$zod.ZodLiteral<"locality.degraded">;
3160
3160
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
3161
3161
  intent: _$zod.ZodEnum<{
3162
- resume: "resume";
3163
3162
  fork: "fork";
3163
+ resume: "resume";
3164
3164
  }>;
3165
3165
  verdictKind: _$zod.ZodLiteral<"degrade">;
3166
3166
  reason: _$zod.ZodEnum<{
@@ -3185,8 +3185,8 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
3185
3185
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
3186
3186
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
3187
3187
  intent: _$zod.ZodEnum<{
3188
- resume: "resume";
3189
3188
  fork: "fork";
3189
+ resume: "resume";
3190
3190
  }>;
3191
3191
  verdictKind: _$zod.ZodLiteral<"foreign">;
3192
3192
  foreignMachineId: _$zod.ZodString;
@@ -3836,8 +3836,8 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
3836
3836
  type: _$zod.ZodLiteral<"locality.degraded">;
3837
3837
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
3838
3838
  intent: _$zod.ZodEnum<{
3839
- resume: "resume";
3840
3839
  fork: "fork";
3840
+ resume: "resume";
3841
3841
  }>;
3842
3842
  verdictKind: _$zod.ZodLiteral<"degrade">;
3843
3843
  reason: _$zod.ZodEnum<{
@@ -3862,8 +3862,8 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
3862
3862
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
3863
3863
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
3864
3864
  intent: _$zod.ZodEnum<{
3865
- resume: "resume";
3866
3865
  fork: "fork";
3866
+ resume: "resume";
3867
3867
  }>;
3868
3868
  verdictKind: _$zod.ZodLiteral<"foreign">;
3869
3869
  foreignMachineId: _$zod.ZodString;
@@ -3966,8 +3966,8 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
3966
3966
  timestamp: _$zod.ZodNumber;
3967
3967
  }, _$zod_v4_core0.$strip>, _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
3968
3968
  intent: _$zod.ZodEnum<{
3969
- resume: "resume";
3970
3969
  fork: "fork";
3970
+ resume: "resume";
3971
3971
  }>;
3972
3972
  verdictKind: _$zod.ZodLiteral<"degrade">;
3973
3973
  reason: _$zod.ZodEnum<{
@@ -3992,8 +3992,8 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
3992
3992
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
3993
3993
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
3994
3994
  intent: _$zod.ZodEnum<{
3995
- resume: "resume";
3996
3995
  fork: "fork";
3996
+ resume: "resume";
3997
3997
  }>;
3998
3998
  verdictKind: _$zod.ZodLiteral<"foreign">;
3999
3999
  foreignMachineId: _$zod.ZodString;
@@ -4011,8 +4011,8 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
4011
4011
  maxTokens: _$zod.ZodNumber;
4012
4012
  percentage: _$zod.ZodNumber;
4013
4013
  level: _$zod.ZodEnum<{
4014
- ok: "ok";
4015
4014
  warn: "warn";
4015
+ ok: "ok";
4016
4016
  critical: "critical";
4017
4017
  }>;
4018
4018
  lastUpdatedAt: _$zod.ZodNumber;
@@ -4352,8 +4352,8 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
4352
4352
  type: _$zod.ZodLiteral<"locality.degraded">;
4353
4353
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
4354
4354
  intent: _$zod.ZodEnum<{
4355
- resume: "resume";
4356
4355
  fork: "fork";
4356
+ resume: "resume";
4357
4357
  }>;
4358
4358
  verdictKind: _$zod.ZodLiteral<"degrade">;
4359
4359
  reason: _$zod.ZodEnum<{
@@ -4378,8 +4378,8 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
4378
4378
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
4379
4379
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
4380
4380
  intent: _$zod.ZodEnum<{
4381
- resume: "resume";
4382
4381
  fork: "fork";
4382
+ resume: "resume";
4383
4383
  }>;
4384
4384
  verdictKind: _$zod.ZodLiteral<"foreign">;
4385
4385
  foreignMachineId: _$zod.ZodString;
@@ -8292,8 +8292,8 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
8292
8292
  type: _$zod.ZodLiteral<"locality.degraded">;
8293
8293
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
8294
8294
  intent: _$zod.ZodEnum<{
8295
- resume: "resume";
8296
8295
  fork: "fork";
8296
+ resume: "resume";
8297
8297
  }>;
8298
8298
  verdictKind: _$zod.ZodLiteral<"degrade">;
8299
8299
  reason: _$zod.ZodEnum<{
@@ -8318,8 +8318,8 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
8318
8318
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
8319
8319
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
8320
8320
  intent: _$zod.ZodEnum<{
8321
- resume: "resume";
8322
8321
  fork: "fork";
8322
+ resume: "resume";
8323
8323
  }>;
8324
8324
  verdictKind: _$zod.ZodLiteral<"foreign">;
8325
8325
  foreignMachineId: _$zod.ZodString;
@@ -8969,8 +8969,8 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
8969
8969
  type: _$zod.ZodLiteral<"locality.degraded">;
8970
8970
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
8971
8971
  intent: _$zod.ZodEnum<{
8972
- resume: "resume";
8973
8972
  fork: "fork";
8973
+ resume: "resume";
8974
8974
  }>;
8975
8975
  verdictKind: _$zod.ZodLiteral<"degrade">;
8976
8976
  reason: _$zod.ZodEnum<{
@@ -8995,8 +8995,8 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
8995
8995
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
8996
8996
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
8997
8997
  intent: _$zod.ZodEnum<{
8998
- resume: "resume";
8999
8998
  fork: "fork";
8999
+ resume: "resume";
9000
9000
  }>;
9001
9001
  verdictKind: _$zod.ZodLiteral<"foreign">;
9002
9002
  foreignMachineId: _$zod.ZodString;
@@ -9099,8 +9099,8 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
9099
9099
  timestamp: _$zod.ZodNumber;
9100
9100
  }, _$zod_v4_core0.$strip>, _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
9101
9101
  intent: _$zod.ZodEnum<{
9102
- resume: "resume";
9103
9102
  fork: "fork";
9103
+ resume: "resume";
9104
9104
  }>;
9105
9105
  verdictKind: _$zod.ZodLiteral<"degrade">;
9106
9106
  reason: _$zod.ZodEnum<{
@@ -9125,8 +9125,8 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
9125
9125
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
9126
9126
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
9127
9127
  intent: _$zod.ZodEnum<{
9128
- resume: "resume";
9129
9128
  fork: "fork";
9129
+ resume: "resume";
9130
9130
  }>;
9131
9131
  verdictKind: _$zod.ZodLiteral<"foreign">;
9132
9132
  foreignMachineId: _$zod.ZodString;
@@ -9144,8 +9144,8 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
9144
9144
  maxTokens: _$zod.ZodNumber;
9145
9145
  percentage: _$zod.ZodNumber;
9146
9146
  level: _$zod.ZodEnum<{
9147
- ok: "ok";
9148
9147
  warn: "warn";
9148
+ ok: "ok";
9149
9149
  critical: "critical";
9150
9150
  }>;
9151
9151
  lastUpdatedAt: _$zod.ZodNumber;
@@ -9485,8 +9485,8 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
9485
9485
  type: _$zod.ZodLiteral<"locality.degraded">;
9486
9486
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
9487
9487
  intent: _$zod.ZodEnum<{
9488
- resume: "resume";
9489
9488
  fork: "fork";
9489
+ resume: "resume";
9490
9490
  }>;
9491
9491
  verdictKind: _$zod.ZodLiteral<"degrade">;
9492
9492
  reason: _$zod.ZodEnum<{
@@ -9511,8 +9511,8 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
9511
9511
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
9512
9512
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
9513
9513
  intent: _$zod.ZodEnum<{
9514
- resume: "resume";
9515
9514
  fork: "fork";
9515
+ resume: "resume";
9516
9516
  }>;
9517
9517
  verdictKind: _$zod.ZodLiteral<"foreign">;
9518
9518
  foreignMachineId: _$zod.ZodString;
@@ -11099,8 +11099,8 @@ declare const MessageStorageNamespace$1: ContractStorageNamespaceDefinition<"mes
11099
11099
  isError: z.ZodOptional<z.ZodBoolean>;
11100
11100
  }, z.core.$strip>], "type">>;
11101
11101
  agentId: z.ZodOptional<z.ZodString>;
11102
- adapterSessionId: z.ZodOptional<z.ZodString>;
11103
11102
  turnId: z.ZodNullable<z.ZodString>;
11103
+ adapterSessionId: z.ZodOptional<z.ZodString>;
11104
11104
  timestamp: z.ZodNumber;
11105
11105
  contentText: z.ZodString;
11106
11106
  adapterMessageId: z.ZodOptional<z.ZodString>;
@@ -11947,8 +11947,8 @@ declare const MessageStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
11947
11947
  isError: z.ZodOptional<z.ZodBoolean>;
11948
11948
  }, z.core.$strip>], "type">>;
11949
11949
  agentId: z.ZodOptional<z.ZodString>;
11950
- adapterSessionId: z.ZodOptional<z.ZodString>;
11951
11950
  turnId: z.ZodNullable<z.ZodString>;
11951
+ adapterSessionId: z.ZodOptional<z.ZodString>;
11952
11952
  timestamp: z.ZodNumber;
11953
11953
  contentText: z.ZodString;
11954
11954
  adapterMessageId: z.ZodOptional<z.ZodString>;
@@ -13091,8 +13091,8 @@ declare const SessionEventStorageNamespace$1: ContractStorageNamespaceDefinition
13091
13091
  type: z.ZodLiteral<"locality.degraded">;
13092
13092
  payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
13093
13093
  intent: z.ZodEnum<{
13094
- resume: "resume";
13095
13094
  fork: "fork";
13095
+ resume: "resume";
13096
13096
  }>;
13097
13097
  verdictKind: z.ZodLiteral<"degrade">;
13098
13098
  reason: z.ZodEnum<{
@@ -13117,8 +13117,8 @@ declare const SessionEventStorageNamespace$1: ContractStorageNamespaceDefinition
13117
13117
  turnId: z.ZodOptional<z.ZodString>;
13118
13118
  }, z.core.$strip>, z.ZodObject<{
13119
13119
  intent: z.ZodEnum<{
13120
- resume: "resume";
13121
13120
  fork: "fork";
13121
+ resume: "resume";
13122
13122
  }>;
13123
13123
  verdictKind: z.ZodLiteral<"foreign">;
13124
13124
  foreignMachineId: z.ZodString;
@@ -13479,8 +13479,8 @@ declare const SessionEventStorageNamespace$1: ContractStorageNamespaceDefinition
13479
13479
  type: z.ZodLiteral<"locality.degraded">;
13480
13480
  payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
13481
13481
  intent: z.ZodEnum<{
13482
- resume: "resume";
13483
13482
  fork: "fork";
13483
+ resume: "resume";
13484
13484
  }>;
13485
13485
  verdictKind: z.ZodLiteral<"degrade">;
13486
13486
  reason: z.ZodEnum<{
@@ -13505,8 +13505,8 @@ declare const SessionEventStorageNamespace$1: ContractStorageNamespaceDefinition
13505
13505
  turnId: z.ZodOptional<z.ZodString>;
13506
13506
  }, z.core.$strip>, z.ZodObject<{
13507
13507
  intent: z.ZodEnum<{
13508
- resume: "resume";
13509
13508
  fork: "fork";
13509
+ resume: "resume";
13510
13510
  }>;
13511
13511
  verdictKind: z.ZodLiteral<"foreign">;
13512
13512
  foreignMachineId: z.ZodString;
@@ -13857,8 +13857,8 @@ declare const SessionEventStorageNamespace$1: ContractStorageNamespaceDefinition
13857
13857
  type: z.ZodLiteral<"locality.degraded">;
13858
13858
  payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
13859
13859
  intent: z.ZodEnum<{
13860
- resume: "resume";
13861
13860
  fork: "fork";
13861
+ resume: "resume";
13862
13862
  }>;
13863
13863
  verdictKind: z.ZodLiteral<"degrade">;
13864
13864
  reason: z.ZodEnum<{
@@ -13883,8 +13883,8 @@ declare const SessionEventStorageNamespace$1: ContractStorageNamespaceDefinition
13883
13883
  turnId: z.ZodOptional<z.ZodString>;
13884
13884
  }, z.core.$strip>, z.ZodObject<{
13885
13885
  intent: z.ZodEnum<{
13886
- resume: "resume";
13887
13886
  fork: "fork";
13887
+ resume: "resume";
13888
13888
  }>;
13889
13889
  verdictKind: z.ZodLiteral<"foreign">;
13890
13890
  foreignMachineId: z.ZodString;
@@ -14249,8 +14249,8 @@ declare const SessionEventStorageNamespace$1: ContractStorageNamespaceDefinition
14249
14249
  type: z.ZodLiteral<"locality.degraded">;
14250
14250
  payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
14251
14251
  intent: z.ZodEnum<{
14252
- resume: "resume";
14253
14252
  fork: "fork";
14253
+ resume: "resume";
14254
14254
  }>;
14255
14255
  verdictKind: z.ZodLiteral<"degrade">;
14256
14256
  reason: z.ZodEnum<{
@@ -14275,8 +14275,8 @@ declare const SessionEventStorageNamespace$1: ContractStorageNamespaceDefinition
14275
14275
  turnId: z.ZodOptional<z.ZodString>;
14276
14276
  }, z.core.$strip>, z.ZodObject<{
14277
14277
  intent: z.ZodEnum<{
14278
- resume: "resume";
14279
14278
  fork: "fork";
14279
+ resume: "resume";
14280
14280
  }>;
14281
14281
  verdictKind: z.ZodLiteral<"foreign">;
14282
14282
  foreignMachineId: z.ZodString;
@@ -14628,8 +14628,8 @@ declare const SessionEventStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio
14628
14628
  type: z.ZodLiteral<"locality.degraded">;
14629
14629
  payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
14630
14630
  intent: z.ZodEnum<{
14631
- resume: "resume";
14632
14631
  fork: "fork";
14632
+ resume: "resume";
14633
14633
  }>;
14634
14634
  verdictKind: z.ZodLiteral<"degrade">;
14635
14635
  reason: z.ZodEnum<{
@@ -14654,8 +14654,8 @@ declare const SessionEventStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio
14654
14654
  turnId: z.ZodOptional<z.ZodString>;
14655
14655
  }, z.core.$strip>, z.ZodObject<{
14656
14656
  intent: z.ZodEnum<{
14657
- resume: "resume";
14658
14657
  fork: "fork";
14658
+ resume: "resume";
14659
14659
  }>;
14660
14660
  verdictKind: z.ZodLiteral<"foreign">;
14661
14661
  foreignMachineId: z.ZodString;
@@ -15016,8 +15016,8 @@ declare const SessionEventStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio
15016
15016
  type: z.ZodLiteral<"locality.degraded">;
15017
15017
  payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
15018
15018
  intent: z.ZodEnum<{
15019
- resume: "resume";
15020
15019
  fork: "fork";
15020
+ resume: "resume";
15021
15021
  }>;
15022
15022
  verdictKind: z.ZodLiteral<"degrade">;
15023
15023
  reason: z.ZodEnum<{
@@ -15042,8 +15042,8 @@ declare const SessionEventStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio
15042
15042
  turnId: z.ZodOptional<z.ZodString>;
15043
15043
  }, z.core.$strip>, z.ZodObject<{
15044
15044
  intent: z.ZodEnum<{
15045
- resume: "resume";
15046
15045
  fork: "fork";
15046
+ resume: "resume";
15047
15047
  }>;
15048
15048
  verdictKind: z.ZodLiteral<"foreign">;
15049
15049
  foreignMachineId: z.ZodString;
@@ -15394,8 +15394,8 @@ declare const SessionEventStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio
15394
15394
  type: z.ZodLiteral<"locality.degraded">;
15395
15395
  payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
15396
15396
  intent: z.ZodEnum<{
15397
- resume: "resume";
15398
15397
  fork: "fork";
15398
+ resume: "resume";
15399
15399
  }>;
15400
15400
  verdictKind: z.ZodLiteral<"degrade">;
15401
15401
  reason: z.ZodEnum<{
@@ -15420,8 +15420,8 @@ declare const SessionEventStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio
15420
15420
  turnId: z.ZodOptional<z.ZodString>;
15421
15421
  }, z.core.$strip>, z.ZodObject<{
15422
15422
  intent: z.ZodEnum<{
15423
- resume: "resume";
15424
15423
  fork: "fork";
15424
+ resume: "resume";
15425
15425
  }>;
15426
15426
  verdictKind: z.ZodLiteral<"foreign">;
15427
15427
  foreignMachineId: z.ZodString;
@@ -15786,8 +15786,8 @@ declare const SessionEventStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio
15786
15786
  type: z.ZodLiteral<"locality.degraded">;
15787
15787
  payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
15788
15788
  intent: z.ZodEnum<{
15789
- resume: "resume";
15790
15789
  fork: "fork";
15790
+ resume: "resume";
15791
15791
  }>;
15792
15792
  verdictKind: z.ZodLiteral<"degrade">;
15793
15793
  reason: z.ZodEnum<{
@@ -15812,8 +15812,8 @@ declare const SessionEventStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio
15812
15812
  turnId: z.ZodOptional<z.ZodString>;
15813
15813
  }, z.core.$strip>, z.ZodObject<{
15814
15814
  intent: z.ZodEnum<{
15815
- resume: "resume";
15816
15815
  fork: "fork";
15816
+ resume: "resume";
15817
15817
  }>;
15818
15818
  verdictKind: z.ZodLiteral<"foreign">;
15819
15819
  foreignMachineId: z.ZodString;
@@ -28,8 +28,8 @@ type MakaioVariant = z.infer<typeof MakaioVariantSchema>;
28
28
  declare const VariantUpgradeStatusSchema: z.ZodEnum<{
29
29
  error: "error";
30
30
  complete: "complete";
31
- downloading: "downloading";
32
31
  progress: "progress";
32
+ downloading: "downloading";
33
33
  applying: "applying";
34
34
  }>;
35
35
  /** Inferred TypeScript type for an upgrade status value. */
@@ -102,8 +102,8 @@ declare const VariantSchemas: {
102
102
  status: z.ZodEnum<{
103
103
  error: "error";
104
104
  complete: "complete";
105
- downloading: "downloading";
106
105
  progress: "progress";
106
+ downloading: "downloading";
107
107
  applying: "applying";
108
108
  }>;
109
109
  percent: z.ZodOptional<z.ZodNumber>;
@@ -159,8 +159,8 @@ declare const VariantNamespace: _$_makaio_core0.BusNamespaceDefinition<"host:var
159
159
  status: _$zod.ZodEnum<{
160
160
  error: "error";
161
161
  complete: "complete";
162
- downloading: "downloading";
163
162
  progress: "progress";
163
+ downloading: "downloading";
164
164
  applying: "applying";
165
165
  }>;
166
166
  percent: _$zod.ZodOptional<_$zod.ZodNumber>;
@@ -206,8 +206,8 @@ declare const VariantSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatS
206
206
  status: _$zod.ZodEnum<{
207
207
  error: "error";
208
208
  complete: "complete";
209
- downloading: "downloading";
210
209
  progress: "progress";
210
+ downloading: "downloading";
211
211
  applying: "applying";
212
212
  }>;
213
213
  percent: _$zod.ZodOptional<_$zod.ZodNumber>;
@@ -141,6 +141,7 @@ declare const HarnessDefinitionCreateSchema: z.ZodObject<{
141
141
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
142
142
  name: z.ZodString;
143
143
  clientId: z.ZodOptional<z.ZodString>;
144
+ adapterName: z.ZodOptional<z.ZodString>;
144
145
  nativeTools: z.ZodObject<{
145
146
  enabled: z.ZodArray<z.ZodString>;
146
147
  disabled: z.ZodArray<z.ZodString>;
@@ -149,7 +150,6 @@ declare const HarnessDefinitionCreateSchema: z.ZodObject<{
149
150
  enabled: z.ZodArray<z.ZodString>;
150
151
  disabled: z.ZodArray<z.ZodString>;
151
152
  }, z.core.$strip>;
152
- adapterName: z.ZodOptional<z.ZodString>;
153
153
  skills: z.ZodOptional<z.ZodObject<{
154
154
  enabled: z.ZodArray<z.ZodString>;
155
155
  disabled: z.ZodArray<z.ZodString>;
@@ -317,6 +317,7 @@ declare const HarnessSchemas: {
317
317
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
318
318
  name: z.ZodString;
319
319
  clientId: z.ZodOptional<z.ZodString>;
320
+ adapterName: z.ZodOptional<z.ZodString>;
320
321
  nativeTools: z.ZodObject<{
321
322
  enabled: z.ZodArray<z.ZodString>;
322
323
  disabled: z.ZodArray<z.ZodString>;
@@ -325,7 +326,6 @@ declare const HarnessSchemas: {
325
326
  enabled: z.ZodArray<z.ZodString>;
326
327
  disabled: z.ZodArray<z.ZodString>;
327
328
  }, z.core.$strip>;
328
- adapterName: z.ZodOptional<z.ZodString>;
329
329
  skills: z.ZodOptional<z.ZodObject<{
330
330
  enabled: z.ZodArray<z.ZodString>;
331
331
  disabled: z.ZodArray<z.ZodString>;
@@ -760,6 +760,7 @@ declare const HarnessNamespace: _$_makaio_core0.BusNamespaceDefinition<"harness"
760
760
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
761
761
  name: z.ZodString;
762
762
  clientId: z.ZodOptional<z.ZodString>;
763
+ adapterName: z.ZodOptional<z.ZodString>;
763
764
  nativeTools: z.ZodObject<{
764
765
  enabled: z.ZodArray<z.ZodString>;
765
766
  disabled: z.ZodArray<z.ZodString>;
@@ -768,7 +769,6 @@ declare const HarnessNamespace: _$_makaio_core0.BusNamespaceDefinition<"harness"
768
769
  enabled: z.ZodArray<z.ZodString>;
769
770
  disabled: z.ZodArray<z.ZodString>;
770
771
  }, z.core.$strip>;
771
- adapterName: z.ZodOptional<z.ZodString>;
772
772
  skills: z.ZodOptional<z.ZodObject<{
773
773
  enabled: z.ZodArray<z.ZodString>;
774
774
  disabled: z.ZodArray<z.ZodString>;
@@ -1203,6 +1203,7 @@ declare const HarnessSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatS
1203
1203
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1204
1204
  name: z.ZodString;
1205
1205
  clientId: z.ZodOptional<z.ZodString>;
1206
+ adapterName: z.ZodOptional<z.ZodString>;
1206
1207
  nativeTools: z.ZodObject<{
1207
1208
  enabled: z.ZodArray<z.ZodString>;
1208
1209
  disabled: z.ZodArray<z.ZodString>;
@@ -1211,7 +1212,6 @@ declare const HarnessSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatS
1211
1212
  enabled: z.ZodArray<z.ZodString>;
1212
1213
  disabled: z.ZodArray<z.ZodString>;
1213
1214
  }, z.core.$strip>;
1214
- adapterName: z.ZodOptional<z.ZodString>;
1215
1215
  skills: z.ZodOptional<z.ZodObject<{
1216
1216
  enabled: z.ZodArray<z.ZodString>;
1217
1217
  disabled: z.ZodArray<z.ZodString>;
@@ -1,4 +1,4 @@
1
- import { c as AdapterRuntimeSnapshotErrorCode } from "./schemas-CtL2su-K.mjs";
1
+ import { c as AdapterRuntimeSnapshotErrorCode } from "./schemas-yyNP39HU.mjs";
2
2
  import { ProviderContext, ResolvedProviderContext } from "@makaio/framework/contracts";
3
3
  import { IMakaioBus } from "@makaio/framework/bus";
4
4
 
@@ -1,4 +1,4 @@
1
- import { D as ArtifactViewModel$1 } from "./view-builder-BLdSezFD.mjs";
1
+ import { D as ArtifactViewModel$1 } from "./view-builder-Cw9R3hvK.mjs";
2
2
  import { z } from "zod";
3
3
  import * as _$_makaio_core0 from "@makaio/framework/core";
4
4
  import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
@@ -1,3 +1,3 @@
1
- import { d as TransitionOutcome } from "../../index-VG-C-ZHN.mjs";
2
- import { a as SetEnabledResult, c as ContributionProcessor, d as InstalledExtensionCatalogSource, f as KernelExtensionContext, h as RuntimeEnvironment, i as ExtensionCoordinator, l as ExtensionCoordinatorOptions, m as RuntimeCapability, n as coalesceExtensionOverrides, o as ExtensionConfigResolution, p as KernelMakaioExtension, r as filterEligibleExtensions, s as ExtensionOperatorConfigError, t as resolveInstalledExtensionRecord, u as ExtensionRuntimeSurface } from "../../index-OA1A-NWE.mjs";
1
+ import { d as TransitionOutcome } from "../../index-BKA5-NKn.mjs";
2
+ import { a as SetEnabledResult, c as ContributionProcessor, d as InstalledExtensionCatalogSource, f as KernelExtensionContext, h as RuntimeEnvironment, i as ExtensionCoordinator, l as ExtensionCoordinatorOptions, m as RuntimeCapability, n as coalesceExtensionOverrides, o as ExtensionConfigResolution, p as KernelMakaioExtension, r as filterEligibleExtensions, s as ExtensionOperatorConfigError, t as resolveInstalledExtensionRecord, u as ExtensionRuntimeSurface } from "../../index-DVorNME3.mjs";
3
3
  export { ContributionProcessor, ExtensionConfigResolution, ExtensionCoordinator, ExtensionCoordinatorOptions, ExtensionOperatorConfigError, ExtensionRuntimeSurface, InstalledExtensionCatalogSource, KernelExtensionContext, KernelMakaioExtension, RuntimeCapability, RuntimeEnvironment, SetEnabledResult, TransitionOutcome, coalesceExtensionOverrides, filterEligibleExtensions, resolveInstalledExtensionRecord };
@@ -1,5 +1,5 @@
1
- import { C as ServiceInfoSchema, S as ServiceInfo, _ as ComponentStateSchema, a as InstalledExtensionRecord, c as ExtensionSubjects, d as TransitionOutcome, g as ComponentState, l as SetEnabledReason, m as ComponentInfo, n as InstalledExtensionCatalogEntrySchema, o as InstalledExtensionRecordSchema, r as InstalledExtensionOrigin, s as ExtensionNamespace, t as InstalledExtensionCatalogEntry, v as ExtensionInfo, y as ExtensionInfoSchema } from "../index-VG-C-ZHN.mjs";
2
- import { a as SetEnabledResult, c as ContributionProcessor, d as InstalledExtensionCatalogSource, f as KernelExtensionContext, h as RuntimeEnvironment, i as ExtensionCoordinator, m as RuntimeCapability, n as coalesceExtensionOverrides, o as ExtensionConfigResolution, p as KernelMakaioExtension, r as filterEligibleExtensions, s as ExtensionOperatorConfigError, t as resolveInstalledExtensionRecord, u as ExtensionRuntimeSurface } from "../index-OA1A-NWE.mjs";
1
+ import { C as ServiceInfoSchema, S as ServiceInfo, _ as ComponentStateSchema, a as InstalledExtensionRecord, c as ExtensionSubjects, d as TransitionOutcome, g as ComponentState, l as SetEnabledReason, m as ComponentInfo, n as InstalledExtensionCatalogEntrySchema, o as InstalledExtensionRecordSchema, r as InstalledExtensionOrigin, s as ExtensionNamespace, t as InstalledExtensionCatalogEntry, v as ExtensionInfo, y as ExtensionInfoSchema } from "../index-BKA5-NKn.mjs";
2
+ import { a as SetEnabledResult, c as ContributionProcessor, d as InstalledExtensionCatalogSource, f as KernelExtensionContext, h as RuntimeEnvironment, i as ExtensionCoordinator, m as RuntimeCapability, n as coalesceExtensionOverrides, o as ExtensionConfigResolution, p as KernelMakaioExtension, r as filterEligibleExtensions, s as ExtensionOperatorConfigError, t as resolveInstalledExtensionRecord, u as ExtensionRuntimeSurface } from "../index-DVorNME3.mjs";
3
3
  import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../window-registry-DqVHgb6Y.mjs";
4
4
  import { n as KernelSubjects, r as KernelSchemas, t as KernelNamespace } from "../index-DJZZS_H0.mjs";
5
5
  import { a as MachineIdentity, c as StorageProvider, i as IdentityProvider, n as NoTransportProvider, o as TransportProvider, r as MemoryStorageProvider, s as StorageCleanup, t as EphemeralIdentityProvider } from "../index-Cc5kDe9y.mjs";
@@ -1,2 +1,2 @@
1
- import { C as ServiceInfoSchema, S as ServiceInfo, _ as ComponentStateSchema, a as InstalledExtensionRecord, b as ExtensionWarningEntry, c as ExtensionSubjects, d as TransitionOutcome, f as TransitionOutcomeSchema, g as ComponentState, h as ComponentInfoSchema, i as InstalledExtensionOriginSchema, l as SetEnabledReason, m as ComponentInfo, n as InstalledExtensionCatalogEntrySchema, o as InstalledExtensionRecordSchema, p as ComponentIdentitySchema, r as InstalledExtensionOrigin, s as ExtensionNamespace, t as InstalledExtensionCatalogEntry, u as SetEnabledReasonSchema, v as ExtensionInfo, x as ExtensionWarningEntrySchema, y as ExtensionInfoSchema } from "../../index-VG-C-ZHN.mjs";
1
+ import { C as ServiceInfoSchema, S as ServiceInfo, _ as ComponentStateSchema, a as InstalledExtensionRecord, b as ExtensionWarningEntry, c as ExtensionSubjects, d as TransitionOutcome, f as TransitionOutcomeSchema, g as ComponentState, h as ComponentInfoSchema, i as InstalledExtensionOriginSchema, l as SetEnabledReason, m as ComponentInfo, n as InstalledExtensionCatalogEntrySchema, o as InstalledExtensionRecordSchema, p as ComponentIdentitySchema, r as InstalledExtensionOrigin, s as ExtensionNamespace, t as InstalledExtensionCatalogEntry, u as SetEnabledReasonSchema, v as ExtensionInfo, x as ExtensionWarningEntrySchema, y as ExtensionInfoSchema } from "../../index-BKA5-NKn.mjs";
2
2
  export { ComponentIdentitySchema, ComponentInfo, ComponentInfoSchema, ComponentState, ComponentStateSchema, ExtensionInfo, ExtensionInfoSchema, ExtensionNamespace, ExtensionSubjects, ExtensionWarningEntry, ExtensionWarningEntrySchema, InstalledExtensionCatalogEntry, InstalledExtensionCatalogEntrySchema, InstalledExtensionOrigin, InstalledExtensionOriginSchema, InstalledExtensionRecord, InstalledExtensionRecordSchema, ServiceInfo, ServiceInfoSchema, SetEnabledReason, SetEnabledReasonSchema, TransitionOutcome, TransitionOutcomeSchema };
@@ -1,4 +1,4 @@
1
- import{n as e,o as t}from"./json-value-DM-EjTC1.mjs";import{c as n,w as r}from"./schemas-BvDsO8Is.mjs";import{z as i}from"zod";import{createBusNamespace as a}from"@makaio/framework/core";const o=i.enum([`link`,`summary`,`full`]),s=i.object({artifactId:i.string().min(1).optional(),url:i.string().min(1).optional(),label:i.string().min(1),sourceLocalId:n.shape.sourceLocalId}),c=i.object({id:i.string().min(1),kind:i.string().min(1),revision:i.string().min(1),status:i.string().min(1).optional()}),l=i.object({breadcrumbs:i.array(s),related:i.array(s)}),u=i.object({dashboard:i.string().min(1).optional(),materialized:i.string().min(1).optional()}),d=i.object({type:i.literal(`summary`),title:i.string().min(1),text:i.string().min(1)}),f=i.object({type:i.literal(`properties`),title:i.string().min(1),rows:i.array(i.object({label:i.string().min(1),value:i.string()}))}),p=i.object({type:i.literal(`table`),title:i.string().min(1),columns:i.array(i.string().min(1)),rows:i.array(i.object({cells:i.array(i.string()),link:s.optional()}))}),m=i.object({type:i.literal(`relations`),title:i.string().min(1),groups:i.array(i.object({type:i.string().min(1),items:i.array(s)}))}),h=i.object({type:i.literal(`evidence`),title:i.string().min(1),items:i.array(i.object({kind:i.string().min(1),id:i.string().min(1),locator:i.string().min(1).optional()}))}),g=i.object({type:i.literal(`raw`),title:i.string().min(1),json:t}),_=i.object({type:i.literal(`code`),title:i.string().min(1),language:i.string().min(1),content:i.string()}),v=i.object({type:i.literal(`diagram`),title:i.string().min(1),notation:i.literal(`mermaid`),source:i.string().min(1)}),y=i.discriminatedUnion(`type`,[d,f,p,m,h,g,_,v]),b=i.object({title:i.string().min(1),artifact:c,navigation:l,sections:i.array(y),links:u}),x=e,S=i.object({level:o,params:x.optional()}),C=i.object({kind:i.literal(`entry`),via:i.string().min(1).optional(),collection:i.string().min(1).optional()});function w(e){return(t,n)=>{t.via!==void 0==(t.collection!==void 0)&&n.addIssue({code:i.ZodIssueCode.custom,message:`Entry ${e} must have exactly one of via or collection`})}}const T=i.discriminatedUnion(`kind`,[i.object({kind:i.literal(`own-view`)}),i.object({kind:i.literal(`inline`),hostRelation:i.string().min(1),as:o.optional()}),C.extend({title:i.string().min(1).optional(),hostRelation:i.string().min(1).optional()}).superRefine(w(`affordance`))]),E=i.discriminatedUnion(`kind`,[i.object({kind:i.literal(`own-view`)}),i.object({kind:i.literal(`inline`),hostRelation:i.string().min(1)}),C.superRefine(w(`request`))]);function D(e){return e}const O=i.enum([`title`,`summary`]),k=i.discriminatedUnion(`kind`,[i.object({kind:i.literal(`label`),prefix:i.string().min(1).optional()}),i.object({kind:i.literal(`field`),name:i.string().min(1),fieldId:i.string().min(1).optional()}),i.object({kind:i.literal(`issue-type`),name:i.string().min(1),typeId:i.string().min(1).optional()}),i.object({kind:i.literal(`body-fragment`),slot:i.string().min(1)}),i.object({kind:i.literal(`comment`),template:i.string().min(1)})]),A=i.object({id:i.string().min(1),provider:i.string().min(1),namespace:i.string().min(1),target:k,appliesTo:i.array(i.enum([`workpiece`,`artifact`,`surface`])).min(1),valueMapping:i.record(i.string(),i.string()).optional(),description:i.string().min(1).optional(),params:e.optional()}),j=i.enum([`status`,`workflow`,`priority`]),M=i.object({path:i.string().min(1),semantic:j.optional(),fromLevel:o.optional(),viewRole:O.optional()}),N=i.object({mode:i.enum([`none`,`surface`,`comment`]),defaultRole:i.enum([`workpiece`,`artifact`]).optional(),semanticEvents:i.array(i.enum([`created`,`revised`,`status-changed`,`observation-added`])).optional(),projectedFields:i.array(M).optional(),affordances:i.array(T).optional()}).superRefine((e,t)=>{if(!e.projectedFields)return;let n=0,r=0;for(let t of e.projectedFields)t.viewRole===`title`&&n++,t.viewRole===`summary`&&r++;n>1&&t.addIssue({code:i.ZodIssueCode.custom,path:[`projectedFields`],message:`At most one projected field may declare viewRole: title`}),r>1&&t.addIssue({code:i.ZodIssueCode.custom,path:[`projectedFields`],message:`At most one projected field may declare viewRole: summary`})}),P=i.object({artifactId:i.string().min(1),provider:i.string().min(1),externalId:i.string().min(1),externalUrl:i.string().optional(),surfaceRole:i.enum([`workpiece`,`artifact`]),lastSyncedRevision:i.string().optional(),metadata:i.record(i.string(),i.unknown()).optional()}),F=S.extend({ref:r,affordance:E}),I=i.discriminatedUnion(`status`,[i.object({status:i.literal(`ok`),view:b,builderVersion:i.number().int().positive(),sourceRevision:i.string().min(1)}),i.object({status:i.literal(`artifact-not-found`),view:i.null()}),i.object({status:i.literal(`not-rendered`),view:i.null()})]),L={"surfaceBinding.register":{request:A,response:i.object({registered:i.boolean()})},"surfaceBinding.list":{request:i.object({id:i.string().min(1).optional(),provider:i.string().min(1).optional(),namespace:i.string().min(1).optional()}),response:i.object({bindings:i.array(A)})},"surfaceBinding.changed":i.object({id:i.string().min(1),provider:i.string().min(1)}),"ref.changed":i.object({artifactId:i.string().min(1),provider:i.string().min(1),externalId:i.string().min(1),operation:i.enum([`upserted`,`deleted`]),origin:i.enum([`factory`,`external`]).optional()}),"capability.resolved":i.object({provider:i.string().min(1),surface:i.string().min(1),capabilities:i.record(i.string().min(1),i.boolean()),degraded:i.boolean()}),"artifact.view.resolve":{request:F,response:I}},R=a(`materialization`,L),ee=R.subjects;function z(e){return{id:e.id,toRegistration:()=>({id:e.id,provider:e.provider,namespace:e.namespace,target:structuredClone(e.target),appliesTo:[...e.appliesTo],...e.valueMapping===void 0?{}:{valueMapping:{...e.valueMapping}},...e.description===void 0?{}:{description:e.description},...e.params===void 0?{}:{params:structuredClone(e.params)}})}}const B=8;function V(e){let t=0,n=0;for(let r=0;r<e.length;r++)e[r]==="`"?(n++,n>t&&(t=n)):n=0;let r=Math.max(3,t+1);return"`".repeat(r)}function H(e){return e.replace(/`/g,``)}function U(e){return e.replace(/\]/g,`\\]`)}function W(e){let t=``;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n),i=e[n];t+=r>=48&&r<=57||r>=65&&r<=90||r>=97&&r<=122||i===`-`?i:`%${r.toString(16).toUpperCase().padStart(4,`0`)}`}return t}function G(e){return e.replace(/\(/g,`%28`).replace(/\)/g,`%29`)}function K(e){let t=e.sourceLocalId?W(e.sourceLocalId):void 0,n=t?`${e.label} (from part: ${t})`:e.label;return e.url?`[${U(n)}](${G(e.url)})`:t?`${e.label} (from part: ${U(t)})`:n}function q(e){let t=[];if(e.breadcrumbs.length>0&&t.push(`**Breadcrumbs:** ${e.breadcrumbs.map(K).join(` › `)}`),e.related.length>0){t.length>0&&t.push(``),t.push(`**Related:**`);for(let n of e.related)t.push(`- ${K(n)}`)}return t}function J(e){return e.replace(/\|/g,`\\|`).replace(/[\r\n]+/g,` `)}function Y(e){return[`### ${e.title}`,``,e.text]}function X(e){let t=[`### ${e.title}`,``];for(let n of e.rows)n.value.length>0?t.push(`**${n.label}:** ${n.value}`):t.push(`**${n.label}:**`);return t}function Z(e){let t=[`### ${e.title}`,``],n=e.rows.some(e=>e.link!==void 0),r=e.columns.map(J);n&&r.push(``);let i=r.length;t.push(`| ${r.join(` | `)} |`),t.push(`| ${r.map(()=>`---`).join(` | `)} |`);for(let r of e.rows){let e=r.cells.map(J);for(n&&e.push(r.link?J(K(r.link)):``);e.length<i;)e.push(``);t.push(`| ${e.join(` | `)} |`)}return t}function Q(e){let t=[`### ${e.title}`,``];for(let n of e.groups){t.push(`**${n.type}**`,``);for(let e of n.items)t.push(`- ${K(e)}`);t.push(``)}return t}function te(e){let t=[`### ${e.title}`,``];for(let n of e.items){let e=n.locator?` (${n.locator})`:``;t.push(`- **${n.kind}:** ${n.id}${e}`)}return t}function $(e,t,n){let r=V(t);return[`### ${e}`,``,`${r}${H(n)}`,t,r]}function ne(e){return $(e.title,JSON.stringify(e.json,null,2),`json`)}function re(e){return $(e.title,e.content,e.language)}function ie(e){return $(e.title,e.source,e.notation)}function ae(e){switch(e.type){case`summary`:return Y(e);case`properties`:return X(e);case`table`:return Z(e);case`relations`:return Q(e);case`evidence`:return te(e);case`raw`:return ne(e);case`code`:return re(e);case`diagram`:return ie(e)}}function oe(e,t={}){let n=[];t.includeTitle!==!1&&n.push([`## ${e.title}`]);let r=q(e.navigation);r.length>0&&n.push(r);for(let t of e.sections)n.push(ae(t));return n.map(e=>e.join(`
1
+ import{n as e,o as t}from"./json-value-DM-EjTC1.mjs";import{T as n,c as r}from"./schemas-DmP_43fe.mjs";import{z as i}from"zod";import{createBusNamespace as a}from"@makaio/framework/core";const o=i.enum([`link`,`summary`,`full`]),s=i.object({artifactId:i.string().min(1).optional(),url:i.string().min(1).optional(),label:i.string().min(1),sourceLocalId:r.shape.sourceLocalId}),c=i.object({id:i.string().min(1),kind:i.string().min(1),revision:i.string().min(1),status:i.string().min(1).optional()}),l=i.object({breadcrumbs:i.array(s),related:i.array(s)}),u=i.object({dashboard:i.string().min(1).optional(),materialized:i.string().min(1).optional()}),d=i.object({type:i.literal(`summary`),title:i.string().min(1),text:i.string().min(1)}),f=i.object({type:i.literal(`properties`),title:i.string().min(1),rows:i.array(i.object({label:i.string().min(1),value:i.string()}))}),p=i.object({type:i.literal(`table`),title:i.string().min(1),columns:i.array(i.string().min(1)),rows:i.array(i.object({cells:i.array(i.string()),link:s.optional()}))}),m=i.object({type:i.literal(`relations`),title:i.string().min(1),groups:i.array(i.object({type:i.string().min(1),items:i.array(s)}))}),h=i.object({type:i.literal(`evidence`),title:i.string().min(1),items:i.array(i.object({kind:i.string().min(1),id:i.string().min(1),locator:i.string().min(1).optional()}))}),g=i.object({type:i.literal(`raw`),title:i.string().min(1),json:t}),_=i.object({type:i.literal(`code`),title:i.string().min(1),language:i.string().min(1),content:i.string()}),v=i.object({type:i.literal(`diagram`),title:i.string().min(1),notation:i.literal(`mermaid`),source:i.string().min(1)}),y=i.discriminatedUnion(`type`,[d,f,p,m,h,g,_,v]),b=i.object({title:i.string().min(1),artifact:c,navigation:l,sections:i.array(y),links:u}),x=e,S=i.object({level:o,params:x.optional()}),C=i.object({kind:i.literal(`entry`),via:i.string().min(1).optional(),collection:i.string().min(1).optional()});function w(e){return(t,n)=>{t.via!==void 0==(t.collection!==void 0)&&n.addIssue({code:i.ZodIssueCode.custom,message:`Entry ${e} must have exactly one of via or collection`})}}const T=i.discriminatedUnion(`kind`,[i.object({kind:i.literal(`own-view`)}),i.object({kind:i.literal(`inline`),hostRelation:i.string().min(1),as:o.optional()}),C.extend({title:i.string().min(1).optional(),hostRelation:i.string().min(1).optional()}).superRefine(w(`affordance`))]),E=i.discriminatedUnion(`kind`,[i.object({kind:i.literal(`own-view`)}),i.object({kind:i.literal(`inline`),hostRelation:i.string().min(1)}),C.superRefine(w(`request`))]);function D(e){return e}const O=i.enum([`title`,`summary`]),k=i.discriminatedUnion(`kind`,[i.object({kind:i.literal(`label`),prefix:i.string().min(1).optional()}),i.object({kind:i.literal(`field`),name:i.string().min(1),fieldId:i.string().min(1).optional()}),i.object({kind:i.literal(`issue-type`),name:i.string().min(1),typeId:i.string().min(1).optional()}),i.object({kind:i.literal(`body-fragment`),slot:i.string().min(1)}),i.object({kind:i.literal(`comment`),template:i.string().min(1)})]),A=i.object({id:i.string().min(1),provider:i.string().min(1),namespace:i.string().min(1),target:k,appliesTo:i.array(i.enum([`workpiece`,`artifact`,`surface`])).min(1),valueMapping:i.record(i.string(),i.string()).optional(),description:i.string().min(1).optional(),params:e.optional()}),j=i.enum([`status`,`workflow`,`priority`]),M=i.object({path:i.string().min(1),semantic:j.optional(),fromLevel:o.optional(),viewRole:O.optional()}),N=i.object({mode:i.enum([`none`,`surface`,`comment`]),defaultRole:i.enum([`workpiece`,`artifact`]).optional(),semanticEvents:i.array(i.enum([`created`,`revised`,`status-changed`,`observation-added`])).optional(),projectedFields:i.array(M).optional(),affordances:i.array(T).optional()}).superRefine((e,t)=>{if(!e.projectedFields)return;let n=0,r=0;for(let t of e.projectedFields)t.viewRole===`title`&&n++,t.viewRole===`summary`&&r++;n>1&&t.addIssue({code:i.ZodIssueCode.custom,path:[`projectedFields`],message:`At most one projected field may declare viewRole: title`}),r>1&&t.addIssue({code:i.ZodIssueCode.custom,path:[`projectedFields`],message:`At most one projected field may declare viewRole: summary`})}),P=i.object({artifactId:i.string().min(1),provider:i.string().min(1),externalId:i.string().min(1),externalUrl:i.string().optional(),surfaceRole:i.enum([`workpiece`,`artifact`]),lastSyncedRevision:i.string().optional(),metadata:i.record(i.string(),i.unknown()).optional()}),F=S.extend({ref:n,affordance:E}),I=i.discriminatedUnion(`status`,[i.object({status:i.literal(`ok`),view:b,builderVersion:i.number().int().positive(),sourceRevision:i.string().min(1)}),i.object({status:i.literal(`artifact-not-found`),view:i.null()}),i.object({status:i.literal(`not-rendered`),view:i.null()})]),L={"surfaceBinding.register":{request:A,response:i.object({registered:i.boolean()})},"surfaceBinding.list":{request:i.object({id:i.string().min(1).optional(),provider:i.string().min(1).optional(),namespace:i.string().min(1).optional()}),response:i.object({bindings:i.array(A)})},"surfaceBinding.changed":i.object({id:i.string().min(1),provider:i.string().min(1)}),"ref.changed":i.object({artifactId:i.string().min(1),provider:i.string().min(1),externalId:i.string().min(1),operation:i.enum([`upserted`,`deleted`]),origin:i.enum([`factory`,`external`]).optional()}),"capability.resolved":i.object({provider:i.string().min(1),surface:i.string().min(1),capabilities:i.record(i.string().min(1),i.boolean()),degraded:i.boolean()}),"artifact.view.resolve":{request:F,response:I}},R=a(`materialization`,L),ee=R.subjects;function z(e){return{id:e.id,toRegistration:()=>({id:e.id,provider:e.provider,namespace:e.namespace,target:structuredClone(e.target),appliesTo:[...e.appliesTo],...e.valueMapping===void 0?{}:{valueMapping:{...e.valueMapping}},...e.description===void 0?{}:{description:e.description},...e.params===void 0?{}:{params:structuredClone(e.params)}})}}const B=8;function V(e){let t=0,n=0;for(let r=0;r<e.length;r++)e[r]==="`"?(n++,n>t&&(t=n)):n=0;let r=Math.max(3,t+1);return"`".repeat(r)}function H(e){return e.replace(/`/g,``)}function U(e){return e.replace(/\]/g,`\\]`)}function W(e){let t=``;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n),i=e[n];t+=r>=48&&r<=57||r>=65&&r<=90||r>=97&&r<=122||i===`-`?i:`%${r.toString(16).toUpperCase().padStart(4,`0`)}`}return t}function G(e){return e.replace(/\(/g,`%28`).replace(/\)/g,`%29`)}function K(e){let t=e.sourceLocalId?W(e.sourceLocalId):void 0,n=t?`${e.label} (from part: ${t})`:e.label;return e.url?`[${U(n)}](${G(e.url)})`:t?`${e.label} (from part: ${U(t)})`:n}function q(e){let t=[];if(e.breadcrumbs.length>0&&t.push(`**Breadcrumbs:** ${e.breadcrumbs.map(K).join(` › `)}`),e.related.length>0){t.length>0&&t.push(``),t.push(`**Related:**`);for(let n of e.related)t.push(`- ${K(n)}`)}return t}function J(e){return e.replace(/\|/g,`\\|`).replace(/[\r\n]+/g,` `)}function Y(e){return[`### ${e.title}`,``,e.text]}function X(e){let t=[`### ${e.title}`,``];for(let n of e.rows)n.value.length>0?t.push(`**${n.label}:** ${n.value}`):t.push(`**${n.label}:**`);return t}function Z(e){let t=[`### ${e.title}`,``],n=e.rows.some(e=>e.link!==void 0),r=e.columns.map(J);n&&r.push(``);let i=r.length;t.push(`| ${r.join(` | `)} |`),t.push(`| ${r.map(()=>`---`).join(` | `)} |`);for(let r of e.rows){let e=r.cells.map(J);for(n&&e.push(r.link?J(K(r.link)):``);e.length<i;)e.push(``);t.push(`| ${e.join(` | `)} |`)}return t}function Q(e){let t=[`### ${e.title}`,``];for(let n of e.groups){t.push(`**${n.type}**`,``);for(let e of n.items)t.push(`- ${K(e)}`);t.push(``)}return t}function te(e){let t=[`### ${e.title}`,``];for(let n of e.items){let e=n.locator?` (${n.locator})`:``;t.push(`- **${n.kind}:** ${n.id}${e}`)}return t}function $(e,t,n){let r=V(t);return[`### ${e}`,``,`${r}${H(n)}`,t,r]}function ne(e){return $(e.title,JSON.stringify(e.json,null,2),`json`)}function re(e){return $(e.title,e.content,e.language)}function ie(e){return $(e.title,e.source,e.notation)}function ae(e){switch(e.type){case`summary`:return Y(e);case`properties`:return X(e);case`table`:return Z(e);case`relations`:return Q(e);case`evidence`:return te(e);case`raw`:return ne(e);case`code`:return re(e);case`diagram`:return ie(e)}}function oe(e,t={}){let n=[];t.includeTitle!==!1&&n.push([`## ${e.title}`]);let r=q(e.navigation);r.length>0&&n.push(r);for(let t of e.sections)n.push(ae(t));return n.map(e=>e.join(`
2
2
  `)).join(`
3
3
 
4
4
  `)}export{g as A,h as C,b as D,s as E,p as F,y as M,d as N,l as O,u as P,v as S,o as T,E as _,I as a,D as b,ee as c,M as d,j as f,T as g,k as h,F as i,m as j,f as k,P as l,A as m,oe as n,R as o,O as p,z as r,L as s,B as t,N as u,x as v,c as w,_ as x,S as y};
@@ -335,8 +335,8 @@ declare const MessageStorageNamespace$1: {
335
335
  isError: _$zod.ZodOptional<_$zod.ZodBoolean>;
336
336
  }, _$zod_v4_core0.$strip>], "type">>;
337
337
  agentId: _$zod.ZodOptional<_$zod.ZodString>;
338
- adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
339
338
  turnId: _$zod.ZodNullable<_$zod.ZodString>;
339
+ adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
340
340
  timestamp: _$zod.ZodNumber;
341
341
  contentText: _$zod.ZodString;
342
342
  adapterMessageId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1120,8 +1120,8 @@ declare const MessageStorageNamespace$1: {
1120
1120
  isError: _$zod.ZodOptional<_$zod.ZodBoolean>;
1121
1121
  }, _$zod_v4_core0.$strip>], "type">>;
1122
1122
  agentId: _$zod.ZodOptional<_$zod.ZodString>;
1123
- adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1124
1123
  turnId: _$zod.ZodNullable<_$zod.ZodString>;
1124
+ adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1125
1125
  timestamp: _$zod.ZodNumber;
1126
1126
  contentText: _$zod.ZodString;
1127
1127
  adapterMessageId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2030,10 +2030,10 @@ declare const MessageStorageNamespace$1: {
2030
2030
  })[];
2031
2031
  messageId: string;
2032
2032
  agentId: never;
2033
- adapterSessionId: never;
2034
2033
  turnId: string | null;
2035
- limit: never;
2034
+ adapterSessionId: never;
2036
2035
  timestamp: number;
2036
+ limit: never;
2037
2037
  query: string;
2038
2038
  contentText: string;
2039
2039
  adapterMessageId: string;
@@ -67,8 +67,8 @@ declare const ExecutionTargetNamespace: _$_makaio_core0.BusNamespaceDefinition<"
67
67
  name: _$zod.ZodString;
68
68
  image: _$zod.ZodOptional<_$zod.ZodString>;
69
69
  enabled: _$zod.ZodBoolean;
70
- scope: _$zod.ZodString;
71
70
  busUrl: _$zod.ZodOptional<_$zod.ZodString>;
71
+ scope: _$zod.ZodString;
72
72
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
73
73
  type: _$zod.ZodLiteral<"container-isolated">;
74
74
  id: _$zod.ZodString;
@@ -338,8 +338,8 @@ declare const ExecutionTargetSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
338
338
  name: _$zod.ZodString;
339
339
  image: _$zod.ZodOptional<_$zod.ZodString>;
340
340
  enabled: _$zod.ZodBoolean;
341
- scope: _$zod.ZodString;
342
341
  busUrl: _$zod.ZodOptional<_$zod.ZodString>;
342
+ scope: _$zod.ZodString;
343
343
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
344
344
  type: _$zod.ZodLiteral<"container-isolated">;
345
345
  id: _$zod.ZodString;
@@ -47,8 +47,8 @@ declare const AdapterRuntimeNamespace: _$_makaio_core0.BusNamespaceDefinition<"a
47
47
  teardownCompleted: _$zod.ZodObject<{
48
48
  evidence: _$zod.ZodEnum<{
49
49
  unknown: "unknown";
50
- closed: "closed";
51
50
  exited: "exited";
51
+ closed: "closed";
52
52
  released: "released";
53
53
  detached: "detached";
54
54
  }>;
@@ -100,8 +100,8 @@ declare const AdapterRuntimeSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
100
100
  teardownCompleted: _$zod.ZodObject<{
101
101
  evidence: _$zod.ZodEnum<{
102
102
  unknown: "unknown";
103
- closed: "closed";
104
103
  exited: "exited";
104
+ closed: "closed";
105
105
  released: "released";
106
106
  detached: "detached";
107
107
  }>;