@treeseed/sdk 0.13.0-rc.65 → 0.13.0-rc.67

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 (31) hide show
  1. package/dist/.treeseed-build-complete.json +1 -1
  2. package/dist/agent-capacity/contracts/capacity/assignments/assignment-context-pack.d.ts +304 -0
  3. package/dist/agent-capacity/contracts/capacity/assignments/assignment-context-pack.js +44 -0
  4. package/dist/agent-capacity/contracts/capacity/assignments/assignment-records.d.ts +9 -0
  5. package/dist/agent-capacity/contracts/capacity/assignments/context-pack-compiler.d.ts +25 -0
  6. package/dist/agent-capacity/contracts/capacity/assignments/context-pack-compiler.js +67 -0
  7. package/dist/agent-capacity/validation/agent-definition-schema.js +2 -0
  8. package/dist/capacity/agents/agent-capacity.d.ts +2 -0
  9. package/dist/capacity/agents/agent-capacity.js +2 -0
  10. package/dist/capacity-provider/capability-ontology.d.ts +292 -3
  11. package/dist/capacity-provider/capability-ontology.js +23 -1
  12. package/dist/content/validation/agent-operational-content-schemas.d.ts +338 -16
  13. package/dist/content/validation/agent-operational-content-schemas.js +18 -3
  14. package/dist/content/validation/content-model-schemas.d.ts +362 -23
  15. package/dist/content/validation/portable-content-data.d.ts +20 -3
  16. package/dist/deployment/schemas.d.ts +84 -3
  17. package/dist/deployment/schemas.js +9 -1
  18. package/dist/entrypoints/clients/control-plane-client.js +5 -3
  19. package/dist/graph/context-query-contracts.d.ts +16 -1
  20. package/dist/graph/context-query-contracts.js +5 -0
  21. package/dist/model-registry/agent-operational-models.js +1 -1
  22. package/dist/operator-contracts/canonical-command-tree.js +1 -1
  23. package/dist/operator-contracts/catalog/knowledge-share-operations.d.ts +127 -0
  24. package/dist/operator-contracts/catalog/knowledge-share-operations.js +25 -0
  25. package/dist/operator-contracts/control-plane-operations.d.ts +125 -0
  26. package/dist/operator-contracts/control-plane-operations.js +2 -0
  27. package/dist/operator-contracts/index.d.ts +1 -0
  28. package/dist/operator-contracts/index.js +1 -0
  29. package/dist/operator-contracts/knowledge/contracts.d.ts +130 -0
  30. package/dist/operator-contracts/knowledge/contracts.js +39 -0
  31. package/package.json +1 -1
@@ -2,7 +2,7 @@ import { z } from 'zod';
2
2
  export { agentTestContentSchema, templateProductContentSchema, workdayContentSchema } from './auxiliary-content-schemas.js';
3
3
  export * from './agent-operational-content-schemas.js';
