@miller-tech/uap 1.20.51 → 1.22.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.
@@ -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;
@@ -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;
123
122
  url?: string | undefined;
124
123
  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;
188
187
  url?: string | undefined;
189
188
  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
- 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;
@@ -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;
281
280
  url?: string | undefined;
282
281
  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;
346
345
  url?: string | undefined;
347
346
  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,14 +352,13 @@ 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";
356
355
  enabled: boolean;
357
356
  collection: string;
357
+ provider: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none";
358
358
  embeddingModel: string;
359
- endpoint?: string | undefined;
360
359
  github?: {
361
- path: string;
362
360
  enabled: boolean;
361
+ path: string;
363
362
  branch: string;
364
363
  repo?: string | undefined;
365
364
  token?: string | undefined;
@@ -391,6 +390,7 @@ export declare const LongTermMemorySchema: z.ZodObject<{
391
390
  apiKey?: string | undefined;
392
391
  } | undefined;
393
392
  } | undefined;
393
+ endpoint?: string | undefined;
394
394
  qdrantCloud?: {
395
395
  enabled: boolean;
396
396
  collection: string;
@@ -398,13 +398,12 @@ 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;
403
401
  enabled?: boolean | undefined;
404
402
  collection?: string | undefined;
403
+ provider?: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none" | undefined;
405
404
  github?: {
406
- path?: string | undefined;
407
405
  enabled?: boolean | undefined;
406
+ path?: string | undefined;
408
407
  repo?: string | undefined;
409
408
  token?: string | undefined;
410
409
  branch?: string | undefined;
@@ -427,15 +426,16 @@ export declare const LongTermMemorySchema: z.ZodObject<{
427
426
  healthCheckIntervalMs?: number | undefined;
428
427
  } | undefined;
429
428
  cloudServerless?: {
430
- provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
431
429
  url?: string | undefined;
432
430
  apiKey?: string | undefined;
431
+ provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
433
432
  region?: string | undefined;
434
433
  keepWarm?: boolean | undefined;
435
434
  warmIntervalMs?: number | undefined;
436
435
  } | undefined;
437
436
  fallbackToMemory?: boolean | undefined;
438
437
  } | 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
- 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;
@@ -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;
598
597
  url?: string | undefined;
599
598
  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;
663
662
  url?: string | undefined;
664
663
  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,14 +669,13 @@ 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";
673
672
  enabled: boolean;
674
673
  collection: string;
674
+ provider: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none";
675
675
  embeddingModel: string;
676
- endpoint?: string | undefined;
677
676
  github?: {
678
- path: string;
679
677
  enabled: boolean;
678
+ path: string;
680
679
  branch: string;
681
680
  repo?: string | undefined;
682
681
  token?: string | undefined;
@@ -708,6 +707,7 @@ export declare const MemorySchema: z.ZodObject<{
708
707
  apiKey?: string | undefined;
709
708
  } | undefined;
710
709
  } | undefined;
710
+ endpoint?: string | undefined;
711
711
  qdrantCloud?: {
712
712
  enabled: boolean;
713
713
  collection: string;
@@ -715,13 +715,12 @@ 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;
720
718
  enabled?: boolean | undefined;
721
719
  collection?: string | undefined;
720
+ provider?: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none" | undefined;
722
721
  github?: {
723
- path?: string | undefined;
724
722
  enabled?: boolean | undefined;
723
+ path?: string | undefined;
725
724
  repo?: string | undefined;
726
725
  token?: string | undefined;
727
726
  branch?: string | undefined;
@@ -744,15 +743,16 @@ export declare const MemorySchema: z.ZodObject<{
744
743
  healthCheckIntervalMs?: number | undefined;
745
744
  } | undefined;
746
745
  cloudServerless?: {
747
- provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
748
746
  url?: string | undefined;
749
747
  apiKey?: string | undefined;
748
+ provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
750
749
  region?: string | undefined;
751
750
  keepWarm?: boolean | undefined;
752
751
  warmIntervalMs?: number | undefined;
753
752
  } | undefined;
754
753
  fallbackToMemory?: boolean | undefined;
755
754
  } | undefined;
755
+ endpoint?: string | undefined;
756
756
  embeddingModel?: string | undefined;
757
757
  qdrantCloud?: {
758
758
  enabled?: boolean | undefined;
@@ -817,21 +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
- provider: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none";
828
827
  enabled: boolean;
829
828
  collection: string;
829
+ provider: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none";
830
830
  embeddingModel: string;
831
- endpoint?: string | undefined;
832
831
  github?: {
833
- path: string;
834
832
  enabled: boolean;
833
+ path: string;
835
834
  branch: string;
836
835
  repo?: string | undefined;
837
836
  token?: string | undefined;
@@ -863,6 +862,7 @@ export declare const MemorySchema: z.ZodObject<{
863
862
  apiKey?: string | undefined;
864
863
  } | undefined;
865
864
  } | undefined;
865
+ endpoint?: string | undefined;
866
866
  qdrantCloud?: {
867
867
  enabled: boolean;
868
868
  collection: string;
@@ -886,20 +886,19 @@ 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-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none" | undefined;
897
- endpoint?: string | undefined;
898
896
  enabled?: boolean | undefined;
899
897
  collection?: string | undefined;
898
+ provider?: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none" | undefined;
900
899
  github?: {
901
- path?: string | undefined;
902
900
  enabled?: boolean | undefined;
901
+ path?: string | undefined;
903
902
  repo?: string | undefined;
904
903
  token?: string | undefined;
905
904
  branch?: string | undefined;
@@ -922,15 +921,16 @@ export declare const MemorySchema: z.ZodObject<{
922
921
  healthCheckIntervalMs?: number | undefined;
923
922
  } | undefined;
924
923
  cloudServerless?: {
925
- provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
926
924
  url?: string | undefined;
927
925
  apiKey?: string | undefined;
926
+ provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
928
927
  region?: string | undefined;
929
928
  keepWarm?: boolean | undefined;
930
929
  warmIntervalMs?: number | undefined;
931
930
  } | undefined;
932
931
  fallbackToMemory?: boolean | undefined;
933
932
  } | 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;
1102
1101
  maxTemplateTokens: number;
1103
1102
  maxMemoryQueryTokens: number;
1103
+ maxContextTokens: number;
1104
1104
  warningThreshold: number;
1105
1105
  }, {
1106
- maxContextTokens?: number | undefined;
1107
1106
  maxTemplateTokens?: number | undefined;
1108
1107
  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;
1141
1140
  maxTemplateTokens: number;
1142
1141
  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;
1159
1158
  maxTemplateTokens?: number | undefined;
1160
1159
  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
- merge: number;
1188
1187
  commit: number;
1188
+ merge: number;
1189
1189
  workflow: number;
1190
1190
  deploy: number;
1191
1191
  }, {
1192
1192
  push?: number | undefined;
1193
- merge?: number | undefined;
1194
1193
  commit?: number | undefined;
1194
+ merge?: 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
- merge: number;
1226
1225
  commit: number;
1226
+ merge: 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
- merge?: number | undefined;
1244
1243
  commit?: number | undefined;
1244
+ merge?: 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
- id: string;
1273
+ provider: "custom" | "anthropic" | "openai" | "ollama";
1274
1274
  name: string;
1275
- provider: "anthropic" | "openai" | "ollama" | "custom";
1276
- apiModel: string;
1277
1275
  maxContextTokens: number;
1276
+ id: string;
1277
+ apiModel: string;
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
- id: string;
1284
+ provider: "custom" | "anthropic" | "openai" | "ollama";
1285
1285
  name: string;
1286
- provider: "anthropic" | "openai" | "ollama" | "custom";
1286
+ id: string;
1287
1287
  apiModel: string;
1288
1288
  endpoint?: string | undefined;
1289
- apiKeyEnvVar?: string | undefined;
1290
1289
  maxContextTokens?: number | undefined;
1290
+ apiKeyEnvVar?: string | 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" | "review" | "coding" | "refactoring" | "bug-fix" | "documentation" | undefined;
1306
+ taskType?: "planning" | "coding" | "refactoring" | "bug-fix" | "review" | "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" | "review" | "coding" | "refactoring" | "bug-fix" | "documentation" | undefined;
1311
+ taskType?: "planning" | "coding" | "refactoring" | "bug-fix" | "review" | "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
- id: string;
1329
+ provider: "custom" | "anthropic" | "openai" | "ollama";
1330
1330
  name: string;
1331
- provider: "anthropic" | "openai" | "ollama" | "custom";
1332
- apiModel: string;
1333
1331
  maxContextTokens: number;
1332
+ id: string;
1333
+ apiModel: string;
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
- id: string;
1341
+ provider: "custom" | "anthropic" | "openai" | "ollama";
1342
1342
  name: string;
1343
- provider: "anthropic" | "openai" | "ollama" | "custom";
1343
+ id: string;
1344
1344
  apiModel: string;
1345
1345
  endpoint?: string | undefined;
1346
- apiKeyEnvVar?: string | undefined;
1347
1346
  maxContextTokens?: number | undefined;
1347
+ apiKeyEnvVar?: string | 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" | "review" | "coding" | "refactoring" | "bug-fix" | "documentation" | undefined;
1380
+ taskType?: "planning" | "coding" | "refactoring" | "bug-fix" | "review" | "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" | "review" | "coding" | "refactoring" | "bug-fix" | "documentation" | undefined;
1385
+ taskType?: "planning" | "coding" | "refactoring" | "bug-fix" | "review" | "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
- id: string;
1444
+ provider: "custom" | "anthropic" | "openai" | "ollama";
1445
1445
  name: string;
1446
- provider: "anthropic" | "openai" | "ollama" | "custom";
1447
- apiModel: string;
1448
1446
  maxContextTokens: number;
1447
+ id: string;
1448
+ apiModel: string;
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" | "review" | "coding" | "refactoring" | "bug-fix" | "documentation" | undefined;
1468
+ taskType?: "planning" | "coding" | "refactoring" | "bug-fix" | "review" | "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
- id: string;
1493
+ provider: "custom" | "anthropic" | "openai" | "ollama";
1494
1494
  name: string;
1495
- provider: "anthropic" | "openai" | "ollama" | "custom";
1495
+ id: string;
1496
1496
  apiModel: string;
1497
1497
  endpoint?: string | undefined;
1498
- apiKeyEnvVar?: string | undefined;
1499
1498
  maxContextTokens?: number | undefined;
1499
+ apiKeyEnvVar?: string | 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" | "review" | "coding" | "refactoring" | "bug-fix" | "documentation" | undefined;
1515
+ taskType?: "planning" | "coding" | "refactoring" | "bug-fix" | "review" | "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: "required" | "auto" | "none";
1643
+ toolChoiceForce: "auto" | "none" | "required";
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?: "required" | "auto" | "none" | undefined;
1664
+ toolChoiceForce?: "auto" | "none" | "required" | 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
- path: string;
1860
1859
  enabled: boolean;
1860
+ path: string;
1861
1861
  maxEntries: number;
1862
1862
  webDatabase?: string | undefined;
1863
1863
  forceDesktop?: boolean | undefined;
1864
1864
  }, {
1865
- path?: string | undefined;
1866
1865
  enabled?: boolean | undefined;
1866
+ path?: string | 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
- path: string;
1885
1884
  enabled: boolean;
1885
+ path: string;
1886
1886
  branch: string;
1887
1887
  repo?: string | undefined;
1888
1888
  token?: string | undefined;
1889
1889
  }, {
1890
- path?: string | undefined;
1891
1890
  enabled?: boolean | undefined;
1891
+ path?: string | 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;
1956
1955
  url?: string | undefined;
1957
1956
  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;
2021
2020
  url?: string | undefined;
2022
2021
  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,14 +2027,13 @@ 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";
2031
2030
  enabled: boolean;
2032
2031
  collection: string;
2032
+ provider: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none";
2033
2033
  embeddingModel: string;
2034
- endpoint?: string | undefined;
2035
2034
  github?: {
2036
- path: string;
2037
2035
  enabled: boolean;
2036
+ path: string;
2038
2037
  branch: string;
2039
2038
  repo?: string | undefined;
2040
2039
  token?: string | undefined;
@@ -2066,6 +2065,7 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
2066
2065
  apiKey?: string | undefined;
2067
2066
  } | undefined;
2068
2067
  } | undefined;
2068
+ endpoint?: string | undefined;
2069
2069
  qdrantCloud?: {
2070
2070
  enabled: boolean;
2071
2071
  collection: string;
@@ -2073,13 +2073,12 @@ 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;
2078
2076
  enabled?: boolean | undefined;
2079
2077
  collection?: string | undefined;
2078
+ provider?: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none" | undefined;
2080
2079
  github?: {
2081
- path?: string | undefined;
2082
2080
  enabled?: boolean | undefined;
2081
+ path?: string | undefined;
2083
2082
  repo?: string | undefined;
2084
2083
  token?: string | undefined;
2085
2084
  branch?: string | undefined;
@@ -2102,15 +2101,16 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
2102
2101
  healthCheckIntervalMs?: number | undefined;
2103
2102
  } | undefined;
2104
2103
  cloudServerless?: {
2105
- provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
2106
2104
  url?: string | undefined;
2107
2105
  apiKey?: string | undefined;
2106
+ provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
2108
2107
  region?: string | undefined;
2109
2108
  keepWarm?: boolean | undefined;
2110
2109
  warmIntervalMs?: number | undefined;
2111
2110
  } | undefined;
2112
2111
  fallbackToMemory?: boolean | undefined;
2113
2112
  } | undefined;
2113
+ endpoint?: string | undefined;
2114
2114
  embeddingModel?: string | undefined;
2115
2115
  qdrantCloud?: {
2116
2116
  enabled?: boolean | undefined;
@@ -2175,21 +2175,20 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
2175
2175
  skillsDir?: string | undefined;
2176
2176
  } | undefined;
2177
2177
  shortTerm?: {
2178
- path: string;
2179
2178
  enabled: boolean;
2179
+ path: string;
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";
2186
2185
  enabled: boolean;
2187
2186
  collection: string;
2187
+ provider: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none";
2188
2188
  embeddingModel: string;
2189
- endpoint?: string | undefined;
2190
2189
  github?: {
2191
- path: string;
2192
2190
  enabled: boolean;
2191
+ path: string;
2193
2192
  branch: string;
2194
2193
  repo?: string | undefined;
2195
2194
  token?: string | undefined;
@@ -2221,6 +2220,7 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
2221
2220
  apiKey?: string | undefined;
2222
2221
  } | undefined;
2223
2222
  } | undefined;
2223
+ endpoint?: string | undefined;
2224
2224
  qdrantCloud?: {
2225
2225
  enabled: boolean;
2226
2226
  collection: string;
@@ -2244,20 +2244,19 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
2244
2244
  maxBodyChars?: number | undefined;
2245
2245
  } | undefined;
2246
2246
  shortTerm?: {
2247
- path?: string | undefined;
2248
2247
  enabled?: boolean | undefined;
2248
+ path?: string | 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;
2256
2254
  enabled?: boolean | undefined;
2257
2255
  collection?: string | undefined;
2256
+ provider?: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none" | undefined;
2258
2257
  github?: {
2259
- path?: string | undefined;
2260
2258
  enabled?: boolean | undefined;
2259
+ path?: string | undefined;
2261
2260
  repo?: string | undefined;
2262
2261
  token?: string | undefined;
2263
2262
  branch?: string | undefined;
@@ -2280,15 +2279,16 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
2280
2279
  healthCheckIntervalMs?: number | undefined;
2281
2280
  } | undefined;
2282
2281
  cloudServerless?: {
2283
- provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
2284
2282
  url?: string | undefined;
2285
2283
  apiKey?: string | undefined;
2284
+ provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
2286
2285
  region?: string | undefined;
2287
2286
  keepWarm?: boolean | undefined;
2288
2287
  warmIntervalMs?: number | undefined;
2289
2288
  } | undefined;
2290
2289
  fallbackToMemory?: boolean | undefined;
2291
2290
  } | 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;
2416
2415
  maxTemplateTokens: number;
2417
2416
  maxMemoryQueryTokens: number;
2417
+ maxContextTokens: number;
2418
2418
  warningThreshold: number;
2419
2419
  }, {
2420
- maxContextTokens?: number | undefined;
2421
2420
  maxTemplateTokens?: number | undefined;
2422
2421
  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;
2455
2454
  maxTemplateTokens: number;
2456
2455
  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;
2473
2472
  maxTemplateTokens?: number | undefined;
2474
2473
  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
- merge: number;
2499
2498
  commit: number;
2499
+ merge: number;
2500
2500
  workflow: number;
2501
2501
  deploy: number;
2502
2502
  }, {
2503
2503
  push?: number | undefined;
2504
- merge?: number | undefined;
2505
2504
  commit?: number | undefined;
2505
+ merge?: 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
- merge: number;
2537
2536
  commit: number;
2537
+ merge: 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
- merge?: number | undefined;
2555
2554
  commit?: number | undefined;
2555
+ merge?: 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
- id: string;
2584
+ provider: "custom" | "anthropic" | "openai" | "ollama";
2585
2585
  name: string;
2586
- provider: "anthropic" | "openai" | "ollama" | "custom";
2587
- apiModel: string;
2588
2586
  maxContextTokens: number;
2587
+ id: string;
2588
+ apiModel: string;
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
- id: string;
2596
+ provider: "custom" | "anthropic" | "openai" | "ollama";
2597
2597
  name: string;
2598
- provider: "anthropic" | "openai" | "ollama" | "custom";
2598
+ id: string;
2599
2599
  apiModel: string;
2600
2600
  endpoint?: string | undefined;
2601
- apiKeyEnvVar?: string | undefined;
2602
2601
  maxContextTokens?: number | undefined;
2602
+ apiKeyEnvVar?: string | 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" | "review" | "coding" | "refactoring" | "bug-fix" | "documentation" | undefined;
2635
+ taskType?: "planning" | "coding" | "refactoring" | "bug-fix" | "review" | "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" | "review" | "coding" | "refactoring" | "bug-fix" | "documentation" | undefined;
2640
+ taskType?: "planning" | "coding" | "refactoring" | "bug-fix" | "review" | "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
- id: string;
2699
+ provider: "custom" | "anthropic" | "openai" | "ollama";
2700
2700
  name: string;
2701
- provider: "anthropic" | "openai" | "ollama" | "custom";
2702
- apiModel: string;
2703
2701
  maxContextTokens: number;
2702
+ id: string;
2703
+ apiModel: string;
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" | "review" | "coding" | "refactoring" | "bug-fix" | "documentation" | undefined;
2723
+ taskType?: "planning" | "coding" | "refactoring" | "bug-fix" | "review" | "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
- id: string;
2748
+ provider: "custom" | "anthropic" | "openai" | "ollama";
2749
2749
  name: string;
2750
- provider: "anthropic" | "openai" | "ollama" | "custom";
2750
+ id: string;
2751
2751
  apiModel: string;
2752
2752
  endpoint?: string | undefined;
2753
- apiKeyEnvVar?: string | undefined;
2754
2753
  maxContextTokens?: number | undefined;
2754
+ apiKeyEnvVar?: string | 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" | "review" | "coding" | "refactoring" | "bug-fix" | "documentation" | undefined;
2770
+ taskType?: "planning" | "coding" | "refactoring" | "bug-fix" | "review" | "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: "required" | "auto" | "none";
2872
+ toolChoiceForce: "auto" | "none" | "required";
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?: "required" | "auto" | "none" | undefined;
2893
+ toolChoiceForce?: "auto" | "none" | "required" | undefined;
2894
2894
  }>>;
2895
2895
  patternRL: z.ZodOptional<z.ZodObject<{
2896
2896
  enabled: z.ZodDefault<z.ZodBoolean>;
@@ -2909,12 +2909,25 @@ 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;
2912
2925
  costOptimization?: {
2913
2926
  enabled: boolean;
2914
2927
  tokenBudget?: {
2915
- maxContextTokens: number;
2916
2928
  maxTemplateTokens: number;
2917
2929
  maxMemoryQueryTokens: number;
2930
+ maxContextTokens: number;
2918
2931
  warningThreshold: number;
2919
2932
  } | undefined;
2920
2933
  embeddingBatching?: {
@@ -2928,19 +2941,6 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
2928
2941
  deduplicateQueries: boolean;
2929
2942
  } | undefined;
2930
2943
  } | 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,21 +2995,20 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
2995
2995
  skillsDir?: string | undefined;
2996
2996
  } | undefined;
2997
2997
  shortTerm?: {
2998
- path: string;
2999
2998
  enabled: boolean;
2999
+ path: string;
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";
3006
3005
  enabled: boolean;
3007
3006
  collection: string;
3007
+ provider: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none";
3008
3008
  embeddingModel: string;
3009
- endpoint?: string | undefined;
3010
3009
  github?: {
3011
- path: string;
3012
3010
  enabled: boolean;
3011
+ path: string;
3013
3012
  branch: string;
3014
3013
  repo?: string | undefined;
3015
3014
  token?: string | undefined;
@@ -3041,6 +3040,7 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
3041
3040
  apiKey?: string | undefined;
3042
3041
  } | undefined;
3043
3042
  } | 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
- merge: number;
3076
3075
  commit: number;
3076
+ merge: 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
- id: string;
3093
+ provider: "custom" | "anthropic" | "openai" | "ollama";
3094
3094
  name: string;
3095
- provider: "anthropic" | "openai" | "ollama" | "custom";
3096
- apiModel: string;
3097
3095
  maxContextTokens: number;
3096
+ id: string;
3097
+ apiModel: string;
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" | "review" | "coding" | "refactoring" | "bug-fix" | "documentation" | undefined;
3117
+ taskType?: "planning" | "coding" | "refactoring" | "bug-fix" | "review" | "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: "required" | "auto" | "none";
3160
+ toolChoiceForce: "auto" | "none" | "required";
3161
3161
  } | undefined;
3162
3162
  patternRL?: {
3163
3163
  enabled: boolean;
@@ -3169,12 +3169,25 @@ 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;
3172
3185
  costOptimization?: {
3173
3186
  enabled?: boolean | undefined;
3174
3187
  tokenBudget?: {
3175
- maxContextTokens?: number | undefined;
3176
3188
  maxTemplateTokens?: number | undefined;
3177
3189
  maxMemoryQueryTokens?: number | undefined;
3190
+ maxContextTokens?: number | undefined;
3178
3191
  warningThreshold?: number | undefined;
3179
3192
  } | undefined;
3180
3193
  embeddingBatching?: {
@@ -3188,19 +3201,6 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
3188
3201
  deduplicateQueries?: boolean | undefined;
3189
3202
  } | undefined;
3190
3203
  } | 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,20 +3256,19 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
3256
3256
  maxBodyChars?: number | undefined;
3257
3257
  } | undefined;
3258
3258
  shortTerm?: {
3259
- path?: string | undefined;
3260
3259
  enabled?: boolean | undefined;
3260
+ path?: string | 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;
3268
3266
  enabled?: boolean | undefined;
3269
3267
  collection?: string | undefined;
3268
+ provider?: "qdrant-cloud" | "qdrant" | "chroma" | "pinecone" | "github" | "serverless" | "none" | undefined;
3270
3269
  github?: {
3271
- path?: string | undefined;
3272
3270
  enabled?: boolean | undefined;
3271
+ path?: string | undefined;
3273
3272
  repo?: string | undefined;
3274
3273
  token?: string | undefined;
3275
3274
  branch?: string | undefined;
@@ -3292,15 +3291,16 @@ export declare const AgentContextConfigSchema: z.ZodObject<{
3292
3291
  healthCheckIntervalMs?: number | undefined;
3293
3292
  } | undefined;
3294
3293
  cloudServerless?: {
3295
- provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
3296
3294
  url?: string | undefined;
3297
3295
  apiKey?: string | undefined;
3296
+ provider?: "qdrant-cloud" | "aws-lambda" | "cloudflare-workers" | undefined;
3298
3297
  region?: string | undefined;
3299
3298
  keepWarm?: boolean | undefined;
3300
3299
  warmIntervalMs?: number | undefined;
3301
3300
  } | undefined;
3302
3301
  fallbackToMemory?: boolean | undefined;
3303
3302
  } | 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
- merge?: number | undefined;
3337
3336
  commit?: number | undefined;
3337
+ merge?: 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
- id: string;
3354
+ provider: "custom" | "anthropic" | "openai" | "ollama";
3355
3355
  name: string;
3356
- provider: "anthropic" | "openai" | "ollama" | "custom";
3356
+ id: string;
3357
3357
  apiModel: string;
3358
3358
  endpoint?: string | undefined;
3359
- apiKeyEnvVar?: string | undefined;
3360
3359
  maxContextTokens?: number | undefined;
3360
+ apiKeyEnvVar?: string | 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" | "review" | "coding" | "refactoring" | "bug-fix" | "documentation" | undefined;
3376
+ taskType?: "planning" | "coding" | "refactoring" | "bug-fix" | "review" | "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?: "required" | "auto" | "none" | undefined;
3421
+ toolChoiceForce?: "auto" | "none" | "required" | undefined;
3422
3422
  } | undefined;
3423
3423
  patternRL?: {
3424
3424
  enabled?: boolean | undefined;