@miller-tech/uap 1.22.0 → 1.26.0
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/README.md +65 -21
- package/dist/.tsbuildinfo +1 -1
- package/dist/benchmarks/token-throughput.d.ts +53 -53
- package/dist/bin/cli.js +88 -5
- package/dist/bin/cli.js.map +1 -1
- package/dist/bin/llama-server-optimize.js +0 -0
- package/dist/bin/policy.js +0 -0
- package/dist/cli/agent.js +1 -1
- package/dist/cli/agent.js.map +1 -1
- package/dist/cli/droids.d.ts +21 -1
- package/dist/cli/droids.d.ts.map +1 -1
- package/dist/cli/droids.js +142 -0
- package/dist/cli/droids.js.map +1 -1
- package/dist/cli/expert-route.d.ts +11 -0
- package/dist/cli/expert-route.d.ts.map +1 -0
- package/dist/cli/expert-route.js +67 -0
- package/dist/cli/expert-route.js.map +1 -0
- package/dist/cli/harness.d.ts +24 -0
- package/dist/cli/harness.d.ts.map +1 -0
- package/dist/cli/harness.js +84 -0
- package/dist/cli/harness.js.map +1 -0
- package/dist/cli/hooks.d.ts +13 -2
- package/dist/cli/hooks.d.ts.map +1 -1
- package/dist/cli/hooks.js +333 -3
- package/dist/cli/hooks.js.map +1 -1
- package/dist/cli/ideate.d.ts +18 -0
- package/dist/cli/ideate.d.ts.map +1 -0
- package/dist/cli/ideate.js +148 -0
- package/dist/cli/ideate.js.map +1 -0
- package/dist/cli/patterns.js +55 -0
- package/dist/cli/patterns.js.map +1 -1
- package/dist/cli/setup.d.ts.map +1 -1
- package/dist/cli/setup.js +14 -1
- package/dist/cli/setup.js.map +1 -1
- package/dist/coordination/capability-router.d.ts +1 -1
- package/dist/coordination/capability-router.d.ts.map +1 -1
- package/dist/coordination/capability-router.js +132 -0
- package/dist/coordination/capability-router.js.map +1 -1
- package/dist/coordination/expert-orchestrator.d.ts +66 -0
- package/dist/coordination/expert-orchestrator.d.ts.map +1 -0
- package/dist/coordination/expert-orchestrator.js +150 -0
- package/dist/coordination/expert-orchestrator.js.map +1 -0
- package/dist/coordination/service.d.ts +8 -1
- package/dist/coordination/service.d.ts.map +1 -1
- package/dist/coordination/service.js +18 -4
- package/dist/coordination/service.js.map +1 -1
- package/dist/mcp-router/experts/registry.d.ts +54 -0
- package/dist/mcp-router/experts/registry.d.ts.map +1 -0
- package/dist/mcp-router/experts/registry.js +143 -0
- package/dist/mcp-router/experts/registry.js.map +1 -0
- package/dist/mcp-router/index.d.ts +2 -0
- package/dist/mcp-router/index.d.ts.map +1 -1
- package/dist/mcp-router/index.js +1 -0
- package/dist/mcp-router/index.js.map +1 -1
- package/dist/mcp-router/server.d.ts.map +1 -1
- package/dist/mcp-router/server.js +16 -0
- package/dist/mcp-router/server.js.map +1 -1
- package/dist/mcp-router/tools/execute.d.ts.map +1 -1
- package/dist/mcp-router/tools/execute.js +40 -0
- package/dist/mcp-router/tools/execute.js.map +1 -1
- package/dist/models/planner.d.ts +7 -1
- package/dist/models/planner.d.ts.map +1 -1
- package/dist/models/planner.js +61 -0
- package/dist/models/planner.js.map +1 -1
- package/dist/models/types.d.ts +14 -12
- package/dist/models/types.d.ts.map +1 -1
- package/dist/models/types.js.map +1 -1
- package/dist/observability/halo-exporter.d.ts +86 -0
- package/dist/observability/halo-exporter.d.ts.map +1 -0
- package/dist/observability/halo-exporter.js +139 -0
- package/dist/observability/halo-exporter.js.map +1 -0
- package/dist/telemetry/session-telemetry.d.ts.map +1 -1
- package/dist/telemetry/session-telemetry.js +7 -0
- package/dist/telemetry/session-telemetry.js.map +1 -1
- package/dist/types/config.d.ts +170 -170
- package/docs/architecture/EXPERT_STACK.md +137 -0
- package/docs/architecture/PLATFORM_GATING.md +68 -0
- package/docs/reference/EXPERT_DROIDS.md +219 -0
- package/package.json +1 -1
- package/templates/hooks/pre-tool-use-edit-write.sh +29 -8
- package/templates/hooks/uap-policy-gate-hermes.sh +42 -0
- package/tools/agents/scripts/anthropic_proxy.py +166 -30
- package/tools/agents/tests/test_attractor_detection.py +213 -0
- package/dist/utils/baseline-metrics.d.ts +0 -21
- package/dist/utils/baseline-metrics.d.ts.map +0 -1
- package/dist/utils/baseline-metrics.js +0 -111
- package/dist/utils/baseline-metrics.js.map +0 -1
- package/tools/agents/__pycache__/claude_local_agent.cpython-313.pyc +0 -0
- package/tools/agents/__pycache__/opencode_uap_agent.cpython-313.pyc +0 -0
- package/tools/agents/scripts/__pycache__/anthropic_proxy.cpython-313.pyc +0 -0
- package/tools/agents/tests/__pycache__/test_anthropic_proxy_streaming.cpython-313-pytest-9.0.2.pyc +0 -0
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
|
-
enabled: boolean;
|
|
29
28
|
path: string;
|
|
29
|
+
enabled: boolean;
|
|
30
30
|
maxEntries: number;
|
|
31
31
|
webDatabase?: string | undefined;
|
|
32
32
|
forceDesktop?: boolean | undefined;
|
|
33
33
|
}, {
|
|
34
|
-
enabled?: boolean | undefined;
|
|
35
34
|
path?: string | undefined;
|
|
35
|
+
enabled?: boolean | 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
|
-
enabled: boolean;
|
|
48
47
|
path: string;
|
|
48
|
+
enabled: boolean;
|
|
49
49
|
branch: string;
|
|
50
50
|
repo?: string | undefined;
|
|
51
51
|
token?: string | undefined;
|
|
52
52
|
}, {
|
|
53
|
-
enabled?: boolean | undefined;
|
|
54
53
|
path?: string | undefined;
|
|
54
|
+
enabled?: boolean | undefined;
|
|
55
55
|
repo?: string | undefined;
|
|
56
56
|
token?: string | undefined;
|
|
57
57
|
branch?: string | undefined;
|
|
@@ -119,9 +119,9 @@ export declare const QdrantServerlessSchema: z.ZodObject<{
|
|
|
119
119
|
url?: string | undefined;
|
|
120
120
|
apiKey?: string | undefined;
|
|
121
121
|
}, {
|
|
122
|
+
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
122
123
|
url?: string | undefined;
|
|
123
124
|
apiKey?: string | undefined;
|
|
124
|
-
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
125
125
|
region?: string | undefined;
|
|
126
126
|
keepWarm?: boolean | undefined;
|
|
127
127
|
warmIntervalMs?: number | undefined;
|
|
@@ -184,9 +184,9 @@ export declare const QdrantServerlessSchema: z.ZodObject<{
|
|
|
184
184
|
healthCheckIntervalMs?: number | undefined;
|
|
185
185
|
} | undefined;
|
|
186
186
|
cloudServerless?: {
|
|
187
|
+
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
187
188
|
url?: string | undefined;
|
|
188
189
|
apiKey?: string | undefined;
|
|
189
|
-
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
190
190
|
region?: string | undefined;
|
|
191
191
|
keepWarm?: boolean | undefined;
|
|
192
192
|
warmIntervalMs?: number | undefined;
|
|
@@ -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
|
-
enabled: boolean;
|
|
210
209
|
path: string;
|
|
210
|
+
enabled: boolean;
|
|
211
211
|
branch: string;
|
|
212
212
|
repo?: string | undefined;
|
|
213
213
|
token?: string | undefined;
|
|
214
214
|
}, {
|
|
215
|
-
enabled?: boolean | undefined;
|
|
216
215
|
path?: string | undefined;
|
|
216
|
+
enabled?: boolean | undefined;
|
|
217
217
|
repo?: string | undefined;
|
|
218
218
|
token?: string | undefined;
|
|
219
219
|
branch?: string | undefined;
|
|
@@ -277,9 +277,9 @@ export declare const LongTermMemorySchema: z.ZodObject<{
|
|
|
277
277
|
url?: string | undefined;
|
|
278
278
|
apiKey?: string | undefined;
|
|
279
279
|
}, {
|
|
280
|
+
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
280
281
|
url?: string | undefined;
|
|
281
282
|
apiKey?: string | undefined;
|
|
282
|
-
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
283
283
|
region?: string | undefined;
|
|
284
284
|
keepWarm?: boolean | undefined;
|
|
285
285
|
warmIntervalMs?: number | undefined;
|
|
@@ -342,9 +342,9 @@ export declare const LongTermMemorySchema: z.ZodObject<{
|
|
|
342
342
|
healthCheckIntervalMs?: number | undefined;
|
|
343
343
|
} | undefined;
|
|
344
344
|
cloudServerless?: {
|
|
345
|
+
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
345
346
|
url?: string | undefined;
|
|
346
347
|
apiKey?: string | undefined;
|
|
347
|
-
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
348
348
|
region?: string | undefined;
|
|
349
349
|
keepWarm?: boolean | undefined;
|
|
350
350
|
warmIntervalMs?: number | undefined;
|
|
@@ -352,13 +352,14 @@ export declare const LongTermMemorySchema: z.ZodObject<{
|
|
|
352
352
|
fallbackToMemory?: boolean | undefined;
|
|
353
353
|
}>>;
|
|
354
354
|
}, "strip", z.ZodTypeAny, {
|
|
355
|
+
provider: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none";
|
|
355
356
|
enabled: boolean;
|
|
356
357
|
collection: string;
|
|
357
|
-
provider: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none";
|
|
358
358
|
embeddingModel: string;
|
|
359
|
+
endpoint?: string | undefined;
|
|
359
360
|
github?: {
|
|
360
|
-
enabled: boolean;
|
|
361
361
|
path: string;
|
|
362
|
+
enabled: boolean;
|
|
362
363
|
branch: string;
|
|
363
364
|
repo?: string | undefined;
|
|
364
365
|
token?: string | undefined;
|
|
@@ -390,7 +391,6 @@ export declare const LongTermMemorySchema: z.ZodObject<{
|
|
|
390
391
|
apiKey?: string | undefined;
|
|
391
392
|
} | undefined;
|
|
392
393
|
} | undefined;
|
|
393
|
-
endpoint?: string | undefined;
|
|
394
394
|
qdrantCloud?: {
|
|
395
395
|
enabled: boolean;
|
|
396
396
|
collection: string;
|
|
@@ -398,12 +398,13 @@ export declare const LongTermMemorySchema: z.ZodObject<{
|
|
|
398
398
|
apiKey?: string | undefined;
|
|
399
399
|
} | undefined;
|
|
400
400
|
}, {
|
|
401
|
+
provider?: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none" | undefined;
|
|
402
|
+
endpoint?: string | undefined;
|
|
401
403
|
enabled?: boolean | undefined;
|
|
402
404
|
collection?: string | undefined;
|
|
403
|
-
provider?: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none" | undefined;
|
|
404
405
|
github?: {
|
|
405
|
-
enabled?: boolean | undefined;
|
|
406
406
|
path?: string | undefined;
|
|
407
|
+
enabled?: boolean | undefined;
|
|
407
408
|
repo?: string | undefined;
|
|
408
409
|
token?: string | undefined;
|
|
409
410
|
branch?: string | undefined;
|
|
@@ -426,16 +427,15 @@ export declare const LongTermMemorySchema: z.ZodObject<{
|
|
|
426
427
|
healthCheckIntervalMs?: number | undefined;
|
|
427
428
|
} | undefined;
|
|
428
429
|
cloudServerless?: {
|
|
430
|
+
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
429
431
|
url?: string | undefined;
|
|
430
432
|
apiKey?: string | undefined;
|
|
431
|
-
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
432
433
|
region?: string | undefined;
|
|
433
434
|
keepWarm?: boolean | undefined;
|
|
434
435
|
warmIntervalMs?: number | undefined;
|
|
435
436
|
} | undefined;
|
|
436
437
|
fallbackToMemory?: boolean | undefined;
|
|
437
438
|
} | undefined;
|
|
438
|
-
endpoint?: string | undefined;
|
|
439
439
|
embeddingModel?: string | undefined;
|
|
440
440
|
qdrantCloud?: {
|
|
441
441
|
enabled?: boolean | 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
|
-
enabled: boolean;
|
|
502
501
|
path: string;
|
|
502
|
+
enabled: boolean;
|
|
503
503
|
maxEntries: number;
|
|
504
504
|
webDatabase?: string | undefined;
|
|
505
505
|
forceDesktop?: boolean | undefined;
|
|
506
506
|
}, {
|
|
507
|
-
enabled?: boolean | undefined;
|
|
508
507
|
path?: string | undefined;
|
|
508
|
+
enabled?: boolean | 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
|
-
enabled: boolean;
|
|
527
526
|
path: string;
|
|
527
|
+
enabled: boolean;
|
|
528
528
|
branch: string;
|
|
529
529
|
repo?: string | undefined;
|
|
530
530
|
token?: string | undefined;
|
|
531
531
|
}, {
|
|
532
|
-
enabled?: boolean | undefined;
|
|
533
532
|
path?: string | undefined;
|
|
533
|
+
enabled?: boolean | undefined;
|
|
534
534
|
repo?: string | undefined;
|
|
535
535
|
token?: string | undefined;
|
|
536
536
|
branch?: string | undefined;
|
|
@@ -594,9 +594,9 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
594
594
|
url?: string | undefined;
|
|
595
595
|
apiKey?: string | undefined;
|
|
596
596
|
}, {
|
|
597
|
+
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
597
598
|
url?: string | undefined;
|
|
598
599
|
apiKey?: string | undefined;
|
|
599
|
-
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
600
600
|
region?: string | undefined;
|
|
601
601
|
keepWarm?: boolean | undefined;
|
|
602
602
|
warmIntervalMs?: number | undefined;
|
|
@@ -659,9 +659,9 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
659
659
|
healthCheckIntervalMs?: number | undefined;
|
|
660
660
|
} | undefined;
|
|
661
661
|
cloudServerless?: {
|
|
662
|
+
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
662
663
|
url?: string | undefined;
|
|
663
664
|
apiKey?: string | undefined;
|
|
664
|
-
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
665
665
|
region?: string | undefined;
|
|
666
666
|
keepWarm?: boolean | undefined;
|
|
667
667
|
warmIntervalMs?: number | undefined;
|
|
@@ -669,13 +669,14 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
669
669
|
fallbackToMemory?: boolean | undefined;
|
|
670
670
|
}>>;
|
|
671
671
|
}, "strip", z.ZodTypeAny, {
|
|
672
|
+
provider: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none";
|
|
672
673
|
enabled: boolean;
|
|
673
674
|
collection: string;
|
|
674
|
-
provider: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none";
|
|
675
675
|
embeddingModel: string;
|
|
676
|
+
endpoint?: string | undefined;
|
|
676
677
|
github?: {
|
|
677
|
-
enabled: boolean;
|
|
678
678
|
path: string;
|
|
679
|
+
enabled: boolean;
|
|
679
680
|
branch: string;
|
|
680
681
|
repo?: string | undefined;
|
|
681
682
|
token?: string | undefined;
|
|
@@ -707,7 +708,6 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
707
708
|
apiKey?: string | undefined;
|
|
708
709
|
} | undefined;
|
|
709
710
|
} | undefined;
|
|
710
|
-
endpoint?: string | undefined;
|
|
711
711
|
qdrantCloud?: {
|
|
712
712
|
enabled: boolean;
|
|
713
713
|
collection: string;
|
|
@@ -715,12 +715,13 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
715
715
|
apiKey?: string | undefined;
|
|
716
716
|
} | undefined;
|
|
717
717
|
}, {
|
|
718
|
+
provider?: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none" | undefined;
|
|
719
|
+
endpoint?: string | undefined;
|
|
718
720
|
enabled?: boolean | undefined;
|
|
719
721
|
collection?: string | undefined;
|
|
720
|
-
provider?: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none" | undefined;
|
|
721
722
|
github?: {
|
|
722
|
-
enabled?: boolean | undefined;
|
|
723
723
|
path?: string | undefined;
|
|
724
|
+
enabled?: boolean | undefined;
|
|
724
725
|
repo?: string | undefined;
|
|
725
726
|
token?: string | undefined;
|
|
726
727
|
branch?: string | undefined;
|
|
@@ -743,16 +744,15 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
743
744
|
healthCheckIntervalMs?: number | undefined;
|
|
744
745
|
} | undefined;
|
|
745
746
|
cloudServerless?: {
|
|
747
|
+
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
746
748
|
url?: string | undefined;
|
|
747
749
|
apiKey?: string | undefined;
|
|
748
|
-
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
749
750
|
region?: string | undefined;
|
|
750
751
|
keepWarm?: boolean | undefined;
|
|
751
752
|
warmIntervalMs?: number | undefined;
|
|
752
753
|
} | undefined;
|
|
753
754
|
fallbackToMemory?: boolean | undefined;
|
|
754
755
|
} | undefined;
|
|
755
|
-
endpoint?: string | undefined;
|
|
756
756
|
embeddingModel?: string | undefined;
|
|
757
757
|
qdrantCloud?: {
|
|
758
758
|
enabled?: boolean | undefined;
|
|
@@ -817,20 +817,21 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
817
817
|
skillsDir?: string | undefined;
|
|
818
818
|
} | undefined;
|
|
819
819
|
shortTerm?: {
|
|
820
|
-
enabled: boolean;
|
|
821
820
|
path: string;
|
|
821
|
+
enabled: boolean;
|
|
822
822
|
maxEntries: number;
|
|
823
823
|
webDatabase?: string | undefined;
|
|
824
824
|
forceDesktop?: boolean | undefined;
|
|
825
825
|
} | undefined;
|
|
826
826
|
longTerm?: {
|
|
827
|
+
provider: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none";
|
|
827
828
|
enabled: boolean;
|
|
828
829
|
collection: string;
|
|
829
|
-
provider: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none";
|
|
830
830
|
embeddingModel: string;
|
|
831
|
+
endpoint?: string | undefined;
|
|
831
832
|
github?: {
|
|
832
|
-
enabled: boolean;
|
|
833
833
|
path: string;
|
|
834
|
+
enabled: boolean;
|
|
834
835
|
branch: string;
|
|
835
836
|
repo?: string | undefined;
|
|
836
837
|
token?: string | undefined;
|
|
@@ -862,7 +863,6 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
862
863
|
apiKey?: string | undefined;
|
|
863
864
|
} | undefined;
|
|
864
865
|
} | undefined;
|
|
865
|
-
endpoint?: string | undefined;
|
|
866
866
|
qdrantCloud?: {
|
|
867
867
|
enabled: boolean;
|
|
868
868
|
collection: string;
|
|
@@ -886,19 +886,20 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
886
886
|
maxBodyChars?: number | undefined;
|
|
887
887
|
} | undefined;
|
|
888
888
|
shortTerm?: {
|
|
889
|
-
enabled?: boolean | undefined;
|
|
890
889
|
path?: string | undefined;
|
|
890
|
+
enabled?: boolean | 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-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none" | undefined;
|
|
897
|
+
endpoint?: string | undefined;
|
|
896
898
|
enabled?: boolean | undefined;
|
|
897
899
|
collection?: string | undefined;
|
|
898
|
-
provider?: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none" | undefined;
|
|
899
900
|
github?: {
|
|
900
|
-
enabled?: boolean | undefined;
|
|
901
901
|
path?: string | undefined;
|
|
902
|
+
enabled?: boolean | undefined;
|
|
902
903
|
repo?: string | undefined;
|
|
903
904
|
token?: string | undefined;
|
|
904
905
|
branch?: string | undefined;
|
|
@@ -921,16 +922,15 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
921
922
|
healthCheckIntervalMs?: number | undefined;
|
|
922
923
|
} | undefined;
|
|
923
924
|
cloudServerless?: {
|
|
925
|
+
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
924
926
|
url?: string | undefined;
|
|
925
927
|
apiKey?: string | undefined;
|
|
926
|
-
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
927
928
|
region?: string | undefined;
|
|
928
929
|
keepWarm?: boolean | undefined;
|
|
929
930
|
warmIntervalMs?: number | undefined;
|
|
930
931
|
} | undefined;
|
|
931
932
|
fallbackToMemory?: boolean | undefined;
|
|
932
933
|
} | undefined;
|
|
933
|
-
endpoint?: string | undefined;
|
|
934
934
|
embeddingModel?: string | undefined;
|
|
935
935
|
qdrantCloud?: {
|
|
936
936
|
enabled?: boolean | undefined;
|
|
@@ -1098,14 +1098,14 @@ export declare const CostOptimizationSchema: z.ZodObject<{
|
|
|
1098
1098
|
maxContextTokens: z.ZodDefault<z.ZodNumber>;
|
|
1099
1099
|
warningThreshold: z.ZodDefault<z.ZodNumber>;
|
|
1100
1100
|
}, "strip", z.ZodTypeAny, {
|
|
1101
|
+
maxContextTokens: number;
|
|
1101
1102
|
maxTemplateTokens: number;
|
|
1102
1103
|
maxMemoryQueryTokens: number;
|
|
1103
|
-
maxContextTokens: number;
|
|
1104
1104
|
warningThreshold: number;
|
|
1105
1105
|
}, {
|
|
1106
|
+
maxContextTokens?: number | undefined;
|
|
1106
1107
|
maxTemplateTokens?: number | undefined;
|
|
1107
1108
|
maxMemoryQueryTokens?: number | undefined;
|
|
1108
|
-
maxContextTokens?: number | undefined;
|
|
1109
1109
|
warningThreshold?: number | undefined;
|
|
1110
1110
|
}>>;
|
|
1111
1111
|
embeddingBatching: z.ZodOptional<z.ZodObject<{
|
|
@@ -1137,9 +1137,9 @@ export declare const CostOptimizationSchema: z.ZodObject<{
|
|
|
1137
1137
|
}, "strip", z.ZodTypeAny, {
|
|
1138
1138
|
enabled: boolean;
|
|
1139
1139
|
tokenBudget?: {
|
|
1140
|
+
maxContextTokens: number;
|
|
1140
1141
|
maxTemplateTokens: number;
|
|
1141
1142
|
maxMemoryQueryTokens: number;
|
|
1142
|
-
maxContextTokens: number;
|
|
1143
1143
|
warningThreshold: number;
|
|
1144
1144
|
} | undefined;
|
|
1145
1145
|
embeddingBatching?: {
|
|
@@ -1155,9 +1155,9 @@ export declare const CostOptimizationSchema: z.ZodObject<{
|
|
|
1155
1155
|
}, {
|
|
1156
1156
|
enabled?: boolean | undefined;
|
|
1157
1157
|
tokenBudget?: {
|
|
1158
|
+
maxContextTokens?: number | undefined;
|
|
1158
1159
|
maxTemplateTokens?: number | undefined;
|
|
1159
1160
|
maxMemoryQueryTokens?: number | undefined;
|
|
1160
|
-
maxContextTokens?: number | undefined;
|
|
1161
1161
|
warningThreshold?: number | undefined;
|
|
1162
1162
|
} | undefined;
|
|
1163
1163
|
embeddingBatching?: {
|
|
@@ -1184,14 +1184,14 @@ export declare const TimeOptimizationSchema: z.ZodObject<{
|
|
|
1184
1184
|
deploy: z.ZodDefault<z.ZodNumber>;
|
|
1185
1185
|
}, "strip", z.ZodTypeAny, {
|
|
1186
1186
|
push: number;
|
|
1187
|
-
commit: number;
|
|
1188
1187
|
merge: number;
|
|
1188
|
+
commit: number;
|
|
1189
1189
|
workflow: number;
|
|
1190
1190
|
deploy: number;
|
|
1191
1191
|
}, {
|
|
1192
1192
|
push?: number | undefined;
|
|
1193
|
-
commit?: number | undefined;
|
|
1194
1193
|
merge?: number | undefined;
|
|
1194
|
+
commit?: number | undefined;
|
|
1195
1195
|
workflow?: number | undefined;
|
|
1196
1196
|
deploy?: number | undefined;
|
|
1197
1197
|
}>>;
|
|
@@ -1222,8 +1222,8 @@ export declare const TimeOptimizationSchema: z.ZodObject<{
|
|
|
1222
1222
|
enabled: boolean;
|
|
1223
1223
|
batchWindows?: {
|
|
1224
1224
|
push: number;
|
|
1225
|
-
commit: number;
|
|
1226
1225
|
merge: number;
|
|
1226
|
+
commit: number;
|
|
1227
1227
|
workflow: number;
|
|
1228
1228
|
deploy: number;
|
|
1229
1229
|
} | undefined;
|
|
@@ -1240,8 +1240,8 @@ export declare const TimeOptimizationSchema: z.ZodObject<{
|
|
|
1240
1240
|
enabled?: boolean | undefined;
|
|
1241
1241
|
batchWindows?: {
|
|
1242
1242
|
push?: number | undefined;
|
|
1243
|
-
commit?: number | undefined;
|
|
1244
1243
|
merge?: number | undefined;
|
|
1244
|
+
commit?: number | undefined;
|
|
1245
1245
|
workflow?: number | undefined;
|
|
1246
1246
|
deploy?: number | undefined;
|
|
1247
1247
|
} | undefined;
|
|
@@ -1270,24 +1270,24 @@ 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" | "openai" | "ollama";
|
|
1274
|
-
name: string;
|
|
1275
|
-
maxContextTokens: number;
|
|
1276
1273
|
id: string;
|
|
1274
|
+
name: string;
|
|
1275
|
+
provider: "anthropic" | "openai" | "ollama" | "custom";
|
|
1277
1276
|
apiModel: string;
|
|
1277
|
+
maxContextTokens: number;
|
|
1278
1278
|
capabilities: 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" | "openai" | "ollama";
|
|
1285
|
-
name: string;
|
|
1286
1284
|
id: string;
|
|
1285
|
+
name: string;
|
|
1286
|
+
provider: "anthropic" | "openai" | "ollama" | "custom";
|
|
1287
1287
|
apiModel: string;
|
|
1288
1288
|
endpoint?: string | undefined;
|
|
1289
|
-
maxContextTokens?: number | undefined;
|
|
1290
1289
|
apiKeyEnvVar?: string | undefined;
|
|
1290
|
+
maxContextTokens?: number | undefined;
|
|
1291
1291
|
costPer1MInput?: number | undefined;
|
|
1292
1292
|
costPer1MOutput?: number | undefined;
|
|
1293
1293
|
capabilities?: string[] | undefined;
|
|
@@ -1303,12 +1303,12 @@ export declare const RoutingRuleSchema: z.ZodObject<{
|
|
|
1303
1303
|
priority: number;
|
|
1304
1304
|
complexity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
1305
1305
|
keywords?: string[] | undefined;
|
|
1306
|
-
taskType?: "planning" | "coding" | "refactoring" | "bug-fix" | "
|
|
1306
|
+
taskType?: "planning" | "review" | "coding" | "refactoring" | "bug-fix" | "documentation" | undefined;
|
|
1307
1307
|
}, {
|
|
1308
1308
|
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
1309
1309
|
complexity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
1310
1310
|
keywords?: string[] | undefined;
|
|
1311
|
-
taskType?: "planning" | "coding" | "refactoring" | "bug-fix" | "
|
|
1311
|
+
taskType?: "planning" | "review" | "coding" | "refactoring" | "bug-fix" | "documentation" | undefined;
|
|
1312
1312
|
priority?: number | undefined;
|
|
1313
1313
|
}>;
|
|
1314
1314
|
export declare const MultiModelSchema: z.ZodObject<{
|
|
@@ -1326,11 +1326,11 @@ export declare const MultiModelSchema: z.ZodObject<{
|
|
|
1326
1326
|
capabilities: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1327
1327
|
modelContextBudget: z.ZodOptional<z.ZodNumber>;
|
|
1328
1328
|
}, "strip", z.ZodTypeAny, {
|
|
1329
|
-
provider: "custom" | "anthropic" | "openai" | "ollama";
|
|
1330
|
-
name: string;
|
|
1331
|
-
maxContextTokens: number;
|
|
1332
1329
|
id: string;
|
|
1330
|
+
name: string;
|
|
1331
|
+
provider: "anthropic" | "openai" | "ollama" | "custom";
|
|
1333
1332
|
apiModel: string;
|
|
1333
|
+
maxContextTokens: number;
|
|
1334
1334
|
capabilities: string[];
|
|
1335
1335
|
endpoint?: string | undefined;
|
|
1336
1336
|
apiKeyEnvVar?: string | undefined;
|
|
@@ -1338,13 +1338,13 @@ export declare const MultiModelSchema: z.ZodObject<{
|
|
|
1338
1338
|
costPer1MOutput?: number | undefined;
|
|
1339
1339
|
modelContextBudget?: number | undefined;
|
|
1340
1340
|
}, {
|
|
1341
|
-
provider: "custom" | "anthropic" | "openai" | "ollama";
|
|
1342
|
-
name: string;
|
|
1343
1341
|
id: string;
|
|
1342
|
+
name: string;
|
|
1343
|
+
provider: "anthropic" | "openai" | "ollama" | "custom";
|
|
1344
1344
|
apiModel: string;
|
|
1345
1345
|
endpoint?: string | undefined;
|
|
1346
|
-
maxContextTokens?: number | undefined;
|
|
1347
1346
|
apiKeyEnvVar?: string | undefined;
|
|
1347
|
+
maxContextTokens?: number | undefined;
|
|
1348
1348
|
costPer1MInput?: number | undefined;
|
|
1349
1349
|
costPer1MOutput?: number | undefined;
|
|
1350
1350
|
capabilities?: string[] | undefined;
|
|
@@ -1377,12 +1377,12 @@ export declare const MultiModelSchema: z.ZodObject<{
|
|
|
1377
1377
|
priority: number;
|
|
1378
1378
|
complexity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
1379
1379
|
keywords?: string[] | undefined;
|
|
1380
|
-
taskType?: "planning" | "coding" | "refactoring" | "bug-fix" | "
|
|
1380
|
+
taskType?: "planning" | "review" | "coding" | "refactoring" | "bug-fix" | "documentation" | undefined;
|
|
1381
1381
|
}, {
|
|
1382
1382
|
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
1383
1383
|
complexity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
1384
1384
|
keywords?: string[] | undefined;
|
|
1385
|
-
taskType?: "planning" | "coding" | "refactoring" | "bug-fix" | "
|
|
1385
|
+
taskType?: "planning" | "review" | "coding" | "refactoring" | "bug-fix" | "documentation" | undefined;
|
|
1386
1386
|
priority?: number | undefined;
|
|
1387
1387
|
}>, "many">>;
|
|
1388
1388
|
costOptimization: z.ZodOptional<z.ZodObject<{
|
|
@@ -1441,11 +1441,11 @@ export declare const MultiModelSchema: z.ZodObject<{
|
|
|
1441
1441
|
}, "strip", z.ZodTypeAny, {
|
|
1442
1442
|
enabled: boolean;
|
|
1443
1443
|
models: (string | {
|
|
1444
|
-
provider: "custom" | "anthropic" | "openai" | "ollama";
|
|
1445
|
-
name: string;
|
|
1446
|
-
maxContextTokens: number;
|
|
1447
1444
|
id: string;
|
|
1445
|
+
name: string;
|
|
1446
|
+
provider: "anthropic" | "openai" | "ollama" | "custom";
|
|
1448
1447
|
apiModel: string;
|
|
1448
|
+
maxContextTokens: number;
|
|
1449
1449
|
capabilities: string[];
|
|
1450
1450
|
endpoint?: string | undefined;
|
|
1451
1451
|
apiKeyEnvVar?: string | undefined;
|
|
@@ -1465,7 +1465,7 @@ export declare const MultiModelSchema: z.ZodObject<{
|
|
|
1465
1465
|
priority: number;
|
|
1466
1466
|
complexity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
1467
1467
|
keywords?: string[] | undefined;
|
|
1468
|
-
taskType?: "planning" | "coding" | "refactoring" | "bug-fix" | "
|
|
1468
|
+
taskType?: "planning" | "review" | "coding" | "refactoring" | "bug-fix" | "documentation" | undefined;
|
|
1469
1469
|
}[] | undefined;
|
|
1470
1470
|
costOptimization?: {
|
|
1471
1471
|
enabled: boolean;
|
|
@@ -1490,13 +1490,13 @@ export declare const MultiModelSchema: z.ZodObject<{
|
|
|
1490
1490
|
}, {
|
|
1491
1491
|
enabled?: boolean | undefined;
|
|
1492
1492
|
models?: (string | {
|
|
1493
|
-
provider: "custom" | "anthropic" | "openai" | "ollama";
|
|
1494
|
-
name: string;
|
|
1495
1493
|
id: string;
|
|
1494
|
+
name: string;
|
|
1495
|
+
provider: "anthropic" | "openai" | "ollama" | "custom";
|
|
1496
1496
|
apiModel: string;
|
|
1497
1497
|
endpoint?: string | undefined;
|
|
1498
|
-
maxContextTokens?: number | undefined;
|
|
1499
1498
|
apiKeyEnvVar?: string | undefined;
|
|
1499
|
+
maxContextTokens?: number | undefined;
|
|
1500
1500
|
costPer1MInput?: number | undefined;
|
|
1501
1501
|
costPer1MOutput?: number | undefined;
|
|
1502
1502
|
capabilities?: string[] | undefined;
|
|
@@ -1512,7 +1512,7 @@ export declare const MultiModelSchema: z.ZodObject<{
|
|
|
1512
1512
|
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
1513
1513
|
complexity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
1514
1514
|
keywords?: string[] | undefined;
|
|
1515
|
-
taskType?: "planning" | "coding" | "refactoring" | "bug-fix" | "
|
|
1515
|
+
taskType?: "planning" | "review" | "coding" | "refactoring" | "bug-fix" | "documentation" | undefined;
|
|
1516
1516
|
priority?: number | undefined;
|
|
1517
1517
|
}[] | undefined;
|
|
1518
1518
|
costOptimization?: {
|
|
@@ -1640,7 +1640,7 @@ export declare const AgentExecutionSchema: z.ZodObject<{
|
|
|
1640
1640
|
cwdInjection: boolean;
|
|
1641
1641
|
softBudget: number;
|
|
1642
1642
|
hardBudget: number;
|
|
1643
|
-
toolChoiceForce: "
|
|
1643
|
+
toolChoiceForce: "required" | "auto" | "none";
|
|
1644
1644
|
}, {
|
|
1645
1645
|
domainHints?: boolean | undefined;
|
|
1646
1646
|
prependNotReplaceLoopBreaker?: boolean | undefined;
|
|
@@ -1661,7 +1661,7 @@ export declare const AgentExecutionSchema: z.ZodObject<{
|
|
|
1661
1661
|
cwdInjection?: boolean | undefined;
|
|
1662
1662
|
softBudget?: number | undefined;
|
|
1663
1663
|
hardBudget?: number | undefined;
|
|
1664
|
-
toolChoiceForce?: "
|
|
1664
|
+
toolChoiceForce?: "required" | "auto" | "none" | undefined;
|
|
1665
1665
|
}>;
|
|
1666
1666
|
export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
1667
1667
|
$schema: z.ZodOptional<z.ZodString>;
|
|
@@ -1856,14 +1856,14 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
1856
1856
|
maxEntries: z.ZodDefault<z.ZodNumber>;
|
|
1857
1857
|
forceDesktop: z.ZodOptional<z.ZodBoolean>;
|
|
1858
1858
|
}, "strip", z.ZodTypeAny, {
|
|
1859
|
-
enabled: boolean;
|
|
1860
1859
|
path: string;
|
|
1860
|
+
enabled: boolean;
|
|
1861
1861
|
maxEntries: number;
|
|
1862
1862
|
webDatabase?: string | undefined;
|
|
1863
1863
|
forceDesktop?: boolean | undefined;
|
|
1864
1864
|
}, {
|
|
1865
|
-
enabled?: boolean | undefined;
|
|
1866
1865
|
path?: string | undefined;
|
|
1866
|
+
enabled?: boolean | undefined;
|
|
1867
1867
|
webDatabase?: string | undefined;
|
|
1868
1868
|
maxEntries?: number | undefined;
|
|
1869
1869
|
forceDesktop?: boolean | undefined;
|
|
@@ -1881,14 +1881,14 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
1881
1881
|
path: z.ZodDefault<z.ZodString>;
|
|
1882
1882
|
branch: z.ZodDefault<z.ZodString>;
|
|
1883
1883
|
}, "strip", z.ZodTypeAny, {
|
|
1884
|
-
enabled: boolean;
|
|
1885
1884
|
path: string;
|
|
1885
|
+
enabled: boolean;
|
|
1886
1886
|
branch: string;
|
|
1887
1887
|
repo?: string | undefined;
|
|
1888
1888
|
token?: string | undefined;
|
|
1889
1889
|
}, {
|
|
1890
|
-
enabled?: boolean | undefined;
|
|
1891
1890
|
path?: string | undefined;
|
|
1891
|
+
enabled?: boolean | undefined;
|
|
1892
1892
|
repo?: string | undefined;
|
|
1893
1893
|
token?: string | undefined;
|
|
1894
1894
|
branch?: string | undefined;
|
|
@@ -1952,9 +1952,9 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
1952
1952
|
url?: string | undefined;
|
|
1953
1953
|
apiKey?: string | undefined;
|
|
1954
1954
|
}, {
|
|
1955
|
+
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
1955
1956
|
url?: string | undefined;
|
|
1956
1957
|
apiKey?: string | undefined;
|
|
1957
|
-
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
1958
1958
|
region?: string | undefined;
|
|
1959
1959
|
keepWarm?: boolean | undefined;
|
|
1960
1960
|
warmIntervalMs?: number | undefined;
|
|
@@ -2017,9 +2017,9 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2017
2017
|
healthCheckIntervalMs?: number | undefined;
|
|
2018
2018
|
} | undefined;
|
|
2019
2019
|
cloudServerless?: {
|
|
2020
|
+
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
2020
2021
|
url?: string | undefined;
|
|
2021
2022
|
apiKey?: string | undefined;
|
|
2022
|
-
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
2023
2023
|
region?: string | undefined;
|
|
2024
2024
|
keepWarm?: boolean | undefined;
|
|
2025
2025
|
warmIntervalMs?: number | undefined;
|
|
@@ -2027,13 +2027,14 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2027
2027
|
fallbackToMemory?: boolean | undefined;
|
|
2028
2028
|
}>>;
|
|
2029
2029
|
}, "strip", z.ZodTypeAny, {
|
|
2030
|
+
provider: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none";
|
|
2030
2031
|
enabled: boolean;
|
|
2031
2032
|
collection: string;
|
|
2032
|
-
provider: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none";
|
|
2033
2033
|
embeddingModel: string;
|
|
2034
|
+
endpoint?: string | undefined;
|
|
2034
2035
|
github?: {
|
|
2035
|
-
enabled: boolean;
|
|
2036
2036
|
path: string;
|
|
2037
|
+
enabled: boolean;
|
|
2037
2038
|
branch: string;
|
|
2038
2039
|
repo?: string | undefined;
|
|
2039
2040
|
token?: string | undefined;
|
|
@@ -2065,7 +2066,6 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2065
2066
|
apiKey?: string | undefined;
|
|
2066
2067
|
} | undefined;
|
|
2067
2068
|
} | undefined;
|
|
2068
|
-
endpoint?: string | undefined;
|
|
2069
2069
|
qdrantCloud?: {
|
|
2070
2070
|
enabled: boolean;
|
|
2071
2071
|
collection: string;
|
|
@@ -2073,12 +2073,13 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2073
2073
|
apiKey?: string | undefined;
|
|
2074
2074
|
} | undefined;
|
|
2075
2075
|
}, {
|
|
2076
|
+
provider?: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none" | undefined;
|
|
2077
|
+
endpoint?: string | undefined;
|
|
2076
2078
|
enabled?: boolean | undefined;
|
|
2077
2079
|
collection?: string | undefined;
|
|
2078
|
-
provider?: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none" | undefined;
|
|
2079
2080
|
github?: {
|
|
2080
|
-
enabled?: boolean | undefined;
|
|
2081
2081
|
path?: string | undefined;
|
|
2082
|
+
enabled?: boolean | undefined;
|
|
2082
2083
|
repo?: string | undefined;
|
|
2083
2084
|
token?: string | undefined;
|
|
2084
2085
|
branch?: string | undefined;
|
|
@@ -2101,16 +2102,15 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2101
2102
|
healthCheckIntervalMs?: number | undefined;
|
|
2102
2103
|
} | undefined;
|
|
2103
2104
|
cloudServerless?: {
|
|
2105
|
+
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
2104
2106
|
url?: string | undefined;
|
|
2105
2107
|
apiKey?: string | undefined;
|
|
2106
|
-
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
2107
2108
|
region?: string | undefined;
|
|
2108
2109
|
keepWarm?: boolean | undefined;
|
|
2109
2110
|
warmIntervalMs?: number | undefined;
|
|
2110
2111
|
} | undefined;
|
|
2111
2112
|
fallbackToMemory?: boolean | undefined;
|
|
2112
2113
|
} | undefined;
|
|
2113
|
-
endpoint?: string | undefined;
|
|
2114
2114
|
embeddingModel?: string | undefined;
|
|
2115
2115
|
qdrantCloud?: {
|
|
2116
2116
|
enabled?: boolean | undefined;
|
|
@@ -2175,20 +2175,21 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2175
2175
|
skillsDir?: string | undefined;
|
|
2176
2176
|
} | undefined;
|
|
2177
2177
|
shortTerm?: {
|
|
2178
|
-
enabled: boolean;
|
|
2179
2178
|
path: string;
|
|
2179
|
+
enabled: boolean;
|
|
2180
2180
|
maxEntries: number;
|
|
2181
2181
|
webDatabase?: string | undefined;
|
|
2182
2182
|
forceDesktop?: boolean | undefined;
|
|
2183
2183
|
} | undefined;
|
|
2184
2184
|
longTerm?: {
|
|
2185
|
+
provider: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none";
|
|
2185
2186
|
enabled: boolean;
|
|
2186
2187
|
collection: string;
|
|
2187
|
-
provider: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none";
|
|
2188
2188
|
embeddingModel: string;
|
|
2189
|
+
endpoint?: string | undefined;
|
|
2189
2190
|
github?: {
|
|
2190
|
-
enabled: boolean;
|
|
2191
2191
|
path: string;
|
|
2192
|
+
enabled: boolean;
|
|
2192
2193
|
branch: string;
|
|
2193
2194
|
repo?: string | undefined;
|
|
2194
2195
|
token?: string | undefined;
|
|
@@ -2220,7 +2221,6 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2220
2221
|
apiKey?: string | undefined;
|
|
2221
2222
|
} | undefined;
|
|
2222
2223
|
} | undefined;
|
|
2223
|
-
endpoint?: string | undefined;
|
|
2224
2224
|
qdrantCloud?: {
|
|
2225
2225
|
enabled: boolean;
|
|
2226
2226
|
collection: string;
|
|
@@ -2244,19 +2244,20 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2244
2244
|
maxBodyChars?: number | undefined;
|
|
2245
2245
|
} | undefined;
|
|
2246
2246
|
shortTerm?: {
|
|
2247
|
-
enabled?: boolean | undefined;
|
|
2248
2247
|
path?: string | undefined;
|
|
2248
|
+
enabled?: boolean | undefined;
|
|
2249
2249
|
webDatabase?: string | undefined;
|
|
2250
2250
|
maxEntries?: number | undefined;
|
|
2251
2251
|
forceDesktop?: boolean | undefined;
|
|
2252
2252
|
} | undefined;
|
|
2253
2253
|
longTerm?: {
|
|
2254
|
+
provider?: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none" | undefined;
|
|
2255
|
+
endpoint?: string | undefined;
|
|
2254
2256
|
enabled?: boolean | undefined;
|
|
2255
2257
|
collection?: string | undefined;
|
|
2256
|
-
provider?: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none" | undefined;
|
|
2257
2258
|
github?: {
|
|
2258
|
-
enabled?: boolean | undefined;
|
|
2259
2259
|
path?: string | undefined;
|
|
2260
|
+
enabled?: boolean | undefined;
|
|
2260
2261
|
repo?: string | undefined;
|
|
2261
2262
|
token?: string | undefined;
|
|
2262
2263
|
branch?: string | undefined;
|
|
@@ -2279,16 +2280,15 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2279
2280
|
healthCheckIntervalMs?: number | undefined;
|
|
2280
2281
|
} | undefined;
|
|
2281
2282
|
cloudServerless?: {
|
|
2283
|
+
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
2282
2284
|
url?: string | undefined;
|
|
2283
2285
|
apiKey?: string | undefined;
|
|
2284
|
-
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
2285
2286
|
region?: string | undefined;
|
|
2286
2287
|
keepWarm?: boolean | undefined;
|
|
2287
2288
|
warmIntervalMs?: number | undefined;
|
|
2288
2289
|
} | undefined;
|
|
2289
2290
|
fallbackToMemory?: boolean | undefined;
|
|
2290
2291
|
} | undefined;
|
|
2291
|
-
endpoint?: string | undefined;
|
|
2292
2292
|
embeddingModel?: string | undefined;
|
|
2293
2293
|
qdrantCloud?: {
|
|
2294
2294
|
enabled?: boolean | undefined;
|
|
@@ -2412,14 +2412,14 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2412
2412
|
maxContextTokens: z.ZodDefault<z.ZodNumber>;
|
|
2413
2413
|
warningThreshold: z.ZodDefault<z.ZodNumber>;
|
|
2414
2414
|
}, "strip", z.ZodTypeAny, {
|
|
2415
|
+
maxContextTokens: number;
|
|
2415
2416
|
maxTemplateTokens: number;
|
|
2416
2417
|
maxMemoryQueryTokens: number;
|
|
2417
|
-
maxContextTokens: number;
|
|
2418
2418
|
warningThreshold: number;
|
|
2419
2419
|
}, {
|
|
2420
|
+
maxContextTokens?: number | undefined;
|
|
2420
2421
|
maxTemplateTokens?: number | undefined;
|
|
2421
2422
|
maxMemoryQueryTokens?: number | undefined;
|
|
2422
|
-
maxContextTokens?: number | undefined;
|
|
2423
2423
|
warningThreshold?: number | undefined;
|
|
2424
2424
|
}>>;
|
|
2425
2425
|
embeddingBatching: z.ZodOptional<z.ZodObject<{
|
|
@@ -2451,9 +2451,9 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2451
2451
|
}, "strip", z.ZodTypeAny, {
|
|
2452
2452
|
enabled: boolean;
|
|
2453
2453
|
tokenBudget?: {
|
|
2454
|
+
maxContextTokens: number;
|
|
2454
2455
|
maxTemplateTokens: number;
|
|
2455
2456
|
maxMemoryQueryTokens: number;
|
|
2456
|
-
maxContextTokens: number;
|
|
2457
2457
|
warningThreshold: number;
|
|
2458
2458
|
} | undefined;
|
|
2459
2459
|
embeddingBatching?: {
|
|
@@ -2469,9 +2469,9 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2469
2469
|
}, {
|
|
2470
2470
|
enabled?: boolean | undefined;
|
|
2471
2471
|
tokenBudget?: {
|
|
2472
|
+
maxContextTokens?: number | undefined;
|
|
2472
2473
|
maxTemplateTokens?: number | undefined;
|
|
2473
2474
|
maxMemoryQueryTokens?: number | undefined;
|
|
2474
|
-
maxContextTokens?: number | undefined;
|
|
2475
2475
|
warningThreshold?: number | undefined;
|
|
2476
2476
|
} | undefined;
|
|
2477
2477
|
embeddingBatching?: {
|
|
@@ -2495,14 +2495,14 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2495
2495
|
deploy: z.ZodDefault<z.ZodNumber>;
|
|
2496
2496
|
}, "strip", z.ZodTypeAny, {
|
|
2497
2497
|
push: number;
|
|
2498
|
-
commit: number;
|
|
2499
2498
|
merge: number;
|
|
2499
|
+
commit: number;
|
|
2500
2500
|
workflow: number;
|
|
2501
2501
|
deploy: number;
|
|
2502
2502
|
}, {
|
|
2503
2503
|
push?: number | undefined;
|
|
2504
|
-
commit?: number | undefined;
|
|
2505
2504
|
merge?: number | undefined;
|
|
2505
|
+
commit?: number | undefined;
|
|
2506
2506
|
workflow?: number | undefined;
|
|
2507
2507
|
deploy?: number | undefined;
|
|
2508
2508
|
}>>;
|
|
@@ -2533,8 +2533,8 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2533
2533
|
enabled: boolean;
|
|
2534
2534
|
batchWindows?: {
|
|
2535
2535
|
push: number;
|
|
2536
|
-
commit: number;
|
|
2537
2536
|
merge: number;
|
|
2537
|
+
commit: number;
|
|
2538
2538
|
workflow: number;
|
|
2539
2539
|
deploy: number;
|
|
2540
2540
|
} | undefined;
|
|
@@ -2551,8 +2551,8 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2551
2551
|
enabled?: boolean | undefined;
|
|
2552
2552
|
batchWindows?: {
|
|
2553
2553
|
push?: number | undefined;
|
|
2554
|
-
commit?: number | undefined;
|
|
2555
2554
|
merge?: number | undefined;
|
|
2555
|
+
commit?: number | undefined;
|
|
2556
2556
|
workflow?: number | undefined;
|
|
2557
2557
|
deploy?: number | undefined;
|
|
2558
2558
|
} | undefined;
|
|
@@ -2581,11 +2581,11 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2581
2581
|
capabilities: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
2582
2582
|
modelContextBudget: z.ZodOptional<z.ZodNumber>;
|
|
2583
2583
|
}, "strip", z.ZodTypeAny, {
|
|
2584
|
-
provider: "custom" | "anthropic" | "openai" | "ollama";
|
|
2585
|
-
name: string;
|
|
2586
|
-
maxContextTokens: number;
|
|
2587
2584
|
id: string;
|
|
2585
|
+
name: string;
|
|
2586
|
+
provider: "anthropic" | "openai" | "ollama" | "custom";
|
|
2588
2587
|
apiModel: string;
|
|
2588
|
+
maxContextTokens: number;
|
|
2589
2589
|
capabilities: string[];
|
|
2590
2590
|
endpoint?: string | undefined;
|
|
2591
2591
|
apiKeyEnvVar?: string | undefined;
|
|
@@ -2593,13 +2593,13 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2593
2593
|
costPer1MOutput?: number | undefined;
|
|
2594
2594
|
modelContextBudget?: number | undefined;
|
|
2595
2595
|
}, {
|
|
2596
|
-
provider: "custom" | "anthropic" | "openai" | "ollama";
|
|
2597
|
-
name: string;
|
|
2598
2596
|
id: string;
|
|
2597
|
+
name: string;
|
|
2598
|
+
provider: "anthropic" | "openai" | "ollama" | "custom";
|
|
2599
2599
|
apiModel: string;
|
|
2600
2600
|
endpoint?: string | undefined;
|
|
2601
|
-
maxContextTokens?: number | undefined;
|
|
2602
2601
|
apiKeyEnvVar?: string | undefined;
|
|
2602
|
+
maxContextTokens?: number | undefined;
|
|
2603
2603
|
costPer1MInput?: number | undefined;
|
|
2604
2604
|
costPer1MOutput?: number | undefined;
|
|
2605
2605
|
capabilities?: string[] | undefined;
|
|
@@ -2632,12 +2632,12 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2632
2632
|
priority: number;
|
|
2633
2633
|
complexity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
2634
2634
|
keywords?: string[] | undefined;
|
|
2635
|
-
taskType?: "planning" | "coding" | "refactoring" | "bug-fix" | "
|
|
2635
|
+
taskType?: "planning" | "review" | "coding" | "refactoring" | "bug-fix" | "documentation" | undefined;
|
|
2636
2636
|
}, {
|
|
2637
2637
|
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
2638
2638
|
complexity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
2639
2639
|
keywords?: string[] | undefined;
|
|
2640
|
-
taskType?: "planning" | "coding" | "refactoring" | "bug-fix" | "
|
|
2640
|
+
taskType?: "planning" | "review" | "coding" | "refactoring" | "bug-fix" | "documentation" | undefined;
|
|
2641
2641
|
priority?: number | undefined;
|
|
2642
2642
|
}>, "many">>;
|
|
2643
2643
|
costOptimization: z.ZodOptional<z.ZodObject<{
|
|
@@ -2696,11 +2696,11 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2696
2696
|
}, "strip", z.ZodTypeAny, {
|
|
2697
2697
|
enabled: boolean;
|
|
2698
2698
|
models: (string | {
|
|
2699
|
-
provider: "custom" | "anthropic" | "openai" | "ollama";
|
|
2700
|
-
name: string;
|
|
2701
|
-
maxContextTokens: number;
|
|
2702
2699
|
id: string;
|
|
2700
|
+
name: string;
|
|
2701
|
+
provider: "anthropic" | "openai" | "ollama" | "custom";
|
|
2703
2702
|
apiModel: string;
|
|
2703
|
+
maxContextTokens: number;
|
|
2704
2704
|
capabilities: string[];
|
|
2705
2705
|
endpoint?: string | undefined;
|
|
2706
2706
|
apiKeyEnvVar?: string | undefined;
|
|
@@ -2720,7 +2720,7 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2720
2720
|
priority: number;
|
|
2721
2721
|
complexity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
2722
2722
|
keywords?: string[] | undefined;
|
|
2723
|
-
taskType?: "planning" | "coding" | "refactoring" | "bug-fix" | "
|
|
2723
|
+
taskType?: "planning" | "review" | "coding" | "refactoring" | "bug-fix" | "documentation" | undefined;
|
|
2724
2724
|
}[] | undefined;
|
|
2725
2725
|
costOptimization?: {
|
|
2726
2726
|
enabled: boolean;
|
|
@@ -2745,13 +2745,13 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2745
2745
|
}, {
|
|
2746
2746
|
enabled?: boolean | undefined;
|
|
2747
2747
|
models?: (string | {
|
|
2748
|
-
provider: "custom" | "anthropic" | "openai" | "ollama";
|
|
2749
|
-
name: string;
|
|
2750
2748
|
id: string;
|
|
2749
|
+
name: string;
|
|
2750
|
+
provider: "anthropic" | "openai" | "ollama" | "custom";
|
|
2751
2751
|
apiModel: string;
|
|
2752
2752
|
endpoint?: string | undefined;
|
|
2753
|
-
maxContextTokens?: number | undefined;
|
|
2754
2753
|
apiKeyEnvVar?: string | undefined;
|
|
2754
|
+
maxContextTokens?: number | undefined;
|
|
2755
2755
|
costPer1MInput?: number | undefined;
|
|
2756
2756
|
costPer1MOutput?: number | undefined;
|
|
2757
2757
|
capabilities?: string[] | undefined;
|
|
@@ -2767,7 +2767,7 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2767
2767
|
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
2768
2768
|
complexity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
2769
2769
|
keywords?: string[] | undefined;
|
|
2770
|
-
taskType?: "planning" | "coding" | "refactoring" | "bug-fix" | "
|
|
2770
|
+
taskType?: "planning" | "review" | "coding" | "refactoring" | "bug-fix" | "documentation" | undefined;
|
|
2771
2771
|
priority?: number | undefined;
|
|
2772
2772
|
}[] | undefined;
|
|
2773
2773
|
costOptimization?: {
|
|
@@ -2869,7 +2869,7 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2869
2869
|
cwdInjection: boolean;
|
|
2870
2870
|
softBudget: number;
|
|
2871
2871
|
hardBudget: number;
|
|
2872
|
-
toolChoiceForce: "
|
|
2872
|
+
toolChoiceForce: "required" | "auto" | "none";
|
|
2873
2873
|
}, {
|
|
2874
2874
|
domainHints?: boolean | undefined;
|
|
2875
2875
|
prependNotReplaceLoopBreaker?: boolean | undefined;
|
|
@@ -2890,7 +2890,7 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2890
2890
|
cwdInjection?: boolean | undefined;
|
|
2891
2891
|
softBudget?: number | undefined;
|
|
2892
2892
|
hardBudget?: number | undefined;
|
|
2893
|
-
toolChoiceForce?: "
|
|
2893
|
+
toolChoiceForce?: "required" | "auto" | "none" | undefined;
|
|
2894
2894
|
}>>;
|
|
2895
2895
|
patternRL: z.ZodOptional<z.ZodObject<{
|
|
2896
2896
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -2909,25 +2909,12 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2909
2909
|
defaultBranch: string;
|
|
2910
2910
|
description?: string | undefined;
|
|
2911
2911
|
};
|
|
2912
|
-
template?: {
|
|
2913
|
-
extends: string;
|
|
2914
|
-
sections?: {
|
|
2915
|
-
memorySystem: boolean;
|
|
2916
|
-
browserUsage: boolean;
|
|
2917
|
-
decisionLoop: boolean;
|
|
2918
|
-
worktreeWorkflow: boolean;
|
|
2919
|
-
troubleshooting: boolean;
|
|
2920
|
-
augmentedCapabilities: boolean;
|
|
2921
|
-
pipelineOnly: boolean;
|
|
2922
|
-
benchmark: boolean;
|
|
2923
|
-
} | undefined;
|
|
2924
|
-
} | undefined;
|
|
2925
2912
|
costOptimization?: {
|
|
2926
2913
|
enabled: boolean;
|
|
2927
2914
|
tokenBudget?: {
|
|
2915
|
+
maxContextTokens: number;
|
|
2928
2916
|
maxTemplateTokens: number;
|
|
2929
2917
|
maxMemoryQueryTokens: number;
|
|
2930
|
-
maxContextTokens: number;
|
|
2931
2918
|
warningThreshold: number;
|
|
2932
2919
|
} | undefined;
|
|
2933
2920
|
embeddingBatching?: {
|
|
@@ -2941,6 +2928,19 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2941
2928
|
deduplicateQueries: boolean;
|
|
2942
2929
|
} | undefined;
|
|
2943
2930
|
} | undefined;
|
|
2931
|
+
template?: {
|
|
2932
|
+
extends: string;
|
|
2933
|
+
sections?: {
|
|
2934
|
+
memorySystem: boolean;
|
|
2935
|
+
browserUsage: boolean;
|
|
2936
|
+
decisionLoop: boolean;
|
|
2937
|
+
worktreeWorkflow: boolean;
|
|
2938
|
+
troubleshooting: boolean;
|
|
2939
|
+
augmentedCapabilities: boolean;
|
|
2940
|
+
pipelineOnly: boolean;
|
|
2941
|
+
benchmark: boolean;
|
|
2942
|
+
} | undefined;
|
|
2943
|
+
} | undefined;
|
|
2944
2944
|
$schema?: string | undefined;
|
|
2945
2945
|
platforms?: {
|
|
2946
2946
|
claudeCode?: {
|
|
@@ -2995,20 +2995,21 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
2995
2995
|
skillsDir?: string | undefined;
|
|
2996
2996
|
} | undefined;
|
|
2997
2997
|
shortTerm?: {
|
|
2998
|
-
enabled: boolean;
|
|
2999
2998
|
path: string;
|
|
2999
|
+
enabled: boolean;
|
|
3000
3000
|
maxEntries: number;
|
|
3001
3001
|
webDatabase?: string | undefined;
|
|
3002
3002
|
forceDesktop?: boolean | undefined;
|
|
3003
3003
|
} | undefined;
|
|
3004
3004
|
longTerm?: {
|
|
3005
|
+
provider: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none";
|
|
3005
3006
|
enabled: boolean;
|
|
3006
3007
|
collection: string;
|
|
3007
|
-
provider: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none";
|
|
3008
3008
|
embeddingModel: string;
|
|
3009
|
+
endpoint?: string | undefined;
|
|
3009
3010
|
github?: {
|
|
3010
|
-
enabled: boolean;
|
|
3011
3011
|
path: string;
|
|
3012
|
+
enabled: boolean;
|
|
3012
3013
|
branch: string;
|
|
3013
3014
|
repo?: string | undefined;
|
|
3014
3015
|
token?: string | undefined;
|
|
@@ -3040,7 +3041,6 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3040
3041
|
apiKey?: string | undefined;
|
|
3041
3042
|
} | undefined;
|
|
3042
3043
|
} | undefined;
|
|
3043
|
-
endpoint?: string | undefined;
|
|
3044
3044
|
qdrantCloud?: {
|
|
3045
3045
|
enabled: boolean;
|
|
3046
3046
|
collection: string;
|
|
@@ -3072,8 +3072,8 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3072
3072
|
enabled: boolean;
|
|
3073
3073
|
batchWindows?: {
|
|
3074
3074
|
push: number;
|
|
3075
|
-
commit: number;
|
|
3076
3075
|
merge: number;
|
|
3076
|
+
commit: number;
|
|
3077
3077
|
workflow: number;
|
|
3078
3078
|
deploy: number;
|
|
3079
3079
|
} | undefined;
|
|
@@ -3090,11 +3090,11 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3090
3090
|
multiModel?: {
|
|
3091
3091
|
enabled: boolean;
|
|
3092
3092
|
models: (string | {
|
|
3093
|
-
provider: "custom" | "anthropic" | "openai" | "ollama";
|
|
3094
|
-
name: string;
|
|
3095
|
-
maxContextTokens: number;
|
|
3096
3093
|
id: string;
|
|
3094
|
+
name: string;
|
|
3095
|
+
provider: "anthropic" | "openai" | "ollama" | "custom";
|
|
3097
3096
|
apiModel: string;
|
|
3097
|
+
maxContextTokens: number;
|
|
3098
3098
|
capabilities: string[];
|
|
3099
3099
|
endpoint?: string | undefined;
|
|
3100
3100
|
apiKeyEnvVar?: string | undefined;
|
|
@@ -3114,7 +3114,7 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3114
3114
|
priority: number;
|
|
3115
3115
|
complexity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
3116
3116
|
keywords?: string[] | undefined;
|
|
3117
|
-
taskType?: "planning" | "coding" | "refactoring" | "bug-fix" | "
|
|
3117
|
+
taskType?: "planning" | "review" | "coding" | "refactoring" | "bug-fix" | "documentation" | undefined;
|
|
3118
3118
|
}[] | undefined;
|
|
3119
3119
|
costOptimization?: {
|
|
3120
3120
|
enabled: boolean;
|
|
@@ -3157,7 +3157,7 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3157
3157
|
cwdInjection: boolean;
|
|
3158
3158
|
softBudget: number;
|
|
3159
3159
|
hardBudget: number;
|
|
3160
|
-
toolChoiceForce: "
|
|
3160
|
+
toolChoiceForce: "required" | "auto" | "none";
|
|
3161
3161
|
} | undefined;
|
|
3162
3162
|
patternRL?: {
|
|
3163
3163
|
enabled: boolean;
|
|
@@ -3169,25 +3169,12 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3169
3169
|
description?: string | undefined;
|
|
3170
3170
|
defaultBranch?: string | undefined;
|
|
3171
3171
|
};
|
|
3172
|
-
template?: {
|
|
3173
|
-
extends?: string | undefined;
|
|
3174
|
-
sections?: {
|
|
3175
|
-
memorySystem?: boolean | undefined;
|
|
3176
|
-
browserUsage?: boolean | undefined;
|
|
3177
|
-
decisionLoop?: boolean | undefined;
|
|
3178
|
-
worktreeWorkflow?: boolean | undefined;
|
|
3179
|
-
troubleshooting?: boolean | undefined;
|
|
3180
|
-
augmentedCapabilities?: boolean | undefined;
|
|
3181
|
-
pipelineOnly?: boolean | undefined;
|
|
3182
|
-
benchmark?: boolean | undefined;
|
|
3183
|
-
} | undefined;
|
|
3184
|
-
} | undefined;
|
|
3185
3172
|
costOptimization?: {
|
|
3186
3173
|
enabled?: boolean | undefined;
|
|
3187
3174
|
tokenBudget?: {
|
|
3175
|
+
maxContextTokens?: number | undefined;
|
|
3188
3176
|
maxTemplateTokens?: number | undefined;
|
|
3189
3177
|
maxMemoryQueryTokens?: number | undefined;
|
|
3190
|
-
maxContextTokens?: number | undefined;
|
|
3191
3178
|
warningThreshold?: number | undefined;
|
|
3192
3179
|
} | undefined;
|
|
3193
3180
|
embeddingBatching?: {
|
|
@@ -3201,6 +3188,19 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3201
3188
|
deduplicateQueries?: boolean | undefined;
|
|
3202
3189
|
} | undefined;
|
|
3203
3190
|
} | undefined;
|
|
3191
|
+
template?: {
|
|
3192
|
+
extends?: string | undefined;
|
|
3193
|
+
sections?: {
|
|
3194
|
+
memorySystem?: boolean | undefined;
|
|
3195
|
+
browserUsage?: boolean | undefined;
|
|
3196
|
+
decisionLoop?: boolean | undefined;
|
|
3197
|
+
worktreeWorkflow?: boolean | undefined;
|
|
3198
|
+
troubleshooting?: boolean | undefined;
|
|
3199
|
+
augmentedCapabilities?: boolean | undefined;
|
|
3200
|
+
pipelineOnly?: boolean | undefined;
|
|
3201
|
+
benchmark?: boolean | undefined;
|
|
3202
|
+
} | undefined;
|
|
3203
|
+
} | undefined;
|
|
3204
3204
|
$schema?: string | undefined;
|
|
3205
3205
|
version?: string | undefined;
|
|
3206
3206
|
platforms?: {
|
|
@@ -3256,19 +3256,20 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3256
3256
|
maxBodyChars?: number | undefined;
|
|
3257
3257
|
} | undefined;
|
|
3258
3258
|
shortTerm?: {
|
|
3259
|
-
enabled?: boolean | undefined;
|
|
3260
3259
|
path?: string | undefined;
|
|
3260
|
+
enabled?: boolean | undefined;
|
|
3261
3261
|
webDatabase?: string | undefined;
|
|
3262
3262
|
maxEntries?: number | undefined;
|
|
3263
3263
|
forceDesktop?: boolean | undefined;
|
|
3264
3264
|
} | undefined;
|
|
3265
3265
|
longTerm?: {
|
|
3266
|
+
provider?: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none" | undefined;
|
|
3267
|
+
endpoint?: string | undefined;
|
|
3266
3268
|
enabled?: boolean | undefined;
|
|
3267
3269
|
collection?: string | undefined;
|
|
3268
|
-
provider?: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none" | undefined;
|
|
3269
3270
|
github?: {
|
|
3270
|
-
enabled?: boolean | undefined;
|
|
3271
3271
|
path?: string | undefined;
|
|
3272
|
+
enabled?: boolean | undefined;
|
|
3272
3273
|
repo?: string | undefined;
|
|
3273
3274
|
token?: string | undefined;
|
|
3274
3275
|
branch?: string | undefined;
|
|
@@ -3291,16 +3292,15 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3291
3292
|
healthCheckIntervalMs?: number | undefined;
|
|
3292
3293
|
} | undefined;
|
|
3293
3294
|
cloudServerless?: {
|
|
3295
|
+
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
3294
3296
|
url?: string | undefined;
|
|
3295
3297
|
apiKey?: string | undefined;
|
|
3296
|
-
provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
|
|
3297
3298
|
region?: string | undefined;
|
|
3298
3299
|
keepWarm?: boolean | undefined;
|
|
3299
3300
|
warmIntervalMs?: number | undefined;
|
|
3300
3301
|
} | undefined;
|
|
3301
3302
|
fallbackToMemory?: boolean | undefined;
|
|
3302
3303
|
} | undefined;
|
|
3303
|
-
endpoint?: string | undefined;
|
|
3304
3304
|
embeddingModel?: string | undefined;
|
|
3305
3305
|
qdrantCloud?: {
|
|
3306
3306
|
enabled?: boolean | undefined;
|
|
@@ -3333,8 +3333,8 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3333
3333
|
enabled?: boolean | undefined;
|
|
3334
3334
|
batchWindows?: {
|
|
3335
3335
|
push?: number | undefined;
|
|
3336
|
-
commit?: number | undefined;
|
|
3337
3336
|
merge?: number | undefined;
|
|
3337
|
+
commit?: number | undefined;
|
|
3338
3338
|
workflow?: number | undefined;
|
|
3339
3339
|
deploy?: number | undefined;
|
|
3340
3340
|
} | undefined;
|
|
@@ -3351,13 +3351,13 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3351
3351
|
multiModel?: {
|
|
3352
3352
|
enabled?: boolean | undefined;
|
|
3353
3353
|
models?: (string | {
|
|
3354
|
-
provider: "custom" | "anthropic" | "openai" | "ollama";
|
|
3355
|
-
name: string;
|
|
3356
3354
|
id: string;
|
|
3355
|
+
name: string;
|
|
3356
|
+
provider: "anthropic" | "openai" | "ollama" | "custom";
|
|
3357
3357
|
apiModel: string;
|
|
3358
3358
|
endpoint?: string | undefined;
|
|
3359
|
-
maxContextTokens?: number | undefined;
|
|
3360
3359
|
apiKeyEnvVar?: string | undefined;
|
|
3360
|
+
maxContextTokens?: number | undefined;
|
|
3361
3361
|
costPer1MInput?: number | undefined;
|
|
3362
3362
|
costPer1MOutput?: number | undefined;
|
|
3363
3363
|
capabilities?: string[] | undefined;
|
|
@@ -3373,7 +3373,7 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3373
3373
|
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
3374
3374
|
complexity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
3375
3375
|
keywords?: string[] | undefined;
|
|
3376
|
-
taskType?: "planning" | "coding" | "refactoring" | "bug-fix" | "
|
|
3376
|
+
taskType?: "planning" | "review" | "coding" | "refactoring" | "bug-fix" | "documentation" | undefined;
|
|
3377
3377
|
priority?: number | undefined;
|
|
3378
3378
|
}[] | undefined;
|
|
3379
3379
|
costOptimization?: {
|
|
@@ -3418,7 +3418,7 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
|
|
|
3418
3418
|
cwdInjection?: boolean | undefined;
|
|
3419
3419
|
softBudget?: number | undefined;
|
|
3420
3420
|
hardBudget?: number | undefined;
|
|
3421
|
-
toolChoiceForce?: "
|
|
3421
|
+
toolChoiceForce?: "required" | "auto" | "none" | undefined;
|
|
3422
3422
|
} | undefined;
|
|
3423
3423
|
patternRL?: {
|
|
3424
3424
|
enabled?: boolean | undefined;
|