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