@makaio/framework 1.0.0-dev-1789034250920 → 1.0.0-dev-1789056039016

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 (110) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapters/claude/index.d.mts +36 -36
  3. package/dist/bootstrap-start-client-D7t7d9ty.mjs +1 -0
  4. package/dist/bus/index.mjs +1 -1
  5. package/dist/contracts/adapter/index.d.mts +2 -2
  6. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  7. package/dist/contracts/artifact/index.d.mts +2 -2
  8. package/dist/contracts/automation-trigger/index.d.mts +1 -1
  9. package/dist/contracts/capabilities/index.d.mts +1 -1
  10. package/dist/contracts/client/index.d.mts +2 -2
  11. package/dist/contracts/extension/index.d.mts +4 -4
  12. package/dist/contracts/harness/index.d.mts +1 -1
  13. package/dist/contracts/index.d.mts +51 -51
  14. package/dist/contracts/index.mjs +1 -1
  15. package/dist/contracts/materialization/index.d.mts +1 -1
  16. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  17. package/dist/contracts/reaction/index.d.mts +1 -1
  18. package/dist/contracts/session/index.d.mts +2 -2
  19. package/dist/contracts/variant/index.d.mts +1 -1
  20. package/dist/contracts/worker/index.d.mts +2 -2
  21. package/dist/contracts/worker/index.mjs +1 -1
  22. package/dist/contracts/workflow/index.d.mts +2 -2
  23. package/dist/{contribution-CejwVIb3.d.mts → contribution-BWanQHUz.d.mts} +1 -1
  24. package/dist/{extension-context-SrQpa_kp.d.mts → extension-context-BGNUn34r.d.mts} +3 -3
  25. package/dist/{hook-responses-E1gipXIp.d.mts → hook-responses-DVjMuGh9.d.mts} +1 -1
  26. package/dist/{index-D1rYHYPO.d.mts → index-B4KCyY6J.d.mts} +8 -8
  27. package/dist/{index-yapYXeah.d.mts → index-BLhNHkiK.d.mts} +8 -8
  28. package/dist/{index-DWlmiprx2.d.mts → index-BgKU1PuR2.d.mts} +1 -1
  29. package/dist/{index-DKq33gti.d.mts → index-C0jn5nKJ.d.mts} +32 -32
  30. package/dist/{index-BncQwKi-2.d.mts → index-CAURP-Tl2.d.mts} +37 -37
  31. package/dist/{index-BN0qpem12.d.mts → index-CK5GEXLB2.d.mts} +16 -16
  32. package/dist/{index-B94tZHiU.d.mts → index-CKvliyuY.d.mts} +241 -241
  33. package/dist/{index-MKNhvbfG.d.mts → index-CO6ADD43.d.mts} +22 -22
  34. package/dist/{index-OLGGmjgd.d.mts → index-CU9xmTkP.d.mts} +1 -1
  35. package/dist/{index-B7VWSBm72.d.mts → index-CVP9K9-a2.d.mts} +4 -4
  36. package/dist/{index-BTwMms1p.d.mts → index-Caai1zAG.d.mts} +1 -1
  37. package/dist/{index-BPrpnLRQ.d.mts → index-CrvTRZqh.d.mts} +4 -4
  38. package/dist/{index-6BDbhx3A2.d.mts → index-DO0QO0ux2.d.mts} +1 -1
  39. package/dist/{index-BFchykav.d.mts → index-Ddk-kjif.d.mts} +1 -1
  40. package/dist/{index-Cp9olTr7.d.mts → index-DhW9WHFS.d.mts} +6 -6
  41. package/dist/{index-0_Ao0hwU.d.mts → index-Dtc5UYJG.d.mts} +54 -54
  42. package/dist/{index-BeLI73yw2.d.mts → index-H2NL2OwF2.d.mts} +116 -4
  43. package/dist/{index-DxUstDMY.d.mts → index-LRAmVQLj.d.mts} +277 -43
  44. package/dist/{index-BN2_TMtX.d.mts → index-fpGFhEmI.d.mts} +6 -6
  45. package/dist/kernel/extension/index.d.mts +1 -1
  46. package/dist/kernel/index.d.mts +2 -2
  47. package/dist/kernel/observability/index.d.mts +1 -1
  48. package/dist/{namespace-CZJQrexB.d.mts → namespace--mFdPlbu.d.mts} +18 -18
  49. package/dist/{namespace-CjFT0wBT.d.mts → namespace-CQPcYS-Q.d.mts} +2 -2
  50. package/dist/{namespace-BHkEHrUG.d.mts → namespace-DyWNxLt1.d.mts} +6 -6
  51. package/dist/{namespace-BYBMtQUy.d.mts → namespace-TX9DlWiQ.d.mts} +4 -4
  52. package/dist/package.json +1 -1
  53. package/dist/runtime-node/index.d.mts +2 -2
  54. package/dist/runtime-node/index.mjs +21 -21
  55. package/dist/runtime-node/workflow-execution-bus-access.mjs +1 -1
  56. package/dist/runtime-node/workflow-worker/index.d.mts +2 -2
  57. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  58. package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
  59. package/dist/{schemas-COQUToGQ.d.mts → schemas-BGcAiQE0.d.mts} +4 -4
  60. package/dist/{schemas-DNUfTOJ0.d.mts → schemas-D9WJH6We.d.mts} +1 -1
  61. package/dist/{schemas-Ct0tTtkV.d.mts → schemas-Dt1YwXLN.d.mts} +8 -8
  62. package/dist/{schemas-DYtUc2WA.d.mts → schemas-FkLOBJgq.d.mts} +4 -4
  63. package/dist/{schemas-DNvDh0eE2.d.mts → schemas-Fn-eeay32.d.mts} +7 -7
  64. package/dist/{schemas-mTWvDwx9.d.mts → schemas-_NrySTmN.d.mts} +1 -1
  65. package/dist/services/adapter-runtime/index.d.mts +3 -3
  66. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  67. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  68. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  69. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  70. package/dist/services/context-rules/index.d.mts +3 -3
  71. package/dist/services/execution-target/index.d.mts +1 -1
  72. package/dist/services/filesystem/namespace.d.mts +6 -6
  73. package/dist/services/filesystem/schemas.d.mts +3 -3
  74. package/dist/services/git/namespace.d.mts +2 -2
  75. package/dist/services/git/schemas.d.mts +1 -1
  76. package/dist/services/harness/index.d.mts +3 -3
  77. package/dist/services/index.d.mts +34 -34
  78. package/dist/services/log-import/browser.d.mts +2 -2
  79. package/dist/services/log-import/index.d.mts +2 -2
  80. package/dist/services/log-import/log-import.d.mts +1 -1
  81. package/dist/services/log-import/namespace.d.mts +2 -2
  82. package/dist/services/log-import/schemas.d.mts +1 -1
  83. package/dist/services/preferences/index.d.mts +2 -2
  84. package/dist/services/preferences/schemas.d.mts +1 -1
  85. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  86. package/dist/services/provider-context/index.d.mts +1 -1
  87. package/dist/services/session/index.d.mts +4 -4
  88. package/dist/services/session/messages/namespace.d.mts +1 -1
  89. package/dist/services/session/session-events/namespace.d.mts +1 -1
  90. package/dist/services/settings/namespace.d.mts +8 -8
  91. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  92. package/dist/services/subagent-template/index.d.mts +1 -1
  93. package/dist/services/subagent-template/schemas.d.mts +1 -1
  94. package/dist/{session-lineage-9_qwkjUq.d.mts → session-lineage-CoNs4WZy.d.mts} +1 -1
  95. package/dist/{storage-namespace-DITavhRL.d.mts → storage-namespace-BUSNKZLw.d.mts} +10 -10
  96. package/dist/{transition-DNi6L7i2.d.mts → transition-D2VKNtv6.d.mts} +1 -1
  97. package/dist/{types-BeAxyCuU2.d.mts → types-DafDuOcH2.d.mts} +1 -1
  98. package/dist/{types-DXobLxrf.d.mts → types-DyXXIK4c.d.mts} +15 -15
  99. package/dist/ui-kernel/index.d.mts +4 -4
  100. package/dist/ui-kernel/pages/namespace.d.mts +4 -4
  101. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  102. package/dist/{view-builder-B5gP9RnN.d.mts → view-builder-BFEvUe6n.d.mts} +1 -1
  103. package/dist/worker-L8vWpbYa.mjs +1 -0
  104. package/dist/workflow-engine/index.d.mts +32 -32
  105. package/dist/workflow-worker-BDA-E_pm.mjs +2 -0
  106. package/package.json +1 -1
  107. package/dist/bootstrap-start-client-rW55mDI-.mjs +0 -1
  108. package/dist/worker-Cmme3rMM.mjs +0 -1
  109. package/dist/workflow-worker-BAO7pQpx.mjs +0 -2
  110. package/dist/{index-C4DMSFLE2.d.mts → index-D4FE3jHM2.d.mts} +6 -6
