@miller-tech/uap 1.8.1 → 1.9.1
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/cli/dashboard.d.ts.map +1 -1
- package/dist/cli/dashboard.js +4 -2
- package/dist/cli/dashboard.js.map +1 -1
- package/dist/cli/hooks.d.ts +1 -1
- package/dist/cli/hooks.d.ts.map +1 -1
- package/dist/cli/hooks.js +371 -0
- package/dist/cli/hooks.js.map +1 -1
- package/dist/cli/init.d.ts.map +1 -1
- package/dist/cli/init.js +120 -3
- package/dist/cli/init.js.map +1 -1
- package/dist/cli/setup-wizard.js +2 -2
- package/dist/cli/setup-wizard.js.map +1 -1
- package/dist/cli/visualize.d.ts +6 -0
- package/dist/cli/visualize.d.ts.map +1 -1
- package/dist/cli/visualize.js +34 -4
- package/dist/cli/visualize.js.map +1 -1
- package/dist/telemetry/session-telemetry.d.ts.map +1 -1
- package/dist/telemetry/session-telemetry.js +59 -6
- package/dist/telemetry/session-telemetry.js.map +1 -1
- package/dist/types/config.d.ts +309 -262
- package/dist/types/config.d.ts.map +1 -1
- package/dist/types/config.js +1 -0
- package/dist/types/config.js.map +1 -1
- package/package.json +1 -1
package/dist/types/config.d.ts
CHANGED
|
@@ -25,14 +25,14 @@ export declare const ShortTermMemorySchema: z.ZodObject<{
|
|
|
25
25
|
maxEntries: z.ZodDefault<z.ZodNumber>;
|
|
26
26
|
forceDesktop: z.ZodOptional<z.ZodBoolean>;
|
|
27
27
|
}, "strip", z.ZodTypeAny, {
|
|
28
|
-
path: string;
|
|
29
28
|
enabled: boolean;
|
|
29
|
+
path: string;
|
|
30
30
|
maxEntries: number;
|
|
31
31
|
webDatabase?: string | undefined;
|
|
32
32
|
forceDesktop?: boolean | undefined;
|
|
33
33
|
}, {
|
|
34
|
-
path?: string | undefined;
|
|
35
34
|
enabled?: boolean | undefined;
|
|
35
|
+
path?: string | undefined;
|
|
36
36
|
webDatabase?: string | undefined;
|
|
37
37
|
maxEntries?: number | undefined;
|
|
38
38
|
forceDesktop?: boolean | undefined;
|
|
@@ -44,14 +44,14 @@ export declare const GitHubMemoryBackendSchema: z.ZodObject<{
|
|
|
44
44
|
path: z.ZodDefault<z.ZodString>;
|
|
45
45
|
branch: z.ZodDefault<z.ZodString>;
|
|
46
46
|
}, "strip", z.ZodTypeAny, {
|
|
47
|
-
path: string;
|
|
48
47
|
enabled: boolean;
|
|
48
|
+
path: string;
|
|
49
49
|
branch: string;
|
|
50
50
|
repo?: string | undefined;
|
|
51
51
|
token?: string | undefined;
|
|
52
52
|
}, {
|
|
53
|
-
path?: string | undefined;
|
|
54
53
|
enabled?: boolean | undefined;
|
|
54
|
+
path?: string | undefined;
|
|
55
55
|
repo?: string | undefined;
|
|
56
56
|
token?: string | undefined;
|
|
57
57
|
branch?: string | 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;
|
|
@@ -171,7 +171,7 @@ export declare const QdrantServerlessSchema: z.ZodObject<{
|
|
|
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?: {
|
|
@@ -206,14 +206,14 @@ export declare const LongTermMemorySchema: z.ZodObject<{
|
|
|
206
206
|
path: z.ZodDefault<z.ZodString>;
|
|
207
207
|
branch: z.ZodDefault<z.ZodString>;
|
|
208
208
|
}, "strip", z.ZodTypeAny, {
|
|
209
|
-
path: string;
|
|
210
209
|
enabled: boolean;
|
|
210
|
+
path: string;
|
|
211
211
|
branch: string;
|
|
212
212
|
repo?: string | undefined;
|
|
213
213
|
token?: string | undefined;
|
|
214
214
|
}, {
|
|
215
|
-
path?: string | undefined;
|
|
216
215
|
enabled?: boolean | undefined;
|
|
216
|
+
path?: string | undefined;
|
|
217
217
|
repo?: string | undefined;
|
|
218
218
|
token?: string | undefined;
|
|
219
219
|
branch?: string | 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;
|
|
@@ -329,7 +329,7 @@ export declare const LongTermMemorySchema: z.ZodObject<{
|
|
|
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?: {
|
|
@@ -352,13 +352,13 @@ export declare const LongTermMemorySchema: z.ZodObject<{
|
|
|
352
352
|
fallbackToMemory?: boolean | undefined;
|
|
353
353
|
}>>;
|
|
354
354
|
}, "strip", z.ZodTypeAny, {
|
|
355
|
-
enabled: boolean;
|
|
356
355
|
provider: "qdrant" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "serverless" | "none";
|
|
356
|
+
enabled: boolean;
|
|
357
357
|
collection: string;
|
|
358
358
|
embeddingModel: string;
|
|
359
359
|
github?: {
|
|
360
|
-
path: string;
|
|
361
360
|
enabled: boolean;
|
|
361
|
+
path: string;
|
|
362
362
|
branch: string;
|
|
363
363
|
repo?: string | undefined;
|
|
364
364
|
token?: string | undefined;
|
|
@@ -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;
|
|
@@ -398,10 +398,11 @@ export declare const LongTermMemorySchema: z.ZodObject<{
|
|
|
398
398
|
apiKey?: string | undefined;
|
|
399
399
|
} | undefined;
|
|
400
400
|
}, {
|
|
401
|
+
provider?: "qdrant" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "serverless" | "none" | undefined;
|
|
401
402
|
enabled?: boolean | undefined;
|
|
402
403
|
github?: {
|
|
403
|
-
path?: string | undefined;
|
|
404
404
|
enabled?: boolean | undefined;
|
|
405
|
+
path?: string | undefined;
|
|
405
406
|
repo?: string | undefined;
|
|
406
407
|
token?: string | undefined;
|
|
407
408
|
branch?: string | undefined;
|
|
@@ -411,7 +412,7 @@ export declare const LongTermMemorySchema: z.ZodObject<{
|
|
|
411
412
|
hybrid?: {
|
|
412
413
|
useLocalInDev?: boolean | undefined;
|
|
413
414
|
useCloudInProd?: boolean | undefined;
|
|
414
|
-
envDetection?: "
|
|
415
|
+
envDetection?: "auto" | "NODE_ENV" | "UAP_ENV" | undefined;
|
|
415
416
|
} | undefined;
|
|
416
417
|
mode?: "lazy-local" | "cloud-serverless" | "hybrid" | undefined;
|
|
417
418
|
lazyLocal?: {
|
|
@@ -433,7 +434,6 @@ export declare const LongTermMemorySchema: z.ZodObject<{
|
|
|
433
434
|
} | undefined;
|
|
434
435
|
fallbackToMemory?: boolean | undefined;
|
|
435
436
|
} | undefined;
|
|
436
|
-
provider?: "qdrant" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "serverless" | "none" | undefined;
|
|
437
437
|
endpoint?: string | undefined;
|
|
438
438
|
collection?: string | undefined;
|
|
439
439
|
embeddingModel?: string | undefined;
|
|
@@ -498,14 +498,14 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
498
498
|
maxEntries: z.ZodDefault<z.ZodNumber>;
|
|
499
499
|
forceDesktop: z.ZodOptional<z.ZodBoolean>;
|
|
500
500
|
}, "strip", z.ZodTypeAny, {
|
|
501
|
-
path: string;
|
|
502
501
|
enabled: boolean;
|
|
502
|
+
path: string;
|
|
503
503
|
maxEntries: number;
|
|
504
504
|
webDatabase?: string | undefined;
|
|
505
505
|
forceDesktop?: boolean | undefined;
|
|
506
506
|
}, {
|
|
507
|
-
path?: string | undefined;
|
|
508
507
|
enabled?: boolean | undefined;
|
|
508
|
+
path?: string | undefined;
|
|
509
509
|
webDatabase?: string | undefined;
|
|
510
510
|
maxEntries?: number | undefined;
|
|
511
511
|
forceDesktop?: boolean | undefined;
|
|
@@ -523,14 +523,14 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
523
523
|
path: z.ZodDefault<z.ZodString>;
|
|
524
524
|
branch: z.ZodDefault<z.ZodString>;
|
|
525
525
|
}, "strip", z.ZodTypeAny, {
|
|
526
|
-
path: string;
|
|
527
526
|
enabled: boolean;
|
|
527
|
+
path: string;
|
|
528
528
|
branch: string;
|
|
529
529
|
repo?: string | undefined;
|
|
530
530
|
token?: string | undefined;
|
|
531
531
|
}, {
|
|
532
|
-
path?: string | undefined;
|
|
533
532
|
enabled?: boolean | undefined;
|
|
533
|
+
path?: string | undefined;
|
|
534
534
|
repo?: string | undefined;
|
|
535
535
|
token?: string | undefined;
|
|
536
536
|
branch?: string | 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;
|
|
@@ -646,7 +646,7 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
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?: {
|
|
@@ -669,13 +669,13 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
669
669
|
fallbackToMemory?: boolean | undefined;
|
|
670
670
|
}>>;
|
|
671
671
|
}, "strip", z.ZodTypeAny, {
|
|
672
|
-
enabled: boolean;
|
|
673
672
|
provider: "qdrant" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "serverless" | "none";
|
|
673
|
+
enabled: boolean;
|
|
674
674
|
collection: string;
|
|
675
675
|
embeddingModel: string;
|
|
676
676
|
github?: {
|
|
677
|
-
path: string;
|
|
678
677
|
enabled: boolean;
|
|
678
|
+
path: string;
|
|
679
679
|
branch: string;
|
|
680
680
|
repo?: string | undefined;
|
|
681
681
|
token?: string | undefined;
|
|
@@ -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;
|
|
@@ -715,10 +715,11 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
715
715
|
apiKey?: string | undefined;
|
|
716
716
|
} | undefined;
|
|
717
717
|
}, {
|
|
718
|
+
provider?: "qdrant" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "serverless" | "none" | undefined;
|
|
718
719
|
enabled?: boolean | undefined;
|
|
719
720
|
github?: {
|
|
720
|
-
path?: string | undefined;
|
|
721
721
|
enabled?: boolean | undefined;
|
|
722
|
+
path?: string | undefined;
|
|
722
723
|
repo?: string | undefined;
|
|
723
724
|
token?: string | undefined;
|
|
724
725
|
branch?: string | undefined;
|
|
@@ -728,7 +729,7 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
728
729
|
hybrid?: {
|
|
729
730
|
useLocalInDev?: boolean | undefined;
|
|
730
731
|
useCloudInProd?: boolean | undefined;
|
|
731
|
-
envDetection?: "
|
|
732
|
+
envDetection?: "auto" | "NODE_ENV" | "UAP_ENV" | undefined;
|
|
732
733
|
} | undefined;
|
|
733
734
|
mode?: "lazy-local" | "cloud-serverless" | "hybrid" | undefined;
|
|
734
735
|
lazyLocal?: {
|
|
@@ -750,7 +751,6 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
750
751
|
} | undefined;
|
|
751
752
|
fallbackToMemory?: boolean | undefined;
|
|
752
753
|
} | undefined;
|
|
753
|
-
provider?: "qdrant" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "serverless" | "none" | undefined;
|
|
754
754
|
endpoint?: string | undefined;
|
|
755
755
|
collection?: string | undefined;
|
|
756
756
|
embeddingModel?: string | undefined;
|
|
@@ -817,20 +817,20 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
817
817
|
skillsDir?: string | undefined;
|
|
818
818
|
} | undefined;
|
|
819
819
|
shortTerm?: {
|
|
820
|
-
path: string;
|
|
821
820
|
enabled: boolean;
|
|
821
|
+
path: string;
|
|
822
822
|
maxEntries: number;
|
|
823
823
|
webDatabase?: string | undefined;
|
|
824
824
|
forceDesktop?: boolean | undefined;
|
|
825
825
|
} | undefined;
|
|
826
826
|
longTerm?: {
|
|
827
|
-
enabled: boolean;
|
|
828
827
|
provider: "qdrant" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "serverless" | "none";
|
|
828
|
+
enabled: boolean;
|
|
829
829
|
collection: string;
|
|
830
830
|
embeddingModel: string;
|
|
831
831
|
github?: {
|
|
832
|
-
path: string;
|
|
833
832
|
enabled: boolean;
|
|
833
|
+
path: string;
|
|
834
834
|
branch: string;
|
|
835
835
|
repo?: string | undefined;
|
|
836
836
|
token?: string | undefined;
|
|
@@ -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;
|
|
@@ -886,17 +886,18 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
886
886
|
maxBodyChars?: number | undefined;
|
|
887
887
|
} | undefined;
|
|
888
888
|
shortTerm?: {
|
|
889
|
-
path?: string | undefined;
|
|
890
889
|
enabled?: boolean | undefined;
|
|
890
|
+
path?: string | undefined;
|
|
891
891
|
webDatabase?: string | undefined;
|
|
892
892
|
maxEntries?: number | undefined;
|
|
893
893
|
forceDesktop?: boolean | undefined;
|
|
894
894
|
} | undefined;
|
|
895
895
|
longTerm?: {
|
|
896
|
+
provider?: "qdrant" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "serverless" | "none" | undefined;
|
|
896
897
|
enabled?: boolean | undefined;
|
|
897
898
|
github?: {
|
|
898
|
-
path?: string | undefined;
|
|
899
899
|
enabled?: boolean | undefined;
|
|
900
|
+
path?: string | undefined;
|
|
900
901
|
repo?: string | undefined;
|
|
901
902
|
token?: string | undefined;
|
|
902
903
|
branch?: string | undefined;
|
|
@@ -906,7 +907,7 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
906
907
|
hybrid?: {
|
|
907
908
|
useLocalInDev?: boolean | undefined;
|
|
908
909
|
useCloudInProd?: boolean | undefined;
|
|
909
|
-
envDetection?: "
|
|
910
|
+
envDetection?: "auto" | "NODE_ENV" | "UAP_ENV" | undefined;
|
|
910
911
|
} | undefined;
|
|
911
912
|
mode?: "lazy-local" | "cloud-serverless" | "hybrid" | undefined;
|
|
912
913
|
lazyLocal?: {
|
|
@@ -928,7 +929,6 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
928
929
|
} | undefined;
|
|
929
930
|
fallbackToMemory?: boolean | undefined;
|
|
930
931
|
} | undefined;
|
|
931
|
-
provider?: "qdrant" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "serverless" | "none" | undefined;
|
|
932
932
|
endpoint?: string | undefined;
|
|
933
933
|
collection?: string | undefined;
|
|
934
934
|
embeddingModel?: string | undefined;
|
|
@@ -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
|
-
|
|
1186
|
+
deploy: number;
|
|
1187
1187
|
push: number;
|
|
1188
|
+
commit: number;
|
|
1188
1189
|
merge: number;
|
|
1189
1190
|
workflow: number;
|
|
1190
|
-
deploy: number;
|
|
1191
1191
|
}, {
|
|
1192
|
-
|
|
1192
|
+
deploy?: number | undefined;
|
|
1193
1193
|
push?: number | undefined;
|
|
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
|
-
|
|
1224
|
+
deploy: number;
|
|
1225
1225
|
push: number;
|
|
1226
|
+
commit: number;
|
|
1226
1227
|
merge: number;
|
|
1227
1228
|
workflow: number;
|
|
1228
|
-
deploy: number;
|
|
1229
1229
|
} | undefined;
|
|
1230
1230
|
parallelExecution?: {
|
|
1231
1231
|
enabled: boolean;
|
|
@@ -1237,14 +1237,14 @@ export declare const TimeOptimizationSchema: z.ZodObject<{
|
|
|
1237
1237
|
prewarmServices: string[];
|
|
1238
1238
|
} | undefined;
|
|
1239
1239
|
}, {
|
|
1240
|
+
enabled?: boolean | undefined;
|
|
1240
1241
|
batchWindows?: {
|
|
1241
|
-
|
|
1242
|
+
deploy?: number | undefined;
|
|
1242
1243
|
push?: number | undefined;
|
|
1244
|
+
commit?: number | undefined;
|
|
1243
1245
|
merge?: number | undefined;
|
|
1244
1246
|
workflow?: number | undefined;
|
|
1245
|
-
deploy?: number | undefined;
|
|
1246
1247
|
} | undefined;
|
|
1247
|
-
enabled?: boolean | undefined;
|
|
1248
1248
|
parallelExecution?: {
|
|
1249
1249
|
enabled?: boolean | undefined;
|
|
1250
1250
|
maxParallelDroids?: number | undefined;
|
|
@@ -1270,9 +1270,9 @@ 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
|
-
id: string;
|
|
1274
1273
|
name: string;
|
|
1275
|
-
provider: "
|
|
1274
|
+
provider: "custom" | "anthropic" | "deepseek" | "openai" | "zhipu" | "ollama";
|
|
1275
|
+
id: string;
|
|
1276
1276
|
maxContextTokens: number;
|
|
1277
1277
|
apiModel: string;
|
|
1278
1278
|
capabilities: string[];
|
|
@@ -1281,9 +1281,9 @@ export declare const ModelConfigSchema: z.ZodObject<{
|
|
|
1281
1281
|
costPer1MInput?: number | undefined;
|
|
1282
1282
|
costPer1MOutput?: number | undefined;
|
|
1283
1283
|
}, {
|
|
1284
|
-
id: string;
|
|
1285
1284
|
name: string;
|
|
1286
|
-
provider: "
|
|
1285
|
+
provider: "custom" | "anthropic" | "deepseek" | "openai" | "zhipu" | "ollama";
|
|
1286
|
+
id: string;
|
|
1287
1287
|
apiModel: string;
|
|
1288
1288
|
endpoint?: string | undefined;
|
|
1289
1289
|
maxContextTokens?: number | undefined;
|
|
@@ -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
|
-
priority: number;
|
|
1306
1305
|
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
1306
|
+
priority: number;
|
|
1307
1307
|
complexity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
1308
1308
|
keywords?: string[] | undefined;
|
|
1309
|
-
taskType?: "
|
|
1309
|
+
taskType?: "documentation" | "planning" | "coding" | "refactoring" | "bug-fix" | "review" | undefined;
|
|
1310
1310
|
}, {
|
|
1311
1311
|
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
1312
|
-
priority?: number | undefined;
|
|
1313
1312
|
complexity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
1314
1313
|
keywords?: string[] | undefined;
|
|
1315
|
-
taskType?: "
|
|
1314
|
+
taskType?: "documentation" | "planning" | "coding" | "refactoring" | "bug-fix" | "review" | undefined;
|
|
1315
|
+
priority?: number | undefined;
|
|
1316
1316
|
}>;
|
|
1317
1317
|
/**
|
|
1318
1318
|
* NEW: Multi-Model Architecture configuration.
|
|
@@ -1332,9 +1332,9 @@ 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
|
-
id: string;
|
|
1336
1335
|
name: string;
|
|
1337
|
-
provider: "
|
|
1336
|
+
provider: "custom" | "anthropic" | "deepseek" | "openai" | "zhipu" | "ollama";
|
|
1337
|
+
id: string;
|
|
1338
1338
|
maxContextTokens: number;
|
|
1339
1339
|
apiModel: string;
|
|
1340
1340
|
capabilities: string[];
|
|
@@ -1343,9 +1343,9 @@ export declare const MultiModelSchema: z.ZodObject<{
|
|
|
1343
1343
|
costPer1MInput?: number | undefined;
|
|
1344
1344
|
costPer1MOutput?: number | undefined;
|
|
1345
1345
|
}, {
|
|
1346
|
-
id: string;
|
|
1347
1346
|
name: string;
|
|
1348
|
-
provider: "
|
|
1347
|
+
provider: "custom" | "anthropic" | "deepseek" | "openai" | "zhipu" | "ollama";
|
|
1348
|
+
id: string;
|
|
1349
1349
|
apiModel: string;
|
|
1350
1350
|
endpoint?: string | undefined;
|
|
1351
1351
|
maxContextTokens?: number | undefined;
|
|
@@ -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
|
-
priority: number;
|
|
1381
1380
|
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
1381
|
+
priority: number;
|
|
1382
1382
|
complexity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
1383
1383
|
keywords?: string[] | undefined;
|
|
1384
|
-
taskType?: "
|
|
1384
|
+
taskType?: "documentation" | "planning" | "coding" | "refactoring" | "bug-fix" | "review" | undefined;
|
|
1385
1385
|
}, {
|
|
1386
1386
|
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
1387
|
-
priority?: number | undefined;
|
|
1388
1387
|
complexity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
1389
1388
|
keywords?: string[] | undefined;
|
|
1390
|
-
taskType?: "
|
|
1389
|
+
taskType?: "documentation" | "planning" | "coding" | "refactoring" | "bug-fix" | "review" | undefined;
|
|
1390
|
+
priority?: number | undefined;
|
|
1391
1391
|
}>, "many">>;
|
|
1392
1392
|
routingStrategy: z.ZodDefault<z.ZodEnum<["cost-optimized", "performance-first", "balanced", "adaptive"]>>;
|
|
1393
1393
|
costOptimization: z.ZodOptional<z.ZodObject<{
|
|
@@ -1435,9 +1435,9 @@ export declare const MultiModelSchema: z.ZodObject<{
|
|
|
1435
1435
|
}, "strip", z.ZodTypeAny, {
|
|
1436
1436
|
enabled: boolean;
|
|
1437
1437
|
models: (string | {
|
|
1438
|
-
id: string;
|
|
1439
1438
|
name: string;
|
|
1440
|
-
provider: "
|
|
1439
|
+
provider: "custom" | "anthropic" | "deepseek" | "openai" | "zhipu" | "ollama";
|
|
1440
|
+
id: string;
|
|
1441
1441
|
maxContextTokens: number;
|
|
1442
1442
|
apiModel: string;
|
|
1443
1443
|
capabilities: string[];
|
|
@@ -1460,11 +1460,11 @@ export declare const MultiModelSchema: z.ZodObject<{
|
|
|
1460
1460
|
reviewer?: string | undefined;
|
|
1461
1461
|
} | undefined;
|
|
1462
1462
|
routing?: {
|
|
1463
|
-
priority: number;
|
|
1464
1463
|
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
1464
|
+
priority: number;
|
|
1465
1465
|
complexity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
1466
1466
|
keywords?: string[] | undefined;
|
|
1467
|
-
taskType?: "
|
|
1467
|
+
taskType?: "documentation" | "planning" | "coding" | "refactoring" | "bug-fix" | "review" | undefined;
|
|
1468
1468
|
}[] | undefined;
|
|
1469
1469
|
plannerSettings?: {
|
|
1470
1470
|
complexityThreshold: "low" | "medium" | "high";
|
|
@@ -1478,16 +1478,10 @@ export declare const MultiModelSchema: z.ZodObject<{
|
|
|
1478
1478
|
} | undefined;
|
|
1479
1479
|
}, {
|
|
1480
1480
|
enabled?: boolean | undefined;
|
|
1481
|
-
costOptimization?: {
|
|
1482
|
-
enabled?: boolean | undefined;
|
|
1483
|
-
targetReduction?: number | undefined;
|
|
1484
|
-
maxPerformanceDegradation?: number | undefined;
|
|
1485
|
-
fallbackThreshold?: number | undefined;
|
|
1486
|
-
} | undefined;
|
|
1487
1481
|
models?: (string | {
|
|
1488
|
-
id: string;
|
|
1489
1482
|
name: string;
|
|
1490
|
-
provider: "
|
|
1483
|
+
provider: "custom" | "anthropic" | "deepseek" | "openai" | "zhipu" | "ollama";
|
|
1484
|
+
id: string;
|
|
1491
1485
|
apiModel: string;
|
|
1492
1486
|
endpoint?: string | undefined;
|
|
1493
1487
|
maxContextTokens?: number | undefined;
|
|
@@ -1496,6 +1490,12 @@ export declare const MultiModelSchema: z.ZodObject<{
|
|
|
1496
1490
|
costPer1MOutput?: number | undefined;
|
|
1497
1491
|
capabilities?: string[] | undefined;
|
|
1498
1492
|
})[] | undefined;
|
|
1493
|
+
costOptimization?: {
|
|
1494
|
+
enabled?: boolean | undefined;
|
|
1495
|
+
targetReduction?: number | undefined;
|
|
1496
|
+
maxPerformanceDegradation?: number | undefined;
|
|
1497
|
+
fallbackThreshold?: number | undefined;
|
|
1498
|
+
} | undefined;
|
|
1499
1499
|
roles?: {
|
|
1500
1500
|
planner?: string | undefined;
|
|
1501
1501
|
executor?: string | undefined;
|
|
@@ -1504,10 +1504,10 @@ export declare const MultiModelSchema: z.ZodObject<{
|
|
|
1504
1504
|
} | undefined;
|
|
1505
1505
|
routing?: {
|
|
1506
1506
|
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
1507
|
-
priority?: number | undefined;
|
|
1508
1507
|
complexity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
1509
1508
|
keywords?: string[] | undefined;
|
|
1510
|
-
taskType?: "
|
|
1509
|
+
taskType?: "documentation" | "planning" | "coding" | "refactoring" | "bug-fix" | "review" | undefined;
|
|
1510
|
+
priority?: number | undefined;
|
|
1511
1511
|
}[] | undefined;
|
|
1512
1512
|
routingStrategy?: "cost-optimized" | "performance-first" | "balanced" | "adaptive" | undefined;
|
|
1513
1513
|
plannerSettings?: {
|
|
@@ -1624,7 +1624,7 @@ export declare const AgentExecutionSchema: z.ZodObject<{
|
|
|
1624
1624
|
cwdInjection: boolean;
|
|
1625
1625
|
softBudget: number;
|
|
1626
1626
|
hardBudget: number;
|
|
1627
|
-
toolChoiceForce: "
|
|
1627
|
+
toolChoiceForce: "auto" | "none" | "required";
|
|
1628
1628
|
}, {
|
|
1629
1629
|
domainHints?: boolean | undefined;
|
|
1630
1630
|
prependNotReplaceLoopBreaker?: boolean | undefined;
|
|
@@ -1645,7 +1645,7 @@ export declare const AgentExecutionSchema: z.ZodObject<{
|
|
|
1645
1645
|
cwdInjection?: boolean | undefined;
|
|
1646
1646
|
softBudget?: number | undefined;
|
|
1647
1647
|
hardBudget?: number | undefined;
|
|
1648
|
-
toolChoiceForce?: "
|
|
1648
|
+
toolChoiceForce?: "auto" | "none" | "required" | undefined;
|
|
1649
1649
|
}>;
|
|
1650
1650
|
export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
1651
1651
|
$schema: z.ZodOptional<z.ZodString>;
|
|
@@ -1740,14 +1740,26 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
1740
1740
|
sessionMax?: number | undefined;
|
|
1741
1741
|
patternRag?: boolean | undefined;
|
|
1742
1742
|
}>>;
|
|
1743
|
-
|
|
1744
|
-
|
|
1743
|
+
codex: z.ZodOptional<z.ZodObject<{
|
|
1744
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1745
|
+
shortTermMax: z.ZodOptional<z.ZodNumber>;
|
|
1746
|
+
searchResults: z.ZodOptional<z.ZodNumber>;
|
|
1747
|
+
sessionMax: z.ZodOptional<z.ZodNumber>;
|
|
1748
|
+
patternRag: z.ZodOptional<z.ZodBoolean>;
|
|
1749
|
+
}, "strip", z.ZodTypeAny, {
|
|
1745
1750
|
enabled: boolean;
|
|
1746
1751
|
shortTermMax?: number | undefined;
|
|
1747
1752
|
searchResults?: number | undefined;
|
|
1748
1753
|
sessionMax?: number | undefined;
|
|
1749
1754
|
patternRag?: boolean | undefined;
|
|
1750
|
-
}
|
|
1755
|
+
}, {
|
|
1756
|
+
enabled?: boolean | undefined;
|
|
1757
|
+
shortTermMax?: number | undefined;
|
|
1758
|
+
searchResults?: number | undefined;
|
|
1759
|
+
sessionMax?: number | undefined;
|
|
1760
|
+
patternRag?: boolean | undefined;
|
|
1761
|
+
}>>;
|
|
1762
|
+
}, "strip", z.ZodTypeAny, {
|
|
1751
1763
|
factory?: {
|
|
1752
1764
|
enabled: boolean;
|
|
1753
1765
|
shortTermMax?: number | undefined;
|
|
@@ -1769,14 +1781,21 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
1769
1781
|
sessionMax?: number | undefined;
|
|
1770
1782
|
patternRag?: boolean | undefined;
|
|
1771
1783
|
} | undefined;
|
|
1772
|
-
|
|
1784
|
+
codex?: {
|
|
1785
|
+
enabled: boolean;
|
|
1786
|
+
shortTermMax?: number | undefined;
|
|
1787
|
+
searchResults?: number | undefined;
|
|
1788
|
+
sessionMax?: number | undefined;
|
|
1789
|
+
patternRag?: boolean | undefined;
|
|
1790
|
+
} | undefined;
|
|
1773
1791
|
claudeCode?: {
|
|
1774
|
-
enabled
|
|
1792
|
+
enabled: boolean;
|
|
1775
1793
|
shortTermMax?: number | undefined;
|
|
1776
1794
|
searchResults?: number | undefined;
|
|
1777
1795
|
sessionMax?: number | undefined;
|
|
1778
1796
|
patternRag?: boolean | undefined;
|
|
1779
1797
|
} | undefined;
|
|
1798
|
+
}, {
|
|
1780
1799
|
factory?: {
|
|
1781
1800
|
enabled?: boolean | undefined;
|
|
1782
1801
|
shortTermMax?: number | undefined;
|
|
@@ -1798,6 +1817,20 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
1798
1817
|
sessionMax?: number | undefined;
|
|
1799
1818
|
patternRag?: boolean | undefined;
|
|
1800
1819
|
} | undefined;
|
|
1820
|
+
codex?: {
|
|
1821
|
+
enabled?: boolean | undefined;
|
|
1822
|
+
shortTermMax?: number | undefined;
|
|
1823
|
+
searchResults?: number | undefined;
|
|
1824
|
+
sessionMax?: number | undefined;
|
|
1825
|
+
patternRag?: boolean | undefined;
|
|
1826
|
+
} | undefined;
|
|
1827
|
+
claudeCode?: {
|
|
1828
|
+
enabled?: boolean | undefined;
|
|
1829
|
+
shortTermMax?: number | undefined;
|
|
1830
|
+
searchResults?: number | undefined;
|
|
1831
|
+
sessionMax?: number | undefined;
|
|
1832
|
+
patternRag?: boolean | undefined;
|
|
1833
|
+
} | undefined;
|
|
1801
1834
|
}>>;
|
|
1802
1835
|
memory: z.ZodOptional<z.ZodObject<{
|
|
1803
1836
|
shortTerm: z.ZodOptional<z.ZodObject<{
|
|
@@ -1807,14 +1840,14 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
1807
1840
|
maxEntries: z.ZodDefault<z.ZodNumber>;
|
|
1808
1841
|
forceDesktop: z.ZodOptional<z.ZodBoolean>;
|
|
1809
1842
|
}, "strip", z.ZodTypeAny, {
|
|
1810
|
-
path: string;
|
|
1811
1843
|
enabled: boolean;
|
|
1844
|
+
path: string;
|
|
1812
1845
|
maxEntries: number;
|
|
1813
1846
|
webDatabase?: string | undefined;
|
|
1814
1847
|
forceDesktop?: boolean | undefined;
|
|
1815
1848
|
}, {
|
|
1816
|
-
path?: string | undefined;
|
|
1817
1849
|
enabled?: boolean | undefined;
|
|
1850
|
+
path?: string | undefined;
|
|
1818
1851
|
webDatabase?: string | undefined;
|
|
1819
1852
|
maxEntries?: number | undefined;
|
|
1820
1853
|
forceDesktop?: boolean | undefined;
|
|
@@ -1832,14 +1865,14 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
1832
1865
|
path: z.ZodDefault<z.ZodString>;
|
|
1833
1866
|
branch: z.ZodDefault<z.ZodString>;
|
|
1834
1867
|
}, "strip", z.ZodTypeAny, {
|
|
1835
|
-
path: string;
|
|
1836
1868
|
enabled: boolean;
|
|
1869
|
+
path: string;
|
|
1837
1870
|
branch: string;
|
|
1838
1871
|
repo?: string | undefined;
|
|
1839
1872
|
token?: string | undefined;
|
|
1840
1873
|
}, {
|
|
1841
|
-
path?: string | undefined;
|
|
1842
1874
|
enabled?: boolean | undefined;
|
|
1875
|
+
path?: string | undefined;
|
|
1843
1876
|
repo?: string | undefined;
|
|
1844
1877
|
token?: string | undefined;
|
|
1845
1878
|
branch?: string | undefined;
|
|
@@ -1917,11 +1950,11 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
1917
1950
|
}, "strip", z.ZodTypeAny, {
|
|
1918
1951
|
useLocalInDev: boolean;
|
|
1919
1952
|
useCloudInProd: boolean;
|
|
1920
|
-
envDetection: "
|
|
1953
|
+
envDetection: "auto" | "NODE_ENV" | "UAP_ENV";
|
|
1921
1954
|
}, {
|
|
1922
1955
|
useLocalInDev?: boolean | undefined;
|
|
1923
1956
|
useCloudInProd?: boolean | undefined;
|
|
1924
|
-
envDetection?: "
|
|
1957
|
+
envDetection?: "auto" | "NODE_ENV" | "UAP_ENV" | undefined;
|
|
1925
1958
|
}>>;
|
|
1926
1959
|
fallbackToMemory: z.ZodDefault<z.ZodBoolean>;
|
|
1927
1960
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1931,7 +1964,7 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
1931
1964
|
hybrid?: {
|
|
1932
1965
|
useLocalInDev: boolean;
|
|
1933
1966
|
useCloudInProd: boolean;
|
|
1934
|
-
envDetection: "
|
|
1967
|
+
envDetection: "auto" | "NODE_ENV" | "UAP_ENV";
|
|
1935
1968
|
} | undefined;
|
|
1936
1969
|
lazyLocal?: {
|
|
1937
1970
|
dockerImage: string;
|
|
@@ -1955,7 +1988,7 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
1955
1988
|
hybrid?: {
|
|
1956
1989
|
useLocalInDev?: boolean | undefined;
|
|
1957
1990
|
useCloudInProd?: boolean | undefined;
|
|
1958
|
-
envDetection?: "
|
|
1991
|
+
envDetection?: "auto" | "NODE_ENV" | "UAP_ENV" | undefined;
|
|
1959
1992
|
} | undefined;
|
|
1960
1993
|
mode?: "lazy-local" | "cloud-serverless" | "hybrid" | undefined;
|
|
1961
1994
|
lazyLocal?: {
|
|
@@ -1978,13 +2011,13 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
1978
2011
|
fallbackToMemory?: boolean | undefined;
|
|
1979
2012
|
}>>;
|
|
1980
2013
|
}, "strip", z.ZodTypeAny, {
|
|
1981
|
-
enabled: boolean;
|
|
1982
2014
|
provider: "qdrant" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "serverless" | "none";
|
|
2015
|
+
enabled: boolean;
|
|
1983
2016
|
collection: string;
|
|
1984
2017
|
embeddingModel: string;
|
|
1985
2018
|
github?: {
|
|
1986
|
-
path: string;
|
|
1987
2019
|
enabled: boolean;
|
|
2020
|
+
path: string;
|
|
1988
2021
|
branch: string;
|
|
1989
2022
|
repo?: string | undefined;
|
|
1990
2023
|
token?: string | undefined;
|
|
@@ -1996,7 +2029,7 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
1996
2029
|
hybrid?: {
|
|
1997
2030
|
useLocalInDev: boolean;
|
|
1998
2031
|
useCloudInProd: boolean;
|
|
1999
|
-
envDetection: "
|
|
2032
|
+
envDetection: "auto" | "NODE_ENV" | "UAP_ENV";
|
|
2000
2033
|
} | undefined;
|
|
2001
2034
|
lazyLocal?: {
|
|
2002
2035
|
dockerImage: string;
|
|
@@ -2024,10 +2057,11 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2024
2057
|
apiKey?: string | undefined;
|
|
2025
2058
|
} | undefined;
|
|
2026
2059
|
}, {
|
|
2060
|
+
provider?: "qdrant" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "serverless" | "none" | undefined;
|
|
2027
2061
|
enabled?: boolean | undefined;
|
|
2028
2062
|
github?: {
|
|
2029
|
-
path?: string | undefined;
|
|
2030
2063
|
enabled?: boolean | undefined;
|
|
2064
|
+
path?: string | undefined;
|
|
2031
2065
|
repo?: string | undefined;
|
|
2032
2066
|
token?: string | undefined;
|
|
2033
2067
|
branch?: string | undefined;
|
|
@@ -2037,7 +2071,7 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2037
2071
|
hybrid?: {
|
|
2038
2072
|
useLocalInDev?: boolean | undefined;
|
|
2039
2073
|
useCloudInProd?: boolean | undefined;
|
|
2040
|
-
envDetection?: "
|
|
2074
|
+
envDetection?: "auto" | "NODE_ENV" | "UAP_ENV" | undefined;
|
|
2041
2075
|
} | undefined;
|
|
2042
2076
|
mode?: "lazy-local" | "cloud-serverless" | "hybrid" | undefined;
|
|
2043
2077
|
lazyLocal?: {
|
|
@@ -2059,7 +2093,6 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2059
2093
|
} | undefined;
|
|
2060
2094
|
fallbackToMemory?: boolean | undefined;
|
|
2061
2095
|
} | undefined;
|
|
2062
|
-
provider?: "qdrant" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "serverless" | "none" | undefined;
|
|
2063
2096
|
endpoint?: string | undefined;
|
|
2064
2097
|
collection?: string | undefined;
|
|
2065
2098
|
embeddingModel?: string | undefined;
|
|
@@ -2126,20 +2159,20 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2126
2159
|
skillsDir?: string | undefined;
|
|
2127
2160
|
} | undefined;
|
|
2128
2161
|
shortTerm?: {
|
|
2129
|
-
path: string;
|
|
2130
2162
|
enabled: boolean;
|
|
2163
|
+
path: string;
|
|
2131
2164
|
maxEntries: number;
|
|
2132
2165
|
webDatabase?: string | undefined;
|
|
2133
2166
|
forceDesktop?: boolean | undefined;
|
|
2134
2167
|
} | undefined;
|
|
2135
2168
|
longTerm?: {
|
|
2136
|
-
enabled: boolean;
|
|
2137
2169
|
provider: "qdrant" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "serverless" | "none";
|
|
2170
|
+
enabled: boolean;
|
|
2138
2171
|
collection: string;
|
|
2139
2172
|
embeddingModel: string;
|
|
2140
2173
|
github?: {
|
|
2141
|
-
path: string;
|
|
2142
2174
|
enabled: boolean;
|
|
2175
|
+
path: string;
|
|
2143
2176
|
branch: string;
|
|
2144
2177
|
repo?: string | undefined;
|
|
2145
2178
|
token?: string | undefined;
|
|
@@ -2151,7 +2184,7 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2151
2184
|
hybrid?: {
|
|
2152
2185
|
useLocalInDev: boolean;
|
|
2153
2186
|
useCloudInProd: boolean;
|
|
2154
|
-
envDetection: "
|
|
2187
|
+
envDetection: "auto" | "NODE_ENV" | "UAP_ENV";
|
|
2155
2188
|
} | undefined;
|
|
2156
2189
|
lazyLocal?: {
|
|
2157
2190
|
dockerImage: string;
|
|
@@ -2195,17 +2228,18 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2195
2228
|
maxBodyChars?: number | undefined;
|
|
2196
2229
|
} | undefined;
|
|
2197
2230
|
shortTerm?: {
|
|
2198
|
-
path?: string | undefined;
|
|
2199
2231
|
enabled?: boolean | undefined;
|
|
2232
|
+
path?: string | undefined;
|
|
2200
2233
|
webDatabase?: string | undefined;
|
|
2201
2234
|
maxEntries?: number | undefined;
|
|
2202
2235
|
forceDesktop?: boolean | undefined;
|
|
2203
2236
|
} | undefined;
|
|
2204
2237
|
longTerm?: {
|
|
2238
|
+
provider?: "qdrant" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "serverless" | "none" | undefined;
|
|
2205
2239
|
enabled?: boolean | undefined;
|
|
2206
2240
|
github?: {
|
|
2207
|
-
path?: string | undefined;
|
|
2208
2241
|
enabled?: boolean | undefined;
|
|
2242
|
+
path?: string | undefined;
|
|
2209
2243
|
repo?: string | undefined;
|
|
2210
2244
|
token?: string | undefined;
|
|
2211
2245
|
branch?: string | undefined;
|
|
@@ -2215,7 +2249,7 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2215
2249
|
hybrid?: {
|
|
2216
2250
|
useLocalInDev?: boolean | undefined;
|
|
2217
2251
|
useCloudInProd?: boolean | undefined;
|
|
2218
|
-
envDetection?: "
|
|
2252
|
+
envDetection?: "auto" | "NODE_ENV" | "UAP_ENV" | undefined;
|
|
2219
2253
|
} | undefined;
|
|
2220
2254
|
mode?: "lazy-local" | "cloud-serverless" | "hybrid" | undefined;
|
|
2221
2255
|
lazyLocal?: {
|
|
@@ -2237,7 +2271,6 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2237
2271
|
} | undefined;
|
|
2238
2272
|
fallbackToMemory?: boolean | undefined;
|
|
2239
2273
|
} | undefined;
|
|
2240
|
-
provider?: "qdrant" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "serverless" | "none" | undefined;
|
|
2241
2274
|
endpoint?: string | undefined;
|
|
2242
2275
|
collection?: string | undefined;
|
|
2243
2276
|
embeddingModel?: string | undefined;
|
|
@@ -2312,6 +2345,7 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2312
2345
|
pipelineOnly: z.ZodDefault<z.ZodBoolean>;
|
|
2313
2346
|
benchmark: z.ZodDefault<z.ZodBoolean>;
|
|
2314
2347
|
}, "strip", z.ZodTypeAny, {
|
|
2348
|
+
benchmark: boolean;
|
|
2315
2349
|
memorySystem: boolean;
|
|
2316
2350
|
browserUsage: boolean;
|
|
2317
2351
|
decisionLoop: boolean;
|
|
@@ -2319,8 +2353,8 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2319
2353
|
troubleshooting: boolean;
|
|
2320
2354
|
augmentedCapabilities: boolean;
|
|
2321
2355
|
pipelineOnly: boolean;
|
|
2322
|
-
benchmark: boolean;
|
|
2323
2356
|
}, {
|
|
2357
|
+
benchmark?: boolean | undefined;
|
|
2324
2358
|
memorySystem?: boolean | undefined;
|
|
2325
2359
|
browserUsage?: boolean | undefined;
|
|
2326
2360
|
decisionLoop?: boolean | undefined;
|
|
@@ -2328,11 +2362,11 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2328
2362
|
troubleshooting?: boolean | undefined;
|
|
2329
2363
|
augmentedCapabilities?: boolean | undefined;
|
|
2330
2364
|
pipelineOnly?: boolean | undefined;
|
|
2331
|
-
benchmark?: boolean | undefined;
|
|
2332
2365
|
}>>;
|
|
2333
2366
|
}, "strip", z.ZodTypeAny, {
|
|
2334
2367
|
extends: string;
|
|
2335
2368
|
sections?: {
|
|
2369
|
+
benchmark: boolean;
|
|
2336
2370
|
memorySystem: boolean;
|
|
2337
2371
|
browserUsage: boolean;
|
|
2338
2372
|
decisionLoop: boolean;
|
|
@@ -2340,11 +2374,11 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2340
2374
|
troubleshooting: boolean;
|
|
2341
2375
|
augmentedCapabilities: boolean;
|
|
2342
2376
|
pipelineOnly: boolean;
|
|
2343
|
-
benchmark: boolean;
|
|
2344
2377
|
} | undefined;
|
|
2345
2378
|
}, {
|
|
2346
2379
|
extends?: string | undefined;
|
|
2347
2380
|
sections?: {
|
|
2381
|
+
benchmark?: boolean | undefined;
|
|
2348
2382
|
memorySystem?: boolean | undefined;
|
|
2349
2383
|
browserUsage?: boolean | undefined;
|
|
2350
2384
|
decisionLoop?: boolean | undefined;
|
|
@@ -2352,7 +2386,6 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2352
2386
|
troubleshooting?: boolean | undefined;
|
|
2353
2387
|
augmentedCapabilities?: boolean | undefined;
|
|
2354
2388
|
pipelineOnly?: boolean | undefined;
|
|
2355
|
-
benchmark?: boolean | undefined;
|
|
2356
2389
|
} | undefined;
|
|
2357
2390
|
}>>;
|
|
2358
2391
|
costOptimization: z.ZodOptional<z.ZodObject<{
|
|
@@ -2445,17 +2478,17 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2445
2478
|
workflow: z.ZodDefault<z.ZodNumber>;
|
|
2446
2479
|
deploy: z.ZodDefault<z.ZodNumber>;
|
|
2447
2480
|
}, "strip", z.ZodTypeAny, {
|
|
2448
|
-
|
|
2481
|
+
deploy: number;
|
|
2449
2482
|
push: number;
|
|
2483
|
+
commit: number;
|
|
2450
2484
|
merge: number;
|
|
2451
2485
|
workflow: number;
|
|
2452
|
-
deploy: number;
|
|
2453
2486
|
}, {
|
|
2454
|
-
|
|
2487
|
+
deploy?: number | undefined;
|
|
2455
2488
|
push?: number | undefined;
|
|
2489
|
+
commit?: number | undefined;
|
|
2456
2490
|
merge?: number | undefined;
|
|
2457
2491
|
workflow?: number | undefined;
|
|
2458
|
-
deploy?: number | undefined;
|
|
2459
2492
|
}>>;
|
|
2460
2493
|
parallelExecution: z.ZodOptional<z.ZodObject<{
|
|
2461
2494
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -2483,11 +2516,11 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2483
2516
|
}, "strip", z.ZodTypeAny, {
|
|
2484
2517
|
enabled: boolean;
|
|
2485
2518
|
batchWindows?: {
|
|
2486
|
-
|
|
2519
|
+
deploy: number;
|
|
2487
2520
|
push: number;
|
|
2521
|
+
commit: number;
|
|
2488
2522
|
merge: number;
|
|
2489
2523
|
workflow: number;
|
|
2490
|
-
deploy: number;
|
|
2491
2524
|
} | undefined;
|
|
2492
2525
|
parallelExecution?: {
|
|
2493
2526
|
enabled: boolean;
|
|
@@ -2499,14 +2532,14 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2499
2532
|
prewarmServices: string[];
|
|
2500
2533
|
} | undefined;
|
|
2501
2534
|
}, {
|
|
2535
|
+
enabled?: boolean | undefined;
|
|
2502
2536
|
batchWindows?: {
|
|
2503
|
-
|
|
2537
|
+
deploy?: number | undefined;
|
|
2504
2538
|
push?: number | undefined;
|
|
2539
|
+
commit?: number | undefined;
|
|
2505
2540
|
merge?: number | undefined;
|
|
2506
2541
|
workflow?: number | undefined;
|
|
2507
|
-
deploy?: number | undefined;
|
|
2508
2542
|
} | undefined;
|
|
2509
|
-
enabled?: boolean | undefined;
|
|
2510
2543
|
parallelExecution?: {
|
|
2511
2544
|
enabled?: boolean | undefined;
|
|
2512
2545
|
maxParallelDroids?: number | undefined;
|
|
@@ -2531,9 +2564,9 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2531
2564
|
costPer1MOutput: z.ZodOptional<z.ZodNumber>;
|
|
2532
2565
|
capabilities: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
2533
2566
|
}, "strip", z.ZodTypeAny, {
|
|
2534
|
-
id: string;
|
|
2535
2567
|
name: string;
|
|
2536
|
-
provider: "
|
|
2568
|
+
provider: "custom" | "anthropic" | "deepseek" | "openai" | "zhipu" | "ollama";
|
|
2569
|
+
id: string;
|
|
2537
2570
|
maxContextTokens: number;
|
|
2538
2571
|
apiModel: string;
|
|
2539
2572
|
capabilities: string[];
|
|
@@ -2542,9 +2575,9 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2542
2575
|
costPer1MInput?: number | undefined;
|
|
2543
2576
|
costPer1MOutput?: number | undefined;
|
|
2544
2577
|
}, {
|
|
2545
|
-
id: string;
|
|
2546
2578
|
name: string;
|
|
2547
|
-
provider: "
|
|
2579
|
+
provider: "custom" | "anthropic" | "deepseek" | "openai" | "zhipu" | "ollama";
|
|
2580
|
+
id: string;
|
|
2548
2581
|
apiModel: string;
|
|
2549
2582
|
endpoint?: string | undefined;
|
|
2550
2583
|
maxContextTokens?: number | undefined;
|
|
@@ -2576,17 +2609,17 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2576
2609
|
targetRole: z.ZodEnum<["planner", "executor", "reviewer", "fallback"]>;
|
|
2577
2610
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
2578
2611
|
}, "strip", z.ZodTypeAny, {
|
|
2579
|
-
priority: number;
|
|
2580
2612
|
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
2613
|
+
priority: number;
|
|
2581
2614
|
complexity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
2582
2615
|
keywords?: string[] | undefined;
|
|
2583
|
-
taskType?: "
|
|
2616
|
+
taskType?: "documentation" | "planning" | "coding" | "refactoring" | "bug-fix" | "review" | undefined;
|
|
2584
2617
|
}, {
|
|
2585
2618
|
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
2586
|
-
priority?: number | undefined;
|
|
2587
2619
|
complexity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
2588
2620
|
keywords?: string[] | undefined;
|
|
2589
|
-
taskType?: "
|
|
2621
|
+
taskType?: "documentation" | "planning" | "coding" | "refactoring" | "bug-fix" | "review" | undefined;
|
|
2622
|
+
priority?: number | undefined;
|
|
2590
2623
|
}>, "many">>;
|
|
2591
2624
|
routingStrategy: z.ZodDefault<z.ZodEnum<["cost-optimized", "performance-first", "balanced", "adaptive"]>>;
|
|
2592
2625
|
costOptimization: z.ZodOptional<z.ZodObject<{
|
|
@@ -2634,9 +2667,9 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2634
2667
|
}, "strip", z.ZodTypeAny, {
|
|
2635
2668
|
enabled: boolean;
|
|
2636
2669
|
models: (string | {
|
|
2637
|
-
id: string;
|
|
2638
2670
|
name: string;
|
|
2639
|
-
provider: "
|
|
2671
|
+
provider: "custom" | "anthropic" | "deepseek" | "openai" | "zhipu" | "ollama";
|
|
2672
|
+
id: string;
|
|
2640
2673
|
maxContextTokens: number;
|
|
2641
2674
|
apiModel: string;
|
|
2642
2675
|
capabilities: string[];
|
|
@@ -2659,11 +2692,11 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2659
2692
|
reviewer?: string | undefined;
|
|
2660
2693
|
} | undefined;
|
|
2661
2694
|
routing?: {
|
|
2662
|
-
priority: number;
|
|
2663
2695
|
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
2696
|
+
priority: number;
|
|
2664
2697
|
complexity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
2665
2698
|
keywords?: string[] | undefined;
|
|
2666
|
-
taskType?: "
|
|
2699
|
+
taskType?: "documentation" | "planning" | "coding" | "refactoring" | "bug-fix" | "review" | undefined;
|
|
2667
2700
|
}[] | undefined;
|
|
2668
2701
|
plannerSettings?: {
|
|
2669
2702
|
complexityThreshold: "low" | "medium" | "high";
|
|
@@ -2677,16 +2710,10 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2677
2710
|
} | undefined;
|
|
2678
2711
|
}, {
|
|
2679
2712
|
enabled?: boolean | undefined;
|
|
2680
|
-
costOptimization?: {
|
|
2681
|
-
enabled?: boolean | undefined;
|
|
2682
|
-
targetReduction?: number | undefined;
|
|
2683
|
-
maxPerformanceDegradation?: number | undefined;
|
|
2684
|
-
fallbackThreshold?: number | undefined;
|
|
2685
|
-
} | undefined;
|
|
2686
2713
|
models?: (string | {
|
|
2687
|
-
id: string;
|
|
2688
2714
|
name: string;
|
|
2689
|
-
provider: "
|
|
2715
|
+
provider: "custom" | "anthropic" | "deepseek" | "openai" | "zhipu" | "ollama";
|
|
2716
|
+
id: string;
|
|
2690
2717
|
apiModel: string;
|
|
2691
2718
|
endpoint?: string | undefined;
|
|
2692
2719
|
maxContextTokens?: number | undefined;
|
|
@@ -2695,6 +2722,12 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2695
2722
|
costPer1MOutput?: number | undefined;
|
|
2696
2723
|
capabilities?: string[] | undefined;
|
|
2697
2724
|
})[] | undefined;
|
|
2725
|
+
costOptimization?: {
|
|
2726
|
+
enabled?: boolean | undefined;
|
|
2727
|
+
targetReduction?: number | undefined;
|
|
2728
|
+
maxPerformanceDegradation?: number | undefined;
|
|
2729
|
+
fallbackThreshold?: number | undefined;
|
|
2730
|
+
} | undefined;
|
|
2698
2731
|
roles?: {
|
|
2699
2732
|
planner?: string | undefined;
|
|
2700
2733
|
executor?: string | undefined;
|
|
@@ -2703,10 +2736,10 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2703
2736
|
} | undefined;
|
|
2704
2737
|
routing?: {
|
|
2705
2738
|
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
2706
|
-
priority?: number | undefined;
|
|
2707
2739
|
complexity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
2708
2740
|
keywords?: string[] | undefined;
|
|
2709
|
-
taskType?: "
|
|
2741
|
+
taskType?: "documentation" | "planning" | "coding" | "refactoring" | "bug-fix" | "review" | undefined;
|
|
2742
|
+
priority?: number | undefined;
|
|
2710
2743
|
}[] | undefined;
|
|
2711
2744
|
routingStrategy?: "cost-optimized" | "performance-first" | "balanced" | "adaptive" | undefined;
|
|
2712
2745
|
plannerSettings?: {
|
|
@@ -2797,7 +2830,7 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2797
2830
|
cwdInjection: boolean;
|
|
2798
2831
|
softBudget: number;
|
|
2799
2832
|
hardBudget: number;
|
|
2800
|
-
toolChoiceForce: "
|
|
2833
|
+
toolChoiceForce: "auto" | "none" | "required";
|
|
2801
2834
|
}, {
|
|
2802
2835
|
domainHints?: boolean | undefined;
|
|
2803
2836
|
prependNotReplaceLoopBreaker?: boolean | undefined;
|
|
@@ -2818,7 +2851,7 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2818
2851
|
cwdInjection?: boolean | undefined;
|
|
2819
2852
|
softBudget?: number | undefined;
|
|
2820
2853
|
hardBudget?: number | undefined;
|
|
2821
|
-
toolChoiceForce?: "
|
|
2854
|
+
toolChoiceForce?: "auto" | "none" | "required" | undefined;
|
|
2822
2855
|
}>>;
|
|
2823
2856
|
}, "strip", z.ZodTypeAny, {
|
|
2824
2857
|
version: string;
|
|
@@ -2827,37 +2860,6 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2827
2860
|
defaultBranch: string;
|
|
2828
2861
|
description?: string | undefined;
|
|
2829
2862
|
};
|
|
2830
|
-
$schema?: string | undefined;
|
|
2831
|
-
platforms?: {
|
|
2832
|
-
claudeCode?: {
|
|
2833
|
-
enabled: boolean;
|
|
2834
|
-
shortTermMax?: number | undefined;
|
|
2835
|
-
searchResults?: number | undefined;
|
|
2836
|
-
sessionMax?: number | undefined;
|
|
2837
|
-
patternRag?: boolean | undefined;
|
|
2838
|
-
} | undefined;
|
|
2839
|
-
factory?: {
|
|
2840
|
-
enabled: boolean;
|
|
2841
|
-
shortTermMax?: number | undefined;
|
|
2842
|
-
searchResults?: number | undefined;
|
|
2843
|
-
sessionMax?: number | undefined;
|
|
2844
|
-
patternRag?: boolean | undefined;
|
|
2845
|
-
} | undefined;
|
|
2846
|
-
vscode?: {
|
|
2847
|
-
enabled: boolean;
|
|
2848
|
-
shortTermMax?: number | undefined;
|
|
2849
|
-
searchResults?: number | undefined;
|
|
2850
|
-
sessionMax?: number | undefined;
|
|
2851
|
-
patternRag?: boolean | undefined;
|
|
2852
|
-
} | undefined;
|
|
2853
|
-
opencode?: {
|
|
2854
|
-
enabled: boolean;
|
|
2855
|
-
shortTermMax?: number | undefined;
|
|
2856
|
-
searchResults?: number | undefined;
|
|
2857
|
-
sessionMax?: number | undefined;
|
|
2858
|
-
patternRag?: boolean | undefined;
|
|
2859
|
-
} | undefined;
|
|
2860
|
-
} | undefined;
|
|
2861
2863
|
memory?: {
|
|
2862
2864
|
patternRag?: {
|
|
2863
2865
|
enabled: boolean;
|
|
@@ -2874,20 +2876,20 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2874
2876
|
skillsDir?: string | undefined;
|
|
2875
2877
|
} | undefined;
|
|
2876
2878
|
shortTerm?: {
|
|
2877
|
-
path: string;
|
|
2878
2879
|
enabled: boolean;
|
|
2880
|
+
path: string;
|
|
2879
2881
|
maxEntries: number;
|
|
2880
2882
|
webDatabase?: string | undefined;
|
|
2881
2883
|
forceDesktop?: boolean | undefined;
|
|
2882
2884
|
} | undefined;
|
|
2883
2885
|
longTerm?: {
|
|
2884
|
-
enabled: boolean;
|
|
2885
2886
|
provider: "qdrant" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "serverless" | "none";
|
|
2887
|
+
enabled: boolean;
|
|
2886
2888
|
collection: string;
|
|
2887
2889
|
embeddingModel: string;
|
|
2888
2890
|
github?: {
|
|
2889
|
-
path: string;
|
|
2890
2891
|
enabled: boolean;
|
|
2892
|
+
path: string;
|
|
2891
2893
|
branch: string;
|
|
2892
2894
|
repo?: string | undefined;
|
|
2893
2895
|
token?: string | undefined;
|
|
@@ -2899,7 +2901,7 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2899
2901
|
hybrid?: {
|
|
2900
2902
|
useLocalInDev: boolean;
|
|
2901
2903
|
useCloudInProd: boolean;
|
|
2902
|
-
envDetection: "
|
|
2904
|
+
envDetection: "auto" | "NODE_ENV" | "UAP_ENV";
|
|
2903
2905
|
} | undefined;
|
|
2904
2906
|
lazyLocal?: {
|
|
2905
2907
|
dockerImage: string;
|
|
@@ -2928,6 +2930,51 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2928
2930
|
} | undefined;
|
|
2929
2931
|
} | undefined;
|
|
2930
2932
|
} | undefined;
|
|
2933
|
+
droids?: {
|
|
2934
|
+
name: string;
|
|
2935
|
+
model: string;
|
|
2936
|
+
description?: string | undefined;
|
|
2937
|
+
template?: string | undefined;
|
|
2938
|
+
tools?: string | string[] | undefined;
|
|
2939
|
+
}[] | undefined;
|
|
2940
|
+
$schema?: string | undefined;
|
|
2941
|
+
platforms?: {
|
|
2942
|
+
factory?: {
|
|
2943
|
+
enabled: boolean;
|
|
2944
|
+
shortTermMax?: number | undefined;
|
|
2945
|
+
searchResults?: number | undefined;
|
|
2946
|
+
sessionMax?: number | undefined;
|
|
2947
|
+
patternRag?: boolean | undefined;
|
|
2948
|
+
} | undefined;
|
|
2949
|
+
vscode?: {
|
|
2950
|
+
enabled: boolean;
|
|
2951
|
+
shortTermMax?: number | undefined;
|
|
2952
|
+
searchResults?: number | undefined;
|
|
2953
|
+
sessionMax?: number | undefined;
|
|
2954
|
+
patternRag?: boolean | undefined;
|
|
2955
|
+
} | undefined;
|
|
2956
|
+
opencode?: {
|
|
2957
|
+
enabled: boolean;
|
|
2958
|
+
shortTermMax?: number | undefined;
|
|
2959
|
+
searchResults?: number | undefined;
|
|
2960
|
+
sessionMax?: number | undefined;
|
|
2961
|
+
patternRag?: boolean | undefined;
|
|
2962
|
+
} | undefined;
|
|
2963
|
+
codex?: {
|
|
2964
|
+
enabled: boolean;
|
|
2965
|
+
shortTermMax?: number | undefined;
|
|
2966
|
+
searchResults?: number | undefined;
|
|
2967
|
+
sessionMax?: number | undefined;
|
|
2968
|
+
patternRag?: boolean | undefined;
|
|
2969
|
+
} | undefined;
|
|
2970
|
+
claudeCode?: {
|
|
2971
|
+
enabled: boolean;
|
|
2972
|
+
shortTermMax?: number | undefined;
|
|
2973
|
+
searchResults?: number | undefined;
|
|
2974
|
+
sessionMax?: number | undefined;
|
|
2975
|
+
patternRag?: boolean | undefined;
|
|
2976
|
+
} | undefined;
|
|
2977
|
+
} | undefined;
|
|
2931
2978
|
worktrees?: {
|
|
2932
2979
|
enabled: boolean;
|
|
2933
2980
|
directory: string;
|
|
@@ -2937,6 +2984,7 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2937
2984
|
template?: {
|
|
2938
2985
|
extends: string;
|
|
2939
2986
|
sections?: {
|
|
2987
|
+
benchmark: boolean;
|
|
2940
2988
|
memorySystem: boolean;
|
|
2941
2989
|
browserUsage: boolean;
|
|
2942
2990
|
decisionLoop: boolean;
|
|
@@ -2944,16 +2992,8 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2944
2992
|
troubleshooting: boolean;
|
|
2945
2993
|
augmentedCapabilities: boolean;
|
|
2946
2994
|
pipelineOnly: boolean;
|
|
2947
|
-
benchmark: boolean;
|
|
2948
2995
|
} | undefined;
|
|
2949
2996
|
} | undefined;
|
|
2950
|
-
droids?: {
|
|
2951
|
-
name: string;
|
|
2952
|
-
model: string;
|
|
2953
|
-
description?: string | undefined;
|
|
2954
|
-
template?: string | undefined;
|
|
2955
|
-
tools?: string | string[] | undefined;
|
|
2956
|
-
}[] | undefined;
|
|
2957
2997
|
commands?: {
|
|
2958
2998
|
name: string;
|
|
2959
2999
|
description?: string | undefined;
|
|
@@ -2982,11 +3022,11 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2982
3022
|
timeOptimization?: {
|
|
2983
3023
|
enabled: boolean;
|
|
2984
3024
|
batchWindows?: {
|
|
2985
|
-
|
|
3025
|
+
deploy: number;
|
|
2986
3026
|
push: number;
|
|
3027
|
+
commit: number;
|
|
2987
3028
|
merge: number;
|
|
2988
3029
|
workflow: number;
|
|
2989
|
-
deploy: number;
|
|
2990
3030
|
} | undefined;
|
|
2991
3031
|
parallelExecution?: {
|
|
2992
3032
|
enabled: boolean;
|
|
@@ -3001,9 +3041,9 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3001
3041
|
multiModel?: {
|
|
3002
3042
|
enabled: boolean;
|
|
3003
3043
|
models: (string | {
|
|
3004
|
-
id: string;
|
|
3005
3044
|
name: string;
|
|
3006
|
-
provider: "
|
|
3045
|
+
provider: "custom" | "anthropic" | "deepseek" | "openai" | "zhipu" | "ollama";
|
|
3046
|
+
id: string;
|
|
3007
3047
|
maxContextTokens: number;
|
|
3008
3048
|
apiModel: string;
|
|
3009
3049
|
capabilities: string[];
|
|
@@ -3026,11 +3066,11 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3026
3066
|
reviewer?: string | undefined;
|
|
3027
3067
|
} | undefined;
|
|
3028
3068
|
routing?: {
|
|
3029
|
-
priority: number;
|
|
3030
3069
|
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
3070
|
+
priority: number;
|
|
3031
3071
|
complexity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
3032
3072
|
keywords?: string[] | undefined;
|
|
3033
|
-
taskType?: "
|
|
3073
|
+
taskType?: "documentation" | "planning" | "coding" | "refactoring" | "bug-fix" | "review" | undefined;
|
|
3034
3074
|
}[] | undefined;
|
|
3035
3075
|
plannerSettings?: {
|
|
3036
3076
|
complexityThreshold: "low" | "medium" | "high";
|
|
@@ -3063,7 +3103,7 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3063
3103
|
cwdInjection: boolean;
|
|
3064
3104
|
softBudget: number;
|
|
3065
3105
|
hardBudget: number;
|
|
3066
|
-
toolChoiceForce: "
|
|
3106
|
+
toolChoiceForce: "auto" | "none" | "required";
|
|
3067
3107
|
} | undefined;
|
|
3068
3108
|
}, {
|
|
3069
3109
|
project: {
|
|
@@ -3071,38 +3111,6 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3071
3111
|
description?: string | undefined;
|
|
3072
3112
|
defaultBranch?: string | undefined;
|
|
3073
3113
|
};
|
|
3074
|
-
$schema?: string | undefined;
|
|
3075
|
-
version?: string | undefined;
|
|
3076
|
-
platforms?: {
|
|
3077
|
-
claudeCode?: {
|
|
3078
|
-
enabled?: boolean | undefined;
|
|
3079
|
-
shortTermMax?: number | undefined;
|
|
3080
|
-
searchResults?: number | undefined;
|
|
3081
|
-
sessionMax?: number | undefined;
|
|
3082
|
-
patternRag?: boolean | undefined;
|
|
3083
|
-
} | undefined;
|
|
3084
|
-
factory?: {
|
|
3085
|
-
enabled?: boolean | undefined;
|
|
3086
|
-
shortTermMax?: number | undefined;
|
|
3087
|
-
searchResults?: number | undefined;
|
|
3088
|
-
sessionMax?: number | undefined;
|
|
3089
|
-
patternRag?: boolean | undefined;
|
|
3090
|
-
} | undefined;
|
|
3091
|
-
vscode?: {
|
|
3092
|
-
enabled?: boolean | undefined;
|
|
3093
|
-
shortTermMax?: number | undefined;
|
|
3094
|
-
searchResults?: number | undefined;
|
|
3095
|
-
sessionMax?: number | undefined;
|
|
3096
|
-
patternRag?: boolean | undefined;
|
|
3097
|
-
} | undefined;
|
|
3098
|
-
opencode?: {
|
|
3099
|
-
enabled?: boolean | undefined;
|
|
3100
|
-
shortTermMax?: number | undefined;
|
|
3101
|
-
searchResults?: number | undefined;
|
|
3102
|
-
sessionMax?: number | undefined;
|
|
3103
|
-
patternRag?: boolean | undefined;
|
|
3104
|
-
} | undefined;
|
|
3105
|
-
} | undefined;
|
|
3106
3114
|
memory?: {
|
|
3107
3115
|
patternRag?: {
|
|
3108
3116
|
enabled?: boolean | undefined;
|
|
@@ -3119,17 +3127,18 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3119
3127
|
maxBodyChars?: number | undefined;
|
|
3120
3128
|
} | undefined;
|
|
3121
3129
|
shortTerm?: {
|
|
3122
|
-
path?: string | undefined;
|
|
3123
3130
|
enabled?: boolean | undefined;
|
|
3131
|
+
path?: string | undefined;
|
|
3124
3132
|
webDatabase?: string | undefined;
|
|
3125
3133
|
maxEntries?: number | undefined;
|
|
3126
3134
|
forceDesktop?: boolean | undefined;
|
|
3127
3135
|
} | undefined;
|
|
3128
3136
|
longTerm?: {
|
|
3137
|
+
provider?: "qdrant" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "serverless" | "none" | undefined;
|
|
3129
3138
|
enabled?: boolean | undefined;
|
|
3130
3139
|
github?: {
|
|
3131
|
-
path?: string | undefined;
|
|
3132
3140
|
enabled?: boolean | undefined;
|
|
3141
|
+
path?: string | undefined;
|
|
3133
3142
|
repo?: string | undefined;
|
|
3134
3143
|
token?: string | undefined;
|
|
3135
3144
|
branch?: string | undefined;
|
|
@@ -3139,7 +3148,7 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3139
3148
|
hybrid?: {
|
|
3140
3149
|
useLocalInDev?: boolean | undefined;
|
|
3141
3150
|
useCloudInProd?: boolean | undefined;
|
|
3142
|
-
envDetection?: "
|
|
3151
|
+
envDetection?: "auto" | "NODE_ENV" | "UAP_ENV" | undefined;
|
|
3143
3152
|
} | undefined;
|
|
3144
3153
|
mode?: "lazy-local" | "cloud-serverless" | "hybrid" | undefined;
|
|
3145
3154
|
lazyLocal?: {
|
|
@@ -3161,7 +3170,6 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3161
3170
|
} | undefined;
|
|
3162
3171
|
fallbackToMemory?: boolean | undefined;
|
|
3163
3172
|
} | undefined;
|
|
3164
|
-
provider?: "qdrant" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "serverless" | "none" | undefined;
|
|
3165
3173
|
endpoint?: string | undefined;
|
|
3166
3174
|
collection?: string | undefined;
|
|
3167
3175
|
embeddingModel?: string | undefined;
|
|
@@ -3173,6 +3181,52 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3173
3181
|
} | undefined;
|
|
3174
3182
|
} | undefined;
|
|
3175
3183
|
} | undefined;
|
|
3184
|
+
droids?: {
|
|
3185
|
+
name: string;
|
|
3186
|
+
description?: string | undefined;
|
|
3187
|
+
template?: string | undefined;
|
|
3188
|
+
model?: string | undefined;
|
|
3189
|
+
tools?: string | string[] | undefined;
|
|
3190
|
+
}[] | undefined;
|
|
3191
|
+
$schema?: string | undefined;
|
|
3192
|
+
version?: string | undefined;
|
|
3193
|
+
platforms?: {
|
|
3194
|
+
factory?: {
|
|
3195
|
+
enabled?: boolean | undefined;
|
|
3196
|
+
shortTermMax?: number | undefined;
|
|
3197
|
+
searchResults?: number | undefined;
|
|
3198
|
+
sessionMax?: number | undefined;
|
|
3199
|
+
patternRag?: boolean | undefined;
|
|
3200
|
+
} | undefined;
|
|
3201
|
+
vscode?: {
|
|
3202
|
+
enabled?: boolean | undefined;
|
|
3203
|
+
shortTermMax?: number | undefined;
|
|
3204
|
+
searchResults?: number | undefined;
|
|
3205
|
+
sessionMax?: number | undefined;
|
|
3206
|
+
patternRag?: boolean | undefined;
|
|
3207
|
+
} | undefined;
|
|
3208
|
+
opencode?: {
|
|
3209
|
+
enabled?: boolean | undefined;
|
|
3210
|
+
shortTermMax?: number | undefined;
|
|
3211
|
+
searchResults?: number | undefined;
|
|
3212
|
+
sessionMax?: number | undefined;
|
|
3213
|
+
patternRag?: boolean | undefined;
|
|
3214
|
+
} | undefined;
|
|
3215
|
+
codex?: {
|
|
3216
|
+
enabled?: boolean | undefined;
|
|
3217
|
+
shortTermMax?: number | undefined;
|
|
3218
|
+
searchResults?: number | undefined;
|
|
3219
|
+
sessionMax?: number | undefined;
|
|
3220
|
+
patternRag?: boolean | undefined;
|
|
3221
|
+
} | undefined;
|
|
3222
|
+
claudeCode?: {
|
|
3223
|
+
enabled?: boolean | undefined;
|
|
3224
|
+
shortTermMax?: number | undefined;
|
|
3225
|
+
searchResults?: number | undefined;
|
|
3226
|
+
sessionMax?: number | undefined;
|
|
3227
|
+
patternRag?: boolean | undefined;
|
|
3228
|
+
} | undefined;
|
|
3229
|
+
} | undefined;
|
|
3176
3230
|
worktrees?: {
|
|
3177
3231
|
enabled?: boolean | undefined;
|
|
3178
3232
|
directory?: string | undefined;
|
|
@@ -3182,6 +3236,7 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3182
3236
|
template?: {
|
|
3183
3237
|
extends?: string | undefined;
|
|
3184
3238
|
sections?: {
|
|
3239
|
+
benchmark?: boolean | undefined;
|
|
3185
3240
|
memorySystem?: boolean | undefined;
|
|
3186
3241
|
browserUsage?: boolean | undefined;
|
|
3187
3242
|
decisionLoop?: boolean | undefined;
|
|
@@ -3189,16 +3244,8 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3189
3244
|
troubleshooting?: boolean | undefined;
|
|
3190
3245
|
augmentedCapabilities?: boolean | undefined;
|
|
3191
3246
|
pipelineOnly?: boolean | undefined;
|
|
3192
|
-
benchmark?: boolean | undefined;
|
|
3193
3247
|
} | undefined;
|
|
3194
3248
|
} | undefined;
|
|
3195
|
-
droids?: {
|
|
3196
|
-
name: string;
|
|
3197
|
-
description?: string | undefined;
|
|
3198
|
-
template?: string | undefined;
|
|
3199
|
-
model?: string | undefined;
|
|
3200
|
-
tools?: string | string[] | undefined;
|
|
3201
|
-
}[] | undefined;
|
|
3202
3249
|
commands?: {
|
|
3203
3250
|
name: string;
|
|
3204
3251
|
description?: string | undefined;
|
|
@@ -3225,14 +3272,14 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3225
3272
|
} | undefined;
|
|
3226
3273
|
} | undefined;
|
|
3227
3274
|
timeOptimization?: {
|
|
3275
|
+
enabled?: boolean | undefined;
|
|
3228
3276
|
batchWindows?: {
|
|
3229
|
-
|
|
3277
|
+
deploy?: number | undefined;
|
|
3230
3278
|
push?: number | undefined;
|
|
3279
|
+
commit?: number | undefined;
|
|
3231
3280
|
merge?: number | undefined;
|
|
3232
3281
|
workflow?: number | undefined;
|
|
3233
|
-
deploy?: number | undefined;
|
|
3234
3282
|
} | undefined;
|
|
3235
|
-
enabled?: boolean | undefined;
|
|
3236
3283
|
parallelExecution?: {
|
|
3237
3284
|
enabled?: boolean | undefined;
|
|
3238
3285
|
maxParallelDroids?: number | undefined;
|
|
@@ -3245,16 +3292,10 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3245
3292
|
} | undefined;
|
|
3246
3293
|
multiModel?: {
|
|
3247
3294
|
enabled?: boolean | undefined;
|
|
3248
|
-
costOptimization?: {
|
|
3249
|
-
enabled?: boolean | undefined;
|
|
3250
|
-
targetReduction?: number | undefined;
|
|
3251
|
-
maxPerformanceDegradation?: number | undefined;
|
|
3252
|
-
fallbackThreshold?: number | undefined;
|
|
3253
|
-
} | undefined;
|
|
3254
3295
|
models?: (string | {
|
|
3255
|
-
id: string;
|
|
3256
3296
|
name: string;
|
|
3257
|
-
provider: "
|
|
3297
|
+
provider: "custom" | "anthropic" | "deepseek" | "openai" | "zhipu" | "ollama";
|
|
3298
|
+
id: string;
|
|
3258
3299
|
apiModel: string;
|
|
3259
3300
|
endpoint?: string | undefined;
|
|
3260
3301
|
maxContextTokens?: number | undefined;
|
|
@@ -3263,6 +3304,12 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3263
3304
|
costPer1MOutput?: number | undefined;
|
|
3264
3305
|
capabilities?: string[] | undefined;
|
|
3265
3306
|
})[] | undefined;
|
|
3307
|
+
costOptimization?: {
|
|
3308
|
+
enabled?: boolean | undefined;
|
|
3309
|
+
targetReduction?: number | undefined;
|
|
3310
|
+
maxPerformanceDegradation?: number | undefined;
|
|
3311
|
+
fallbackThreshold?: number | undefined;
|
|
3312
|
+
} | undefined;
|
|
3266
3313
|
roles?: {
|
|
3267
3314
|
planner?: string | undefined;
|
|
3268
3315
|
executor?: string | undefined;
|
|
@@ -3271,10 +3318,10 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3271
3318
|
} | undefined;
|
|
3272
3319
|
routing?: {
|
|
3273
3320
|
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
3274
|
-
priority?: number | undefined;
|
|
3275
3321
|
complexity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
3276
3322
|
keywords?: string[] | undefined;
|
|
3277
|
-
taskType?: "
|
|
3323
|
+
taskType?: "documentation" | "planning" | "coding" | "refactoring" | "bug-fix" | "review" | undefined;
|
|
3324
|
+
priority?: number | undefined;
|
|
3278
3325
|
}[] | undefined;
|
|
3279
3326
|
routingStrategy?: "cost-optimized" | "performance-first" | "balanced" | "adaptive" | undefined;
|
|
3280
3327
|
plannerSettings?: {
|
|
@@ -3308,12 +3355,12 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3308
3355
|
cwdInjection?: boolean | undefined;
|
|
3309
3356
|
softBudget?: number | undefined;
|
|
3310
3357
|
hardBudget?: number | undefined;
|
|
3311
|
-
toolChoiceForce?: "
|
|
3358
|
+
toolChoiceForce?: "auto" | "none" | "required" | undefined;
|
|
3312
3359
|
} | undefined;
|
|
3313
3360
|
}>;
|
|
3314
3361
|
export type AgentContextConfig = z.infer<typeof AgentContextConfigSchema>;
|
|
3315
3362
|
export type MultiModelConfig = z.infer<typeof MultiModelSchema>;
|
|
3316
|
-
export type Platform = 'claudeCode' | 'factory' | 'vscode' | 'opencode' | 'claudeWeb' | 'factoryWeb';
|
|
3363
|
+
export type Platform = 'claudeCode' | 'factory' | 'vscode' | 'opencode' | 'codex' | 'claudeWeb' | 'factoryWeb';
|
|
3317
3364
|
export type Droid = z.infer<typeof DroidSchema>;
|
|
3318
3365
|
export type Command = z.infer<typeof CommandSchema>;
|
|
3319
3366
|
export type QdrantServerlessConfig = z.infer<typeof QdrantServerlessSchema>;
|