4
4
  declare const schemas: {
5
- agent_context_query: z.ZodObject<{
5
+ agent_context_query: z.ZodEffects<z.ZodObject<{
6
6
  id: z.ZodString;
7
7
  title: z.ZodString;
8
8
  description: z.ZodString;
@@ -15,11 +15,11 @@ declare const schemas: {
15
15
  models: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
16
16
  paths: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
17
17
  }, "strict", z.ZodTypeAny, {
18
- kind: "code" | "content" | "mixed" | "graph";
18
+ kind: "code" | "content" | "graph" | "mixed";
19
19
  paths?: string[] | undefined;
20
20
  models?: string[] | undefined;
21
21
  }, {
22
- kind: "code" | "content" | "mixed" | "graph";
22
+ kind: "code" | "content" | "graph" | "mixed";
23
23
  paths?: string[] | undefined;
24
24
  models?: string[] | undefined;
25
25
  }>;
@@ -40,24 +40,165 @@ declare const schemas: {
40
40
  }>;
41
41
  tokenBudget: z.ZodNumber;
42
42
  format: z.ZodDefault<z.ZodEnum<["summary", "full", "sources", "list", "brief", "map"]>>;
43
+ sources: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"scope", [z.ZodObject<{
44
+ scope: z.ZodLiteral<"current-project">;
45
+ }, "strict", z.ZodTypeAny, {
46
+ scope: "current-project";
47
+ }, {
48
+ scope: "current-project";
49
+ }>, z.ZodObject<{
50
+ scope: z.ZodLiteral<"team-library">;
51
+ }, "strict", z.ZodTypeAny, {
52
+ scope: "team-library";
53
+ }, {
54
+ scope: "team-library";
55
+ }>, z.ZodObject<{
56
+ scope: z.ZodLiteral<"same-team">;
57
+ projectIds: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
58
+ projectSlugs: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
59
+ }, "strict", z.ZodTypeAny, {
60
+ scope: "same-team";
61
+ projectIds: string[];
62
+ projectSlugs: string[];
63
+ }, {
64
+ scope: "same-team";
65
+ projectIds?: string[] | undefined;
66
+ projectSlugs?: string[] | undefined;
67
+ }>, z.ZodObject<{
68
+ scope: z.ZodLiteral<"shared-team">;
69
+ teamId: z.ZodString;
70
+ projectIds: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
71
+ }, "strict", z.ZodTypeAny, {
72
+ teamId: string;
73
+ scope: "shared-team";
74
+ projectIds: string[];
75
+ }, {
76
+ teamId: string;
77
+ scope: "shared-team";
78
+ projectIds?: string[] | undefined;
79
+ }>]>, "many">>;
80
+ requirement: z.ZodDefault<z.ZodEnum<["required", "preferred"]>>;
81
+ priority: z.ZodDefault<z.ZodNumber>;
82
+ minimumBudget: z.ZodOptional<z.ZodNumber>;
83
+ maximumBudget: z.ZodOptional<z.ZodNumber>;
84
+ summarization: z.ZodDefault<z.ZodEnum<["none", "deterministic", "provider"]>>;
43
85
  filters: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
44
- required: z.ZodDefault<z.ZodBoolean>;
45
86
  }, "strict", z.ZodTypeAny, {
46
87
  id: string;
47
- required: boolean;
88
+ sources: ({
89
+ scope: "current-project";
90
+ } | {
91
+ scope: "team-library";
92
+ } | {
93
+ scope: "same-team";
94
+ projectIds: string[];
95
+ projectSlugs: string[];
96
+ } | {
97
+ teamId: string;
98
+ scope: "shared-team";
99
+ projectIds: string[];
100
+ })[];
101
+ purpose: string;
102
+ target: {
103
+ kind: "code" | "content" | "graph" | "mixed";
104
+ paths?: string[] | undefined;
105
+ models?: string[] | undefined;
106
+ };
107
+ description: string;
108
+ revision: number;
109
+ requirement: "required" | "preferred";
110
+ format: "map" | "sources" | "summary" | "list" | "full" | "brief";
111
+ query: string;
112
+ depth: number;
113
+ title: string;
114
+ filters: Record<string, unknown>;
115
+ priority: number;
116
+ maturity: "draft" | "validated" | "simulated" | "proven";
117
+ relations: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[];
118
+ resultLimit: number;
119
+ contextBudget: {
120
+ maxItems: number;
121
+ maxCharacters?: number | undefined;
122
+ };
123
+ tokenBudget: number;
124
+ summarization: "none" | "provider" | "deterministic";
125
+ scope?: string | undefined;
126
+ codeScopes?: string[] | undefined;
127
+ minimumBudget?: number | undefined;
128
+ maximumBudget?: number | undefined;
129
+ }, {
130
+ id: string;
48
131
  purpose: string;
49
132
  target: {
50
- kind: "code" | "content" | "mixed" | "graph";
133
+ kind: "code" | "content" | "graph" | "mixed";
51
134
  paths?: string[] | undefined;
52
135
  models?: string[] | undefined;
53
136
  };
54
137
  description: string;
55
138
  revision: number;
139
+ query: string;
140
+ title: string;
141
+ maturity: "draft" | "validated" | "simulated" | "proven";
142
+ resultLimit: number;
143
+ contextBudget: {
144
+ maxItems: number;
145
+ maxCharacters?: number | undefined;
146
+ };
147
+ tokenBudget: number;
148
+ sources?: ({
149
+ scope: "current-project";
150
+ } | {
151
+ scope: "team-library";
152
+ } | {
153
+ scope: "same-team";
154
+ projectIds?: string[] | undefined;
155
+ projectSlugs?: string[] | undefined;
156
+ } | {
157
+ teamId: string;
158
+ scope: "shared-team";
159
+ projectIds?: string[] | undefined;
160
+ })[] | undefined;
161
+ scope?: string | undefined;
162
+ requirement?: "required" | "preferred" | undefined;
163
+ format?: "map" | "sources" | "summary" | "list" | "full" | "brief" | undefined;
164
+ depth?: number | undefined;
165
+ filters?: Record<string, unknown> | undefined;
166
+ priority?: number | undefined;
167
+ codeScopes?: string[] | undefined;
168
+ relations?: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[] | undefined;
169
+ minimumBudget?: number | undefined;
170
+ maximumBudget?: number | undefined;
171
+ summarization?: "none" | "provider" | "deterministic" | undefined;
172
+ }>, {
173
+ id: string;
174
+ sources: ({
175
+ scope: "current-project";
176
+ } | {
177
+ scope: "team-library";
178
+ } | {
179
+ scope: "same-team";
180
+ projectIds: string[];
181
+ projectSlugs: string[];
182
+ } | {
183
+ teamId: string;
184
+ scope: "shared-team";
185
+ projectIds: string[];
186
+ })[];
187
+ purpose: string;
188
+ target: {
189
+ kind: "code" | "content" | "graph" | "mixed";
190
+ paths?: string[] | undefined;
191
+ models?: string[] | undefined;
192
+ };
193
+ description: string;
194
+ revision: number;
195
+ requirement: "required" | "preferred";
56
196
  format: "map" | "sources" | "summary" | "list" | "full" | "brief";
57
197
  query: string;
58
198
  depth: number;
59
199
  title: string;
60
200
  filters: Record<string, unknown>;
201
+ priority: number;
61
202
  maturity: "draft" | "validated" | "simulated" | "proven";
62
203
  relations: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[];
63
204
  resultLimit: number;
@@ -66,13 +207,16 @@ declare const schemas: {
66
207
  maxCharacters?: number | undefined;
67
208
  };
68
209
  tokenBudget: number;
210
+ summarization: "none" | "provider" | "deterministic";
69
211
  scope?: string | undefined;
70
212
  codeScopes?: string[] | undefined;
213
+ minimumBudget?: number | undefined;
214
+ maximumBudget?: number | undefined;
71
215
  }, {
72
216
  id: string;
73
217
  purpose: string;
74
218
  target: {
75
- kind: "code" | "content" | "mixed" | "graph";
219
+ kind: "code" | "content" | "graph" | "mixed";
76
220
  paths?: string[] | undefined;
77
221
  models?: string[] | undefined;
78
222
  };
@@ -87,13 +231,30 @@ declare const schemas: {
87
231
  maxCharacters?: number | undefined;
88
232
  };
89
233
  tokenBudget: number;
90
- required?: boolean | undefined;
234
+ sources?: ({
235
+ scope: "current-project";
236
+ } | {
237
+ scope: "team-library";
238
+ } | {
239
+ scope: "same-team";
240
+ projectIds?: string[] | undefined;
241
+ projectSlugs?: string[] | undefined;
242
+ } | {
243
+ teamId: string;
244
+ scope: "shared-team";
245
+ projectIds?: string[] | undefined;
246
+ })[] | undefined;
91
247
  scope?: string | undefined;
248
+ requirement?: "required" | "preferred" | undefined;
92
249
  format?: "map" | "sources" | "summary" | "list" | "full" | "brief" | undefined;
93
250
  depth?: number | undefined;
94
251
  filters?: Record<string, unknown> | undefined;
252
+ priority?: number | undefined;
95
253
  codeScopes?: string[] | undefined;
96
254
  relations?: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[] | undefined;
255
+ minimumBudget?: number | undefined;
256
+ maximumBudget?: number | undefined;
257
+ summarization?: "none" | "provider" | "deterministic" | undefined;
97
258
  }>;
98
259
  agent_context_query_set: z.ZodObject<{
99
260
  id: z.ZodString;
@@ -1679,7 +1840,7 @@ declare const schemas: {
1679
1840
  related_proposals?: string[] | undefined;
1680
1841
  related_decisions?: string[] | undefined;
1681
1842
  related_books?: string[] | undefined;
1682
- question_type?: "research" | "evaluation" | "implementation" | "knowledge-gap" | "strategy" | undefined;
1843
+ question_type?: "research" | "implementation" | "evaluation" | "knowledge-gap" | "strategy" | undefined;
1683
1844
  motivation?: string | undefined;
1684
1845
  primary_contributor?: string | undefined;
1685
1846
  }, {
@@ -1701,7 +1862,7 @@ declare const schemas: {
1701
1862
  related_proposals?: string[] | undefined;
1702
1863
  related_decisions?: string[] | undefined;
1703
1864
  related_books?: string[] | undefined;
1704
- question_type?: "research" | "evaluation" | "implementation" | "knowledge-gap" | "strategy" | undefined;
1865
+ question_type?: "research" | "implementation" | "evaluation" | "knowledge-gap" | "strategy" | undefined;
1705
1866
  motivation?: string | undefined;
1706
1867
  primary_contributor?: string | undefined;
1707
1868
  }>;
@@ -11447,20 +11608,34 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11447
11608
  maxLatencyMs?: number | undefined;
11448
11609
  } | {
11449
11610
  id: string;
11450
- required: boolean;
11611
+ sources: ({
11612
+ scope: "current-project";
11613
+ } | {
11614
+ scope: "team-library";
11615
+ } | {
11616
+ scope: "same-team";
11617
+ projectIds: string[];
11618
+ projectSlugs: string[];
11619
+ } | {
11620
+ teamId: string;
11621
+ scope: "shared-team";
11622
+ projectIds: string[];
11623
+ })[];
11451
11624
  purpose: string;
11452
11625
  target: {
11453
- kind: "code" | "content" | "mixed" | "graph";
11626
+ kind: "code" | "content" | "graph" | "mixed";
11454
11627
  paths?: string[] | undefined;
11455
11628
  models?: string[] | undefined;
11456
11629
  };
11457
11630
  description: string;
11458
11631
  revision: number;
11632
+ requirement: "required" | "preferred";
11459
11633
  format: "map" | "sources" | "summary" | "list" | "full" | "brief";
11460
11634
  query: string;
11461
11635
  depth: number;
11462
11636
  title: string;
11463
11637
  filters: Record<string, unknown>;
11638
+ priority: number;
11464
11639
  maturity: "draft" | "validated" | "simulated" | "proven";
11465
11640
  relations: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[];
11466
11641
  resultLimit: number;
@@ -11469,8 +11644,11 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11469
11644
  maxCharacters?: number | undefined;
11470
11645
  };
11471
11646
  tokenBudget: number;
11647
+ summarization: "none" | "provider" | "deterministic";
11472
11648
  scope?: string | undefined;
11473
11649
  codeScopes?: string[] | undefined;
11650
+ minimumBudget?: number | undefined;
11651
+ maximumBudget?: number | undefined;
11474
11652
  } | {
11475
11653
  id: string;
11476
11654
  description: string;
@@ -11666,7 +11844,7 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11666
11844
  related_proposals?: string[] | undefined;
11667
11845
  related_decisions?: string[] | undefined;
11668
11846
  related_books?: string[] | undefined;
11669
- question_type?: "research" | "evaluation" | "implementation" | "knowledge-gap" | "strategy" | undefined;
11847
+ question_type?: "research" | "implementation" | "evaluation" | "knowledge-gap" | "strategy" | undefined;
11670
11848
  motivation?: string | undefined;
11671
11849
  primary_contributor?: string | undefined;
11672
11850
  } | {
@@ -20233,7 +20411,7 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
20233
20411
  max: number;
20234
20412
  } | undefined;
20235
20413
  maxLatencyMs?: number | undefined;
20236
- }> | z.ZodObject<{
20414
+ }> | z.ZodEffects<z.ZodObject<{
20237
20415
  id: z.ZodString;
20238
20416
  title: z.ZodString;
20239
20417
  description: z.ZodString;
@@ -20246,11 +20424,11 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
20246
20424
  models: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
20247
20425
  paths: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
20248
20426
  }, "strict", z.ZodTypeAny, {
20249
- kind: "code" | "content" | "mixed" | "graph";
20427
+ kind: "code" | "content" | "graph" | "mixed";
20250
20428
  paths?: string[] | undefined;
20251
20429
  models?: string[] | undefined;
20252
20430
  }, {
20253
- kind: "code" | "content" | "mixed" | "graph";
20431
+ kind: "code" | "content" | "graph" | "mixed";
20254
20432
  paths?: string[] | undefined;
20255
20433
  models?: string[] | undefined;
20256
20434
  }>;
@@ -20271,24 +20449,165 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
20271
20449
  }>;
