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

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 +631 -631
  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 +36 -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
@@ -16,13 +16,13 @@ export declare const sandboxAssignmentSchema: z.ZodObject<{
16
16
  capabilities: z.ZodArray<z.ZodString, "many">;
17
17
  }, "strict", z.ZodTypeAny, {
18
18
  id: string;
19
- digest: string;
20
19
  version: string;
20
+ digest: string;
21
21
  capabilities: string[];
22
22
  }, {
23
23
  id: string;
24
- digest: string;
25
24
  version: string;
25
+ digest: string;
26
26
  capabilities: string[];
27
27
  }>>;
28
28
  guestImage: z.ZodString;
@@ -60,15 +60,15 @@ export declare const sandboxAssignmentSchema: z.ZodObject<{
60
60
  targetPath: z.ZodString;
61
61
  }, "strict", z.ZodTypeAny, {
62
62
  id: string;
63
- mediaType: string;
64
63
  digest: string;
64
+ mediaType: string;
65
65
  bytes: number;
66
66
  disposition: "read-only" | "copy-on-write";
67
67
  targetPath: string;
68
68
  }, {
69
69
  id: string;
70
- mediaType: string;
71
70
  digest: string;
71
+ mediaType: string;
72
72
  bytes: number;
73
73
  disposition: "read-only" | "copy-on-write";
74
74
  targetPath: string;
@@ -114,16 +114,16 @@ export declare const sandboxAssignmentSchema: z.ZodObject<{
114
114
  maxOutputTokens: z.ZodOptional<z.ZodNumber>;
115
115
  maxCost: z.ZodOptional<z.ZodNumber>;
116
116
  }, "strict", z.ZodTypeAny, {
117
- provider: string;
118
117
  capabilities: string[];
118
+ provider: string;
119
119
  model: string;
120
120
  reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
121
121
  maxInputTokens?: number | undefined;
122
122
  maxOutputTokens?: number | undefined;
123
123
  maxCost?: number | undefined;
124
124
  }, {
125
- provider: string;
126
125
  capabilities: string[];
126
+ provider: string;
127
127
  model: string;
128
128
  reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
129
129
  maxInputTokens?: number | undefined;
@@ -159,15 +159,7 @@ export declare const sandboxAssignmentSchema: z.ZodObject<{
159
159
  keyId: string;
160
160
  }>;
161
161
  }, "strict", z.ZodTypeAny, {
162
- teamId: string;
163
- assignmentId: string;
164
162
  schemaVersion: "treeseed.sandbox-assignment/v1";
165
- outputs: {
166
- path: string;
167
- id: string;
168
- mediaType: string;
169
- maxBytes: number;
170
- }[];
171
163
  resources: {
172
164
  cpuCores: number;
173
165
  memoryBytes: number;
@@ -176,26 +168,34 @@ export declare const sandboxAssignmentSchema: z.ZodObject<{
176
168
  processLimit: number;
177
169
  outputBytes: number;
178
170
  };
171
+ inputs: {
172
+ id: string;
173
+ digest: string;
174
+ mediaType: string;
175
+ bytes: number;
176
+ disposition: "read-only" | "copy-on-write";
177
+ targetPath: string;
178
+ }[];
179
179
  projectId: string;
180
- profile: string;
180
+ teamId: string;
181
+ providerId: string;
182
+ assignmentId: string;
181
183
  network: {
182
184
  defaultDeny: true;
183
185
  relayUrl: string;
184
186
  allowedServices: string[];
185
187
  connectedDevelopmentSessionId?: string | undefined;
186
188
  };
187
- guestImage: string;
188
- guestImageDigest: string;
189
- providerId: string;
190
- runnerId: string;
191
- inputs: {
189
+ outputs: {
190
+ path: string;
192
191
  id: string;
193
192
  mediaType: string;
194
- digest: string;
195
- bytes: number;
196
- disposition: "read-only" | "copy-on-write";
197
- targetPath: string;
193
+ maxBytes: number;
198
194
  }[];
195
+ profile: string;
196
+ guestImage: string;
197
+ guestImageDigest: string;
198
+ runnerId: string;
199
199
  signature: {
200
200
  value: string;
201
201
  algorithm: "Ed25519";
@@ -206,8 +206,8 @@ export declare const sandboxAssignmentSchema: z.ZodObject<{
206
206
  identityManifestDigest: string;
207
207
  contextManifestDigest: string;
208
208
  modelPolicy: {
209
- provider: string;
210
209
  capabilities: string[];
210
+ provider: string;
211
211
  model: string;
212
212
  reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
213
213
  maxInputTokens?: number | undefined;
@@ -222,20 +222,12 @@ export declare const sandboxAssignmentSchema: z.ZodObject<{
222
222
  treeDxHandleIds: string[];
223
223
  environmentContract?: {
224
224
  id: string;
225
- digest: string;
226
225
  version: string;
226
+ digest: string;
227
227
  capabilities: string[];
228
228
  } | undefined;
229
229
  }, {
230
- teamId: string;
231
- assignmentId: string;
232
230
  schemaVersion: "treeseed.sandbox-assignment/v1";
233
- outputs: {
234
- path: string;
235
- id: string;
236
- mediaType: string;
237
- maxBytes: number;
238
- }[];
239
231
  resources: {
240
232
  cpuCores: number;
241
233
  memoryBytes: number;
@@ -244,26 +236,34 @@ export declare const sandboxAssignmentSchema: z.ZodObject<{
244
236
  processLimit: number;
245
237
  outputBytes: number;
246
238
  };
239
+ inputs: {
240
+ id: string;
241
+ digest: string;
242
+ mediaType: string;
243
+ bytes: number;
244
+ disposition: "read-only" | "copy-on-write";
245
+ targetPath: string;
246
+ }[];
247
247
  projectId: string;
248
- profile: string;
248
+ teamId: string;
249
+ providerId: string;
250
+ assignmentId: string;
249
251
  network: {
250
252
  defaultDeny: true;
251
253
  relayUrl: string;
252
254
  allowedServices: string[];
253
255
  connectedDevelopmentSessionId?: string | undefined;
254
256
  };
255
- guestImage: string;
256
- guestImageDigest: string;
257
- providerId: string;
258
- runnerId: string;
259
- inputs: {
257
+ outputs: {
258
+ path: string;
260
259
  id: string;
261
260
  mediaType: string;
262
- digest: string;
263
- bytes: number;
264
- disposition: "read-only" | "copy-on-write";
265
- targetPath: string;
261
+ maxBytes: number;
266
262
  }[];
263
+ profile: string;
264
+ guestImage: string;
265
+ guestImageDigest: string;
266
+ runnerId: string;
267
267
  signature: {
268
268
  value: string;
269
269
  algorithm: "Ed25519";
@@ -274,8 +274,8 @@ export declare const sandboxAssignmentSchema: z.ZodObject<{
274
274
  identityManifestDigest: string;
275
275
  contextManifestDigest: string;
276
276
  modelPolicy: {
277
- provider: string;
278
277
  capabilities: string[];
278
+ provider: string;
279
279
  model: string;
280
280
  reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
281
281
  maxInputTokens?: number | undefined;
@@ -290,8 +290,8 @@ export declare const sandboxAssignmentSchema: z.ZodObject<{
290
290
  treeDxHandleIds: string[];
291
291
  environmentContract?: {
292
292
  id: string;
293
- digest: string;
294
293
  version: string;
294
+ digest: string;
295
295
  capabilities: string[];
296
296
  } | undefined;
297
297
  }>;
@@ -304,18 +304,18 @@ export declare const sandboxEventSchema: z.ZodObject<{
304
304
  type: z.ZodEnum<["sandbox.created", "sandbox.ready", "execution.started", "execution.progress", "tool.requested", "tool.completed", "execution.completed", "execution.failed", "sandbox.destroyed"]>;
305
305
  payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
306
306
  }, "strict", z.ZodTypeAny, {
307
+ type: "sandbox.created" | "sandbox.ready" | "execution.started" | "execution.progress" | "tool.requested" | "tool.completed" | "execution.completed" | "execution.failed" | "sandbox.destroyed";
308
+ schemaVersion: "treeseed.sandbox-event/v1";
307
309
  assignmentId: string;
308
310
  sequence: number;
309
- schemaVersion: "treeseed.sandbox-event/v1";
310
- type: "sandbox.created" | "sandbox.ready" | "execution.started" | "execution.progress" | "tool.requested" | "tool.completed" | "execution.completed" | "execution.failed" | "sandbox.destroyed";
311
311
  payload: Record<string, unknown>;
312
312
  occurredAt: string;
313
313
  sandboxId: string;
314
314
  }, {
315
+ type: "sandbox.created" | "sandbox.ready" | "execution.started" | "execution.progress" | "tool.requested" | "tool.completed" | "execution.completed" | "execution.failed" | "sandbox.destroyed";
316
+ schemaVersion: "treeseed.sandbox-event/v1";
315
317
  assignmentId: string;
316
318
  sequence: number;
317
- schemaVersion: "treeseed.sandbox-event/v1";
318
- type: "sandbox.created" | "sandbox.ready" | "execution.started" | "execution.progress" | "tool.requested" | "tool.completed" | "execution.completed" | "execution.failed" | "sandbox.destroyed";
319
319
  occurredAt: string;
320
320
  sandboxId: string;
321
321
  payload?: Record<string, unknown> | undefined;
@@ -342,29 +342,29 @@ export declare const sandboxLeaseRenewalSchema: z.ZodObject<{
342
342
  keyId: string;
343
343
  }>;
344
344
  }, "strict", z.ZodTypeAny, {
345
- teamId: string;
346
- assignmentId: string;
347
345
  schemaVersion: "treeseed.sandbox-lease-renewal/v1";
346
+ teamId: string;
348
347
  providerId: string;
348
+ issuedAt: string;
349
+ assignmentId: string;
349
350
  signature: {
350
351
  value: string;
351
352
  algorithm: "Ed25519";
352
353
  keyId: string;
353
354
  };
354
- issuedAt: string;
355
355
  leaseExpiresAt: string;
356
356
  sandboxId: string;
357
357
  }, {
358
- teamId: string;
359
- assignmentId: string;
360
358
  schemaVersion: "treeseed.sandbox-lease-renewal/v1";
359
+ teamId: string;
361
360
  providerId: string;
361
+ issuedAt: string;
362
+ assignmentId: string;
362
363
  signature: {
363
364
  value: string;
364
365
  algorithm: "Ed25519";
365
366
  keyId: string;
366
367
  };
367
- issuedAt: string;
368
368
  leaseExpiresAt: string;
369
369
  sandboxId: string;
370
370
  }>;
@@ -384,14 +384,14 @@ export declare const sandboxResultSchema: z.ZodObject<{
384
384
  }, "strict", z.ZodTypeAny, {
385
385
  path: string;
386
386
  id: string;
387
- mediaType: string;
388
387
  digest: string;
388
+ mediaType: string;
389
389
  bytes: number;
390
390
  }, {
391
391
  path: string;
392
392
  id: string;
393
- mediaType: string;
394
393
  digest: string;
394
+ mediaType: string;
395
395
  bytes: number;
396
396
  }>, "many">;
397
397
  usage: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -407,14 +407,14 @@ export declare const sandboxResultSchema: z.ZodObject<{
407
407
  verified: boolean;
408
408
  }>;
409
409
  }, "strict", z.ZodTypeAny, {
410
- assignmentId: string;
411
- schemaVersion: "treeseed.sandbox-result/v1";
412
410
  status: "expired" | "failed" | "completed" | "cancelled";
411
+ schemaVersion: "treeseed.sandbox-result/v1";
412
+ assignmentId: string;
413
413
  artifacts: {
414
414
  path: string;
415
415
  id: string;
416
- mediaType: string;
417
416
  digest: string;
417
+ mediaType: string;
418
418
  bytes: number;
419
419
  }[];
420
420
  summary: string;
@@ -427,14 +427,14 @@ export declare const sandboxResultSchema: z.ZodObject<{
427
427
  };
428
428
  responseMarkdown?: string | undefined;
429
429
  }, {
430
- assignmentId: string;
431
- schemaVersion: "treeseed.sandbox-result/v1";
432
430
  status: "expired" | "failed" | "completed" | "cancelled";
431
+ schemaVersion: "treeseed.sandbox-result/v1";
432
+ assignmentId: string;
433
433
  artifacts: {
434
434
  path: string;
435
435
  id: string;
436
- mediaType: string;
437
436
  digest: string;
437
+ mediaType: string;
438
438
  bytes: number;
439
439
  }[];
440
440
  summary: string;
@@ -493,10 +493,10 @@ export declare const providerEnvironmentReceiptSchema: z.ZodObject<{
493
493
  keyId: string;
494
494
  }>;
495
495
  }, "strict", z.ZodTypeAny, {
496
- assignmentId: string;
497
496
  schemaVersion: "treeseed.provider-environment-receipt/v1";
498
497
  createdAt: string;
499
498
  providerId: string;
499
+ assignmentId: string;
500
500
  signature: {
501
501
  value: string;
502
502
  algorithm: "Ed25519";
@@ -516,10 +516,10 @@ export declare const providerEnvironmentReceiptSchema: z.ZodObject<{
516
516
  securityAttestationDigest: string;
517
517
  brokerVersion: string;
518
518
  }, {
519
- assignmentId: string;
520
519
  schemaVersion: "treeseed.provider-environment-receipt/v1";
521
520
  createdAt: string;
522
521
  providerId: string;
522
+ assignmentId: string;
523
523
  signature: {
524
524
  value: string;
525
525
  algorithm: "Ed25519";