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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.d.ts +1392 -974
  2. package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.js +72 -27
  3. package/dist/agent-capacity/contracts/capacity/assignments/assignment-context-pack.d.ts +34 -34
  4. package/dist/agent-capacity/contracts/capacity/assignments/assignment-path.d.ts +2 -0
  5. package/dist/agent-capacity/contracts/capacity/assignments/assignment-path.js +13 -0
  6. package/dist/agent-capacity/contracts/capacity/assignments/assignment-records.d.ts +1 -0
  7. package/dist/agent-capacity/contracts/capacity/providers/supply-policy.d.ts +126 -1
  8. package/dist/agent-capacity/contracts/capacity/providers/supply-policy.js +35 -1
  9. package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.d.ts +1 -3
  10. package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.js +21 -15
  11. package/dist/agent-capacity/contracts/capacity/workdays/capability-accounting.d.ts +3 -42
  12. package/dist/agent-capacity/contracts/capacity/workdays/capability-accounting.js +8 -8
  13. package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.d.ts +227 -66
  14. package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.js +54 -19
  15. package/dist/agent-capacity/contracts/capacity/workdays/workday-records.d.ts +214 -5
  16. package/dist/agent-capacity/contracts/capacity/workdays/workday-records.js +19 -0
  17. package/dist/agent-capacity/contracts/operations/agent-team-clone.d.ts +47 -47
  18. package/dist/agent-capacity/contracts/projects/agents/project-agent-class.d.ts +119 -0
  19. package/dist/agent-capacity/contracts/projects/agents/project-agent-class.js +16 -0
  20. package/dist/agent-capacity/contracts/support/execution-graph.d.ts +434 -230
  21. package/dist/agent-capacity/contracts/support/execution-graph.js +20 -18
  22. package/dist/agent-capacity/contracts/support/financial-records.d.ts +2 -0
  23. package/dist/agent-capacity/validation/agent-definition-schema.d.ts +286 -254
  24. package/dist/agent-capacity/validation/agent-definition-schema.js +22 -28
  25. package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +1 -1
  26. package/dist/agent-capacity/validation/assignment-records.js +45 -0
  27. package/dist/capacity/agents/agent-capacity.d.ts +1 -0
  28. package/dist/capacity/agents/agent-capacity.js +1 -0
  29. package/dist/capacity-provider/capability-ontology.d.ts +102 -102
  30. package/dist/capacity-provider/client.d.ts +14 -7
  31. package/dist/capacity-provider/client.js +1 -4
  32. package/dist/capacity-provider/contracts/capacity-facts.d.ts +0 -1
  33. package/dist/capacity-provider/contracts/environment-profiles.d.ts +40 -40
  34. package/dist/capacity-provider/contracts/governance.d.ts +2 -17
  35. package/dist/capacity-provider/contracts/index.d.ts +2 -0
  36. package/dist/capacity-provider/contracts/index.js +2 -0
  37. package/dist/capacity-provider/core-capability-catalog.d.ts +7 -7
  38. package/dist/capacity-provider/environment-catalog.d.ts +22 -22
  39. package/dist/capacity-provider/environment-catalog.js +1 -1
  40. package/dist/capacity-provider/install-configuration.d.ts +4 -4
  41. package/dist/capacity-provider/sandbox-contracts.d.ts +54 -54
  42. package/dist/capacity-provider/source-workspace.d.ts +76 -76
  43. package/dist/capacity-provider/validation.d.ts +10 -2
  44. package/dist/capacity-provider/validation.js +52 -22
  45. package/dist/content/validation/agent-operational-content-schemas.d.ts +120 -118
  46. package/dist/content/validation/agent-operational-content-schemas.js +2 -0
  47. package/dist/content/validation/auxiliary-content-schemas.d.ts +92 -92
  48. package/dist/content/validation/content-model-schemas.d.ts +3155 -2512
  49. package/dist/content/validation/content-model-schemas.js +97 -87
  50. package/dist/content/validation/portable-content-data.d.ts +173 -168
  51. package/dist/content/validation/schema-constraints.d.ts +78 -0
  52. package/dist/content/validation/schema-constraints.js +149 -0
  53. package/dist/deployment/ai/storage.d.ts +20 -20
  54. package/dist/deployment/ai-hosting.d.ts +12 -12
  55. package/dist/deployment/ai-instance.d.ts +12 -12
  56. package/dist/deployment/ai-mode.d.ts +34 -34
  57. package/dist/deployment/hosted-topology-template.d.ts +25 -25
  58. package/dist/deployment/hosted-topology.d.ts +146 -146
  59. package/dist/deployment/postgres/transfer.d.ts +2 -2
  60. package/dist/deployment/schemas.d.ts +504 -504
  61. package/dist/development/schemas.d.ts +325 -325
  62. package/dist/graph/context-query-contracts.js +1 -1
  63. package/dist/guarantees/index.d.ts +26 -2
  64. package/dist/identity/contracts.js +6 -1
  65. package/dist/operator-contracts/canonical-command-tree.js +22 -8
  66. package/dist/operator-contracts/catalog/agents/agent-team-clone-operations.d.ts +27 -27
  67. package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +25 -25
  68. package/dist/operator-contracts/catalog/commands/command-tree-builders.d.ts +11 -9
  69. package/dist/operator-contracts/catalog/communication-operations.d.ts +108 -90
  70. package/dist/operator-contracts/catalog/hosted-topology-operations.d.ts +33 -33
  71. package/dist/operator-contracts/catalog/inbox-operations.d.ts +27 -27
  72. package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.d.ts +4 -4
  73. package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.js +2 -1
  74. package/dist/operator-contracts/catalog/knowledge-share-operations.d.ts +5 -5
  75. package/dist/operator-contracts/catalog/provider-environment-operations.d.ts +3 -3
  76. package/dist/operator-contracts/catalog/services/secret-operations.d.ts +16 -8
  77. package/dist/operator-contracts/catalog/services/secret-operations.js +2 -1
  78. package/dist/operator-contracts/catalog/workdays/profile-operations.d.ts +11 -11
  79. package/dist/operator-contracts/catalog/workdays/selection-commands.js +7 -6
  80. package/dist/operator-contracts/communication/contracts.d.ts +340 -198
  81. package/dist/operator-contracts/communication/contracts.js +6 -1
  82. package/dist/operator-contracts/control-plane-operation.d.ts +7 -0
  83. package/dist/operator-contracts/control-plane-operation.js +6 -0
  84. package/dist/operator-contracts/control-plane-operations.d.ts +469 -442
  85. package/dist/operator-contracts/control-plane-operations.js +26 -10
  86. package/dist/operator-contracts/inbox/contracts.d.ts +100 -100
  87. package/dist/operator-contracts/knowledge/contracts.d.ts +6 -6
  88. package/dist/operator-contracts/mcp.js +4 -3
  89. package/dist/operator-contracts/workday-lifecycle.d.ts +192 -2
  90. package/dist/operator-contracts/workday-lifecycle.js +108 -45
  91. package/dist/platform/agent-schema-verification.js +316 -33
  92. package/dist/platform/contracts.d.ts +72 -72
  93. package/dist/platform/schemas.d.ts +144 -36
  94. package/dist/platform/schemas.js +26 -0
  95. package/dist/platform/verification.js +4 -0
  96. package/dist/sdk-types/support/sdk-search-request.d.ts +2 -2
  97. package/dist/secrets-capability/secret-contracts.d.ts +2 -2
  98. package/dist/secrets-capability/shared-access.d.ts +1 -1
  99. package/dist/secrets-capability/shared-resources.d.ts +30 -30
  100. package/dist/security/encrypted-envelope.d.ts +6 -6
  101. package/dist/treedx/client.d.ts +4 -4
  102. package/dist/treedx/index.d.ts +1 -1
  103. package/dist/treedx/index.js +1 -0
  104. package/dist/treedx/types.d.ts +286 -0
  105. package/dist/treedx/types.js +44 -0
  106. package/dist/types/agents/agent-activity-profile.d.ts +1 -0
  107. package/guarantees/agent/golden/component-boundaries.guarantee.yaml +12 -0
  108. package/guarantees/agent/golden/product-custody.guarantee.yaml +12 -0
  109. package/guarantees/agent/golden/product.guarantee.yaml +12 -0
  110. package/guarantees/agent/golden/scenes/component-boundaries.scene.yaml +837 -0
  111. package/guarantees/agent/golden/scenes/product-custody.scene.yaml +53 -0
  112. package/guarantees/agent/golden/scenes/product.scene.yaml +8 -0
  113. package/guarantees/verifiers/golden.verifiers.yaml +1429 -0
  114. package/package.json +10 -5
  115. package/tests/acceptance/golden-product.test.ts +205 -0
  116. package/tests/acceptance/golden-product.ts +404 -0
  117. package/tests/acceptance/product/base-red.ts +73 -0
  118. package/tests/acceptance/product/documentation-examples.ts +68 -0
  119. package/tests/acceptance/product/intent-runtime.ts +145 -0
  120. package/tests/acceptance/product/release-output.ts +160 -0
  121. package/tests/acceptance/product/research-artifact.ts +87 -0
  122. package/tests/acceptance/product/research-revision.ts +82 -0
  123. package/tests/acceptance/product/research-source.ts +91 -0
  124. package/tests/acceptance/product/test-chain.ts +192 -0
  125. package/treeseed.package.yaml +147 -0
  126. package/dist/.treeseed-build-complete.json +0 -1