20272
20450
  tokenBudget: z.ZodNumber;
20273
20451
  format: z.ZodDefault<z.ZodEnum<["summary", "full", "sources", "list", "brief", "map"]>>;
20452
+ sources: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"scope", [z.ZodObject<{
20453
+ scope: z.ZodLiteral<"current-project">;
20454
+ }, "strict", z.ZodTypeAny, {
20455
+ scope: "current-project";
20456
+ }, {
20457
+ scope: "current-project";
20458
+ }>, z.ZodObject<{
20459
+ scope: z.ZodLiteral<"team-library">;
20460
+ }, "strict", z.ZodTypeAny, {
20461
+ scope: "team-library";
20462
+ }, {
20463
+ scope: "team-library";
20464
+ }>, z.ZodObject<{
20465
+ scope: z.ZodLiteral<"same-team">;
20466
+ projectIds: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
20467
+ projectSlugs: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
20468
+ }, "strict", z.ZodTypeAny, {
20469
+ scope: "same-team";
20470
+ projectIds: string[];
20471
+ projectSlugs: string[];
20472
+ }, {
20473
+ scope: "same-team";
20474
+ projectIds?: string[] | undefined;
20475
+ projectSlugs?: string[] | undefined;
20476
+ }>, z.ZodObject<{
20477
+ scope: z.ZodLiteral<"shared-team">;
20478
+ teamId: z.ZodString;
20479
+ projectIds: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
20480
+ }, "strict", z.ZodTypeAny, {
20481
+ teamId: string;
20482
+ scope: "shared-team";
20483
+ projectIds: string[];
20484
+ }, {
20485
+ teamId: string;
20486
+ scope: "shared-team";
20487
+ projectIds?: string[] | undefined;
20488
+ }>]>, "many">>;
20489
+ requirement: z.ZodDefault<z.ZodEnum<["required", "preferred"]>>;
20490
+ priority: z.ZodDefault<z.ZodNumber>;
20491
+ minimumBudget: z.ZodOptional<z.ZodNumber>;
20492
+ maximumBudget: z.ZodOptional<z.ZodNumber>;
20493
+ summarization: z.ZodDefault<z.ZodEnum<["none", "deterministic", "provider"]>>;
20274
20494
  filters: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
