@treeseed/sdk 0.13.0-rc.121 → 0.13.0-rc.122

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/dist/.treeseed-build-complete.json +1 -1
  2. package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.d.ts +1594 -922
  3. package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.js +22 -1
  4. package/dist/agent-capacity/contracts/capacity/assignments/assignment-context-pack.d.ts +40 -40
  5. package/dist/agent-capacity/contracts/capacity/assignments/assignment-records.d.ts +1 -59
  6. package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.d.ts +1 -1
  7. package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.js +1 -1
  8. package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.d.ts +18 -20
  9. package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.js +1 -1
  10. package/dist/agent-capacity/contracts/capacity/workdays/workday-records.d.ts +0 -67
  11. package/dist/agent-capacity/contracts/configuration/configuration.d.ts +1 -1
  12. package/dist/agent-capacity/contracts/configuration/configuration.js +0 -2
  13. package/dist/agent-capacity/contracts/operations/agent-team-clone.d.ts +8 -8
  14. package/dist/agent-capacity/contracts/projects/agents/project-agent-class.d.ts +0 -23
  15. package/dist/agent-capacity/contracts/runtime/runtime-observability.d.ts +2 -154
  16. package/dist/agent-capacity/contracts/support/agent-atlas.d.ts +0 -13
  17. package/dist/agent-capacity/contracts/support/execution-graph.d.ts +176 -176
  18. package/dist/agent-capacity/contracts/support/execution-graph.js +1 -1
  19. package/dist/agent-capacity/contracts/support/financial-records.d.ts +1 -6
  20. package/dist/agent-capacity/contracts/support/planning-records.d.ts +1 -87
  21. package/dist/agent-capacity/grant.d.ts +34 -0
  22. package/dist/agent-capacity/grant.js +4 -0
  23. package/dist/agent-capacity/validation/agent-definition-schema.d.ts +1042 -1042
  24. package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +11 -11
  25. package/dist/agent-capacity/validation/agent-lab-forensics-schema.js +0 -1
  26. package/dist/agent-capacity/validation/assignment-records.d.ts +1 -6
  27. package/dist/agent-capacity/validation/assignment-records.js +4 -35
  28. package/dist/agent-capacity/validation/configuration.d.ts +1 -1
  29. package/dist/agent-capacity/validation/configuration.js +2 -6
  30. package/dist/agent-capacity/validation/grant.d.ts +11 -0
  31. package/dist/agent-capacity/validation/grant.js +31 -0
  32. package/dist/capacity/agents/agent-capacity.d.ts +2 -4
  33. package/dist/capacity/agents/agent-capacity.js +1 -3
  34. package/dist/capacity-provider/capability-ontology.d.ts +138 -138
  35. package/dist/capacity-provider/client.d.ts +1 -2
  36. package/dist/capacity-provider/client.js +0 -6
  37. package/dist/capacity-provider/contracts/environment-profiles.d.ts +8 -8
  38. package/dist/capacity-provider/core-capability-catalog.d.ts +4 -4
  39. package/dist/capacity-provider/environment-catalog.d.ts +166 -166
  40. package/dist/capacity-provider/install-configuration.d.ts +2 -2
  41. package/dist/capacity-provider/sandbox-contracts.d.ts +52 -52
  42. package/dist/capacity-provider/source-workspace.d.ts +102 -4
  43. package/dist/capacity-provider/source-workspace.js +5 -1
  44. package/dist/content/validation/agent-operational-content-schemas.d.ts +108 -108
  45. package/dist/content/validation/auxiliary-content-schemas.d.ts +108 -108
  46. package/dist/content/validation/content-model-schemas.d.ts +9473 -6284
  47. package/dist/content/validation/content-model-schemas.js +116 -48
  48. package/dist/content/validation/portable-content-data.d.ts +351 -181
  49. package/dist/content/validation/portable-content-data.js +6 -1
  50. package/dist/deployment/ai/storage.d.ts +14 -14
  51. package/dist/deployment/ai-hosting.d.ts +10 -10
  52. package/dist/deployment/ai-instance.d.ts +14 -14
  53. package/dist/deployment/ai-mode.d.ts +82 -82
  54. package/dist/deployment/hosted-topology-template.d.ts +24 -24
  55. package/dist/deployment/hosted-topology.d.ts +219 -219
  56. package/dist/deployment/postgres/contracts.d.ts +52 -52
  57. package/dist/deployment/postgres/transfer.d.ts +4 -4
  58. package/dist/deployment/schemas.d.ts +780 -780
  59. package/dist/development/schemas.d.ts +439 -439
  60. package/dist/knowledge/contracts.d.ts +9 -2
  61. package/dist/knowledge/contracts.js +2 -2
  62. package/dist/model-registry/discussion-models.js +0 -1
  63. package/dist/operator-contracts/canonical-command-tree.js +3 -1
  64. package/dist/operator-contracts/catalog/agents/agent-team-clone-operations.d.ts +2 -2
  65. package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +17 -17
  66. package/dist/operator-contracts/catalog/commands/command-tree-builders.d.ts +4 -4
  67. package/dist/operator-contracts/catalog/communication-operations.d.ts +100 -100
  68. package/dist/operator-contracts/catalog/hosted-topology-operations.d.ts +40 -40
  69. package/dist/operator-contracts/catalog/inbox-operations.d.ts +54 -54
  70. package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.d.ts +5 -5
  71. package/dist/operator-contracts/catalog/knowledge-share-operations.d.ts +10 -10
  72. package/dist/operator-contracts/catalog/services/secret-operations.d.ts +8 -8
  73. package/dist/operator-contracts/communication/contracts.d.ts +273 -273
  74. package/dist/operator-contracts/control-plane-operations.d.ts +236 -242
  75. package/dist/operator-contracts/control-plane-operations.js +0 -2
  76. package/dist/operator-contracts/inbox/contracts.d.ts +204 -204
  77. package/dist/operator-contracts/knowledge/contracts.d.ts +16 -16
  78. package/dist/platform/agent-schema-verification.d.ts +3 -0
  79. package/dist/platform/agent-schema-verification.js +94 -0
  80. package/dist/platform/verification.js +6 -0
  81. package/dist/sdk-types/support/planning-policy.d.ts +1 -1
  82. package/dist/secrets-capability/shared-access.d.ts +2 -2
  83. package/dist/secrets-capability/shared-resources.d.ts +46 -46
  84. package/dist/secrets-capability/vault-contracts.d.ts +2 -2
  85. package/dist/security/encrypted-envelope.d.ts +8 -8
  86. package/package.json +3 -2
  87. package/dist/agent-capacity/allocation.d.ts +0 -183
  88. package/dist/agent-capacity/allocation.js +0 -5
  89. package/dist/agent-capacity/artifact-mutation-receipt.d.ts +0 -49
  90. package/dist/agent-capacity/artifact-mutation-receipt.js +0 -36
  91. package/dist/agent-capacity/artifacts.d.ts +0 -123
  92. package/dist/agent-capacity/artifacts.js +0 -39
  93. package/dist/agent-capacity/contracts/support/decision-work.d.ts +0 -227
  94. package/dist/agent-capacity/contracts/support/decision-work.js +0 -0
  95. package/dist/agent-capacity/validation/allocation.d.ts +0 -12
  96. package/dist/agent-capacity/validation/allocation.js +0 -115