@@ -82,6 +82,19 @@ export declare const agentContextQueryContentSchema: z.ZodEffects<z.ZodObject<{
82
82
  filters: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
83
83
  }, "strict", z.ZodTypeAny, {
84
84
  id: string;
85
+ format: "map" | "summary" | "list" | "brief" | "full" | "sources";
86
+ title: string;
87
+ description: string;
88
+ target: {
89
+ kind: "code" | "content" | "mixed" | "graph";
90
+ models?: string[] | undefined;
91
+ paths?: string[] | undefined;
92
+ };
93
+ query: string;
94
+ revision: number;
95
+ purpose: string;
96
+ priority: number;
97
+ requirement: "required" | "preferred";
85
98
  sources: ({
86
99
  scope: "current-project";
87
100
  } | {
@@ -95,20 +108,8 @@ export declare const agentContextQueryContentSchema: z.ZodEffects<z.ZodObject<{
95
108
  scope: "shared-team";
96
109
  projectIds: string[];
97
110
  })[];
98
- query: string;
99
- revision: number;
100
- purpose: string;
101
- priority: number;
102
- title: string;
103
- description: string;
104
- requirement: "required" | "preferred";
105
111
  depth: number;
106
112
  maturity: "draft" | "validated" | "simulated" | "proven";
107
- target: {
108
- kind: "code" | "content" | "mixed" | "graph";
109
- models?: string[] | undefined;
110
- paths?: string[] | undefined;
111
- };
112
113
  relations: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[];
113
114
  resultLimit: number;
114
115
  contextBudget: {
@@ -116,7 +117,6 @@ export declare const agentContextQueryContentSchema: z.ZodEffects<z.ZodObject<{
116
117
  maxCharacters?: number | undefined;
117
118
  };
118
119
  tokenBudget: number;
119
- format: "map" | "sources" | "summary" | "list" | "brief" | "full";
120
120
  summarization: "provider" | "none" | "deterministic";
121
121
  filters: Record<string, unknown>;
122
122
  scope?: string | undefined;
@@ -125,23 +125,26 @@ export declare const agentContextQueryContentSchema: z.ZodEffects<z.ZodObject<{
125
125
  maximumBudget?: number | undefined;
126
126
  }, {
127
127
  id: string;
128
- query: string;
129
- revision: number;
130
- purpose: string;
131
128
  title: string;
132
129
  description: string;
133
- maturity: "draft" | "validated" | "simulated" | "proven";
134
130
  target: {
135
131
  kind: "code" | "content" | "mixed" | "graph";
136
132
  models?: string[] | undefined;
137
133
  paths?: string[] | undefined;
138
134
  };
135
+ query: string;
136
+ revision: number;
137
+ purpose: string;
138
+ maturity: "draft" | "validated" | "simulated" | "proven";
139
139
  resultLimit: number;
140
140
  contextBudget: {
141
141
  maxItems: number;
142
142
  maxCharacters?: number | undefined;
143
143
  };
144
144
  tokenBudget: number;
145
+ format?: "map" | "summary" | "list" | "brief" | "full" | "sources" | undefined;
146
+ priority?: number | undefined;
147
+ requirement?: "required" | "preferred" | undefined;
145
148
  sources?: ({
146
149
  scope: "current-project";
147
150
  } | {
@@ -155,19 +158,29 @@ export declare const agentContextQueryContentSchema: z.ZodEffects<z.ZodObject<{
155
158
  scope: "shared-team";
156
159
  projectIds?: string[] | undefined;
157
160
  })[] | undefined;
158
- scope?: string | undefined;
159
- priority?: number | undefined;
160
- requirement?: "required" | "preferred" | undefined;
161
161
  depth?: number | undefined;
162
+ scope?: string | undefined;
162
163
  codeScopes?: string[] | undefined;
163
164
  relations?: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[] | undefined;
164
- format?: "map" | "sources" | "summary" | "list" | "brief" | "full" | undefined;
165
165
  minimumBudget?: number | undefined;
166
166
  maximumBudget?: number | undefined;
167
167
  summarization?: "provider" | "none" | "deterministic" | undefined;
168
168
  filters?: Record<string, unknown> | undefined;
169
169
  }>, {
170
170
  id: string;
171
+ format: "map" | "summary" | "list" | "brief" | "full" | "sources";
172
+ title: string;
173
+ description: string;
174
+ target: {
175
+ kind: "code" | "content" | "mixed" | "graph";
176
+ models?: string[] | undefined;
177
+ paths?: string[] | undefined;
178
+ };
179
+ query: string;
180
+ revision: number;
181
+ purpose: string;
182
+ priority: number;
183
+ requirement: "required" | "preferred";
171
184
  sources: ({
172
185
  scope: "current-project";
173
186
  } | {
@@ -181,20 +194,8 @@ export declare const agentContextQueryContentSchema: z.ZodEffects<z.ZodObject<{
181
194
  scope: "shared-team";
182
195
  projectIds: string[];
183
196
  })[];
184
- query: string;
185
- revision: number;
186
- purpose: string;
187
- priority: number;
188
- title: string;
189
- description: string;
190
- requirement: "required" | "preferred";
191
197
  depth: number;
192
198
  maturity: "draft" | "validated" | "simulated" | "proven";
193
- target: {
194
- kind: "code" | "content" | "mixed" | "graph";
195
- models?: string[] | undefined;
196
- paths?: string[] | undefined;
197
- };
198
199
  relations: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[];
199
200
  resultLimit: number;
200
201
  contextBudget: {
@@ -202,7 +203,6 @@ export declare const agentContextQueryContentSchema: z.ZodEffects<z.ZodObject<{
202
203
  maxCharacters?: number | undefined;
203
204
  };
204
205
  tokenBudget: number;
205
- format: "map" | "sources" | "summary" | "list" | "brief" | "full";
206
206
  summarization: "provider" | "none" | "deterministic";
207
207
  filters: Record<string, unknown>;
208
208
  scope?: string | undefined;
@@ -211,23 +211,26 @@ export declare const agentContextQueryContentSchema: z.ZodEffects<z.ZodObject<{
211
211
  maximumBudget?: number | undefined;
212
212
  }, {
213
213
  id: string;
214
- query: string;
215
- revision: number;
216
- purpose: string;
217
214
  title: string;
218
215
  description: string;
219
- maturity: "draft" | "validated" | "simulated" | "proven";
220
216
  target: {
221
217
  kind: "code" | "content" | "mixed" | "graph";
222
218
  models?: string[] | undefined;
223
219
  paths?: string[] | undefined;
224
220
  };
221
+ query: string;
222
+ revision: number;
223
+ purpose: string;
224
+ maturity: "draft" | "validated" | "simulated" | "proven";
225
225
  resultLimit: number;
226
226
  contextBudget: {
227
227
  maxItems: number;
228
228
  maxCharacters?: number | undefined;
229
229
  };
230
230
  tokenBudget: number;
231
+ format?: "map" | "summary" | "list" | "brief" | "full" | "sources" | undefined;
232
+ priority?: number | undefined;
233
+ requirement?: "required" | "preferred" | undefined;
231
234
  sources?: ({
232
235
  scope: "current-project";
233
236
  } | {
@@ -241,13 +244,10 @@ export declare const agentContextQueryContentSchema: z.ZodEffects<z.ZodObject<{
241
244
  scope: "shared-team";
242
245
  projectIds?: string[] | undefined;
243
246
  })[] | undefined;
244
- scope?: string | undefined;
245
- priority?: number | undefined;
246
- requirement?: "required" | "preferred" | undefined;
247
247
  depth?: number | undefined;
248
+ scope?: string | undefined;
248
249
  codeScopes?: string[] | undefined;
249
250
  relations?: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[] | undefined;
250
- format?: "map" | "sources" | "summary" | "list" | "brief" | "full" | undefined;
251
251
  minimumBudget?: number | undefined;
252
252
  maximumBudget?: number | undefined;
253
253
  summarization?: "provider" | "none" | "deterministic" | undefined;
@@ -271,9 +271,9 @@ export declare const agentContextQuerySetContentSchema: z.ZodObject<{
271
271
  mergePolicy: z.ZodDefault<z.ZodEnum<["append", "replace"]>>;
272
272
  }, "strict", z.ZodTypeAny, {
273
273
  id: string;
274
- revision: number;
275
274
  title: string;
276
275
  description: string;
276
+ revision: number;
277
277
  queryRefs: {
278
278
  id: string;
279
279
  revision: number;
@@ -281,9 +281,9 @@ export declare const agentContextQuerySetContentSchema: z.ZodObject<{
281
281
  mergePolicy: "replace" | "append";
282
282
  }, {
283
283
  id: string;
284
- revision: number;
285
284
  title: string;
286
285
  description: string;
286
+ revision: number;
287
287
  queryRefs: {
288
288
  id: string;
289
289
  revision: number;
@@ -303,19 +303,19 @@ export declare const agentInstructionTemplateContentSchema: z.ZodObject<{
303
303
  }, "strict", z.ZodTypeAny, {
304
304
  kind: "message" | "status" | "summary" | "plan";
305
305
  id: string;
306
- variables: string[];
307
- revision: number;
308
306
  title: string;
309
307
  description: string;
308
+ revision: number;
309
+ variables: string[];
310
310
  instructions: string;
311
311
  appliesToProfiles: string[];
312
312
  outputSkeleton?: string | undefined;
313
313
  }, {
314
314
  kind: "message" | "status" | "summary" | "plan";
315
315
  id: string;
316
- revision: number;
317
316
  title: string;
318
317
  description: string;
318
+ revision: number;
319
319
  instructions: string;
320
320
  variables?: string[] | undefined;
321
321
  outputSkeleton?: string | undefined;
@@ -332,17 +332,17 @@ export declare const discussionTopicContentSchema: z.ZodObject<{
332
332
  }, "strict", z.ZodTypeAny, {
333
333
  status: "active" | "archived";
334
334
  id: string;
335
- slug: string;
336
335
  title: string;
337
336
  description: string;
338
337
  groupIds: string[];
338
+ slug: string;
339
339
  parentTopicId?: string | undefined;
340
340
  }, {
341
341
  id: string;
342
- slug: string;
343
342
  title: string;
344
343
  description: string;
345
344
  groupIds: string[];
345
+ slug: string;
346
346
  status?: "active" | "archived" | undefined;
347
347
  parentTopicId?: string | undefined;
348
348
  }>;
@@ -421,10 +421,10 @@ export declare const agentEvaluationContentSchema: z.ZodObject<{
421
421
  }, "strip", z.ZodTypeAny, {
422
422
  status: string;
423
423
  id: string;
424
- projectId: string;
425
- teamId: string;
426
- createdAt: Date;
427
424
  title: string;
425
+ createdAt: Date;
426
+ teamId: string;
427
+ projectId: string;
428
428
  agentId: string;
429
429
  contextQueryRefs: {
430
430
  id: string;
@@ -451,18 +451,18 @@ export declare const agentEvaluationContentSchema: z.ZodObject<{
451
451
  evidenceRefs: string[];
452
452
  notes?: string | undefined;
453
453
  }[];
454
- assignmentId?: string | undefined;
455
- updatedAt?: Date | undefined;
456
454
  description?: string | undefined;
455
+ updatedAt?: Date | undefined;
456
+ assignmentId?: string | undefined;
457
457
  workdayId?: string | undefined;
458
458
  score?: number | undefined;
459
459
  }, {
460
460
  status: string;
461
461
  id: string;
462
- projectId: string;
463
- teamId: string;
464
- createdAt: Date;
465
462
  title: string;
463
+ createdAt: Date;
464
+ teamId: string;
465
+ projectId: string;
466
466
  agentId: string;
467
467
  agentDefinitionRef: {
468
468
  id: string;
@@ -477,9 +477,9 @@ export declare const agentEvaluationContentSchema: z.ZodObject<{
477
477
  evidenceRefs?: string[] | undefined;
478
478
  notes?: string | undefined;
479
479
  }[];
480
- assignmentId?: string | undefined;
481
- updatedAt?: Date | undefined;
482
480
  description?: string | undefined;
481
+ updatedAt?: Date | undefined;
482
+ assignmentId?: string | undefined;
483
483
  workdayId?: string | undefined;
484
484
  contextQueryRefs?: {
485
485
  id: string;
@@ -579,6 +579,19 @@ export declare const agentOperationalContentSchemas: {
579
579
  filters: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
580
580
  }, "strict", z.ZodTypeAny, {
581
581
  id: string;
582
+ format: "map" | "summary" | "list" | "brief" | "full" | "sources";
583
+ title: string;
584
+ description: string;
585
+ target: {
586
+ kind: "code" | "content" | "mixed" | "graph";
587
+ models?: string[] | undefined;
588
+ paths?: string[] | undefined;
589
+ };
590
+ query: string;
591
+ revision: number;
592
+ purpose: string;
593
+ priority: number;
594
+ requirement: "required" | "preferred";
582
595
  sources: ({
583
596
  scope: "current-project";
584
597
  } | {
@@ -592,20 +605,8 @@ export declare const agentOperationalContentSchemas: {
592
605
  scope: "shared-team";
593
606
  projectIds: string[];
594
607
  })[];
595
- query: string;
596
- revision: number;
597
- purpose: string;
598
- priority: number;
599
- title: string;
600
- description: string;
601
- requirement: "required" | "preferred";
602
608
  depth: number;
603
609
  maturity: "draft" | "validated" | "simulated" | "proven";
604
- target: {
605
- kind: "code" | "content" | "mixed" | "graph";
606
- models?: string[] | undefined;
607
- paths?: string[] | undefined;
608
- };
609
610
  relations: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[];
610
611
  resultLimit: number;
611
612
  contextBudget: {
@@ -613,7 +614,6 @@ export declare const agentOperationalContentSchemas: {
613
614
  maxCharacters?: number | undefined;
614
615
  };
615
616
  tokenBudget: number;
616
- format: "map" | "sources" | "summary" | "list" | "brief" | "full";
617
617
  summarization: "provider" | "none" | "deterministic";
618
618
  filters: Record<string, unknown>;
619
619
  scope?: string | undefined;
@@ -622,23 +622,26 @@ export declare const agentOperationalContentSchemas: {
622
622
  maximumBudget?: number | undefined;
623
623
  }, {
624
624
  id: string;
625
- query: string;
626
- revision: number;
627
- purpose: string;
628
625
  title: string;
629
626
  description: string;
630
- maturity: "draft" | "validated" | "simulated" | "proven";
631
627
  target: {
632
628
  kind: "code" | "content" | "mixed" | "graph";
633
629
  models?: string[] | undefined;
634
630
  paths?: string[] | undefined;
635
631
  };
632
+ query: string;
633
+ revision: number;
634
+ purpose: string;
635
+ maturity: "draft" | "validated" | "simulated" | "proven";
636
636
  resultLimit: number;
637
637
  contextBudget: {
638
638
  maxItems: number;
639
639
  maxCharacters?: number | undefined;
640
640
  };
641
641
  tokenBudget: number;
642
+ format?: "map" | "summary" | "list" | "brief" | "full" | "sources" | undefined;
643
+ priority?: number | undefined;
644
+ requirement?: "required" | "preferred" | undefined;
642
645
  sources?: ({
643
646
  scope: "current-project";
644
647
  } | {
@@ -652,19 +655,29 @@ export declare const agentOperationalContentSchemas: {
652
655
  scope: "shared-team";
653
656
  projectIds?: string[] | undefined;
654
657
  })[] | undefined;
655
- scope?: string | undefined;
656
- priority?: number | undefined;
657
- requirement?: "required" | "preferred" | undefined;
658
658
  depth?: number | undefined;
659
+ scope?: string | undefined;
659
660
  codeScopes?: string[] | undefined;
660
661
  relations?: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[] | undefined;
661
- format?: "map" | "sources" | "summary" | "list" | "brief" | "full" | undefined;
662
662
  minimumBudget?: number | undefined;
663
663
  maximumBudget?: number | undefined;
664
664
  summarization?: "provider" | "none" | "deterministic" | undefined;
665
665
  filters?: Record<string, unknown> | undefined;
666
666
  }>, {
667
667
  id: string;
668
+ format: "map" | "summary" | "list" | "brief" | "full" | "sources";
669
+ title: string;
670
+ description: string;
671
+ target: {
672
+ kind: "code" | "content" | "mixed" | "graph";
673
+ models?: string[] | undefined;
674
+ paths?: string[] | undefined;
675
+ };
676
+ query: string;
677
+ revision: number;
678
+ purpose: string;
679
+ priority: number;
680
+ requirement: "required" | "preferred";
668
681
  sources: ({
669
682
  scope: "current-project";
670
683
  } | {
@@ -678,20 +691,8 @@ export declare const agentOperationalContentSchemas: {
678
691
  scope: "shared-team";
679
692
  projectIds: string[];
680
693
  })[];
681
- query: string;
682
- revision: number;
683
- purpose: string;
684
- priority: number;
685
- title: string;
686
- description: string;
687
- requirement: "required" | "preferred";
688
694
  depth: number;
689
695
  maturity: "draft" | "validated" | "simulated" | "proven";
690
- target: {
691
- kind: "code" | "content" | "mixed" | "graph";
692
- models?: string[] | undefined;
693
- paths?: string[] | undefined;
694
- };
695
696
  relations: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[];
696
697
  resultLimit: number;
697
698
  contextBudget: {
@@ -699,7 +700,6 @@ export declare const agentOperationalContentSchemas: {
699
700
  maxCharacters?: number | undefined;
700
701
  };
701
702
  tokenBudget: number;
702
- format: "map" | "sources" | "summary" | "list" | "brief" | "full";
703
703
  summarization: "provider" | "none" | "deterministic";
704
704
  filters: Record<string, unknown>;
705
705
  scope?: string | undefined;
@@ -708,23 +708,26 @@ export declare const agentOperationalContentSchemas: {
708
708
  maximumBudget?: number | undefined;
709
709
  }, {
710
710
  id: string;
711
- query: string;
712
- revision: number;
713
- purpose: string;
714
711
  title: string;
715
712
  description: string;
716
- maturity: "draft" | "validated" | "simulated" | "proven";
717
713
  target: {
718
714
  kind: "code" | "content" | "mixed" | "graph";
719
715
  models?: string[] | undefined;
720
716
  paths?: string[] | undefined;
721
717
  };
718
+ query: string;
719
+ revision: number;
720
+ purpose: string;
721
+ maturity: "draft" | "validated" | "simulated" | "proven";
722
722
  resultLimit: number;
723
723
  contextBudget: {
724
724
  maxItems: number;
725
725
  maxCharacters?: number | undefined;
726
726
  };
727
727
  tokenBudget: number;
728
+ format?: "map" | "summary" | "list" | "brief" | "full" | "sources" | undefined;
729
+ priority?: number | undefined;
730
+ requirement?: "required" | "preferred" | undefined;
728
731
  sources?: ({
729
732
  scope: "current-project";
730
733
  } | {
@@ -738,13 +741,10 @@ export declare const agentOperationalContentSchemas: {
738
741
  scope: "shared-team";
739
742
  projectIds?: string[] | undefined;
740
743
  })[] | undefined;
741
- scope?: string | undefined;
742
- priority?: number | undefined;
743
- requirement?: "required" | "preferred" | undefined;
744
744
  depth?: number | undefined;
745
+ scope?: string | undefined;
745
746
  codeScopes?: string[] | undefined;
746
747
  relations?: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[] | undefined;
747
- format?: "map" | "sources" | "summary" | "list" | "brief" | "full" | undefined;
748
748
  minimumBudget?: number | undefined;
749
749
  maximumBudget?: number | undefined;
750
750
  summarization?: "provider" | "none" | "deterministic" | undefined;
@@ -768,9 +768,9 @@ export declare const agentOperationalContentSchemas: {
768
768
  mergePolicy: z.ZodDefault<z.ZodEnum<["append", "replace"]>>;
769
769
  }, "strict", z.ZodTypeAny, {
770
770
  id: string;
771
- revision: number;
772
771
  title: string;
773
772
  description: string;
773
+ revision: number;
774
774
  queryRefs: {
775
775
  id: string;
776
776
  revision: number;
@@ -778,9 +778,9 @@ export declare const agentOperationalContentSchemas: {
778
778
  mergePolicy: "replace" | "append";
779
779
  }, {
780
780
  id: string;
781
- revision: number;
782
781
  title: string;
783
782
  description: string;
783
+ revision: number;
784
784
  queryRefs: {
785
785
  id: string;
786
786
  revision: number;
@@ -800,19 +800,19 @@ export declare const agentOperationalContentSchemas: {
800
800
  }, "strict", z.ZodTypeAny, {
801
801
  kind: "message" | "status" | "summary" | "plan";
802
802
  id: string;
803
- variables: string[];
804
- revision: number;
805
803
  title: string;
806
804
  description: string;
805
+ revision: number;
806
+ variables: string[];
807
807
  instructions: string;
808
808
  appliesToProfiles: string[];
809
809
  outputSkeleton?: string | undefined;
810
810
  }, {
811
811
  kind: "message" | "status" | "summary" | "plan";
812
812
  id: string;
813
- revision: number;
814
813
  title: string;
815
814
  description: string;
815
+ revision: number;
816
816
  instructions: string;
817
817
  variables?: string[] | undefined;
818
818
  outputSkeleton?: string | undefined;
@@ -829,17 +829,17 @@ export declare const agentOperationalContentSchemas: {
829
829
  }, "strict", z.ZodTypeAny, {
830
830
  status: "active" | "archived";
831
831
  id: string;
832
- slug: string;
833
832
  title: string;
834
833
  description: string;
835
834
  groupIds: string[];
835
+ slug: string;
836
836
  parentTopicId?: string | undefined;
837
837
  }, {
838
838
  id: string;
839
- slug: string;
840
839
  title: string;
841
840
  description: string;
842
841
  groupIds: string[];
842
+ slug: string;
843
843
  status?: "active" | "archived" | undefined;
844
844
  parentTopicId?: string | undefined;
845
845
  }>;
@@ -918,10 +918,10 @@ export declare const agentOperationalContentSchemas: {
918
918
  }, "strip", z.ZodTypeAny, {
919
919
  status: string;
920
920
  id: string;
921
- projectId: string;
922
- teamId: string;
923
- createdAt: Date;
924
921
  title: string;
922
+ createdAt: Date;
923
+ teamId: string;
924
+ projectId: string;
925
925
  agentId: string;
926
926
  contextQueryRefs: {
927
927
  id: string;
@@ -948,18 +948,18 @@ export declare const agentOperationalContentSchemas: {
948
948
  evidenceRefs: string[];
949
949
  notes?: string | undefined;
950
950
  }[];
951
- assignmentId?: string | undefined;
952
- updatedAt?: Date | undefined;
953
951
  description?: string | undefined;
952
+ updatedAt?: Date | undefined;
953
+ assignmentId?: string | undefined;
954
954
  workdayId?: string | undefined;
955
955
  score?: number | undefined;
956
956
  }, {
957
957
  status: string;
958
958
  id: string;
959
- projectId: string;
960
- teamId: string;
961
- createdAt: Date;
962
959
  title: string;
960
+ createdAt: Date;
961
+ teamId: string;
962
+ projectId: string;
963
963
  agentId: string;
964
964
  agentDefinitionRef: {
965
965
  id: string;
@@ -974,9 +974,9 @@ export declare const agentOperationalContentSchemas: {
974
974
  evidenceRefs?: string[] | undefined;
975
975
  notes?: string | undefined;
976
976
  }[];
977
- assignmentId?: string | undefined;
978
- updatedAt?: Date | undefined;
979
977
  description?: string | undefined;
978
+ updatedAt?: Date | undefined;
979
+ assignmentId?: string | undefined;
980
980
  workdayId?: string | undefined;
981
981
  contextQueryRefs?: {
982
982
  id: string;
@@ -994,6 +994,8 @@ export declare const agentOperationalContentSchemas: {
994
994
  }>;
995
995
  };
996
996
  export declare const AGENT_OPERATIONAL_CONTENT_COLLECTIONS: {
997
+ readonly note: "notes";
998
+ readonly decision: "decisions";
997
999
  readonly agent_context_query: "agent-context-queries";
998
1000
  readonly agent_context_query_set: "agent-context-query-sets";
999
1001
  readonly agent_instruction_template: "agent-instruction-templates";
@@ -101,6 +101,8 @@ const agentOperationalContentSchemas = {
101
101
  agent_evaluation: agentEvaluationContentSchema
102
102
  };
103
103
  const AGENT_OPERATIONAL_CONTENT_COLLECTIONS = {
104
+ note: "notes",
105
+ decision: "decisions",
104
106
  agent_context_query: "agent-context-queries",
105
107
  agent_context_query_set: "agent-context-query-sets",
106
108
  agent_instruction_template: "agent-instruction-templates",