@treeseed/sdk 0.13.0-rc.60 → 0.13.0-rc.62

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 (35) hide show
  1. package/dist/.treeseed-build-complete.json +1 -1
  2. package/dist/agent-capacity/validation/agent-definition-schema.d.ts +120 -120
  3. package/dist/capacity-provider/capability-ontology.d.ts +190 -190
  4. package/dist/capacity-provider/client.d.ts +3 -3
  5. package/dist/capacity-provider/core-capability-catalog.d.ts +13 -13
  6. package/dist/capacity-provider/environment-catalog.d.ts +62 -62
  7. package/dist/capacity-provider/sandbox-contracts.d.ts +66 -66
  8. package/dist/content/validation/agent-operational-content-schemas.d.ts +72 -72
  9. package/dist/content/validation/auxiliary-content-schemas.d.ts +74 -74
  10. package/dist/content/validation/content-model-schemas.d.ts +435 -435
  11. package/dist/content/validation/portable-content-data.d.ts +53 -53
  12. package/dist/deployment/ai-mode.d.ts +46 -46
  13. package/dist/deployment/schemas.d.ts +648 -648
  14. package/dist/development/schemas.d.ts +290 -290
  15. package/dist/operator-contracts/canonical-command-tree.js +10 -0
  16. package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +41 -41
  17. package/dist/operator-contracts/catalog/communication-operations.d.ts +62 -62
  18. package/dist/operator-contracts/catalog/inbox-operations.d.ts +34 -34
  19. package/dist/operator-contracts/communication/contracts.d.ts +228 -228
  20. package/dist/operator-contracts/control-plane-operations.d.ts +145 -145
  21. package/dist/operator-contracts/inbox/contracts.d.ts +108 -108
  22. package/dist/platform/contracts.d.ts +383 -0
  23. package/dist/platform/contracts.js +79 -0
  24. package/dist/platform/index.d.ts +5 -0
  25. package/dist/platform/index.js +5 -0
  26. package/dist/platform/inventory.d.ts +11 -0
  27. package/dist/platform/inventory.js +53 -0
  28. package/dist/platform/schemas.d.ts +806 -0
  29. package/dist/platform/schemas.js +68 -0
  30. package/dist/platform/verification.d.ts +9 -0
  31. package/dist/platform/verification.js +104 -0
  32. package/dist/platform/workset.d.ts +21 -0
  33. package/dist/platform/workset.js +102 -0
  34. package/dist/security/encrypted-envelope.d.ts +14 -14
  35. package/package.json +5 -1
