@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
@@ -26,131 +26,131 @@ export declare function validatePortableContentData(model: string, value: unknow
26
26
  schemaVersion: "treeseed.agent/v1";
27
27
  capabilities: string[];
28
28
  purpose: string;
29
+ responsibilities: string[];
30
+ agentClass: string;
29
31
  context: {
30
32
  include: string[];
31
33
  };
32
- agentClass: string;
33
- responsibilities: string[];
34
34
  activityProfiles: {
35
35
  planning?: {
36
- prompt: {
37
- system: string;
38
- instructions?: string[] | undefined;
39
- };
40
36
  handler: string;
41
37
  permissions: {
42
38
  content: {
43
- read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
44
- write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
39
+ read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
40
+ write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
45
41
  };
46
- tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
42
+ tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
43
+ };
44
+ prompt: {
45
+ system: string;
46
+ instructions?: string[] | undefined;
47
47
  };
48
48
  dependsOn?: {
49
49
  agents?: string[] | undefined;
50
50
  events?: "workday-closing"[] | undefined;
51
51
  } | undefined;
52
- parameters?: Record<string, unknown> | undefined;
53
52
  additionalContext?: string[] | undefined;
53
+ parameters?: Record<string, unknown> | undefined;
54
54
  } | undefined;
55
- acting?: {
56
- prompt: {
57
- system: string;
58
- instructions?: string[] | undefined;
59
- };
55
+ estimating?: {
60
56
  handler: string;
61
57
  permissions: {
62
58
  content: {
63
- read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
64
- write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
59
+ read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
60
+ write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
65
61
  };
66
- tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
62
+ tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
63
+ };
64
+ prompt: {
65
+ system: string;
66
+ instructions?: string[] | undefined;
67
67
  };
68
68
  dependsOn?: {
69
69
  agents?: string[] | undefined;
70
70
  events?: "workday-closing"[] | undefined;
71
71
  } | undefined;
72
- parameters?: Record<string, unknown> | undefined;
73
72
  additionalContext?: string[] | undefined;
73
+ parameters?: Record<string, unknown> | undefined;
74
74
  } | undefined;
75
- estimating?: {
76
- prompt: {
77
- system: string;
78
- instructions?: string[] | undefined;
79
- };
75
+ acting?: {
80
76
  handler: string;
81
77
  permissions: {
82
78
  content: {
83
- read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
84
- write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
79
+ read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
80
+ write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
85
81
  };
86
- tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
82
+ tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
83
+ };
84
+ prompt: {
85
+ system: string;
86
+ instructions?: string[] | undefined;
87
87
  };
88
88
  dependsOn?: {
89
89
  agents?: string[] | undefined;
90
90
  events?: "workday-closing"[] | undefined;
91
91
  } | undefined;
92
- parameters?: Record<string, unknown> | undefined;
93
92
  additionalContext?: string[] | undefined;
93
+ parameters?: Record<string, unknown> | undefined;
94
94
  } | undefined;
95
95
  reviewing?: {
96
- prompt: {
97
- system: string;
98
- instructions?: string[] | undefined;
99
- };
100
96
  handler: string;
101
97
  permissions: {
102
98
  content: {
103
- read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
104
- write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
99
+ read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
100
+ write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
105
101
  };
106
- tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
102
+ tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
103
+ };
104
+ prompt: {
105
+ system: string;
106
+ instructions?: string[] | undefined;
107
107
  };
108
108
  dependsOn?: {
109
109
  agents?: string[] | undefined;
110
110
  events?: "workday-closing"[] | undefined;
111
111
  } | undefined;
112
- parameters?: Record<string, unknown> | undefined;
113
112
  additionalContext?: string[] | undefined;
113
+ parameters?: Record<string, unknown> | undefined;
114
114
  } | undefined;
115
115
  reporting?: {
116
- prompt: {
117
- system: string;
118
- instructions?: string[] | undefined;
119
- };
120
116
  handler: string;
121
117
  permissions: {
122
118
  content: {
123
- read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
124
- write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
119
+ read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
120
+ write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
125
121
  };
126
- tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
122
+ tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
123
+ };
124
+ prompt: {
125
+ system: string;
126
+ instructions?: string[] | undefined;
127
127
  };
128
128
  dependsOn?: {
129
129
  agents?: string[] | undefined;
130
130
  events?: "workday-closing"[] | undefined;
131
131
  } | undefined;
132
- parameters?: Record<string, unknown> | undefined;
133
132
  additionalContext?: string[] | undefined;
133
+ parameters?: Record<string, unknown> | undefined;
134
134
  } | undefined;
135
135
  chat?: {
136
- prompt: {
137
- system: string;
138
- instructions?: string[] | undefined;
139
- };
140
136
  handler: string;
141
137
  permissions: {
142
138
  content: {
143
- read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
144
- write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
139
+ read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
140
+ write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
145
141
  };
146
- tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
142
+ tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
143
+ };
144
+ prompt: {
145
+ system: string;
146
+ instructions?: string[] | undefined;
147
147
  };
148
148
  dependsOn?: {
149
149
  agents?: string[] | undefined;
150
150
  events?: "workday-closing"[] | undefined;
151
151
  } | undefined;
152
- parameters?: Record<string, unknown> | undefined;
153
152
  additionalContext?: string[] | undefined;
153
+ parameters?: Record<string, unknown> | undefined;
154
154
  } | undefined;
155
155
  };
156
156
  } | {
@@ -158,13 +158,13 @@ export declare function validatePortableContentData(model: string, value: unknow
158
158
  slug: string;
159
159
  visibility: "team" | "public" | "private" | "authenticated";
160
160
  projectId: string;
161
- environment: string;
162
- startedAt: Date;
163
161
  summary: string;
164
- workDayId: string;
165
- metadata: Record<string, unknown>;
162
+ startedAt: Date;
166
163
  title: string;
164
+ metadata: Record<string, unknown>;
165
+ environment: string;
167
166
  changedFiles: string[];
167
+ workDayId: string;
168
168
  reportVersion: string;
169
169
  reportKind: string;
170
170
  workdayState: string;
@@ -176,13 +176,13 @@ export declare function validatePortableContentData(model: string, value: unknow
176
176
  priorityItemCount: number;
177
177
  priorityItems: {
178
178
  id: string;
179
- model: string;
180
179
  priority: number;
180
+ model: string;
181
181
  status?: string | undefined;
182
182
  slug?: string | undefined;
183
- reason?: string | undefined;
184
183
  title?: string | undefined;
185
184
  estimatedCredits?: number | undefined;
185
+ reason?: string | undefined;
186
186
  }[];
187
187
  totalTasks: number;
188
188
  completedTasks: number;
@@ -195,10 +195,10 @@ export declare function validatePortableContentData(model: string, value: unknow
195
195
  type?: string | undefined;
196
196
  state?: string | undefined;
197
197
  createdAt?: Date | undefined;
198
- completedAt?: Date | undefined;
199
- idempotencyKey?: string | undefined;
200
- startedAt?: Date | undefined;
201
198
  priority?: number | undefined;
199
+ startedAt?: Date | undefined;
200
+ idempotencyKey?: string | undefined;
201
+ completedAt?: Date | undefined;
202
202
  agentId?: string | undefined;
203
203
  lastErrorCode?: string | null | undefined;
204
204
  lastErrorMessage?: string | null | undefined;
@@ -210,8 +210,8 @@ export declare function validatePortableContentData(model: string, value: unknow
210
210
  deploymentKind: string;
211
211
  id?: string | undefined;
212
212
  createdAt?: Date | undefined;
213
- startedAt?: Date | undefined;
214
213
  commitSha?: string | null | undefined;
214
+ startedAt?: Date | undefined;
215
215
  finishedAt?: Date | undefined;
216
216
  sourceRef?: string | null | undefined;
217
217
  releaseTag?: string | null | undefined;
@@ -223,13 +223,12 @@ export declare function validatePortableContentData(model: string, value: unknow
223
223
  endedAt?: Date | null | undefined;
224
224
  prioritySnapshotId?: string | null | undefined;
225
225
  } | {
226
- status: "live" | "archived" | "draft";
226
+ status: "archived" | "draft" | "live";
227
227
  audience: string[];
228
228
  slug: string;
229
- description: string;
230
229
  summary: string;
231
230
  title: string;
232
- relatedObjectives: string[];
231
+ description: string;
233
232
  featured: boolean;
234
233
  listingEnabled: boolean;
235
234
  category: string;
@@ -264,20 +263,21 @@ export declare function validatePortableContentData(model: string, value: unknow
264
263
  supportsReconcile: boolean;
265
264
  };
266
265
  offer: {
267
- priceModel: "private" | "external" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription" | "subscription_updates" | "professional_hosting" | "scoped_contract";
268
- support?: string | undefined;
266
+ priceModel: "private" | "subscription" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription_updates" | "professional_hosting" | "scoped_contract" | "external";
269
267
  license?: string | undefined;
268
+ support?: string | undefined;
270
269
  };
271
270
  relatedBooks: string[];
272
271
  relatedKnowledge: string[];
272
+ relatedObjectives: string[];
273
273
  teamId?: string | undefined;
274
274
  sourceRef?: string | undefined;
275
275
  } | {
276
- kind: "workday" | "handler" | "api" | "spec" | "message_chain" | "manager_worker" | "ui" | "context-query" | "context-query-set";
276
+ kind: "workday" | "handler" | "spec" | "message_chain" | "manager_worker" | "api" | "ui" | "context-query" | "context-query-set";
277
277
  agent: string;
278
278
  id: string;
279
- trigger: Record<string, unknown>;
280
279
  groupIds: string[];
280
+ trigger: Record<string, unknown>;
281
281
  expect: {
282
282
  semanticArtifacts?: {
283
283
  id: string;
@@ -331,21 +331,20 @@ export declare function validatePortableContentData(model: string, value: unknow
331
331
  scope: "shared-team";
332
332
  projectIds: string[];
333
333
  })[];
334
+ query: string;
335
+ revision: number;
334
336
  purpose: string;
335
- target: {
336
- kind: "code" | "content" | "graph" | "mixed";
337
- models?: string[] | undefined;
338
- paths?: string[] | undefined;
339
- };
337
+ priority: number;
338
+ title: string;
340
339
  description: string;
341
- revision: number;
342
340
  requirement: "required" | "preferred";
343
- format: "map" | "sources" | "list" | "summary" | "full" | "brief";
344
- query: string;
345
341
  depth: number;
346
- title: string;
347
- priority: number;
348
342
  maturity: "draft" | "validated" | "simulated" | "proven";
343
+ target: {
344
+ kind: "code" | "content" | "mixed" | "graph";
345
+ models?: string[] | undefined;
346
+ paths?: string[] | undefined;
347
+ };
349
348
  relations: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[];
350
349
  resultLimit: number;
351
350
  contextBudget: {
@@ -353,6 +352,7 @@ export declare function validatePortableContentData(model: string, value: unknow
353
352
  maxCharacters?: number | undefined;
354
353
  };
355
354
  tokenBudget: number;
355
+ format: "map" | "sources" | "summary" | "list" | "brief" | "full";
356
356
  summarization: "provider" | "none" | "deterministic";
357
357
  filters: Record<string, unknown>;
358
358
  scope?: string | undefined;
@@ -361,9 +361,9 @@ export declare function validatePortableContentData(model: string, value: unknow
361
361
  maximumBudget?: number | undefined;
362
362
  } | {
363
363
  id: string;
364
- description: string;
365
364
  revision: number;
366
365
  title: string;
366
+ description: string;
367
367
  queryRefs: {
368
368
  id: string;
369
369
  revision: number;
@@ -373,9 +373,9 @@ export declare function validatePortableContentData(model: string, value: unknow
373
373
  kind: "message" | "status" | "summary" | "plan";
374
374
  id: string;
375
375
  variables: string[];
376
- description: string;
377
376
  revision: number;
378
377
  title: string;
378
+ description: string;
379
379
  instructions: string;
380
380
  appliesToProfiles: string[];
381
381
  outputSkeleton?: string | undefined;
@@ -383,8 +383,8 @@ export declare function validatePortableContentData(model: string, value: unknow
383
383
  status: "active" | "archived";
384
384
  id: string;
385
385
  slug: string;
386
- description: string;
387
386
  title: string;
387
+ description: string;
388
388
  groupIds: string[];
389
389
  parentTopicId?: string | undefined;
390
390
  } | {
@@ -393,7 +393,6 @@ export declare function validatePortableContentData(model: string, value: unknow
393
393
  projectId: string;
394
394
  teamId: string;
395
395
  createdAt: Date;
396
- outcome: "passed" | "failed" | "needs-revision";
397
396
  title: string;
398
397
  agentId: string;
399
398
  contextQueryRefs: {
@@ -414,15 +413,16 @@ export declare function validatePortableContentData(model: string, value: unknow
414
413
  revision: number;
415
414
  }[];
416
415
  evaluatorId: string;
416
+ outcome: "failed" | "passed" | "needs-revision";
417
417
  criteria: {
418
418
  id: string;
419
- outcome: "passed" | "failed" | "not-applicable";
419
+ outcome: "failed" | "passed" | "not-applicable";
420
420
  evidenceRefs: string[];
421
421
  notes?: string | undefined;
422
422
  }[];
423
423
  assignmentId?: string | undefined;
424
- description?: string | undefined;
425
424
  updatedAt?: Date | undefined;
425
+ description?: string | undefined;
426
426
  workdayId?: string | undefined;
427
427
  score?: number | undefined;
428
428
  } | {
@@ -430,68 +430,68 @@ export declare function validatePortableContentData(model: string, value: unknow
430
430
  id: string;
431
431
  schemaVersion: "treeseed.proposal/v1";
432
432
  projectId: string;
433
- request: string;
434
433
  title: string;
434
+ request: string;
435
435
  summary?: string | undefined;
436
436
  evidenceRefs?: {
437
437
  id: string;
438
438
  model: string;
439
- store: "git" | "url" | "postgresql" | "treedx";
439
+ store: "git" | "treedx" | "postgresql" | "url";
440
440
  path?: string | undefined;
441
441
  repository?: string | undefined;
442
442
  commit?: string | undefined;
443
443
  digest?: string | undefined;
444
444
  anchor?: string | undefined;
445
- url?: string | undefined;
446
445
  revision?: number | undefined;
446
+ url?: string | undefined;
447
447
  startLine?: number | undefined;
448
448
  endLine?: number | undefined;
449
449
  }[] | undefined;
450
450
  objectiveRefs?: {
451
451
  id: string;
452
452
  model: string;
453
- store: "git" | "url" | "postgresql" | "treedx";
453
+ store: "git" | "treedx" | "postgresql" | "url";
454
454
  path?: string | undefined;
455
455
  repository?: string | undefined;
456
456
  commit?: string | undefined;
457
457
  digest?: string | undefined;
458
458
  anchor?: string | undefined;
459
- url?: string | undefined;
460
459
  revision?: number | undefined;
460
+ url?: string | undefined;
461
461
  startLine?: number | undefined;
462
462
  endLine?: number | undefined;
463
463
  }[] | undefined;
464
464
  discussionRef?: {
465
465
  id: string;
466
466
  model: string;
467
- store: "git" | "url" | "postgresql" | "treedx";
467
+ store: "git" | "treedx" | "postgresql" | "url";
468
468
  path?: string | undefined;
469
469
  repository?: string | undefined;
470
470
  commit?: string | undefined;
471
471
  digest?: string | undefined;
472
472
  anchor?: string | undefined;
473
- url?: string | undefined;
474
473
  revision?: number | undefined;
474
+ url?: string | undefined;
475
475
  startLine?: number | undefined;
476
476
  endLine?: number | undefined;
477
477
  } | undefined;
478
478
  executionPlan?: {
479
479
  workItems: {
480
480
  id: string;
481
- requiredCapabilities: string[];
482
- dependsOn: string[];
483
- activity: "acting";
484
481
  objective: string;
485
- workspace: "git" | "treedx" | "read-only";
486
- review: "required" | "none";
487
482
  agentClass: string;
483
+ review: "required" | "none";
484
+ dependsOn: string[];
485
+ activity: "acting";
486
+ requiredCapabilities: string[];
488
487
  acceptanceCriteria: string[];
488
+ workspace: "git" | "read-only" | "treedx";
489
489
  requestedPermissions: {
490
490
  content: {
491
- read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
492
- write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
491
+ read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
492
+ write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
493
493
  };
494
- tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
494
+ tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
495
495
  };
496
496
  estimate?: {
497
497
  minimumSeconds: number;
@@ -502,59 +502,90 @@ export declare function validatePortableContentData(model: string, value: unknow
502
502
  contextRefs?: {
503
503
  id: string;
504
504
  model: string;
505
- store: "git" | "url" | "postgresql" | "treedx";
505
+ store: "git" | "treedx" | "postgresql" | "url";
506
506
  path?: string | undefined;
507
507
  repository?: string | undefined;
508
508
  commit?: string | undefined;
509
509
  digest?: string | undefined;
510
510
  anchor?: string | undefined;
511
- url?: string | undefined;
512
511
  revision?: number | undefined;
512
+ url?: string | undefined;
513
513
  startLine?: number | undefined;
514
514
  endLine?: number | undefined;
515
515
  }[] | undefined;
516
- maximumReviewCycles?: number | undefined;
517
516
  reviewEstimate?: {
518
517
  minimumSeconds: number;
519
518
  expectedSeconds: number;
520
519
  maximumSeconds: number;
521
520
  rationale?: string | undefined;
522
521
  } | undefined;
522
+ maximumReviewCycles?: number | undefined;
523
523
  }[];
524
524
  } | undefined;
525
525
  } | {
526
526
  title: string;
527
- status?: "live" | "planned" | "in progress" | "exploratory" | "speculative" | undefined;
527
+ status?: "planned" | "live" | "in progress" | "exploratory" | "speculative" | undefined;
528
528
  audience?: string[] | undefined;
529
529
  slug?: string | undefined;
530
- description?: string | undefined;
531
- stage?: string | undefined;
532
530
  summary?: string | undefined;
533
531
  updated_at?: Date | undefined;
532
+ description?: string | undefined;
534
533
  page_layout?: "article" | "bridge" | undefined;
534
+ stage?: string | undefined;
535
535
  } | {
536
536
  id: string;
537
537
  schemaVersion: "treeseed.note/v1";
538
538
  projectId: string;
539
539
  createdAt: string;
540
- classification: "research" | "feedback" | "workday-report" | "general";
541
540
  body: string;
542
541
  subjectRefs: {
543
542
  id: string;
544
543
  model: string;
545
- store: "git" | "url" | "postgresql" | "treedx";
544
+ store: "git" | "treedx" | "postgresql" | "url";
546
545
  path?: string | undefined;
547
546
  repository?: string | undefined;
548
547
  commit?: string | undefined;
549
548
  digest?: string | undefined;
550
549
  anchor?: string | undefined;
551
- url?: string | undefined;
552
550
  revision?: number | undefined;
551
+ url?: string | undefined;
553
552
  startLine?: number | undefined;
554
553
  endLine?: number | undefined;
555
554
  }[];
555
+ classification: "research" | "general" | "feedback" | "workday-report";
556
+ links?: {
557
+ relation: "depends_on";
558
+ from: {
559
+ id: string;
560
+ model: string;
561
+ store: "git" | "treedx" | "postgresql" | "url";
562
+ path?: string | undefined;
563
+ repository?: string | undefined;
564
+ commit?: string | undefined;
565
+ digest?: string | undefined;
566
+ anchor?: string | undefined;
567
+ revision?: number | undefined;
568
+ url?: string | undefined;
569
+ startLine?: number | undefined;
570
+ endLine?: number | undefined;
571
+ };
572
+ to: {
573
+ id: string;
574
+ model: string;
575
+ store: "git" | "treedx" | "postgresql" | "url";
576
+ path?: string | undefined;
577
+ repository?: string | undefined;
578
+ commit?: string | undefined;
579
+ digest?: string | undefined;
580
+ anchor?: string | undefined;
581
+ revision?: number | undefined;
582
+ url?: string | undefined;
583
+ startLine?: number | undefined;
584
+ endLine?: number | undefined;
585
+ };
586
+ }[] | undefined;
556
587
  } | {
557
- status: "open" | "answered" | "withdrawn";
588
+ status: "open" | "withdrawn" | "answered";
558
589
  id: string;
559
590
  schemaVersion: "treeseed.question/v1";
560
591
  projectId: string;
@@ -562,51 +593,56 @@ export declare function validatePortableContentData(model: string, value: unknow
562
593
  subjectRef: {
563
594
  id: string;
564
595
  model: string;
565
- store: "git" | "url" | "postgresql" | "treedx";
596
+ store: "git" | "treedx" | "postgresql" | "url";
566
597
  path?: string | undefined;
567
598
  repository?: string | undefined;
568
599
  commit?: string | undefined;
569
600
  digest?: string | undefined;
570
601
  anchor?: string | undefined;
571
- url?: string | undefined;
572
602
  revision?: number | undefined;
603
+ url?: string | undefined;
573
604
  startLine?: number | undefined;
574
605
  endLine?: number | undefined;
575
606
  };
576
607
  askedAt: string;
577
- answer?: string | undefined;
578
608
  addressedTo?: string[] | undefined;
609
+ answer?: string | undefined;
579
610
  answerRefs?: {
580
611
  id: string;
581
612
  model: string;
582
- store: "git" | "url" | "postgresql" | "treedx";
613
+ store: "git" | "treedx" | "postgresql" | "url";
583
614
  path?: string | undefined;
584
615
  repository?: string | undefined;
585
616
  commit?: string | undefined;
586
617
  digest?: string | undefined;
587
618
  anchor?: string | undefined;
588
- url?: string | undefined;
589
619
  revision?: number | undefined;
620
+ url?: string | undefined;
590
621
  startLine?: number | undefined;
591
622
  endLine?: number | undefined;
592
623
  }[] | undefined;
593
624
  answeredAt?: string | undefined;
594
625
  } | {
626
+ status: "active" | "achieved" | "abandoned";
627
+ id: string;
628
+ schemaVersion: "treeseed.objective/v1";
629
+ projectId: string;
595
630
  title: string;
596
- status?: "live" | "planned" | "in progress" | "exploratory" | "speculative" | undefined;
597
- date?: Date | undefined;
598
- description?: string | undefined;
599
- summary?: string | undefined;
600
- draft?: boolean | undefined;
601
- time_horizon?: "near-term" | "mid-term" | "long-term" | undefined;
602
- motivation?: string | undefined;
603
- primary_contributor?: string | undefined;
604
- group_ids?: string[] | undefined;
605
- related_objectives?: string[] | undefined;
606
- related_questions?: string[] | undefined;
607
- related_proposals?: string[] | undefined;
608
- related_decisions?: string[] | undefined;
609
- related_books?: string[] | undefined;
631
+ outcome: string;
632
+ evidenceRefs?: {
633
+ id: string;
634
+ model: string;
635
+ store: "git" | "treedx" | "postgresql" | "url";
636
+ path?: string | undefined;
637
+ repository?: string | undefined;
638
+ commit?: string | undefined;
639
+ digest?: string | undefined;
640
+ anchor?: string | undefined;
641
+ revision?: number | undefined;
642
+ url?: string | undefined;
643
+ startLine?: number | undefined;
644
+ endLine?: number | undefined;
645
+ }[] | undefined;
610
646
  } | {
611
647
  id: string;
612
648
  schemaVersion: "treeseed.decision/v1";
@@ -615,45 +651,45 @@ export declare function validatePortableContentData(model: string, value: unknow
615
651
  authorityRefs: {
616
652
  id: string;
617
653
  model: string;
618
- store: "git" | "url" | "postgresql" | "treedx";
654
+ store: "git" | "treedx" | "postgresql" | "url";
619
655
  path?: string | undefined;
620
656
  repository?: string | undefined;
621
657
  commit?: string | undefined;
622
658
  digest?: string | undefined;
623
659
  anchor?: string | undefined;
624
- url?: string | undefined;
625
660
  revision?: number | undefined;
661
+ url?: string | undefined;
626
662
  startLine?: number | undefined;
627
663
  endLine?: number | undefined;
628
664
  }[];
629
665
  subjectRef: {
630
666
  id: string;
631
667
  model: string;
632
- store: "git" | "url" | "postgresql" | "treedx";
668
+ store: "git" | "treedx" | "postgresql" | "url";
633
669
  path?: string | undefined;
634
670
  repository?: string | undefined;
635
671
  commit?: string | undefined;
636
672
  digest?: string | undefined;
637
673
  anchor?: string | undefined;
638
- url?: string | undefined;
639
674
  revision?: number | undefined;
675
+ url?: string | undefined;
640
676
  startLine?: number | undefined;
641
677
  endLine?: number | undefined;
642
678
  };
643
- disposition: "approved" | "rejected" | "deferred" | "superseded" | "request-changes";
644
679
  decisionClass: "proposal" | "work-review" | "publication";
645
- decisionMethod: "authority" | "vote" | "approval";
680
+ decisionMethod: "authority" | "approval" | "vote";
681
+ disposition: "approved" | "rejected" | "deferred" | "superseded" | "request-changes";
646
682
  decidedByRefs: {
647
683
  id: string;
648
684
  model: string;
649
- store: "git" | "url" | "postgresql" | "treedx";
685
+ store: "git" | "treedx" | "postgresql" | "url";
650
686
  path?: string | undefined;
651
687
  repository?: string | undefined;
652
688
  commit?: string | undefined;
653
689
  digest?: string | undefined;
654
690
  anchor?: string | undefined;
655
- url?: string | undefined;
656
691
  revision?: number | undefined;
692
+ url?: string | undefined;
657
693
  startLine?: number | undefined;
658
694
  endLine?: number | undefined;
659
695
  }[];
@@ -661,14 +697,14 @@ export declare function validatePortableContentData(model: string, value: unknow
661
697
  findingRefs?: {
662
698
  id: string;
663
699
  model: string;
664
- store: "git" | "url" | "postgresql" | "treedx";
700
+ store: "git" | "treedx" | "postgresql" | "url";
665
701
  path?: string | undefined;
666
702
  repository?: string | undefined;
667
703
  commit?: string | undefined;
668
704
  digest?: string | undefined;
669
705
  anchor?: string | undefined;
670
- url?: string | undefined;
671
706
  revision?: number | undefined;
707
+ url?: string | undefined;
672
708
  startLine?: number | undefined;
673
709
  endLine?: number | undefined;
674
710
  }[] | undefined;
@@ -676,14 +712,14 @@ export declare function validatePortableContentData(model: string, value: unknow
676
712
  actorRef: {
677
713
  id: string;
678
714
  model: string;
679
- store: "git" | "url" | "postgresql" | "treedx";
715
+ store: "git" | "treedx" | "postgresql" | "url";
680
716
  path?: string | undefined;
681
717
  repository?: string | undefined;
682
718
  commit?: string | undefined;
683
719
  digest?: string | undefined;
684
720
  anchor?: string | undefined;
685
- url?: string | undefined;
686
721
  revision?: number | undefined;
722
+ url?: string | undefined;
687
723
  startLine?: number | undefined;
688
724
  endLine?: number | undefined;
689
725
  };
@@ -692,75 +728,209 @@ export declare function validatePortableContentData(model: string, value: unknow
692
728
  rationale?: string | undefined;
693
729
  }[] | undefined;
694
730
  } | {
695
- status: "review" | "archived" | "draft" | "published";
731
+ status: "archived" | "review" | "published" | "draft";
696
732
  id: string;
697
- schemaVersion: "treeseed.book/v2";
733
+ schemaVersion: "treeseed.book/v3";
698
734
  slug: string;
699
- visibility: "project" | "team" | "public" | "admin" | "authenticated";
700
- order: number;
735
+ visibility: "project" | "team" | "public" | "authenticated" | "admin";
736
+ projectId: string;
737
+ revision: number;
701
738
  summary: string;
702
739
  title: string;
740
+ order: number;
703
741
  audience?: string[] | undefined;
704
742
  description?: string | undefined;
705
743
  groupIds?: string[] | undefined;
706
744
  relatedBookIds?: string[] | undefined;
745
+ packPolicy?: "disabled" | "allowed" | "restricted" | undefined;
746
+ editorialCoreNoteId?: string | undefined;
747
+ cover?: {
748
+ image?: string | undefined;
749
+ alt?: string | undefined;
750
+ } | undefined;
707
751
  } | {
708
- status: "review" | "archived" | "draft" | "published";
752
+ status: "archived" | "review" | "published" | "draft";
709
753
  id: string;
710
- schemaVersion: "treeseed.knowledge-page/v1";
754
+ schemaVersion: "treeseed.knowledge-page/v2";
711
755
  slug: string;
712
- visibility: "project" | "team" | "public" | "admin" | "authenticated";
713
- summary: string;
756
+ visibility: "project" | "team" | "public" | "authenticated" | "admin";
757
+ projectId: string;
714
758
  title: string;
715
- bookId: string;
759
+ body: string;
760
+ bookRef: {
761
+ id: string;
762
+ model: string;
763
+ store: "git" | "treedx" | "postgresql" | "url";
764
+ path?: string | undefined;
765
+ repository?: string | undefined;
766
+ commit?: string | undefined;
767
+ digest?: string | undefined;
768
+ anchor?: string | undefined;
769
+ revision?: number | undefined;
770
+ url?: string | undefined;
771
+ startLine?: number | undefined;
772
+ endLine?: number | undefined;
773
+ };
774
+ summary?: string | undefined;
716
775
  description?: string | undefined;
717
- order?: number | undefined;
718
776
  groupIds?: string[] | undefined;
777
+ order?: number | undefined;
778
+ relatedBookIds?: string[] | undefined;
779
+ parentId?: string | undefined;
780
+ contributors?: string[] | undefined;
781
+ relatedKnowledgeIds?: string[] | undefined;
782
+ relatedNoteIds?: string[] | undefined;
783
+ relatedQuestionIds?: string[] | undefined;
784
+ relatedObjectiveIds?: string[] | undefined;
785
+ relatedProposalIds?: string[] | undefined;
786
+ relatedDecisionIds?: string[] | undefined;
787
+ guaranteeIds?: string[] | undefined;
788
+ audiences?: {
789
+ primary?: string[] | undefined;
790
+ secondary?: string[] | undefined;
791
+ excluded?: string[] | undefined;
792
+ } | undefined;
793
+ relatedRefs?: {
794
+ id: string;
795
+ model: string;
796
+ store: "git" | "treedx" | "postgresql" | "url";
797
+ path?: string | undefined;
798
+ repository?: string | undefined;
799
+ commit?: string | undefined;
800
+ digest?: string | undefined;
801
+ anchor?: string | undefined;
802
+ revision?: number | undefined;
803
+ url?: string | undefined;
804
+ startLine?: number | undefined;
805
+ endLine?: number | undefined;
806
+ }[] | undefined;
807
+ capabilityIds?: string[] | undefined;
808
+ routePatterns?: string[] | undefined;
809
+ resourceTypes?: string[] | undefined;
810
+ actionIds?: string[] | undefined;
811
+ keywords?: string[] | undefined;
812
+ documentationUrls?: string[] | undefined;
719
813
  } | {
720
814
  name: string;
721
- status?: "live" | "planned" | "in progress" | "exploratory" | "speculative" | undefined;
815
+ status?: "planned" | "live" | "in progress" | "exploratory" | "speculative" | undefined;
722
816
  role?: string | undefined;
723
- description?: string | undefined;
724
817
  summary?: string | undefined;
818
+ description?: string | undefined;
819
+ affiliation?: string | undefined;
725
820
  group_ids?: string[] | undefined;
726
- related_objectives?: string[] | undefined;
727
821
  related_questions?: string[] | undefined;
728
- affiliation?: string | undefined;
822
+ related_objectives?: string[] | undefined;
729
823
  } | {
824
+ status: "resolved" | "open" | "closed";
825
+ id: string;
826
+ schemaVersion: "treeseed.discussion/v1";
827
+ projectId: string;
828
+ teamId: string;
829
+ createdAt: string;
730
830
  title: string;
731
- status?: "active" | "archived" | undefined;
831
+ subjectRef: {
832
+ id: string;
833
+ model: string;
834
+ store: "git" | "treedx" | "postgresql" | "url";
835
+ path?: string | undefined;
836
+ repository?: string | undefined;
837
+ commit?: string | undefined;
838
+ digest?: string | undefined;
839
+ anchor?: string | undefined;
840
+ revision?: number | undefined;
841
+ url?: string | undefined;
842
+ startLine?: number | undefined;
843
+ endLine?: number | undefined;
844
+ };
845
+ participantClasses: string[];
846
+ visibility?: "project" | "team" | "public" | "authenticated" | "admin" | undefined;
847
+ updatedAt?: string | undefined;
848
+ groupIds?: string[] | undefined;
732
849
  topic?: string | undefined;
733
- created_at?: Date | undefined;
734
- updated_at?: Date | undefined;
735
- group_ids?: string[] | undefined;
736
- team_id?: string | undefined;
737
- project_id?: string | undefined;
738
- participant_ids?: string[] | undefined;
739
- agent_ids?: string[] | undefined;
740
- parent_workday_id?: string | undefined;
741
- legacy_status?: "open" | "resolved" | undefined;
850
+ participantIds?: string[] | undefined;
851
+ agentIds?: string[] | undefined;
852
+ parentWorkdayId?: string | undefined;
742
853
  } | {
743
- title: string;
744
- created_at?: Date | undefined;
854
+ id: string;
855
+ schemaVersion: "treeseed.discussion-message/v1";
856
+ createdAt: string;
857
+ body: string;
858
+ discussionRef: {
859
+ id: string;
860
+ model: string;
861
+ store: "git" | "treedx" | "postgresql" | "url";
862
+ path?: string | undefined;
863
+ repository?: string | undefined;
864
+ commit?: string | undefined;
865
+ digest?: string | undefined;
866
+ anchor?: string | undefined;
867
+ revision?: number | undefined;
868
+ url?: string | undefined;
869
+ startLine?: number | undefined;
870
+ endLine?: number | undefined;
871
+ };
872
+ authorRef: {
873
+ id: string;
874
+ model: string;
875
+ store: "git" | "treedx" | "postgresql" | "url";
876
+ path?: string | undefined;
877
+ repository?: string | undefined;
878
+ commit?: string | undefined;
879
+ digest?: string | undefined;
880
+ anchor?: string | undefined;
881
+ revision?: number | undefined;
882
+ url?: string | undefined;
883
+ startLine?: number | undefined;
884
+ endLine?: number | undefined;
885
+ };
886
+ title?: string | undefined;
745
887
  intent?: "discuss" | "propose" | undefined;
746
- group_ids?: string[] | undefined;
747
- parent_workday_id?: string | undefined;
748
- discussion_id?: string | undefined;
749
- author_id?: string | undefined;
750
- author_type?: "agent" | "system" | "user" | undefined;
751
- reply_to?: string | undefined;
752
- source_message_refs?: string[] | undefined;
753
- mentioned_agents?: string[] | undefined;
754
- recipient_ids?: string[] | undefined;
755
- author_agent_id?: string | undefined;
756
- handoff_id?: string | undefined;
757
- resulting_operation_id?: string | undefined;
888
+ contextRefs?: Record<string, unknown>[] | undefined;
889
+ parentWorkdayId?: string | undefined;
890
+ replyToRef?: {
891
+ id: string;
892
+ model: string;
893
+ store: "git" | "treedx" | "postgresql" | "url";
894
+ path?: string | undefined;
895
+ repository?: string | undefined;
896
+ commit?: string | undefined;
897
+ digest?: string | undefined;
898
+ anchor?: string | undefined;
899
+ revision?: number | undefined;
900
+ url?: string | undefined;
901
+ startLine?: number | undefined;
902
+ endLine?: number | undefined;
903
+ } | undefined;
904
+ discussionId?: string | undefined;
905
+ authorId?: string | undefined;
906
+ authorType?: "agent" | "user" | "system" | undefined;
907
+ mentionedAgents?: string[] | undefined;
908
+ recipientIds?: string[] | undefined;
909
+ fileRefs?: Record<string, unknown>[] | undefined;
910
+ inboxIntent?: "answer" | "comment" | "reply" | undefined;
911
+ sourceMessageRefs?: {
912
+ id: string;
913
+ model: string;
914
+ store: "git" | "treedx" | "postgresql" | "url";
915
+ path?: string | undefined;
916
+ repository?: string | undefined;
917
+ commit?: string | undefined;
918
+ digest?: string | undefined;
919
+ anchor?: string | undefined;
920
+ revision?: number | undefined;
921
+ url?: string | undefined;
922
+ startLine?: number | undefined;
923
+ endLine?: number | undefined;
924
+ }[] | undefined;
925
+ authorAgentId?: string | undefined;
926
+ handoffId?: string | undefined;
927
+ resultingOperationId?: string | undefined;
758
928
  } | {
759
929
  title: string;
760
- sequence?: number | undefined;
761
- phase?: string | undefined;
762
930
  group_ids?: string[] | undefined;
763
931
  discussion_id?: string | undefined;
932
+ phase?: string | undefined;
933
+ sequence?: number | undefined;
764
934
  occurred_at?: Date | undefined;
765
935
  refs?: string[] | undefined;
766
936
  } | {