20275
- required: z.ZodDefault<z.ZodBoolean>;
20276
20495
  }, "strict", z.ZodTypeAny, {
20277
20496
  id: string;
20278
- required: boolean;
20497
+ sources: ({
20498
+ scope: "current-project";
20499
+ } | {
20500
+ scope: "team-library";
20501
+ } | {
20502
+ scope: "same-team";
20503
+ projectIds: string[];
20504
+ projectSlugs: string[];
20505
+ } | {
20506
+ teamId: string;
20507
+ scope: "shared-team";
20508
+ projectIds: string[];
20509
+ })[];
20510
+ purpose: string;
20511
+ target: {
20512
+ kind: "code" | "content" | "graph" | "mixed";
20513
+ paths?: string[] | undefined;
20514
+ models?: string[] | undefined;
20515
+ };
20516
+ description: string;
20517
+ revision: number;
20518
+ requirement: "required" | "preferred";
20519
+ format: "map" | "sources" | "summary" | "list" | "full" | "brief";
20520
+ query: string;
20521
+ depth: number;
20522
+ title: string;
20523
+ filters: Record<string, unknown>;
20524
+ priority: number;
20525
+ maturity: "draft" | "validated" | "simulated" | "proven";
20526
+ relations: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[];
20527
+ resultLimit: number;
20528
+ contextBudget: {
20529
+ maxItems: number;
20530
+ maxCharacters?: number | undefined;
20531
+ };
20532
+ tokenBudget: number;
20533
+ summarization: "none" | "provider" | "deterministic";
20534
+ scope?: string | undefined;
20535
+ codeScopes?: string[] | undefined;
20536
+ minimumBudget?: number | undefined;
20537
+ maximumBudget?: number | undefined;
20538
+ }, {
20539
+ id: string;
20279
20540
  purpose: string;
20280
20541
  target: {
20281
- kind: "code" | "content" | "mixed" | "graph";
20542
+ kind: "code" | "content" | "graph" | "mixed";
20282
20543
  paths?: string[] | undefined;
20283
20544
  models?: string[] | undefined;
20284
20545
  };
20285
20546
  description: string;
20286
20547
  revision: number;
20548
+ query: string;
20549
+ title: string;
20550
+ maturity: "draft" | "validated" | "simulated" | "proven";
20551
+ resultLimit: number;
20552
+ contextBudget: {
20553
+ maxItems: number;
20554
+ maxCharacters?: number | undefined;
20555
+ };
20556
+ tokenBudget: number;
20557
+ sources?: ({
20558
+ scope: "current-project";
20559
+ } | {
20560
+ scope: "team-library";
20561
+ } | {
20562
+ scope: "same-team";
20563
+ projectIds?: string[] | undefined;
20564
+ projectSlugs?: string[] | undefined;
20565
+ } | {
20566
+ teamId: string;
20567
+ scope: "shared-team";
20568
+ projectIds?: string[] | undefined;
20569
+ })[] | undefined;
20570
+ scope?: string | undefined;
20571
+ requirement?: "required" | "preferred" | undefined;
20572
+ format?: "map" | "sources" | "summary" | "list" | "full" | "brief" | undefined;
20573
+ depth?: number | undefined;
20574
+ filters?: Record<string, unknown> | undefined;
20575
+ priority?: number | undefined;
20576
+ codeScopes?: string[] | undefined;
20577
+ relations?: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[] | undefined;
20578
+ minimumBudget?: number | undefined;
20579
+ maximumBudget?: number | undefined;
20580
+ summarization?: "none" | "provider" | "deterministic" | undefined;
20581
+ }>, {
20582
+ id: string;
20583
+ sources: ({
20584
+ scope: "current-project";
20585
+ } | {
20586
+ scope: "team-library";
20587
+ } | {
20588
+ scope: "same-team";
20589
+ projectIds: string[];
20590
+ projectSlugs: string[];
20591
+ } | {
20592
+ teamId: string;
20593
+ scope: "shared-team";
20594
+ projectIds: string[];
20595
+ })[];
20596
+ purpose: string;
20597
+ target: {
20598
+ kind: "code" | "content" | "graph" | "mixed";
20599
+ paths?: string[] | undefined;
20600
+ models?: string[] | undefined;
20601
+ };
20602
+ description: string;
20603
+ revision: number;
20604
+ requirement: "required" | "preferred";
20287
20605
  format: "map" | "sources" | "summary" | "list" | "full" | "brief";
20288
20606
  query: string;
20289
20607
  depth: number;
20290
20608
  title: string;
20291
20609
  filters: Record<string, unknown>;
20610
+ priority: number;
20292
20611
  maturity: "draft" | "validated" | "simulated" | "proven";
20293
20612
  relations: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[];
20294
20613
  resultLimit: number;
@@ -20297,13 +20616,16 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
20297
20616
  maxCharacters?: number | undefined;
20298
20617
  };