@@ -17,90 +17,90 @@ export declare const conditionDefinitionSchema: z.ZodObject<{
17
17
  }, "strict", z.ZodTypeAny, {
18
18
  id: string;
19
19
  model: string;
20
- store: "git" | "url" | "postgresql" | "treedx";
20
+ store: "git" | "treedx" | "postgresql" | "url";
21
21
  path?: string | undefined;
22
22
  repository?: string | undefined;
23
23
  commit?: string | undefined;
24
24
  digest?: string | undefined;
25
25
  anchor?: string | undefined;
26
- url?: string | undefined;
27
26
  revision?: number | undefined;
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: "git" | "url" | "postgresql" | "treedx";
33
+ store: "git" | "treedx" | "postgresql" | "url";
34
34
  path?: string | undefined;
35
35
  repository?: string | undefined;
36
36
  commit?: string | undefined;
37
37
  digest?: string | undefined;
38
38
  anchor?: string | undefined;
39
- url?: string | undefined;
40
39
  revision?: number | undefined;
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: "git" | "url" | "postgresql" | "treedx";
46
+ store: "git" | "treedx" | "postgresql" | "url";
47
47
  path?: string | undefined;
48
48
  repository?: string | undefined;
49
49
  commit?: string | undefined;
50
50
  digest?: string | undefined;
51
51
  anchor?: string | undefined;
52
- url?: string | undefined;
53
52
  revision?: number | undefined;
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: "git" | "url" | "postgresql" | "treedx";
59
+ store: "git" | "treedx" | "postgresql" | "url";
60
60
  path?: string | undefined;
61
61
  repository?: string | undefined;
62
62
  commit?: string | undefined;
63
63
  digest?: string | undefined;
64
64
  anchor?: string | undefined;
65
- url?: string | undefined;
66
65
  revision?: number | undefined;
66
+ url?: string | undefined;
67
67
  startLine?: number | undefined;
68
68
  endLine?: number | undefined;
69
69
  }>;
70
70
  expectedState: z.ZodString;
71
71
  }, "strict", z.ZodTypeAny, {
72
- conditionType: "external" | "authority" | "question" | "lifecycle";
73
72
  subjectRef: {
74
73
  id: string;
75
74
  model: string;
76
- store: "git" | "url" | "postgresql" | "treedx";
75
+ store: "git" | "treedx" | "postgresql" | "url";
77
76
  path?: string | undefined;
78
77
  repository?: string | undefined;
79
78
  commit?: string | undefined;
80
79
  digest?: string | undefined;
81
80
  anchor?: string | undefined;
82
- url?: string | undefined;
83
81
  revision?: number | undefined;
82
+ url?: string | undefined;
84
83
  startLine?: number | undefined;
85
84
  endLine?: number | undefined;
86
85
  };
86
+ conditionType: "question" | "external" | "authority" | "lifecycle";
87
87
  expectedState: string;
88
88
  }, {
89
- conditionType: "external" | "authority" | "question" | "lifecycle";
90
89
  subjectRef: {
91
90
  id: string;
92
91
  model: string;
93
- store: "git" | "url" | "postgresql" | "treedx";
92
+ store: "git" | "treedx" | "postgresql" | "url";
94
93
  path?: string | undefined;
95
94
  repository?: string | undefined;
96
95
  commit?: string | undefined;
97
96
  digest?: string | undefined;
98
97
  anchor?: string | undefined;
99
- url?: string | undefined;
100
98
  revision?: number | undefined;
99
+ url?: string | undefined;
101
100
  startLine?: number | undefined;
102
101
  endLine?: number | undefined;
103
102
  };
103
+ conditionType: "question" | "external" | "authority" | "lifecycle";
104
104
  expectedState: string;
105
105
  }>;
