@openspecui/core 5.0.0 → 6.0.0-beta.0

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 (116) hide show
  1. package/dist/cli-projection-DxnVGm2B.d.mts +789 -0
  2. package/dist/cli-projection-vO3-FJg5.mjs +161 -0
  3. package/dist/cli-projection.d.mts +6 -0
  4. package/dist/cli-projection.mjs +4 -0
  5. package/dist/command-result-fkH3Ekdz.d.mts +8477 -0
  6. package/dist/common-D8YUK9dA.mjs +57 -0
  7. package/dist/dashboard-summary-transport-CQ4is5_e.d.mts +66227 -0
  8. package/dist/dashboard-summary-transport-D2VBAIxg.mjs +175 -0
  9. package/dist/dashboard-summary-transport.d.mts +25 -0
  10. package/dist/dashboard-summary-transport.mjs +6 -0
  11. package/dist/{document-translation-D4YK18I3.mjs → document-translation-CeJFGMoy.mjs} +1 -1
  12. package/dist/{document-translation-7R8cf8_B.d.mts → document-translation-D50BnvVh.d.mts} +2 -2
  13. package/dist/document-translation.d.mts +1 -1
  14. package/dist/document-translation.mjs +2 -2
  15. package/dist/{hosted-app-CzMRiEgY.mjs → hosted-app-BPU4OR41.mjs} +31 -9
  16. package/dist/hosted-app.d.mts +25 -2
  17. package/dist/hosted-app.mjs +7 -2
  18. package/dist/hosted-contract-CcRnb51e.mjs +234 -0
  19. package/dist/hosted-contract.d.mts +25 -0
  20. package/dist/hosted-contract.mjs +7 -0
  21. package/dist/index.d.mts +25 -2686
  22. package/dist/index.mjs +2114 -1098
  23. package/dist/{local-download-profiles-caa4PECd.d.mts → local-download-profiles-BL_rtlVM.d.mts} +1 -1
  24. package/dist/local-download-profiles.d.mts +2 -2
  25. package/dist/local-download-profiles.mjs +1 -1
  26. package/dist/markdown-facts.d.mts +1 -1
  27. package/dist/markdown-facts.mjs +1 -1
  28. package/dist/{markdown-reading-CgXuXp6s.d.mts → markdown-reading-LUdqfbxH.d.mts} +1 -1
  29. package/dist/{markdown-reading-DdcB7run.mjs → markdown-reading-mG4OAbDO.mjs} +1 -1
  30. package/dist/markdown-reading.d.mts +2 -2
  31. package/dist/markdown-reading.mjs +2 -2
  32. package/dist/{notifications-AKAcmeKT.mjs → notifications-C2bxAzX_.mjs} +13 -2
  33. package/dist/{notifications-DZeOl4HV.d.mts → notifications-CgJlLgLO.d.mts} +51 -25
  34. package/dist/notifications.d.mts +2 -2
  35. package/dist/notifications.mjs +3 -3
  36. package/dist/{openspec-annotations-CeXd0JIZ.d.mts → openspec-annotations-C58Aoi-V.d.mts} +2 -2
  37. package/dist/{openspec-annotations-D_6Pz7k4.mjs → openspec-annotations-DCfqBMal.mjs} +2 -2
  38. package/dist/openspec-annotations.d.mts +3 -3
  39. package/dist/openspec-annotations.mjs +3 -3
  40. package/dist/openspec-compat.d.mts +18 -11
  41. package/dist/openspec-compat.mjs +20 -13
  42. package/dist/{openspec-projection-B8s-KWQ7.mjs → openspec-projection-DCgToo0Q.mjs} +2 -2
  43. package/dist/{openspec-projection-B0ch1rZw.d.mts → openspec-projection-RohNZI4p.d.mts} +3 -3
  44. package/dist/openspec-projection.d.mts +5 -5
  45. package/dist/openspec-projection.mjs +4 -4
  46. package/dist/opsx-display-path.d.mts +1 -1
  47. package/dist/opsx-display-path.mjs +1 -1
  48. package/dist/{opsx-entity-DZyl-uhQ.d.mts → opsx-entity-D7kDQsze.d.mts} +2 -2
  49. package/dist/opsx-entity.d.mts +7 -3
  50. package/dist/opsx-entity.mjs +1 -1
  51. package/dist/{opsx-schema-detail-CS0tWa9v.d.mts → opsx-schema-detail-BxDXEwDY.d.mts} +2 -2
  52. package/dist/opsx-schema-detail.d.mts +8 -4
  53. package/dist/opsx-schema-detail.mjs +1 -1
  54. package/dist/opsx-types-BJ8AjhrS.d.mts +3642 -0
  55. package/dist/opsx-workflows-BvnJqjfL.d.mts +36 -0
  56. package/dist/opsx-workflows-Ccc6U7IR.mjs +89 -0
  57. package/dist/opsx-workflows.d.mts +2 -0
  58. package/dist/opsx-workflows.mjs +3 -0
  59. package/dist/planning-cli-projection-DIRxeq2H.mjs +421 -0
  60. package/dist/planning-cli-projection.d.mts +25 -0
  61. package/dist/planning-cli-projection.mjs +9 -0
  62. package/dist/schemas-BFroDdOC.mjs +287 -0
  63. package/dist/{schemas-D01aQnV4.d.mts → schemas-DS-JqAJ2.d.mts} +524 -78
  64. package/dist/{sounds-kgDn4x8v.d.mts → sounds-qhRgCy0F.d.mts} +12 -12
  65. package/dist/sounds.d.mts +1 -1
  66. package/dist/sounds.mjs +1 -1
  67. package/dist/spec-catalog-ZGuiZ4CE.mjs +901 -0
  68. package/dist/spec-catalog.d.mts +25 -0
  69. package/dist/spec-catalog.mjs +6 -0
  70. package/dist/store-mutation-protocol-5tfs-RmD.d.mts +727 -0
  71. package/dist/store-mutation-protocol-CSwD-xPO.mjs +63 -0
  72. package/dist/store-mutation-protocol.d.mts +2 -0
  73. package/dist/store-mutation-protocol.mjs +4 -0
  74. package/dist/{store-types-Cu41QSww.mjs → store-types-DlX1REBg.mjs} +39 -18
  75. package/dist/{store-types-BiE-Ey--.d.mts → store-types-b554wAQJ.d.mts} +22 -12
  76. package/dist/store-types.d.mts +6 -2
  77. package/dist/store-types.mjs +2 -2
  78. package/dist/task-progress-B_IWVXjA.mjs +216 -0
  79. package/dist/task-progress.d.mts +7 -4
  80. package/dist/task-progress.mjs +3 -3
  81. package/dist/{terminal-audio-TBoU2jSK.mjs → terminal-audio-d6KItUeJ.mjs} +1 -1
  82. package/dist/{terminal-audio-CsuGTNV-.d.mts → terminal-audio-tXDm_EDe.d.mts} +1 -1
  83. package/dist/terminal-audio.d.mts +2 -2
  84. package/dist/terminal-audio.mjs +2 -2
  85. package/dist/terminal-control.d.mts +2 -2
  86. package/dist/terminal-control.mjs +1 -1
  87. package/dist/{terminal-invocation-BlFwKpIc.d.mts → terminal-invocation-BOvxThym.d.mts} +239 -120
  88. package/dist/terminal-invocation.d.mts +1 -1
  89. package/dist/terminal-invocation.mjs +1 -1
  90. package/dist/terminal-theme.d.mts +1 -1
  91. package/dist/terminal-theme.mjs +1 -1
  92. package/dist/translation-language-pair.d.mts +1 -1
  93. package/dist/translation-language-pair.mjs +1 -1
  94. package/dist/{translator-BErXgQxx.d.mts → translator-NKv1wo3o.d.mts} +86 -86
  95. package/dist/translator.d.mts +1 -1
  96. package/dist/translator.mjs +1 -1
  97. package/package.json +55 -7
  98. package/dist/hosted-app-DHs94gIR.d.mts +0 -43
  99. package/dist/opsx-types-Dnb06uff.d.mts +0 -402
  100. package/dist/task-progress-C1TGMbIR.d.mts +0 -24
  101. package/dist/task-progress-DhHYHnTv.mjs +0 -70
  102. /package/dist/{local-download-profiles-kpNEcdF_.mjs → local-download-profiles-odzOdf96.mjs} +0 -0
  103. /package/dist/{markdown-facts-BBCTe_qq.mjs → markdown-facts-BUqLvFRf.mjs} +0 -0
  104. /package/dist/{markdown-facts-Dk7FKaaT.d.mts → markdown-facts-CCw3QdbM.d.mts} +0 -0
  105. /package/dist/{opsx-display-path-CUCOrHcM.mjs → opsx-display-path-D13XV20v.mjs} +0 -0
  106. /package/dist/{opsx-display-path-cIMKa1aw.d.mts → opsx-display-path-RXS5JTbV.d.mts} +0 -0
  107. /package/dist/{opsx-entity-c7m5CbgU.mjs → opsx-entity-Cn_Zu1J3.mjs} +0 -0
  108. /package/dist/{opsx-schema-detail-BH82X6aU.mjs → opsx-schema-detail-Beis4Ba2.mjs} +0 -0
  109. /package/dist/{sounds-CB3ubSnj.mjs → sounds-NXwveBqq.mjs} +0 -0
  110. /package/dist/{terminal-control-VpTuh17B.mjs → terminal-control-BSAlOTs8.mjs} +0 -0
  111. /package/dist/{terminal-invocation-C2MCNBhK.mjs → terminal-invocation-0p-j2eSP.mjs} +0 -0
  112. /package/dist/{terminal-theme-cevliJw2.mjs → terminal-theme-B8iRttTR.mjs} +0 -0
  113. /package/dist/{terminal-theme-hvQjTsNh.d.mts → terminal-theme-m3MSGJ7U.d.mts} +0 -0
  114. /package/dist/{translation-language-pair-DZ_WNp_M.mjs → translation-language-pair-Bbhk-LAC.mjs} +0 -0
  115. /package/dist/{translation-language-pair-DmaOfHqD.d.mts → translation-language-pair-C18GPATW.d.mts} +0 -0
  116. /package/dist/{translator-DbUT1Ayn.mjs → translator-Cjtv4tya.mjs} +0 -0