@@ -17,9 +17,9 @@ declare const PreferencesNamespace: _$_makaio_core0.BusNamespaceDefinition<"pref
17
17
  scope: _$zod.ZodString;
18
18
  context: _$zod.ZodOptional<_$zod.ZodString>;
19
19
  viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
20
+ mobile: "mobile";
20
21
  desktop: "desktop";
21
22
  tablet: "tablet";
22
- mobile: "mobile";
23
23
  }>>;
24
24
  }, _$zod_v4_core0.$strip>;
25
25
  category: _$zod.ZodString;
@@ -38,9 +38,9 @@ declare const PreferencesNamespace: _$_makaio_core0.BusNamespaceDefinition<"pref
38
38
  scope: _$zod.ZodString;
39
39
  context: _$zod.ZodOptional<_$zod.ZodString>;
40
40
  viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
41
+ mobile: "mobile";
41
42
  desktop: "desktop";
42
43
  tablet: "tablet";
43
- mobile: "mobile";
44
44
  }>>;
45
45
  }, _$zod_v4_core0.$strip>;
46
46
  category: _$zod.ZodString;
@@ -60,9 +60,9 @@ declare const PreferencesNamespace: _$_makaio_core0.BusNamespaceDefinition<"pref
60
60
  scope: _$zod.ZodString;
