@miller-tech/uap 1.5.6 → 1.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.tsbuildinfo +1 -1
- package/dist/benchmarks/benchmark.d.ts +53 -53
- package/dist/coordination/droid-validator.d.ts +1 -1
- package/dist/models/types.d.ts +57 -57
- package/dist/policies/schemas/policy.d.ts +18 -18
- package/dist/tasks/types.d.ts +23 -23
- package/dist/types/config.d.ts +416 -416
- package/dist/types/coordination.d.ts +22 -22
- package/dist/uap-droids-strict.d.ts +1 -1
- package/package.json +3 -5
package/dist/types/config.d.ts
CHANGED
|
@@ -52,9 +52,9 @@ export declare const GitHubMemoryBackendSchema: z.ZodObject<{
|
|
|
52
52
|
}, {
|
|
53
53
|
enabled?: boolean | undefined;
|
|
54
54
|
path?: string | undefined;
|
|
55
|
+
branch?: string | undefined;
|
|
55
56
|
repo?: string | undefined;
|
|
56
57
|
token?: string | undefined;
|
|
57
|
-
branch?: string | undefined;
|
|
58
58
|
}>;
|
|
59
59
|
export declare const QdrantCloudBackendSchema: z.ZodObject<{
|
|
60
60
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -64,13 +64,13 @@ export declare const QdrantCloudBackendSchema: z.ZodObject<{
|
|
|
64
64
|
}, "strip", z.ZodTypeAny, {
|
|
65
65
|
enabled: boolean;
|
|
66
66
|
collection: string;
|
|
67
|
-
url?: string | undefined;
|
|
68
67
|
apiKey?: string | undefined;
|
|
68
|
+
url?: string | undefined;
|
|
69
69
|
}, {
|
|
70
70
|
enabled?: boolean | undefined;
|
|
71
|
-
url?: string | undefined;
|
|
72
71
|
apiKey?: string | undefined;
|
|
73
72
|
collection?: string | undefined;
|
|
73
|
+
url?: string | undefined;
|
|
74
74
|
}>;
|
|
75
75
|
/**
|
|
76
76
|
* NEW: Serverless Qdrant configuration for cost optimization.
|
|
@@ -116,12 +116,12 @@ export declare const QdrantServerlessSchema: z.ZodObject<{
|
|
|
116
116
|
region: string;
|
|
117
117
|
keepWarm: boolean;
|
|
118
118
|
warmIntervalMs: number;
|
|
119
|
-
url?: string | undefined;
|
|
120
119
|
apiKey?: string | undefined;
|
|
121
|
-
}, {
|
|
122
120
|
url?: string | undefined;
|
|
123
|
-
|
|
121
|
+
}, {
|
|
124
122
|
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
123
|
+
apiKey?: string | undefined;
|
|
124
|
+
url?: string | undefined;
|
|
125
125
|
region?: string | undefined;
|
|
126
126
|
keepWarm?: boolean | undefined;
|
|
127
127
|
warmIntervalMs?: number | undefined;
|
|
@@ -133,11 +133,11 @@ export declare const QdrantServerlessSchema: z.ZodObject<{
|
|
|
133
133
|
}, "strip", z.ZodTypeAny, {
|
|
134
134
|
useLocalInDev: boolean;
|
|
135
135
|
useCloudInProd: boolean;
|
|
136
|
-
envDetection: "
|
|
136
|
+
envDetection: "auto" | "NODE_ENV" | "UAP_ENV";
|
|
137
137
|
}, {
|
|
138
138
|
useLocalInDev?: boolean | undefined;
|
|
139
139
|
useCloudInProd?: boolean | undefined;
|
|
140
|
-
envDetection?: "
|
|
140
|
+
envDetection?: "auto" | "NODE_ENV" | "UAP_ENV" | undefined;
|
|
141
141
|
}>>;
|
|
142
142
|
fallbackToMemory: z.ZodDefault<z.ZodBoolean>;
|
|
143
143
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -147,7 +147,7 @@ export declare const QdrantServerlessSchema: z.ZodObject<{
|
|
|
147
147
|
hybrid?: {
|
|
148
148
|
useLocalInDev: boolean;
|
|
149
149
|
useCloudInProd: boolean;
|
|
150
|
-
envDetection: "
|
|
150
|
+
envDetection: "auto" | "NODE_ENV" | "UAP_ENV";
|
|
151
151
|
} | undefined;
|
|
152
152
|
lazyLocal?: {
|
|
153
153
|
dockerImage: string;
|
|
@@ -163,15 +163,15 @@ export declare const QdrantServerlessSchema: z.ZodObject<{
|
|
|
163
163
|
region: string;
|
|
164
164
|
keepWarm: boolean;
|
|
165
165
|
warmIntervalMs: number;
|
|
166
|
-
url?: string | undefined;
|
|
167
166
|
apiKey?: string | undefined;
|
|
167
|
+
url?: string | undefined;
|
|
168
168
|
} | undefined;
|
|
169
169
|
}, {
|
|
170
170
|
enabled?: boolean | undefined;
|
|
171
171
|
hybrid?: {
|
|
172
172
|
useLocalInDev?: boolean | undefined;
|
|
173
173
|
useCloudInProd?: boolean | undefined;
|
|
174
|
-
envDetection?: "
|
|
174
|
+
envDetection?: "auto" | "NODE_ENV" | "UAP_ENV" | undefined;
|
|
175
175
|
} | undefined;
|
|
176
176
|
mode?: "lazy-local" | "cloud-serverless" | "hybrid" | undefined;
|
|
177
177
|
lazyLocal?: {
|
|
@@ -184,9 +184,9 @@ export declare const QdrantServerlessSchema: z.ZodObject<{
|
|
|
184
184
|
healthCheckIntervalMs?: number | undefined;
|
|
185
185
|
} | undefined;
|
|
186
186
|
cloudServerless?: {
|
|
187
|
-
url?: string | undefined;
|
|
188
|
-
apiKey?: string | undefined;
|
|
189
187
|
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
188
|
+
apiKey?: string | undefined;
|
|
189
|
+
url?: string | undefined;
|
|
190
190
|
region?: string | undefined;
|
|
191
191
|
keepWarm?: boolean | undefined;
|
|
192
192
|
warmIntervalMs?: number | undefined;
|
|
@@ -214,9 +214,9 @@ export declare const LongTermMemorySchema: z.ZodObject<{
|
|
|
214
214
|
}, {
|
|
215
215
|
enabled?: boolean | undefined;
|
|
216
216
|
path?: string | undefined;
|
|
217
|
+
branch?: string | undefined;
|
|
217
218
|
repo?: string | undefined;
|
|
218
219
|
token?: string | undefined;
|
|
219
|
-
branch?: string | undefined;
|
|
220
220
|
}>>;
|
|
221
221
|
qdrantCloud: z.ZodOptional<z.ZodObject<{
|
|
222
222
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -226,13 +226,13 @@ export declare const LongTermMemorySchema: z.ZodObject<{
|
|
|
226
226
|
}, "strip", z.ZodTypeAny, {
|
|
227
227
|
enabled: boolean;
|
|
228
228
|
collection: string;
|
|
229
|
-
url?: string | undefined;
|
|
230
229
|
apiKey?: string | undefined;
|
|
230
|
+
url?: string | undefined;
|
|
231
231
|
}, {
|
|
232
232
|
enabled?: boolean | undefined;
|
|
233
|
-
url?: string | undefined;
|
|
234
233
|
apiKey?: string | undefined;
|
|
235
234
|
collection?: string | undefined;
|
|
235
|
+
url?: string | undefined;
|
|
236
236
|
}>>;
|
|
237
237
|
serverless: z.ZodOptional<z.ZodObject<{
|
|
238
238
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -274,12 +274,12 @@ export declare const LongTermMemorySchema: z.ZodObject<{
|
|
|
274
274
|
region: string;
|
|
275
275
|
keepWarm: boolean;
|
|
276
276
|
warmIntervalMs: number;
|
|
277
|
-
url?: string | undefined;
|
|
278
277
|
apiKey?: string | undefined;
|
|
279
|
-
}, {
|
|
280
278
|
url?: string | undefined;
|
|
281
|
-
|
|
279
|
+
}, {
|
|
282
280
|
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
281
|
+
apiKey?: string | undefined;
|
|
282
|
+
url?: string | undefined;
|
|
283
283
|
region?: string | undefined;
|
|
284
284
|
keepWarm?: boolean | undefined;
|
|
285
285
|
warmIntervalMs?: number | undefined;
|
|
@@ -291,11 +291,11 @@ export declare const LongTermMemorySchema: z.ZodObject<{
|
|
|
291
291
|
}, "strip", z.ZodTypeAny, {
|
|
292
292
|
useLocalInDev: boolean;
|
|
293
293
|
useCloudInProd: boolean;
|
|
294
|
-
envDetection: "
|
|
294
|
+
envDetection: "auto" | "NODE_ENV" | "UAP_ENV";
|
|
295
295
|
}, {
|
|
296
296
|
useLocalInDev?: boolean | undefined;
|
|
297
297
|
useCloudInProd?: boolean | undefined;
|
|
298
|
-
envDetection?: "
|
|
298
|
+
envDetection?: "auto" | "NODE_ENV" | "UAP_ENV" | undefined;
|
|
299
299
|
}>>;
|
|
300
300
|
fallbackToMemory: z.ZodDefault<z.ZodBoolean>;
|
|
301
301
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -305,7 +305,7 @@ export declare const LongTermMemorySchema: z.ZodObject<{
|
|
|
305
305
|
hybrid?: {
|
|
306
306
|
useLocalInDev: boolean;
|
|
307
307
|
useCloudInProd: boolean;
|
|
308
|
-
envDetection: "
|
|
308
|
+
envDetection: "auto" | "NODE_ENV" | "UAP_ENV";
|
|
309
309
|
} | undefined;
|
|
310
310
|
lazyLocal?: {
|
|
311
311
|
dockerImage: string;
|
|
@@ -321,15 +321,15 @@ export declare const LongTermMemorySchema: z.ZodObject<{
|
|
|
321
321
|
region: string;
|
|
322
322
|
keepWarm: boolean;
|
|
323
323
|
warmIntervalMs: number;
|
|
324
|
-
url?: string | undefined;
|
|
325
324
|
apiKey?: string | undefined;
|
|
325
|
+
url?: string | undefined;
|
|
326
326
|
} | undefined;
|
|
327
327
|
}, {
|
|
328
328
|
enabled?: boolean | undefined;
|
|
329
329
|
hybrid?: {
|
|
330
330
|
useLocalInDev?: boolean | undefined;
|
|
331
331
|
useCloudInProd?: boolean | undefined;
|
|
332
|
-
envDetection?: "
|
|
332
|
+
envDetection?: "auto" | "NODE_ENV" | "UAP_ENV" | undefined;
|
|
333
333
|
} | undefined;
|
|
334
334
|
mode?: "lazy-local" | "cloud-serverless" | "hybrid" | undefined;
|
|
335
335
|
lazyLocal?: {
|
|
@@ -342,9 +342,9 @@ export declare const LongTermMemorySchema: z.ZodObject<{
|
|
|
342
342
|
healthCheckIntervalMs?: number | undefined;
|
|
343
343
|
} | undefined;
|
|
344
344
|
cloudServerless?: {
|
|
345
|
-
url?: string | undefined;
|
|
346
|
-
apiKey?: string | undefined;
|
|
347
345
|
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
346
|
+
apiKey?: string | undefined;
|
|
347
|
+
url?: string | undefined;
|
|
348
348
|
region?: string | undefined;
|
|
349
349
|
keepWarm?: boolean | undefined;
|
|
350
350
|
warmIntervalMs?: number | undefined;
|
|
@@ -352,9 +352,9 @@ export declare const LongTermMemorySchema: z.ZodObject<{
|
|
|
352
352
|
fallbackToMemory?: boolean | undefined;
|
|
353
353
|
}>>;
|
|
354
354
|
}, "strip", z.ZodTypeAny, {
|
|
355
|
+
provider: "qdrant" | "none" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "serverless";
|
|
355
356
|
enabled: boolean;
|
|
356
357
|
collection: string;
|
|
357
|
-
provider: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none";
|
|
358
358
|
embeddingModel: string;
|
|
359
359
|
github?: {
|
|
360
360
|
enabled: boolean;
|
|
@@ -370,7 +370,7 @@ export declare const LongTermMemorySchema: z.ZodObject<{
|
|
|
370
370
|
hybrid?: {
|
|
371
371
|
useLocalInDev: boolean;
|
|
372
372
|
useCloudInProd: boolean;
|
|
373
|
-
envDetection: "
|
|
373
|
+
envDetection: "auto" | "NODE_ENV" | "UAP_ENV";
|
|
374
374
|
} | undefined;
|
|
375
375
|
lazyLocal?: {
|
|
376
376
|
dockerImage: string;
|
|
@@ -386,34 +386,33 @@ export declare const LongTermMemorySchema: z.ZodObject<{
|
|
|
386
386
|
region: string;
|
|
387
387
|
keepWarm: boolean;
|
|
388
388
|
warmIntervalMs: number;
|
|
389
|
-
url?: string | undefined;
|
|
390
389
|
apiKey?: string | undefined;
|
|
390
|
+
url?: string | undefined;
|
|
391
391
|
} | undefined;
|
|
392
392
|
} | undefined;
|
|
393
393
|
endpoint?: string | undefined;
|
|
394
394
|
qdrantCloud?: {
|
|
395
395
|
enabled: boolean;
|
|
396
396
|
collection: string;
|
|
397
|
-
url?: string | undefined;
|
|
398
397
|
apiKey?: string | undefined;
|
|
398
|
+
url?: string | undefined;
|
|
399
399
|
} | undefined;
|
|
400
400
|
}, {
|
|
401
|
+
provider?: "qdrant" | "none" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "serverless" | undefined;
|
|
401
402
|
enabled?: boolean | undefined;
|
|
402
|
-
collection?: string | undefined;
|
|
403
|
-
provider?: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none" | undefined;
|
|
404
403
|
github?: {
|
|
405
404
|
enabled?: boolean | undefined;
|
|
406
405
|
path?: string | undefined;
|
|
406
|
+
branch?: string | undefined;
|
|
407
407
|
repo?: string | undefined;
|
|
408
408
|
token?: string | undefined;
|
|
409
|
-
branch?: string | undefined;
|
|
410
409
|
} | undefined;
|
|
411
410
|
serverless?: {
|
|
412
411
|
enabled?: boolean | undefined;
|
|
413
412
|
hybrid?: {
|
|
414
413
|
useLocalInDev?: boolean | undefined;
|
|
415
414
|
useCloudInProd?: boolean | undefined;
|
|
416
|
-
envDetection?: "
|
|
415
|
+
envDetection?: "auto" | "NODE_ENV" | "UAP_ENV" | undefined;
|
|
417
416
|
} | undefined;
|
|
418
417
|
mode?: "lazy-local" | "cloud-serverless" | "hybrid" | undefined;
|
|
419
418
|
lazyLocal?: {
|
|
@@ -426,9 +425,9 @@ export declare const LongTermMemorySchema: z.ZodObject<{
|
|
|
426
425
|
healthCheckIntervalMs?: number | undefined;
|
|
427
426
|
} | undefined;
|
|
428
427
|
cloudServerless?: {
|
|
429
|
-
url?: string | undefined;
|
|
430
|
-
apiKey?: string | undefined;
|
|
431
428
|
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
429
|
+
apiKey?: string | undefined;
|
|
430
|
+
url?: string | undefined;
|
|
432
431
|
region?: string | undefined;
|
|
433
432
|
keepWarm?: boolean | undefined;
|
|
434
433
|
warmIntervalMs?: number | undefined;
|
|
@@ -436,12 +435,13 @@ export declare const LongTermMemorySchema: z.ZodObject<{
|
|
|
436
435
|
fallbackToMemory?: boolean | undefined;
|
|
437
436
|
} | undefined;
|
|
438
437
|
endpoint?: string | undefined;
|
|
438
|
+
collection?: string | undefined;
|
|
439
439
|
embeddingModel?: string | undefined;
|
|
440
440
|
qdrantCloud?: {
|
|
441
441
|
enabled?: boolean | undefined;
|
|
442
|
-
url?: string | undefined;
|
|
443
442
|
apiKey?: string | undefined;
|
|
444
443
|
collection?: string | undefined;
|
|
444
|
+
url?: string | undefined;
|
|
445
445
|
} | undefined;
|
|
446
446
|
}>;
|
|
447
447
|
/**
|
|
@@ -531,9 +531,9 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
531
531
|
}, {
|
|
532
532
|
enabled?: boolean | undefined;
|
|
533
533
|
path?: string | undefined;
|
|
534
|
+
branch?: string | undefined;
|
|
534
535
|
repo?: string | undefined;
|
|
535
536
|
token?: string | undefined;
|
|
536
|
-
branch?: string | undefined;
|
|
537
537
|
}>>;
|
|
538
538
|
qdrantCloud: z.ZodOptional<z.ZodObject<{
|
|
539
539
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -543,13 +543,13 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
543
543
|
}, "strip", z.ZodTypeAny, {
|
|
544
544
|
enabled: boolean;
|
|
545
545
|
collection: string;
|
|
546
|
-
url?: string | undefined;
|
|
547
546
|
apiKey?: string | undefined;
|
|
547
|
+
url?: string | undefined;
|
|
548
548
|
}, {
|
|
549
549
|
enabled?: boolean | undefined;
|
|
550
|
-
url?: string | undefined;
|
|
551
550
|
apiKey?: string | undefined;
|
|
552
551
|
collection?: string | undefined;
|
|
552
|
+
url?: string | undefined;
|
|
553
553
|
}>>;
|
|
554
554
|
serverless: z.ZodOptional<z.ZodObject<{
|
|
555
555
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -591,12 +591,12 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
591
591
|
region: string;
|
|
592
592
|
keepWarm: boolean;
|
|
593
593
|
warmIntervalMs: number;
|
|
594
|
-
url?: string | undefined;
|
|
595
594
|
apiKey?: string | undefined;
|
|
596
|
-
}, {
|
|
597
595
|
url?: string | undefined;
|
|
598
|
-
|
|
596
|
+
}, {
|
|
599
597
|
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
598
|
+
apiKey?: string | undefined;
|
|
599
|
+
url?: string | undefined;
|
|
600
600
|
region?: string | undefined;
|
|
601
601
|
keepWarm?: boolean | undefined;
|
|
602
602
|
warmIntervalMs?: number | undefined;
|
|
@@ -608,11 +608,11 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
608
608
|
}, "strip", z.ZodTypeAny, {
|
|
609
609
|
useLocalInDev: boolean;
|
|
610
610
|
useCloudInProd: boolean;
|
|
611
|
-
envDetection: "
|
|
611
|
+
envDetection: "auto" | "NODE_ENV" | "UAP_ENV";
|
|
612
612
|
}, {
|
|
613
613
|
useLocalInDev?: boolean | undefined;
|
|
614
614
|
useCloudInProd?: boolean | undefined;
|
|
615
|
-
envDetection?: "
|
|
615
|
+
envDetection?: "auto" | "NODE_ENV" | "UAP_ENV" | undefined;
|
|
616
616
|
}>>;
|
|
617
617
|
fallbackToMemory: z.ZodDefault<z.ZodBoolean>;
|
|
618
618
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -622,7 +622,7 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
622
622
|
hybrid?: {
|
|
623
623
|
useLocalInDev: boolean;
|
|
624
624
|
useCloudInProd: boolean;
|
|
625
|
-
envDetection: "
|
|
625
|
+
envDetection: "auto" | "NODE_ENV" | "UAP_ENV";
|
|
626
626
|
} | undefined;
|
|
627
627
|
lazyLocal?: {
|
|
628
628
|
dockerImage: string;
|
|
@@ -638,15 +638,15 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
638
638
|
region: string;
|
|
639
639
|
keepWarm: boolean;
|
|
640
640
|
warmIntervalMs: number;
|
|
641
|
-
url?: string | undefined;
|
|
642
641
|
apiKey?: string | undefined;
|
|
642
|
+
url?: string | undefined;
|
|
643
643
|
} | undefined;
|
|
644
644
|
}, {
|
|
645
645
|
enabled?: boolean | undefined;
|
|
646
646
|
hybrid?: {
|
|
647
647
|
useLocalInDev?: boolean | undefined;
|
|
648
648
|
useCloudInProd?: boolean | undefined;
|
|
649
|
-
envDetection?: "
|
|
649
|
+
envDetection?: "auto" | "NODE_ENV" | "UAP_ENV" | undefined;
|
|
650
650
|
} | undefined;
|
|
651
651
|
mode?: "lazy-local" | "cloud-serverless" | "hybrid" | undefined;
|
|
652
652
|
lazyLocal?: {
|
|
@@ -659,9 +659,9 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
659
659
|
healthCheckIntervalMs?: number | undefined;
|
|
660
660
|
} | undefined;
|
|
661
661
|
cloudServerless?: {
|
|
662
|
-
url?: string | undefined;
|
|
663
|
-
apiKey?: string | undefined;
|
|
664
662
|
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
663
|
+
apiKey?: string | undefined;
|
|
664
|
+
url?: string | undefined;
|
|
665
665
|
region?: string | undefined;
|
|
666
666
|
keepWarm?: boolean | undefined;
|
|
667
667
|
warmIntervalMs?: number | undefined;
|
|
@@ -669,9 +669,9 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
669
669
|
fallbackToMemory?: boolean | undefined;
|
|
670
670
|
}>>;
|
|
671
671
|
}, "strip", z.ZodTypeAny, {
|
|
672
|
+
provider: "qdrant" | "none" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "serverless";
|
|
672
673
|
enabled: boolean;
|
|
673
674
|
collection: string;
|
|
674
|
-
provider: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none";
|
|
675
675
|
embeddingModel: string;
|
|
676
676
|
github?: {
|
|
677
677
|
enabled: boolean;
|
|
@@ -687,7 +687,7 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
687
687
|
hybrid?: {
|
|
688
688
|
useLocalInDev: boolean;
|
|
689
689
|
useCloudInProd: boolean;
|
|
690
|
-
envDetection: "
|
|
690
|
+
envDetection: "auto" | "NODE_ENV" | "UAP_ENV";
|
|
691
691
|
} | undefined;
|
|
692
692
|
lazyLocal?: {
|
|
693
693
|
dockerImage: string;
|
|
@@ -703,34 +703,33 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
703
703
|
region: string;
|
|
704
704
|
keepWarm: boolean;
|
|
705
705
|
warmIntervalMs: number;
|
|
706
|
-
url?: string | undefined;
|
|
707
706
|
apiKey?: string | undefined;
|
|
707
|
+
url?: string | undefined;
|
|
708
708
|
} | undefined;
|
|
709
709
|
} | undefined;
|
|
710
710
|
endpoint?: string | undefined;
|
|
711
711
|
qdrantCloud?: {
|
|
712
712
|
enabled: boolean;
|
|
713
713
|
collection: string;
|
|
714
|
-
url?: string | undefined;
|
|
715
714
|
apiKey?: string | undefined;
|
|
715
|
+
url?: string | undefined;
|
|
716
716
|
} | undefined;
|
|
717
717
|
}, {
|
|
718
|
+
provider?: "qdrant" | "none" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "serverless" | undefined;
|
|
718
719
|
enabled?: boolean | undefined;
|
|
719
|
-
collection?: string | undefined;
|
|
720
|
-
provider?: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none" | undefined;
|
|
721
720
|
github?: {
|
|
722
721
|
enabled?: boolean | undefined;
|
|
723
722
|
path?: string | undefined;
|
|
723
|
+
branch?: string | undefined;
|
|
724
724
|
repo?: string | undefined;
|
|
725
725
|
token?: string | undefined;
|
|
726
|
-
branch?: string | undefined;
|
|
727
726
|
} | undefined;
|
|
728
727
|
serverless?: {
|
|
729
728
|
enabled?: boolean | undefined;
|
|
730
729
|
hybrid?: {
|
|
731
730
|
useLocalInDev?: boolean | undefined;
|
|
732
731
|
useCloudInProd?: boolean | undefined;
|
|
733
|
-
envDetection?: "
|
|
732
|
+
envDetection?: "auto" | "NODE_ENV" | "UAP_ENV" | undefined;
|
|
734
733
|
} | undefined;
|
|
735
734
|
mode?: "lazy-local" | "cloud-serverless" | "hybrid" | undefined;
|
|
736
735
|
lazyLocal?: {
|
|
@@ -743,9 +742,9 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
743
742
|
healthCheckIntervalMs?: number | undefined;
|
|
744
743
|
} | undefined;
|
|
745
744
|
cloudServerless?: {
|
|
746
|
-
url?: string | undefined;
|
|
747
|
-
apiKey?: string | undefined;
|
|
748
745
|
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
746
|
+
apiKey?: string | undefined;
|
|
747
|
+
url?: string | undefined;
|
|
749
748
|
region?: string | undefined;
|
|
750
749
|
keepWarm?: boolean | undefined;
|
|
751
750
|
warmIntervalMs?: number | undefined;
|
|
@@ -753,12 +752,13 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
753
752
|
fallbackToMemory?: boolean | undefined;
|
|
754
753
|
} | undefined;
|
|
755
754
|
endpoint?: string | undefined;
|
|
755
|
+
collection?: string | undefined;
|
|
756
756
|
embeddingModel?: string | undefined;
|
|
757
757
|
qdrantCloud?: {
|
|
758
758
|
enabled?: boolean | undefined;
|
|
759
|
-
url?: string | undefined;
|
|
760
759
|
apiKey?: string | undefined;
|
|
761
760
|
collection?: string | undefined;
|
|
761
|
+
url?: string | undefined;
|
|
762
762
|
} | undefined;
|
|
763
763
|
}>>;
|
|
764
764
|
patternRag: z.ZodOptional<z.ZodObject<{
|
|
@@ -824,9 +824,9 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
824
824
|
forceDesktop?: boolean | undefined;
|
|
825
825
|
} | undefined;
|
|
826
826
|
longTerm?: {
|
|
827
|
+
provider: "qdrant" | "none" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "serverless";
|
|
827
828
|
enabled: boolean;
|
|
828
829
|
collection: string;
|
|
829
|
-
provider: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none";
|
|
830
830
|
embeddingModel: string;
|
|
831
831
|
github?: {
|
|
832
832
|
enabled: boolean;
|
|
@@ -842,7 +842,7 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
842
842
|
hybrid?: {
|
|
843
843
|
useLocalInDev: boolean;
|
|
844
844
|
useCloudInProd: boolean;
|
|
845
|
-
envDetection: "
|
|
845
|
+
envDetection: "auto" | "NODE_ENV" | "UAP_ENV";
|
|
846
846
|
} | undefined;
|
|
847
847
|
lazyLocal?: {
|
|
848
848
|
dockerImage: string;
|
|
@@ -858,16 +858,16 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
858
858
|
region: string;
|
|
859
859
|
keepWarm: boolean;
|
|
860
860
|
warmIntervalMs: number;
|
|
861
|
-
url?: string | undefined;
|
|
862
861
|
apiKey?: string | undefined;
|
|
862
|
+
url?: string | undefined;
|
|
863
863
|
} | undefined;
|
|
864
864
|
} | undefined;
|
|
865
865
|
endpoint?: string | undefined;
|
|
866
866
|
qdrantCloud?: {
|
|
867
867
|
enabled: boolean;
|
|
868
868
|
collection: string;
|
|
869
|
-
url?: string | undefined;
|
|
870
869
|
apiKey?: string | undefined;
|
|
870
|
+
url?: string | undefined;
|
|
871
871
|
} | undefined;
|
|
872
872
|
} | undefined;
|
|
873
873
|
}, {
|
|
@@ -893,22 +893,21 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
893
893
|
forceDesktop?: boolean | undefined;
|
|
894
894
|
} | undefined;
|
|
895
895
|
longTerm?: {
|
|
896
|
+
provider?: "qdrant" | "none" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "serverless" | undefined;
|
|
896
897
|
enabled?: boolean | undefined;
|
|
897
|
-
collection?: string | undefined;
|
|
898
|
-
provider?: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none" | undefined;
|
|
899
898
|
github?: {
|
|
900
899
|
enabled?: boolean | undefined;
|
|
901
900
|
path?: string | undefined;
|
|
901
|
+
branch?: string | undefined;
|
|
902
902
|
repo?: string | undefined;
|
|
903
903
|
token?: string | undefined;
|
|
904
|
-
branch?: string | undefined;
|
|
905
904
|
} | undefined;
|
|
906
905
|
serverless?: {
|
|
907
906
|
enabled?: boolean | undefined;
|
|
908
907
|
hybrid?: {
|
|
909
908
|
useLocalInDev?: boolean | undefined;
|
|
910
909
|
useCloudInProd?: boolean | undefined;
|
|
911
|
-
envDetection?: "
|
|
910
|
+
envDetection?: "auto" | "NODE_ENV" | "UAP_ENV" | undefined;
|
|
912
911
|
} | undefined;
|
|
913
912
|
mode?: "lazy-local" | "cloud-serverless" | "hybrid" | undefined;
|
|
914
913
|
lazyLocal?: {
|
|
@@ -921,9 +920,9 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
921
920
|
healthCheckIntervalMs?: number | undefined;
|
|
922
921
|
} | undefined;
|
|
923
922
|
cloudServerless?: {
|
|
924
|
-
url?: string | undefined;
|
|
925
|
-
apiKey?: string | undefined;
|
|
926
923
|
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
924
|
+
apiKey?: string | undefined;
|
|
925
|
+
url?: string | undefined;
|
|
927
926
|
region?: string | undefined;
|
|
928
927
|
keepWarm?: boolean | undefined;
|
|
929
928
|
warmIntervalMs?: number | undefined;
|
|
@@ -931,12 +930,13 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
931
930
|
fallbackToMemory?: boolean | undefined;
|
|
932
931
|
} | undefined;
|
|
933
932
|
endpoint?: string | undefined;
|
|
933
|
+
collection?: string | undefined;
|
|
934
934
|
embeddingModel?: string | undefined;
|
|
935
935
|
qdrantCloud?: {
|
|
936
936
|
enabled?: boolean | undefined;
|
|
937
|
-
url?: string | undefined;
|
|
938
937
|
apiKey?: string | undefined;
|
|
939
938
|
collection?: string | undefined;
|
|
939
|
+
url?: string | undefined;
|
|
940
940
|
} | undefined;
|
|
941
941
|
} | undefined;
|
|
942
942
|
}>;
|
|
@@ -965,14 +965,14 @@ export declare const DroidSchema: z.ZodObject<{
|
|
|
965
965
|
}, "strip", z.ZodTypeAny, {
|
|
966
966
|
name: string;
|
|
967
967
|
model: string;
|
|
968
|
-
template?: string | undefined;
|
|
969
968
|
description?: string | undefined;
|
|
969
|
+
template?: string | undefined;
|
|
970
970
|
tools?: string | string[] | undefined;
|
|
971
971
|
}, {
|
|
972
972
|
name: string;
|
|
973
|
-
template?: string | undefined;
|
|
974
973
|
description?: string | undefined;
|
|
975
974
|
model?: string | undefined;
|
|
975
|
+
template?: string | undefined;
|
|
976
976
|
tools?: string | string[] | undefined;
|
|
977
977
|
}>;
|
|
978
978
|
export declare const CommandSchema: z.ZodObject<{
|
|
@@ -982,13 +982,13 @@ export declare const CommandSchema: z.ZodObject<{
|
|
|
982
982
|
argumentHint: z.ZodOptional<z.ZodString>;
|
|
983
983
|
}, "strip", z.ZodTypeAny, {
|
|
984
984
|
name: string;
|
|
985
|
-
template?: string | undefined;
|
|
986
985
|
description?: string | undefined;
|
|
986
|
+
template?: string | undefined;
|
|
987
987
|
argumentHint?: string | undefined;
|
|
988
988
|
}, {
|
|
989
989
|
name: string;
|
|
990
|
-
template?: string | undefined;
|
|
991
990
|
description?: string | undefined;
|
|
991
|
+
template?: string | undefined;
|
|
992
992
|
argumentHint?: string | undefined;
|
|
993
993
|
}>;
|
|
994
994
|
export declare const TemplateSectionsSchema: z.ZodObject<{
|
|
@@ -1001,6 +1001,7 @@ export declare const TemplateSectionsSchema: z.ZodObject<{
|
|
|
1001
1001
|
pipelineOnly: z.ZodDefault<z.ZodBoolean>;
|
|
1002
1002
|
benchmark: z.ZodDefault<z.ZodBoolean>;
|
|
1003
1003
|
}, "strip", z.ZodTypeAny, {
|
|
1004
|
+
benchmark: boolean;
|
|
1004
1005
|
memorySystem: boolean;
|
|
1005
1006
|
browserUsage: boolean;
|
|
1006
1007
|
decisionLoop: boolean;
|
|
@@ -1008,8 +1009,8 @@ export declare const TemplateSectionsSchema: z.ZodObject<{
|
|
|
1008
1009
|
troubleshooting: boolean;
|
|
1009
1010
|
augmentedCapabilities: boolean;
|
|
1010
1011
|
pipelineOnly: boolean;
|
|
1011
|
-
benchmark: boolean;
|
|
1012
1012
|
}, {
|
|
1013
|
+
benchmark?: boolean | undefined;
|
|
1013
1014
|
memorySystem?: boolean | undefined;
|
|
1014
1015
|
browserUsage?: boolean | undefined;
|
|
1015
1016
|
decisionLoop?: boolean | undefined;
|
|
@@ -1017,7 +1018,6 @@ export declare const TemplateSectionsSchema: z.ZodObject<{
|
|
|
1017
1018
|
troubleshooting?: boolean | undefined;
|
|
1018
1019
|
augmentedCapabilities?: boolean | undefined;
|
|
1019
1020
|
pipelineOnly?: boolean | undefined;
|
|
1020
|
-
benchmark?: boolean | undefined;
|
|
1021
1021
|
}>;
|
|
1022
1022
|
export declare const TemplateSchema: z.ZodObject<{
|
|
1023
1023
|
extends: z.ZodDefault<z.ZodString>;
|
|
@@ -1031,6 +1031,7 @@ export declare const TemplateSchema: z.ZodObject<{
|
|
|
1031
1031
|
pipelineOnly: z.ZodDefault<z.ZodBoolean>;
|
|
1032
1032
|
benchmark: z.ZodDefault<z.ZodBoolean>;
|
|
1033
1033
|
}, "strip", z.ZodTypeAny, {
|
|
1034
|
+
benchmark: boolean;
|
|
1034
1035
|
memorySystem: boolean;
|
|
1035
1036
|
browserUsage: boolean;
|
|
1036
1037
|
decisionLoop: boolean;
|
|
@@ -1038,8 +1039,8 @@ export declare const TemplateSchema: z.ZodObject<{
|
|
|
1038
1039
|
troubleshooting: boolean;
|
|
1039
1040
|
augmentedCapabilities: boolean;
|
|
1040
1041
|
pipelineOnly: boolean;
|
|
1041
|
-
benchmark: boolean;
|
|
1042
1042
|
}, {
|
|
1043
|
+
benchmark?: boolean | undefined;
|
|
1043
1044
|
memorySystem?: boolean | undefined;
|
|
1044
1045
|
browserUsage?: boolean | undefined;
|
|
1045
1046
|
decisionLoop?: boolean | undefined;
|
|
@@ -1047,11 +1048,11 @@ export declare const TemplateSchema: z.ZodObject<{
|
|
|
1047
1048
|
troubleshooting?: boolean | undefined;
|
|
1048
1049
|
augmentedCapabilities?: boolean | undefined;
|
|
1049
1050
|
pipelineOnly?: boolean | undefined;
|
|
1050
|
-
benchmark?: boolean | undefined;
|
|
1051
1051
|
}>>;
|
|
1052
1052
|
}, "strip", z.ZodTypeAny, {
|
|
1053
1053
|
extends: string;
|
|
1054
1054
|
sections?: {
|
|
1055
|
+
benchmark: boolean;
|
|
1055
1056
|
memorySystem: boolean;
|
|
1056
1057
|
browserUsage: boolean;
|
|
1057
1058
|
decisionLoop: boolean;
|
|
@@ -1059,11 +1060,11 @@ export declare const TemplateSchema: z.ZodObject<{
|
|
|
1059
1060
|
troubleshooting: boolean;
|
|
1060
1061
|
augmentedCapabilities: boolean;
|
|
1061
1062
|
pipelineOnly: boolean;
|
|
1062
|
-
benchmark: boolean;
|
|
1063
1063
|
} | undefined;
|
|
1064
1064
|
}, {
|
|
1065
1065
|
extends?: string | undefined;
|
|
1066
1066
|
sections?: {
|
|
1067
|
+
benchmark?: boolean | undefined;
|
|
1067
1068
|
memorySystem?: boolean | undefined;
|
|
1068
1069
|
browserUsage?: boolean | undefined;
|
|
1069
1070
|
decisionLoop?: boolean | undefined;
|
|
@@ -1071,7 +1072,6 @@ export declare const TemplateSchema: z.ZodObject<{
|
|
|
1071
1072
|
troubleshooting?: boolean | undefined;
|
|
1072
1073
|
augmentedCapabilities?: boolean | undefined;
|
|
1073
1074
|
pipelineOnly?: boolean | undefined;
|
|
1074
|
-
benchmark?: boolean | undefined;
|
|
1075
1075
|
} | undefined;
|
|
1076
1076
|
}>;
|
|
1077
1077
|
export declare const ProjectSchema: z.ZodObject<{
|
|
@@ -1183,17 +1183,17 @@ export declare const TimeOptimizationSchema: z.ZodObject<{
|
|
|
1183
1183
|
workflow: z.ZodDefault<z.ZodNumber>;
|
|
1184
1184
|
deploy: z.ZodDefault<z.ZodNumber>;
|
|
1185
1185
|
}, "strip", z.ZodTypeAny, {
|
|
1186
|
+
deploy: number;
|
|
1186
1187
|
push: number;
|
|
1187
1188
|
commit: number;
|
|
1188
1189
|
merge: number;
|
|
1189
1190
|
workflow: number;
|
|
1190
|
-
deploy: number;
|
|
1191
1191
|
}, {
|
|
1192
|
+
deploy?: number | undefined;
|
|
1192
1193
|
push?: number | undefined;
|
|
1193
1194
|
commit?: number | undefined;
|
|
1194
1195
|
merge?: number | undefined;
|
|
1195
1196
|
workflow?: number | undefined;
|
|
1196
|
-
deploy?: number | undefined;
|
|
1197
1197
|
}>>;
|
|
1198
1198
|
parallelExecution: z.ZodOptional<z.ZodObject<{
|
|
1199
1199
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1221,11 +1221,11 @@ export declare const TimeOptimizationSchema: z.ZodObject<{
|
|
|
1221
1221
|
}, "strip", z.ZodTypeAny, {
|
|
1222
1222
|
enabled: boolean;
|
|
1223
1223
|
batchWindows?: {
|
|
1224
|
+
deploy: number;
|
|
1224
1225
|
push: number;
|
|
1225
1226
|
commit: number;
|
|
1226
1227
|
merge: number;
|
|
1227
1228
|
workflow: number;
|
|
1228
|
-
deploy: number;
|
|
1229
1229
|
} | undefined;
|
|
1230
1230
|
parallelExecution?: {
|
|
1231
1231
|
enabled: boolean;
|
|
@@ -1239,11 +1239,11 @@ export declare const TimeOptimizationSchema: z.ZodObject<{
|
|
|
1239
1239
|
}, {
|
|
1240
1240
|
enabled?: boolean | undefined;
|
|
1241
1241
|
batchWindows?: {
|
|
1242
|
+
deploy?: number | undefined;
|
|
1242
1243
|
push?: number | undefined;
|
|
1243
1244
|
commit?: number | undefined;
|
|
1244
1245
|
merge?: number | undefined;
|
|
1245
1246
|
workflow?: number | undefined;
|
|
1246
|
-
deploy?: number | undefined;
|
|
1247
1247
|
} | undefined;
|
|
1248
1248
|
parallelExecution?: {
|
|
1249
1249
|
enabled?: boolean | undefined;
|
|
@@ -1270,27 +1270,27 @@ export declare const ModelConfigSchema: z.ZodObject<{
|
|
|
1270
1270
|
costPer1MOutput: z.ZodOptional<z.ZodNumber>;
|
|
1271
1271
|
capabilities: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1272
1272
|
}, "strip", z.ZodTypeAny, {
|
|
1273
|
-
provider: "custom" | "anthropic" | "deepseek" | "openai" | "zhipu" | "ollama";
|
|
1274
1273
|
name: string;
|
|
1275
|
-
|
|
1274
|
+
provider: "custom" | "anthropic" | "zhipu" | "openai" | "deepseek" | "ollama";
|
|
1276
1275
|
id: string;
|
|
1277
|
-
apiModel: string;
|
|
1278
1276
|
capabilities: string[];
|
|
1277
|
+
maxContextTokens: number;
|
|
1278
|
+
apiModel: string;
|
|
1279
1279
|
endpoint?: string | undefined;
|
|
1280
1280
|
apiKeyEnvVar?: string | undefined;
|
|
1281
1281
|
costPer1MInput?: number | undefined;
|
|
1282
1282
|
costPer1MOutput?: number | undefined;
|
|
1283
1283
|
}, {
|
|
1284
|
-
provider: "custom" | "anthropic" | "deepseek" | "openai" | "zhipu" | "ollama";
|
|
1285
1284
|
name: string;
|
|
1285
|
+
provider: "custom" | "anthropic" | "zhipu" | "openai" | "deepseek" | "ollama";
|
|
1286
1286
|
id: string;
|
|
1287
1287
|
apiModel: string;
|
|
1288
|
+
capabilities?: string[] | undefined;
|
|
1288
1289
|
endpoint?: string | undefined;
|
|
1289
1290
|
maxContextTokens?: number | undefined;
|
|
1290
1291
|
apiKeyEnvVar?: string | undefined;
|
|
1291
1292
|
costPer1MInput?: number | undefined;
|
|
1292
1293
|
costPer1MOutput?: number | undefined;
|
|
1293
|
-
capabilities?: string[] | undefined;
|
|
1294
1294
|
}>;
|
|
1295
1295
|
/**
|
|
1296
1296
|
* Routing rule for task-to-model mapping
|
|
@@ -1302,17 +1302,17 @@ export declare const RoutingRuleSchema: z.ZodObject<{
|
|
|
1302
1302
|
targetRole: z.ZodEnum<["planner", "executor", "reviewer", "fallback"]>;
|
|
1303
1303
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
1304
1304
|
}, "strip", z.ZodTypeAny, {
|
|
1305
|
-
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
1306
1305
|
priority: number;
|
|
1307
|
-
|
|
1306
|
+
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
1307
|
+
complexity?: "medium" | "low" | "high" | "critical" | undefined;
|
|
1308
1308
|
keywords?: string[] | undefined;
|
|
1309
|
-
taskType?: "
|
|
1309
|
+
taskType?: "documentation" | "coding" | "bug-fix" | "refactoring" | "review" | "planning" | undefined;
|
|
1310
1310
|
}, {
|
|
1311
1311
|
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
1312
|
-
complexity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
1313
|
-
keywords?: string[] | undefined;
|
|
1314
|
-
taskType?: "planning" | "coding" | "refactoring" | "bug-fix" | "review" | "documentation" | undefined;
|
|
1315
1312
|
priority?: number | undefined;
|
|
1313
|
+
complexity?: "medium" | "low" | "high" | "critical" | undefined;
|
|
1314
|
+
keywords?: string[] | undefined;
|
|
1315
|
+
taskType?: "documentation" | "coding" | "bug-fix" | "refactoring" | "review" | "planning" | undefined;
|
|
1316
1316
|
}>;
|
|
1317
1317
|
/**
|
|
1318
1318
|
* NEW: Multi-Model Architecture configuration.
|
|
@@ -1332,27 +1332,27 @@ export declare const MultiModelSchema: z.ZodObject<{
|
|
|
1332
1332
|
costPer1MOutput: z.ZodOptional<z.ZodNumber>;
|
|
1333
1333
|
capabilities: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1334
1334
|
}, "strip", z.ZodTypeAny, {
|
|
1335
|
-
provider: "custom" | "anthropic" | "deepseek" | "openai" | "zhipu" | "ollama";
|
|
1336
1335
|
name: string;
|
|
1337
|
-
|
|
1336
|
+
provider: "custom" | "anthropic" | "zhipu" | "openai" | "deepseek" | "ollama";
|
|
1338
1337
|
id: string;
|
|
1339
|
-
apiModel: string;
|
|
1340
1338
|
capabilities: string[];
|
|
1339
|
+
maxContextTokens: number;
|
|
1340
|
+
apiModel: string;
|
|
1341
1341
|
endpoint?: string | undefined;
|
|
1342
1342
|
apiKeyEnvVar?: string | undefined;
|
|
1343
1343
|
costPer1MInput?: number | undefined;
|
|
1344
1344
|
costPer1MOutput?: number | undefined;
|
|
1345
1345
|
}, {
|
|
1346
|
-
provider: "custom" | "anthropic" | "deepseek" | "openai" | "zhipu" | "ollama";
|
|
1347
1346
|
name: string;
|
|
1347
|
+
provider: "custom" | "anthropic" | "zhipu" | "openai" | "deepseek" | "ollama";
|
|
1348
1348
|
id: string;
|
|
1349
1349
|
apiModel: string;
|
|
1350
|
+
capabilities?: string[] | undefined;
|
|
1350
1351
|
endpoint?: string | undefined;
|
|
1351
1352
|
maxContextTokens?: number | undefined;
|
|
1352
1353
|
apiKeyEnvVar?: string | undefined;
|
|
1353
1354
|
costPer1MInput?: number | undefined;
|
|
1354
1355
|
costPer1MOutput?: number | undefined;
|
|
1355
|
-
capabilities?: string[] | undefined;
|
|
1356
1356
|
}>]>, "many">>;
|
|
1357
1357
|
roles: z.ZodOptional<z.ZodObject<{
|
|
1358
1358
|
planner: z.ZodDefault<z.ZodString>;
|
|
@@ -1377,17 +1377,17 @@ export declare const MultiModelSchema: z.ZodObject<{
|
|
|
1377
1377
|
targetRole: z.ZodEnum<["planner", "executor", "reviewer", "fallback"]>;
|
|
1378
1378
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
1379
1379
|
}, "strip", z.ZodTypeAny, {
|
|
1380
|
-
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
1381
1380
|
priority: number;
|
|
1382
|
-
|
|
1381
|
+
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
1382
|
+
complexity?: "medium" | "low" | "high" | "critical" | undefined;
|
|
1383
1383
|
keywords?: string[] | undefined;
|
|
1384
|
-
taskType?: "
|
|
1384
|
+
taskType?: "documentation" | "coding" | "bug-fix" | "refactoring" | "review" | "planning" | undefined;
|
|
1385
1385
|
}, {
|
|
1386
1386
|
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
1387
|
-
complexity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
1388
|
-
keywords?: string[] | undefined;
|
|
1389
|
-
taskType?: "planning" | "coding" | "refactoring" | "bug-fix" | "review" | "documentation" | undefined;
|
|
1390
1387
|
priority?: number | undefined;
|
|
1388
|
+
complexity?: "medium" | "low" | "high" | "critical" | undefined;
|
|
1389
|
+
keywords?: string[] | undefined;
|
|
1390
|
+
taskType?: "documentation" | "coding" | "bug-fix" | "refactoring" | "review" | "planning" | undefined;
|
|
1391
1391
|
}>, "many">>;
|
|
1392
1392
|
routingStrategy: z.ZodDefault<z.ZodEnum<["cost-optimized", "performance-first", "balanced", "adaptive"]>>;
|
|
1393
1393
|
costOptimization: z.ZodOptional<z.ZodObject<{
|
|
@@ -1411,11 +1411,11 @@ export declare const MultiModelSchema: z.ZodObject<{
|
|
|
1411
1411
|
maxPlanningTokens: z.ZodDefault<z.ZodNumber>;
|
|
1412
1412
|
enableDecomposition: z.ZodDefault<z.ZodBoolean>;
|
|
1413
1413
|
}, "strip", z.ZodTypeAny, {
|
|
1414
|
-
complexityThreshold: "
|
|
1414
|
+
complexityThreshold: "medium" | "low" | "high";
|
|
1415
1415
|
maxPlanningTokens: number;
|
|
1416
1416
|
enableDecomposition: boolean;
|
|
1417
1417
|
}, {
|
|
1418
|
-
complexityThreshold?: "
|
|
1418
|
+
complexityThreshold?: "medium" | "low" | "high" | undefined;
|
|
1419
1419
|
maxPlanningTokens?: number | undefined;
|
|
1420
1420
|
enableDecomposition?: boolean | undefined;
|
|
1421
1421
|
}>>;
|
|
@@ -1435,18 +1435,24 @@ export declare const MultiModelSchema: z.ZodObject<{
|
|
|
1435
1435
|
}, "strip", z.ZodTypeAny, {
|
|
1436
1436
|
enabled: boolean;
|
|
1437
1437
|
models: (string | {
|
|
1438
|
-
provider: "custom" | "anthropic" | "deepseek" | "openai" | "zhipu" | "ollama";
|
|
1439
1438
|
name: string;
|
|
1440
|
-
|
|
1439
|
+
provider: "custom" | "anthropic" | "zhipu" | "openai" | "deepseek" | "ollama";
|
|
1441
1440
|
id: string;
|
|
1442
|
-
apiModel: string;
|
|
1443
1441
|
capabilities: string[];
|
|
1442
|
+
maxContextTokens: number;
|
|
1443
|
+
apiModel: string;
|
|
1444
1444
|
endpoint?: string | undefined;
|
|
1445
1445
|
apiKeyEnvVar?: string | undefined;
|
|
1446
1446
|
costPer1MInput?: number | undefined;
|
|
1447
1447
|
costPer1MOutput?: number | undefined;
|
|
1448
1448
|
})[];
|
|
1449
|
-
routingStrategy: "cost-optimized" | "performance-first" | "
|
|
1449
|
+
routingStrategy: "balanced" | "cost-optimized" | "performance-first" | "adaptive";
|
|
1450
|
+
costOptimization?: {
|
|
1451
|
+
enabled: boolean;
|
|
1452
|
+
targetReduction: number;
|
|
1453
|
+
maxPerformanceDegradation: number;
|
|
1454
|
+
fallbackThreshold: number;
|
|
1455
|
+
} | undefined;
|
|
1450
1456
|
roles?: {
|
|
1451
1457
|
planner: string;
|
|
1452
1458
|
executor: string;
|
|
@@ -1454,20 +1460,14 @@ export declare const MultiModelSchema: z.ZodObject<{
|
|
|
1454
1460
|
reviewer?: string | undefined;
|
|
1455
1461
|
} | undefined;
|
|
1456
1462
|
routing?: {
|
|
1457
|
-
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
1458
1463
|
priority: number;
|
|
1459
|
-
|
|
1464
|
+
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
1465
|
+
complexity?: "medium" | "low" | "high" | "critical" | undefined;
|
|
1460
1466
|
keywords?: string[] | undefined;
|
|
1461
|
-
taskType?: "
|
|
1467
|
+
taskType?: "documentation" | "coding" | "bug-fix" | "refactoring" | "review" | "planning" | undefined;
|
|
1462
1468
|
}[] | undefined;
|
|
1463
|
-
costOptimization?: {
|
|
1464
|
-
enabled: boolean;
|
|
1465
|
-
targetReduction: number;
|
|
1466
|
-
maxPerformanceDegradation: number;
|
|
1467
|
-
fallbackThreshold: number;
|
|
1468
|
-
} | undefined;
|
|
1469
1469
|
plannerSettings?: {
|
|
1470
|
-
complexityThreshold: "
|
|
1470
|
+
complexityThreshold: "medium" | "low" | "high";
|
|
1471
1471
|
maxPlanningTokens: number;
|
|
1472
1472
|
enableDecomposition: boolean;
|
|
1473
1473
|
} | undefined;
|
|
@@ -1479,17 +1479,23 @@ export declare const MultiModelSchema: z.ZodObject<{
|
|
|
1479
1479
|
}, {
|
|
1480
1480
|
enabled?: boolean | undefined;
|
|
1481
1481
|
models?: (string | {
|
|
1482
|
-
provider: "custom" | "anthropic" | "deepseek" | "openai" | "zhipu" | "ollama";
|
|
1483
1482
|
name: string;
|
|
1483
|
+
provider: "custom" | "anthropic" | "zhipu" | "openai" | "deepseek" | "ollama";
|
|
1484
1484
|
id: string;
|
|
1485
1485
|
apiModel: string;
|
|
1486
|
+
capabilities?: string[] | undefined;
|
|
1486
1487
|
endpoint?: string | undefined;
|
|
1487
1488
|
maxContextTokens?: number | undefined;
|
|
1488
1489
|
apiKeyEnvVar?: string | undefined;
|
|
1489
1490
|
costPer1MInput?: number | undefined;
|
|
1490
1491
|
costPer1MOutput?: number | undefined;
|
|
1491
|
-
capabilities?: string[] | undefined;
|
|
1492
1492
|
})[] | undefined;
|
|
1493
|
+
costOptimization?: {
|
|
1494
|
+
enabled?: boolean | undefined;
|
|
1495
|
+
targetReduction?: number | undefined;
|
|
1496
|
+
maxPerformanceDegradation?: number | undefined;
|
|
1497
|
+
fallbackThreshold?: number | undefined;
|
|
1498
|
+
} | undefined;
|
|
1493
1499
|
roles?: {
|
|
1494
1500
|
planner?: string | undefined;
|
|
1495
1501
|
executor?: string | undefined;
|
|
@@ -1498,20 +1504,14 @@ export declare const MultiModelSchema: z.ZodObject<{
|
|
|
1498
1504
|
} | undefined;
|
|
1499
1505
|
routing?: {
|
|
1500
1506
|
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
1501
|
-
complexity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
1502
|
-
keywords?: string[] | undefined;
|
|
1503
|
-
taskType?: "planning" | "coding" | "refactoring" | "bug-fix" | "review" | "documentation" | undefined;
|
|
1504
1507
|
priority?: number | undefined;
|
|
1508
|
+
complexity?: "medium" | "low" | "high" | "critical" | undefined;
|
|
1509
|
+
keywords?: string[] | undefined;
|
|
1510
|
+
taskType?: "documentation" | "coding" | "bug-fix" | "refactoring" | "review" | "planning" | undefined;
|
|
1505
1511
|
}[] | undefined;
|
|
1506
|
-
routingStrategy?: "cost-optimized" | "performance-first" | "
|
|
1507
|
-
costOptimization?: {
|
|
1508
|
-
enabled?: boolean | undefined;
|
|
1509
|
-
targetReduction?: number | undefined;
|
|
1510
|
-
maxPerformanceDegradation?: number | undefined;
|
|
1511
|
-
fallbackThreshold?: number | undefined;
|
|
1512
|
-
} | undefined;
|
|
1512
|
+
routingStrategy?: "balanced" | "cost-optimized" | "performance-first" | "adaptive" | undefined;
|
|
1513
1513
|
plannerSettings?: {
|
|
1514
|
-
complexityThreshold?: "
|
|
1514
|
+
complexityThreshold?: "medium" | "low" | "high" | undefined;
|
|
1515
1515
|
maxPlanningTokens?: number | undefined;
|
|
1516
1516
|
enableDecomposition?: boolean | undefined;
|
|
1517
1517
|
} | undefined;
|
|
@@ -1741,28 +1741,28 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
1741
1741
|
patternRag?: boolean | undefined;
|
|
1742
1742
|
}>>;
|
|
1743
1743
|
}, "strip", z.ZodTypeAny, {
|
|
1744
|
-
|
|
1744
|
+
factory?: {
|
|
1745
1745
|
enabled: boolean;
|
|
1746
1746
|
shortTermMax?: number | undefined;
|
|
1747
1747
|
searchResults?: number | undefined;
|
|
1748
1748
|
sessionMax?: number | undefined;
|
|
1749
1749
|
patternRag?: boolean | undefined;
|
|
1750
1750
|
} | undefined;
|
|
1751
|
-
|
|
1751
|
+
vscode?: {
|
|
1752
1752
|
enabled: boolean;
|
|
1753
1753
|
shortTermMax?: number | undefined;
|
|
1754
1754
|
searchResults?: number | undefined;
|
|
1755
1755
|
sessionMax?: number | undefined;
|
|
1756
1756
|
patternRag?: boolean | undefined;
|
|
1757
1757
|
} | undefined;
|
|
1758
|
-
|
|
1758
|
+
opencode?: {
|
|
1759
1759
|
enabled: boolean;
|
|
1760
1760
|
shortTermMax?: number | undefined;
|
|
1761
1761
|
searchResults?: number | undefined;
|
|
1762
1762
|
sessionMax?: number | undefined;
|
|
1763
1763
|
patternRag?: boolean | undefined;
|
|
1764
1764
|
} | undefined;
|
|
1765
|
-
|
|
1765
|
+
claudeCode?: {
|
|
1766
1766
|
enabled: boolean;
|
|
1767
1767
|
shortTermMax?: number | undefined;
|
|
1768
1768
|
searchResults?: number | undefined;
|
|
@@ -1770,28 +1770,28 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
1770
1770
|
patternRag?: boolean | undefined;
|
|
1771
1771
|
} | undefined;
|
|
1772
1772
|
}, {
|
|
1773
|
-
|
|
1773
|
+
factory?: {
|
|
1774
1774
|
enabled?: boolean | undefined;
|
|
1775
1775
|
shortTermMax?: number | undefined;
|
|
1776
1776
|
searchResults?: number | undefined;
|
|
1777
1777
|
sessionMax?: number | undefined;
|
|
1778
1778
|
patternRag?: boolean | undefined;
|
|
1779
1779
|
} | undefined;
|
|
1780
|
-
|
|
1780
|
+
vscode?: {
|
|
1781
1781
|
enabled?: boolean | undefined;
|
|
1782
1782
|
shortTermMax?: number | undefined;
|
|
1783
1783
|
searchResults?: number | undefined;
|
|
1784
1784
|
sessionMax?: number | undefined;
|
|
1785
1785
|
patternRag?: boolean | undefined;
|
|
1786
1786
|
} | undefined;
|
|
1787
|
-
|
|
1787
|
+
opencode?: {
|
|
1788
1788
|
enabled?: boolean | undefined;
|
|
1789
1789
|
shortTermMax?: number | undefined;
|
|
1790
1790
|
searchResults?: number | undefined;
|
|
1791
1791
|
sessionMax?: number | undefined;
|
|
1792
1792
|
patternRag?: boolean | undefined;
|
|
1793
1793
|
} | undefined;
|
|
1794
|
-
|
|
1794
|
+
claudeCode?: {
|
|
1795
1795
|
enabled?: boolean | undefined;
|
|
1796
1796
|
shortTermMax?: number | undefined;
|
|
1797
1797
|
searchResults?: number | undefined;
|
|
@@ -1840,9 +1840,9 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
1840
1840
|
}, {
|
|
1841
1841
|
enabled?: boolean | undefined;
|
|
1842
1842
|
path?: string | undefined;
|
|
1843
|
+
branch?: string | undefined;
|
|
1843
1844
|
repo?: string | undefined;
|
|
1844
1845
|
token?: string | undefined;
|
|
1845
|
-
branch?: string | undefined;
|
|
1846
1846
|
}>>;
|
|
1847
1847
|
qdrantCloud: z.ZodOptional<z.ZodObject<{
|
|
1848
1848
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1852,13 +1852,13 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
1852
1852
|
}, "strip", z.ZodTypeAny, {
|
|
1853
1853
|
enabled: boolean;
|
|
1854
1854
|
collection: string;
|
|
1855
|
-
url?: string | undefined;
|
|
1856
1855
|
apiKey?: string | undefined;
|
|
1856
|
+
url?: string | undefined;
|
|
1857
1857
|
}, {
|
|
1858
1858
|
enabled?: boolean | undefined;
|
|
1859
|
-
url?: string | undefined;
|
|
1860
1859
|
apiKey?: string | undefined;
|
|
1861
1860
|
collection?: string | undefined;
|
|
1861
|
+
url?: string | undefined;
|
|
1862
1862
|
}>>;
|
|
1863
1863
|
serverless: z.ZodOptional<z.ZodObject<{
|
|
1864
1864
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1900,12 +1900,12 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
1900
1900
|
region: string;
|
|
1901
1901
|
keepWarm: boolean;
|
|
1902
1902
|
warmIntervalMs: number;
|
|
1903
|
-
url?: string | undefined;
|
|
1904
1903
|
apiKey?: string | undefined;
|
|
1905
|
-
}, {
|
|
1906
1904
|
url?: string | undefined;
|
|
1907
|
-
|
|
1905
|
+
}, {
|
|
1908
1906
|
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
1907
|
+
apiKey?: string | undefined;
|
|
1908
|
+
url?: string | undefined;
|
|
1909
1909
|
region?: string | undefined;
|
|
1910
1910
|
keepWarm?: boolean | undefined;
|
|
1911
1911
|
warmIntervalMs?: number | undefined;
|
|
@@ -1917,11 +1917,11 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
1917
1917
|
}, "strip", z.ZodTypeAny, {
|
|
1918
1918
|
useLocalInDev: boolean;
|
|
1919
1919
|
useCloudInProd: boolean;
|
|
1920
|
-
envDetection: "
|
|
1920
|
+
envDetection: "auto" | "NODE_ENV" | "UAP_ENV";
|
|
1921
1921
|
}, {
|
|
1922
1922
|
useLocalInDev?: boolean | undefined;
|
|
1923
1923
|
useCloudInProd?: boolean | undefined;
|
|
1924
|
-
envDetection?: "
|
|
1924
|
+
envDetection?: "auto" | "NODE_ENV" | "UAP_ENV" | undefined;
|
|
1925
1925
|
}>>;
|
|
1926
1926
|
fallbackToMemory: z.ZodDefault<z.ZodBoolean>;
|
|
1927
1927
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1931,7 +1931,7 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
1931
1931
|
hybrid?: {
|
|
1932
1932
|
useLocalInDev: boolean;
|
|
1933
1933
|
useCloudInProd: boolean;
|
|
1934
|
-
envDetection: "
|
|
1934
|
+
envDetection: "auto" | "NODE_ENV" | "UAP_ENV";
|
|
1935
1935
|
} | undefined;
|
|
1936
1936
|
lazyLocal?: {
|
|
1937
1937
|
dockerImage: string;
|
|
@@ -1947,15 +1947,15 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
1947
1947
|
region: string;
|
|
1948
1948
|
keepWarm: boolean;
|
|
1949
1949
|
warmIntervalMs: number;
|
|
1950
|
-
url?: string | undefined;
|
|
1951
1950
|
apiKey?: string | undefined;
|
|
1951
|
+
url?: string | undefined;
|
|
1952
1952
|
} | undefined;
|
|
1953
1953
|
}, {
|
|
1954
1954
|
enabled?: boolean | undefined;
|
|
1955
1955
|
hybrid?: {
|
|
1956
1956
|
useLocalInDev?: boolean | undefined;
|
|
1957
1957
|
useCloudInProd?: boolean | undefined;
|
|
1958
|
-
envDetection?: "
|
|
1958
|
+
envDetection?: "auto" | "NODE_ENV" | "UAP_ENV" | undefined;
|
|
1959
1959
|
} | undefined;
|
|
1960
1960
|
mode?: "lazy-local" | "cloud-serverless" | "hybrid" | undefined;
|
|
1961
1961
|
lazyLocal?: {
|
|
@@ -1968,9 +1968,9 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
1968
1968
|
healthCheckIntervalMs?: number | undefined;
|
|
1969
1969
|
} | undefined;
|
|
1970
1970
|
cloudServerless?: {
|
|
1971
|
-
url?: string | undefined;
|
|
1972
|
-
apiKey?: string | undefined;
|
|
1973
1971
|
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
1972
|
+
apiKey?: string | undefined;
|
|
1973
|
+
url?: string | undefined;
|
|
1974
1974
|
region?: string | undefined;
|
|
1975
1975
|
keepWarm?: boolean | undefined;
|
|
1976
1976
|
warmIntervalMs?: number | undefined;
|
|
@@ -1978,9 +1978,9 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
1978
1978
|
fallbackToMemory?: boolean | undefined;
|
|
1979
1979
|
}>>;
|
|
1980
1980
|
}, "strip", z.ZodTypeAny, {
|
|
1981
|
+
provider: "qdrant" | "none" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "serverless";
|
|
1981
1982
|
enabled: boolean;
|
|
1982
1983
|
collection: string;
|
|
1983
|
-
provider: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none";
|
|
1984
1984
|
embeddingModel: string;
|
|
1985
1985
|
github?: {
|
|
1986
1986
|
enabled: boolean;
|
|
@@ -1996,7 +1996,7 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
1996
1996
|
hybrid?: {
|
|
1997
1997
|
useLocalInDev: boolean;
|
|
1998
1998
|
useCloudInProd: boolean;
|
|
1999
|
-
envDetection: "
|
|
1999
|
+
envDetection: "auto" | "NODE_ENV" | "UAP_ENV";
|
|
2000
2000
|
} | undefined;
|
|
2001
2001
|
lazyLocal?: {
|
|
2002
2002
|
dockerImage: string;
|
|
@@ -2012,34 +2012,33 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2012
2012
|
region: string;
|
|
2013
2013
|
keepWarm: boolean;
|
|
2014
2014
|
warmIntervalMs: number;
|
|
2015
|
-
url?: string | undefined;
|
|
2016
2015
|
apiKey?: string | undefined;
|
|
2016
|
+
url?: string | undefined;
|
|
2017
2017
|
} | undefined;
|
|
2018
2018
|
} | undefined;
|
|
2019
2019
|
endpoint?: string | undefined;
|
|
2020
2020
|
qdrantCloud?: {
|
|
2021
2021
|
enabled: boolean;
|
|
2022
2022
|
collection: string;
|
|
2023
|
-
url?: string | undefined;
|
|
2024
2023
|
apiKey?: string | undefined;
|
|
2024
|
+
url?: string | undefined;
|
|
2025
2025
|
} | undefined;
|
|
2026
2026
|
}, {
|
|
2027
|
+
provider?: "qdrant" | "none" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "serverless" | undefined;
|
|
2027
2028
|
enabled?: boolean | undefined;
|
|
2028
|
-
collection?: string | undefined;
|
|
2029
|
-
provider?: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none" | undefined;
|
|
2030
2029
|
github?: {
|
|
2031
2030
|
enabled?: boolean | undefined;
|
|
2032
2031
|
path?: string | undefined;
|
|
2032
|
+
branch?: string | undefined;
|
|
2033
2033
|
repo?: string | undefined;
|
|
2034
2034
|
token?: string | undefined;
|
|
2035
|
-
branch?: string | undefined;
|
|
2036
2035
|
} | undefined;
|
|
2037
2036
|
serverless?: {
|
|
2038
2037
|
enabled?: boolean | undefined;
|
|
2039
2038
|
hybrid?: {
|
|
2040
2039
|
useLocalInDev?: boolean | undefined;
|
|
2041
2040
|
useCloudInProd?: boolean | undefined;
|
|
2042
|
-
envDetection?: "
|
|
2041
|
+
envDetection?: "auto" | "NODE_ENV" | "UAP_ENV" | undefined;
|
|
2043
2042
|
} | undefined;
|
|
2044
2043
|
mode?: "lazy-local" | "cloud-serverless" | "hybrid" | undefined;
|
|
2045
2044
|
lazyLocal?: {
|
|
@@ -2052,9 +2051,9 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2052
2051
|
healthCheckIntervalMs?: number | undefined;
|
|
2053
2052
|
} | undefined;
|
|
2054
2053
|
cloudServerless?: {
|
|
2055
|
-
url?: string | undefined;
|
|
2056
|
-
apiKey?: string | undefined;
|
|
2057
2054
|
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
2055
|
+
apiKey?: string | undefined;
|
|
2056
|
+
url?: string | undefined;
|
|
2058
2057
|
region?: string | undefined;
|
|
2059
2058
|
keepWarm?: boolean | undefined;
|
|
2060
2059
|
warmIntervalMs?: number | undefined;
|
|
@@ -2062,12 +2061,13 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2062
2061
|
fallbackToMemory?: boolean | undefined;
|
|
2063
2062
|
} | undefined;
|
|
2064
2063
|
endpoint?: string | undefined;
|
|
2064
|
+
collection?: string | undefined;
|
|
2065
2065
|
embeddingModel?: string | undefined;
|
|
2066
2066
|
qdrantCloud?: {
|
|
2067
2067
|
enabled?: boolean | undefined;
|
|
2068
|
-
url?: string | undefined;
|
|
2069
2068
|
apiKey?: string | undefined;
|
|
2070
2069
|
collection?: string | undefined;
|
|
2070
|
+
url?: string | undefined;
|
|
2071
2071
|
} | undefined;
|
|
2072
2072
|
}>>;
|
|
2073
2073
|
patternRag: z.ZodOptional<z.ZodObject<{
|
|
@@ -2133,9 +2133,9 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2133
2133
|
forceDesktop?: boolean | undefined;
|
|
2134
2134
|
} | undefined;
|
|
2135
2135
|
longTerm?: {
|
|
2136
|
+
provider: "qdrant" | "none" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "serverless";
|
|
2136
2137
|
enabled: boolean;
|
|
2137
2138
|
collection: string;
|
|
2138
|
-
provider: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none";
|
|
2139
2139
|
embeddingModel: string;
|
|
2140
2140
|
github?: {
|
|
2141
2141
|
enabled: boolean;
|
|
@@ -2151,7 +2151,7 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2151
2151
|
hybrid?: {
|
|
2152
2152
|
useLocalInDev: boolean;
|
|
2153
2153
|
useCloudInProd: boolean;
|
|
2154
|
-
envDetection: "
|
|
2154
|
+
envDetection: "auto" | "NODE_ENV" | "UAP_ENV";
|
|
2155
2155
|
} | undefined;
|
|
2156
2156
|
lazyLocal?: {
|
|
2157
2157
|
dockerImage: string;
|
|
@@ -2167,16 +2167,16 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2167
2167
|
region: string;
|
|
2168
2168
|
keepWarm: boolean;
|
|
2169
2169
|
warmIntervalMs: number;
|
|
2170
|
-
url?: string | undefined;
|
|
2171
2170
|
apiKey?: string | undefined;
|
|
2171
|
+
url?: string | undefined;
|
|
2172
2172
|
} | undefined;
|
|
2173
2173
|
} | undefined;
|
|
2174
2174
|
endpoint?: string | undefined;
|
|
2175
2175
|
qdrantCloud?: {
|
|
2176
2176
|
enabled: boolean;
|
|
2177
2177
|
collection: string;
|
|
2178
|
-
url?: string | undefined;
|
|
2179
2178
|
apiKey?: string | undefined;
|
|
2179
|
+
url?: string | undefined;
|
|
2180
2180
|
} | undefined;
|
|
2181
2181
|
} | undefined;
|
|
2182
2182
|
}, {
|
|
@@ -2202,22 +2202,21 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2202
2202
|
forceDesktop?: boolean | undefined;
|
|
2203
2203
|
} | undefined;
|
|
2204
2204
|
longTerm?: {
|
|
2205
|
+
provider?: "qdrant" | "none" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "serverless" | undefined;
|
|
2205
2206
|
enabled?: boolean | undefined;
|
|
2206
|
-
collection?: string | undefined;
|
|
2207
|
-
provider?: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none" | undefined;
|
|
2208
2207
|
github?: {
|
|
2209
2208
|
enabled?: boolean | undefined;
|
|
2210
2209
|
path?: string | undefined;
|
|
2210
|
+
branch?: string | undefined;
|
|
2211
2211
|
repo?: string | undefined;
|
|
2212
2212
|
token?: string | undefined;
|
|
2213
|
-
branch?: string | undefined;
|
|
2214
2213
|
} | undefined;
|
|
2215
2214
|
serverless?: {
|
|
2216
2215
|
enabled?: boolean | undefined;
|
|
2217
2216
|
hybrid?: {
|
|
2218
2217
|
useLocalInDev?: boolean | undefined;
|
|
2219
2218
|
useCloudInProd?: boolean | undefined;
|
|
2220
|
-
envDetection?: "
|
|
2219
|
+
envDetection?: "auto" | "NODE_ENV" | "UAP_ENV" | undefined;
|
|
2221
2220
|
} | undefined;
|
|
2222
2221
|
mode?: "lazy-local" | "cloud-serverless" | "hybrid" | undefined;
|
|
2223
2222
|
lazyLocal?: {
|
|
@@ -2230,9 +2229,9 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2230
2229
|
healthCheckIntervalMs?: number | undefined;
|
|
2231
2230
|
} | undefined;
|
|
2232
2231
|
cloudServerless?: {
|
|
2233
|
-
url?: string | undefined;
|
|
2234
|
-
apiKey?: string | undefined;
|
|
2235
2232
|
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
2233
|
+
apiKey?: string | undefined;
|
|
2234
|
+
url?: string | undefined;
|
|
2236
2235
|
region?: string | undefined;
|
|
2237
2236
|
keepWarm?: boolean | undefined;
|
|
2238
2237
|
warmIntervalMs?: number | undefined;
|
|
@@ -2240,12 +2239,13 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2240
2239
|
fallbackToMemory?: boolean | undefined;
|
|
2241
2240
|
} | undefined;
|
|
2242
2241
|
endpoint?: string | undefined;
|
|
2242
|
+
collection?: string | undefined;
|
|
2243
2243
|
embeddingModel?: string | undefined;
|
|
2244
2244
|
qdrantCloud?: {
|
|
2245
2245
|
enabled?: boolean | undefined;
|
|
2246
|
-
url?: string | undefined;
|
|
2247
2246
|
apiKey?: string | undefined;
|
|
2248
2247
|
collection?: string | undefined;
|
|
2248
|
+
url?: string | undefined;
|
|
2249
2249
|
} | undefined;
|
|
2250
2250
|
} | undefined;
|
|
2251
2251
|
}>>;
|
|
@@ -2274,14 +2274,14 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2274
2274
|
}, "strip", z.ZodTypeAny, {
|
|
2275
2275
|
name: string;
|
|
2276
2276
|
model: string;
|
|
2277
|
-
template?: string | undefined;
|
|
2278
2277
|
description?: string | undefined;
|
|
2278
|
+
template?: string | undefined;
|
|
2279
2279
|
tools?: string | string[] | undefined;
|
|
2280
2280
|
}, {
|
|
2281
2281
|
name: string;
|
|
2282
|
-
template?: string | undefined;
|
|
2283
2282
|
description?: string | undefined;
|
|
2284
2283
|
model?: string | undefined;
|
|
2284
|
+
template?: string | undefined;
|
|
2285
2285
|
tools?: string | string[] | undefined;
|
|
2286
2286
|
}>, "many">>;
|
|
2287
2287
|
commands: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2291,13 +2291,13 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2291
2291
|
argumentHint: z.ZodOptional<z.ZodString>;
|
|
2292
2292
|
}, "strip", z.ZodTypeAny, {
|
|
2293
2293
|
name: string;
|
|
2294
|
-
template?: string | undefined;
|
|
2295
2294
|
description?: string | undefined;
|
|
2295
|
+
template?: string | undefined;
|
|
2296
2296
|
argumentHint?: string | undefined;
|
|
2297
2297
|
}, {
|
|
2298
2298
|
name: string;
|
|
2299
|
-
template?: string | undefined;
|
|
2300
2299
|
description?: string | undefined;
|
|
2300
|
+
template?: string | undefined;
|
|
2301
2301
|
argumentHint?: string | undefined;
|
|
2302
2302
|
}>, "many">>;
|
|
2303
2303
|
template: z.ZodOptional<z.ZodObject<{
|
|
@@ -2312,6 +2312,7 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2312
2312
|
pipelineOnly: z.ZodDefault<z.ZodBoolean>;
|
|
2313
2313
|
benchmark: z.ZodDefault<z.ZodBoolean>;
|
|
2314
2314
|
}, "strip", z.ZodTypeAny, {
|
|
2315
|
+
benchmark: boolean;
|
|
2315
2316
|
memorySystem: boolean;
|
|
2316
2317
|
browserUsage: boolean;
|
|
2317
2318
|
decisionLoop: boolean;
|
|
@@ -2319,8 +2320,8 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2319
2320
|
troubleshooting: boolean;
|
|
2320
2321
|
augmentedCapabilities: boolean;
|
|
2321
2322
|
pipelineOnly: boolean;
|
|
2322
|
-
benchmark: boolean;
|
|
2323
2323
|
}, {
|
|
2324
|
+
benchmark?: boolean | undefined;
|
|
2324
2325
|
memorySystem?: boolean | undefined;
|
|
2325
2326
|
browserUsage?: boolean | undefined;
|
|
2326
2327
|
decisionLoop?: boolean | undefined;
|
|
@@ -2328,11 +2329,11 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2328
2329
|
troubleshooting?: boolean | undefined;
|
|
2329
2330
|
augmentedCapabilities?: boolean | undefined;
|
|
2330
2331
|
pipelineOnly?: boolean | undefined;
|
|
2331
|
-
benchmark?: boolean | undefined;
|
|
2332
2332
|
}>>;
|
|
2333
2333
|
}, "strip", z.ZodTypeAny, {
|
|
2334
2334
|
extends: string;
|
|
2335
2335
|
sections?: {
|
|
2336
|
+
benchmark: boolean;
|
|
2336
2337
|
memorySystem: boolean;
|
|
2337
2338
|
browserUsage: boolean;
|
|
2338
2339
|
decisionLoop: boolean;
|
|
@@ -2340,11 +2341,11 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2340
2341
|
troubleshooting: boolean;
|
|
2341
2342
|
augmentedCapabilities: boolean;
|
|
2342
2343
|
pipelineOnly: boolean;
|
|
2343
|
-
benchmark: boolean;
|
|
2344
2344
|
} | undefined;
|
|
2345
2345
|
}, {
|
|
2346
2346
|
extends?: string | undefined;
|
|
2347
2347
|
sections?: {
|
|
2348
|
+
benchmark?: boolean | undefined;
|
|
2348
2349
|
memorySystem?: boolean | undefined;
|
|
2349
2350
|
browserUsage?: boolean | undefined;
|
|
2350
2351
|
decisionLoop?: boolean | undefined;
|
|
@@ -2352,7 +2353,6 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2352
2353
|
troubleshooting?: boolean | undefined;
|
|
2353
2354
|
augmentedCapabilities?: boolean | undefined;
|
|
2354
2355
|
pipelineOnly?: boolean | undefined;
|
|
2355
|
-
benchmark?: boolean | undefined;
|
|
2356
2356
|
} | undefined;
|
|
2357
2357
|
}>>;
|
|
2358
2358
|
costOptimization: z.ZodOptional<z.ZodObject<{
|
|
@@ -2445,17 +2445,17 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2445
2445
|
workflow: z.ZodDefault<z.ZodNumber>;
|
|
2446
2446
|
deploy: z.ZodDefault<z.ZodNumber>;
|
|
2447
2447
|
}, "strip", z.ZodTypeAny, {
|
|
2448
|
+
deploy: number;
|
|
2448
2449
|
push: number;
|
|
2449
2450
|
commit: number;
|
|
2450
2451
|
merge: number;
|
|
2451
2452
|
workflow: number;
|
|
2452
|
-
deploy: number;
|
|
2453
2453
|
}, {
|
|
2454
|
+
deploy?: number | undefined;
|
|
2454
2455
|
push?: number | undefined;
|
|
2455
2456
|
commit?: number | undefined;
|
|
2456
2457
|
merge?: number | undefined;
|
|
2457
2458
|
workflow?: number | undefined;
|
|
2458
|
-
deploy?: number | undefined;
|
|
2459
2459
|
}>>;
|
|
2460
2460
|
parallelExecution: z.ZodOptional<z.ZodObject<{
|
|
2461
2461
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -2483,11 +2483,11 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2483
2483
|
}, "strip", z.ZodTypeAny, {
|
|
2484
2484
|
enabled: boolean;
|
|
2485
2485
|
batchWindows?: {
|
|
2486
|
+
deploy: number;
|
|
2486
2487
|
push: number;
|
|
2487
2488
|
commit: number;
|
|
2488
2489
|
merge: number;
|
|
2489
2490
|
workflow: number;
|
|
2490
|
-
deploy: number;
|
|
2491
2491
|
} | undefined;
|
|
2492
2492
|
parallelExecution?: {
|
|
2493
2493
|
enabled: boolean;
|
|
@@ -2501,11 +2501,11 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2501
2501
|
}, {
|
|
2502
2502
|
enabled?: boolean | undefined;
|
|
2503
2503
|
batchWindows?: {
|
|
2504
|
+
deploy?: number | undefined;
|
|
2504
2505
|
push?: number | undefined;
|
|
2505
2506
|
commit?: number | undefined;
|
|
2506
2507
|
merge?: number | undefined;
|
|
2507
2508
|
workflow?: number | undefined;
|
|
2508
|
-
deploy?: number | undefined;
|
|
2509
2509
|
} | undefined;
|
|
2510
2510
|
parallelExecution?: {
|
|
2511
2511
|
enabled?: boolean | undefined;
|
|
@@ -2531,27 +2531,27 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2531
2531
|
costPer1MOutput: z.ZodOptional<z.ZodNumber>;
|
|
2532
2532
|
capabilities: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
2533
2533
|
}, "strip", z.ZodTypeAny, {
|
|
2534
|
-
provider: "custom" | "anthropic" | "deepseek" | "openai" | "zhipu" | "ollama";
|
|
2535
2534
|
name: string;
|
|
2536
|
-
|
|
2535
|
+
provider: "custom" | "anthropic" | "zhipu" | "openai" | "deepseek" | "ollama";
|
|
2537
2536
|
id: string;
|
|
2538
|
-
apiModel: string;
|
|
2539
2537
|
capabilities: string[];
|
|
2538
|
+
maxContextTokens: number;
|
|
2539
|
+
apiModel: string;
|
|
2540
2540
|
endpoint?: string | undefined;
|
|
2541
2541
|
apiKeyEnvVar?: string | undefined;
|
|
2542
2542
|
costPer1MInput?: number | undefined;
|
|
2543
2543
|
costPer1MOutput?: number | undefined;
|
|
2544
2544
|
}, {
|
|
2545
|
-
provider: "custom" | "anthropic" | "deepseek" | "openai" | "zhipu" | "ollama";
|
|
2546
2545
|
name: string;
|
|
2546
|
+
provider: "custom" | "anthropic" | "zhipu" | "openai" | "deepseek" | "ollama";
|
|
2547
2547
|
id: string;
|
|
2548
2548
|
apiModel: string;
|
|
2549
|
+
capabilities?: string[] | undefined;
|
|
2549
2550
|
endpoint?: string | undefined;
|
|
2550
2551
|
maxContextTokens?: number | undefined;
|
|
2551
2552
|
apiKeyEnvVar?: string | undefined;
|
|
2552
2553
|
costPer1MInput?: number | undefined;
|
|
2553
2554
|
costPer1MOutput?: number | undefined;
|
|
2554
|
-
capabilities?: string[] | undefined;
|
|
2555
2555
|
}>]>, "many">>;
|
|
2556
2556
|
roles: z.ZodOptional<z.ZodObject<{
|
|
2557
2557
|
planner: z.ZodDefault<z.ZodString>;
|
|
@@ -2576,17 +2576,17 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2576
2576
|
targetRole: z.ZodEnum<["planner", "executor", "reviewer", "fallback"]>;
|
|
2577
2577
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
2578
2578
|
}, "strip", z.ZodTypeAny, {
|
|
2579
|
-
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
2580
2579
|
priority: number;
|
|
2581
|
-
|
|
2580
|
+
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
2581
|
+
complexity?: "medium" | "low" | "high" | "critical" | undefined;
|
|
2582
2582
|
keywords?: string[] | undefined;
|
|
2583
|
-
taskType?: "
|
|
2583
|
+
taskType?: "documentation" | "coding" | "bug-fix" | "refactoring" | "review" | "planning" | undefined;
|
|
2584
2584
|
}, {
|
|
2585
2585
|
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
2586
|
-
complexity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
2587
|
-
keywords?: string[] | undefined;
|
|
2588
|
-
taskType?: "planning" | "coding" | "refactoring" | "bug-fix" | "review" | "documentation" | undefined;
|
|
2589
2586
|
priority?: number | undefined;
|
|
2587
|
+
complexity?: "medium" | "low" | "high" | "critical" | undefined;
|
|
2588
|
+
keywords?: string[] | undefined;
|
|
2589
|
+
taskType?: "documentation" | "coding" | "bug-fix" | "refactoring" | "review" | "planning" | undefined;
|
|
2590
2590
|
}>, "many">>;
|
|
2591
2591
|
routingStrategy: z.ZodDefault<z.ZodEnum<["cost-optimized", "performance-first", "balanced", "adaptive"]>>;
|
|
2592
2592
|
costOptimization: z.ZodOptional<z.ZodObject<{
|
|
@@ -2610,11 +2610,11 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2610
2610
|
maxPlanningTokens: z.ZodDefault<z.ZodNumber>;
|
|
2611
2611
|
enableDecomposition: z.ZodDefault<z.ZodBoolean>;
|
|
2612
2612
|
}, "strip", z.ZodTypeAny, {
|
|
2613
|
-
complexityThreshold: "
|
|
2613
|
+
complexityThreshold: "medium" | "low" | "high";
|
|
2614
2614
|
maxPlanningTokens: number;
|
|
2615
2615
|
enableDecomposition: boolean;
|
|
2616
2616
|
}, {
|
|
2617
|
-
complexityThreshold?: "
|
|
2617
|
+
complexityThreshold?: "medium" | "low" | "high" | undefined;
|
|
2618
2618
|
maxPlanningTokens?: number | undefined;
|
|
2619
2619
|
enableDecomposition?: boolean | undefined;
|
|
2620
2620
|
}>>;
|
|
@@ -2634,18 +2634,24 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2634
2634
|
}, "strip", z.ZodTypeAny, {
|
|
2635
2635
|
enabled: boolean;
|
|
2636
2636
|
models: (string | {
|
|
2637
|
-
provider: "custom" | "anthropic" | "deepseek" | "openai" | "zhipu" | "ollama";
|
|
2638
2637
|
name: string;
|
|
2639
|
-
|
|
2638
|
+
provider: "custom" | "anthropic" | "zhipu" | "openai" | "deepseek" | "ollama";
|
|
2640
2639
|
id: string;
|
|
2641
|
-
apiModel: string;
|
|
2642
2640
|
capabilities: string[];
|
|
2641
|
+
maxContextTokens: number;
|
|
2642
|
+
apiModel: string;
|
|
2643
2643
|
endpoint?: string | undefined;
|
|
2644
2644
|
apiKeyEnvVar?: string | undefined;
|
|
2645
2645
|
costPer1MInput?: number | undefined;
|
|
2646
2646
|
costPer1MOutput?: number | undefined;
|
|
2647
2647
|
})[];
|
|
2648
|
-
routingStrategy: "cost-optimized" | "performance-first" | "
|
|
2648
|
+
routingStrategy: "balanced" | "cost-optimized" | "performance-first" | "adaptive";
|
|
2649
|
+
costOptimization?: {
|
|
2650
|
+
enabled: boolean;
|
|
2651
|
+
targetReduction: number;
|
|
2652
|
+
maxPerformanceDegradation: number;
|
|
2653
|
+
fallbackThreshold: number;
|
|
2654
|
+
} | undefined;
|
|
2649
2655
|
roles?: {
|
|
2650
2656
|
planner: string;
|
|
2651
2657
|
executor: string;
|
|
@@ -2653,20 +2659,14 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2653
2659
|
reviewer?: string | undefined;
|
|
2654
2660
|
} | undefined;
|
|
2655
2661
|
routing?: {
|
|
2656
|
-
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
2657
2662
|
priority: number;
|
|
2658
|
-
|
|
2663
|
+
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
2664
|
+
complexity?: "medium" | "low" | "high" | "critical" | undefined;
|
|
2659
2665
|
keywords?: string[] | undefined;
|
|
2660
|
-
taskType?: "
|
|
2666
|
+
taskType?: "documentation" | "coding" | "bug-fix" | "refactoring" | "review" | "planning" | undefined;
|
|
2661
2667
|
}[] | undefined;
|
|
2662
|
-
costOptimization?: {
|
|
2663
|
-
enabled: boolean;
|
|
2664
|
-
targetReduction: number;
|
|
2665
|
-
maxPerformanceDegradation: number;
|
|
2666
|
-
fallbackThreshold: number;
|
|
2667
|
-
} | undefined;
|
|
2668
2668
|
plannerSettings?: {
|
|
2669
|
-
complexityThreshold: "
|
|
2669
|
+
complexityThreshold: "medium" | "low" | "high";
|
|
2670
2670
|
maxPlanningTokens: number;
|
|
2671
2671
|
enableDecomposition: boolean;
|
|
2672
2672
|
} | undefined;
|
|
@@ -2678,17 +2678,23 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2678
2678
|
}, {
|
|
2679
2679
|
enabled?: boolean | undefined;
|
|
2680
2680
|
models?: (string | {
|
|
2681
|
-
provider: "custom" | "anthropic" | "deepseek" | "openai" | "zhipu" | "ollama";
|
|
2682
2681
|
name: string;
|
|
2682
|
+
provider: "custom" | "anthropic" | "zhipu" | "openai" | "deepseek" | "ollama";
|
|
2683
2683
|
id: string;
|
|
2684
2684
|
apiModel: string;
|
|
2685
|
+
capabilities?: string[] | undefined;
|
|
2685
2686
|
endpoint?: string | undefined;
|
|
2686
2687
|
maxContextTokens?: number | undefined;
|
|
2687
2688
|
apiKeyEnvVar?: string | undefined;
|
|
2688
2689
|
costPer1MInput?: number | undefined;
|
|
2689
2690
|
costPer1MOutput?: number | undefined;
|
|
2690
|
-
capabilities?: string[] | undefined;
|
|
2691
2691
|
})[] | undefined;
|
|
2692
|
+
costOptimization?: {
|
|
2693
|
+
enabled?: boolean | undefined;
|
|
2694
|
+
targetReduction?: number | undefined;
|
|
2695
|
+
maxPerformanceDegradation?: number | undefined;
|
|
2696
|
+
fallbackThreshold?: number | undefined;
|
|
2697
|
+
} | undefined;
|
|
2692
2698
|
roles?: {
|
|
2693
2699
|
planner?: string | undefined;
|
|
2694
2700
|
executor?: string | undefined;
|
|
@@ -2697,20 +2703,14 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2697
2703
|
} | undefined;
|
|
2698
2704
|
routing?: {
|
|
2699
2705
|
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
2700
|
-
complexity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
2701
|
-
keywords?: string[] | undefined;
|
|
2702
|
-
taskType?: "planning" | "coding" | "refactoring" | "bug-fix" | "review" | "documentation" | undefined;
|
|
2703
2706
|
priority?: number | undefined;
|
|
2707
|
+
complexity?: "medium" | "low" | "high" | "critical" | undefined;
|
|
2708
|
+
keywords?: string[] | undefined;
|
|
2709
|
+
taskType?: "documentation" | "coding" | "bug-fix" | "refactoring" | "review" | "planning" | undefined;
|
|
2704
2710
|
}[] | undefined;
|
|
2705
|
-
routingStrategy?: "cost-optimized" | "performance-first" | "
|
|
2706
|
-
costOptimization?: {
|
|
2707
|
-
enabled?: boolean | undefined;
|
|
2708
|
-
targetReduction?: number | undefined;
|
|
2709
|
-
maxPerformanceDegradation?: number | undefined;
|
|
2710
|
-
fallbackThreshold?: number | undefined;
|
|
2711
|
-
} | undefined;
|
|
2711
|
+
routingStrategy?: "balanced" | "cost-optimized" | "performance-first" | "adaptive" | undefined;
|
|
2712
2712
|
plannerSettings?: {
|
|
2713
|
-
complexityThreshold?: "
|
|
2713
|
+
complexityThreshold?: "medium" | "low" | "high" | undefined;
|
|
2714
2714
|
maxPlanningTokens?: number | undefined;
|
|
2715
2715
|
enableDecomposition?: boolean | undefined;
|
|
2716
2716
|
} | undefined;
|
|
@@ -2821,75 +2821,12 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2821
2821
|
toolChoiceForce?: "auto" | "none" | "required" | undefined;
|
|
2822
2822
|
}>>;
|
|
2823
2823
|
}, "strip", z.ZodTypeAny, {
|
|
2824
|
-
version: string;
|
|
2825
2824
|
project: {
|
|
2826
2825
|
name: string;
|
|
2827
2826
|
defaultBranch: string;
|
|
2828
2827
|
description?: string | undefined;
|
|
2829
2828
|
};
|
|
2830
|
-
|
|
2831
|
-
extends: string;
|
|
2832
|
-
sections?: {
|
|
2833
|
-
memorySystem: boolean;
|
|
2834
|
-
browserUsage: boolean;
|
|
2835
|
-
decisionLoop: boolean;
|
|
2836
|
-
worktreeWorkflow: boolean;
|
|
2837
|
-
troubleshooting: boolean;
|
|
2838
|
-
augmentedCapabilities: boolean;
|
|
2839
|
-
pipelineOnly: boolean;
|
|
2840
|
-
benchmark: boolean;
|
|
2841
|
-
} | undefined;
|
|
2842
|
-
} | undefined;
|
|
2843
|
-
costOptimization?: {
|
|
2844
|
-
enabled: boolean;
|
|
2845
|
-
tokenBudget?: {
|
|
2846
|
-
maxTemplateTokens: number;
|
|
2847
|
-
maxMemoryQueryTokens: number;
|
|
2848
|
-
maxContextTokens: number;
|
|
2849
|
-
warningThreshold: number;
|
|
2850
|
-
} | undefined;
|
|
2851
|
-
embeddingBatching?: {
|
|
2852
|
-
enabled: boolean;
|
|
2853
|
-
batchSize: number;
|
|
2854
|
-
maxDelayMs: number;
|
|
2855
|
-
} | undefined;
|
|
2856
|
-
llmCallReduction?: {
|
|
2857
|
-
cacheResponses: boolean;
|
|
2858
|
-
cacheTtlMs: number;
|
|
2859
|
-
deduplicateQueries: boolean;
|
|
2860
|
-
} | undefined;
|
|
2861
|
-
} | undefined;
|
|
2862
|
-
$schema?: string | undefined;
|
|
2863
|
-
platforms?: {
|
|
2864
|
-
claudeCode?: {
|
|
2865
|
-
enabled: boolean;
|
|
2866
|
-
shortTermMax?: number | undefined;
|
|
2867
|
-
searchResults?: number | undefined;
|
|
2868
|
-
sessionMax?: number | undefined;
|
|
2869
|
-
patternRag?: boolean | undefined;
|
|
2870
|
-
} | undefined;
|
|
2871
|
-
factory?: {
|
|
2872
|
-
enabled: boolean;
|
|
2873
|
-
shortTermMax?: number | undefined;
|
|
2874
|
-
searchResults?: number | undefined;
|
|
2875
|
-
sessionMax?: number | undefined;
|
|
2876
|
-
patternRag?: boolean | undefined;
|
|
2877
|
-
} | undefined;
|
|
2878
|
-
vscode?: {
|
|
2879
|
-
enabled: boolean;
|
|
2880
|
-
shortTermMax?: number | undefined;
|
|
2881
|
-
searchResults?: number | undefined;
|
|
2882
|
-
sessionMax?: number | undefined;
|
|
2883
|
-
patternRag?: boolean | undefined;
|
|
2884
|
-
} | undefined;
|
|
2885
|
-
opencode?: {
|
|
2886
|
-
enabled: boolean;
|
|
2887
|
-
shortTermMax?: number | undefined;
|
|
2888
|
-
searchResults?: number | undefined;
|
|
2889
|
-
sessionMax?: number | undefined;
|
|
2890
|
-
patternRag?: boolean | undefined;
|
|
2891
|
-
} | undefined;
|
|
2892
|
-
} | undefined;
|
|
2829
|
+
version: string;
|
|
2893
2830
|
memory?: {
|
|
2894
2831
|
patternRag?: {
|
|
2895
2832
|
enabled: boolean;
|
|
@@ -2913,9 +2850,9 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2913
2850
|
forceDesktop?: boolean | undefined;
|
|
2914
2851
|
} | undefined;
|
|
2915
2852
|
longTerm?: {
|
|
2853
|
+
provider: "qdrant" | "none" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "serverless";
|
|
2916
2854
|
enabled: boolean;
|
|
2917
2855
|
collection: string;
|
|
2918
|
-
provider: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none";
|
|
2919
2856
|
embeddingModel: string;
|
|
2920
2857
|
github?: {
|
|
2921
2858
|
enabled: boolean;
|
|
@@ -2931,7 +2868,7 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2931
2868
|
hybrid?: {
|
|
2932
2869
|
useLocalInDev: boolean;
|
|
2933
2870
|
useCloudInProd: boolean;
|
|
2934
|
-
envDetection: "
|
|
2871
|
+
envDetection: "auto" | "NODE_ENV" | "UAP_ENV";
|
|
2935
2872
|
} | undefined;
|
|
2936
2873
|
lazyLocal?: {
|
|
2937
2874
|
dockerImage: string;
|
|
@@ -2947,46 +2884,109 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2947
2884
|
region: string;
|
|
2948
2885
|
keepWarm: boolean;
|
|
2949
2886
|
warmIntervalMs: number;
|
|
2950
|
-
url?: string | undefined;
|
|
2951
2887
|
apiKey?: string | undefined;
|
|
2888
|
+
url?: string | undefined;
|
|
2952
2889
|
} | undefined;
|
|
2953
2890
|
} | undefined;
|
|
2954
2891
|
endpoint?: string | undefined;
|
|
2955
2892
|
qdrantCloud?: {
|
|
2956
2893
|
enabled: boolean;
|
|
2957
2894
|
collection: string;
|
|
2958
|
-
url?: string | undefined;
|
|
2959
2895
|
apiKey?: string | undefined;
|
|
2896
|
+
url?: string | undefined;
|
|
2960
2897
|
} | undefined;
|
|
2961
2898
|
} | undefined;
|
|
2962
2899
|
} | undefined;
|
|
2963
|
-
worktrees?: {
|
|
2964
|
-
enabled: boolean;
|
|
2965
|
-
directory: string;
|
|
2966
|
-
branchPrefix: string;
|
|
2967
|
-
autoCleanup: boolean;
|
|
2968
|
-
} | undefined;
|
|
2969
2900
|
droids?: {
|
|
2970
2901
|
name: string;
|
|
2971
2902
|
model: string;
|
|
2972
|
-
template?: string | undefined;
|
|
2973
2903
|
description?: string | undefined;
|
|
2904
|
+
template?: string | undefined;
|
|
2974
2905
|
tools?: string | string[] | undefined;
|
|
2975
2906
|
}[] | undefined;
|
|
2907
|
+
$schema?: string | undefined;
|
|
2908
|
+
platforms?: {
|
|
2909
|
+
factory?: {
|
|
2910
|
+
enabled: boolean;
|
|
2911
|
+
shortTermMax?: number | undefined;
|
|
2912
|
+
searchResults?: number | undefined;
|
|
2913
|
+
sessionMax?: number | undefined;
|
|
2914
|
+
patternRag?: boolean | undefined;
|
|
2915
|
+
} | undefined;
|
|
2916
|
+
vscode?: {
|
|
2917
|
+
enabled: boolean;
|
|
2918
|
+
shortTermMax?: number | undefined;
|
|
2919
|
+
searchResults?: number | undefined;
|
|
2920
|
+
sessionMax?: number | undefined;
|
|
2921
|
+
patternRag?: boolean | undefined;
|
|
2922
|
+
} | undefined;
|
|
2923
|
+
opencode?: {
|
|
2924
|
+
enabled: boolean;
|
|
2925
|
+
shortTermMax?: number | undefined;
|
|
2926
|
+
searchResults?: number | undefined;
|
|
2927
|
+
sessionMax?: number | undefined;
|
|
2928
|
+
patternRag?: boolean | undefined;
|
|
2929
|
+
} | undefined;
|
|
2930
|
+
claudeCode?: {
|
|
2931
|
+
enabled: boolean;
|
|
2932
|
+
shortTermMax?: number | undefined;
|
|
2933
|
+
searchResults?: number | undefined;
|
|
2934
|
+
sessionMax?: number | undefined;
|
|
2935
|
+
patternRag?: boolean | undefined;
|
|
2936
|
+
} | undefined;
|
|
2937
|
+
} | undefined;
|
|
2938
|
+
worktrees?: {
|
|
2939
|
+
enabled: boolean;
|
|
2940
|
+
directory: string;
|
|
2941
|
+
branchPrefix: string;
|
|
2942
|
+
autoCleanup: boolean;
|
|
2943
|
+
} | undefined;
|
|
2944
|
+
template?: {
|
|
2945
|
+
extends: string;
|
|
2946
|
+
sections?: {
|
|
2947
|
+
benchmark: boolean;
|
|
2948
|
+
memorySystem: boolean;
|
|
2949
|
+
browserUsage: boolean;
|
|
2950
|
+
decisionLoop: boolean;
|
|
2951
|
+
worktreeWorkflow: boolean;
|
|
2952
|
+
troubleshooting: boolean;
|
|
2953
|
+
augmentedCapabilities: boolean;
|
|
2954
|
+
pipelineOnly: boolean;
|
|
2955
|
+
} | undefined;
|
|
2956
|
+
} | undefined;
|
|
2976
2957
|
commands?: {
|
|
2977
2958
|
name: string;
|
|
2978
|
-
template?: string | undefined;
|
|
2979
2959
|
description?: string | undefined;
|
|
2960
|
+
template?: string | undefined;
|
|
2980
2961
|
argumentHint?: string | undefined;
|
|
2981
2962
|
}[] | undefined;
|
|
2963
|
+
costOptimization?: {
|
|
2964
|
+
enabled: boolean;
|
|
2965
|
+
tokenBudget?: {
|
|
2966
|
+
maxTemplateTokens: number;
|
|
2967
|
+
maxMemoryQueryTokens: number;
|
|
2968
|
+
maxContextTokens: number;
|
|
2969
|
+
warningThreshold: number;
|
|
2970
|
+
} | undefined;
|
|
2971
|
+
embeddingBatching?: {
|
|
2972
|
+
enabled: boolean;
|
|
2973
|
+
batchSize: number;
|
|
2974
|
+
maxDelayMs: number;
|
|
2975
|
+
} | undefined;
|
|
2976
|
+
llmCallReduction?: {
|
|
2977
|
+
cacheResponses: boolean;
|
|
2978
|
+
cacheTtlMs: number;
|
|
2979
|
+
deduplicateQueries: boolean;
|
|
2980
|
+
} | undefined;
|
|
2981
|
+
} | undefined;
|
|
2982
2982
|
timeOptimization?: {
|
|
2983
2983
|
enabled: boolean;
|
|
2984
2984
|
batchWindows?: {
|
|
2985
|
+
deploy: number;
|
|
2985
2986
|
push: number;
|
|
2986
2987
|
commit: number;
|
|
2987
2988
|
merge: number;
|
|
2988
2989
|
workflow: number;
|
|
2989
|
-
deploy: number;
|
|
2990
2990
|
} | undefined;
|
|
2991
2991
|
parallelExecution?: {
|
|
2992
2992
|
enabled: boolean;
|
|
@@ -3001,18 +3001,24 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3001
3001
|
multiModel?: {
|
|
3002
3002
|
enabled: boolean;
|
|
3003
3003
|
models: (string | {
|
|
3004
|
-
provider: "custom" | "anthropic" | "deepseek" | "openai" | "zhipu" | "ollama";
|
|
3005
3004
|
name: string;
|
|
3006
|
-
|
|
3005
|
+
provider: "custom" | "anthropic" | "zhipu" | "openai" | "deepseek" | "ollama";
|
|
3007
3006
|
id: string;
|
|
3008
|
-
apiModel: string;
|
|
3009
3007
|
capabilities: string[];
|
|
3008
|
+
maxContextTokens: number;
|
|
3009
|
+
apiModel: string;
|
|
3010
3010
|
endpoint?: string | undefined;
|
|
3011
3011
|
apiKeyEnvVar?: string | undefined;
|
|
3012
3012
|
costPer1MInput?: number | undefined;
|
|
3013
3013
|
costPer1MOutput?: number | undefined;
|
|
3014
3014
|
})[];
|
|
3015
|
-
routingStrategy: "cost-optimized" | "performance-first" | "
|
|
3015
|
+
routingStrategy: "balanced" | "cost-optimized" | "performance-first" | "adaptive";
|
|
3016
|
+
costOptimization?: {
|
|
3017
|
+
enabled: boolean;
|
|
3018
|
+
targetReduction: number;
|
|
3019
|
+
maxPerformanceDegradation: number;
|
|
3020
|
+
fallbackThreshold: number;
|
|
3021
|
+
} | undefined;
|
|
3016
3022
|
roles?: {
|
|
3017
3023
|
planner: string;
|
|
3018
3024
|
executor: string;
|
|
@@ -3020,20 +3026,14 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3020
3026
|
reviewer?: string | undefined;
|
|
3021
3027
|
} | undefined;
|
|
3022
3028
|
routing?: {
|
|
3023
|
-
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
3024
3029
|
priority: number;
|
|
3025
|
-
|
|
3030
|
+
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
3031
|
+
complexity?: "medium" | "low" | "high" | "critical" | undefined;
|
|
3026
3032
|
keywords?: string[] | undefined;
|
|
3027
|
-
taskType?: "
|
|
3033
|
+
taskType?: "documentation" | "coding" | "bug-fix" | "refactoring" | "review" | "planning" | undefined;
|
|
3028
3034
|
}[] | undefined;
|
|
3029
|
-
costOptimization?: {
|
|
3030
|
-
enabled: boolean;
|
|
3031
|
-
targetReduction: number;
|
|
3032
|
-
maxPerformanceDegradation: number;
|
|
3033
|
-
fallbackThreshold: number;
|
|
3034
|
-
} | undefined;
|
|
3035
3035
|
plannerSettings?: {
|
|
3036
|
-
complexityThreshold: "
|
|
3036
|
+
complexityThreshold: "medium" | "low" | "high";
|
|
3037
3037
|
maxPlanningTokens: number;
|
|
3038
3038
|
enableDecomposition: boolean;
|
|
3039
3039
|
} | undefined;
|
|
@@ -3071,70 +3071,6 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3071
3071
|
description?: string | undefined;
|
|
3072
3072
|
defaultBranch?: string | undefined;
|
|
3073
3073
|
};
|
|
3074
|
-
template?: {
|
|
3075
|
-
extends?: string | undefined;
|
|
3076
|
-
sections?: {
|
|
3077
|
-
memorySystem?: boolean | undefined;
|
|
3078
|
-
browserUsage?: boolean | undefined;
|
|
3079
|
-
decisionLoop?: boolean | undefined;
|
|
3080
|
-
worktreeWorkflow?: boolean | undefined;
|
|
3081
|
-
troubleshooting?: boolean | undefined;
|
|
3082
|
-
augmentedCapabilities?: boolean | undefined;
|
|
3083
|
-
pipelineOnly?: boolean | undefined;
|
|
3084
|
-
benchmark?: boolean | undefined;
|
|
3085
|
-
} | undefined;
|
|
3086
|
-
} | undefined;
|
|
3087
|
-
costOptimization?: {
|
|
3088
|
-
enabled?: boolean | undefined;
|
|
3089
|
-
tokenBudget?: {
|
|
3090
|
-
maxTemplateTokens?: number | undefined;
|
|
3091
|
-
maxMemoryQueryTokens?: number | undefined;
|
|
3092
|
-
maxContextTokens?: number | undefined;
|
|
3093
|
-
warningThreshold?: number | undefined;
|
|
3094
|
-
} | undefined;
|
|
3095
|
-
embeddingBatching?: {
|
|
3096
|
-
enabled?: boolean | undefined;
|
|
3097
|
-
batchSize?: number | undefined;
|
|
3098
|
-
maxDelayMs?: number | undefined;
|
|
3099
|
-
} | undefined;
|
|
3100
|
-
llmCallReduction?: {
|
|
3101
|
-
cacheResponses?: boolean | undefined;
|
|
3102
|
-
cacheTtlMs?: number | undefined;
|
|
3103
|
-
deduplicateQueries?: boolean | undefined;
|
|
3104
|
-
} | undefined;
|
|
3105
|
-
} | undefined;
|
|
3106
|
-
$schema?: string | undefined;
|
|
3107
|
-
version?: string | undefined;
|
|
3108
|
-
platforms?: {
|
|
3109
|
-
claudeCode?: {
|
|
3110
|
-
enabled?: boolean | undefined;
|
|
3111
|
-
shortTermMax?: number | undefined;
|
|
3112
|
-
searchResults?: number | undefined;
|
|
3113
|
-
sessionMax?: number | undefined;
|
|
3114
|
-
patternRag?: boolean | undefined;
|
|
3115
|
-
} | undefined;
|
|
3116
|
-
factory?: {
|
|
3117
|
-
enabled?: boolean | undefined;
|
|
3118
|
-
shortTermMax?: number | undefined;
|
|
3119
|
-
searchResults?: number | undefined;
|
|
3120
|
-
sessionMax?: number | undefined;
|
|
3121
|
-
patternRag?: boolean | undefined;
|
|
3122
|
-
} | undefined;
|
|
3123
|
-
vscode?: {
|
|
3124
|
-
enabled?: boolean | undefined;
|
|
3125
|
-
shortTermMax?: number | undefined;
|
|
3126
|
-
searchResults?: number | undefined;
|
|
3127
|
-
sessionMax?: number | undefined;
|
|
3128
|
-
patternRag?: boolean | undefined;
|
|
3129
|
-
} | undefined;
|
|
3130
|
-
opencode?: {
|
|
3131
|
-
enabled?: boolean | undefined;
|
|
3132
|
-
shortTermMax?: number | undefined;
|
|
3133
|
-
searchResults?: number | undefined;
|
|
3134
|
-
sessionMax?: number | undefined;
|
|
3135
|
-
patternRag?: boolean | undefined;
|
|
3136
|
-
} | undefined;
|
|
3137
|
-
} | undefined;
|
|
3138
3074
|
memory?: {
|
|
3139
3075
|
patternRag?: {
|
|
3140
3076
|
enabled?: boolean | undefined;
|
|
@@ -3158,22 +3094,21 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3158
3094
|
forceDesktop?: boolean | undefined;
|
|
3159
3095
|
} | undefined;
|
|
3160
3096
|
longTerm?: {
|
|
3097
|
+
provider?: "qdrant" | "none" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "serverless" | undefined;
|
|
3161
3098
|
enabled?: boolean | undefined;
|
|
3162
|
-
collection?: string | undefined;
|
|
3163
|
-
provider?: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none" | undefined;
|
|
3164
3099
|
github?: {
|
|
3165
3100
|
enabled?: boolean | undefined;
|
|
3166
3101
|
path?: string | undefined;
|
|
3102
|
+
branch?: string | undefined;
|
|
3167
3103
|
repo?: string | undefined;
|
|
3168
3104
|
token?: string | undefined;
|
|
3169
|
-
branch?: string | undefined;
|
|
3170
3105
|
} | undefined;
|
|
3171
3106
|
serverless?: {
|
|
3172
3107
|
enabled?: boolean | undefined;
|
|
3173
3108
|
hybrid?: {
|
|
3174
3109
|
useLocalInDev?: boolean | undefined;
|
|
3175
3110
|
useCloudInProd?: boolean | undefined;
|
|
3176
|
-
envDetection?: "
|
|
3111
|
+
envDetection?: "auto" | "NODE_ENV" | "UAP_ENV" | undefined;
|
|
3177
3112
|
} | undefined;
|
|
3178
3113
|
mode?: "lazy-local" | "cloud-serverless" | "hybrid" | undefined;
|
|
3179
3114
|
lazyLocal?: {
|
|
@@ -3186,9 +3121,9 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3186
3121
|
healthCheckIntervalMs?: number | undefined;
|
|
3187
3122
|
} | undefined;
|
|
3188
3123
|
cloudServerless?: {
|
|
3189
|
-
url?: string | undefined;
|
|
3190
|
-
apiKey?: string | undefined;
|
|
3191
3124
|
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
3125
|
+
apiKey?: string | undefined;
|
|
3126
|
+
url?: string | undefined;
|
|
3192
3127
|
region?: string | undefined;
|
|
3193
3128
|
keepWarm?: boolean | undefined;
|
|
3194
3129
|
warmIntervalMs?: number | undefined;
|
|
@@ -3196,42 +3131,107 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3196
3131
|
fallbackToMemory?: boolean | undefined;
|
|
3197
3132
|
} | undefined;
|
|
3198
3133
|
endpoint?: string | undefined;
|
|
3134
|
+
collection?: string | undefined;
|
|
3199
3135
|
embeddingModel?: string | undefined;
|
|
3200
3136
|
qdrantCloud?: {
|
|
3201
3137
|
enabled?: boolean | undefined;
|
|
3202
|
-
url?: string | undefined;
|
|
3203
3138
|
apiKey?: string | undefined;
|
|
3204
3139
|
collection?: string | undefined;
|
|
3140
|
+
url?: string | undefined;
|
|
3205
3141
|
} | undefined;
|
|
3206
3142
|
} | undefined;
|
|
3207
3143
|
} | undefined;
|
|
3208
|
-
worktrees?: {
|
|
3209
|
-
enabled?: boolean | undefined;
|
|
3210
|
-
directory?: string | undefined;
|
|
3211
|
-
branchPrefix?: string | undefined;
|
|
3212
|
-
autoCleanup?: boolean | undefined;
|
|
3213
|
-
} | undefined;
|
|
3214
3144
|
droids?: {
|
|
3215
3145
|
name: string;
|
|
3216
|
-
template?: string | undefined;
|
|
3217
3146
|
description?: string | undefined;
|
|
3218
3147
|
model?: string | undefined;
|
|
3148
|
+
template?: string | undefined;
|
|
3219
3149
|
tools?: string | string[] | undefined;
|
|
3220
3150
|
}[] | undefined;
|
|
3151
|
+
version?: string | undefined;
|
|
3152
|
+
$schema?: string | undefined;
|
|
3153
|
+
platforms?: {
|
|
3154
|
+
factory?: {
|
|
3155
|
+
enabled?: boolean | undefined;
|
|
3156
|
+
shortTermMax?: number | undefined;
|
|
3157
|
+
searchResults?: number | undefined;
|
|
3158
|
+
sessionMax?: number | undefined;
|
|
3159
|
+
patternRag?: boolean | undefined;
|
|
3160
|
+
} | undefined;
|
|
3161
|
+
vscode?: {
|
|
3162
|
+
enabled?: boolean | undefined;
|
|
3163
|
+
shortTermMax?: number | undefined;
|
|
3164
|
+
searchResults?: number | undefined;
|
|
3165
|
+
sessionMax?: number | undefined;
|
|
3166
|
+
patternRag?: boolean | undefined;
|
|
3167
|
+
} | undefined;
|
|
3168
|
+
opencode?: {
|
|
3169
|
+
enabled?: boolean | undefined;
|
|
3170
|
+
shortTermMax?: number | undefined;
|
|
3171
|
+
searchResults?: number | undefined;
|
|
3172
|
+
sessionMax?: number | undefined;
|
|
3173
|
+
patternRag?: boolean | undefined;
|
|
3174
|
+
} | undefined;
|
|
3175
|
+
claudeCode?: {
|
|
3176
|
+
enabled?: boolean | undefined;
|
|
3177
|
+
shortTermMax?: number | undefined;
|
|
3178
|
+
searchResults?: number | undefined;
|
|
3179
|
+
sessionMax?: number | undefined;
|
|
3180
|
+
patternRag?: boolean | undefined;
|
|
3181
|
+
} | undefined;
|
|
3182
|
+
} | undefined;
|
|
3183
|
+
worktrees?: {
|
|
3184
|
+
enabled?: boolean | undefined;
|
|
3185
|
+
directory?: string | undefined;
|
|
3186
|
+
branchPrefix?: string | undefined;
|
|
3187
|
+
autoCleanup?: boolean | undefined;
|
|
3188
|
+
} | undefined;
|
|
3189
|
+
template?: {
|
|
3190
|
+
extends?: string | undefined;
|
|
3191
|
+
sections?: {
|
|
3192
|
+
benchmark?: boolean | undefined;
|
|
3193
|
+
memorySystem?: boolean | undefined;
|
|
3194
|
+
browserUsage?: boolean | undefined;
|
|
3195
|
+
decisionLoop?: boolean | undefined;
|
|
3196
|
+
worktreeWorkflow?: boolean | undefined;
|
|
3197
|
+
troubleshooting?: boolean | undefined;
|
|
3198
|
+
augmentedCapabilities?: boolean | undefined;
|
|
3199
|
+
pipelineOnly?: boolean | undefined;
|
|
3200
|
+
} | undefined;
|
|
3201
|
+
} | undefined;
|
|
3221
3202
|
commands?: {
|
|
3222
3203
|
name: string;
|
|
3223
|
-
template?: string | undefined;
|
|
3224
3204
|
description?: string | undefined;
|
|
3205
|
+
template?: string | undefined;
|
|
3225
3206
|
argumentHint?: string | undefined;
|
|
3226
3207
|
}[] | undefined;
|
|
3208
|
+
costOptimization?: {
|
|
3209
|
+
enabled?: boolean | undefined;
|
|
3210
|
+
tokenBudget?: {
|
|
3211
|
+
maxTemplateTokens?: number | undefined;
|
|
3212
|
+
maxMemoryQueryTokens?: number | undefined;
|
|
3213
|
+
maxContextTokens?: number | undefined;
|
|
3214
|
+
warningThreshold?: number | undefined;
|
|
3215
|
+
} | undefined;
|
|
3216
|
+
embeddingBatching?: {
|
|
3217
|
+
enabled?: boolean | undefined;
|
|
3218
|
+
batchSize?: number | undefined;
|
|
3219
|
+
maxDelayMs?: number | undefined;
|
|
3220
|
+
} | undefined;
|
|
3221
|
+
llmCallReduction?: {
|
|
3222
|
+
cacheResponses?: boolean | undefined;
|
|
3223
|
+
cacheTtlMs?: number | undefined;
|
|
3224
|
+
deduplicateQueries?: boolean | undefined;
|
|
3225
|
+
} | undefined;
|
|
3226
|
+
} | undefined;
|
|
3227
3227
|
timeOptimization?: {
|
|
3228
3228
|
enabled?: boolean | undefined;
|
|
3229
3229
|
batchWindows?: {
|
|
3230
|
+
deploy?: number | undefined;
|
|
3230
3231
|
push?: number | undefined;
|
|
3231
3232
|
commit?: number | undefined;
|
|
3232
3233
|
merge?: number | undefined;
|
|
3233
3234
|
workflow?: number | undefined;
|
|
3234
|
-
deploy?: number | undefined;
|
|
3235
3235
|
} | undefined;
|
|
3236
3236
|
parallelExecution?: {
|
|
3237
3237
|
enabled?: boolean | undefined;
|
|
@@ -3246,17 +3246,23 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3246
3246
|
multiModel?: {
|
|
3247
3247
|
enabled?: boolean | undefined;
|
|
3248
3248
|
models?: (string | {
|
|
3249
|
-
provider: "custom" | "anthropic" | "deepseek" | "openai" | "zhipu" | "ollama";
|
|
3250
3249
|
name: string;
|
|
3250
|
+
provider: "custom" | "anthropic" | "zhipu" | "openai" | "deepseek" | "ollama";
|
|
3251
3251
|
id: string;
|
|
3252
3252
|
apiModel: string;
|
|
3253
|
+
capabilities?: string[] | undefined;
|
|
3253
3254
|
endpoint?: string | undefined;
|
|
3254
3255
|
maxContextTokens?: number | undefined;
|
|
3255
3256
|
apiKeyEnvVar?: string | undefined;
|
|
3256
3257
|
costPer1MInput?: number | undefined;
|
|
3257
3258
|
costPer1MOutput?: number | undefined;
|
|
3258
|
-
capabilities?: string[] | undefined;
|
|
3259
3259
|
})[] | undefined;
|
|
3260
|
+
costOptimization?: {
|
|
3261
|
+
enabled?: boolean | undefined;
|
|
3262
|
+
targetReduction?: number | undefined;
|
|
3263
|
+
maxPerformanceDegradation?: number | undefined;
|
|
3264
|
+
fallbackThreshold?: number | undefined;
|
|
3265
|
+
} | undefined;
|
|
3260
3266
|
roles?: {
|
|
3261
3267
|
planner?: string | undefined;
|
|
3262
3268
|
executor?: string | undefined;
|
|
@@ -3265,20 +3271,14 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3265
3271
|
} | undefined;
|
|
3266
3272
|
routing?: {
|
|
3267
3273
|
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
3268
|
-
complexity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
3269
|
-
keywords?: string[] | undefined;
|
|
3270
|
-
taskType?: "planning" | "coding" | "refactoring" | "bug-fix" | "review" | "documentation" | undefined;
|
|
3271
3274
|
priority?: number | undefined;
|
|
3275
|
+
complexity?: "medium" | "low" | "high" | "critical" | undefined;
|
|
3276
|
+
keywords?: string[] | undefined;
|
|
3277
|
+
taskType?: "documentation" | "coding" | "bug-fix" | "refactoring" | "review" | "planning" | undefined;
|
|
3272
3278
|
}[] | undefined;
|
|
3273
|
-
routingStrategy?: "cost-optimized" | "performance-first" | "
|
|
3274
|
-
costOptimization?: {
|
|
3275
|
-
enabled?: boolean | undefined;
|
|
3276
|
-
targetReduction?: number | undefined;
|
|
3277
|
-
maxPerformanceDegradation?: number | undefined;
|
|
3278
|
-
fallbackThreshold?: number | undefined;
|
|
3279
|
-
} | undefined;
|
|
3279
|
+
routingStrategy?: "balanced" | "cost-optimized" | "performance-first" | "adaptive" | undefined;
|
|
3280
3280
|
plannerSettings?: {
|
|
3281
|
-
complexityThreshold?: "
|
|
3281
|
+
complexityThreshold?: "medium" | "low" | "high" | undefined;
|
|
3282
3282
|
maxPlanningTokens?: number | undefined;
|
|
3283
3283
|
enableDecomposition?: boolean | undefined;
|
|
3284
3284
|
} | undefined;
|