@treeseed/sdk 0.13.0-rc.122 → 0.13.0-rc.124
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.
- package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.d.ts +1392 -974
- package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.js +72 -27
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-context-pack.d.ts +34 -34
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-path.d.ts +2 -0
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-path.js +13 -0
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-records.d.ts +1 -0
- package/dist/agent-capacity/contracts/capacity/providers/supply-policy.d.ts +126 -1
- package/dist/agent-capacity/contracts/capacity/providers/supply-policy.js +35 -1
- package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.d.ts +1 -3
- package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.js +21 -15
- package/dist/agent-capacity/contracts/capacity/workdays/capability-accounting.d.ts +3 -42
- package/dist/agent-capacity/contracts/capacity/workdays/capability-accounting.js +8 -8
- package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.d.ts +227 -66
- package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.js +54 -19
- package/dist/agent-capacity/contracts/capacity/workdays/workday-records.d.ts +214 -5
- package/dist/agent-capacity/contracts/capacity/workdays/workday-records.js +19 -0
- package/dist/agent-capacity/contracts/operations/agent-team-clone.d.ts +47 -47
- package/dist/agent-capacity/contracts/projects/agents/project-agent-class.d.ts +119 -0
- package/dist/agent-capacity/contracts/projects/agents/project-agent-class.js +16 -0
- package/dist/agent-capacity/contracts/support/execution-graph.d.ts +434 -230
- package/dist/agent-capacity/contracts/support/execution-graph.js +20 -18
- package/dist/agent-capacity/contracts/support/financial-records.d.ts +2 -0
- package/dist/agent-capacity/validation/agent-definition-schema.d.ts +286 -254
- package/dist/agent-capacity/validation/agent-definition-schema.js +22 -28
- package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +1 -1
- package/dist/agent-capacity/validation/assignment-records.js +45 -0
- package/dist/capacity/agents/agent-capacity.d.ts +1 -0
- package/dist/capacity/agents/agent-capacity.js +1 -0
- package/dist/capacity-provider/capability-ontology.d.ts +102 -102
- package/dist/capacity-provider/client.d.ts +14 -7
- package/dist/capacity-provider/client.js +1 -4
- package/dist/capacity-provider/contracts/capacity-facts.d.ts +0 -1
- package/dist/capacity-provider/contracts/environment-profiles.d.ts +40 -40
- package/dist/capacity-provider/contracts/governance.d.ts +2 -17
- package/dist/capacity-provider/contracts/index.d.ts +2 -0
- package/dist/capacity-provider/contracts/index.js +2 -0
- package/dist/capacity-provider/core-capability-catalog.d.ts +7 -7
- package/dist/capacity-provider/environment-catalog.d.ts +22 -22
- package/dist/capacity-provider/environment-catalog.js +1 -1
- package/dist/capacity-provider/install-configuration.d.ts +4 -4
- package/dist/capacity-provider/sandbox-contracts.d.ts +54 -54
- package/dist/capacity-provider/source-workspace.d.ts +76 -76
- package/dist/capacity-provider/validation.d.ts +10 -2
- package/dist/capacity-provider/validation.js +52 -22
- package/dist/content/validation/agent-operational-content-schemas.d.ts +120 -118
- package/dist/content/validation/agent-operational-content-schemas.js +2 -0
- package/dist/content/validation/auxiliary-content-schemas.d.ts +92 -92
- package/dist/content/validation/content-model-schemas.d.ts +3155 -2512
- package/dist/content/validation/content-model-schemas.js +97 -87
- package/dist/content/validation/portable-content-data.d.ts +173 -168
- package/dist/content/validation/schema-constraints.d.ts +78 -0
- package/dist/content/validation/schema-constraints.js +149 -0
- package/dist/deployment/ai/storage.d.ts +20 -20
- package/dist/deployment/ai-hosting.d.ts +12 -12
- package/dist/deployment/ai-instance.d.ts +12 -12
- package/dist/deployment/ai-mode.d.ts +34 -34
- package/dist/deployment/hosted-topology-template.d.ts +25 -25
- package/dist/deployment/hosted-topology.d.ts +146 -146
- package/dist/deployment/postgres/transfer.d.ts +2 -2
- package/dist/deployment/schemas.d.ts +504 -504
- package/dist/development/schemas.d.ts +325 -325
- package/dist/graph/context-query-contracts.js +1 -1
- package/dist/guarantees/index.d.ts +26 -2
- package/dist/identity/contracts.js +6 -1
- package/dist/operator-contracts/canonical-command-tree.js +22 -8
- package/dist/operator-contracts/catalog/agents/agent-team-clone-operations.d.ts +27 -27
- package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +25 -25
- package/dist/operator-contracts/catalog/commands/command-tree-builders.d.ts +11 -9
- package/dist/operator-contracts/catalog/communication-operations.d.ts +108 -90
- package/dist/operator-contracts/catalog/hosted-topology-operations.d.ts +33 -33
- package/dist/operator-contracts/catalog/inbox-operations.d.ts +27 -27
- package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.d.ts +4 -4
- package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.js +2 -1
- package/dist/operator-contracts/catalog/knowledge-share-operations.d.ts +5 -5
- package/dist/operator-contracts/catalog/provider-environment-operations.d.ts +3 -3
- package/dist/operator-contracts/catalog/services/secret-operations.d.ts +16 -8
- package/dist/operator-contracts/catalog/services/secret-operations.js +2 -1
- package/dist/operator-contracts/catalog/workdays/profile-operations.d.ts +11 -11
- package/dist/operator-contracts/catalog/workdays/selection-commands.js +7 -6
- package/dist/operator-contracts/communication/contracts.d.ts +340 -198
- package/dist/operator-contracts/communication/contracts.js +6 -1
- package/dist/operator-contracts/control-plane-operation.d.ts +7 -0
- package/dist/operator-contracts/control-plane-operation.js +6 -0
- package/dist/operator-contracts/control-plane-operations.d.ts +469 -442
- package/dist/operator-contracts/control-plane-operations.js +26 -10
- package/dist/operator-contracts/inbox/contracts.d.ts +100 -100
- package/dist/operator-contracts/knowledge/contracts.d.ts +6 -6
- package/dist/operator-contracts/mcp.js +4 -3
- package/dist/operator-contracts/workday-lifecycle.d.ts +192 -2
- package/dist/operator-contracts/workday-lifecycle.js +108 -45
- package/dist/platform/agent-schema-verification.js +316 -33
- package/dist/platform/contracts.d.ts +72 -72
- package/dist/platform/schemas.d.ts +144 -36
- package/dist/platform/schemas.js +26 -0
- package/dist/platform/verification.js +4 -0
- package/dist/sdk-types/support/sdk-search-request.d.ts +2 -2
- package/dist/secrets-capability/secret-contracts.d.ts +2 -2
- package/dist/secrets-capability/shared-access.d.ts +1 -1
- package/dist/secrets-capability/shared-resources.d.ts +30 -30
- package/dist/security/encrypted-envelope.d.ts +6 -6
- package/dist/treedx/client.d.ts +4 -4
- package/dist/treedx/index.d.ts +1 -1
- package/dist/treedx/index.js +1 -0
- package/dist/treedx/types.d.ts +286 -0
- package/dist/treedx/types.js +44 -0
- package/dist/types/agents/agent-activity-profile.d.ts +1 -0
- package/guarantees/agent/golden/component-boundaries.guarantee.yaml +12 -0
- package/guarantees/agent/golden/product-custody.guarantee.yaml +12 -0
- package/guarantees/agent/golden/product.guarantee.yaml +12 -0
- package/guarantees/agent/golden/scenes/component-boundaries.scene.yaml +837 -0
- package/guarantees/agent/golden/scenes/product-custody.scene.yaml +53 -0
- package/guarantees/agent/golden/scenes/product.scene.yaml +8 -0
- package/guarantees/verifiers/golden.verifiers.yaml +1429 -0
- package/package.json +10 -5
- package/tests/acceptance/golden-product.test.ts +205 -0
- package/tests/acceptance/golden-product.ts +404 -0
- package/tests/acceptance/product/base-red.ts +73 -0
- package/tests/acceptance/product/documentation-examples.ts +68 -0
- package/tests/acceptance/product/intent-runtime.ts +145 -0
- package/tests/acceptance/product/release-output.ts +160 -0
- package/tests/acceptance/product/research-artifact.ts +87 -0
- package/tests/acceptance/product/research-revision.ts +82 -0
- package/tests/acceptance/product/research-source.ts +91 -0
- package/tests/acceptance/product/test-chain.ts +192 -0
- package/treeseed.package.yaml +147 -0
- package/dist/.treeseed-build-complete.json +0 -1
|
@@ -8,13 +8,13 @@ export declare const inboxProvenanceSchema: z.ZodObject<{
|
|
|
8
8
|
commitSha: z.ZodNullable<z.ZodString>;
|
|
9
9
|
digest: z.ZodNullable<z.ZodString>;
|
|
10
10
|
}, "strict", z.ZodTypeAny, {
|
|
11
|
-
digest: string | null;
|
|
12
11
|
commitSha: string | null;
|
|
12
|
+
digest: string | null;
|
|
13
13
|
repositoryId: string | null;
|
|
14
14
|
contentPath: string | null;
|
|
15
15
|
}, {
|
|
16
|
-
digest: string | null;
|
|
17
16
|
commitSha: string | null;
|
|
17
|
+
digest: string | null;
|
|
18
18
|
repositoryId: string | null;
|
|
19
19
|
contentPath: string | null;
|
|
20
20
|
}>;
|
|
@@ -54,13 +54,13 @@ export declare const inboxCommentSchema: z.ZodObject<{
|
|
|
54
54
|
commitSha: z.ZodNullable<z.ZodString>;
|
|
55
55
|
digest: z.ZodNullable<z.ZodString>;
|
|
56
56
|
}, "strict", z.ZodTypeAny, {
|
|
57
|
-
digest: string | null;
|
|
58
57
|
commitSha: string | null;
|
|
58
|
+
digest: string | null;
|
|
59
59
|
repositoryId: string | null;
|
|
60
60
|
contentPath: string | null;
|
|
61
61
|
}, {
|
|
62
|
-
digest: string | null;
|
|
63
62
|
commitSha: string | null;
|
|
63
|
+
digest: string | null;
|
|
64
64
|
repositoryId: string | null;
|
|
65
65
|
contentPath: string | null;
|
|
66
66
|
}>;
|
|
@@ -71,8 +71,8 @@ export declare const inboxCommentSchema: z.ZodObject<{
|
|
|
71
71
|
parentId: string | null;
|
|
72
72
|
authorId: string;
|
|
73
73
|
provenance: {
|
|
74
|
-
digest: string | null;
|
|
75
74
|
commitSha: string | null;
|
|
75
|
+
digest: string | null;
|
|
76
76
|
repositoryId: string | null;
|
|
77
77
|
contentPath: string | null;
|
|
78
78
|
};
|
|
@@ -85,8 +85,8 @@ export declare const inboxCommentSchema: z.ZodObject<{
|
|
|
85
85
|
parentId: string | null;
|
|
86
86
|
authorId: string;
|
|
87
87
|
provenance: {
|
|
88
|
-
digest: string | null;
|
|
89
88
|
commitSha: string | null;
|
|
89
|
+
digest: string | null;
|
|
90
90
|
repositoryId: string | null;
|
|
91
91
|
contentPath: string | null;
|
|
92
92
|
};
|
|
@@ -115,13 +115,13 @@ export declare const inboxItemSchema: z.ZodObject<{
|
|
|
115
115
|
commitSha: z.ZodNullable<z.ZodString>;
|
|
116
116
|
digest: z.ZodNullable<z.ZodString>;
|
|
117
117
|
}, "strict", z.ZodTypeAny, {
|
|
118
|
-
digest: string | null;
|
|
119
118
|
commitSha: string | null;
|
|
119
|
+
digest: string | null;
|
|
120
120
|
repositoryId: string | null;
|
|
121
121
|
contentPath: string | null;
|
|
122
122
|
}, {
|
|
123
|
-
digest: string | null;
|
|
124
123
|
commitSha: string | null;
|
|
124
|
+
digest: string | null;
|
|
125
125
|
repositoryId: string | null;
|
|
126
126
|
contentPath: string | null;
|
|
127
127
|
}>;
|
|
@@ -161,13 +161,13 @@ export declare const inboxItemSchema: z.ZodObject<{
|
|
|
161
161
|
commitSha: z.ZodNullable<z.ZodString>;
|
|
162
162
|
digest: z.ZodNullable<z.ZodString>;
|
|
163
163
|
}, "strict", z.ZodTypeAny, {
|
|
164
|
-
digest: string | null;
|
|
165
164
|
commitSha: string | null;
|
|
165
|
+
digest: string | null;
|
|
166
166
|
repositoryId: string | null;
|
|
167
167
|
contentPath: string | null;
|
|
168
168
|
}, {
|
|
169
|
-
digest: string | null;
|
|
170
169
|
commitSha: string | null;
|
|
170
|
+
digest: string | null;
|
|
171
171
|
repositoryId: string | null;
|
|
172
172
|
contentPath: string | null;
|
|
173
173
|
}>;
|
|
@@ -178,8 +178,8 @@ export declare const inboxItemSchema: z.ZodObject<{
|
|
|
178
178
|
parentId: string | null;
|
|
179
179
|
authorId: string;
|
|
180
180
|
provenance: {
|
|
181
|
-
digest: string | null;
|
|
182
181
|
commitSha: string | null;
|
|
182
|
+
digest: string | null;
|
|
183
183
|
repositoryId: string | null;
|
|
184
184
|
contentPath: string | null;
|
|
185
185
|
};
|
|
@@ -192,8 +192,8 @@ export declare const inboxItemSchema: z.ZodObject<{
|
|
|
192
192
|
parentId: string | null;
|
|
193
193
|
authorId: string;
|
|
194
194
|
provenance: {
|
|
195
|
-
digest: string | null;
|
|
196
195
|
commitSha: string | null;
|
|
196
|
+
digest: string | null;
|
|
197
197
|
repositoryId: string | null;
|
|
198
198
|
contentPath: string | null;
|
|
199
199
|
};
|
|
@@ -202,21 +202,21 @@ export declare const inboxItemSchema: z.ZodObject<{
|
|
|
202
202
|
}>, "many">;
|
|
203
203
|
etag: z.ZodString;
|
|
204
204
|
}, "strict", z.ZodTypeAny, {
|
|
205
|
-
status: "
|
|
205
|
+
status: "rejected" | "approved" | "closed" | "answered" | "outstanding" | "deleted";
|
|
206
206
|
kind: "question" | "proposal";
|
|
207
207
|
id: string;
|
|
208
208
|
version: number;
|
|
209
209
|
schemaVersion: "treeseed.inbox-item/v1";
|
|
210
|
-
|
|
211
|
-
teamId: string;
|
|
210
|
+
title: string;
|
|
212
211
|
createdAt: string;
|
|
213
212
|
updatedAt: string;
|
|
214
|
-
|
|
213
|
+
teamId: string;
|
|
214
|
+
projectId: string;
|
|
215
215
|
discussionId: string | null;
|
|
216
216
|
authorId: string;
|
|
217
217
|
provenance: {
|
|
218
|
-
digest: string | null;
|
|
219
218
|
commitSha: string | null;
|
|
219
|
+
digest: string | null;
|
|
220
220
|
repositoryId: string | null;
|
|
221
221
|
contentPath: string | null;
|
|
222
222
|
};
|
|
@@ -238,8 +238,8 @@ export declare const inboxItemSchema: z.ZodObject<{
|
|
|
238
238
|
parentId: string | null;
|
|
239
239
|
authorId: string;
|
|
240
240
|
provenance: {
|
|
241
|
-
digest: string | null;
|
|
242
241
|
commitSha: string | null;
|
|
242
|
+
digest: string | null;
|
|
243
243
|
repositoryId: string | null;
|
|
244
244
|
contentPath: string | null;
|
|
245
245
|
};
|
|
@@ -248,21 +248,21 @@ export declare const inboxItemSchema: z.ZodObject<{
|
|
|
248
248
|
}[];
|
|
249
249
|
etag: string;
|
|
250
250
|
}, {
|
|
251
|
-
status: "
|
|
251
|
+
status: "rejected" | "approved" | "closed" | "answered" | "outstanding" | "deleted";
|
|
252
252
|
kind: "question" | "proposal";
|
|
253
253
|
id: string;
|
|
254
254
|
version: number;
|
|
255
255
|
schemaVersion: "treeseed.inbox-item/v1";
|
|
256
|
-
|
|
257
|
-
teamId: string;
|
|
256
|
+
title: string;
|
|
258
257
|
createdAt: string;
|
|
259
258
|
updatedAt: string;
|
|
260
|
-
|
|
259
|
+
teamId: string;
|
|
260
|
+
projectId: string;
|
|
261
261
|
discussionId: string | null;
|
|
262
262
|
authorId: string;
|
|
263
263
|
provenance: {
|
|
264
|
-
digest: string | null;
|
|
265
264
|
commitSha: string | null;
|
|
265
|
+
digest: string | null;
|
|
266
266
|
repositoryId: string | null;
|
|
267
267
|
contentPath: string | null;
|
|
268
268
|
};
|
|
@@ -284,8 +284,8 @@ export declare const inboxItemSchema: z.ZodObject<{
|
|
|
284
284
|
parentId: string | null;
|
|
285
285
|
authorId: string;
|
|
286
286
|
provenance: {
|
|
287
|
-
digest: string | null;
|
|
288
287
|
commitSha: string | null;
|
|
288
|
+
digest: string | null;
|
|
289
289
|
repositoryId: string | null;
|
|
290
290
|
contentPath: string | null;
|
|
291
291
|
};
|
|
@@ -316,13 +316,13 @@ export declare const inboxItemSummarySchema: z.ZodObject<Pick<{
|
|
|
316
316
|
commitSha: z.ZodNullable<z.ZodString>;
|
|
317
317
|
digest: z.ZodNullable<z.ZodString>;
|
|
318
318
|
}, "strict", z.ZodTypeAny, {
|
|
319
|
-
digest: string | null;
|
|
320
319
|
commitSha: string | null;
|
|
320
|
+
digest: string | null;
|
|
321
321
|
repositoryId: string | null;
|
|
322
322
|
contentPath: string | null;
|
|
323
323
|
}, {
|
|
324
|
-
digest: string | null;
|
|
325
324
|
commitSha: string | null;
|
|
325
|
+
digest: string | null;
|
|
326
326
|
repositoryId: string | null;
|
|
327
327
|
contentPath: string | null;
|
|
328
328
|
}>;
|
|
@@ -362,13 +362,13 @@ export declare const inboxItemSummarySchema: z.ZodObject<Pick<{
|
|
|
362
362
|
commitSha: z.ZodNullable<z.ZodString>;
|
|
363
363
|
digest: z.ZodNullable<z.ZodString>;
|
|
364
364
|
}, "strict", z.ZodTypeAny, {
|
|
365
|
-
digest: string | null;
|
|
366
365
|
commitSha: string | null;
|
|
366
|
+
digest: string | null;
|
|
367
367
|
repositoryId: string | null;
|
|
368
368
|
contentPath: string | null;
|
|
369
369
|
}, {
|
|
370
|
-
digest: string | null;
|
|
371
370
|
commitSha: string | null;
|
|
371
|
+
digest: string | null;
|
|
372
372
|
repositoryId: string | null;
|
|
373
373
|
contentPath: string | null;
|
|
374
374
|
}>;
|
|
@@ -379,8 +379,8 @@ export declare const inboxItemSummarySchema: z.ZodObject<Pick<{
|
|
|
379
379
|
parentId: string | null;
|
|
380
380
|
authorId: string;
|
|
381
381
|
provenance: {
|
|
382
|
-
digest: string | null;
|
|
383
382
|
commitSha: string | null;
|
|
383
|
+
digest: string | null;
|
|
384
384
|
repositoryId: string | null;
|
|
385
385
|
contentPath: string | null;
|
|
386
386
|
};
|
|
@@ -393,8 +393,8 @@ export declare const inboxItemSummarySchema: z.ZodObject<Pick<{
|
|
|
393
393
|
parentId: string | null;
|
|
394
394
|
authorId: string;
|
|
395
395
|
provenance: {
|
|
396
|
-
digest: string | null;
|
|
397
396
|
commitSha: string | null;
|
|
397
|
+
digest: string | null;
|
|
398
398
|
repositoryId: string | null;
|
|
399
399
|
contentPath: string | null;
|
|
400
400
|
};
|
|
@@ -402,30 +402,30 @@ export declare const inboxItemSummarySchema: z.ZodObject<Pick<{
|
|
|
402
402
|
authorLabel: string;
|
|
403
403
|
}>, "many">;
|
|
404
404
|
etag: z.ZodString;
|
|
405
|
-
}, "status" | "kind" | "id" | "version" | "
|
|
406
|
-
status: "
|
|
405
|
+
}, "status" | "kind" | "id" | "version" | "title" | "createdAt" | "updatedAt" | "teamId" | "projectId" | "authorId" | "projectSlug" | "authorLabel" | "etag">, "strict", z.ZodTypeAny, {
|
|
406
|
+
status: "rejected" | "approved" | "closed" | "answered" | "outstanding" | "deleted";
|
|
407
407
|
kind: "question" | "proposal";
|
|
408
408
|
id: string;
|
|
409
409
|
version: number;
|
|
410
|
-
|
|
411
|
-
teamId: string;
|
|
410
|
+
title: string;
|
|
412
411
|
createdAt: string;
|
|
413
412
|
updatedAt: string;
|
|
414
|
-
|
|
413
|
+
teamId: string;
|
|
414
|
+
projectId: string;
|
|
415
415
|
authorId: string;
|
|
416
416
|
projectSlug: string;
|
|
417
417
|
authorLabel: string;
|
|
418
418
|
etag: string;
|
|
419
419
|
}, {
|
|
420
|
-
status: "
|
|
420
|
+
status: "rejected" | "approved" | "closed" | "answered" | "outstanding" | "deleted";
|
|
421
421
|
kind: "question" | "proposal";
|
|
422
422
|
id: string;
|
|
423
423
|
version: number;
|
|
424
|
-
|
|
425
|
-
teamId: string;
|
|
424
|
+
title: string;
|
|
426
425
|
createdAt: string;
|
|
427
426
|
updatedAt: string;
|
|
428
|
-
|
|
427
|
+
teamId: string;
|
|
428
|
+
projectId: string;
|
|
429
429
|
authorId: string;
|
|
430
430
|
projectSlug: string;
|
|
431
431
|
authorLabel: string;
|
|
@@ -455,13 +455,13 @@ export declare const inboxItemPageSchema: z.ZodObject<{
|
|
|
455
455
|
commitSha: z.ZodNullable<z.ZodString>;
|
|
456
456
|
digest: z.ZodNullable<z.ZodString>;
|
|
457
457
|
}, "strict", z.ZodTypeAny, {
|
|
458
|
-
digest: string | null;
|
|
459
458
|
commitSha: string | null;
|
|
459
|
+
digest: string | null;
|
|
460
460
|
repositoryId: string | null;
|
|
461
461
|
contentPath: string | null;
|
|
462
462
|
}, {
|
|
463
|
-
digest: string | null;
|
|
464
463
|
commitSha: string | null;
|
|
464
|
+
digest: string | null;
|
|
465
465
|
repositoryId: string | null;
|
|
466
466
|
contentPath: string | null;
|
|
467
467
|
}>;
|
|
@@ -501,13 +501,13 @@ export declare const inboxItemPageSchema: z.ZodObject<{
|
|
|
501
501
|
commitSha: z.ZodNullable<z.ZodString>;
|
|
502
502
|
digest: z.ZodNullable<z.ZodString>;
|
|
503
503
|
}, "strict", z.ZodTypeAny, {
|
|
504
|
-
digest: string | null;
|
|
505
504
|
commitSha: string | null;
|
|
505
|
+
digest: string | null;
|
|
506
506
|
repositoryId: string | null;
|
|
507
507
|
contentPath: string | null;
|
|
508
508
|
}, {
|
|
509
|
-
digest: string | null;
|
|
510
509
|
commitSha: string | null;
|
|
510
|
+
digest: string | null;
|
|
511
511
|
repositoryId: string | null;
|
|
512
512
|
contentPath: string | null;
|
|
513
513
|
}>;
|
|
@@ -518,8 +518,8 @@ export declare const inboxItemPageSchema: z.ZodObject<{
|
|
|
518
518
|
parentId: string | null;
|
|
519
519
|
authorId: string;
|
|
520
520
|
provenance: {
|
|
521
|
-
digest: string | null;
|
|
522
521
|
commitSha: string | null;
|
|
522
|
+
digest: string | null;
|
|
523
523
|
repositoryId: string | null;
|
|
524
524
|
contentPath: string | null;
|
|
525
525
|
};
|
|
@@ -532,8 +532,8 @@ export declare const inboxItemPageSchema: z.ZodObject<{
|
|
|
532
532
|
parentId: string | null;
|
|
533
533
|
authorId: string;
|
|
534
534
|
provenance: {
|
|
535
|
-
digest: string | null;
|
|
536
535
|
commitSha: string | null;
|
|
536
|
+
digest: string | null;
|
|
537
537
|
repositoryId: string | null;
|
|
538
538
|
contentPath: string | null;
|
|
539
539
|
};
|
|
@@ -541,30 +541,30 @@ export declare const inboxItemPageSchema: z.ZodObject<{
|
|
|
541
541
|
authorLabel: string;
|
|
542
542
|
}>, "many">;
|
|
543
543
|
etag: z.ZodString;
|
|
544
|
-
}, "status" | "kind" | "id" | "version" | "
|
|
545
|
-
status: "
|
|
544
|
+
}, "status" | "kind" | "id" | "version" | "title" | "createdAt" | "updatedAt" | "teamId" | "projectId" | "authorId" | "projectSlug" | "authorLabel" | "etag">, "strict", z.ZodTypeAny, {
|
|
545
|
+
status: "rejected" | "approved" | "closed" | "answered" | "outstanding" | "deleted";
|
|
546
546
|
kind: "question" | "proposal";
|
|
547
547
|
id: string;
|
|
548
548
|
version: number;
|
|
549
|
-
|
|
550
|
-
teamId: string;
|
|
549
|
+
title: string;
|
|
551
550
|
createdAt: string;
|
|
552
551
|
updatedAt: string;
|
|
553
|
-
|
|
552
|
+
teamId: string;
|
|
553
|
+
projectId: string;
|
|
554
554
|
authorId: string;
|
|
555
555
|
projectSlug: string;
|
|
556
556
|
authorLabel: string;
|
|
557
557
|
etag: string;
|
|
558
558
|
}, {
|
|
559
|
-
status: "
|
|
559
|
+
status: "rejected" | "approved" | "closed" | "answered" | "outstanding" | "deleted";
|
|
560
560
|
kind: "question" | "proposal";
|
|
561
561
|
id: string;
|
|
562
562
|
version: number;
|
|
563
|
-
|
|
564
|
-
teamId: string;
|
|
563
|
+
title: string;
|
|
565
564
|
createdAt: string;
|
|
566
565
|
updatedAt: string;
|
|
567
|
-
|
|
566
|
+
teamId: string;
|
|
567
|
+
projectId: string;
|
|
568
568
|
authorId: string;
|
|
569
569
|
projectSlug: string;
|
|
570
570
|
authorLabel: string;
|
|
@@ -574,15 +574,15 @@ export declare const inboxItemPageSchema: z.ZodObject<{
|
|
|
574
574
|
}, "strict", z.ZodTypeAny, {
|
|
575
575
|
schemaVersion: "treeseed.inbox-page/v1";
|
|
576
576
|
items: {
|
|
577
|
-
status: "
|
|
577
|
+
status: "rejected" | "approved" | "closed" | "answered" | "outstanding" | "deleted";
|
|
578
578
|
kind: "question" | "proposal";
|
|
579
579
|
id: string;
|
|
580
580
|
version: number;
|
|
581
|
-
|
|
582
|
-
teamId: string;
|
|
581
|
+
title: string;
|
|
583
582
|
createdAt: string;
|
|
584
583
|
updatedAt: string;
|
|
585
|
-
|
|
584
|
+
teamId: string;
|
|
585
|
+
projectId: string;
|
|
586
586
|
authorId: string;
|
|
587
587
|
projectSlug: string;
|
|
588
588
|
authorLabel: string;
|
|
@@ -592,15 +592,15 @@ export declare const inboxItemPageSchema: z.ZodObject<{
|
|
|
592
592
|
}, {
|
|
593
593
|
schemaVersion: "treeseed.inbox-page/v1";
|
|
594
594
|
items: {
|
|
595
|
-
status: "
|
|
595
|
+
status: "rejected" | "approved" | "closed" | "answered" | "outstanding" | "deleted";
|
|
596
596
|
kind: "question" | "proposal";
|
|
597
597
|
id: string;
|
|
598
598
|
version: number;
|
|
599
|
-
|
|
600
|
-
teamId: string;
|
|
599
|
+
title: string;
|
|
601
600
|
createdAt: string;
|
|
602
601
|
updatedAt: string;
|
|
603
|
-
|
|
602
|
+
teamId: string;
|
|
603
|
+
projectId: string;
|
|
604
604
|
authorId: string;
|
|
605
605
|
projectSlug: string;
|
|
606
606
|
authorLabel: string;
|
|
@@ -623,8 +623,8 @@ export declare const inboxEventSchema: z.ZodObject<{
|
|
|
623
623
|
type: "item.created" | "item.updated" | "item.deleted" | "draft.updated" | "comment.created" | "question.answered" | "question.reopened" | "proposal.revised" | "proposal.decided";
|
|
624
624
|
id: string;
|
|
625
625
|
schemaVersion: "treeseed.inbox-event/v1";
|
|
626
|
-
teamId: string;
|
|
627
626
|
summary: string;
|
|
627
|
+
teamId: string;
|
|
628
628
|
sequence: string;
|
|
629
629
|
payload: Record<string, unknown>;
|
|
630
630
|
occurredAt: string;
|
|
@@ -634,8 +634,8 @@ export declare const inboxEventSchema: z.ZodObject<{
|
|
|
634
634
|
type: "item.created" | "item.updated" | "item.deleted" | "draft.updated" | "comment.created" | "question.answered" | "question.reopened" | "proposal.revised" | "proposal.decided";
|
|
635
635
|
id: string;
|
|
636
636
|
schemaVersion: "treeseed.inbox-event/v1";
|
|
637
|
-
teamId: string;
|
|
638
637
|
summary: string;
|
|
638
|
+
teamId: string;
|
|
639
639
|
sequence: string;
|
|
640
640
|
payload: Record<string, unknown>;
|
|
641
641
|
occurredAt: string;
|
|
@@ -658,8 +658,8 @@ export declare const inboxTimelineSchema: z.ZodObject<{
|
|
|
658
658
|
type: "item.created" | "item.updated" | "item.deleted" | "draft.updated" | "comment.created" | "question.answered" | "question.reopened" | "proposal.revised" | "proposal.decided";
|
|
659
659
|
id: string;
|
|
660
660
|
schemaVersion: "treeseed.inbox-event/v1";
|
|
661
|
-
teamId: string;
|
|
662
661
|
summary: string;
|
|
662
|
+
teamId: string;
|
|
663
663
|
sequence: string;
|
|
664
664
|
payload: Record<string, unknown>;
|
|
665
665
|
occurredAt: string;
|
|
@@ -669,8 +669,8 @@ export declare const inboxTimelineSchema: z.ZodObject<{
|
|
|
669
669
|
type: "item.created" | "item.updated" | "item.deleted" | "draft.updated" | "comment.created" | "question.answered" | "question.reopened" | "proposal.revised" | "proposal.decided";
|
|
670
670
|
id: string;
|
|
671
671
|
schemaVersion: "treeseed.inbox-event/v1";
|
|
672
|
-
teamId: string;
|
|
673
672
|
summary: string;
|
|
673
|
+
teamId: string;
|
|
674
674
|
sequence: string;
|
|
675
675
|
payload: Record<string, unknown>;
|
|
676
676
|
occurredAt: string;
|
|
@@ -683,8 +683,8 @@ export declare const inboxTimelineSchema: z.ZodObject<{
|
|
|
683
683
|
type: "item.created" | "item.updated" | "item.deleted" | "draft.updated" | "comment.created" | "question.answered" | "question.reopened" | "proposal.revised" | "proposal.decided";
|
|
684
684
|
id: string;
|
|
685
685
|
schemaVersion: "treeseed.inbox-event/v1";
|
|
686
|
-
teamId: string;
|
|
687
686
|
summary: string;
|
|
687
|
+
teamId: string;
|
|
688
688
|
sequence: string;
|
|
689
689
|
payload: Record<string, unknown>;
|
|
690
690
|
occurredAt: string;
|
|
@@ -697,8 +697,8 @@ export declare const inboxTimelineSchema: z.ZodObject<{
|
|
|
697
697
|
type: "item.created" | "item.updated" | "item.deleted" | "draft.updated" | "comment.created" | "question.answered" | "question.reopened" | "proposal.revised" | "proposal.decided";
|
|
698
698
|
id: string;
|
|
699
699
|
schemaVersion: "treeseed.inbox-event/v1";
|
|
700
|
-
teamId: string;
|
|
701
700
|
summary: string;
|
|
701
|
+
teamId: string;
|
|
702
702
|
sequence: string;
|
|
703
703
|
payload: Record<string, unknown>;
|
|
704
704
|
occurredAt: string;
|
|
@@ -757,8 +757,8 @@ export declare const inboxQuestionCreateSchema: z.ZodObject<{
|
|
|
757
757
|
relatedDecisions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
758
758
|
relatedWorkItems: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
759
759
|
}, "strict", z.ZodTypeAny, {
|
|
760
|
-
projectId: string;
|
|
761
760
|
title: string;
|
|
761
|
+
projectId: string;
|
|
762
762
|
severity: "blocking" | "advisory";
|
|
763
763
|
relatedObjectives: string[];
|
|
764
764
|
recipients: string[];
|
|
@@ -767,8 +767,8 @@ export declare const inboxQuestionCreateSchema: z.ZodObject<{
|
|
|
767
767
|
relatedDecisions: string[];
|
|
768
768
|
relatedWorkItems: string[];
|
|
769
769
|
}, {
|
|
770
|
-
projectId: string;
|
|
771
770
|
title: string;
|
|
771
|
+
projectId: string;
|
|
772
772
|
markdown: string;
|
|
773
773
|
severity?: "blocking" | "advisory" | undefined;
|
|
774
774
|
relatedObjectives?: string[] | undefined;
|
|
@@ -820,13 +820,13 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
|
|
|
820
820
|
commitSha: z.ZodNullable<z.ZodString>;
|
|
821
821
|
digest: z.ZodNullable<z.ZodString>;
|
|
822
822
|
}, "strict", z.ZodTypeAny, {
|
|
823
|
-
digest: string | null;
|
|
824
823
|
commitSha: string | null;
|
|
824
|
+
digest: string | null;
|
|
825
825
|
repositoryId: string | null;
|
|
826
826
|
contentPath: string | null;
|
|
827
827
|
}, {
|
|
828
|
-
digest: string | null;
|
|
829
828
|
commitSha: string | null;
|
|
829
|
+
digest: string | null;
|
|
830
830
|
repositoryId: string | null;
|
|
831
831
|
contentPath: string | null;
|
|
832
832
|
}>;
|
|
@@ -866,13 +866,13 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
|
|
|
866
866
|
commitSha: z.ZodNullable<z.ZodString>;
|
|
867
867
|
digest: z.ZodNullable<z.ZodString>;
|
|
868
868
|
}, "strict", z.ZodTypeAny, {
|
|
869
|
-
digest: string | null;
|
|
870
869
|
commitSha: string | null;
|
|
870
|
+
digest: string | null;
|
|
871
871
|
repositoryId: string | null;
|
|
872
872
|
contentPath: string | null;
|
|
873
873
|
}, {
|
|
874
|
-
digest: string | null;
|
|
875
874
|
commitSha: string | null;
|
|
875
|
+
digest: string | null;
|
|
876
876
|
repositoryId: string | null;
|
|
877
877
|
contentPath: string | null;
|
|
878
878
|
}>;
|
|
@@ -883,8 +883,8 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
|
|
|
883
883
|
parentId: string | null;
|
|
884
884
|
authorId: string;
|
|
885
885
|
provenance: {
|
|
886
|
-
digest: string | null;
|
|
887
886
|
commitSha: string | null;
|
|
887
|
+
digest: string | null;
|
|
888
888
|
repositoryId: string | null;
|
|
889
889
|
contentPath: string | null;
|
|
890
890
|
};
|
|
@@ -897,8 +897,8 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
|
|
|
897
897
|
parentId: string | null;
|
|
898
898
|
authorId: string;
|
|
899
899
|
provenance: {
|
|
900
|
-
digest: string | null;
|
|
901
900
|
commitSha: string | null;
|
|
901
|
+
digest: string | null;
|
|
902
902
|
repositoryId: string | null;
|
|
903
903
|
contentPath: string | null;
|
|
904
904
|
};
|
|
@@ -907,21 +907,21 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
|
|
|
907
907
|
}>, "many">;
|
|
908
908
|
etag: z.ZodString;
|
|
909
909
|
}, "strict", z.ZodTypeAny, {
|
|
910
|
-
status: "
|
|
910
|
+
status: "rejected" | "approved" | "closed" | "answered" | "outstanding" | "deleted";
|
|
911
911
|
kind: "question" | "proposal";
|
|
912
912
|
id: string;
|
|
913
913
|
version: number;
|
|
914
914
|
schemaVersion: "treeseed.inbox-item/v1";
|
|
915
|
-
|
|
916
|
-
teamId: string;
|
|
915
|
+
title: string;
|
|
917
916
|
createdAt: string;
|
|
918
917
|
updatedAt: string;
|
|
919
|
-
|
|
918
|
+
teamId: string;
|
|
919
|
+
projectId: string;
|
|
920
920
|
discussionId: string | null;
|
|
921
921
|
authorId: string;
|
|
922
922
|
provenance: {
|
|
923
|
-
digest: string | null;
|
|
924
923
|
commitSha: string | null;
|
|
924
|
+
digest: string | null;
|
|
925
925
|
repositoryId: string | null;
|
|
926
926
|
contentPath: string | null;
|
|
927
927
|
};
|
|
@@ -943,8 +943,8 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
|
|
|
943
943
|
parentId: string | null;
|
|
944
944
|
authorId: string;
|
|
945
945
|
provenance: {
|
|
946
|
-
digest: string | null;
|
|
947
946
|
commitSha: string | null;
|
|
947
|
+
digest: string | null;
|
|
948
948
|
repositoryId: string | null;
|
|
949
949
|
contentPath: string | null;
|
|
950
950
|
};
|
|
@@ -953,21 +953,21 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
|
|
|
953
953
|
}[];
|
|
954
954
|
etag: string;
|
|
955
955
|
}, {
|
|
956
|
-
status: "
|
|
956
|
+
status: "rejected" | "approved" | "closed" | "answered" | "outstanding" | "deleted";
|
|
957
957
|
kind: "question" | "proposal";
|
|
958
958
|
id: string;
|
|
959
959
|
version: number;
|
|
960
960
|
schemaVersion: "treeseed.inbox-item/v1";
|
|
961
|
-
|
|
962
|
-
teamId: string;
|
|
961
|
+
title: string;
|
|
963
962
|
createdAt: string;
|
|
964
963
|
updatedAt: string;
|
|
965
|
-
|
|
964
|
+
teamId: string;
|
|
965
|
+
projectId: string;
|
|
966
966
|
discussionId: string | null;
|
|
967
967
|
authorId: string;
|
|
968
968
|
provenance: {
|
|
969
|
-
digest: string | null;
|
|
970
969
|
commitSha: string | null;
|
|
970
|
+
digest: string | null;
|
|
971
971
|
repositoryId: string | null;
|
|
972
972
|
contentPath: string | null;
|
|
973
973
|
};
|
|
@@ -989,8 +989,8 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
|
|
|
989
989
|
parentId: string | null;
|
|
990
990
|
authorId: string;
|
|
991
991
|
provenance: {
|
|
992
|
-
digest: string | null;
|
|
993
992
|
commitSha: string | null;
|
|
993
|
+
digest: string | null;
|
|
994
994
|
repositoryId: string | null;
|
|
995
995
|
contentPath: string | null;
|
|
996
996
|
};
|
|
@@ -1005,21 +1005,21 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
|
|
|
1005
1005
|
}, "strict", z.ZodTypeAny, {
|
|
1006
1006
|
schemaVersion: "treeseed.inbox-mutation-receipt/v1";
|
|
1007
1007
|
item: {
|
|
1008
|
-
status: "
|
|
1008
|
+
status: "rejected" | "approved" | "closed" | "answered" | "outstanding" | "deleted";
|
|
1009
1009
|
kind: "question" | "proposal";
|
|
1010
1010
|
id: string;
|
|
1011
1011
|
version: number;
|
|
1012
1012
|
schemaVersion: "treeseed.inbox-item/v1";
|
|
1013
|
-
|
|
1014
|
-
teamId: string;
|
|
1013
|
+
title: string;
|
|
1015
1014
|
createdAt: string;
|
|
1016
1015
|
updatedAt: string;
|
|
1017
|
-
|
|
1016
|
+
teamId: string;
|
|
1017
|
+
projectId: string;
|
|
1018
1018
|
discussionId: string | null;
|
|
1019
1019
|
authorId: string;
|
|
1020
1020
|
provenance: {
|
|
1021
|
-
digest: string | null;
|
|
1022
1021
|
commitSha: string | null;
|
|
1022
|
+
digest: string | null;
|
|
1023
1023
|
repositoryId: string | null;
|
|
1024
1024
|
contentPath: string | null;
|
|
1025
1025
|
};
|
|
@@ -1041,8 +1041,8 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
|
|
|
1041
1041
|
parentId: string | null;
|
|
1042
1042
|
authorId: string;
|
|
1043
1043
|
provenance: {
|
|
1044
|
-
digest: string | null;
|
|
1045
1044
|
commitSha: string | null;
|
|
1045
|
+
digest: string | null;
|
|
1046
1046
|
repositoryId: string | null;
|
|
1047
1047
|
contentPath: string | null;
|
|
1048
1048
|
};
|
|
@@ -1057,21 +1057,21 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
|
|
|
1057
1057
|
}, {
|
|
1058
1058
|
schemaVersion: "treeseed.inbox-mutation-receipt/v1";
|
|
1059
1059
|
item: {
|
|
1060
|
-
status: "
|
|
1060
|
+
status: "rejected" | "approved" | "closed" | "answered" | "outstanding" | "deleted";
|
|
1061
1061
|
kind: "question" | "proposal";
|
|
1062
1062
|
id: string;
|
|
1063
1063
|
version: number;
|
|
1064
1064
|
schemaVersion: "treeseed.inbox-item/v1";
|
|
1065
|
-
|
|
1066
|
-
teamId: string;
|
|
1065
|
+
title: string;
|
|
1067
1066
|
createdAt: string;
|
|
1068
1067
|
updatedAt: string;
|
|
1069
|
-
|
|
1068
|
+
teamId: string;
|
|
1069
|
+
projectId: string;
|
|
1070
1070
|
discussionId: string | null;
|
|
1071
1071
|
authorId: string;
|
|
1072
1072
|
provenance: {
|
|
1073
|
-
digest: string | null;
|
|
1074
1073
|
commitSha: string | null;
|
|
1074
|
+
digest: string | null;
|
|
1075
1075
|
repositoryId: string | null;
|
|
1076
1076
|
contentPath: string | null;
|
|
1077
1077
|
};
|
|
@@ -1093,8 +1093,8 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
|
|
|
1093
1093
|
parentId: string | null;
|
|
1094
1094
|
authorId: string;
|
|
1095
1095
|
provenance: {
|
|
1096
|
-
digest: string | null;
|
|
1097
1096
|
commitSha: string | null;
|
|
1097
|
+
digest: string | null;
|
|
1098
1098
|
repositoryId: string | null;
|
|
1099
1099
|
contentPath: string | null;
|
|
1100
1100
|
};
|