61
61
  context: _$zod.ZodOptional<_$zod.ZodString>;
62
62
  viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
63
+ mobile: "mobile";
63
64
  desktop: "desktop";
64
65
  tablet: "tablet";
65
- mobile: "mobile";
66
66
  }>>;
67
67
  }, _$zod_v4_core0.$strip>;
68
68
  category: _$zod.ZodString;
@@ -81,9 +81,9 @@ declare const PreferencesNamespace: _$_makaio_core0.BusNamespaceDefinition<"pref
81
81
  scope: _$zod.ZodOptional<_$zod.ZodString>;
82
82
  context: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
83
83
  viewport: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodEnum<{
84
+ mobile: "mobile";
84
85
  desktop: "desktop";
85
86
  tablet: "tablet";
86
- mobile: "mobile";
87
87
  }>>>;
88
88
  }, _$zod_v4_core0.$strip>>;
89
89
  category: _$zod.ZodOptional<_$zod.ZodString>;
@@ -98,9 +98,9 @@ declare const PreferencesNamespace: _$_makaio_core0.BusNamespaceDefinition<"pref
98
98
  scope: _$zod.ZodString;
99
99
  context: _$zod.ZodOptional<_$zod.ZodString>;
100
100
  viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
101
+ mobile: "mobile";
101
102
  desktop: "desktop";
102
103
  tablet: "tablet";
103
- mobile: "mobile";
104
104
  }>>;
105
105
  }, _$zod_v4_core0.$strip>;
106
106
  category: _$zod.ZodString;
@@ -124,9 +124,9 @@ declare const PreferencesSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.F
124
124
  scope: _$zod.ZodString;
125
125
  context: _$zod.ZodOptional<_$zod.ZodString>;
126
126
  viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
127
+ mobile: "mobile";
127
128
  desktop: "desktop";
128
129
  tablet: "tablet";
129
- mobile: "mobile";
130
130
  }>>;
131
131
  }, _$zod_v4_core0.$strip>;
132
132
  category: _$zod.ZodString;
@@ -145,9 +145,9 @@ declare const PreferencesSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.F
145
145
  scope: _$zod.ZodString;
146
146
  context: _$zod.ZodOptional<_$zod.ZodString>;
147
147
  viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
148
+ mobile: "mobile";
148
149
  desktop: "desktop";
149
150
  tablet: "tablet";
150
- mobile: "mobile";
151
151
  }>>;
152
152
  }, _$zod_v4_core0.$strip>;
153
153
  category: _$zod.ZodString;
@@ -167,9 +167,9 @@ declare const PreferencesSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.F
167
167
  scope: _$zod.ZodString;
168
168
  context: _$zod.ZodOptional<_$zod.ZodString>;
169
169
  viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
170
+ mobile: "mobile";
170
171
  desktop: "desktop";
171
172
  tablet: "tablet";
172
- mobile: "mobile";
173
173
  }>>;
174
174
  }, _$zod_v4_core0.$strip>;
175
175
  category: _$zod.ZodString;
@@ -188,9 +188,9 @@ declare const PreferencesSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.F
188
188
  scope: _$zod.ZodOptional<_$zod.ZodString>;
189
189
  context: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
190
190
  viewport: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodEnum<{
191
+ mobile: "mobile";
191
192
  desktop: "desktop";
192
193
  tablet: "tablet";
193
- mobile: "mobile";
194
194
  }>>>;
195
195
  }, _$zod_v4_core0.$strip>>;
196
196
  category: _$zod.ZodOptional<_$zod.ZodString>;
@@ -205,9 +205,9 @@ declare const PreferencesSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.F
205
205
  scope: _$zod.ZodString;
206
206
  context: _$zod.ZodOptional<_$zod.ZodString>;
207
207
  viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
208
+ mobile: "mobile";
208
209
  desktop: "desktop";
209
210
  tablet: "tablet";
210
- mobile: "mobile";
211
211
  }>>;
212
212
  }, _$zod_v4_core0.$strip>;
213
213
  category: _$zod.ZodString;
@@ -1,4 +1,4 @@
1
- import { x as ArtifactRevision$1 } from "./schemas-mTWvDwx9.mjs";
1
+ import { x as ArtifactRevision$1 } from "./schemas-_NrySTmN.mjs";
2
2
  import { l as JsonValue$1 } from "./json-value-Bjl8jzom.mjs";
3
3
  import { z } from "zod";
4
4
  import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