20299
20618
  tokenBudget: number;
20619
+ summarization: "none" | "provider" | "deterministic";
20300
20620
  scope?: string | undefined;
20301
20621
  codeScopes?: string[] | undefined;
20622
+ minimumBudget?: number | undefined;
20623
+ maximumBudget?: number | undefined;
20302
20624
  }, {
20303
20625
  id: string;
20304
20626
  purpose: string;
20305
20627
  target: {
20306
- kind: "code" | "content" | "mixed" | "graph";
20628
+ kind: "code" | "content" | "graph" | "mixed";
20307
20629
  paths?: string[] | undefined;
20308
20630
  models?: string[] | undefined;
20309
20631
  };
@@ -20318,13 +20640,30 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
20318
20640
  maxCharacters?: number | undefined;
20319
20641
  };
20320
20642
  tokenBudget: number;
20321
- required?: boolean | undefined;
20643
+ sources?: ({
20644
+ scope: "current-project";
20645
+ } | {
20646
+ scope: "team-library";
20647
+ } | {
20648
+ scope: "same-team";
20649
+ projectIds?: string[] | undefined;
20650
+ projectSlugs?: string[] | undefined;
20651
+ } | {
20652
+ teamId: string;
20653
+ scope: "shared-team";
20654
+ projectIds?: string[] | undefined;
20655
+ })[] | undefined;
20322
20656
  scope?: string | undefined;