@@ -0,0 +1,727 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/store-mutation-protocol.d.ts
4
+
5
+ /** Browser-safe runtime schema for terminal CLI evidence retained by a Store mutation. */
6
+ declare const StoreMutationResultSchema: z.ZodObject<{
7
+ exitStatus: z.ZodNullable<z.ZodNumber>;
8
+ stdout: z.ZodOptional<z.ZodString>;
9
+ stderr: z.ZodOptional<z.ZodString>;
10
+ diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
11
+ severity: z.ZodEnum<["error", "warning", "info"]>;
12
+ code: z.ZodString;
13
+ message: z.ZodString;
14
+ target: z.ZodOptional<z.ZodString>;
15
+ fix: z.ZodOptional<z.ZodString>;
16
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
17
+ severity: z.ZodEnum<["error", "warning", "info"]>;
18
+ code: z.ZodString;
19
+ message: z.ZodString;
20
+ target: z.ZodOptional<z.ZodString>;
21
+ fix: z.ZodOptional<z.ZodString>;
22
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
23
+ severity: z.ZodEnum<["error", "warning", "info"]>;
24
+ code: z.ZodString;
25
+ message: z.ZodString;
26
+ target: z.ZodOptional<z.ZodString>;
27
+ fix: z.ZodOptional<z.ZodString>;
28
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
29
+ payload: z.ZodOptional<z.ZodUnknown>;
30
+ contractError: z.ZodOptional<z.ZodString>;
31
+ }, "strip", z.ZodTypeAny, {
32
+ exitStatus: number | null;
33
+ stdout?: string | undefined;
34
+ stderr?: string | undefined;
35
+ payload?: unknown;
36
+ diagnostics?: z.objectOutputType<{
37
+ severity: z.ZodEnum<["error", "warning", "info"]>;
38
+ code: z.ZodString;
39
+ message: z.ZodString;
40
+ target: z.ZodOptional<z.ZodString>;
41
+ fix: z.ZodOptional<z.ZodString>;
42
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
43
+ contractError?: string | undefined;
44
+ }, {
45
+ exitStatus: number | null;
46
+ stdout?: string | undefined;
47
+ stderr?: string | undefined;
48
+ payload?: unknown;
49
+ diagnostics?: z.objectInputType<{
50
+ severity: z.ZodEnum<["error", "warning", "info"]>;
51
+ code: z.ZodString;
52
+ message: z.ZodString;
53
+ target: z.ZodOptional<z.ZodString>;
54
+ fix: z.ZodOptional<z.ZodString>;
55
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
56
+ contractError?: string | undefined;
57
+ }>;
58
+ /** Browser-safe correlated schema for one Server-owned Store mutation record. */
59
+ declare const StoreMutationSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
60
+ requestId: z.ZodString;
61
+ envUri: z.ZodString;
62
+ kind: z.ZodEnum<["setup", "register", "unregister", "remove"]>;
63
+ storeId: z.ZodOptional<z.ZodString>;
64
+ observedAt: z.ZodNumber;
65
+ } & {
66
+ status: z.ZodEnum<["accepted", "running"]>;
67
+ result: z.ZodOptional<z.ZodUndefined>;
68
+ }, "strip", z.ZodTypeAny, {
69
+ status: "accepted" | "running";
70
+ kind: "setup" | "register" | "unregister" | "remove";
71
+ envUri: string;
72
+ observedAt: number;
73
+ requestId: string;
74
+ storeId?: string | undefined;
75
+ result?: undefined;
76
+ }, {
77
+ status: "accepted" | "running";
78
+ kind: "setup" | "register" | "unregister" | "remove";
79
+ envUri: string;
80
+ observedAt: number;
81
+ requestId: string;
82
+ storeId?: string | undefined;
83
+ result?: undefined;
84
+ }>, z.ZodObject<{
85
+ requestId: z.ZodString;
86
+ envUri: z.ZodString;
87
+ kind: z.ZodEnum<["setup", "register", "unregister", "remove"]>;
88
+ storeId: z.ZodOptional<z.ZodString>;
89
+ observedAt: z.ZodNumber;
90
+ } & {
91
+ status: z.ZodEnum<["succeeded", "failed", "indeterminate"]>;
92
+ result: z.ZodObject<{
93
+ exitStatus: z.ZodNullable<z.ZodNumber>;
94
+ stdout: z.ZodOptional<z.ZodString>;
95
+ stderr: z.ZodOptional<z.ZodString>;
96
+ diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
97
+ severity: z.ZodEnum<["error", "warning", "info"]>;
98
+ code: z.ZodString;
99
+ message: z.ZodString;
100
+ target: z.ZodOptional<z.ZodString>;
101
+ fix: z.ZodOptional<z.ZodString>;
102
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
103
+ severity: z.ZodEnum<["error", "warning", "info"]>;
104
+ code: z.ZodString;
105
+ message: z.ZodString;
106
+ target: z.ZodOptional<z.ZodString>;
107
+ fix: z.ZodOptional<z.ZodString>;
108
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
109
+ severity: z.ZodEnum<["error", "warning", "info"]>;
110
+ code: z.ZodString;
111
+ message: z.ZodString;
112
+ target: z.ZodOptional<z.ZodString>;
113
+ fix: z.ZodOptional<z.ZodString>;
114
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
115
+ payload: z.ZodOptional<z.ZodUnknown>;
116
+ contractError: z.ZodOptional<z.ZodString>;
117
+ }, "strip", z.ZodTypeAny, {
118
+ exitStatus: number | null;
119
+ stdout?: string | undefined;
120
+ stderr?: string | undefined;
121
+ payload?: unknown;
122
+ diagnostics?: z.objectOutputType<{
123
+ severity: z.ZodEnum<["error", "warning", "info"]>;
124
+ code: z.ZodString;
125
+ message: z.ZodString;
126
+ target: z.ZodOptional<z.ZodString>;
127
+ fix: z.ZodOptional<z.ZodString>;
128
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
129
+ contractError?: string | undefined;
130
+ }, {
131
+ exitStatus: number | null;
132
+ stdout?: string | undefined;
133
+ stderr?: string | undefined;
134
+ payload?: unknown;
135
+ diagnostics?: z.objectInputType<{
136
+ severity: z.ZodEnum<["error", "warning", "info"]>;
137
+ code: z.ZodString;
138
+ message: z.ZodString;
139
+ target: z.ZodOptional<z.ZodString>;
140
+ fix: z.ZodOptional<z.ZodString>;
141
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
142
+ contractError?: string | undefined;
143
+ }>;
144
+ }, "strip", z.ZodTypeAny, {
145
+ status: "succeeded" | "failed" | "indeterminate";
146
+ kind: "setup" | "register" | "unregister" | "remove";
147
+ envUri: string;
148
+ observedAt: number;
149
+ requestId: string;
150
+ result: {
151
+ exitStatus: number | null;
152
+ stdout?: string | undefined;
153
+ stderr?: string | undefined;
154
+ payload?: unknown;
155
+ diagnostics?: z.objectOutputType<{
156
+ severity: z.ZodEnum<["error", "warning", "info"]>;
157
+ code: z.ZodString;
158
+ message: z.ZodString;
159
+ target: z.ZodOptional<z.ZodString>;
160
+ fix: z.ZodOptional<z.ZodString>;
161
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
162
+ contractError?: string | undefined;
163
+ };
164
+ storeId?: string | undefined;
165
+ }, {
166
+ status: "succeeded" | "failed" | "indeterminate";
167
+ kind: "setup" | "register" | "unregister" | "remove";
168
+ envUri: string;
169
+ observedAt: number;
170
+ requestId: string;
171
+ result: {
172
+ exitStatus: number | null;
173
+ stdout?: string | undefined;
174
+ stderr?: string | undefined;
175
+ payload?: unknown;
176
+ diagnostics?: z.objectInputType<{
177
+ severity: z.ZodEnum<["error", "warning", "info"]>;
178
+ code: z.ZodString;
179
+ message: z.ZodString;
180
+ target: z.ZodOptional<z.ZodString>;
181
+ fix: z.ZodOptional<z.ZodString>;
182
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
183
+ contractError?: string | undefined;
184
+ };
185
+ storeId?: string | undefined;
186
+ }>]>;
187
+ /** Runtime-decoded response for a mutation admission or a request-id rejoin. */
188
+ declare const StoreMutationStartResponseSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
189
+ requestId: z.ZodString;
190
+ envUri: z.ZodString;
191
+ kind: z.ZodEnum<["setup", "register", "unregister", "remove"]>;
192
+ storeId: z.ZodOptional<z.ZodString>;
193
+ observedAt: z.ZodNumber;
194
+ } & {
195
+ status: z.ZodEnum<["accepted", "running"]>;
196
+ result: z.ZodOptional<z.ZodUndefined>;
197
+ }, "strip", z.ZodTypeAny, {
198
+ status: "accepted" | "running";
199
+ kind: "setup" | "register" | "unregister" | "remove";
200
+ envUri: string;
201
+ observedAt: number;
202
+ requestId: string;
203
+ storeId?: string | undefined;
204
+ result?: undefined;
205
+ }, {
206
+ status: "accepted" | "running";
207
+ kind: "setup" | "register" | "unregister" | "remove";
208
+ envUri: string;
209
+ observedAt: number;
210
+ requestId: string;
211
+ storeId?: string | undefined;
212
+ result?: undefined;
213
+ }>, z.ZodObject<{
214
+ requestId: z.ZodString;
215
+ envUri: z.ZodString;
216
+ kind: z.ZodEnum<["setup", "register", "unregister", "remove"]>;
217
+ storeId: z.ZodOptional<z.ZodString>;
218
+ observedAt: z.ZodNumber;
219
+ } & {
220
+ status: z.ZodEnum<["succeeded", "failed", "indeterminate"]>;
221
+ result: z.ZodObject<{
222
+ exitStatus: z.ZodNullable<z.ZodNumber>;
223
+ stdout: z.ZodOptional<z.ZodString>;
224
+ stderr: z.ZodOptional<z.ZodString>;
225
+ diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
226
+ severity: z.ZodEnum<["error", "warning", "info"]>;
227
+ code: z.ZodString;
228
+ message: z.ZodString;
229
+ target: z.ZodOptional<z.ZodString>;
230
+ fix: z.ZodOptional<z.ZodString>;
231
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
232
+ severity: z.ZodEnum<["error", "warning", "info"]>;
233
+ code: z.ZodString;
234
+ message: z.ZodString;
235
+ target: z.ZodOptional<z.ZodString>;
236
+ fix: z.ZodOptional<z.ZodString>;
237
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
238
+ severity: z.ZodEnum<["error", "warning", "info"]>;
239
+ code: z.ZodString;
240
+ message: z.ZodString;
241
+ target: z.ZodOptional<z.ZodString>;
242
+ fix: z.ZodOptional<z.ZodString>;
243
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
244
+ payload: z.ZodOptional<z.ZodUnknown>;
245
+ contractError: z.ZodOptional<z.ZodString>;
246
+ }, "strip", z.ZodTypeAny, {
247
+ exitStatus: number | null;
248
+ stdout?: string | undefined;
249
+ stderr?: string | undefined;
250
+ payload?: unknown;
251
+ diagnostics?: z.objectOutputType<{
252
+ severity: z.ZodEnum<["error", "warning", "info"]>;
253
+ code: z.ZodString;
254
+ message: z.ZodString;
255
+ target: z.ZodOptional<z.ZodString>;
256
+ fix: z.ZodOptional<z.ZodString>;
257
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
258
+ contractError?: string | undefined;
259
+ }, {
260
+ exitStatus: number | null;
261
+ stdout?: string | undefined;
262
+ stderr?: string | undefined;
263
+ payload?: unknown;
264
+ diagnostics?: z.objectInputType<{
265
+ severity: z.ZodEnum<["error", "warning", "info"]>;
266
+ code: z.ZodString;
267
+ message: z.ZodString;
268
+ target: z.ZodOptional<z.ZodString>;
269
+ fix: z.ZodOptional<z.ZodString>;
270
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
271
+ contractError?: string | undefined;
272
+ }>;
273
+ }, "strip", z.ZodTypeAny, {
274
+ status: "succeeded" | "failed" | "indeterminate";
275
+ kind: "setup" | "register" | "unregister" | "remove";
276
+ envUri: string;
277
+ observedAt: number;
278
+ requestId: string;
279
+ result: {
280
+ exitStatus: number | null;
281
+ stdout?: string | undefined;
282
+ stderr?: string | undefined;
283
+ payload?: unknown;
284
+ diagnostics?: z.objectOutputType<{
285
+ severity: z.ZodEnum<["error", "warning", "info"]>;
286
+ code: z.ZodString;
287
+ message: z.ZodString;
288
+ target: z.ZodOptional<z.ZodString>;
289
+ fix: z.ZodOptional<z.ZodString>;
290
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
291
+ contractError?: string | undefined;
292
+ };
293
+ storeId?: string | undefined;
294
+ }, {
295
+ status: "succeeded" | "failed" | "indeterminate";
296
+ kind: "setup" | "register" | "unregister" | "remove";
297
+ envUri: string;
298
+ observedAt: number;
299
+ requestId: string;
300
+ result: {
301
+ exitStatus: number | null;
302
+ stdout?: string | undefined;
303
+ stderr?: string | undefined;
304
+ payload?: unknown;
305
+ diagnostics?: z.objectInputType<{
306
+ severity: z.ZodEnum<["error", "warning", "info"]>;
307
+ code: z.ZodString;
308
+ message: z.ZodString;
309
+ target: z.ZodOptional<z.ZodString>;
310
+ fix: z.ZodOptional<z.ZodString>;
311
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
312
+ contractError?: string | undefined;
313
+ };
314
+ storeId?: string | undefined;
315
+ }>]>, z.ZodObject<{
316
+ rejoined: z.ZodBoolean;
317
+ }, "strip", z.ZodTypeAny, {
318
+ rejoined: boolean;
319
+ }, {
320
+ rejoined: boolean;
321
+ }>>;
322
+ /** Runtime-decoded Server lifecycle stream: a complete local-ledger snapshot or one changed record. */
323
+ declare const StoreMutationLifecycleEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
324
+ type: z.ZodLiteral<"snapshot">;
325
+ cursor: z.ZodNumber;
326
+ records: z.ZodArray<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
327
+ requestId: z.ZodString;
328
+ envUri: z.ZodString;
329
+ kind: z.ZodEnum<["setup", "register", "unregister", "remove"]>;
330
+ storeId: z.ZodOptional<z.ZodString>;
331
+ observedAt: z.ZodNumber;
332
+ } & {
333
+ status: z.ZodEnum<["accepted", "running"]>;
334
+ result: z.ZodOptional<z.ZodUndefined>;
335
+ }, "strip", z.ZodTypeAny, {
336
+ status: "accepted" | "running";
337
+ kind: "setup" | "register" | "unregister" | "remove";
338
+ envUri: string;
339
+ observedAt: number;
340
+ requestId: string;
341
+ storeId?: string | undefined;
342
+ result?: undefined;
343
+ }, {
344
+ status: "accepted" | "running";
345
+ kind: "setup" | "register" | "unregister" | "remove";
346
+ envUri: string;
347
+ observedAt: number;
348
+ requestId: string;
349
+ storeId?: string | undefined;
350
+ result?: undefined;
351
+ }>, z.ZodObject<{
352
+ requestId: z.ZodString;
353
+ envUri: z.ZodString;
354
+ kind: z.ZodEnum<["setup", "register", "unregister", "remove"]>;
355
+ storeId: z.ZodOptional<z.ZodString>;
356
+ observedAt: z.ZodNumber;
357
+ } & {
358
+ status: z.ZodEnum<["succeeded", "failed", "indeterminate"]>;
359
+ result: z.ZodObject<{
360
+ exitStatus: z.ZodNullable<z.ZodNumber>;
361
+ stdout: z.ZodOptional<z.ZodString>;
362
+ stderr: z.ZodOptional<z.ZodString>;
363
+ diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
364
+ severity: z.ZodEnum<["error", "warning", "info"]>;
365
+ code: z.ZodString;
366
+ message: z.ZodString;
367
+ target: z.ZodOptional<z.ZodString>;
368
+ fix: z.ZodOptional<z.ZodString>;
369
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
370
+ severity: z.ZodEnum<["error", "warning", "info"]>;
371
+ code: z.ZodString;
372
+ message: z.ZodString;
373
+ target: z.ZodOptional<z.ZodString>;
374
+ fix: z.ZodOptional<z.ZodString>;
375
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
376
+ severity: z.ZodEnum<["error", "warning", "info"]>;
377
+ code: z.ZodString;
378
+ message: z.ZodString;
379
+ target: z.ZodOptional<z.ZodString>;
380
+ fix: z.ZodOptional<z.ZodString>;
381
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
382
+ payload: z.ZodOptional<z.ZodUnknown>;
383
+ contractError: z.ZodOptional<z.ZodString>;
384
+ }, "strip", z.ZodTypeAny, {
385
+ exitStatus: number | null;
386
+ stdout?: string | undefined;
387
+ stderr?: string | undefined;
388
+ payload?: unknown;
389
+ diagnostics?: z.objectOutputType<{
390
+ severity: z.ZodEnum<["error", "warning", "info"]>;
391
+ code: z.ZodString;
392
+ message: z.ZodString;
393
+ target: z.ZodOptional<z.ZodString>;
394
+ fix: z.ZodOptional<z.ZodString>;
395
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
396
+ contractError?: string | undefined;
397
+ }, {
398
+ exitStatus: number | null;
399
+ stdout?: string | undefined;
400
+ stderr?: string | undefined;
401
+ payload?: unknown;
402
+ diagnostics?: z.objectInputType<{
403
+ severity: z.ZodEnum<["error", "warning", "info"]>;
404
+ code: z.ZodString;
405
+ message: z.ZodString;
406
+ target: z.ZodOptional<z.ZodString>;
407
+ fix: z.ZodOptional<z.ZodString>;
408
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
409
+ contractError?: string | undefined;
410
+ }>;
411
+ }, "strip", z.ZodTypeAny, {
412
+ status: "succeeded" | "failed" | "indeterminate";
413
+ kind: "setup" | "register" | "unregister" | "remove";
414
+ envUri: string;
415
+ observedAt: number;
416
+ requestId: string;
417
+ result: {
418
+ exitStatus: number | null;
419
+ stdout?: string | undefined;
420
+ stderr?: string | undefined;
421
+ payload?: unknown;
422
+ diagnostics?: z.objectOutputType<{
423
+ severity: z.ZodEnum<["error", "warning", "info"]>;
424
+ code: z.ZodString;
425
+ message: z.ZodString;
426
+ target: z.ZodOptional<z.ZodString>;
427
+ fix: z.ZodOptional<z.ZodString>;
428
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
429
+ contractError?: string | undefined;
430
+ };
431
+ storeId?: string | undefined;
432
+ }, {
433
+ status: "succeeded" | "failed" | "indeterminate";
434
+ kind: "setup" | "register" | "unregister" | "remove";
435
+ envUri: string;
436
+ observedAt: number;
437
+ requestId: string;
438
+ result: {
439
+ exitStatus: number | null;
440
+ stdout?: string | undefined;
441
+ stderr?: string | undefined;
442
+ payload?: unknown;
443
+ diagnostics?: z.objectInputType<{
444
+ severity: z.ZodEnum<["error", "warning", "info"]>;
445
+ code: z.ZodString;
446
+ message: z.ZodString;
447
+ target: z.ZodOptional<z.ZodString>;
448
+ fix: z.ZodOptional<z.ZodString>;
449
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
450
+ contractError?: string | undefined;
451
+ };
452
+ storeId?: string | undefined;
453
+ }>]>, "many">;
454
+ }, "strip", z.ZodTypeAny, {
455
+ type: "snapshot";
456
+ cursor: number;
457
+ records: ({
458
+ status: "accepted" | "running";
459
+ kind: "setup" | "register" | "unregister" | "remove";
460
+ envUri: string;
461
+ observedAt: number;
462
+ requestId: string;
463
+ storeId?: string | undefined;
464
+ result?: undefined;
465
+ } | {
466
+ status: "succeeded" | "failed" | "indeterminate";
467
+ kind: "setup" | "register" | "unregister" | "remove";
468
+ envUri: string;
469
+ observedAt: number;
470
+ requestId: string;
471
+ result: {
472
+ exitStatus: number | null;
473
+ stdout?: string | undefined;
474
+ stderr?: string | undefined;
475
+ payload?: unknown;
476
+ diagnostics?: z.objectOutputType<{
477
+ severity: z.ZodEnum<["error", "warning", "info"]>;
478
+ code: z.ZodString;
479
+ message: z.ZodString;
480
+ target: z.ZodOptional<z.ZodString>;
481
+ fix: z.ZodOptional<z.ZodString>;
482
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
483
+ contractError?: string | undefined;
484
+ };
485
+ storeId?: string | undefined;
486
+ })[];
487
+ }, {
488
+ type: "snapshot";
489
+ cursor: number;
490
+ records: ({
491
+ status: "accepted" | "running";
492
+ kind: "setup" | "register" | "unregister" | "remove";
493
+ envUri: string;
494
+ observedAt: number;
495
+ requestId: string;
496
+ storeId?: string | undefined;
497
+ result?: undefined;
498
+ } | {
499
+ status: "succeeded" | "failed" | "indeterminate";
500
+ kind: "setup" | "register" | "unregister" | "remove";
501
+ envUri: string;
502
+ observedAt: number;
503
+ requestId: string;
504
+ result: {
505
+ exitStatus: number | null;
506
+ stdout?: string | undefined;
507
+ stderr?: string | undefined;
508
+ payload?: unknown;
509
+ diagnostics?: z.objectInputType<{
510
+ severity: z.ZodEnum<["error", "warning", "info"]>;
511
+ code: z.ZodString;
512
+ message: z.ZodString;
513
+ target: z.ZodOptional<z.ZodString>;
514
+ fix: z.ZodOptional<z.ZodString>;
515
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
516
+ contractError?: string | undefined;
517
+ };
518
+ storeId?: string | undefined;
519
+ })[];
520
+ }>, z.ZodObject<{
521
+ type: z.ZodLiteral<"changed">;
522
+ cursor: z.ZodNumber;
523
+ record: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
524
+ requestId: z.ZodString;
525
+ envUri: z.ZodString;
526
+ kind: z.ZodEnum<["setup", "register", "unregister", "remove"]>;
527
+ storeId: z.ZodOptional<z.ZodString>;
528
+ observedAt: z.ZodNumber;
529
+ } & {
530
+ status: z.ZodEnum<["accepted", "running"]>;
531
+ result: z.ZodOptional<z.ZodUndefined>;
532
+ }, "strip", z.ZodTypeAny, {
533
+ status: "accepted" | "running";
534
+ kind: "setup" | "register" | "unregister" | "remove";
535
+ envUri: string;
536
+ observedAt: number;
537
+ requestId: string;
538
+ storeId?: string | undefined;
539
+ result?: undefined;
540
+ }, {
541
+ status: "accepted" | "running";
542
+ kind: "setup" | "register" | "unregister" | "remove";
543
+ envUri: string;
544
+ observedAt: number;
545
+ requestId: string;
546
+ storeId?: string | undefined;
547
+ result?: undefined;
548
+ }>, z.ZodObject<{
549
+ requestId: z.ZodString;
550
+ envUri: z.ZodString;
551
+ kind: z.ZodEnum<["setup", "register", "unregister", "remove"]>;
552
+ storeId: z.ZodOptional<z.ZodString>;
553
+ observedAt: z.ZodNumber;
554
+ } & {
555
+ status: z.ZodEnum<["succeeded", "failed", "indeterminate"]>;
556
+ result: z.ZodObject<{
557
+ exitStatus: z.ZodNullable<z.ZodNumber>;
558
+ stdout: z.ZodOptional<z.ZodString>;
559
+ stderr: z.ZodOptional<z.ZodString>;
560
+ diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
561
+ severity: z.ZodEnum<["error", "warning", "info"]>;
562
+ code: z.ZodString;
563
+ message: z.ZodString;
564
+ target: z.ZodOptional<z.ZodString>;
565
+ fix: z.ZodOptional<z.ZodString>;
566
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
567
+ severity: z.ZodEnum<["error", "warning", "info"]>;
568
+ code: z.ZodString;
569
+ message: z.ZodString;
570
+ target: z.ZodOptional<z.ZodString>;
571
+ fix: z.ZodOptional<z.ZodString>;
572
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
573
+ severity: z.ZodEnum<["error", "warning", "info"]>;
574
+ code: z.ZodString;
575
+ message: z.ZodString;
576
+ target: z.ZodOptional<z.ZodString>;
577
+ fix: z.ZodOptional<z.ZodString>;
578
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
579
+ payload: z.ZodOptional<z.ZodUnknown>;
580
+ contractError: z.ZodOptional<z.ZodString>;
581
+ }, "strip", z.ZodTypeAny, {
582
+ exitStatus: number | null;
583
+ stdout?: string | undefined;
584
+ stderr?: string | undefined;
585
+ payload?: unknown;
586
+ diagnostics?: z.objectOutputType<{
587
+ severity: z.ZodEnum<["error", "warning", "info"]>;
588
+ code: z.ZodString;
589
+ message: z.ZodString;
590
+ target: z.ZodOptional<z.ZodString>;
591
+ fix: z.ZodOptional<z.ZodString>;
592
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
593
+ contractError?: string | undefined;
594
+ }, {
595
+ exitStatus: number | null;
596
+ stdout?: string | undefined;
597
+ stderr?: string | undefined;
598
+ payload?: unknown;
599
+ diagnostics?: z.objectInputType<{
600
+ severity: z.ZodEnum<["error", "warning", "info"]>;
601
+ code: z.ZodString;
602
+ message: z.ZodString;
603
+ target: z.ZodOptional<z.ZodString>;
604
+ fix: z.ZodOptional<z.ZodString>;
605
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
606
+ contractError?: string | undefined;
607
+ }>;
608
+ }, "strip", z.ZodTypeAny, {
609
+ status: "succeeded" | "failed" | "indeterminate";
610
+ kind: "setup" | "register" | "unregister" | "remove";
611
+ envUri: string;
612
+ observedAt: number;
613
+ requestId: string;
614
+ result: {
615
+ exitStatus: number | null;
616
+ stdout?: string | undefined;
617
+ stderr?: string | undefined;
618
+ payload?: unknown;
619
+ diagnostics?: z.objectOutputType<{
620
+ severity: z.ZodEnum<["error", "warning", "info"]>;
621
+ code: z.ZodString;
622
+ message: z.ZodString;
623
+ target: z.ZodOptional<z.ZodString>;
624
+ fix: z.ZodOptional<z.ZodString>;
625
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
626
+ contractError?: string | undefined;
627
+ };
628
+ storeId?: string | undefined;
629
+ }, {
630
+ status: "succeeded" | "failed" | "indeterminate";
631
+ kind: "setup" | "register" | "unregister" | "remove";
632
+ envUri: string;
633
+ observedAt: number;
634
+ requestId: string;
635
+ result: {
636
+ exitStatus: number | null;
637
+ stdout?: string | undefined;
638
+ stderr?: string | undefined;
639
+ payload?: unknown;
640
+ diagnostics?: z.objectInputType<{
641
+ severity: z.ZodEnum<["error", "warning", "info"]>;
642
+ code: z.ZodString;
643
+ message: z.ZodString;
644
+ target: z.ZodOptional<z.ZodString>;
645
+ fix: z.ZodOptional<z.ZodString>;
646
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
647
+ contractError?: string | undefined;
648
+ };
649
+ storeId?: string | undefined;
650
+ }>]>;
651
+ }, "strip", z.ZodTypeAny, {
652
+ type: "changed";
653
+ cursor: number;
654
+ record: {
655
+ status: "accepted" | "running";
656
+ kind: "setup" | "register" | "unregister" | "remove";
657
+ envUri: string;
658
+ observedAt: number;
659
+ requestId: string;
660
+ storeId?: string | undefined;
661
+ result?: undefined;
662
+ } | {
663
+ status: "succeeded" | "failed" | "indeterminate";
664
+ kind: "setup" | "register" | "unregister" | "remove";
665
+ envUri: string;
666
+ observedAt: number;
667
+ requestId: string;
668
+ result: {
669
+ exitStatus: number | null;
670
+ stdout?: string | undefined;
671
+ stderr?: string | undefined;
672
+ payload?: unknown;
673
+ diagnostics?: z.objectOutputType<{
674
+ severity: z.ZodEnum<["error", "warning", "info"]>;
675
+ code: z.ZodString;
676
+ message: z.ZodString;
677
+ target: z.ZodOptional<z.ZodString>;
678
+ fix: z.ZodOptional<z.ZodString>;
679
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
680
+ contractError?: string | undefined;
681
+ };
682
+ storeId?: string | undefined;
683
+ };
684
+ }, {
685
+ type: "changed";
686
+ cursor: number;
687
+ record: {
688
+ status: "accepted" | "running";
689
+ kind: "setup" | "register" | "unregister" | "remove";
690
+ envUri: string;
691
+ observedAt: number;
692
+ requestId: string;
693
+ storeId?: string | undefined;
694
+ result?: undefined;
695
+ } | {
696
+ status: "succeeded" | "failed" | "indeterminate";
697
+ kind: "setup" | "register" | "unregister" | "remove";
698
+ envUri: string;
699
+ observedAt: number;
700
+ requestId: string;
701
+ result: {
702
+ exitStatus: number | null;
703
+ stdout?: string | undefined;
704
+ stderr?: string | undefined;
705
+ payload?: unknown;
706
+ diagnostics?: z.objectInputType<{
707
+ severity: z.ZodEnum<["error", "warning", "info"]>;
708
+ code: z.ZodString;
709
+ message: z.ZodString;
710
+ target: z.ZodOptional<z.ZodString>;
711
+ fix: z.ZodOptional<z.ZodString>;
712
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
713
+ contractError?: string | undefined;
714
+ };
715
+ storeId?: string | undefined;
716
+ };
717
+ }>]>;
718
+ /** Runtime-decoded terminal CLI evidence. */
719
+ type StoreMutationResultEnvelope = z.infer<typeof StoreMutationResultSchema>;
720
+ /** Runtime-decoded Server-owned Store mutation record. */
721
+ type StoreMutationEnvelope = z.infer<typeof StoreMutationSchema>;
722
+ /** Runtime-decoded mutation admission or rejoin response. */
723
+ type StoreMutationStartResponse = z.infer<typeof StoreMutationStartResponseSchema>;
724
+ /** Runtime-decoded lifecycle snapshot/change event. */
725
+ type StoreMutationLifecycleEvent = z.infer<typeof StoreMutationLifecycleEventSchema>;
726
+ //#endregion
727
+ export { StoreMutationResultSchema as a, StoreMutationStartResponseSchema as c, StoreMutationResultEnvelope as i, StoreMutationLifecycleEvent as n, StoreMutationSchema as o, StoreMutationLifecycleEventSchema as r, StoreMutationStartResponse as s, StoreMutationEnvelope as t };