@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
|
@@ -17,52 +17,52 @@ export declare const conditionDefinitionSchema: z.ZodObject<{
|
|
|
17
17
|
}, "strict", z.ZodTypeAny, {
|
|
18
18
|
id: string;
|
|
19
19
|
model: string;
|
|
20
|
-
store: "
|
|
20
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
21
21
|
path?: string | undefined;
|
|
22
|
-
repository?: string | undefined;
|
|
23
|
-
commit?: string | undefined;
|
|
24
|
-
digest?: string | undefined;
|
|
25
22
|
anchor?: string | undefined;
|
|
23
|
+
commit?: string | undefined;
|
|
24
|
+
repository?: string | undefined;
|
|
26
25
|
revision?: number | undefined;
|
|
26
|
+
digest?: string | undefined;
|
|
27
27
|
url?: string | undefined;
|
|
28
28
|
startLine?: number | undefined;
|
|
29
29
|
endLine?: number | undefined;
|
|
30
30
|
}, {
|
|
31
31
|
id: string;
|
|
32
32
|
model: string;
|
|
33
|
-
store: "
|
|
33
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
34
34
|
path?: string | undefined;
|
|
35
|
-
repository?: string | undefined;
|
|
36
|
-
commit?: string | undefined;
|
|
37
|
-
digest?: string | undefined;
|
|
38
35
|
anchor?: string | undefined;
|
|
36
|
+
commit?: string | undefined;
|
|
37
|
+
repository?: string | undefined;
|
|
39
38
|
revision?: number | undefined;
|
|
39
|
+
digest?: string | undefined;
|
|
40
40
|
url?: string | undefined;
|
|
41
41
|
startLine?: number | undefined;
|
|
42
42
|
endLine?: number | undefined;
|
|
43
43
|
}>, {
|
|
44
44
|
id: string;
|
|
45
45
|
model: string;
|
|
46
|
-
store: "
|
|
46
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
47
47
|
path?: string | undefined;
|
|
48
|
-
repository?: string | undefined;
|
|
49
|
-
commit?: string | undefined;
|
|
50
|
-
digest?: string | undefined;
|
|
51
48
|
anchor?: string | undefined;
|
|
49
|
+
commit?: string | undefined;
|
|
50
|
+
repository?: string | undefined;
|
|
52
51
|
revision?: number | undefined;
|
|
52
|
+
digest?: string | undefined;
|
|
53
53
|
url?: string | undefined;
|
|
54
54
|
startLine?: number | undefined;
|
|
55
55
|
endLine?: number | undefined;
|
|
56
56
|
}, {
|
|
57
57
|
id: string;
|
|
58
58
|
model: string;
|
|
59
|
-
store: "
|
|
59
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
60
60
|
path?: string | undefined;
|
|
61
|
-
repository?: string | undefined;
|
|
62
|
-
commit?: string | undefined;
|
|
63
|
-
digest?: string | undefined;
|
|
64
61
|
anchor?: string | undefined;
|
|
62
|
+
commit?: string | undefined;
|
|
63
|
+
repository?: string | undefined;
|
|
65
64
|
revision?: number | undefined;
|
|
65
|
+
digest?: string | undefined;
|
|
66
66
|
url?: string | undefined;
|
|
67
67
|
startLine?: number | undefined;
|
|
68
68
|
endLine?: number | undefined;
|
|
@@ -72,13 +72,13 @@ export declare const conditionDefinitionSchema: z.ZodObject<{
|
|
|
72
72
|
subjectRef: {
|
|
73
73
|
id: string;
|
|
74
74
|
model: string;
|
|
75
|
-
store: "
|
|
75
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
76
76
|
path?: string | undefined;
|
|
77
|
-
repository?: string | undefined;
|
|
78
|
-
commit?: string | undefined;
|
|
79
|
-
digest?: string | undefined;
|
|
80
77
|
anchor?: string | undefined;
|
|
78
|
+
commit?: string | undefined;
|
|
79
|
+
repository?: string | undefined;
|
|
81
80
|
revision?: number | undefined;
|
|
81
|
+
digest?: string | undefined;
|
|
82
82
|
url?: string | undefined;
|
|
83
83
|
startLine?: number | undefined;
|
|
84
84
|
endLine?: number | undefined;
|
|
@@ -89,13 +89,13 @@ export declare const conditionDefinitionSchema: z.ZodObject<{
|
|
|
89
89
|
subjectRef: {
|
|
90
90
|
id: string;
|
|
91
91
|
model: string;
|
|
92
|
-
store: "
|
|
92
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
93
93
|
path?: string | undefined;
|
|
94
|
-
repository?: string | undefined;
|
|
95
|
-
commit?: string | undefined;
|
|
96
|
-
digest?: string | undefined;
|
|
97
94
|
anchor?: string | undefined;
|
|
95
|
+
commit?: string | undefined;
|
|
96
|
+
repository?: string | undefined;
|
|
98
97
|
revision?: number | undefined;
|
|
98
|
+
digest?: string | undefined;
|
|
99
99
|
url?: string | undefined;
|
|
100
100
|
startLine?: number | undefined;
|
|
101
101
|
endLine?: number | undefined;
|
|
@@ -103,13 +103,14 @@ export declare const conditionDefinitionSchema: z.ZodObject<{
|
|
|
103
103
|
conditionType: "question" | "external" | "authority" | "lifecycle";
|
|
104
104
|
expectedState: string;
|
|
105
105
|
}>;
|
|
106
|
-
export declare const executionNodeSchema: z.ZodEffects<z.ZodObject<{
|
|
106
|
+
export declare const executionNodeSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
107
107
|
schemaVersion: z.ZodLiteral<"treeseed.execution-node/v1">;
|
|
108
108
|
id: z.ZodString;
|
|
109
109
|
teamId: z.ZodString;
|
|
110
110
|
projectId: z.ZodString;
|
|
111
111
|
workdayId: z.ZodOptional<z.ZodString>;
|
|
112
112
|
workItemId: z.ZodOptional<z.ZodString>;
|
|
113
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
113
114
|
kind: z.ZodEnum<["planning", "estimating", "acting", "reviewing", "reporting", "communication", "condition"]>;
|
|
114
115
|
pairRole: z.ZodNullable<z.ZodEnum<["actor", "reviewer"]>>;
|
|
115
116
|
sourceRef: z.ZodEffects<z.ZodObject<{
|
|
@@ -128,57 +129,57 @@ export declare const executionNodeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
128
129
|
}, "strict", z.ZodTypeAny, {
|
|
129
130
|
id: string;
|
|
130
131
|
model: string;
|
|
131
|
-
store: "
|
|
132
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
132
133
|
path?: string | undefined;
|
|
133
|
-
repository?: string | undefined;
|
|
134
|
-
commit?: string | undefined;
|
|
135
|
-
digest?: string | undefined;
|
|
136
134
|
anchor?: string | undefined;
|
|
135
|
+
commit?: string | undefined;
|
|
136
|
+
repository?: string | undefined;
|
|
137
137
|
revision?: number | undefined;
|
|
138
|
+
digest?: string | undefined;
|
|
138
139
|
url?: string | undefined;
|
|
139
140
|
startLine?: number | undefined;
|
|
140
141
|
endLine?: number | undefined;
|
|
141
142
|
}, {
|
|
142
143
|
id: string;
|
|
143
144
|
model: string;
|
|
144
|
-
store: "
|
|
145
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
145
146
|
path?: string | undefined;
|
|
146
|
-
repository?: string | undefined;
|
|
147
|
-
commit?: string | undefined;
|
|
148
|
-
digest?: string | undefined;
|
|
149
147
|
anchor?: string | undefined;
|
|
148
|
+
commit?: string | undefined;
|
|
149
|
+
repository?: string | undefined;
|
|
150
150
|
revision?: number | undefined;
|
|
151
|
+
digest?: string | undefined;
|
|
151
152
|
url?: string | undefined;
|
|
152
153
|
startLine?: number | undefined;
|
|
153
154
|
endLine?: number | undefined;
|
|
154
155
|
}>, {
|
|
155
156
|
id: string;
|
|
156
157
|
model: string;
|
|
157
|
-
store: "
|
|
158
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
158
159
|
path?: string | undefined;
|
|
159
|
-
repository?: string | undefined;
|
|
160
|
-
commit?: string | undefined;
|
|
161
|
-
digest?: string | undefined;
|
|
162
160
|
anchor?: string | undefined;
|
|
161
|
+
commit?: string | undefined;
|
|
162
|
+
repository?: string | undefined;
|
|
163
163
|
revision?: number | undefined;
|
|
164
|
+
digest?: string | undefined;
|
|
164
165
|
url?: string | undefined;
|
|
165
166
|
startLine?: number | undefined;
|
|
166
167
|
endLine?: number | undefined;
|
|
167
168
|
}, {
|
|
168
169
|
id: string;
|
|
169
170
|
model: string;
|
|
170
|
-
store: "
|
|
171
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
171
172
|
path?: string | undefined;
|
|
172
|
-
repository?: string | undefined;
|
|
173
|
-
commit?: string | undefined;
|
|
174
|
-
digest?: string | undefined;
|
|
175
173
|
anchor?: string | undefined;
|
|
174
|
+
commit?: string | undefined;
|
|
175
|
+
repository?: string | undefined;
|
|
176
176
|
revision?: number | undefined;
|
|
177
|
+
digest?: string | undefined;
|
|
177
178
|
url?: string | undefined;
|
|
178
179
|
startLine?: number | undefined;
|
|
179
180
|
endLine?: number | undefined;
|
|
180
181
|
}>;
|
|
181
|
-
authorityRefs: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
182
|
+
authorityRefs: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
182
183
|
store: z.ZodEnum<["treedx", "postgresql", "git", "url"]>;
|
|
183
184
|
model: z.ZodString;
|
|
184
185
|
id: z.ZodString;
|
|
@@ -194,82 +195,103 @@ export declare const executionNodeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
194
195
|
}, "strict", z.ZodTypeAny, {
|
|
195
196
|
id: string;
|
|
196
197
|
model: string;
|
|
197
|
-
store: "
|
|
198
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
198
199
|
path?: string | undefined;
|
|
199
|
-
repository?: string | undefined;
|
|
200
|
-
commit?: string | undefined;
|
|
201
|
-
digest?: string | undefined;
|
|
202
200
|
anchor?: string | undefined;
|
|
201
|
+
commit?: string | undefined;
|
|
202
|
+
repository?: string | undefined;
|
|
203
203
|
revision?: number | undefined;
|
|
204
|
+
digest?: string | undefined;
|
|
204
205
|
url?: string | undefined;
|
|
205
206
|
startLine?: number | undefined;
|
|
206
207
|
endLine?: number | undefined;
|
|
207
208
|
}, {
|
|
208
209
|
id: string;
|
|
209
210
|
model: string;
|
|
210
|
-
store: "
|
|
211
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
211
212
|
path?: string | undefined;
|
|
212
|
-
repository?: string | undefined;
|
|
213
|
-
commit?: string | undefined;
|
|
214
|
-
digest?: string | undefined;
|
|
215
213
|
anchor?: string | undefined;
|
|
214
|
+
commit?: string | undefined;
|
|
215
|
+
repository?: string | undefined;
|
|
216
216
|
revision?: number | undefined;
|
|
217
|
+
digest?: string | undefined;
|
|
217
218
|
url?: string | undefined;
|
|
218
219
|
startLine?: number | undefined;
|
|
219
220
|
endLine?: number | undefined;
|
|
220
221
|
}>, {
|
|
221
222
|
id: string;
|
|
222
223
|
model: string;
|
|
223
|
-
store: "
|
|
224
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
224
225
|
path?: string | undefined;
|
|
225
|
-
repository?: string | undefined;
|
|
226
|
-
commit?: string | undefined;
|
|
227
|
-
digest?: string | undefined;
|
|
228
226
|
anchor?: string | undefined;
|
|
227
|
+
commit?: string | undefined;
|
|
228
|
+
repository?: string | undefined;
|
|
229
229
|
revision?: number | undefined;
|
|
230
|
+
digest?: string | undefined;
|
|
230
231
|
url?: string | undefined;
|
|
231
232
|
startLine?: number | undefined;
|
|
232
233
|
endLine?: number | undefined;
|
|
233
234
|
}, {
|
|
234
235
|
id: string;
|
|
235
236
|
model: string;
|
|
236
|
-
store: "
|
|
237
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
237
238
|
path?: string | undefined;
|
|
239
|
+
anchor?: string | undefined;
|
|
240
|
+
commit?: string | undefined;
|
|
238
241
|
repository?: string | undefined;
|
|
242
|
+
revision?: number | undefined;
|
|
243
|
+
digest?: string | undefined;
|
|
244
|
+
url?: string | undefined;
|
|
245
|
+
startLine?: number | undefined;
|
|
246
|
+
endLine?: number | undefined;
|
|
247
|
+
}>, "many">, {
|
|
248
|
+
id: string;
|
|
249
|
+
model: string;
|
|
250
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
251
|
+
path?: string | undefined;
|
|
252
|
+
anchor?: string | undefined;
|
|
239
253
|
commit?: string | undefined;
|
|
254
|
+
repository?: string | undefined;
|
|
255
|
+
revision?: number | undefined;
|
|
240
256
|
digest?: string | undefined;
|
|
257
|
+
url?: string | undefined;
|
|
258
|
+
startLine?: number | undefined;
|
|
259
|
+
endLine?: number | undefined;
|
|
260
|
+
}[], {
|
|
261
|
+
id: string;
|
|
262
|
+
model: string;
|
|
263
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
264
|
+
path?: string | undefined;
|
|
241
265
|
anchor?: string | undefined;
|
|
266
|
+
commit?: string | undefined;
|
|
267
|
+
repository?: string | undefined;
|
|
242
268
|
revision?: number | undefined;
|
|
269
|
+
digest?: string | undefined;
|
|
243
270
|
url?: string | undefined;
|
|
244
271
|
startLine?: number | undefined;
|
|
245
272
|
endLine?: number | undefined;
|
|
246
|
-
}
|
|
273
|
+
}[]>>;
|
|
247
274
|
ruleRevision: z.ZodNumber;
|
|
248
275
|
nodeRevision: z.ZodNumber;
|
|
249
276
|
agentClass: z.ZodOptional<z.ZodString>;
|
|
250
277
|
status: z.ZodEnum<["proposed", "blocked", "ready", "assigned", "running", "completed", "failed", "cancelled", "stale"]>;
|
|
251
278
|
estimate: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
252
|
-
minimumSeconds: z.ZodNumber;
|
|
253
279
|
expectedSeconds: z.ZodNumber;
|
|
254
280
|
maximumSeconds: z.ZodNumber;
|
|
255
281
|
rationale: z.ZodOptional<z.ZodString>;
|
|
256
282
|
}, "strict", z.ZodTypeAny, {
|
|
257
|
-
minimumSeconds: number;
|
|
258
283
|
expectedSeconds: number;
|
|
259
284
|
maximumSeconds: number;
|
|
260
285
|
rationale?: string | undefined;
|
|
261
286
|
}, {
|
|
262
|
-
minimumSeconds: number;
|
|
263
287
|
expectedSeconds: number;
|
|
264
288
|
maximumSeconds: number;
|
|
265
289
|
rationale?: string | undefined;
|
|
266
290
|
}>, {
|
|
267
|
-
minimumSeconds: number;
|
|
268
291
|
expectedSeconds: number;
|
|
269
292
|
maximumSeconds: number;
|
|
270
293
|
rationale?: string | undefined;
|
|
271
294
|
}, {
|
|
272
|
-
minimumSeconds: number;
|
|
273
295
|
expectedSeconds: number;
|
|
274
296
|
maximumSeconds: number;
|
|
275
297
|
rationale?: string | undefined;
|
|
@@ -286,19 +308,19 @@ export declare const executionNodeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
286
308
|
read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
|
|
287
309
|
write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
|
|
288
310
|
}>;
|
|
289
|
-
tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("
|
|
311
|
+
tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("discussion" | "source.read" | "source.write" | "verification" | "release")[], ("discussion" | "source.read" | "source.write" | "verification" | "release")[]>;
|
|
290
312
|
}, "strict", z.ZodTypeAny, {
|
|
291
313
|
content: {
|
|
292
314
|
read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
|
|
293
315
|
write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
|
|
294
316
|
};
|
|
295
|
-
tools: ("
|
|
317
|
+
tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
|
|
296
318
|
}, {
|
|
297
319
|
content: {
|
|
298
320
|
read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
|
|
299
321
|
write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
|
|
300
322
|
};
|
|
301
|
-
tools: ("
|
|
323
|
+
tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
|
|
302
324
|
}>>;
|
|
303
325
|
workspace: z.ZodOptional<z.ZodEnum<["read-only", "treedx", "git"]>>;
|
|
304
326
|
acceptanceCriteria: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -321,52 +343,52 @@ export declare const executionNodeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
321
343
|
}, "strict", z.ZodTypeAny, {
|
|
322
344
|
id: string;
|
|
323
345
|
model: string;
|
|
324
|
-
store: "
|
|
346
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
325
347
|
path?: string | undefined;
|
|
326
|
-
repository?: string | undefined;
|
|
327
|
-
commit?: string | undefined;
|
|
328
|
-
digest?: string | undefined;
|
|
329
348
|
anchor?: string | undefined;
|
|
349
|
+
commit?: string | undefined;
|
|
350
|
+
repository?: string | undefined;
|
|
330
351
|
revision?: number | undefined;
|
|
352
|
+
digest?: string | undefined;
|
|
331
353
|
url?: string | undefined;
|
|
332
354
|
startLine?: number | undefined;
|
|
333
355
|
endLine?: number | undefined;
|
|
334
356
|
}, {
|
|
335
357
|
id: string;
|
|
336
358
|
model: string;
|
|
337
|
-
store: "
|
|
359
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
338
360
|
path?: string | undefined;
|
|
339
|
-
repository?: string | undefined;
|
|
340
|
-
commit?: string | undefined;
|
|
341
|
-
digest?: string | undefined;
|
|
342
361
|
anchor?: string | undefined;
|
|
362
|
+
commit?: string | undefined;
|
|
363
|
+
repository?: string | undefined;
|
|
343
364
|
revision?: number | undefined;
|
|
365
|
+
digest?: string | undefined;
|
|
344
366
|
url?: string | undefined;
|
|
345
367
|
startLine?: number | undefined;
|
|
346
368
|
endLine?: number | undefined;
|
|
347
369
|
}>, {
|
|
348
370
|
id: string;
|
|
349
371
|
model: string;
|
|
350
|
-
store: "
|
|
372
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
351
373
|
path?: string | undefined;
|
|
352
|
-
repository?: string | undefined;
|
|
353
|
-
commit?: string | undefined;
|
|
354
|
-
digest?: string | undefined;
|
|
355
374
|
anchor?: string | undefined;
|
|
375
|
+
commit?: string | undefined;
|
|
376
|
+
repository?: string | undefined;
|
|
356
377
|
revision?: number | undefined;
|
|
378
|
+
digest?: string | undefined;
|
|
357
379
|
url?: string | undefined;
|
|
358
380
|
startLine?: number | undefined;
|
|
359
381
|
endLine?: number | undefined;
|
|
360
382
|
}, {
|
|
361
383
|
id: string;
|
|
362
384
|
model: string;
|
|
363
|
-
store: "
|
|
385
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
364
386
|
path?: string | undefined;
|
|
365
|
-
repository?: string | undefined;
|
|
366
|
-
commit?: string | undefined;
|
|
367
|
-
digest?: string | undefined;
|
|
368
387
|
anchor?: string | undefined;
|
|
388
|
+
commit?: string | undefined;
|
|
389
|
+
repository?: string | undefined;
|
|
369
390
|
revision?: number | undefined;
|
|
391
|
+
digest?: string | undefined;
|
|
370
392
|
url?: string | undefined;
|
|
371
393
|
startLine?: number | undefined;
|
|
372
394
|
endLine?: number | undefined;
|
|
@@ -376,13 +398,13 @@ export declare const executionNodeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
376
398
|
subjectRef: {
|
|
377
399
|
id: string;
|
|
378
400
|
model: string;
|
|
379
|
-
store: "
|
|
401
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
380
402
|
path?: string | undefined;
|
|
381
|
-
repository?: string | undefined;
|
|
382
|
-
commit?: string | undefined;
|
|
383
|
-
digest?: string | undefined;
|
|
384
403
|
anchor?: string | undefined;
|
|
404
|
+
commit?: string | undefined;
|
|
405
|
+
repository?: string | undefined;
|
|
385
406
|
revision?: number | undefined;
|
|
407
|
+
digest?: string | undefined;
|
|
386
408
|
url?: string | undefined;
|
|
387
409
|
startLine?: number | undefined;
|
|
388
410
|
endLine?: number | undefined;
|
|
@@ -393,13 +415,13 @@ export declare const executionNodeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
393
415
|
subjectRef: {
|
|
394
416
|
id: string;
|
|
395
417
|
model: string;
|
|
396
|
-
store: "
|
|
418
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
397
419
|
path?: string | undefined;
|
|
398
|
-
repository?: string | undefined;
|
|
399
|
-
commit?: string | undefined;
|
|
400
|
-
digest?: string | undefined;
|
|
401
420
|
anchor?: string | undefined;
|
|
421
|
+
commit?: string | undefined;
|
|
422
|
+
repository?: string | undefined;
|
|
402
423
|
revision?: number | undefined;
|
|
424
|
+
digest?: string | undefined;
|
|
403
425
|
url?: string | undefined;
|
|
404
426
|
startLine?: number | undefined;
|
|
405
427
|
endLine?: number | undefined;
|
|
@@ -410,23 +432,23 @@ export declare const executionNodeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
410
432
|
graphRevisionCreated: z.ZodNumber;
|
|
411
433
|
graphRevisionUpdated: z.ZodNumber;
|
|
412
434
|
}, "strict", z.ZodTypeAny, {
|
|
413
|
-
status: "
|
|
435
|
+
status: "completed" | "failed" | "running" | "blocked" | "cancelled" | "ready" | "stale" | "proposed" | "assigned";
|
|
414
436
|
kind: "planning" | "estimating" | "acting" | "reviewing" | "reporting" | "communication" | "condition";
|
|
415
437
|
id: string;
|
|
416
438
|
schemaVersion: "treeseed.execution-node/v1";
|
|
417
|
-
projectId: string;
|
|
418
439
|
teamId: string;
|
|
440
|
+
projectId: string;
|
|
419
441
|
nodeRevision: number;
|
|
420
442
|
sourceRef: {
|
|
421
443
|
id: string;
|
|
422
444
|
model: string;
|
|
423
|
-
store: "
|
|
445
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
424
446
|
path?: string | undefined;
|
|
425
|
-
repository?: string | undefined;
|
|
426
|
-
commit?: string | undefined;
|
|
427
|
-
digest?: string | undefined;
|
|
428
447
|
anchor?: string | undefined;
|
|
448
|
+
commit?: string | undefined;
|
|
449
|
+
repository?: string | undefined;
|
|
429
450
|
revision?: number | undefined;
|
|
451
|
+
digest?: string | undefined;
|
|
430
452
|
url?: string | undefined;
|
|
431
453
|
startLine?: number | undefined;
|
|
432
454
|
endLine?: number | undefined;
|
|
@@ -436,50 +458,50 @@ export declare const executionNodeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
436
458
|
graphRevisionCreated: number;
|
|
437
459
|
graphRevisionUpdated: number;
|
|
438
460
|
estimate?: {
|
|
439
|
-
minimumSeconds: number;
|
|
440
461
|
expectedSeconds: number;
|
|
441
462
|
maximumSeconds: number;
|
|
442
463
|
rationale?: string | undefined;
|
|
443
464
|
} | undefined;
|
|
444
465
|
agentClass?: string | undefined;
|
|
466
|
+
priority?: number | undefined;
|
|
445
467
|
workdayId?: string | undefined;
|
|
446
468
|
workItemId?: string | undefined;
|
|
447
469
|
authorityRefs?: {
|
|
448
470
|
id: string;
|
|
449
471
|
model: string;
|
|
450
|
-
store: "
|
|
472
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
451
473
|
path?: string | undefined;
|
|
452
|
-
repository?: string | undefined;
|
|
453
|
-
commit?: string | undefined;
|
|
454
|
-
digest?: string | undefined;
|
|
455
474
|
anchor?: string | undefined;
|
|
475
|
+
commit?: string | undefined;
|
|
476
|
+
repository?: string | undefined;
|
|
456
477
|
revision?: number | undefined;
|
|
478
|
+
digest?: string | undefined;
|
|
457
479
|
url?: string | undefined;
|
|
458
480
|
startLine?: number | undefined;
|
|
459
481
|
endLine?: number | undefined;
|
|
460
482
|
}[] | undefined;
|
|
461
483
|
requiredCapabilities?: string[] | undefined;
|
|
462
484
|
acceptanceCriteria?: string[] | undefined;
|
|
463
|
-
workspace?: "
|
|
485
|
+
workspace?: "read-only" | "treedx" | "git" | undefined;
|
|
464
486
|
maximumReviewCycles?: number | undefined;
|
|
465
487
|
requestedPermissions?: {
|
|
466
488
|
content: {
|
|
467
489
|
read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
|
|
468
490
|
write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
|
|
469
491
|
};
|
|
470
|
-
tools: ("
|
|
492
|
+
tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
|
|
471
493
|
} | undefined;
|
|
472
494
|
condition?: {
|
|
473
495
|
subjectRef: {
|
|
474
496
|
id: string;
|
|
475
497
|
model: string;
|
|
476
|
-
store: "
|
|
498
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
477
499
|
path?: string | undefined;
|
|
478
|
-
repository?: string | undefined;
|
|
479
|
-
commit?: string | undefined;
|
|
480
|
-
digest?: string | undefined;
|
|
481
500
|
anchor?: string | undefined;
|
|
501
|
+
commit?: string | undefined;
|
|
502
|
+
repository?: string | undefined;
|
|
482
503
|
revision?: number | undefined;
|
|
504
|
+
digest?: string | undefined;
|
|
483
505
|
url?: string | undefined;
|
|
484
506
|
startLine?: number | undefined;
|
|
485
507
|
endLine?: number | undefined;
|
|
@@ -488,23 +510,23 @@ export declare const executionNodeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
488
510
|
expectedState: string;
|
|
489
511
|
} | undefined;
|
|
490
512
|
}, {
|
|
491
|
-
status: "
|
|
513
|
+
status: "completed" | "failed" | "running" | "blocked" | "cancelled" | "ready" | "stale" | "proposed" | "assigned";
|
|
492
514
|
kind: "planning" | "estimating" | "acting" | "reviewing" | "reporting" | "communication" | "condition";
|
|
493
515
|
id: string;
|
|
494
516
|
schemaVersion: "treeseed.execution-node/v1";
|
|
495
|
-
projectId: string;
|
|
496
517
|
teamId: string;
|
|
518
|
+
projectId: string;
|
|
497
519
|
nodeRevision: number;
|
|
498
520
|
sourceRef: {
|
|
499
521
|
id: string;
|
|
500
522
|
model: string;
|
|
501
|
-
store: "
|
|
523
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
502
524
|
path?: string | undefined;
|
|
503
|
-
repository?: string | undefined;
|
|
504
|
-
commit?: string | undefined;
|
|
505
|
-
digest?: string | undefined;
|
|
506
525
|
anchor?: string | undefined;
|
|
526
|
+
commit?: string | undefined;
|
|
527
|
+
repository?: string | undefined;
|
|
507
528
|
revision?: number | undefined;
|
|
529
|
+
digest?: string | undefined;
|
|
508
530
|
url?: string | undefined;
|
|
509
531
|
startLine?: number | undefined;
|
|
510
532
|
endLine?: number | undefined;
|
|
@@ -514,50 +536,50 @@ export declare const executionNodeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
514
536
|
graphRevisionCreated: number;
|
|
515
537
|
graphRevisionUpdated: number;
|
|
516
538
|
estimate?: {
|
|
517
|
-
minimumSeconds: number;
|
|
518
539
|
expectedSeconds: number;
|
|
519
540
|
maximumSeconds: number;
|
|
520
541
|
rationale?: string | undefined;
|
|
521
542
|
} | undefined;
|
|
522
543
|
agentClass?: string | undefined;
|
|
544
|
+
priority?: number | undefined;
|
|
523
545
|
workdayId?: string | undefined;
|
|
524
546
|
workItemId?: string | undefined;
|
|
525
547
|
authorityRefs?: {
|
|
526
548
|
id: string;
|
|
527
549
|
model: string;
|
|
528
|
-
store: "
|
|
550
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
529
551
|
path?: string | undefined;
|
|
530
|
-
repository?: string | undefined;
|
|
531
|
-
commit?: string | undefined;
|
|
532
|
-
digest?: string | undefined;
|
|
533
552
|
anchor?: string | undefined;
|
|
553
|
+
commit?: string | undefined;
|
|
554
|
+
repository?: string | undefined;
|
|
534
555
|
revision?: number | undefined;
|
|
556
|
+
digest?: string | undefined;
|
|
535
557
|
url?: string | undefined;
|
|
536
558
|
startLine?: number | undefined;
|
|
537
559
|
endLine?: number | undefined;
|
|
538
560
|
}[] | undefined;
|
|
539
561
|
requiredCapabilities?: string[] | undefined;
|
|
540
562
|
acceptanceCriteria?: string[] | undefined;
|
|
541
|
-
workspace?: "
|
|
563
|
+
workspace?: "read-only" | "treedx" | "git" | undefined;
|
|
542
564
|
maximumReviewCycles?: number | undefined;
|
|
543
565
|
requestedPermissions?: {
|
|
544
566
|
content: {
|
|
545
567
|
read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
|
|
546
568
|
write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
|
|
547
569
|
};
|
|
548
|
-
tools: ("
|
|
570
|
+
tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
|
|
549
571
|
} | undefined;
|
|
550
572
|
condition?: {
|
|
551
573
|
subjectRef: {
|
|
552
574
|
id: string;
|
|
553
575
|
model: string;
|
|
554
|
-
store: "
|
|
576
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
555
577
|
path?: string | undefined;
|
|
556
|
-
repository?: string | undefined;
|
|
557
|
-
commit?: string | undefined;
|
|
558
|
-
digest?: string | undefined;
|
|
559
578
|
anchor?: string | undefined;
|
|
579
|
+
commit?: string | undefined;
|
|
580
|
+
repository?: string | undefined;
|
|
560
581
|
revision?: number | undefined;
|
|
582
|
+
digest?: string | undefined;
|
|
561
583
|
url?: string | undefined;
|
|
562
584
|
startLine?: number | undefined;
|
|
563
585
|
endLine?: number | undefined;
|
|
@@ -566,23 +588,23 @@ export declare const executionNodeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
566
588
|
expectedState: string;
|
|
567
589
|
} | undefined;
|
|
568
590
|
}>, {
|
|
569
|
-
status: "
|
|
591
|
+
status: "completed" | "failed" | "running" | "blocked" | "cancelled" | "ready" | "stale" | "proposed" | "assigned";
|
|
570
592
|
kind: "planning" | "estimating" | "acting" | "reviewing" | "reporting" | "communication" | "condition";
|
|
571
593
|
id: string;
|
|
572
594
|
schemaVersion: "treeseed.execution-node/v1";
|
|
573
|
-
projectId: string;
|
|
574
595
|
teamId: string;
|
|
596
|
+
projectId: string;
|
|
575
597
|
nodeRevision: number;
|
|
576
598
|
sourceRef: {
|
|
577
599
|
id: string;
|
|
578
600
|
model: string;
|
|
579
|
-
store: "
|
|
601
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
580
602
|
path?: string | undefined;
|
|
581
|
-
repository?: string | undefined;
|
|
582
|
-
commit?: string | undefined;
|
|
583
|
-
digest?: string | undefined;
|
|
584
603
|
anchor?: string | undefined;
|
|
604
|
+
commit?: string | undefined;
|
|
605
|
+
repository?: string | undefined;
|
|
585
606
|
revision?: number | undefined;
|
|
607
|
+
digest?: string | undefined;
|
|
586
608
|
url?: string | undefined;
|
|
587
609
|
startLine?: number | undefined;
|
|
588
610
|
endLine?: number | undefined;
|
|
@@ -592,50 +614,50 @@ export declare const executionNodeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
592
614
|
graphRevisionCreated: number;
|
|
593
615
|
graphRevisionUpdated: number;
|
|
594
616
|
estimate?: {
|
|
595
|
-
minimumSeconds: number;
|
|
596
617
|
expectedSeconds: number;
|
|
597
618
|
maximumSeconds: number;
|
|
598
619
|
rationale?: string | undefined;
|
|
599
620
|
} | undefined;
|
|
600
621
|
agentClass?: string | undefined;
|
|
622
|
+
priority?: number | undefined;
|
|
601
623
|
workdayId?: string | undefined;
|
|
602
624
|
workItemId?: string | undefined;
|
|
603
625
|
authorityRefs?: {
|
|
604
626
|
id: string;
|
|
605
627
|
model: string;
|
|
606
|
-
store: "
|
|
628
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
607
629
|
path?: string | undefined;
|
|
608
|
-
repository?: string | undefined;
|
|
609
|
-
commit?: string | undefined;
|
|
610
|
-
digest?: string | undefined;
|
|
611
630
|
anchor?: string | undefined;
|
|
631
|
+
commit?: string | undefined;
|
|
632
|
+
repository?: string | undefined;
|
|
612
633
|
revision?: number | undefined;
|
|
634
|
+
digest?: string | undefined;
|
|
613
635
|
url?: string | undefined;
|
|
614
636
|
startLine?: number | undefined;
|
|
615
637
|
endLine?: number | undefined;
|
|
616
638
|
}[] | undefined;
|
|
617
639
|
requiredCapabilities?: string[] | undefined;
|
|
618
640
|
acceptanceCriteria?: string[] | undefined;
|
|
619
|
-
workspace?: "
|
|
641
|
+
workspace?: "read-only" | "treedx" | "git" | undefined;
|
|
620
642
|
maximumReviewCycles?: number | undefined;
|
|
621
643
|
requestedPermissions?: {
|
|
622
644
|
content: {
|
|
623
645
|
read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
|
|
624
646
|
write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
|
|
625
647
|
};
|
|
626
|
-
tools: ("
|
|
648
|
+
tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
|
|
627
649
|
} | undefined;
|
|
628
650
|
condition?: {
|
|
629
651
|
subjectRef: {
|
|
630
652
|
id: string;
|
|
631
653
|
model: string;
|
|
632
|
-
store: "
|
|
654
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
633
655
|
path?: string | undefined;
|
|
634
|
-
repository?: string | undefined;
|
|
635
|
-
commit?: string | undefined;
|
|
636
|
-
digest?: string | undefined;
|
|
637
656
|
anchor?: string | undefined;
|
|
657
|
+
commit?: string | undefined;
|
|
658
|
+
repository?: string | undefined;
|
|
638
659
|
revision?: number | undefined;
|
|
660
|
+
digest?: string | undefined;
|
|
639
661
|
url?: string | undefined;
|
|
640
662
|
startLine?: number | undefined;
|
|
641
663
|
endLine?: number | undefined;
|
|
@@ -644,23 +666,101 @@ export declare const executionNodeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
644
666
|
expectedState: string;
|
|
645
667
|
} | undefined;
|
|
646
668
|
}, {
|
|
647
|
-
status: "
|
|
669
|
+
status: "completed" | "failed" | "running" | "blocked" | "cancelled" | "ready" | "stale" | "proposed" | "assigned";
|
|
648
670
|
kind: "planning" | "estimating" | "acting" | "reviewing" | "reporting" | "communication" | "condition";
|
|
649
671
|
id: string;
|
|
650
672
|
schemaVersion: "treeseed.execution-node/v1";
|
|
651
|
-
projectId: string;
|
|
652
673
|
teamId: string;
|
|
674
|
+
projectId: string;
|
|
653
675
|
nodeRevision: number;
|
|
654
676
|
sourceRef: {
|
|
655
677
|
id: string;
|
|
656
678
|
model: string;
|
|
657
|
-
store: "
|
|
679
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
658
680
|
path?: string | undefined;
|
|
681
|
+
anchor?: string | undefined;
|
|
682
|
+
commit?: string | undefined;
|
|
659
683
|
repository?: string | undefined;
|
|
684
|
+
revision?: number | undefined;
|
|
685
|
+
digest?: string | undefined;
|
|
686
|
+
url?: string | undefined;
|
|
687
|
+
startLine?: number | undefined;
|
|
688
|
+
endLine?: number | undefined;
|
|
689
|
+
};
|
|
690
|
+
pairRole: "actor" | "reviewer" | null;
|
|
691
|
+
ruleRevision: number;
|
|
692
|
+
graphRevisionCreated: number;
|
|
693
|
+
graphRevisionUpdated: number;
|
|
694
|
+
estimate?: {
|
|
695
|
+
expectedSeconds: number;
|
|
696
|
+
maximumSeconds: number;
|
|
697
|
+
rationale?: string | undefined;
|
|
698
|
+
} | undefined;
|
|
699
|
+
agentClass?: string | undefined;
|
|
700
|
+
priority?: number | undefined;
|
|
701
|
+
workdayId?: string | undefined;
|
|
702
|
+
workItemId?: string | undefined;
|
|
703
|
+
authorityRefs?: {
|
|
704
|
+
id: string;
|
|
705
|
+
model: string;
|
|
706
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
707
|
+
path?: string | undefined;
|
|
708
|
+
anchor?: string | undefined;
|
|
660
709
|
commit?: string | undefined;
|
|
710
|
+
repository?: string | undefined;
|
|
711
|
+
revision?: number | undefined;
|
|
661
712
|
digest?: string | undefined;
|
|
713
|
+
url?: string | undefined;
|
|
714
|
+
startLine?: number | undefined;
|
|
715
|
+
endLine?: number | undefined;
|
|
716
|
+
}[] | undefined;
|
|
717
|
+
requiredCapabilities?: string[] | undefined;
|
|
718
|
+
acceptanceCriteria?: string[] | undefined;
|
|
719
|
+
workspace?: "read-only" | "treedx" | "git" | undefined;
|
|
720
|
+
maximumReviewCycles?: number | undefined;
|
|
721
|
+
requestedPermissions?: {
|
|
722
|
+
content: {
|
|
723
|
+
read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
|
|
724
|
+
write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
|
|
725
|
+
};
|
|
726
|
+
tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
|
|
727
|
+
} | undefined;
|
|
728
|
+
condition?: {
|
|
729
|
+
subjectRef: {
|
|
730
|
+
id: string;
|
|
731
|
+
model: string;
|
|
732
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
733
|
+
path?: string | undefined;
|
|
734
|
+
anchor?: string | undefined;
|
|
735
|
+
commit?: string | undefined;
|
|
736
|
+
repository?: string | undefined;
|
|
737
|
+
revision?: number | undefined;
|
|
738
|
+
digest?: string | undefined;
|
|
739
|
+
url?: string | undefined;
|
|
740
|
+
startLine?: number | undefined;
|
|
741
|
+
endLine?: number | undefined;
|
|
742
|
+
};
|
|
743
|
+
conditionType: "question" | "external" | "authority" | "lifecycle";
|
|
744
|
+
expectedState: string;
|
|
745
|
+
} | undefined;
|
|
746
|
+
}>, {
|
|
747
|
+
status: "completed" | "failed" | "running" | "blocked" | "cancelled" | "ready" | "stale" | "proposed" | "assigned";
|
|
748
|
+
kind: "planning" | "estimating" | "acting" | "reviewing" | "reporting" | "communication" | "condition";
|
|
749
|
+
id: string;
|
|
750
|
+
schemaVersion: "treeseed.execution-node/v1";
|
|
751
|
+
teamId: string;
|
|
752
|
+
projectId: string;
|
|
753
|
+
nodeRevision: number;
|
|
754
|
+
sourceRef: {
|
|
755
|
+
id: string;
|
|
756
|
+
model: string;
|
|
757
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
758
|
+
path?: string | undefined;
|
|
662
759
|
anchor?: string | undefined;
|
|
760
|
+
commit?: string | undefined;
|
|
761
|
+
repository?: string | undefined;
|
|
663
762
|
revision?: number | undefined;
|
|
763
|
+
digest?: string | undefined;
|
|
664
764
|
url?: string | undefined;
|
|
665
765
|
startLine?: number | undefined;
|
|
666
766
|
endLine?: number | undefined;
|
|
@@ -670,50 +770,128 @@ export declare const executionNodeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
670
770
|
graphRevisionCreated: number;
|
|
671
771
|
graphRevisionUpdated: number;
|
|
672
772
|
estimate?: {
|
|
673
|
-
minimumSeconds: number;
|
|
674
773
|
expectedSeconds: number;
|
|
675
774
|
maximumSeconds: number;
|
|
676
775
|
rationale?: string | undefined;
|
|
677
776
|
} | undefined;
|
|
678
777
|
agentClass?: string | undefined;
|
|
778
|
+
priority?: number | undefined;
|
|
679
779
|
workdayId?: string | undefined;
|
|
680
780
|
workItemId?: string | undefined;
|
|
681
781
|
authorityRefs?: {
|
|
682
782
|
id: string;
|
|
683
783
|
model: string;
|
|
684
|
-
store: "
|
|
784
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
685
785
|
path?: string | undefined;
|
|
786
|
+
anchor?: string | undefined;
|
|
787
|
+
commit?: string | undefined;
|
|
686
788
|
repository?: string | undefined;
|
|
789
|
+
revision?: number | undefined;
|
|
790
|
+
digest?: string | undefined;
|
|
791
|
+
url?: string | undefined;
|
|
792
|
+
startLine?: number | undefined;
|
|
793
|
+
endLine?: number | undefined;
|
|
794
|
+
}[] | undefined;
|
|
795
|
+
requiredCapabilities?: string[] | undefined;
|
|
796
|
+
acceptanceCriteria?: string[] | undefined;
|
|
797
|
+
workspace?: "read-only" | "treedx" | "git" | undefined;
|
|
798
|
+
maximumReviewCycles?: number | undefined;
|
|
799
|
+
requestedPermissions?: {
|
|
800
|
+
content: {
|
|
801
|
+
read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
|
|
802
|
+
write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
|
|
803
|
+
};
|
|
804
|
+
tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
|
|
805
|
+
} | undefined;
|
|
806
|
+
condition?: {
|
|
807
|
+
subjectRef: {
|
|
808
|
+
id: string;
|
|
809
|
+
model: string;
|
|
810
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
811
|
+
path?: string | undefined;
|
|
812
|
+
anchor?: string | undefined;
|
|
813
|
+
commit?: string | undefined;
|
|
814
|
+
repository?: string | undefined;
|
|
815
|
+
revision?: number | undefined;
|
|
816
|
+
digest?: string | undefined;
|
|
817
|
+
url?: string | undefined;
|
|
818
|
+
startLine?: number | undefined;
|
|
819
|
+
endLine?: number | undefined;
|
|
820
|
+
};
|
|
821
|
+
conditionType: "question" | "external" | "authority" | "lifecycle";
|
|
822
|
+
expectedState: string;
|
|
823
|
+
} | undefined;
|
|
824
|
+
}, {
|
|
825
|
+
status: "completed" | "failed" | "running" | "blocked" | "cancelled" | "ready" | "stale" | "proposed" | "assigned";
|
|
826
|
+
kind: "planning" | "estimating" | "acting" | "reviewing" | "reporting" | "communication" | "condition";
|
|
827
|
+
id: string;
|
|
828
|
+
schemaVersion: "treeseed.execution-node/v1";
|
|
829
|
+
teamId: string;
|
|
830
|
+
projectId: string;
|
|
831
|
+
nodeRevision: number;
|
|
832
|
+
sourceRef: {
|
|
833
|
+
id: string;
|
|
834
|
+
model: string;
|
|
835
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
836
|
+
path?: string | undefined;
|
|
837
|
+
anchor?: string | undefined;
|
|
687
838
|
commit?: string | undefined;
|
|
839
|
+
repository?: string | undefined;
|
|
840
|
+
revision?: number | undefined;
|
|
688
841
|
digest?: string | undefined;
|
|
842
|
+
url?: string | undefined;
|
|
843
|
+
startLine?: number | undefined;
|
|
844
|
+
endLine?: number | undefined;
|
|
845
|
+
};
|
|
846
|
+
pairRole: "actor" | "reviewer" | null;
|
|
847
|
+
ruleRevision: number;
|
|
848
|
+
graphRevisionCreated: number;
|
|
849
|
+
graphRevisionUpdated: number;
|
|
850
|
+
estimate?: {
|
|
851
|
+
expectedSeconds: number;
|
|
852
|
+
maximumSeconds: number;
|
|
853
|
+
rationale?: string | undefined;
|
|
854
|
+
} | undefined;
|
|
855
|
+
agentClass?: string | undefined;
|
|
856
|
+
priority?: number | undefined;
|
|
857
|
+
workdayId?: string | undefined;
|
|
858
|
+
workItemId?: string | undefined;
|
|
859
|
+
authorityRefs?: {
|
|
860
|
+
id: string;
|
|
861
|
+
model: string;
|
|
862
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
863
|
+
path?: string | undefined;
|
|
689
864
|
anchor?: string | undefined;
|
|
865
|
+
commit?: string | undefined;
|
|
866
|
+
repository?: string | undefined;
|
|
690
867
|
revision?: number | undefined;
|
|
868
|
+
digest?: string | undefined;
|
|
691
869
|
url?: string | undefined;
|
|
692
870
|
startLine?: number | undefined;
|
|
693
871
|
endLine?: number | undefined;
|
|
694
872
|
}[] | undefined;
|
|
695
873
|
requiredCapabilities?: string[] | undefined;
|
|
696
874
|
acceptanceCriteria?: string[] | undefined;
|
|
697
|
-
workspace?: "
|
|
875
|
+
workspace?: "read-only" | "treedx" | "git" | undefined;
|
|
698
876
|
maximumReviewCycles?: number | undefined;
|
|
699
877
|
requestedPermissions?: {
|
|
700
878
|
content: {
|
|
701
879
|
read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
|
|
702
880
|
write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
|
|
703
881
|
};
|
|
704
|
-
tools: ("
|
|
882
|
+
tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
|
|
705
883
|
} | undefined;
|
|
706
884
|
condition?: {
|
|
707
885
|
subjectRef: {
|
|
708
886
|
id: string;
|
|
709
887
|
model: string;
|
|
710
|
-
store: "
|
|
888
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
711
889
|
path?: string | undefined;
|
|
712
|
-
repository?: string | undefined;
|
|
713
|
-
commit?: string | undefined;
|
|
714
|
-
digest?: string | undefined;
|
|
715
890
|
anchor?: string | undefined;
|
|
891
|
+
commit?: string | undefined;
|
|
892
|
+
repository?: string | undefined;
|
|
716
893
|
revision?: number | undefined;
|
|
894
|
+
digest?: string | undefined;
|
|
717
895
|
url?: string | undefined;
|
|
718
896
|
startLine?: number | undefined;
|
|
719
897
|
endLine?: number | undefined;
|
|
@@ -745,52 +923,52 @@ export declare const executionEdgeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
745
923
|
}, "strict", z.ZodTypeAny, {
|
|
746
924
|
id: string;
|
|
747
925
|
model: string;
|
|
748
|
-
store: "
|
|
926
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
749
927
|
path?: string | undefined;
|
|
750
|
-
repository?: string | undefined;
|
|
751
|
-
commit?: string | undefined;
|
|
752
|
-
digest?: string | undefined;
|
|
753
928
|
anchor?: string | undefined;
|
|
929
|
+
commit?: string | undefined;
|
|
930
|
+
repository?: string | undefined;
|
|
754
931
|
revision?: number | undefined;
|
|
932
|
+
digest?: string | undefined;
|
|
755
933
|
url?: string | undefined;
|
|
756
934
|
startLine?: number | undefined;
|
|
757
935
|
endLine?: number | undefined;
|
|
758
936
|
}, {
|
|
759
937
|
id: string;
|
|
760
938
|
model: string;
|
|
761
|
-
store: "
|
|
939
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
762
940
|
path?: string | undefined;
|
|
763
|
-
repository?: string | undefined;
|
|
764
|
-
commit?: string | undefined;
|
|
765
|
-
digest?: string | undefined;
|
|
766
941
|
anchor?: string | undefined;
|
|
942
|
+
commit?: string | undefined;
|
|
943
|
+
repository?: string | undefined;
|
|
767
944
|
revision?: number | undefined;
|
|
945
|
+
digest?: string | undefined;
|
|
768
946
|
url?: string | undefined;
|
|
769
947
|
startLine?: number | undefined;
|
|
770
948
|
endLine?: number | undefined;
|
|
771
949
|
}>, {
|
|
772
950
|
id: string;
|
|
773
951
|
model: string;
|
|
774
|
-
store: "
|
|
952
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
775
953
|
path?: string | undefined;
|
|
776
|
-
repository?: string | undefined;
|
|
777
|
-
commit?: string | undefined;
|
|
778
|
-
digest?: string | undefined;
|
|
779
954
|
anchor?: string | undefined;
|
|
955
|
+
commit?: string | undefined;
|
|
956
|
+
repository?: string | undefined;
|
|
780
957
|
revision?: number | undefined;
|
|
958
|
+
digest?: string | undefined;
|
|
781
959
|
url?: string | undefined;
|
|
782
960
|
startLine?: number | undefined;
|
|
783
961
|
endLine?: number | undefined;
|
|
784
962
|
}, {
|
|
785
963
|
id: string;
|
|
786
964
|
model: string;
|
|
787
|
-
store: "
|
|
965
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
788
966
|
path?: string | undefined;
|
|
789
|
-
repository?: string | undefined;
|
|
790
|
-
commit?: string | undefined;
|
|
791
|
-
digest?: string | undefined;
|
|
792
967
|
anchor?: string | undefined;
|
|
968
|
+
commit?: string | undefined;
|
|
969
|
+
repository?: string | undefined;
|
|
793
970
|
revision?: number | undefined;
|
|
971
|
+
digest?: string | undefined;
|
|
794
972
|
url?: string | undefined;
|
|
795
973
|
startLine?: number | undefined;
|
|
796
974
|
endLine?: number | undefined;
|
|
@@ -801,20 +979,20 @@ export declare const executionEdgeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
801
979
|
id: string;
|
|
802
980
|
schemaVersion: "treeseed.execution-edge/v1";
|
|
803
981
|
teamId: string;
|
|
804
|
-
provenance: "governance" | "profile-agent" | "profile-event" | "work-item" | "review-pair" | "treedx-link";
|
|
805
982
|
graphRevisionCreated: number;
|
|
806
983
|
fromNodeId: string;
|
|
807
984
|
toNodeId: string;
|
|
985
|
+
provenance: "profile-agent" | "profile-event" | "work-item" | "review-pair" | "governance" | "treedx-link";
|
|
808
986
|
sourceRef?: {
|
|
809
987
|
id: string;
|
|
810
988
|
model: string;
|
|
811
|
-
store: "
|
|
989
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
812
990
|
path?: string | undefined;
|
|
813
|
-
repository?: string | undefined;
|
|
814
|
-
commit?: string | undefined;
|
|
815
|
-
digest?: string | undefined;
|
|
816
991
|
anchor?: string | undefined;
|
|
992
|
+
commit?: string | undefined;
|
|
993
|
+
repository?: string | undefined;
|
|
817
994
|
revision?: number | undefined;
|
|
995
|
+
digest?: string | undefined;
|
|
818
996
|
url?: string | undefined;
|
|
819
997
|
startLine?: number | undefined;
|
|
820
998
|
endLine?: number | undefined;
|
|
@@ -824,20 +1002,20 @@ export declare const executionEdgeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
824
1002
|
id: string;
|
|
825
1003
|
schemaVersion: "treeseed.execution-edge/v1";
|
|
826
1004
|
teamId: string;
|
|
827
|
-
provenance: "governance" | "profile-agent" | "profile-event" | "work-item" | "review-pair" | "treedx-link";
|
|
828
1005
|
graphRevisionCreated: number;
|
|
829
1006
|
fromNodeId: string;
|
|
830
1007
|
toNodeId: string;
|
|
1008
|
+
provenance: "profile-agent" | "profile-event" | "work-item" | "review-pair" | "governance" | "treedx-link";
|
|
831
1009
|
sourceRef?: {
|
|
832
1010
|
id: string;
|
|
833
1011
|
model: string;
|
|
834
|
-
store: "
|
|
1012
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
835
1013
|
path?: string | undefined;
|
|
836
|
-
repository?: string | undefined;
|
|
837
|
-
commit?: string | undefined;
|
|
838
|
-
digest?: string | undefined;
|
|
839
1014
|
anchor?: string | undefined;
|
|
1015
|
+
commit?: string | undefined;
|
|
1016
|
+
repository?: string | undefined;
|
|
840
1017
|
revision?: number | undefined;
|
|
1018
|
+
digest?: string | undefined;
|
|
841
1019
|
url?: string | undefined;
|
|
842
1020
|
startLine?: number | undefined;
|
|
843
1021
|
endLine?: number | undefined;
|
|
@@ -847,20 +1025,20 @@ export declare const executionEdgeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
847
1025
|
id: string;
|
|
848
1026
|
schemaVersion: "treeseed.execution-edge/v1";
|
|
849
1027
|
teamId: string;
|
|
850
|
-
provenance: "governance" | "profile-agent" | "profile-event" | "work-item" | "review-pair" | "treedx-link";
|
|
851
1028
|
graphRevisionCreated: number;
|
|
852
1029
|
fromNodeId: string;
|
|
853
1030
|
toNodeId: string;
|
|
1031
|
+
provenance: "profile-agent" | "profile-event" | "work-item" | "review-pair" | "governance" | "treedx-link";
|
|
854
1032
|
sourceRef?: {
|
|
855
1033
|
id: string;
|
|
856
1034
|
model: string;
|
|
857
|
-
store: "
|
|
1035
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
858
1036
|
path?: string | undefined;
|
|
859
|
-
repository?: string | undefined;
|
|
860
|
-
commit?: string | undefined;
|
|
861
|
-
digest?: string | undefined;
|
|
862
1037
|
anchor?: string | undefined;
|
|
1038
|
+
commit?: string | undefined;
|
|
1039
|
+
repository?: string | undefined;
|
|
863
1040
|
revision?: number | undefined;
|
|
1041
|
+
digest?: string | undefined;
|
|
864
1042
|
url?: string | undefined;
|
|
865
1043
|
startLine?: number | undefined;
|
|
866
1044
|
endLine?: number | undefined;
|
|
@@ -870,20 +1048,20 @@ export declare const executionEdgeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
870
1048
|
id: string;
|
|
871
1049
|
schemaVersion: "treeseed.execution-edge/v1";
|
|
872
1050
|
teamId: string;
|
|
873
|
-
provenance: "governance" | "profile-agent" | "profile-event" | "work-item" | "review-pair" | "treedx-link";
|
|
874
1051
|
graphRevisionCreated: number;
|
|
875
1052
|
fromNodeId: string;
|
|
876
1053
|
toNodeId: string;
|
|
1054
|
+
provenance: "profile-agent" | "profile-event" | "work-item" | "review-pair" | "governance" | "treedx-link";
|
|
877
1055
|
sourceRef?: {
|
|
878
1056
|
id: string;
|
|
879
1057
|
model: string;
|
|
880
|
-
store: "
|
|
1058
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
881
1059
|
path?: string | undefined;
|
|
882
|
-
repository?: string | undefined;
|
|
883
|
-
commit?: string | undefined;
|
|
884
|
-
digest?: string | undefined;
|
|
885
1060
|
anchor?: string | undefined;
|
|
1061
|
+
commit?: string | undefined;
|
|
1062
|
+
repository?: string | undefined;
|
|
886
1063
|
revision?: number | undefined;
|
|
1064
|
+
digest?: string | undefined;
|
|
887
1065
|
url?: string | undefined;
|
|
888
1066
|
startLine?: number | undefined;
|
|
889
1067
|
endLine?: number | undefined;
|
|
@@ -899,16 +1077,16 @@ export declare const graphChangeSetSchema: z.ZodObject<{
|
|
|
899
1077
|
removedEdges: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
900
1078
|
addedEdges: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
901
1079
|
}, "strict", z.ZodTypeAny, {
|
|
902
|
-
blocked: string[];
|
|
903
1080
|
completed: string[];
|
|
1081
|
+
blocked: string[];
|
|
904
1082
|
stale: string[];
|
|
905
1083
|
added: string[];
|
|
906
1084
|
changed: string[];
|
|
907
1085
|
removedEdges: string[];
|
|
908
1086
|
addedEdges: string[];
|
|
909
1087
|
}, {
|
|
910
|
-
blocked: string[];
|
|
911
1088
|
completed: string[];
|
|
1089
|
+
blocked: string[];
|
|
912
1090
|
stale: string[];
|
|
913
1091
|
added: string[];
|
|
914
1092
|
changed: string[];
|
|
@@ -920,7 +1098,7 @@ export declare const graphRevisionSchema: z.ZodObject<{
|
|
|
920
1098
|
teamId: z.ZodString;
|
|
921
1099
|
revision: z.ZodNumber;
|
|
922
1100
|
ruleRevision: z.ZodNumber;
|
|
923
|
-
changedSourceRefs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1101
|
+
changedSourceRefs: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
924
1102
|
store: z.ZodEnum<["treedx", "postgresql", "git", "url"]>;
|
|
925
1103
|
model: z.ZodString;
|
|
926
1104
|
id: z.ZodString;
|
|
@@ -936,56 +1114,82 @@ export declare const graphRevisionSchema: z.ZodObject<{
|
|
|
936
1114
|
}, "strict", z.ZodTypeAny, {
|
|
937
1115
|
id: string;
|
|
938
1116
|
model: string;
|
|
939
|
-
store: "
|
|
1117
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
940
1118
|
path?: string | undefined;
|
|
941
|
-
repository?: string | undefined;
|
|
942
|
-
commit?: string | undefined;
|
|
943
|
-
digest?: string | undefined;
|
|
944
1119
|
anchor?: string | undefined;
|
|
1120
|
+
commit?: string | undefined;
|
|
1121
|
+
repository?: string | undefined;
|
|
945
1122
|
revision?: number | undefined;
|
|
1123
|
+
digest?: string | undefined;
|
|
946
1124
|
url?: string | undefined;
|
|
947
1125
|
startLine?: number | undefined;
|
|
948
1126
|
endLine?: number | undefined;
|
|
949
1127
|
}, {
|
|
950
1128
|
id: string;
|
|
951
1129
|
model: string;
|
|
952
|
-
store: "
|
|
1130
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
953
1131
|
path?: string | undefined;
|
|
954
|
-
repository?: string | undefined;
|
|
955
|
-
commit?: string | undefined;
|
|
956
|
-
digest?: string | undefined;
|
|
957
1132
|
anchor?: string | undefined;
|
|
1133
|
+
commit?: string | undefined;
|
|
1134
|
+
repository?: string | undefined;
|
|
958
1135
|
revision?: number | undefined;
|
|
1136
|
+
digest?: string | undefined;
|
|
959
1137
|
url?: string | undefined;
|
|
960
1138
|
startLine?: number | undefined;
|
|
961
1139
|
endLine?: number | undefined;
|
|
962
1140
|
}>, {
|
|
963
1141
|
id: string;
|
|
964
1142
|
model: string;
|
|
965
|
-
store: "
|
|
1143
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
966
1144
|
path?: string | undefined;
|
|
967
|
-
repository?: string | undefined;
|
|
968
|
-
commit?: string | undefined;
|
|
969
|
-
digest?: string | undefined;
|
|
970
1145
|
anchor?: string | undefined;
|
|
1146
|
+
commit?: string | undefined;
|
|
1147
|
+
repository?: string | undefined;
|
|
971
1148
|
revision?: number | undefined;
|
|
1149
|
+
digest?: string | undefined;
|
|
972
1150
|
url?: string | undefined;
|
|
973
1151
|
startLine?: number | undefined;
|
|
974
1152
|
endLine?: number | undefined;
|
|
975
1153
|
}, {
|
|
976
1154
|
id: string;
|
|
977
1155
|
model: string;
|
|
978
|
-
store: "
|
|
1156
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
979
1157
|
path?: string | undefined;
|
|
1158
|
+
anchor?: string | undefined;
|
|
1159
|
+
commit?: string | undefined;
|
|
980
1160
|
repository?: string | undefined;
|
|
1161
|
+
revision?: number | undefined;
|
|
1162
|
+
digest?: string | undefined;
|
|
1163
|
+
url?: string | undefined;
|
|
1164
|
+
startLine?: number | undefined;
|
|
1165
|
+
endLine?: number | undefined;
|
|
1166
|
+
}>, "many">, {
|
|
1167
|
+
id: string;
|
|
1168
|
+
model: string;
|
|
1169
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
1170
|
+
path?: string | undefined;
|
|
1171
|
+
anchor?: string | undefined;
|
|
981
1172
|
commit?: string | undefined;
|
|
1173
|
+
repository?: string | undefined;
|
|
1174
|
+
revision?: number | undefined;
|
|
982
1175
|
digest?: string | undefined;
|
|
1176
|
+
url?: string | undefined;
|
|
1177
|
+
startLine?: number | undefined;
|
|
1178
|
+
endLine?: number | undefined;
|
|
1179
|
+
}[], {
|
|
1180
|
+
id: string;
|
|
1181
|
+
model: string;
|
|
1182
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
1183
|
+
path?: string | undefined;
|
|
983
1184
|
anchor?: string | undefined;
|
|
1185
|
+
commit?: string | undefined;
|
|
1186
|
+
repository?: string | undefined;
|
|
984
1187
|
revision?: number | undefined;
|
|
1188
|
+
digest?: string | undefined;
|
|
985
1189
|
url?: string | undefined;
|
|
986
1190
|
startLine?: number | undefined;
|
|
987
1191
|
endLine?: number | undefined;
|
|
988
|
-
}
|
|
1192
|
+
}[]>;
|
|
989
1193
|
graphDigest: z.ZodString;
|
|
990
1194
|
changes: z.ZodObject<{
|
|
991
1195
|
added: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
@@ -996,16 +1200,16 @@ export declare const graphRevisionSchema: z.ZodObject<{
|
|
|
996
1200
|
removedEdges: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
997
1201
|
addedEdges: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
998
1202
|
}, "strict", z.ZodTypeAny, {
|
|
999
|
-
blocked: string[];
|
|
1000
1203
|
completed: string[];
|
|
1204
|
+
blocked: string[];
|
|
1001
1205
|
stale: string[];
|
|
1002
1206
|
added: string[];
|
|
1003
1207
|
changed: string[];
|
|
1004
1208
|
removedEdges: string[];
|
|
1005
1209
|
addedEdges: string[];
|
|
1006
1210
|
}, {
|
|
1007
|
-
blocked: string[];
|
|
1008
1211
|
completed: string[];
|
|
1212
|
+
blocked: string[];
|
|
1009
1213
|
stale: string[];
|
|
1010
1214
|
added: string[];
|
|
1011
1215
|
changed: string[];
|
|
@@ -1015,64 +1219,64 @@ export declare const graphRevisionSchema: z.ZodObject<{
|
|
|
1015
1219
|
createdAt: z.ZodString;
|
|
1016
1220
|
}, "strict", z.ZodTypeAny, {
|
|
1017
1221
|
schemaVersion: "treeseed.graph-revision/v1";
|
|
1018
|
-
teamId: string;
|
|
1019
|
-
createdAt: string;
|
|
1020
1222
|
revision: number;
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
completed: string[];
|
|
1024
|
-
stale: string[];
|
|
1025
|
-
added: string[];
|
|
1026
|
-
changed: string[];
|
|
1027
|
-
removedEdges: string[];
|
|
1028
|
-
addedEdges: string[];
|
|
1029
|
-
};
|
|
1223
|
+
createdAt: string;
|
|
1224
|
+
teamId: string;
|
|
1030
1225
|
ruleRevision: number;
|
|
1031
1226
|
changedSourceRefs: {
|
|
1032
1227
|
id: string;
|
|
1033
1228
|
model: string;
|
|
1034
|
-
store: "
|
|
1229
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
1035
1230
|
path?: string | undefined;
|
|
1036
|
-
repository?: string | undefined;
|
|
1037
|
-
commit?: string | undefined;
|
|
1038
|
-
digest?: string | undefined;
|
|
1039
1231
|
anchor?: string | undefined;
|
|
1232
|
+
commit?: string | undefined;
|
|
1233
|
+
repository?: string | undefined;
|
|
1040
1234
|
revision?: number | undefined;
|
|
1235
|
+
digest?: string | undefined;
|
|
1041
1236
|
url?: string | undefined;
|
|
1042
1237
|
startLine?: number | undefined;
|
|
1043
1238
|
endLine?: number | undefined;
|
|
1044
1239
|
}[];
|
|
1045
1240
|
graphDigest: string;
|
|
1046
|
-
}, {
|
|
1047
|
-
schemaVersion: "treeseed.graph-revision/v1";
|
|
1048
|
-
teamId: string;
|
|
1049
|
-
createdAt: string;
|
|
1050
|
-
revision: number;
|
|
1051
1241
|
changes: {
|
|
1052
|
-
blocked: string[];
|
|
1053
1242
|
completed: string[];
|
|
1243
|
+
blocked: string[];
|
|
1054
1244
|
stale: string[];
|
|
1055
1245
|
added: string[];
|
|
1056
1246
|
changed: string[];
|
|
1057
1247
|
removedEdges: string[];
|
|
1058
1248
|
addedEdges: string[];
|
|
1059
1249
|
};
|
|
1250
|
+
}, {
|
|
1251
|
+
schemaVersion: "treeseed.graph-revision/v1";
|
|
1252
|
+
revision: number;
|
|
1253
|
+
createdAt: string;
|
|
1254
|
+
teamId: string;
|
|
1060
1255
|
ruleRevision: number;
|
|
1061
1256
|
changedSourceRefs: {
|
|
1062
1257
|
id: string;
|
|
1063
1258
|
model: string;
|
|
1064
|
-
store: "
|
|
1259
|
+
store: "treedx" | "git" | "postgresql" | "url";
|
|
1065
1260
|
path?: string | undefined;
|
|
1066
|
-
repository?: string | undefined;
|
|
1067
|
-
commit?: string | undefined;
|
|
1068
|
-
digest?: string | undefined;
|
|
1069
1261
|
anchor?: string | undefined;
|
|
1262
|
+
commit?: string | undefined;
|
|
1263
|
+
repository?: string | undefined;
|
|
1070
1264
|
revision?: number | undefined;
|
|
1265
|
+
digest?: string | undefined;
|
|
1071
1266
|
url?: string | undefined;
|
|
1072
1267
|
startLine?: number | undefined;
|
|
1073
1268
|
endLine?: number | undefined;
|
|
1074
1269
|
}[];
|
|
1075
1270
|
graphDigest: string;
|
|
1271
|
+
changes: {
|
|
1272
|
+
completed: string[];
|
|
1273
|
+
blocked: string[];
|
|
1274
|
+
stale: string[];
|
|
1275
|
+
added: string[];
|
|
1276
|
+
changed: string[];
|
|
1277
|
+
removedEdges: string[];
|
|
1278
|
+
addedEdges: string[];
|
|
1279
|
+
};
|
|
1076
1280
|
}>;
|
|
1077
1281
|
export type ExecutionNode = z.infer<typeof executionNodeSchema>;
|
|
1078
1282
|
export type ExecutionEdge = z.infer<typeof executionEdgeSchema>;
|