106
106
  export declare const executionNodeSchema: z.ZodEffects<z.ZodObject<{
@@ -128,53 +128,53 @@ export declare const executionNodeSchema: z.ZodEffects<z.ZodObject<{
128
128
  }, "strict", z.ZodTypeAny, {
129
129
  id: string;
130
130
  model: string;
131
- store: "git" | "url" | "postgresql" | "treedx";
131
+ store: "git" | "treedx" | "postgresql" | "url";
132
132
  path?: string | undefined;
133
133
  repository?: string | undefined;
134
134
  commit?: string | undefined;
135
135
  digest?: string | undefined;
136
136
  anchor?: string | undefined;
137
- url?: string | undefined;
138
137
  revision?: number | undefined;
138
+ url?: string | undefined;
139
139
  startLine?: number | undefined;
140
140
  endLine?: number | undefined;
141
141
  }, {
142
142
  id: string;
143
143
  model: string;
144
- store: "git" | "url" | "postgresql" | "treedx";
144
+ store: "git" | "treedx" | "postgresql" | "url";
145
145
  path?: string | undefined;
146
146
  repository?: string | undefined;
147
147
  commit?: string | undefined;
148
148
  digest?: string | undefined;
149
149
  anchor?: string | undefined;
150
- url?: string | undefined;
151
150
  revision?: number | undefined;
151
+ url?: string | undefined;
152
152
  startLine?: number | undefined;
153
153
  endLine?: number | undefined;
154
154
  }>, {
155
155
  id: string;
156
156
  model: string;
157
- store: "git" | "url" | "postgresql" | "treedx";
157
+ store: "git" | "treedx" | "postgresql" | "url";
158
158
  path?: string | undefined;
159
159
  repository?: string | undefined;
160
160
  commit?: string | undefined;
161
161
  digest?: string | undefined;
162
162
  anchor?: string | undefined;
163
- url?: string | undefined;
164
163
  revision?: number | undefined;
164
+ url?: string | undefined;
165
165
  startLine?: number | undefined;
166
166
  endLine?: number | undefined;
167
167
  }, {
168
168
  id: string;
169
169
  model: string;
170
- store: "git" | "url" | "postgresql" | "treedx";
170
+ store: "git" | "treedx" | "postgresql" | "url";
171
171
  path?: string | undefined;
172
172
  repository?: string | undefined;
173
173
  commit?: string | undefined;
174
174
  digest?: string | undefined;
175
175
  anchor?: string | undefined;
176
- url?: string | undefined;
177
176
  revision?: number | undefined;
177
+ url?: string | undefined;
178
178
  startLine?: number | undefined;
179
179
  endLine?: number | undefined;
180
180
  }>;
@@ -194,53 +194,53 @@ export declare const executionNodeSchema: z.ZodEffects<z.ZodObject<{
194
194
  }, "strict", z.ZodTypeAny, {
195
195
  id: string;
196
196
  model: string;
197
- store: "git" | "url" | "postgresql" | "treedx";
197
+ store: "git" | "treedx" | "postgresql" | "url";
198
198
  path?: string | undefined;
199
199
  repository?: string | undefined;
200
200
  commit?: string | undefined;
201
201
  digest?: string | undefined;
202
202
  anchor?: string | undefined;
203
- url?: string | undefined;
204
203
  revision?: number | undefined;
204
+ url?: string | undefined;
205
205
  startLine?: number | undefined;
206
206
  endLine?: number | undefined;
207
207
  }, {
208
208
  id: string;
209
209
  model: string;
210
- store: "git" | "url" | "postgresql" | "treedx";
210
+ store: "git" | "treedx" | "postgresql" | "url";
211
211
  path?: string | undefined;
212
212
  repository?: string | undefined;
213
213
  commit?: string | undefined;
214
214
  digest?: string | undefined;
215
215
  anchor?: string | undefined;
216
- url?: string | undefined;
217
216
  revision?: number | undefined;
217
+ url?: string | undefined;
218
218
  startLine?: number | undefined;
219
219
  endLine?: number | undefined;
220
220
  }>, {
221
221
  id: string;
222
222
  model: string;
223
- store: "git" | "url" | "postgresql" | "treedx";
223
+ store: "git" | "treedx" | "postgresql" | "url";
224
224
  path?: string | undefined;
225
225
  repository?: string | undefined;
226
226
  commit?: string | undefined;
227
227
  digest?: string | undefined;
228
228
  anchor?: string | undefined;
229
- url?: string | undefined;
230
229
  revision?: number | undefined;
230
+ url?: string | undefined;
231
231
  startLine?: number | undefined;
232
232
  endLine?: number | undefined;
233
233
  }, {
234
234
  id: string;
235
235
  model: string;
236
- store: "git" | "url" | "postgresql" | "treedx";
236
+ store: "git" | "treedx" | "postgresql" | "url";
237
237
  path?: string | undefined;
238
238
  repository?: string | undefined;
239
239
  commit?: string | undefined;
240
240
  digest?: string | undefined;
241
241
  anchor?: string | undefined;
242
- url?: string | undefined;
243
242
  revision?: number | undefined;
243
+ url?: string | undefined;
244
244
  startLine?: number | undefined;
245
245
  endLine?: number | undefined;
246
246
  }>, "many">>;
@@ -277,28 +277,28 @@ export declare const executionNodeSchema: z.ZodEffects<z.ZodObject<{
277
277
  requiredCapabilities: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
278
278
  requestedPermissions: z.ZodOptional<z.ZodObject<{
279
279
  content: z.ZodObject<{
280
- read: z.ZodEffects<z.ZodArray<z.ZodEnum<["agent", "book", "knowledge", "objective", "discussion", "discussion-message", "proposal", "question", "note", "decision"]>, "many">, ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[], ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[]>;
281
- write: z.ZodEffects<z.ZodArray<z.ZodEnum<["agent", "book", "knowledge", "objective", "discussion", "discussion-message", "proposal", "question", "note", "decision"]>, "many">, ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[], ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[]>;
280
+ read: z.ZodEffects<z.ZodArray<z.ZodEnum<["agent", "book", "knowledge", "objective", "discussion", "discussion-message", "proposal", "question", "note", "decision"]>, "many">, ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[], ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[]>;
281
+ write: z.ZodEffects<z.ZodArray<z.ZodEnum<["agent", "book", "knowledge", "objective", "discussion", "discussion-message", "proposal", "question", "note", "decision"]>, "many">, ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[], ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[]>;
282
282
  }, "strict", z.ZodTypeAny, {
283
- read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
284
- write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
283
+ read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
284
+ write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
285
285
  }, {
286
- read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
287
- write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
286
+ read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
287
+ write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
288
288
  }>;
289
- tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("release" | "verification" | "discussion" | "source.read" | "source.write")[], ("release" | "verification" | "discussion" | "source.read" | "source.write")[]>;
289
+ tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("release" | "discussion" | "source.read" | "source.write" | "verification")[], ("release" | "discussion" | "source.read" | "source.write" | "verification")[]>;
290
290
  }, "strict", z.ZodTypeAny, {
291
291
  content: {
292
- read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
293
- write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
292
+ read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
293
+ write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
294
294
  };
295
- tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
295
+ tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
296
296
  }, {
297
297
  content: {
298
- read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
299
- write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
298
+ read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
299
+ write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
300
300
  };
301
- tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
301
+ tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
302
302
  }>>;
303
303
  workspace: z.ZodOptional<z.ZodEnum<["read-only", "treedx", "git"]>>;
304
304
  acceptanceCriteria: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -321,97 +321,97 @@ export declare const executionNodeSchema: z.ZodEffects<z.ZodObject<{
321
321
  }, "strict", z.ZodTypeAny, {
322
322
  id: string;
323
323
  model: string;
324
- store: "git" | "url" | "postgresql" | "treedx";
324
+ store: "git" | "treedx" | "postgresql" | "url";
325
325
  path?: string | undefined;
326
326
  repository?: string | undefined;
327
327
  commit?: string | undefined;
328
328
  digest?: string | undefined;
329
329
  anchor?: string | undefined;
330
- url?: string | undefined;
331
330
  revision?: number | undefined;
331
+ url?: string | undefined;
332
332
  startLine?: number | undefined;
333
333
  endLine?: number | undefined;
334
334
  }, {
335
335
  id: string;
336
336
  model: string;
337
- store: "git" | "url" | "postgresql" | "treedx";
337
+ store: "git" | "treedx" | "postgresql" | "url";
338
338
  path?: string | undefined;
339
339
  repository?: string | undefined;
340
340
  commit?: string | undefined;
341
341
  digest?: string | undefined;
342
342
  anchor?: string | undefined;
343
- url?: string | undefined;
344
343
  revision?: number | undefined;
344
+ url?: string | undefined;
345
345
  startLine?: number | undefined;
346
346
  endLine?: number | undefined;
347
347
  }>, {
348
348
  id: string;
349
349
  model: string;
350
- store: "git" | "url" | "postgresql" | "treedx";
350
+ store: "git" | "treedx" | "postgresql" | "url";
351
351
  path?: string | undefined;
352
352
  repository?: string | undefined;
353
353
  commit?: string | undefined;
354
354
  digest?: string | undefined;
355
355
  anchor?: string | undefined;
356
- url?: string | undefined;
357
356
  revision?: number | undefined;
357
+ url?: string | undefined;
358
358
  startLine?: number | undefined;
359
359
  endLine?: number | undefined;
360
360
  }, {
361
361
  id: string;
362
362
  model: string;
363
- store: "git" | "url" | "postgresql" | "treedx";
363
+ store: "git" | "treedx" | "postgresql" | "url";
364
364
  path?: string | undefined;
365
365
  repository?: string | undefined;
366
366
  commit?: string | undefined;
367
367
  digest?: string | undefined;
368
368
  anchor?: string | undefined;
369
- url?: string | undefined;
370
369
  revision?: number | undefined;
370
+ url?: string | undefined;
371
371
  startLine?: number | undefined;
372
372
  endLine?: number | undefined;
373
373
  }>;
374
374
  expectedState: z.ZodString;
375
375
  }, "strict", z.ZodTypeAny, {
376
- conditionType: "external" | "authority" | "question" | "lifecycle";
377
376
  subjectRef: {
378
377
  id: string;
379
378
  model: string;
380
- store: "git" | "url" | "postgresql" | "treedx";
379
+ store: "git" | "treedx" | "postgresql" | "url";
381
380
  path?: string | undefined;
382
381
  repository?: string | undefined;
383
382
  commit?: string | undefined;
384
383
  digest?: string | undefined;
385
384
  anchor?: string | undefined;
386
- url?: string | undefined;
387
385
  revision?: number | undefined;
386
+ url?: string | undefined;
388
387
  startLine?: number | undefined;
389
388
  endLine?: number | undefined;
390
389
  };
390
+ conditionType: "question" | "external" | "authority" | "lifecycle";
391
391
  expectedState: string;
392
392
  }, {
393
- conditionType: "external" | "authority" | "question" | "lifecycle";
394
393
  subjectRef: {
395
394
  id: string;
396
395
  model: string;
397
- store: "git" | "url" | "postgresql" | "treedx";
396
+ store: "git" | "treedx" | "postgresql" | "url";
398
397
  path?: string | undefined;
399
398
  repository?: string | undefined;
400
399
  commit?: string | undefined;
401
400
  digest?: string | undefined;
402
401
  anchor?: string | undefined;
403
- url?: string | undefined;
404
402
  revision?: number | undefined;
403
+ url?: string | undefined;
405
404
  startLine?: number | undefined;
406
405
  endLine?: number | undefined;
407
406
  };
407
+ conditionType: "question" | "external" | "authority" | "lifecycle";
408
408
  expectedState: string;
409
409
  }>>;
410
410
  graphRevisionCreated: z.ZodNumber;
411
411
  graphRevisionUpdated: z.ZodNumber;
412
412
  }, "strict", z.ZodTypeAny, {
413
- status: "blocked" | "ready" | "stale" | "failed" | "running" | "completed" | "cancelled" | "proposed" | "assigned";
414
- kind: "planning" | "acting" | "estimating" | "reviewing" | "reporting" | "communication" | "condition";
413
+ status: "blocked" | "ready" | "completed" | "failed" | "running" | "cancelled" | "stale" | "proposed" | "assigned";
414
+ kind: "planning" | "estimating" | "acting" | "reviewing" | "reporting" | "communication" | "condition";
415
415
  id: string;
416
416
  schemaVersion: "treeseed.execution-node/v1";
417
417
  projectId: string;
@@ -420,14 +420,14 @@ export declare const executionNodeSchema: z.ZodEffects<z.ZodObject<{
420
420
  sourceRef: {
421
421
  id: string;
422
422
  model: string;
423
- store: "git" | "url" | "postgresql" | "treedx";
423
+ store: "git" | "treedx" | "postgresql" | "url";
424
424
  path?: string | undefined;
425
425
  repository?: string | undefined;
426
426
  commit?: string | undefined;
427
427
  digest?: string | undefined;
428
428
  anchor?: string | undefined;
429
- url?: string | undefined;
430
429
  revision?: number | undefined;
430
+ url?: string | undefined;
431
431
  startLine?: number | undefined;
432
432
  endLine?: number | undefined;
433
433
  };
@@ -435,61 +435,61 @@ export declare const executionNodeSchema: z.ZodEffects<z.ZodObject<{
435
435
  ruleRevision: number;
436
436
  graphRevisionCreated: number;
437
437
  graphRevisionUpdated: number;
438
- requiredCapabilities?: string[] | undefined;
439
- workspace?: "git" | "treedx" | "read-only" | undefined;
440
- agentClass?: string | undefined;
441
438
  estimate?: {
442
439
  minimumSeconds: number;
443
440
  expectedSeconds: number;
444
441
  maximumSeconds: number;
445
442
  rationale?: string | undefined;
446
443
  } | undefined;
444
+ agentClass?: string | undefined;
447
445
  workdayId?: string | undefined;
448
446
  workItemId?: string | undefined;
449
447
  authorityRefs?: {
450
448
  id: string;
451
449
  model: string;
452
- store: "git" | "url" | "postgresql" | "treedx";
450
+ store: "git" | "treedx" | "postgresql" | "url";
453
451
  path?: string | undefined;
454
452
  repository?: string | undefined;
455
453
  commit?: string | undefined;
456
454
  digest?: string | undefined;
457
455
  anchor?: string | undefined;
458
- url?: string | undefined;
459
456
  revision?: number | undefined;
457
+ url?: string | undefined;
460
458
  startLine?: number | undefined;
461
459
  endLine?: number | undefined;
462
460
  }[] | undefined;
461
+ requiredCapabilities?: string[] | undefined;
463
462
  acceptanceCriteria?: string[] | undefined;
463
+ workspace?: "git" | "read-only" | "treedx" | undefined;
464
+ maximumReviewCycles?: number | undefined;
465
+ requestedPermissions?: {
466
+ content: {
467
+ read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
468
+ write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
469
+ };
470
+ tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
471
+ } | undefined;
464
472
  condition?: {
465
- conditionType: "external" | "authority" | "question" | "lifecycle";
466
473
  subjectRef: {
467
474
  id: string;
468
475
  model: string;
469
- store: "git" | "url" | "postgresql" | "treedx";
476
+ store: "git" | "treedx" | "postgresql" | "url";
470
477
  path?: string | undefined;
471
478
  repository?: string | undefined;
472
479
  commit?: string | undefined;
473
480
  digest?: string | undefined;
474
481
  anchor?: string | undefined;
475
- url?: string | undefined;
476
482
  revision?: number | undefined;
483
+ url?: string | undefined;
477
484
  startLine?: number | undefined;
478
485
  endLine?: number | undefined;
479
486
  };
487
+ conditionType: "question" | "external" | "authority" | "lifecycle";
480
488
  expectedState: string;
481
489
  } | undefined;
482
- requestedPermissions?: {
483
- content: {
484
- read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
485
- write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
486
- };
487
- tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
488
- } | undefined;
489
- maximumReviewCycles?: number | undefined;
490
490
  }, {
491
- status: "blocked" | "ready" | "stale" | "failed" | "running" | "completed" | "cancelled" | "proposed" | "assigned";
492
- kind: "planning" | "acting" | "estimating" | "reviewing" | "reporting" | "communication" | "condition";
491
+ status: "blocked" | "ready" | "completed" | "failed" | "running" | "cancelled" | "stale" | "proposed" | "assigned";
492
+ kind: "planning" | "estimating" | "acting" | "reviewing" | "reporting" | "communication" | "condition";
493
493
  id: string;
494
494
  schemaVersion: "treeseed.execution-node/v1";
495
495
  projectId: string;
@@ -498,14 +498,14 @@ export declare const executionNodeSchema: z.ZodEffects<z.ZodObject<{
498
498
  sourceRef: {
499
499
  id: string;
500
500
  model: string;
501
- store: "git" | "url" | "postgresql" | "treedx";
501
+ store: "git" | "treedx" | "postgresql" | "url";
502
502
  path?: string | undefined;
503
503
  repository?: string | undefined;
504
504
  commit?: string | undefined;
505
505
  digest?: string | undefined;
506
506
  anchor?: string | undefined;
507
- url?: string | undefined;
508
507
  revision?: number | undefined;
508
+ url?: string | undefined;
509
509
  startLine?: number | undefined;
510
510
  endLine?: number | undefined;
511
511
  };
@@ -513,61 +513,61 @@ export declare const executionNodeSchema: z.ZodEffects<z.ZodObject<{
513
513
  ruleRevision: number;
514
514
  graphRevisionCreated: number;
515
515
  graphRevisionUpdated: number;
516
- requiredCapabilities?: string[] | undefined;
517
- workspace?: "git" | "treedx" | "read-only" | undefined;
518
- agentClass?: string | undefined;
519
516
  estimate?: {
520
517
  minimumSeconds: number;
521
518
  expectedSeconds: number;
522
519
  maximumSeconds: number;
523
520
  rationale?: string | undefined;
524
521
  } | undefined;
522
+ agentClass?: string | undefined;
525
523
  workdayId?: string | undefined;
526
524
  workItemId?: string | undefined;
527
525
  authorityRefs?: {
528
526
  id: string;
529
527
  model: string;
530
- store: "git" | "url" | "postgresql" | "treedx";
528
+ store: "git" | "treedx" | "postgresql" | "url";
531
529
  path?: string | undefined;
532
530
  repository?: string | undefined;
533
531
  commit?: string | undefined;
534
532
  digest?: string | undefined;
535
533
  anchor?: string | undefined;
536
- url?: string | undefined;
537
534
  revision?: number | undefined;
535
+ url?: string | undefined;
538
536
  startLine?: number | undefined;
539
537
  endLine?: number | undefined;
540
538
  }[] | undefined;
539
+ requiredCapabilities?: string[] | undefined;
541
540
  acceptanceCriteria?: string[] | undefined;
541
+ workspace?: "git" | "read-only" | "treedx" | undefined;
542
+ maximumReviewCycles?: number | undefined;
543
+ requestedPermissions?: {
544
+ content: {
545
+ read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
546
+ write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
547
+ };
548
+ tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
549
+ } | undefined;
542
550
  condition?: {
543
- conditionType: "external" | "authority" | "question" | "lifecycle";
544
551
  subjectRef: {
545
552
  id: string;
546
553
  model: string;
547
- store: "git" | "url" | "postgresql" | "treedx";
554
+ store: "git" | "treedx" | "postgresql" | "url";
548
555
  path?: string | undefined;
549
556
  repository?: string | undefined;
550
557
  commit?: string | undefined;
551
558
  digest?: string | undefined;
552
559
  anchor?: string | undefined;
553
- url?: string | undefined;
554
560
  revision?: number | undefined;
561
+ url?: string | undefined;
555
562
  startLine?: number | undefined;
556
563
  endLine?: number | undefined;
557
564
  };
565
+ conditionType: "question" | "external" | "authority" | "lifecycle";
558
566
  expectedState: string;
559
567
  } | undefined;
560
- requestedPermissions?: {
561
- content: {
562
- read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
563
- write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
564
- };
565
- tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
566
- } | undefined;
567
- maximumReviewCycles?: number | undefined;
568
568
  }>, {
569
- status: "blocked" | "ready" | "stale" | "failed" | "running" | "completed" | "cancelled" | "proposed" | "assigned";
570
- kind: "planning" | "acting" | "estimating" | "reviewing" | "reporting" | "communication" | "condition";
569
+ status: "blocked" | "ready" | "completed" | "failed" | "running" | "cancelled" | "stale" | "proposed" | "assigned";
570
+ kind: "planning" | "estimating" | "acting" | "reviewing" | "reporting" | "communication" | "condition";
571
571
  id: string;
572
572
  schemaVersion: "treeseed.execution-node/v1";
573
573
  projectId: string;
@@ -576,14 +576,14 @@ export declare const executionNodeSchema: z.ZodEffects<z.ZodObject<{
576
576
  sourceRef: {
577
577
  id: string;
578
578
  model: string;
579
- store: "git" | "url" | "postgresql" | "treedx";
579
+ store: "git" | "treedx" | "postgresql" | "url";
580
580
  path?: string | undefined;
581
581
  repository?: string | undefined;
582
582
  commit?: string | undefined;
583
583
  digest?: string | undefined;
584
584
  anchor?: string | undefined;
585
- url?: string | undefined;
586
585
  revision?: number | undefined;
586
+ url?: string | undefined;
587
587
  startLine?: number | undefined;
588
588
  endLine?: number | undefined;
589
589
  };
@@ -591,61 +591,61 @@ export declare const executionNodeSchema: z.ZodEffects<z.ZodObject<{
591
591
  ruleRevision: number;
592
592
  graphRevisionCreated: number;
593
593
  graphRevisionUpdated: number;
594
- requiredCapabilities?: string[] | undefined;
595
- workspace?: "git" | "treedx" | "read-only" | undefined;
596
- agentClass?: string | undefined;
597
594
  estimate?: {
598
595
  minimumSeconds: number;
599
596
  expectedSeconds: number;
600
597
  maximumSeconds: number;
601
598
  rationale?: string | undefined;
602
599
  } | undefined;
600
+ agentClass?: string | undefined;
603
601
  workdayId?: string | undefined;
604
602
  workItemId?: string | undefined;
605
603
  authorityRefs?: {
606
604
  id: string;
607
605
  model: string;
608
- store: "git" | "url" | "postgresql" | "treedx";
606
+ store: "git" | "treedx" | "postgresql" | "url";
609
607
  path?: string | undefined;
610
608
  repository?: string | undefined;
611
609
  commit?: string | undefined;
612
610
  digest?: string | undefined;
613
611
  anchor?: string | undefined;
614
- url?: string | undefined;
615
612
  revision?: number | undefined;
613
+ url?: string | undefined;
616
614
  startLine?: number | undefined;
617
615
  endLine?: number | undefined;
618
616
  }[] | undefined;
617
+ requiredCapabilities?: string[] | undefined;
619
618
  acceptanceCriteria?: string[] | undefined;
619
+ workspace?: "git" | "read-only" | "treedx" | undefined;
620
+ maximumReviewCycles?: number | undefined;
621
+ requestedPermissions?: {
622
+ content: {
623
+ read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
624
+ write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
625
+ };
626
+ tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
627
+ } | undefined;
620
628
  condition?: {
621
- conditionType: "external" | "authority" | "question" | "lifecycle";
622
629
  subjectRef: {
623
630
  id: string;
624
631
  model: string;
625
- store: "git" | "url" | "postgresql" | "treedx";
632
+ store: "git" | "treedx" | "postgresql" | "url";
626
633
  path?: string | undefined;
627
634
  repository?: string | undefined;
628
635
  commit?: string | undefined;
629
636
  digest?: string | undefined;
630
637
  anchor?: string | undefined;
631
- url?: string | undefined;
632
638
  revision?: number | undefined;
639
+ url?: string | undefined;
633
640
  startLine?: number | undefined;
634
641
  endLine?: number | undefined;
635
642
  };
643
+ conditionType: "question" | "external" | "authority" | "lifecycle";
636
644
  expectedState: string;
637
645
  } | undefined;
638
- requestedPermissions?: {
639
- content: {
640
- read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
641
- write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
642
- };
643
- tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
644
- } | undefined;
645
- maximumReviewCycles?: number | undefined;
646
646
  }, {
647
- status: "blocked" | "ready" | "stale" | "failed" | "running" | "completed" | "cancelled" | "proposed" | "assigned";
648
- kind: "planning" | "acting" | "estimating" | "reviewing" | "reporting" | "communication" | "condition";
647
+ status: "blocked" | "ready" | "completed" | "failed" | "running" | "cancelled" | "stale" | "proposed" | "assigned";
648
+ kind: "planning" | "estimating" | "acting" | "reviewing" | "reporting" | "communication" | "condition";
649
649
  id: string;
650
650
  schemaVersion: "treeseed.execution-node/v1";
651
651
  projectId: string;
@@ -654,14 +654,14 @@ export declare const executionNodeSchema: z.ZodEffects<z.ZodObject<{
654
654
  sourceRef: {
655
655
  id: string;
656
656
  model: string;
657
- store: "git" | "url" | "postgresql" | "treedx";
657
+ store: "git" | "treedx" | "postgresql" | "url";
658
658
  path?: string | undefined;
659
659
  repository?: string | undefined;
660
660
  commit?: string | undefined;
661
661
  digest?: string | undefined;
662
662
  anchor?: string | undefined;
663
- url?: string | undefined;
664
663
  revision?: number | undefined;
664
+ url?: string | undefined;
665
665
  startLine?: number | undefined;
666
666
  endLine?: number | undefined;
667
667
  };
@@ -669,58 +669,58 @@ export declare const executionNodeSchema: z.ZodEffects<z.ZodObject<{
669
669
  ruleRevision: number;
670
670
  graphRevisionCreated: number;
671
671
  graphRevisionUpdated: number;
672
- requiredCapabilities?: string[] | undefined;
673
- workspace?: "git" | "treedx" | "read-only" | undefined;
674
- agentClass?: string | undefined;
675
672
  estimate?: {
676
673
  minimumSeconds: number;
677
674
  expectedSeconds: number;
678
675
  maximumSeconds: number;
679
676
  rationale?: string | undefined;
680
677
  } | undefined;
678
+ agentClass?: string | undefined;
681
679
  workdayId?: string | undefined;
682
680
  workItemId?: string | undefined;
683
681
  authorityRefs?: {
684
682
  id: string;
685
683
  model: string;
686
- store: "git" | "url" | "postgresql" | "treedx";
684
+ store: "git" | "treedx" | "postgresql" | "url";
687
685
  path?: string | undefined;
688
686
  repository?: string | undefined;
689
687
  commit?: string | undefined;
690
688
  digest?: string | undefined;
691
689
  anchor?: string | undefined;
692
- url?: string | undefined;
693
690
  revision?: number | undefined;
691
+ url?: string | undefined;
694
692
  startLine?: number | undefined;
695
693
  endLine?: number | undefined;
696
694
  }[] | undefined;
695
+ requiredCapabilities?: string[] | undefined;
697
696
  acceptanceCriteria?: string[] | undefined;
697
+ workspace?: "git" | "read-only" | "treedx" | undefined;
698
+ maximumReviewCycles?: number | undefined;
699
+ requestedPermissions?: {
700
+ content: {
701
+ read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
702
+ write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
703
+ };
704
+ tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
705
+ } | undefined;
698
706
  condition?: {
699
- conditionType: "external" | "authority" | "question" | "lifecycle";
700
707
  subjectRef: {
701
708
  id: string;
702
709
  model: string;
703
- store: "git" | "url" | "postgresql" | "treedx";
710
+ store: "git" | "treedx" | "postgresql" | "url";
704
711
  path?: string | undefined;
705
712
  repository?: string | undefined;
706
713
  commit?: string | undefined;
707
714
  digest?: string | undefined;
708
715
  anchor?: string | undefined;
709
- url?: string | undefined;
710
716
  revision?: number | undefined;
717
+ url?: string | undefined;
711
718
  startLine?: number | undefined;
712
719
  endLine?: number | undefined;
713
720
  };
721
+ conditionType: "question" | "external" | "authority" | "lifecycle";
714
722
  expectedState: string;
715
723
  } | undefined;
716
- requestedPermissions?: {
717
- content: {
718
- read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
719
- write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
720
- };
721
- tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
722
- } | undefined;
723
- maximumReviewCycles?: number | undefined;
724
724
  }>;
725
725
  export declare const executionEdgeSchema: z.ZodEffects<z.ZodObject<{
726
726
  schemaVersion: z.ZodLiteral<"treeseed.execution-edge/v1">;
@@ -728,7 +728,7 @@ export declare const executionEdgeSchema: z.ZodEffects<z.ZodObject<{
728
728
  teamId: z.ZodString;
729
729
  fromNodeId: z.ZodString;
730
730
  toNodeId: z.ZodString;
731
- provenance: z.ZodEnum<["profile-agent", "profile-event", "work-item", "review-pair", "governance"]>;
731
+ provenance: z.ZodEnum<["profile-agent", "profile-event", "work-item", "review-pair", "governance", "treedx-link"]>;
732
732
  sourceRef: z.ZodOptional<z.ZodEffects<z.ZodObject<{
733
733
  store: z.ZodEnum<["treedx", "postgresql", "git", "url"]>;
734
734
  model: z.ZodString;
@@ -745,53 +745,53 @@ export declare const executionEdgeSchema: z.ZodEffects<z.ZodObject<{
745
745
  }, "strict", z.ZodTypeAny, {
746
746
  id: string;
747
747
  model: string;
748
- store: "git" | "url" | "postgresql" | "treedx";
748
+ store: "git" | "treedx" | "postgresql" | "url";
749
749
  path?: string | undefined;
750
750
  repository?: string | undefined;
751
751
  commit?: string | undefined;
752
752
  digest?: string | undefined;
753
753
  anchor?: string | undefined;
754
- url?: string | undefined;
755
754
  revision?: number | undefined;
755
+ url?: string | undefined;
756
756
  startLine?: number | undefined;
757
757
  endLine?: number | undefined;
758
758
  }, {
759
759
  id: string;
760
760
  model: string;
761
- store: "git" | "url" | "postgresql" | "treedx";
761
+ store: "git" | "treedx" | "postgresql" | "url";
762
762
  path?: string | undefined;
763
763
  repository?: string | undefined;
764
764
  commit?: string | undefined;
765
765
  digest?: string | undefined;
766
766
  anchor?: string | undefined;
767
- url?: string | undefined;
768
767
  revision?: number | undefined;
768
+ url?: string | undefined;
769
769
  startLine?: number | undefined;
770
770
  endLine?: number | undefined;
771
771
  }>, {
772
772
  id: string;
773
773
  model: string;
774
- store: "git" | "url" | "postgresql" | "treedx";
774
+ store: "git" | "treedx" | "postgresql" | "url";
775
775
  path?: string | undefined;
776
776
  repository?: string | undefined;
777
777
  commit?: string | undefined;
778
778
  digest?: string | undefined;
779
779
  anchor?: string | undefined;
780
- url?: string | undefined;
781
780
  revision?: number | undefined;
781
+ url?: string | undefined;
782
782
  startLine?: number | undefined;
783
783
  endLine?: number | undefined;
784
784
  }, {
785
785
  id: string;
786
786
  model: string;
787
- store: "git" | "url" | "postgresql" | "treedx";
787
+ store: "git" | "treedx" | "postgresql" | "url";
788
788
  path?: string | undefined;
789
789
  repository?: string | undefined;
790
790
  commit?: string | undefined;
791
791
  digest?: string | undefined;
792
792
  anchor?: string | undefined;
793
- url?: string | undefined;
794
793
  revision?: number | undefined;
794
+ url?: string | undefined;
795
795
  startLine?: number | undefined;
796
796
  endLine?: number | undefined;
797
797
  }>>;
@@ -801,21 +801,21 @@ export declare const executionEdgeSchema: z.ZodEffects<z.ZodObject<{
801
801
  id: string;
802
802
  schemaVersion: "treeseed.execution-edge/v1";
803
803
  teamId: string;
804
- provenance: "governance" | "profile-agent" | "profile-event" | "work-item" | "review-pair";
804
+ provenance: "governance" | "profile-agent" | "profile-event" | "work-item" | "review-pair" | "treedx-link";
805
805
  graphRevisionCreated: number;
806
806
  fromNodeId: string;
807
807
  toNodeId: string;
808
808
  sourceRef?: {
809
809
  id: string;
810
810
  model: string;
811
- store: "git" | "url" | "postgresql" | "treedx";
811
+ store: "git" | "treedx" | "postgresql" | "url";
812
812
  path?: string | undefined;
813
813
  repository?: string | undefined;
814
814
  commit?: string | undefined;
815
815
  digest?: string | undefined;
816
816
  anchor?: string | undefined;
817
- url?: string | undefined;
818
817
  revision?: number | undefined;
818
+ url?: string | undefined;
819
819
  startLine?: number | undefined;
820
820
  endLine?: number | undefined;
821
821
  } | undefined;
@@ -824,21 +824,21 @@ export declare const executionEdgeSchema: z.ZodEffects<z.ZodObject<{
824
824
  id: string;
825
825
  schemaVersion: "treeseed.execution-edge/v1";
826
826
  teamId: string;
827
- provenance: "governance" | "profile-agent" | "profile-event" | "work-item" | "review-pair";
827
+ provenance: "governance" | "profile-agent" | "profile-event" | "work-item" | "review-pair" | "treedx-link";
828
828
  graphRevisionCreated: number;
829
829
  fromNodeId: string;
830
830
  toNodeId: string;
831
831
  sourceRef?: {
832
832
  id: string;
833
833
  model: string;
834
- store: "git" | "url" | "postgresql" | "treedx";
834
+ store: "git" | "treedx" | "postgresql" | "url";
835
835
  path?: string | undefined;
836
836
  repository?: string | undefined;
837
837
  commit?: string | undefined;
838
838
  digest?: string | undefined;
839
839
  anchor?: string | undefined;
840
- url?: string | undefined;
841
840
  revision?: number | undefined;
841
+ url?: string | undefined;
842
842
  startLine?: number | undefined;
843
843
  endLine?: number | undefined;
844
844
  } | undefined;
@@ -847,21 +847,21 @@ export declare const executionEdgeSchema: z.ZodEffects<z.ZodObject<{
847
847
  id: string;
848
848
  schemaVersion: "treeseed.execution-edge/v1";
849
849
  teamId: string;
850
- provenance: "governance" | "profile-agent" | "profile-event" | "work-item" | "review-pair";
850
+ provenance: "governance" | "profile-agent" | "profile-event" | "work-item" | "review-pair" | "treedx-link";
851
851
  graphRevisionCreated: number;
852
852
  fromNodeId: string;
853
853
  toNodeId: string;
854
854
  sourceRef?: {
855
855
  id: string;
856
856
  model: string;
857
- store: "git" | "url" | "postgresql" | "treedx";
857
+ store: "git" | "treedx" | "postgresql" | "url";
858
858
  path?: string | undefined;
859
859
  repository?: string | undefined;
860
860
  commit?: string | undefined;
861
861
  digest?: string | undefined;
862
862
  anchor?: string | undefined;
863
- url?: string | undefined;
864
863
  revision?: number | undefined;
864
+ url?: string | undefined;
865
865
  startLine?: number | undefined;
866
866
  endLine?: number | undefined;
867
867
  } | undefined;
@@ -870,21 +870,21 @@ export declare const executionEdgeSchema: z.ZodEffects<z.ZodObject<{
870
870
  id: string;
871
871
  schemaVersion: "treeseed.execution-edge/v1";
872
872
  teamId: string;
873
- provenance: "governance" | "profile-agent" | "profile-event" | "work-item" | "review-pair";
873
+ provenance: "governance" | "profile-agent" | "profile-event" | "work-item" | "review-pair" | "treedx-link";
874
874
  graphRevisionCreated: number;
875
875
  fromNodeId: string;
876
876
  toNodeId: string;
877
877
  sourceRef?: {
878
878
  id: string;
879
879
  model: string;
880
- store: "git" | "url" | "postgresql" | "treedx";
880
+ store: "git" | "treedx" | "postgresql" | "url";
881
881
  path?: string | undefined;
882
882
  repository?: string | undefined;
883
883
  commit?: string | undefined;
884
884
  digest?: string | undefined;
885
885
  anchor?: string | undefined;
886
- url?: string | undefined;
887
886
  revision?: number | undefined;
887
+ url?: string | undefined;
888
888
  startLine?: number | undefined;
889
889
  endLine?: number | undefined;
890
890
  } | undefined;
@@ -900,16 +900,16 @@ export declare const graphChangeSetSchema: z.ZodObject<{
900
900
  addedEdges: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
901
901
  }, "strict", z.ZodTypeAny, {
902
902
  blocked: string[];
903
- stale: string[];
904
903
  completed: string[];
904
+ stale: string[];
905
905
  added: string[];
906
906
  changed: string[];
907
907
  removedEdges: string[];
908
908
  addedEdges: string[];
909
909
  }, {
910
910
  blocked: string[];
911
- stale: string[];
912
911
  completed: string[];
912
+ stale: string[];
913
913
  added: string[];
914
914
  changed: string[];
915
915
  removedEdges: string[];
@@ -936,53 +936,53 @@ export declare const graphRevisionSchema: z.ZodObject<{
936
936
  }, "strict", z.ZodTypeAny, {
937
937
  id: string;
938
938
  model: string;
939
- store: "git" | "url" | "postgresql" | "treedx";
939
+ store: "git" | "treedx" | "postgresql" | "url";
940
940
  path?: string | undefined;
941
941
  repository?: string | undefined;
942
942
  commit?: string | undefined;
943
943
  digest?: string | undefined;
944
944
  anchor?: string | undefined;
945
- url?: string | undefined;
946
945
  revision?: number | undefined;
946
+ url?: string | undefined;
947
947
  startLine?: number | undefined;
948
948
  endLine?: number | undefined;
949
949
  }, {
950
950
  id: string;
951
951
  model: string;
952
- store: "git" | "url" | "postgresql" | "treedx";
952
+ store: "git" | "treedx" | "postgresql" | "url";
953
953
  path?: string | undefined;
954
954
  repository?: string | undefined;
955
955
  commit?: string | undefined;
956
956
  digest?: string | undefined;
957
957
  anchor?: string | undefined;
958
- url?: string | undefined;
959
958
  revision?: number | undefined;
959
+ url?: string | undefined;
960
960
  startLine?: number | undefined;
961
961
  endLine?: number | undefined;
962
962
  }>, {
963
963
  id: string;
964
964
  model: string;
965
- store: "git" | "url" | "postgresql" | "treedx";
965
+ store: "git" | "treedx" | "postgresql" | "url";
966
966
  path?: string | undefined;
967
967
  repository?: string | undefined;
968
968
  commit?: string | undefined;
969
969
  digest?: string | undefined;
970
970
  anchor?: string | undefined;
971
- url?: string | undefined;
972
971
  revision?: number | undefined;
972
+ url?: string | undefined;
973
973
  startLine?: number | undefined;
974
974
  endLine?: number | undefined;
975
975
  }, {
976
976
  id: string;
977
977
  model: string;
978
- store: "git" | "url" | "postgresql" | "treedx";
978
+ store: "git" | "treedx" | "postgresql" | "url";
979
979
  path?: string | undefined;
980
980
  repository?: string | undefined;
981
981
  commit?: string | undefined;
982
982
  digest?: string | undefined;
983
983
  anchor?: string | undefined;
984
- url?: string | undefined;
985
984
  revision?: number | undefined;
985
+ url?: string | undefined;
986
986
  startLine?: number | undefined;
987
987
  endLine?: number | undefined;
988
988
  }>, "many">;
@@ -997,16 +997,16 @@ export declare const graphRevisionSchema: z.ZodObject<{
997
997
  addedEdges: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
998
998
  }, "strict", z.ZodTypeAny, {
999
999
  blocked: string[];
1000
- stale: string[];
1001
1000
  completed: string[];
1001
+ stale: string[];
1002
1002
  added: string[];
1003
1003
  changed: string[];
1004
1004
  removedEdges: string[];
1005
1005
  addedEdges: string[];
1006
1006
  }, {
1007
1007
  blocked: string[];
1008
- stale: string[];
1009
1008
  completed: string[];
1009
+ stale: string[];
1010
1010
  added: string[];
1011
1011
  changed: string[];
1012
1012
  removedEdges: string[];
@@ -1020,8 +1020,8 @@ export declare const graphRevisionSchema: z.ZodObject<{
1020
1020
  revision: number;
1021
1021
  changes: {
1022
1022
  blocked: string[];
1023
- stale: string[];
1024
1023
  completed: string[];
1024
+ stale: string[];
1025
1025
  added: string[];
1026
1026
  changed: string[];
1027
1027
  removedEdges: string[];
@@ -1031,14 +1031,14 @@ export declare const graphRevisionSchema: z.ZodObject<{
1031
1031
  changedSourceRefs: {
1032
1032
  id: string;
1033
1033
  model: string;
1034
- store: "git" | "url" | "postgresql" | "treedx";
1034
+ store: "git" | "treedx" | "postgresql" | "url";
1035
1035
  path?: string | undefined;
1036
1036
  repository?: string | undefined;
1037
1037
  commit?: string | undefined;
1038
1038
  digest?: string | undefined;
1039
1039
  anchor?: string | undefined;
1040
- url?: string | undefined;
1041
1040
  revision?: number | undefined;
1041
+ url?: string | undefined;
1042
1042
  startLine?: number | undefined;
1043
1043
  endLine?: number | undefined;
1044
1044
  }[];
@@ -1050,8 +1050,8 @@ export declare const graphRevisionSchema: z.ZodObject<{
1050
1050
  revision: number;
1051
1051
  changes: {
1052
1052
  blocked: string[];
1053
- stale: string[];
1054
1053
  completed: string[];
1054
+ stale: string[];
1055
1055
  added: string[];
1056
1056
  changed: string[];
1057
1057
  removedEdges: string[];
@@ -1061,14 +1061,14 @@ export declare const graphRevisionSchema: z.ZodObject<{
1061
1061
  changedSourceRefs: {
1062
1062
  id: string;
1063
1063
  model: string;
1064
- store: "git" | "url" | "postgresql" | "treedx";
1064
+ store: "git" | "treedx" | "postgresql" | "url";
1065
1065
  path?: string | undefined;
1066
1066
  repository?: string | undefined;
1067
1067
  commit?: string | undefined;
1068
1068
  digest?: string | undefined;
1069
1069
  anchor?: string | undefined;
1070
- url?: string | undefined;
1071
1070
  revision?: number | undefined;
1071
+ url?: string | undefined;
1072
1072
  startLine?: number | undefined;
1073
1073
  endLine?: number | undefined;
1074
1074
  }[];