@@ -0,0 +1,806 @@
1
+ import { z } from 'zod';
2
+ export declare const repositorySchema: z.ZodObject<{
3
+ key: z.ZodString;
4
+ project: z.ZodString;
5
+ role: z.ZodEnum<["primary", "library", "fixture"]>;
6
+ gitUrl: z.ZodString;
7
+ defaultBranch: z.ZodDefault<z.ZodString>;
8
+ repositoryPolicy: z.ZodOptional<z.ZodObject<{
9
+ stagingBranch: z.ZodOptional<z.ZodString>;
10
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
11
+ stagingBranch: z.ZodOptional<z.ZodString>;
12
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
13
+ stagingBranch: z.ZodOptional<z.ZodString>;
14
+ }, z.ZodTypeAny, "passthrough">>>;
15
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
16
+ key: z.ZodString;
17
+ project: z.ZodString;
18
+ role: z.ZodEnum<["primary", "library", "fixture"]>;
19
+ gitUrl: z.ZodString;
20
+ defaultBranch: z.ZodDefault<z.ZodString>;
21
+ repositoryPolicy: z.ZodOptional<z.ZodObject<{
22
+ stagingBranch: z.ZodOptional<z.ZodString>;
23
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
24
+ stagingBranch: z.ZodOptional<z.ZodString>;
25
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
26
+ stagingBranch: z.ZodOptional<z.ZodString>;
27
+ }, z.ZodTypeAny, "passthrough">>>;
28
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29
+ key: z.ZodString;
30
+ project: z.ZodString;
31
+ role: z.ZodEnum<["primary", "library", "fixture"]>;
32
+ gitUrl: z.ZodString;
33
+ defaultBranch: z.ZodDefault<z.ZodString>;
34
+ repositoryPolicy: z.ZodOptional<z.ZodObject<{
35
+ stagingBranch: z.ZodOptional<z.ZodString>;
36
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
37
+ stagingBranch: z.ZodOptional<z.ZodString>;
38
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
39
+ stagingBranch: z.ZodOptional<z.ZodString>;
40
+ }, z.ZodTypeAny, "passthrough">>>;
41
+ }, z.ZodTypeAny, "passthrough">>;
42
+ export declare const projectSchema: z.ZodObject<{
43
+ key: z.ZodString;
44
+ slug: z.ZodString;
45
+ primaryRepository: z.ZodString;
46
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
47
+ key: z.ZodString;
48
+ slug: z.ZodString;
49
+ primaryRepository: z.ZodString;
50
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
51
+ key: z.ZodString;
52
+ slug: z.ZodString;
53
+ primaryRepository: z.ZodString;
54
+ }, z.ZodTypeAny, "passthrough">>;
55
+ export declare const inventorySchema: z.ZodObject<{
56
+ schemaVersion: z.ZodString;
57
+ resources: z.ZodObject<{
58
+ projects: z.ZodArray<z.ZodObject<{
59
+ key: z.ZodString;
60
+ slug: z.ZodString;
61
+ primaryRepository: z.ZodString;
62
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
63
+ key: z.ZodString;
64
+ slug: z.ZodString;
65
+ primaryRepository: z.ZodString;
66
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
67
+ key: z.ZodString;
68
+ slug: z.ZodString;
69
+ primaryRepository: z.ZodString;
70
+ }, z.ZodTypeAny, "passthrough">>, "many">;
71
+ repositories: z.ZodArray<z.ZodObject<{
72
+ key: z.ZodString;
73
+ project: z.ZodString;
74
+ role: z.ZodEnum<["primary", "library", "fixture"]>;
75
+ gitUrl: z.ZodString;
76
+ defaultBranch: z.ZodDefault<z.ZodString>;
77
+ repositoryPolicy: z.ZodOptional<z.ZodObject<{
78
+ stagingBranch: z.ZodOptional<z.ZodString>;
79
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
80
+ stagingBranch: z.ZodOptional<z.ZodString>;
81
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
82
+ stagingBranch: z.ZodOptional<z.ZodString>;
83
+ }, z.ZodTypeAny, "passthrough">>>;
84
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
85
+ key: z.ZodString;
86
+ project: z.ZodString;
87
+ role: z.ZodEnum<["primary", "library", "fixture"]>;
88
+ gitUrl: z.ZodString;
89
+ defaultBranch: z.ZodDefault<z.ZodString>;
90
+ repositoryPolicy: z.ZodOptional<z.ZodObject<{
91
+ stagingBranch: z.ZodOptional<z.ZodString>;
92
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
93
+ stagingBranch: z.ZodOptional<z.ZodString>;
94
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
95
+ stagingBranch: z.ZodOptional<z.ZodString>;
96
+ }, z.ZodTypeAny, "passthrough">>>;
97
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
98
+ key: z.ZodString;
99
+ project: z.ZodString;
100
+ role: z.ZodEnum<["primary", "library", "fixture"]>;
101
+ gitUrl: z.ZodString;
102
+ defaultBranch: z.ZodDefault<z.ZodString>;
103
+ repositoryPolicy: z.ZodOptional<z.ZodObject<{
104
+ stagingBranch: z.ZodOptional<z.ZodString>;
105
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
106
+ stagingBranch: z.ZodOptional<z.ZodString>;
107
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
108
+ stagingBranch: z.ZodOptional<z.ZodString>;
109
+ }, z.ZodTypeAny, "passthrough">>>;
110
+ }, z.ZodTypeAny, "passthrough">>, "many">;
111
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
112
+ projects: z.ZodArray<z.ZodObject<{
113
+ key: z.ZodString;
114
+ slug: z.ZodString;
115
+ primaryRepository: z.ZodString;
116
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
117
+ key: z.ZodString;
118
+ slug: z.ZodString;
119
+ primaryRepository: z.ZodString;
120
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
121
+ key: z.ZodString;
122
+ slug: z.ZodString;
123
+ primaryRepository: z.ZodString;
124
+ }, z.ZodTypeAny, "passthrough">>, "many">;
125
+ repositories: z.ZodArray<z.ZodObject<{
126
+ key: z.ZodString;
127
+ project: z.ZodString;
128
+ role: z.ZodEnum<["primary", "library", "fixture"]>;
129
+ gitUrl: z.ZodString;
130
+ defaultBranch: z.ZodDefault<z.ZodString>;
131
+ repositoryPolicy: z.ZodOptional<z.ZodObject<{
132
+ stagingBranch: z.ZodOptional<z.ZodString>;
133
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
134
+ stagingBranch: z.ZodOptional<z.ZodString>;
135
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
136
+ stagingBranch: z.ZodOptional<z.ZodString>;
137
+ }, z.ZodTypeAny, "passthrough">>>;
138
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
139
+ key: z.ZodString;
140
+ project: z.ZodString;
141
+ role: z.ZodEnum<["primary", "library", "fixture"]>;
142
+ gitUrl: z.ZodString;
143
+ defaultBranch: z.ZodDefault<z.ZodString>;
144
+ repositoryPolicy: z.ZodOptional<z.ZodObject<{
145
+ stagingBranch: z.ZodOptional<z.ZodString>;
146
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
147
+ stagingBranch: z.ZodOptional<z.ZodString>;
148
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
149
+ stagingBranch: z.ZodOptional<z.ZodString>;
150
+ }, z.ZodTypeAny, "passthrough">>>;
151
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
152
+ key: z.ZodString;
153
+ project: z.ZodString;
154
+ role: z.ZodEnum<["primary", "library", "fixture"]>;
155
+ gitUrl: z.ZodString;
156
+ defaultBranch: z.ZodDefault<z.ZodString>;
157
+ repositoryPolicy: z.ZodOptional<z.ZodObject<{
158
+ stagingBranch: z.ZodOptional<z.ZodString>;
159
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
160
+ stagingBranch: z.ZodOptional<z.ZodString>;
161
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
162
+ stagingBranch: z.ZodOptional<z.ZodString>;
163
+ }, z.ZodTypeAny, "passthrough">>>;
164
+ }, z.ZodTypeAny, "passthrough">>, "many">;
165
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
166
+ projects: z.ZodArray<z.ZodObject<{
167
+ key: z.ZodString;
168
+ slug: z.ZodString;
169
+ primaryRepository: z.ZodString;
170
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
171
+ key: z.ZodString;
172
+ slug: z.ZodString;
173
+ primaryRepository: z.ZodString;
174
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
175
+ key: z.ZodString;
176
+ slug: z.ZodString;
177
+ primaryRepository: z.ZodString;
178
+ }, z.ZodTypeAny, "passthrough">>, "many">;
179
+ repositories: z.ZodArray<z.ZodObject<{
180
+ key: z.ZodString;
181
+ project: z.ZodString;
182
+ role: z.ZodEnum<["primary", "library", "fixture"]>;
183
+ gitUrl: z.ZodString;
184
+ defaultBranch: z.ZodDefault<z.ZodString>;
185
+ repositoryPolicy: z.ZodOptional<z.ZodObject<{
186
+ stagingBranch: z.ZodOptional<z.ZodString>;
187
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
188
+ stagingBranch: z.ZodOptional<z.ZodString>;
189
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
190
+ stagingBranch: z.ZodOptional<z.ZodString>;
191
+ }, z.ZodTypeAny, "passthrough">>>;
192
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
193
+ key: z.ZodString;
194
+ project: z.ZodString;
195
+ role: z.ZodEnum<["primary", "library", "fixture"]>;
196
+ gitUrl: z.ZodString;
197
+ defaultBranch: z.ZodDefault<z.ZodString>;
198
+ repositoryPolicy: z.ZodOptional<z.ZodObject<{
199
+ stagingBranch: z.ZodOptional<z.ZodString>;
200
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
201
+ stagingBranch: z.ZodOptional<z.ZodString>;
202
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
203
+ stagingBranch: z.ZodOptional<z.ZodString>;
204
+ }, z.ZodTypeAny, "passthrough">>>;
205
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
206
+ key: z.ZodString;
207
+ project: z.ZodString;
208
+ role: z.ZodEnum<["primary", "library", "fixture"]>;
209
+ gitUrl: z.ZodString;
210
+ defaultBranch: z.ZodDefault<z.ZodString>;
211
+ repositoryPolicy: z.ZodOptional<z.ZodObject<{
212
+ stagingBranch: z.ZodOptional<z.ZodString>;
213
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
214
+ stagingBranch: z.ZodOptional<z.ZodString>;
215
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
216
+ stagingBranch: z.ZodOptional<z.ZodString>;
217
+ }, z.ZodTypeAny, "passthrough">>>;
218
+ }, z.ZodTypeAny, "passthrough">>, "many">;
219
+ }, z.ZodTypeAny, "passthrough">>;
220
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
221
+ schemaVersion: z.ZodString;
222
+ resources: z.ZodObject<{
223
+ projects: z.ZodArray<z.ZodObject<{
224
+ key: z.ZodString;
225
+ slug: z.ZodString;
226
+ primaryRepository: z.ZodString;
227
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
228
+ key: z.ZodString;
229
+ slug: z.ZodString;
230
+ primaryRepository: z.ZodString;
231
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
232
+ key: z.ZodString;
233
+ slug: z.ZodString;
234
+ primaryRepository: z.ZodString;
235
+ }, z.ZodTypeAny, "passthrough">>, "many">;
236
+ repositories: z.ZodArray<z.ZodObject<{
237
+ key: z.ZodString;
238
+ project: z.ZodString;
239
+ role: z.ZodEnum<["primary", "library", "fixture"]>;
240
+ gitUrl: z.ZodString;
241
+ defaultBranch: z.ZodDefault<z.ZodString>;
242
+ repositoryPolicy: z.ZodOptional<z.ZodObject<{
243
+ stagingBranch: z.ZodOptional<z.ZodString>;
244
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
245
+ stagingBranch: z.ZodOptional<z.ZodString>;
246
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
247
+ stagingBranch: z.ZodOptional<z.ZodString>;
248
+ }, z.ZodTypeAny, "passthrough">>>;
249
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
250
+ key: z.ZodString;
251
+ project: z.ZodString;
252
+ role: z.ZodEnum<["primary", "library", "fixture"]>;
253
+ gitUrl: z.ZodString;
254
+ defaultBranch: z.ZodDefault<z.ZodString>;
255
+ repositoryPolicy: z.ZodOptional<z.ZodObject<{
256
+ stagingBranch: z.ZodOptional<z.ZodString>;
257
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
258
+ stagingBranch: z.ZodOptional<z.ZodString>;
259
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
260
+ stagingBranch: z.ZodOptional<z.ZodString>;
261
+ }, z.ZodTypeAny, "passthrough">>>;
262
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
263
+ key: z.ZodString;
264
+ project: z.ZodString;
265
+ role: z.ZodEnum<["primary", "library", "fixture"]>;
266
+ gitUrl: z.ZodString;
267
+ defaultBranch: z.ZodDefault<z.ZodString>;
268
+ repositoryPolicy: z.ZodOptional<z.ZodObject<{
269
+ stagingBranch: z.ZodOptional<z.ZodString>;
270
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
271
+ stagingBranch: z.ZodOptional<z.ZodString>;
272
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
273
+ stagingBranch: z.ZodOptional<z.ZodString>;
274
+ }, z.ZodTypeAny, "passthrough">>>;
275
+ }, z.ZodTypeAny, "passthrough">>, "many">;
276
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
277
+ projects: z.ZodArray<z.ZodObject<{
278
+ key: z.ZodString;
279
+ slug: z.ZodString;
280
+ primaryRepository: z.ZodString;
281
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
282
+ key: z.ZodString;
283
+ slug: z.ZodString;
284
+ primaryRepository: z.ZodString;
285
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
286
+ key: z.ZodString;
287
+ slug: z.ZodString;
288
+ primaryRepository: z.ZodString;
289
+ }, z.ZodTypeAny, "passthrough">>, "many">;
290
+ repositories: z.ZodArray<z.ZodObject<{
291
+ key: z.ZodString;
292
+ project: z.ZodString;
293
+ role: z.ZodEnum<["primary", "library", "fixture"]>;
294
+ gitUrl: z.ZodString;
295
+ defaultBranch: z.ZodDefault<z.ZodString>;
296
+ repositoryPolicy: z.ZodOptional<z.ZodObject<{
297
+ stagingBranch: z.ZodOptional<z.ZodString>;
298
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
299
+ stagingBranch: z.ZodOptional<z.ZodString>;
300
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
301
+ stagingBranch: z.ZodOptional<z.ZodString>;
302
+ }, z.ZodTypeAny, "passthrough">>>;
303
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
304
+ key: z.ZodString;
305
+ project: z.ZodString;
306
+ role: z.ZodEnum<["primary", "library", "fixture"]>;
307
+ gitUrl: z.ZodString;
308
+ defaultBranch: z.ZodDefault<z.ZodString>;
309
+ repositoryPolicy: z.ZodOptional<z.ZodObject<{
310
+ stagingBranch: z.ZodOptional<z.ZodString>;
311
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
312
+ stagingBranch: z.ZodOptional<z.ZodString>;
313
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
314
+ stagingBranch: z.ZodOptional<z.ZodString>;
315
+ }, z.ZodTypeAny, "passthrough">>>;
316
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
317
+ key: z.ZodString;
318
+ project: z.ZodString;
319
+ role: z.ZodEnum<["primary", "library", "fixture"]>;
320
+ gitUrl: z.ZodString;
321
+ defaultBranch: z.ZodDefault<z.ZodString>;
322
+ repositoryPolicy: z.ZodOptional<z.ZodObject<{
323
+ stagingBranch: z.ZodOptional<z.ZodString>;
324
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
325
+ stagingBranch: z.ZodOptional<z.ZodString>;
326
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
327
+ stagingBranch: z.ZodOptional<z.ZodString>;
328
+ }, z.ZodTypeAny, "passthrough">>>;
329
+ }, z.ZodTypeAny, "passthrough">>, "many">;
330
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
331
+ projects: z.ZodArray<z.ZodObject<{
332
+ key: z.ZodString;
333
+ slug: z.ZodString;
334
+ primaryRepository: z.ZodString;
335
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
336
+ key: z.ZodString;
337
+ slug: z.ZodString;
338
+ primaryRepository: z.ZodString;
339
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
340
+ key: z.ZodString;
341
+ slug: z.ZodString;
342
+ primaryRepository: z.ZodString;
343
+ }, z.ZodTypeAny, "passthrough">>, "many">;
344
+ repositories: z.ZodArray<z.ZodObject<{
345
+ key: z.ZodString;
346
+ project: z.ZodString;
347
+ role: z.ZodEnum<["primary", "library", "fixture"]>;
348
+ gitUrl: z.ZodString;
349
+ defaultBranch: z.ZodDefault<z.ZodString>;
350
+ repositoryPolicy: z.ZodOptional<z.ZodObject<{
351
+ stagingBranch: z.ZodOptional<z.ZodString>;
352
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
353
+ stagingBranch: z.ZodOptional<z.ZodString>;
354
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
355
+ stagingBranch: z.ZodOptional<z.ZodString>;
356
+ }, z.ZodTypeAny, "passthrough">>>;
357
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
358
+ key: z.ZodString;
359
+ project: z.ZodString;
360
+ role: z.ZodEnum<["primary", "library", "fixture"]>;
361
+ gitUrl: z.ZodString;
362
+ defaultBranch: z.ZodDefault<z.ZodString>;
363
+ repositoryPolicy: z.ZodOptional<z.ZodObject<{
364
+ stagingBranch: z.ZodOptional<z.ZodString>;
365
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
366
+ stagingBranch: z.ZodOptional<z.ZodString>;
367
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
368
+ stagingBranch: z.ZodOptional<z.ZodString>;
369
+ }, z.ZodTypeAny, "passthrough">>>;
370
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
371
+ key: z.ZodString;
372
+ project: z.ZodString;
373
+ role: z.ZodEnum<["primary", "library", "fixture"]>;
374
+ gitUrl: z.ZodString;
375
+ defaultBranch: z.ZodDefault<z.ZodString>;
376
+ repositoryPolicy: z.ZodOptional<z.ZodObject<{
377
+ stagingBranch: z.ZodOptional<z.ZodString>;
378
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
379
+ stagingBranch: z.ZodOptional<z.ZodString>;
380
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
381
+ stagingBranch: z.ZodOptional<z.ZodString>;
382
+ }, z.ZodTypeAny, "passthrough">>>;
383
+ }, z.ZodTypeAny, "passthrough">>, "many">;
384
+ }, z.ZodTypeAny, "passthrough">>;
385
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
386
+ schemaVersion: z.ZodString;
387
+ resources: z.ZodObject<{
388
+ projects: z.ZodArray<z.ZodObject<{
389
+ key: z.ZodString;
390
+ slug: z.ZodString;
391
+ primaryRepository: z.ZodString;
392
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
393
+ key: z.ZodString;
394
+ slug: z.ZodString;
395
+ primaryRepository: z.ZodString;
396
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
397
+ key: z.ZodString;
398
+ slug: z.ZodString;
399
+ primaryRepository: z.ZodString;
400
+ }, z.ZodTypeAny, "passthrough">>, "many">;
401
+ repositories: z.ZodArray<z.ZodObject<{
402
+ key: z.ZodString;
403
+ project: z.ZodString;
404
+ role: z.ZodEnum<["primary", "library", "fixture"]>;
405
+ gitUrl: z.ZodString;
406
+ defaultBranch: z.ZodDefault<z.ZodString>;
407
+ repositoryPolicy: z.ZodOptional<z.ZodObject<{
408
+ stagingBranch: z.ZodOptional<z.ZodString>;
409
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
410
+ stagingBranch: z.ZodOptional<z.ZodString>;
411
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
412
+ stagingBranch: z.ZodOptional<z.ZodString>;
413
+ }, z.ZodTypeAny, "passthrough">>>;
414
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
415
+ key: z.ZodString;
416
+ project: z.ZodString;
417
+ role: z.ZodEnum<["primary", "library", "fixture"]>;
418
+ gitUrl: z.ZodString;
419
+ defaultBranch: z.ZodDefault<z.ZodString>;
420
+ repositoryPolicy: z.ZodOptional<z.ZodObject<{
421
+ stagingBranch: z.ZodOptional<z.ZodString>;
422
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
423
+ stagingBranch: z.ZodOptional<z.ZodString>;
424
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
425
+ stagingBranch: z.ZodOptional<z.ZodString>;
426
+ }, z.ZodTypeAny, "passthrough">>>;
427
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
428
+ key: z.ZodString;
429
+ project: z.ZodString;
430
+ role: z.ZodEnum<["primary", "library", "fixture"]>;
431
+ gitUrl: z.ZodString;
432
+ defaultBranch: z.ZodDefault<z.ZodString>;
433
+ repositoryPolicy: z.ZodOptional<z.ZodObject<{
434
+ stagingBranch: z.ZodOptional<z.ZodString>;
435
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
436
+ stagingBranch: z.ZodOptional<z.ZodString>;
437
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
438
+ stagingBranch: z.ZodOptional<z.ZodString>;
439
+ }, z.ZodTypeAny, "passthrough">>>;
440
+ }, z.ZodTypeAny, "passthrough">>, "many">;
441
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
442
+ projects: z.ZodArray<z.ZodObject<{
443
+ key: z.ZodString;
444
+ slug: z.ZodString;
445
+ primaryRepository: z.ZodString;
446
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
447
+ key: z.ZodString;
448
+ slug: z.ZodString;
449
+ primaryRepository: z.ZodString;
450
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
451
+ key: z.ZodString;
452
+ slug: z.ZodString;
453
+ primaryRepository: z.ZodString;
454
+ }, z.ZodTypeAny, "passthrough">>, "many">;
455
+ repositories: z.ZodArray<z.ZodObject<{
456
+ key: z.ZodString;
457
+ project: z.ZodString;
458
+ role: z.ZodEnum<["primary", "library", "fixture"]>;
459
+ gitUrl: z.ZodString;
460
+ defaultBranch: z.ZodDefault<z.ZodString>;
461
+ repositoryPolicy: z.ZodOptional<z.ZodObject<{
462
+ stagingBranch: z.ZodOptional<z.ZodString>;
463
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
464
+ stagingBranch: z.ZodOptional<z.ZodString>;
465
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
466
+ stagingBranch: z.ZodOptional<z.ZodString>;
467
+ }, z.ZodTypeAny, "passthrough">>>;
468
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
469
+ key: z.ZodString;
470
+ project: z.ZodString;
471
+ role: z.ZodEnum<["primary", "library", "fixture"]>;
472
+ gitUrl: z.ZodString;
473
+ defaultBranch: z.ZodDefault<z.ZodString>;
474
+ repositoryPolicy: z.ZodOptional<z.ZodObject<{
475
+ stagingBranch: z.ZodOptional<z.ZodString>;
476
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
477
+ stagingBranch: z.ZodOptional<z.ZodString>;
478
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
479
+ stagingBranch: z.ZodOptional<z.ZodString>;
480
+ }, z.ZodTypeAny, "passthrough">>>;
481
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
482
+ key: z.ZodString;
483
+ project: z.ZodString;
484
+ role: z.ZodEnum<["primary", "library", "fixture"]>;
485
+ gitUrl: z.ZodString;
486
+ defaultBranch: z.ZodDefault<z.ZodString>;
487
+ repositoryPolicy: z.ZodOptional<z.ZodObject<{
488
+ stagingBranch: z.ZodOptional<z.ZodString>;
489
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
490
+ stagingBranch: z.ZodOptional<z.ZodString>;
491
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
492
+ stagingBranch: z.ZodOptional<z.ZodString>;
493
+ }, z.ZodTypeAny, "passthrough">>>;
494
+ }, z.ZodTypeAny, "passthrough">>, "many">;
495
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
496
+ projects: z.ZodArray<z.ZodObject<{
497
+ key: z.ZodString;
498
+ slug: z.ZodString;
499
+ primaryRepository: z.ZodString;
500
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
501
+ key: z.ZodString;
502
+ slug: z.ZodString;
503
+ primaryRepository: z.ZodString;
504
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
505
+ key: z.ZodString;
506
+ slug: z.ZodString;
507
+ primaryRepository: z.ZodString;
508
+ }, z.ZodTypeAny, "passthrough">>, "many">;
509
+ repositories: z.ZodArray<z.ZodObject<{
510
+ key: z.ZodString;
511
+ project: z.ZodString;
512
+ role: z.ZodEnum<["primary", "library", "fixture"]>;
513
+ gitUrl: z.ZodString;
514
+ defaultBranch: z.ZodDefault<z.ZodString>;
515
+ repositoryPolicy: z.ZodOptional<z.ZodObject<{
516
+ stagingBranch: z.ZodOptional<z.ZodString>;
517
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
518
+ stagingBranch: z.ZodOptional<z.ZodString>;
519
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
520
+ stagingBranch: z.ZodOptional<z.ZodString>;
521
+ }, z.ZodTypeAny, "passthrough">>>;
522
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
523
+ key: z.ZodString;
524
+ project: z.ZodString;
525
+ role: z.ZodEnum<["primary", "library", "fixture"]>;
526
+ gitUrl: z.ZodString;
527
+ defaultBranch: z.ZodDefault<z.ZodString>;
528
+ repositoryPolicy: z.ZodOptional<z.ZodObject<{
529
+ stagingBranch: z.ZodOptional<z.ZodString>;
530
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
531
+ stagingBranch: z.ZodOptional<z.ZodString>;
532
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
533
+ stagingBranch: z.ZodOptional<z.ZodString>;
534
+ }, z.ZodTypeAny, "passthrough">>>;
535
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
536
+ key: z.ZodString;
537
+ project: z.ZodString;
538
+ role: z.ZodEnum<["primary", "library", "fixture"]>;
539
+ gitUrl: z.ZodString;
540
+ defaultBranch: z.ZodDefault<z.ZodString>;
541
+ repositoryPolicy: z.ZodOptional<z.ZodObject<{
542
+ stagingBranch: z.ZodOptional<z.ZodString>;
543
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
544
+ stagingBranch: z.ZodOptional<z.ZodString>;
545
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
546
+ stagingBranch: z.ZodOptional<z.ZodString>;
547
+ }, z.ZodTypeAny, "passthrough">>>;
548
+ }, z.ZodTypeAny, "passthrough">>, "many">;
549
+ }, z.ZodTypeAny, "passthrough">>;
550
+ }, z.ZodTypeAny, "passthrough">>;
551
+ export declare const profileSchema: z.ZodObject<{
552
+ schemaVersion: z.ZodLiteral<"treeseed.platform-profile/v1">;
553
+ id: z.ZodString;
554
+ extends: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
555
+ sources: z.ZodDefault<z.ZodObject<{
556
+ projects: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
557
+ }, "strip", z.ZodTypeAny, {
558
+ projects: string[];
559
+ }, {
560
+ projects?: string[] | undefined;
561
+ }>>;
562
+ runtime: z.ZodDefault<z.ZodObject<{
563
+ targets: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
564
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
565
+ targets: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
566
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
567
+ targets: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
568
+ }, z.ZodTypeAny, "passthrough">>>;
569
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
570
+ schemaVersion: z.ZodLiteral<"treeseed.platform-profile/v1">;
571
+ id: z.ZodString;
572
+ extends: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
573
+ sources: z.ZodDefault<z.ZodObject<{
574
+ projects: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
575
+ }, "strip", z.ZodTypeAny, {
576
+ projects: string[];
577
+ }, {
578
+ projects?: string[] | undefined;
579
+ }>>;
580
+ runtime: z.ZodDefault<z.ZodObject<{
581
+ targets: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
582
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
583
+ targets: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
584
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
585
+ targets: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
586
+ }, z.ZodTypeAny, "passthrough">>>;
587
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
588
+ schemaVersion: z.ZodLiteral<"treeseed.platform-profile/v1">;
589
+ id: z.ZodString;
590
+ extends: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
591
+ sources: z.ZodDefault<z.ZodObject<{
592
+ projects: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
593
+ }, "strip", z.ZodTypeAny, {
594
+ projects: string[];
595
+ }, {
596
+ projects?: string[] | undefined;
597
+ }>>;
598
+ runtime: z.ZodDefault<z.ZodObject<{
599
+ targets: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
600
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
601
+ targets: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
602
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
603
+ targets: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
604
+ }, z.ZodTypeAny, "passthrough">>>;
605
+ }, z.ZodTypeAny, "passthrough">>;
606
+ export declare const worksetSelectionSchema: z.ZodObject<{
607
+ profiles: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
608
+ projects: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
609
+ exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
610
+ }, "strip", z.ZodTypeAny, {
611
+ projects: string[];
612
+ profiles: string[];
613
+ exclude: string[];
614
+ }, {
615
+ projects?: string[] | undefined;
616
+ profiles?: string[] | undefined;
617
+ exclude?: string[] | undefined;
618
+ }>;
619
+ export declare const worksetEntrySchema: z.ZodObject<{
620
+ project: z.ZodString;
621
+ repository: z.ZodString;
622
+ gitUrl: z.ZodString;
623
+ branch: z.ZodString;
624
+ commit: z.ZodString;
625
+ path: z.ZodString;
626
+ action: z.ZodEnum<["clone", "fast-forward", "noop", "blocked"]>;
627
+ blockers: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
628
+ }, "strip", z.ZodTypeAny, {
629
+ project: string;
630
+ path: string;
631
+ gitUrl: string;
632
+ repository: string;
633
+ branch: string;
634
+ commit: string;
635
+ action: "clone" | "fast-forward" | "noop" | "blocked";
636
+ blockers: string[];
637
+ }, {
638
+ project: string;
639
+ path: string;
640
+ gitUrl: string;
641
+ repository: string;
642
+ branch: string;
643
+ commit: string;
644
+ action: "clone" | "fast-forward" | "noop" | "blocked";
645
+ blockers?: string[] | undefined;
646
+ }>;
647
+ export declare const worksetPlanSchema: z.ZodObject<{
648
+ schemaVersion: z.ZodLiteral<"treeseed.platform-workset-plan/v1">;
649
+ root: z.ZodString;
650
+ inventoryPath: z.ZodString;
651
+ inventoryDigest: z.ZodString;
652
+ selection: z.ZodObject<{
653
+ profiles: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
654
+ projects: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
655
+ exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
656
+ }, "strip", z.ZodTypeAny, {
657
+ projects: string[];
658
+ profiles: string[];
659
+ exclude: string[];
660
+ }, {
661
+ projects?: string[] | undefined;
662
+ profiles?: string[] | undefined;
663
+ exclude?: string[] | undefined;
664
+ }>;
665
+ entries: z.ZodArray<z.ZodObject<{
666
+ project: z.ZodString;
667
+ repository: z.ZodString;
668
+ gitUrl: z.ZodString;
669
+ branch: z.ZodString;
670
+ commit: z.ZodString;
671
+ path: z.ZodString;
672
+ action: z.ZodEnum<["clone", "fast-forward", "noop", "blocked"]>;
673
+ blockers: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
674
+ }, "strip", z.ZodTypeAny, {
675
+ project: string;
676
+ path: string;
677
+ gitUrl: string;
678
+ repository: string;
679
+ branch: string;
680
+ commit: string;
681
+ action: "clone" | "fast-forward" | "noop" | "blocked";
682
+ blockers: string[];
683
+ }, {
684
+ project: string;
685
+ path: string;
686
+ gitUrl: string;
687
+ repository: string;
688
+ branch: string;
689
+ commit: string;
690
+ action: "clone" | "fast-forward" | "noop" | "blocked";
691
+ blockers?: string[] | undefined;
692
+ }>, "many">;
693
+ ok: z.ZodBoolean;
694
+ }, "strip", z.ZodTypeAny, {
695
+ entries: {
696
+ project: string;
697
+ path: string;
698
+ gitUrl: string;
699
+ repository: string;
700
+ branch: string;
701
+ commit: string;
702
+ action: "clone" | "fast-forward" | "noop" | "blocked";
703
+ blockers: string[];
704
+ }[];
705
+ schemaVersion: "treeseed.platform-workset-plan/v1";
706
+ root: string;
707
+ inventoryPath: string;
708
+ inventoryDigest: string;
709
+ selection: {
710
+ projects: string[];
711
+ profiles: string[];
712
+ exclude: string[];
713
+ };
714
+ ok: boolean;
715
+ }, {
716
+ entries: {
717
+ project: string;
718
+ path: string;
719
+ gitUrl: string;
720
+ repository: string;
721
+ branch: string;
722
+ commit: string;
723
+ action: "clone" | "fast-forward" | "noop" | "blocked";
724
+ blockers?: string[] | undefined;
725
+ }[];
726
+ schemaVersion: "treeseed.platform-workset-plan/v1";
727
+ root: string;
728
+ inventoryPath: string;
729
+ inventoryDigest: string;
730
+ selection: {
731
+ projects?: string[] | undefined;
732
+ profiles?: string[] | undefined;
733
+ exclude?: string[] | undefined;
734
+ };
735
+ ok: boolean;
736
+ }>;
737
+ export declare const worksetReceiptSchema: z.ZodObject<{
738
+ schemaVersion: z.ZodLiteral<"treeseed.platform-workset-receipt/v1">;
739
+ planDigest: z.ZodString;
740
+ inventoryDigest: z.ZodString;
741
+ entries: z.ZodArray<z.ZodObject<Omit<{
742
+ project: z.ZodString;
743
+ repository: z.ZodString;
744
+ gitUrl: z.ZodString;
745
+ branch: z.ZodString;
746
+ commit: z.ZodString;
747
+ path: z.ZodString;
748
+ action: z.ZodEnum<["clone", "fast-forward", "noop", "blocked"]>;
749
+ blockers: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
750
+ }, "action" | "blockers"> & {
751
+ action: z.ZodEnum<["clone", "fast-forward", "noop"]>;
752
+ }, "strip", z.ZodTypeAny, {
753
+ project: string;
754
+ path: string;
755
+ gitUrl: string;
756
+ repository: string;
757
+ branch: string;
758
+ commit: string;
759
+ action: "clone" | "fast-forward" | "noop";
760
+ }, {
761
+ project: string;
762
+ path: string;
763
+ gitUrl: string;
764
+ repository: string;
765
+ branch: string;
766
+ commit: string;
767
+ action: "clone" | "fast-forward" | "noop";
768
+ }>, "many">;
769
+ }, "strip", z.ZodTypeAny, {
770
+ entries: {
771
+ project: string;
772
+ path: string;
773
+ gitUrl: string;
774
+ repository: string;
775
+ branch: string;
776
+ commit: string;
777
+ action: "clone" | "fast-forward" | "noop";
778
+ }[];
779
+ schemaVersion: "treeseed.platform-workset-receipt/v1";
780
+ inventoryDigest: string;
781
+ planDigest: string;
782
+ }, {
783
+ entries: {
784
+ project: string;
785
+ path: string;
786
+ gitUrl: string;
787
+ repository: string;
788
+ branch: string;
789
+ commit: string;
790
+ action: "clone" | "fast-forward" | "noop";
791
+ }[];
792
+ schemaVersion: "treeseed.platform-workset-receipt/v1";
793
+ inventoryDigest: string;
794
+ planDigest: string;
795
+ }>;
796
+ export interface PlatformDiagnostic {
797
+ code: string;
798
+ path: string;
799
+ message: string;
800
+ }
801
+ export type Inventory = z.infer<typeof inventorySchema>;
802
+ export type PlatformProfile = z.infer<typeof profileSchema>;
803
+ export type WorksetSelection = z.infer<typeof worksetSelectionSchema>;
804
+ export type WorksetEntry = z.infer<typeof worksetEntrySchema>;
805
+ export type WorksetPlan = z.infer<typeof worksetPlanSchema>;
806
+ export type WorksetReceipt = z.infer<typeof worksetReceiptSchema>;