@@ -1,4 +1,4 @@
1
- import { r as LogImportMode, t as LogImporterInfo } from "./index-6BDbhx3A2.mjs";
1
+ import { r as LogImportMode, t as LogImporterInfo } from "./index-DO0QO0ux2.mjs";
2
2
  import * as _$_makaio_bus_core0 from "@makaio/framework/bus";
3
3
  import { IMakaioBus } from "@makaio/framework/bus";
4
4
  import { LogImportOrchestrator, LogImporter } from "@makaio/framework/adapters";
@@ -1145,8 +1145,8 @@ declare const SessionSnapshotSchema: z.ZodObject<{
1145
1145
  type: z.ZodLiteral<"locality.degraded">;
1146
1146
  payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
1147
1147
  intent: z.ZodEnum<{
1148
- resume: "resume";
1149
1148
  fork: "fork";
1149
+ resume: "resume";
1150
1150
  }>;
1151
1151
  verdictKind: z.ZodLiteral<"degrade">;
1152
1152
  reason: z.ZodEnum<{
@@ -1171,8 +1171,8 @@ declare const SessionSnapshotSchema: z.ZodObject<{
1171
1171
  turnId: z.ZodOptional<z.ZodString>;
1172
1172
  }, z.core.$strip>, z.ZodObject<{
1173
1173
  intent: z.ZodEnum<{
1174
- resume: "resume";
1175
1174
  fork: "fork";
1175
+ resume: "resume";
1176
1176
  }>;
1177
1177
  verdictKind: z.ZodLiteral<"foreign">;
1178
1178
  foreignMachineId: z.ZodString;
@@ -1552,8 +1552,8 @@ type Turn$1 = z.infer<typeof TurnSchema$1>;
1552
1552
  */
1553
1553
  declare const MessageRoutingStatusSchema: z.ZodEnum<{
1554
1554
  completed: "completed";
1555
- sent: "sent";
1556
1555
  acknowledged: "acknowledged";
1556
+ sent: "sent";
1557
1557
  }>;
1558
1558
  type MessageRoutingStatus = z.infer<typeof MessageRoutingStatusSchema>;
1559
1559
  /**
@@ -1564,8 +1564,8 @@ declare const MessageRoutingSchema$1: z.ZodObject<{
1564
1564
  agentId: z.ZodString;
1565
1565
  status: z.ZodEnum<{
1566
1566
  completed: "completed";
1567
- sent: "sent";
1568
1567
  acknowledged: "acknowledged";
1568
+ sent: "sent";
1569
1569
  }>;
1570
1570
  timestamp: z.ZodNumber;
1571
1571
  error: z.ZodOptional<z.ZodString>;
@@ -4271,8 +4271,8 @@ declare const MakaioSessionEventSchema: z.ZodUnion<readonly [z.ZodDiscriminatedU
4271
4271
  type: z.ZodLiteral<"locality.degraded">;
4272
4272
  payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
4273
4273
  intent: z.ZodEnum<{
4274
- resume: "resume";
4275
4274
  fork: "fork";
4275
+ resume: "resume";
4276
4276
  }>;
4277
4277
  verdictKind: z.ZodLiteral<"degrade">;
4278
4278
  reason: z.ZodEnum<{
@@ -4297,8 +4297,8 @@ declare const MakaioSessionEventSchema: z.ZodUnion<readonly [z.ZodDiscriminatedU
4297
4297
  turnId: z.ZodOptional<z.ZodString>;
4298
4298
  }, z.core.$strip>, z.ZodObject<{
4299
4299
  intent: z.ZodEnum<{
4300
- resume: "resume";
4301
4300
  fork: "fork";
4301
+ resume: "resume";
4302
4302
  }>;
4303
4303
  verdictKind: z.ZodLiteral<"foreign">;
4304
4304
  foreignMachineId: z.ZodString;
@@ -10988,8 +10988,8 @@ declare const SessionSchemas: {
10988
10988
  type: _$zod.ZodLiteral<"locality.degraded">;
10989
10989
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
10990
10990
  intent: _$zod.ZodEnum<{
10991
- resume: "resume";
10992
10991
  fork: "fork";
10992
+ resume: "resume";
10993
10993
  }>;
10994
10994
  verdictKind: _$zod.ZodLiteral<"degrade">;
10995
10995
  reason: _$zod.ZodEnum<{
@@ -11014,8 +11014,8 @@ declare const SessionSchemas: {
11014
11014
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
11015
11015
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
11016
11016
  intent: _$zod.ZodEnum<{
11017
- resume: "resume";
11018
11017
  fork: "fork";
11018
+ resume: "resume";
11019
11019
  }>;
11020
11020
  verdictKind: _$zod.ZodLiteral<"foreign">;
11021
11021
  foreignMachineId: _$zod.ZodString;
@@ -11660,8 +11660,8 @@ declare const SessionSchemas: {
11660
11660
  type: _$zod.ZodLiteral<"locality.degraded">;
11661
11661
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
11662
11662
  intent: _$zod.ZodEnum<{
11663
- resume: "resume";
11664
11663
  fork: "fork";
11664
+ resume: "resume";
11665
11665
  }>;
11666
11666
  verdictKind: _$zod.ZodLiteral<"degrade">;
11667
11667
  reason: _$zod.ZodEnum<{
@@ -11686,8 +11686,8 @@ declare const SessionSchemas: {
11686
11686
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
11687
11687
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
11688
11688
  intent: _$zod.ZodEnum<{
11689
- resume: "resume";
11690
11689
  fork: "fork";
11690
+ resume: "resume";
11691
11691
  }>;
11692
11692
  verdictKind: _$zod.ZodLiteral<"foreign">;
11693
11693
  foreignMachineId: _$zod.ZodString;
@@ -11790,8 +11790,8 @@ declare const SessionSchemas: {
11790
11790
  timestamp: _$zod.ZodNumber;
11791
11791
  }, _$zod_v4_core0.$strip>, _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
11792
11792
  intent: _$zod.ZodEnum<{
11793
- resume: "resume";
11794
11793
  fork: "fork";
11794
+ resume: "resume";
11795
11795
  }>;
11796
11796
  verdictKind: _$zod.ZodLiteral<"degrade">;
11797
11797
  reason: _$zod.ZodEnum<{
@@ -11816,8 +11816,8 @@ declare const SessionSchemas: {
11816
11816
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
11817
11817
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
11818
11818
  intent: _$zod.ZodEnum<{
11819
- resume: "resume";
11820
11819
  fork: "fork";
11820
+ resume: "resume";
11821
11821
  }>;
11822
11822
  verdictKind: _$zod.ZodLiteral<"foreign">;
11823
11823
  foreignMachineId: _$zod.ZodString;
@@ -11835,8 +11835,8 @@ declare const SessionSchemas: {
11835
11835
  maxTokens: _$zod.ZodNumber;
11836
11836
  percentage: _$zod.ZodNumber;
11837
11837
  level: _$zod.ZodEnum<{
11838
- ok: "ok";
11839
11838
  warn: "warn";
11839
+ ok: "ok";
11840
11840
  critical: "critical";
11841
11841
  }>;
11842
11842
  lastUpdatedAt: _$zod.ZodNumber;
@@ -12176,8 +12176,8 @@ declare const SessionSchemas: {
12176
12176
  type: _$zod.ZodLiteral<"locality.degraded">;
12177
12177
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
12178
12178
  intent: _$zod.ZodEnum<{
12179
- resume: "resume";
12180
12179
  fork: "fork";
12180
+ resume: "resume";
12181
12181
  }>;
12182
12182
  verdictKind: _$zod.ZodLiteral<"degrade">;
12183
12183
  reason: _$zod.ZodEnum<{
@@ -12202,8 +12202,8 @@ declare const SessionSchemas: {
12202
12202
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
12203
12203
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
12204
12204
  intent: _$zod.ZodEnum<{
12205
- resume: "resume";
12206
12205
  fork: "fork";
12206
+ resume: "resume";
12207
12207
  }>;
12208
12208
  verdictKind: _$zod.ZodLiteral<"foreign">;
12209
12209
  foreignMachineId: _$zod.ZodString;
@@ -1,4 +1,4 @@
1
- import { r as PageSurfaceConfig, s as SurfaceId } from "../schemas-DYtUc2WA.mjs";
1
+ import { r as PageSurfaceConfig, s as SurfaceId } from "../schemas-FkLOBJgq.mjs";
2
2
  import * as _$zod from "zod";
3
3
  import { z } from "zod";
4
4
  import * as _$_makaio_core0 from "@makaio/framework/core";
@@ -2309,8 +2309,8 @@ declare const UiSchemas: {
2309
2309
  ready: z.ZodObject<{
2310
2310
  surface: z.ZodEnum<{
2311
2311
  tray: "tray";
2312
- mobile: "mobile";
2313
2312
  web: "web";
2313
+ mobile: "mobile";
2314
2314
  electron: "electron";
2315
2315
  electrobun: "electrobun";
2316
2316
  }>;
@@ -2409,8 +2409,8 @@ declare const UiNamespace: _$_makaio_core0.BusNamespaceDefinition<"ui", {
2409
2409
  ready: _$zod.ZodObject<{
2410
2410
  surface: _$zod.ZodEnum<{
2411
2411
  tray: "tray";
2412
- mobile: "mobile";
2413
2412
  web: "web";
2413
+ mobile: "mobile";
2414
2414
  electron: "electron";
2415
2415
  electrobun: "electrobun";
2416
2416
  }>;
@@ -2450,8 +2450,8 @@ declare const UiSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjec
2450
2450
  ready: _$zod.ZodObject<{
2451
2451
  surface: _$zod.ZodEnum<{
2452
2452
  tray: "tray";
2453
- mobile: "mobile";
2454
2453
  web: "web";
2454
+ mobile: "mobile";
2455
2455
  electron: "electron";
2456
2456
  electrobun: "electrobun";
2457
2457
  }>;
@@ -15,8 +15,8 @@ declare const PageNamespace: _$_makaio_core0.BusNamespaceDefinition<"pages", {
15
15
  readonly request: _$zod.ZodObject<{
16
16
  surface: _$zod.ZodOptional<_$zod.ZodEnum<{
17
17
  tray: "tray";
18
- mobile: "mobile";
19
18
  web: "web";
19
+ mobile: "mobile";
20
20
  electron: "electron";
21
21
  electrobun: "electrobun";
22
22
  }>>;
@@ -35,8 +35,8 @@ declare const PageNamespace: _$_makaio_core0.BusNamespaceDefinition<"pages", {
35
35
  level: _$zod.ZodCustom<_$_makaio_contracts0.UiNavigationLevel, _$_makaio_contracts0.UiNavigationLevel>;
36
36
  surfaces: _$zod.ZodOptional<_$zod.ZodUnion<readonly [_$zod.ZodLiteral<"all">, _$zod.ZodArray<_$zod.ZodEnum<{
37
37
  tray: "tray";
38
- mobile: "mobile";
39
38
  web: "web";
39
+ mobile: "mobile";
40
40
  electron: "electron";
41
41
  electrobun: "electrobun";
42
42
  }>>]>>;
@@ -55,8 +55,8 @@ declare const PageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubj
55
55
  readonly request: _$zod.ZodObject<{
56
56
  surface: _$zod.ZodOptional<_$zod.ZodEnum<{
57
57
  tray: "tray";
58
- mobile: "mobile";
59
58
  web: "web";
59
+ mobile: "mobile";
60
60
  electron: "electron";
61
61
  electrobun: "electrobun";
62
62
  }>>;
@@ -75,8 +75,8 @@ declare const PageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubj
75
75
  level: _$zod.ZodCustom<_$_makaio_contracts0.UiNavigationLevel, _$_makaio_contracts0.UiNavigationLevel>;
76
76
  surfaces: _$zod.ZodOptional<_$zod.ZodUnion<readonly [_$zod.ZodLiteral<"all">, _$zod.ZodArray<_$zod.ZodEnum<{
77
77
  tray: "tray";
78
- mobile: "mobile";
79
78
  web: "web";
79
+ mobile: "mobile";
80
80
  electron: "electron";
81
81
  electrobun: "electrobun";
82
82
  }>>]>>;
@@ -1,2 +1,2 @@
1
- import { a as SurfaceCapabilitySchema, c as SurfaceIdSchema, i as SurfaceCapability, l as isPageVisibleOnSurface, n as PageSchemas, o as SurfaceDeclaration, r as PageSurfaceConfig, s as SurfaceId, t as PageMetadata } from "../../schemas-DYtUc2WA.mjs";
1
+ import { a as SurfaceCapabilitySchema, c as SurfaceIdSchema, i as SurfaceCapability, l as isPageVisibleOnSurface, n as PageSchemas, o as SurfaceDeclaration, r as PageSurfaceConfig, s as SurfaceId, t as PageMetadata } from "../../schemas-FkLOBJgq.mjs";
2
2
  export { PageMetadata, PageSchemas, PageSurfaceConfig, SurfaceCapability, SurfaceCapabilitySchema, SurfaceDeclaration, SurfaceId, SurfaceIdSchema, isPageVisibleOnSurface };
@@ -1,4 +1,4 @@
1
- import { p as ArtifactRelation, x as ArtifactRevision$1 } from "./schemas-mTWvDwx9.mjs";
1
+ import { p as ArtifactRelation, x as ArtifactRevision$1 } from "./schemas-_NrySTmN.mjs";
2
2
  import { z } from "zod";
3
3
  import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
4
4
 
@@ -0,0 +1 @@
1
+ import{n as e,o as t}from"./json-value-DM-EjTC1.mjs";import{r as n}from"./definitions-CyFaNG_c.mjs";import{A as r,M as i,_ as a,d as o,x as s}from"./worker-B0xwfo9-.mjs";import{G as c,H as l,V as u}from"./workflow-DNks09Ip.mjs";import{z as d}from"zod";import{createBusNamespace as f}from"@makaio/framework/core";const p=d.object({requestKey:d.string().min(1),controlRevision:d.number().int().positive(),requestedAt:d.iso.datetime({offset:!0}),reason:d.string().optional()}).strict(),m=d.object({executionAttemptId:d.string().min(1),runtimeIncarnationId:d.string().min(1),runtimeGeneration:d.number().int().positive(),controlRevision:d.number().int().positive(),requestKey:d.string().min(1)}).strict(),h=m.omit({requestKey:!0,controlRevision:!0}).extend({cancellation:p}),g=m.extend({receivedAt:d.iso.datetime({offset:!0})}),_=d.discriminatedUnion(`decision`,[d.object({decision:d.literal(`received`),receipt:g}).strict(),d.object({decision:d.literal(`refused`),reason:d.enum([`stale-generation`,`unsupported`])}).strict()]),v=d.object({status:d.enum([`achieved`,`unsupported`,`unconfirmed`]),boundary:d.enum([`admission-closed`,`setup-process-group`,`workload`]),evidence:o}).strict(),y=m.extend({operationId:d.string().min(1).optional(),conclusion:v}),b=d.enum([`not-found`,`cancel-mismatch`,`stale-generation`,`operation-mismatch`,`conflict`]),x=d.discriminatedUnion(`decision`,[d.object({decision:d.literal(`accepted`)}).strict(),d.object({decision:d.literal(`duplicate`)}).strict(),d.object({decision:d.literal(`refused`),reason:b}).strict()]),S=d.string().min(1),ee=S.refine(e=>!e.startsWith(`/`)&&!e.includes(`\\`)&&!/^[A-Za-z]:/.test(e)&&!e.split(`/`).includes(`..`),{message:`Source paths must be workspace-relative and may not traverse outside the workspace`}),C=d.object({command:S,args:d.array(d.string()),env:d.record(d.string(),d.string()),timeoutMs:d.number().int().positive()}).strict(),w=d.object({provisioning:d.enum([`bind`,`create`]),custody:d.enum([`external`,`disposable`]),sourceRoots:d.array(d.object({id:S,path:ee,source:d.object({kind:S,input:t}).strict().optional()}).strict()),setup:d.array(C)}).strict(),T=d.object({required:d.array(d.enum([`source-state`,`diagnostics`,`workspace-state`,`live-state`]))}).strict(),E=d.object({id:S,revision:S,workload:d.object({kind:S,version:S,input:t}).strict(),workspace:w.optional(),preservation:T}).strict(),D=d.object({workspaceRoot:S,sourceRoots:d.array(d.object({id:S,path:S}).strict())}).strict(),O=d.object({kind:d.literal(`workspace-prepared`),binding:D}).strict(),k=d.discriminatedUnion(`kind`,[d.object({kind:d.literal(`technical-failure`),stage:d.enum([`startup`,`workspace-preparation`,`workload-invocation`]),message:d.string().min(1).max(8192)}).strict(),d.object({kind:d.literal(`workload-result`),result:t}).strict(),d.object({kind:d.literal(`cancelled`),reason:d.string().min(1).max(8192).optional()}).strict()]),A=d.enum([`runtime-probe`,`workflow-run`,`workspace-preparation`,`workload-invocation`]),j=A.exclude([`runtime-probe`]),M=d.object({executionAttemptId:d.string().min(1),runtimeIncarnationId:d.string().min(1),operationId:d.string().min(1),operationKind:A,runtimeGeneration:d.number().int().positive()}).strict(),N=d.object({receipt:d.enum([`completed`,`duplicate`,`refused`]),refusalReason:d.enum([`stale-generation`,`unknown-kind`]).optional()}).strict(),P=d.enum([`not-found`,`resolved`,`fenced`,`not-allocated`,`operation-active`,`probe-failed`]),F=e=>d.object({decision:d.literal(e),runtimeGeneration:d.number().int().positive()}).strict(),I=d.enum([`not-found`,`resolved`,`fenced`,`allocation-terminated`,`gate-closed`,`bootstrap-expired`]),L=d.object({executionAttemptId:d.string().min(1)}).strict(),R=d.discriminatedUnion(`status`,[d.object({status:d.literal(`permitted`)}).strict(),d.object({status:d.literal(`pending`)}).strict(),d.object({status:d.literal(`refused`),reason:I}).strict()]),z={"control.deliver":{request:h,response:_},"control.report":{request:y,response:x},"bootstrap.awaitStart":{request:L,response:R},"runtime.register":{request:d.object({executionAttemptId:d.string().min(1),runtimeIncarnationId:d.string().min(1)}).strict(),response:d.discriminatedUnion(`decision`,[F(`ready`),F(`duplicate`),d.object({decision:d.literal(`refused`),runtimeGeneration:d.literal(0),refusalReason:P}).strict()])},"runtime.ready":d.object({executionAttemptId:d.string().min(1),runtimeGeneration:d.number().int().positive(),acceptedAt:d.string().min(1)}).strict(),"operation.admit":{request:d.object({executionAttemptId:d.string().min(1),operationKind:A,admissionKey:d.string().min(1),runtimeGeneration:d.number().int().positive()}).strict(),response:d.object({decision:d.enum([`admitted`,`duplicate`,`refused`]),operationId:d.string().min(1).optional(),refusalReason:d.enum([`not-found`,`resolved`,`fenced`,`not-allocated`,`operation-active`,`gate-closed`,`not-ready`,`stale-generation`,`preparation-required`,`preparation-not-required`,`preparation-already-completed`]).optional()}).strict()},"operation.admitted":d.object({executionAttemptId:d.string().min(1),operationId:d.string().min(1),operationKind:j,runtimeGeneration:d.number().int().positive(),admittedAt:d.string().min(1)}).strict(),"operation.deliver":{request:M,response:N},"instruction.get":{request:d.object({executionAttemptId:d.string().min(1),runtimeGeneration:d.number().int().positive()}).strict(),response:d.discriminatedUnion(`decision`,[d.object({decision:d.literal(`found`),instruction:E}).strict(),d.object({decision:d.literal(`refused`),refusalReason:d.enum([`not-found`,`resolved`,`fenced`,`not-ready`,`stale-generation`])}).strict()])},"operation.report":{request:d.object({executionAttemptId:d.string().min(1),runtimeGeneration:d.number().int().positive(),operationId:d.string().min(1),result:O}).strict(),response:d.discriminatedUnion(`decision`,[d.object({decision:d.literal(`accepted`),binding:D}).strict(),d.object({decision:d.literal(`duplicate`),binding:D}).strict(),d.object({decision:d.literal(`refused`),refusalReason:d.enum([`not-found`,`resolved`,`fenced`,`not-allocated`,`stale-generation`,`no-active-operation`,`operation-mismatch`,`preparation-not-required`,`binding-mismatch`,`conflict`])}).strict()])},"outcome.submit":{request:d.object({executionAttemptId:d.string().min(1),runtimeGeneration:d.number().int().positive(),operationId:d.string().min(1).optional(),outcome:k}).strict().superRefine((e,t)=>{!e.operationId&&e.outcome.kind!==`cancelled`&&!(e.outcome.kind===`technical-failure`&&e.outcome.stage===`startup`)&&t.addIssue({code:`custom`,path:[`operationId`],message:`An admitted operation is required for this outcome`})}),response:d.object({decision:a}).strict()}},B=d.object({workerManifest:u,suspensionStrategy:i}).strict(),V=d.iso.datetime({offset:!0}),H=d.string().refine(e=>{let t=Date.parse(e);return Number.isFinite(t)&&(V.safeParse(e).success||new Date(t).toISOString()===e)},`Expected a representable ISO bootstrap deadline`),U=d.object({busUrl:d.string().min(1),busAuthSecret:d.string().min(1)}).strict(),W=d.object({status:d.literal(`granted`),credentials:U,runtimeEnv:d.record(n,d.string())}).strict(),G=d.enum([...I.options,`provider-mismatch`,`claim-expired`,`not-claimable`]),K=d.discriminatedUnion(`status`,[W,d.object({status:d.literal(`pending`)}).strict(),d.object({status:d.literal(`refused`),reason:G}).strict()]),q=d.object({executionAttemptId:d.string().min(1),executionId:d.string().min(1),environment:d.string().min(1),metadata:e.optional()}),J=d.enum([`unavailable`,`refused`,`invalid-receipt`,`receipt-not-recorded`]),Y=q.extend({kind:J,detail:d.string().min(1),observedAt:d.iso.datetime({offset:!0})}),X=d.object({executionAttemptId:d.string().min(1),config:c,manifest:u.optional(),requirements:r.optional(),metadata:e.optional()}),Z=d.object({executionAttemptId:d.string().min(1),allocationRef:s}).strict(),Q={dispatch:{request:X,response:Z},"runtime.inputs.get":{request:d.object({executionAttemptId:d.string().min(1)}).strict(),response:d.object({runtimeInputs:B.nullable()}).strict()},"control.outcome.submit":{request:d.object({executionAttemptId:d.string().min(1),executionId:d.string().min(1),result:l}).strict().superRefine((e,t)=>{e.result.executionId!==e.executionId&&t.addIssue({code:d.ZodIssueCode.custom,path:[`result`,`executionId`],message:`result.executionId must match executionId`})}),response:d.object({decision:a}).strict()},"control.bootstrap.claim":{request:d.object({executionId:d.string().min(1),executionAttemptId:d.string().min(1)}).strict(),response:K},"control.cancel-undelivered":Y,"lifecycle.provisioning":q,"lifecycle.booting":q,"lifecycle.ready":q,"lifecycle.busy":q,"lifecycle.completed":q,"lifecycle.failed":q.extend({error:d.string().min(1)}),"lifecycle.terminated":q.extend({reason:d.string().optional()}),"lifecycle.paused":q.extend({pausedAtGateId:d.string().min(1),pausedAtFrameId:d.string().min(1)})},te=`worker-bootstrap`,$=f(`worker`,Q),ne=$.subjects;export{C as A,z as C,D,O as E,h as F,g as I,b as L,v as M,m as N,T as O,_ as P,x as R,P as S,k as T,R as _,K as a,A as b,W as c,X as d,Z as f,L as g,j as h,G as i,p as j,w as k,J as l,B as m,$ as n,U as o,Q as p,ne as r,H as s,te as t,Y as u,I as v,E as w,N as x,M as y,y as z};