20657
+ requirement?: "required" | "preferred" | undefined;
20323
20658
  format?: "map" | "sources" | "summary" | "list" | "full" | "brief" | undefined;
20324
20659
  depth?: number | undefined;
20325
20660
  filters?: Record<string, unknown> | undefined;
20661
+ priority?: number | undefined;
20326
20662
  codeScopes?: string[] | undefined;
20327
20663
  relations?: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[] | undefined;
20664
+ minimumBudget?: number | undefined;
20665
+ maximumBudget?: number | undefined;
20666
+ summarization?: "none" | "provider" | "deterministic" | undefined;
20328
20667
  }> | z.ZodObject<{
20329
20668
  id: z.ZodString;
20330
20669
  title: z.ZodString;
@@ -21044,7 +21383,7 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
21044
21383
  related_proposals?: string[] | undefined;
21045
21384
  related_decisions?: string[] | undefined;
21046
21385
  related_books?: string[] | undefined;
21047
- question_type?: "research" | "evaluation" | "implementation" | "knowledge-gap" | "strategy" | undefined;
21386
+ question_type?: "research" | "implementation" | "evaluation" | "knowledge-gap" | "strategy" | undefined;
21048
21387
  motivation?: string | undefined;
21049
21388
  primary_contributor?: string | undefined;
21050
21389
  }, {
@@ -21066,7 +21405,7 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
21066
21405
  related_proposals?: string[] | undefined;
21067
21406
  related_decisions?: string[] | undefined;
21068
21407
  related_books?: string[] | undefined;
21069
- question_type?: "research" | "evaluation" | "implementation" | "knowledge-gap" | "strategy" | undefined;
21408
+ question_type?: "research" | "implementation" | "evaluation" | "knowledge-gap" | "strategy" | undefined;
21070
21409
  motivation?: string | undefined;
21071
21410
  primary_contributor?: string | undefined;
21072
21411
  }> | z.ZodObject<{
@@ -1694,20 +1694,34 @@ export declare function validatePortableContentData(model: string, value: unknow
1694
1694
  maxLatencyMs?: number | undefined;
1695
1695
  } | {
1696
1696
  id: string;
1697
- required: boolean;
1697
+ sources: ({
1698
+ scope: "current-project";
1699
+ } | {
1700
+ scope: "team-library";
1701
+ } | {
1702
+ scope: "same-team";
1703
+ projectIds: string[];
1704
+ projectSlugs: string[];
1705
+ } | {
1706
+ teamId: string;
1707
+ scope: "shared-team";
1708
+ projectIds: string[];
1709
+ })[];
1698
1710
  purpose: string;
1699
1711
  target: {
1700
- kind: "code" | "content" | "mixed" | "graph";
1712
+ kind: "code" | "content" | "graph" | "mixed";
1701
1713
  paths?: string[] | undefined;
1702
1714
  models?: string[] | undefined;
1703
1715
  };
1704
1716
  description: string;
1705
1717
  revision: number;
1718
+ requirement: "required" | "preferred";
1706
1719
  format: "map" | "sources" | "summary" | "list" | "full" | "brief";
1707
1720
  query: string;
1708
1721
  depth: number;
1709
1722
  title: string;
1710
1723
  filters: Record<string, unknown>;
1724
+ priority: number;
1711
1725
  maturity: "draft" | "validated" | "simulated" | "proven";
1712
1726
  relations: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[];
1713
1727
  resultLimit: number;
@@ -1716,8 +1730,11 @@ export declare function validatePortableContentData(model: string, value: unknow
1716
1730
  maxCharacters?: number | undefined;
1717
1731
  };
1718
1732
  tokenBudget: number;
1733
+ summarization: "none" | "provider" | "deterministic";
1719
1734
  scope?: string | undefined;
1720
1735
  codeScopes?: string[] | undefined;
1736
+ minimumBudget?: number | undefined;
1737
+ maximumBudget?: number | undefined;
1721
1738
  } | {
1722
1739
  id: string;
1723
1740
  description: string;
@@ -1913,7 +1930,7 @@ export declare function validatePortableContentData(model: string, value: unknow
1913
1930
  related_proposals?: string[] | undefined;
1914
1931
  related_decisions?: string[] | undefined;
1915
1932
  related_books?: string[] | undefined;
1916
- question_type?: "research" | "evaluation" | "implementation" | "knowledge-gap" | "strategy" | undefined;
1933
+ question_type?: "research" | "implementation" | "evaluation" | "knowledge-gap" | "strategy" | undefined;
1917
1934
  motivation?: string | undefined;
1918
1935
  primary_contributor?: string | undefined;
1919
1936
  } | {