agent-shim 14.10.0 → 14.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -3
- package/dist/cli.cjs +18150 -15734
- package/dist/index.cjs +2970 -1507
- package/dist/index.mjs +2942 -1480
- package/dist/types/index.d.ts +1241 -1002
- package/package.json +3 -2
package/dist/types/index.d.ts
CHANGED
|
@@ -302,13 +302,13 @@ declare const LaunchSchema: z.ZodObject<{
|
|
|
302
302
|
route: "route";
|
|
303
303
|
account: "account";
|
|
304
304
|
provider: "provider";
|
|
305
|
-
version: "version";
|
|
306
|
-
headroom: "headroom";
|
|
307
305
|
duration: "duration";
|
|
306
|
+
headroom: "headroom";
|
|
308
307
|
project: "project";
|
|
309
308
|
vcs: "vcs";
|
|
310
309
|
effort: "effort";
|
|
311
310
|
advisor: "advisor";
|
|
311
|
+
version: "version";
|
|
312
312
|
outputStyle: "outputStyle";
|
|
313
313
|
cost: "cost";
|
|
314
314
|
dailyCost: "dailyCost";
|
|
@@ -319,10 +319,10 @@ declare const LaunchSchema: z.ZodObject<{
|
|
|
319
319
|
rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
320
320
|
context: "context";
|
|
321
321
|
quota: "quota";
|
|
322
|
-
environment: "environment";
|
|
323
322
|
addedDirs: "addedDirs";
|
|
324
323
|
gitFiles: "gitFiles";
|
|
325
324
|
memory: "memory";
|
|
325
|
+
environment: "environment";
|
|
326
326
|
sessionTime: "sessionTime";
|
|
327
327
|
promptCache: "promptCache";
|
|
328
328
|
compactions: "compactions";
|
|
@@ -345,10 +345,10 @@ declare const LaunchSchema: z.ZodObject<{
|
|
|
345
345
|
merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
|
|
346
346
|
context: "context";
|
|
347
347
|
quota: "quota";
|
|
348
|
-
environment: "environment";
|
|
349
348
|
addedDirs: "addedDirs";
|
|
350
349
|
gitFiles: "gitFiles";
|
|
351
350
|
memory: "memory";
|
|
351
|
+
environment: "environment";
|
|
352
352
|
sessionTime: "sessionTime";
|
|
353
353
|
promptCache: "promptCache";
|
|
354
354
|
compactions: "compactions";
|
|
@@ -362,10 +362,10 @@ declare const LaunchSchema: z.ZodObject<{
|
|
|
362
362
|
rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
363
363
|
context: "context";
|
|
364
364
|
quota: "quota";
|
|
365
|
-
environment: "environment";
|
|
366
365
|
addedDirs: "addedDirs";
|
|
367
366
|
gitFiles: "gitFiles";
|
|
368
367
|
memory: "memory";
|
|
368
|
+
environment: "environment";
|
|
369
369
|
sessionTime: "sessionTime";
|
|
370
370
|
promptCache: "promptCache";
|
|
371
371
|
compactions: "compactions";
|
|
@@ -424,10 +424,10 @@ declare const LaunchSchema: z.ZodObject<{
|
|
|
424
424
|
hidden: "hidden";
|
|
425
425
|
}>>;
|
|
426
426
|
value: z.ZodOptional<z.ZodEnum<{
|
|
427
|
-
remaining: "remaining";
|
|
428
427
|
tokens: "tokens";
|
|
429
428
|
both: "both";
|
|
430
429
|
percent: "percent";
|
|
430
|
+
remaining: "remaining";
|
|
431
431
|
}>>;
|
|
432
432
|
estimate: z.ZodOptional<z.ZodEnum<{
|
|
433
433
|
never: "never";
|
|
@@ -469,8 +469,8 @@ declare const LaunchSchema: z.ZodObject<{
|
|
|
469
469
|
}, z.core.$strict>>;
|
|
470
470
|
usage: z.ZodOptional<z.ZodObject<{
|
|
471
471
|
value: z.ZodOptional<z.ZodEnum<{
|
|
472
|
-
used: "used";
|
|
473
472
|
remaining: "remaining";
|
|
473
|
+
used: "used";
|
|
474
474
|
}>>;
|
|
475
475
|
bar: z.ZodOptional<z.ZodBoolean>;
|
|
476
476
|
compact: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -932,6 +932,9 @@ declare const CredentialSchema: z.ZodObject<{
|
|
|
932
932
|
type Credential = z.infer<typeof CredentialSchema>;
|
|
933
933
|
/** The kinds of provider: `http` is an Anthropic Messages endpoint at a fixed `baseUrl` (the default when `kind` is absent), and `codex` is ChatGPT's Codex backend reached through agent-shim's own supervised translation daemon. */
|
|
934
934
|
declare const PROVIDER_KINDS: readonly ["http", "codex", "antigravity", "router"];
|
|
935
|
+
/** The Claude model tiers a provider maps onto its own models, highest first. */
|
|
936
|
+
declare const CLAUDE_TIERS: readonly ["fable", "opus", "sonnet", "haiku"];
|
|
937
|
+
type ClaudeTier = (typeof CLAUDE_TIERS)[number];
|
|
935
938
|
/**
|
|
936
939
|
* How an Antigravity provider translates Claude Code's requests and connects to its backend.
|
|
937
940
|
*/
|
|
@@ -944,8 +947,8 @@ declare const AntigravityProviderConfigSchema: z.ZodObject<{
|
|
|
944
947
|
models: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
945
948
|
degradeDownTiers: z.ZodOptional<z.ZodBoolean>;
|
|
946
949
|
effort: z.ZodOptional<z.ZodEnum<{
|
|
947
|
-
none: "none";
|
|
948
950
|
max: "max";
|
|
951
|
+
none: "none";
|
|
949
952
|
low: "low";
|
|
950
953
|
medium: "medium";
|
|
951
954
|
high: "high";
|
|
@@ -1293,8 +1296,8 @@ declare const ProviderSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1293
1296
|
models: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
1294
1297
|
degradeDownTiers: z.ZodOptional<z.ZodBoolean>;
|
|
1295
1298
|
effort: z.ZodOptional<z.ZodEnum<{
|
|
1296
|
-
none: "none";
|
|
1297
1299
|
max: "max";
|
|
1300
|
+
none: "none";
|
|
1298
1301
|
low: "low";
|
|
1299
1302
|
medium: "medium";
|
|
1300
1303
|
high: "high";
|
|
@@ -1540,13 +1543,13 @@ declare const ConfigProfileSchema: z.ZodObject<{
|
|
|
1540
1543
|
route: "route";
|
|
1541
1544
|
account: "account";
|
|
1542
1545
|
provider: "provider";
|
|
1543
|
-
version: "version";
|
|
1544
|
-
headroom: "headroom";
|
|
1545
1546
|
duration: "duration";
|
|
1547
|
+
headroom: "headroom";
|
|
1546
1548
|
project: "project";
|
|
1547
1549
|
vcs: "vcs";
|
|
1548
1550
|
effort: "effort";
|
|
1549
1551
|
advisor: "advisor";
|
|
1552
|
+
version: "version";
|
|
1550
1553
|
outputStyle: "outputStyle";
|
|
1551
1554
|
cost: "cost";
|
|
1552
1555
|
dailyCost: "dailyCost";
|
|
@@ -1557,10 +1560,10 @@ declare const ConfigProfileSchema: z.ZodObject<{
|
|
|
1557
1560
|
rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1558
1561
|
context: "context";
|
|
1559
1562
|
quota: "quota";
|
|
1560
|
-
environment: "environment";
|
|
1561
1563
|
addedDirs: "addedDirs";
|
|
1562
1564
|
gitFiles: "gitFiles";
|
|
1563
1565
|
memory: "memory";
|
|
1566
|
+
environment: "environment";
|
|
1564
1567
|
sessionTime: "sessionTime";
|
|
1565
1568
|
promptCache: "promptCache";
|
|
1566
1569
|
compactions: "compactions";
|
|
@@ -1583,10 +1586,10 @@ declare const ConfigProfileSchema: z.ZodObject<{
|
|
|
1583
1586
|
merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
|
|
1584
1587
|
context: "context";
|
|
1585
1588
|
quota: "quota";
|
|
1586
|
-
environment: "environment";
|
|
1587
1589
|
addedDirs: "addedDirs";
|
|
1588
1590
|
gitFiles: "gitFiles";
|
|
1589
1591
|
memory: "memory";
|
|
1592
|
+
environment: "environment";
|
|
1590
1593
|
sessionTime: "sessionTime";
|
|
1591
1594
|
promptCache: "promptCache";
|
|
1592
1595
|
compactions: "compactions";
|
|
@@ -1600,10 +1603,10 @@ declare const ConfigProfileSchema: z.ZodObject<{
|
|
|
1600
1603
|
rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1601
1604
|
context: "context";
|
|
1602
1605
|
quota: "quota";
|
|
1603
|
-
environment: "environment";
|
|
1604
1606
|
addedDirs: "addedDirs";
|
|
1605
1607
|
gitFiles: "gitFiles";
|
|
1606
1608
|
memory: "memory";
|
|
1609
|
+
environment: "environment";
|
|
1607
1610
|
sessionTime: "sessionTime";
|
|
1608
1611
|
promptCache: "promptCache";
|
|
1609
1612
|
compactions: "compactions";
|
|
@@ -1662,10 +1665,10 @@ declare const ConfigProfileSchema: z.ZodObject<{
|
|
|
1662
1665
|
hidden: "hidden";
|
|
1663
1666
|
}>>;
|
|
1664
1667
|
value: z.ZodOptional<z.ZodEnum<{
|
|
1665
|
-
remaining: "remaining";
|
|
1666
1668
|
tokens: "tokens";
|
|
1667
1669
|
both: "both";
|
|
1668
1670
|
percent: "percent";
|
|
1671
|
+
remaining: "remaining";
|
|
1669
1672
|
}>>;
|
|
1670
1673
|
estimate: z.ZodOptional<z.ZodEnum<{
|
|
1671
1674
|
never: "never";
|
|
@@ -1707,8 +1710,8 @@ declare const ConfigProfileSchema: z.ZodObject<{
|
|
|
1707
1710
|
}, z.core.$strict>>;
|
|
1708
1711
|
usage: z.ZodOptional<z.ZodObject<{
|
|
1709
1712
|
value: z.ZodOptional<z.ZodEnum<{
|
|
1710
|
-
used: "used";
|
|
1711
1713
|
remaining: "remaining";
|
|
1714
|
+
used: "used";
|
|
1712
1715
|
}>>;
|
|
1713
1716
|
bar: z.ZodOptional<z.ZodBoolean>;
|
|
1714
1717
|
compact: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2296,53 +2299,6 @@ declare const DirectoryRuleSchema: z.ZodObject<{
|
|
|
2296
2299
|
key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
2297
2300
|
}, z.core.$strip>], "kind">]>;
|
|
2298
2301
|
}, z.core.$strict>]>>>;
|
|
2299
|
-
models: z.ZodOptional<z.ZodObject<{
|
|
2300
|
-
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
2301
|
-
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
2302
|
-
mode: z.ZodEnum<{
|
|
2303
|
-
ordered: "ordered";
|
|
2304
|
-
"most-allowance": "most-allowance";
|
|
2305
|
-
"soonest-reset": "soonest-reset";
|
|
2306
|
-
spread: "spread";
|
|
2307
|
-
adaptive: "adaptive";
|
|
2308
|
-
"lowest-latency": "lowest-latency";
|
|
2309
|
-
"highest-success": "highest-success";
|
|
2310
|
-
cheapest: "cheapest";
|
|
2311
|
-
}>;
|
|
2312
|
-
members: z.ZodArray<z.ZodString>;
|
|
2313
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
2314
|
-
tiers: z.ZodOptional<z.ZodObject<{
|
|
2315
|
-
fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
2316
|
-
opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
2317
|
-
sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
2318
|
-
haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
2319
|
-
}, z.core.$strict>>;
|
|
2320
|
-
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
2321
|
-
input: z.ZodNumber;
|
|
2322
|
-
output: z.ZodNumber;
|
|
2323
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
2324
|
-
hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2325
|
-
show: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2326
|
-
same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
2327
|
-
distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
|
|
2328
|
-
families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
2329
|
-
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2330
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
2331
|
-
ordered: "ordered";
|
|
2332
|
-
"most-allowance": "most-allowance";
|
|
2333
|
-
"soonest-reset": "soonest-reset";
|
|
2334
|
-
spread: "spread";
|
|
2335
|
-
adaptive: "adaptive";
|
|
2336
|
-
"lowest-latency": "lowest-latency";
|
|
2337
|
-
"highest-success": "highest-success";
|
|
2338
|
-
cheapest: "cheapest";
|
|
2339
|
-
}>>;
|
|
2340
|
-
context: z.ZodOptional<z.ZodNumber>;
|
|
2341
|
-
vision: z.ZodOptional<z.ZodBoolean>;
|
|
2342
|
-
tools: z.ZodOptional<z.ZodBoolean>;
|
|
2343
|
-
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
2344
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
2345
|
-
}, z.core.$strict>>;
|
|
2346
2302
|
$schema: z.ZodOptional<z.ZodString>;
|
|
2347
2303
|
extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2348
2304
|
categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
|
|
@@ -2390,13 +2346,13 @@ declare const DirectoryRuleSchema: z.ZodObject<{
|
|
|
2390
2346
|
route: "route";
|
|
2391
2347
|
account: "account";
|
|
2392
2348
|
provider: "provider";
|
|
2393
|
-
version: "version";
|
|
2394
|
-
headroom: "headroom";
|
|
2395
2349
|
duration: "duration";
|
|
2350
|
+
headroom: "headroom";
|
|
2396
2351
|
project: "project";
|
|
2397
2352
|
vcs: "vcs";
|
|
2398
2353
|
effort: "effort";
|
|
2399
2354
|
advisor: "advisor";
|
|
2355
|
+
version: "version";
|
|
2400
2356
|
outputStyle: "outputStyle";
|
|
2401
2357
|
cost: "cost";
|
|
2402
2358
|
dailyCost: "dailyCost";
|
|
@@ -2407,10 +2363,10 @@ declare const DirectoryRuleSchema: z.ZodObject<{
|
|
|
2407
2363
|
rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2408
2364
|
context: "context";
|
|
2409
2365
|
quota: "quota";
|
|
2410
|
-
environment: "environment";
|
|
2411
2366
|
addedDirs: "addedDirs";
|
|
2412
2367
|
gitFiles: "gitFiles";
|
|
2413
2368
|
memory: "memory";
|
|
2369
|
+
environment: "environment";
|
|
2414
2370
|
sessionTime: "sessionTime";
|
|
2415
2371
|
promptCache: "promptCache";
|
|
2416
2372
|
compactions: "compactions";
|
|
@@ -2433,10 +2389,10 @@ declare const DirectoryRuleSchema: z.ZodObject<{
|
|
|
2433
2389
|
merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
|
|
2434
2390
|
context: "context";
|
|
2435
2391
|
quota: "quota";
|
|
2436
|
-
environment: "environment";
|
|
2437
2392
|
addedDirs: "addedDirs";
|
|
2438
2393
|
gitFiles: "gitFiles";
|
|
2439
2394
|
memory: "memory";
|
|
2395
|
+
environment: "environment";
|
|
2440
2396
|
sessionTime: "sessionTime";
|
|
2441
2397
|
promptCache: "promptCache";
|
|
2442
2398
|
compactions: "compactions";
|
|
@@ -2450,10 +2406,10 @@ declare const DirectoryRuleSchema: z.ZodObject<{
|
|
|
2450
2406
|
rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2451
2407
|
context: "context";
|
|
2452
2408
|
quota: "quota";
|
|
2453
|
-
environment: "environment";
|
|
2454
2409
|
addedDirs: "addedDirs";
|
|
2455
2410
|
gitFiles: "gitFiles";
|
|
2456
2411
|
memory: "memory";
|
|
2412
|
+
environment: "environment";
|
|
2457
2413
|
sessionTime: "sessionTime";
|
|
2458
2414
|
promptCache: "promptCache";
|
|
2459
2415
|
compactions: "compactions";
|
|
@@ -2512,10 +2468,10 @@ declare const DirectoryRuleSchema: z.ZodObject<{
|
|
|
2512
2468
|
hidden: "hidden";
|
|
2513
2469
|
}>>;
|
|
2514
2470
|
value: z.ZodOptional<z.ZodEnum<{
|
|
2515
|
-
remaining: "remaining";
|
|
2516
2471
|
tokens: "tokens";
|
|
2517
2472
|
both: "both";
|
|
2518
2473
|
percent: "percent";
|
|
2474
|
+
remaining: "remaining";
|
|
2519
2475
|
}>>;
|
|
2520
2476
|
estimate: z.ZodOptional<z.ZodEnum<{
|
|
2521
2477
|
never: "never";
|
|
@@ -2557,8 +2513,8 @@ declare const DirectoryRuleSchema: z.ZodObject<{
|
|
|
2557
2513
|
}, z.core.$strict>>;
|
|
2558
2514
|
usage: z.ZodOptional<z.ZodObject<{
|
|
2559
2515
|
value: z.ZodOptional<z.ZodEnum<{
|
|
2560
|
-
used: "used";
|
|
2561
2516
|
remaining: "remaining";
|
|
2517
|
+
used: "used";
|
|
2562
2518
|
}>>;
|
|
2563
2519
|
bar: z.ZodOptional<z.ZodBoolean>;
|
|
2564
2520
|
compact: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2916,6 +2872,53 @@ declare const DirectoryRuleSchema: z.ZodObject<{
|
|
|
2916
2872
|
}, z.core.$strict>>;
|
|
2917
2873
|
}, z.core.$strict>>;
|
|
2918
2874
|
}, z.core.$strict>>;
|
|
2875
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
2876
|
+
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
2877
|
+
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
2878
|
+
mode: z.ZodEnum<{
|
|
2879
|
+
ordered: "ordered";
|
|
2880
|
+
"most-allowance": "most-allowance";
|
|
2881
|
+
"soonest-reset": "soonest-reset";
|
|
2882
|
+
spread: "spread";
|
|
2883
|
+
adaptive: "adaptive";
|
|
2884
|
+
"lowest-latency": "lowest-latency";
|
|
2885
|
+
"highest-success": "highest-success";
|
|
2886
|
+
cheapest: "cheapest";
|
|
2887
|
+
}>;
|
|
2888
|
+
members: z.ZodArray<z.ZodString>;
|
|
2889
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
2890
|
+
tiers: z.ZodOptional<z.ZodObject<{
|
|
2891
|
+
fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
2892
|
+
opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
2893
|
+
sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
2894
|
+
haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
2895
|
+
}, z.core.$strict>>;
|
|
2896
|
+
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
2897
|
+
input: z.ZodNumber;
|
|
2898
|
+
output: z.ZodNumber;
|
|
2899
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
2900
|
+
hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2901
|
+
show: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2902
|
+
same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
2903
|
+
distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
|
|
2904
|
+
families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
2905
|
+
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2906
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
2907
|
+
ordered: "ordered";
|
|
2908
|
+
"most-allowance": "most-allowance";
|
|
2909
|
+
"soonest-reset": "soonest-reset";
|
|
2910
|
+
spread: "spread";
|
|
2911
|
+
adaptive: "adaptive";
|
|
2912
|
+
"lowest-latency": "lowest-latency";
|
|
2913
|
+
"highest-success": "highest-success";
|
|
2914
|
+
cheapest: "cheapest";
|
|
2915
|
+
}>>;
|
|
2916
|
+
context: z.ZodOptional<z.ZodNumber>;
|
|
2917
|
+
vision: z.ZodOptional<z.ZodBoolean>;
|
|
2918
|
+
tools: z.ZodOptional<z.ZodBoolean>;
|
|
2919
|
+
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
2920
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
2921
|
+
}, z.core.$strict>>;
|
|
2919
2922
|
path: z.ZodString;
|
|
2920
2923
|
configProfile: z.ZodOptional<z.ZodString>;
|
|
2921
2924
|
identity: z.ZodOptional<z.ZodString>;
|
|
@@ -3072,53 +3075,6 @@ declare const DirectoryRulesSchema: z.ZodObject<{
|
|
|
3072
3075
|
key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
3073
3076
|
}, z.core.$strip>], "kind">]>;
|
|
3074
3077
|
}, z.core.$strict>]>>>;
|
|
3075
|
-
models: z.ZodOptional<z.ZodObject<{
|
|
3076
|
-
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
3077
|
-
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
3078
|
-
mode: z.ZodEnum<{
|
|
3079
|
-
ordered: "ordered";
|
|
3080
|
-
"most-allowance": "most-allowance";
|
|
3081
|
-
"soonest-reset": "soonest-reset";
|
|
3082
|
-
spread: "spread";
|
|
3083
|
-
adaptive: "adaptive";
|
|
3084
|
-
"lowest-latency": "lowest-latency";
|
|
3085
|
-
"highest-success": "highest-success";
|
|
3086
|
-
cheapest: "cheapest";
|
|
3087
|
-
}>;
|
|
3088
|
-
members: z.ZodArray<z.ZodString>;
|
|
3089
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
3090
|
-
tiers: z.ZodOptional<z.ZodObject<{
|
|
3091
|
-
fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
3092
|
-
opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
3093
|
-
sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
3094
|
-
haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
3095
|
-
}, z.core.$strict>>;
|
|
3096
|
-
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
3097
|
-
input: z.ZodNumber;
|
|
3098
|
-
output: z.ZodNumber;
|
|
3099
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
3100
|
-
hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3101
|
-
show: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3102
|
-
same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
3103
|
-
distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
|
|
3104
|
-
families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
3105
|
-
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3106
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
3107
|
-
ordered: "ordered";
|
|
3108
|
-
"most-allowance": "most-allowance";
|
|
3109
|
-
"soonest-reset": "soonest-reset";
|
|
3110
|
-
spread: "spread";
|
|
3111
|
-
adaptive: "adaptive";
|
|
3112
|
-
"lowest-latency": "lowest-latency";
|
|
3113
|
-
"highest-success": "highest-success";
|
|
3114
|
-
cheapest: "cheapest";
|
|
3115
|
-
}>>;
|
|
3116
|
-
context: z.ZodOptional<z.ZodNumber>;
|
|
3117
|
-
vision: z.ZodOptional<z.ZodBoolean>;
|
|
3118
|
-
tools: z.ZodOptional<z.ZodBoolean>;
|
|
3119
|
-
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
3120
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
3121
|
-
}, z.core.$strict>>;
|
|
3122
3078
|
$schema: z.ZodOptional<z.ZodString>;
|
|
3123
3079
|
extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3124
3080
|
categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
|
|
@@ -3166,13 +3122,13 @@ declare const DirectoryRulesSchema: z.ZodObject<{
|
|
|
3166
3122
|
route: "route";
|
|
3167
3123
|
account: "account";
|
|
3168
3124
|
provider: "provider";
|
|
3169
|
-
version: "version";
|
|
3170
|
-
headroom: "headroom";
|
|
3171
3125
|
duration: "duration";
|
|
3126
|
+
headroom: "headroom";
|
|
3172
3127
|
project: "project";
|
|
3173
3128
|
vcs: "vcs";
|
|
3174
3129
|
effort: "effort";
|
|
3175
3130
|
advisor: "advisor";
|
|
3131
|
+
version: "version";
|
|
3176
3132
|
outputStyle: "outputStyle";
|
|
3177
3133
|
cost: "cost";
|
|
3178
3134
|
dailyCost: "dailyCost";
|
|
@@ -3183,10 +3139,10 @@ declare const DirectoryRulesSchema: z.ZodObject<{
|
|
|
3183
3139
|
rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3184
3140
|
context: "context";
|
|
3185
3141
|
quota: "quota";
|
|
3186
|
-
environment: "environment";
|
|
3187
3142
|
addedDirs: "addedDirs";
|
|
3188
3143
|
gitFiles: "gitFiles";
|
|
3189
3144
|
memory: "memory";
|
|
3145
|
+
environment: "environment";
|
|
3190
3146
|
sessionTime: "sessionTime";
|
|
3191
3147
|
promptCache: "promptCache";
|
|
3192
3148
|
compactions: "compactions";
|
|
@@ -3209,10 +3165,10 @@ declare const DirectoryRulesSchema: z.ZodObject<{
|
|
|
3209
3165
|
merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
|
|
3210
3166
|
context: "context";
|
|
3211
3167
|
quota: "quota";
|
|
3212
|
-
environment: "environment";
|
|
3213
3168
|
addedDirs: "addedDirs";
|
|
3214
3169
|
gitFiles: "gitFiles";
|
|
3215
3170
|
memory: "memory";
|
|
3171
|
+
environment: "environment";
|
|
3216
3172
|
sessionTime: "sessionTime";
|
|
3217
3173
|
promptCache: "promptCache";
|
|
3218
3174
|
compactions: "compactions";
|
|
@@ -3226,10 +3182,10 @@ declare const DirectoryRulesSchema: z.ZodObject<{
|
|
|
3226
3182
|
rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3227
3183
|
context: "context";
|
|
3228
3184
|
quota: "quota";
|
|
3229
|
-
environment: "environment";
|
|
3230
3185
|
addedDirs: "addedDirs";
|
|
3231
3186
|
gitFiles: "gitFiles";
|
|
3232
3187
|
memory: "memory";
|
|
3188
|
+
environment: "environment";
|
|
3233
3189
|
sessionTime: "sessionTime";
|
|
3234
3190
|
promptCache: "promptCache";
|
|
3235
3191
|
compactions: "compactions";
|
|
@@ -3288,10 +3244,10 @@ declare const DirectoryRulesSchema: z.ZodObject<{
|
|
|
3288
3244
|
hidden: "hidden";
|
|
3289
3245
|
}>>;
|
|
3290
3246
|
value: z.ZodOptional<z.ZodEnum<{
|
|
3291
|
-
remaining: "remaining";
|
|
3292
3247
|
tokens: "tokens";
|
|
3293
3248
|
both: "both";
|
|
3294
3249
|
percent: "percent";
|
|
3250
|
+
remaining: "remaining";
|
|
3295
3251
|
}>>;
|
|
3296
3252
|
estimate: z.ZodOptional<z.ZodEnum<{
|
|
3297
3253
|
never: "never";
|
|
@@ -3333,8 +3289,8 @@ declare const DirectoryRulesSchema: z.ZodObject<{
|
|
|
3333
3289
|
}, z.core.$strict>>;
|
|
3334
3290
|
usage: z.ZodOptional<z.ZodObject<{
|
|
3335
3291
|
value: z.ZodOptional<z.ZodEnum<{
|
|
3336
|
-
used: "used";
|
|
3337
3292
|
remaining: "remaining";
|
|
3293
|
+
used: "used";
|
|
3338
3294
|
}>>;
|
|
3339
3295
|
bar: z.ZodOptional<z.ZodBoolean>;
|
|
3340
3296
|
compact: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3692,6 +3648,53 @@ declare const DirectoryRulesSchema: z.ZodObject<{
|
|
|
3692
3648
|
}, z.core.$strict>>;
|
|
3693
3649
|
}, z.core.$strict>>;
|
|
3694
3650
|
}, z.core.$strict>>;
|
|
3651
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
3652
|
+
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
3653
|
+
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
3654
|
+
mode: z.ZodEnum<{
|
|
3655
|
+
ordered: "ordered";
|
|
3656
|
+
"most-allowance": "most-allowance";
|
|
3657
|
+
"soonest-reset": "soonest-reset";
|
|
3658
|
+
spread: "spread";
|
|
3659
|
+
adaptive: "adaptive";
|
|
3660
|
+
"lowest-latency": "lowest-latency";
|
|
3661
|
+
"highest-success": "highest-success";
|
|
3662
|
+
cheapest: "cheapest";
|
|
3663
|
+
}>;
|
|
3664
|
+
members: z.ZodArray<z.ZodString>;
|
|
3665
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
3666
|
+
tiers: z.ZodOptional<z.ZodObject<{
|
|
3667
|
+
fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
3668
|
+
opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
3669
|
+
sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
3670
|
+
haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
3671
|
+
}, z.core.$strict>>;
|
|
3672
|
+
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
3673
|
+
input: z.ZodNumber;
|
|
3674
|
+
output: z.ZodNumber;
|
|
3675
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
3676
|
+
hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3677
|
+
show: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3678
|
+
same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
3679
|
+
distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
|
|
3680
|
+
families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
3681
|
+
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3682
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
3683
|
+
ordered: "ordered";
|
|
3684
|
+
"most-allowance": "most-allowance";
|
|
3685
|
+
"soonest-reset": "soonest-reset";
|
|
3686
|
+
spread: "spread";
|
|
3687
|
+
adaptive: "adaptive";
|
|
3688
|
+
"lowest-latency": "lowest-latency";
|
|
3689
|
+
"highest-success": "highest-success";
|
|
3690
|
+
cheapest: "cheapest";
|
|
3691
|
+
}>>;
|
|
3692
|
+
context: z.ZodOptional<z.ZodNumber>;
|
|
3693
|
+
vision: z.ZodOptional<z.ZodBoolean>;
|
|
3694
|
+
tools: z.ZodOptional<z.ZodBoolean>;
|
|
3695
|
+
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
3696
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
3697
|
+
}, z.core.$strict>>;
|
|
3695
3698
|
path: z.ZodString;
|
|
3696
3699
|
configProfile: z.ZodOptional<z.ZodString>;
|
|
3697
3700
|
identity: z.ZodOptional<z.ZodString>;
|
|
@@ -3849,14 +3852,28 @@ declare const PortableConfigSchema: z.ZodObject<{
|
|
|
3849
3852
|
key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
3850
3853
|
}, z.core.$strip>], "kind">]>;
|
|
3851
3854
|
}, z.core.$strict>]>>>;
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3855
|
+
$schema: z.ZodOptional<z.ZodString>;
|
|
3856
|
+
categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
|
|
3857
|
+
all: z.ZodOptional<z.ZodBoolean>;
|
|
3858
|
+
runtime: z.ZodOptional<z.ZodBoolean>;
|
|
3859
|
+
history: z.ZodOptional<z.ZodBoolean>;
|
|
3860
|
+
knowledge: z.ZodOptional<z.ZodBoolean>;
|
|
3861
|
+
settings: z.ZodOptional<z.ZodBoolean>;
|
|
3862
|
+
}, z.core.$strict>, z.ZodTransform<Partial<Record<"runtime" | "history" | "knowledge" | "settings", boolean>>, {
|
|
3863
|
+
all?: boolean | undefined;
|
|
3864
|
+
runtime?: boolean | undefined;
|
|
3865
|
+
history?: boolean | undefined;
|
|
3866
|
+
knowledge?: boolean | undefined;
|
|
3867
|
+
settings?: boolean | undefined;
|
|
3868
|
+
}>>>;
|
|
3869
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
3870
|
+
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
3871
|
+
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
3872
|
+
mode: z.ZodEnum<{
|
|
3873
|
+
ordered: "ordered";
|
|
3874
|
+
"most-allowance": "most-allowance";
|
|
3875
|
+
"soonest-reset": "soonest-reset";
|
|
3876
|
+
spread: "spread";
|
|
3860
3877
|
adaptive: "adaptive";
|
|
3861
3878
|
"lowest-latency": "lowest-latency";
|
|
3862
3879
|
"highest-success": "highest-success";
|
|
@@ -3896,20 +3913,6 @@ declare const PortableConfigSchema: z.ZodObject<{
|
|
|
3896
3913
|
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
3897
3914
|
}, z.core.$strict>, z.ZodNull]>>>;
|
|
3898
3915
|
}, z.core.$strict>>;
|
|
3899
|
-
$schema: z.ZodOptional<z.ZodString>;
|
|
3900
|
-
categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
|
|
3901
|
-
all: z.ZodOptional<z.ZodBoolean>;
|
|
3902
|
-
runtime: z.ZodOptional<z.ZodBoolean>;
|
|
3903
|
-
history: z.ZodOptional<z.ZodBoolean>;
|
|
3904
|
-
knowledge: z.ZodOptional<z.ZodBoolean>;
|
|
3905
|
-
settings: z.ZodOptional<z.ZodBoolean>;
|
|
3906
|
-
}, z.core.$strict>, z.ZodTransform<Partial<Record<"runtime" | "history" | "knowledge" | "settings", boolean>>, {
|
|
3907
|
-
all?: boolean | undefined;
|
|
3908
|
-
runtime?: boolean | undefined;
|
|
3909
|
-
history?: boolean | undefined;
|
|
3910
|
-
knowledge?: boolean | undefined;
|
|
3911
|
-
settings?: boolean | undefined;
|
|
3912
|
-
}>>>;
|
|
3913
3916
|
extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3914
3917
|
launch: z.ZodOptional<z.ZodObject<{
|
|
3915
3918
|
skipPermissions: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3942,13 +3945,13 @@ declare const PortableConfigSchema: z.ZodObject<{
|
|
|
3942
3945
|
route: "route";
|
|
3943
3946
|
account: "account";
|
|
3944
3947
|
provider: "provider";
|
|
3945
|
-
version: "version";
|
|
3946
|
-
headroom: "headroom";
|
|
3947
3948
|
duration: "duration";
|
|
3949
|
+
headroom: "headroom";
|
|
3948
3950
|
project: "project";
|
|
3949
3951
|
vcs: "vcs";
|
|
3950
3952
|
effort: "effort";
|
|
3951
3953
|
advisor: "advisor";
|
|
3954
|
+
version: "version";
|
|
3952
3955
|
outputStyle: "outputStyle";
|
|
3953
3956
|
cost: "cost";
|
|
3954
3957
|
dailyCost: "dailyCost";
|
|
@@ -3959,10 +3962,10 @@ declare const PortableConfigSchema: z.ZodObject<{
|
|
|
3959
3962
|
rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3960
3963
|
context: "context";
|
|
3961
3964
|
quota: "quota";
|
|
3962
|
-
environment: "environment";
|
|
3963
3965
|
addedDirs: "addedDirs";
|
|
3964
3966
|
gitFiles: "gitFiles";
|
|
3965
3967
|
memory: "memory";
|
|
3968
|
+
environment: "environment";
|
|
3966
3969
|
sessionTime: "sessionTime";
|
|
3967
3970
|
promptCache: "promptCache";
|
|
3968
3971
|
compactions: "compactions";
|
|
@@ -3985,10 +3988,10 @@ declare const PortableConfigSchema: z.ZodObject<{
|
|
|
3985
3988
|
merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
|
|
3986
3989
|
context: "context";
|
|
3987
3990
|
quota: "quota";
|
|
3988
|
-
environment: "environment";
|
|
3989
3991
|
addedDirs: "addedDirs";
|
|
3990
3992
|
gitFiles: "gitFiles";
|
|
3991
3993
|
memory: "memory";
|
|
3994
|
+
environment: "environment";
|
|
3992
3995
|
sessionTime: "sessionTime";
|
|
3993
3996
|
promptCache: "promptCache";
|
|
3994
3997
|
compactions: "compactions";
|
|
@@ -4002,10 +4005,10 @@ declare const PortableConfigSchema: z.ZodObject<{
|
|
|
4002
4005
|
rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4003
4006
|
context: "context";
|
|
4004
4007
|
quota: "quota";
|
|
4005
|
-
environment: "environment";
|
|
4006
4008
|
addedDirs: "addedDirs";
|
|
4007
4009
|
gitFiles: "gitFiles";
|
|
4008
4010
|
memory: "memory";
|
|
4011
|
+
environment: "environment";
|
|
4009
4012
|
sessionTime: "sessionTime";
|
|
4010
4013
|
promptCache: "promptCache";
|
|
4011
4014
|
compactions: "compactions";
|
|
@@ -4064,10 +4067,10 @@ declare const PortableConfigSchema: z.ZodObject<{
|
|
|
4064
4067
|
hidden: "hidden";
|
|
4065
4068
|
}>>;
|
|
4066
4069
|
value: z.ZodOptional<z.ZodEnum<{
|
|
4067
|
-
remaining: "remaining";
|
|
4068
4070
|
tokens: "tokens";
|
|
4069
4071
|
both: "both";
|
|
4070
4072
|
percent: "percent";
|
|
4073
|
+
remaining: "remaining";
|
|
4071
4074
|
}>>;
|
|
4072
4075
|
estimate: z.ZodOptional<z.ZodEnum<{
|
|
4073
4076
|
never: "never";
|
|
@@ -4109,8 +4112,8 @@ declare const PortableConfigSchema: z.ZodObject<{
|
|
|
4109
4112
|
}, z.core.$strict>>;
|
|
4110
4113
|
usage: z.ZodOptional<z.ZodObject<{
|
|
4111
4114
|
value: z.ZodOptional<z.ZodEnum<{
|
|
4112
|
-
used: "used";
|
|
4113
4115
|
remaining: "remaining";
|
|
4116
|
+
used: "used";
|
|
4114
4117
|
}>>;
|
|
4115
4118
|
bar: z.ZodOptional<z.ZodBoolean>;
|
|
4116
4119
|
compact: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4698,13 +4701,13 @@ declare const GlobalConfigSchema: z.ZodObject<{
|
|
|
4698
4701
|
route: "route";
|
|
4699
4702
|
account: "account";
|
|
4700
4703
|
provider: "provider";
|
|
4701
|
-
version: "version";
|
|
4702
|
-
headroom: "headroom";
|
|
4703
4704
|
duration: "duration";
|
|
4705
|
+
headroom: "headroom";
|
|
4704
4706
|
project: "project";
|
|
4705
4707
|
vcs: "vcs";
|
|
4706
4708
|
effort: "effort";
|
|
4707
4709
|
advisor: "advisor";
|
|
4710
|
+
version: "version";
|
|
4708
4711
|
outputStyle: "outputStyle";
|
|
4709
4712
|
cost: "cost";
|
|
4710
4713
|
dailyCost: "dailyCost";
|
|
@@ -4715,10 +4718,10 @@ declare const GlobalConfigSchema: z.ZodObject<{
|
|
|
4715
4718
|
rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4716
4719
|
context: "context";
|
|
4717
4720
|
quota: "quota";
|
|
4718
|
-
environment: "environment";
|
|
4719
4721
|
addedDirs: "addedDirs";
|
|
4720
4722
|
gitFiles: "gitFiles";
|
|
4721
4723
|
memory: "memory";
|
|
4724
|
+
environment: "environment";
|
|
4722
4725
|
sessionTime: "sessionTime";
|
|
4723
4726
|
promptCache: "promptCache";
|
|
4724
4727
|
compactions: "compactions";
|
|
@@ -4741,10 +4744,10 @@ declare const GlobalConfigSchema: z.ZodObject<{
|
|
|
4741
4744
|
merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
|
|
4742
4745
|
context: "context";
|
|
4743
4746
|
quota: "quota";
|
|
4744
|
-
environment: "environment";
|
|
4745
4747
|
addedDirs: "addedDirs";
|
|
4746
4748
|
gitFiles: "gitFiles";
|
|
4747
4749
|
memory: "memory";
|
|
4750
|
+
environment: "environment";
|
|
4748
4751
|
sessionTime: "sessionTime";
|
|
4749
4752
|
promptCache: "promptCache";
|
|
4750
4753
|
compactions: "compactions";
|
|
@@ -4758,10 +4761,10 @@ declare const GlobalConfigSchema: z.ZodObject<{
|
|
|
4758
4761
|
rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4759
4762
|
context: "context";
|
|
4760
4763
|
quota: "quota";
|
|
4761
|
-
environment: "environment";
|
|
4762
4764
|
addedDirs: "addedDirs";
|
|
4763
4765
|
gitFiles: "gitFiles";
|
|
4764
4766
|
memory: "memory";
|
|
4767
|
+
environment: "environment";
|
|
4765
4768
|
sessionTime: "sessionTime";
|
|
4766
4769
|
promptCache: "promptCache";
|
|
4767
4770
|
compactions: "compactions";
|
|
@@ -4820,10 +4823,10 @@ declare const GlobalConfigSchema: z.ZodObject<{
|
|
|
4820
4823
|
hidden: "hidden";
|
|
4821
4824
|
}>>;
|
|
4822
4825
|
value: z.ZodOptional<z.ZodEnum<{
|
|
4823
|
-
remaining: "remaining";
|
|
4824
4826
|
tokens: "tokens";
|
|
4825
4827
|
both: "both";
|
|
4826
4828
|
percent: "percent";
|
|
4829
|
+
remaining: "remaining";
|
|
4827
4830
|
}>>;
|
|
4828
4831
|
estimate: z.ZodOptional<z.ZodEnum<{
|
|
4829
4832
|
never: "never";
|
|
@@ -4865,8 +4868,8 @@ declare const GlobalConfigSchema: z.ZodObject<{
|
|
|
4865
4868
|
}, z.core.$strict>>;
|
|
4866
4869
|
usage: z.ZodOptional<z.ZodObject<{
|
|
4867
4870
|
value: z.ZodOptional<z.ZodEnum<{
|
|
4868
|
-
used: "used";
|
|
4869
4871
|
remaining: "remaining";
|
|
4872
|
+
used: "used";
|
|
4870
4873
|
}>>;
|
|
4871
4874
|
bar: z.ZodOptional<z.ZodBoolean>;
|
|
4872
4875
|
compact: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5541,6 +5544,8 @@ interface LayoutPaths {
|
|
|
5541
5544
|
readonly headroomStateFile: string;
|
|
5542
5545
|
/** The live routing setting `agent-shim headroom enable|disable` writes and the front door re-reads per request: which sessions go through headroom, whatever their launch asked for. */
|
|
5543
5546
|
readonly headroomRoutingFile: string;
|
|
5547
|
+
/** The runtime route overrides `agent-shim route set|remove` writes and the front door re-reads on change: per scope (session, identity, provider, global), the name a request asking for a Claude name or class is routed by instead. At the root, beside `provider-aliases.json`, since it is the door's routing and not headroom's. */
|
|
5548
|
+
readonly routeOverridesFile: string;
|
|
5544
5549
|
/** The previous release's versioned name for the state file, read only while a supervisor from that release is still alive and removed once its generation has drained (see `migrateHeadroomState`). */
|
|
5545
5550
|
readonly headroomLegacyStateFile: string;
|
|
5546
5551
|
/** Path to the file the headroom daemon reads its upstream allowlist from (`--allowed-base-urls-file`): the direct origin of every live front door, one per line. It lives in the owner-only socket directory because headroom refuses an allowlist file whose directory another user could write to, and that directory is the one this tool already creates mode 0700 (narrowing it if it existed wider) and checks before every daemon start. The supervisor replaces the file owner-only and atomically whenever a door's origin changes, and the daemon re-reads it on its next request, so a moved or retired front door never needs a restart. */
|
|
@@ -7344,7 +7349,7 @@ type RcLiveRateLimit = z.output<typeof RcLiveRateLimitSchema>;
|
|
|
7344
7349
|
|
|
7345
7350
|
/** What the identity step learned about one request from the launcher-injected headers. */
|
|
7346
7351
|
interface SessionIdentity {
|
|
7347
|
-
/** The
|
|
7352
|
+
/** The directory id of the identity the launch resolved, when it resolved one: the key the usage store files under; a lookup by name (a pool member, an override's identity scope) maps it to the identity's current name first. */
|
|
7348
7353
|
readonly identity: string | undefined;
|
|
7349
7354
|
/** The per-launch session id, when the launcher injected one. */
|
|
7350
7355
|
readonly sessionId: string | undefined;
|
|
@@ -7371,6 +7376,8 @@ interface RoutedRequest {
|
|
|
7371
7376
|
/** Aborted the moment the client goes away; a route aborts its own upstream work with it. */
|
|
7372
7377
|
readonly signal: AbortSignal;
|
|
7373
7378
|
readonly session: SessionIdentity;
|
|
7379
|
+
/** Set when the door itself put the request on a provider path (a helper the main loop's route context placed, `followingMainLoop`'s `toProvider`): that path is the door's choice, not the client's, so the request is treated as one the session sent on its own bare path. */
|
|
7380
|
+
readonly doorScoped?: true;
|
|
7374
7381
|
}
|
|
7375
7382
|
/** The response half a route writes through, so the pipeline can run response middleware at the head and apply backpressure uniformly. */
|
|
7376
7383
|
interface RoutedResponse {
|
|
@@ -7520,6 +7527,8 @@ interface RcSessionTrackerDeps {
|
|
|
7520
7527
|
readonly onTransition?: (transition: RcSessionTransition) => void;
|
|
7521
7528
|
/** Told when the tracker closes, so whatever its transitions feed stops waiting for more: the door's session event log ends its followers here. */
|
|
7522
7529
|
readonly onClose?: () => void;
|
|
7530
|
+
/** Where a failed sweep of idle sessions is logged; absent, the sweep's failure is dropped and the next sweep still runs. */
|
|
7531
|
+
readonly log?: (line: string) => void;
|
|
7523
7532
|
}
|
|
7524
7533
|
/** The live record of observed Remote Control sessions. */
|
|
7525
7534
|
interface RcSessionTracker {
|
|
@@ -9392,12 +9401,12 @@ declare const CheckReportJsonSchema: z.ZodObject<{
|
|
|
9392
9401
|
identity: z.ZodObject<{
|
|
9393
9402
|
name: z.ZodNullable<z.ZodString>;
|
|
9394
9403
|
source: z.ZodEnum<{
|
|
9404
|
+
env: "env";
|
|
9405
|
+
none: "none";
|
|
9395
9406
|
"config-dir-escape-hatch": "config-dir-escape-hatch";
|
|
9396
9407
|
argv: "argv";
|
|
9397
|
-
env: "env";
|
|
9398
9408
|
"directory-pin": "directory-pin";
|
|
9399
9409
|
"active-identity-file": "active-identity-file";
|
|
9400
|
-
none: "none";
|
|
9401
9410
|
}>;
|
|
9402
9411
|
}, z.core.$strict>;
|
|
9403
9412
|
pool: z.ZodOptional<z.ZodObject<{
|
|
@@ -9445,10 +9454,10 @@ declare const CheckReportJsonSchema: z.ZodObject<{
|
|
|
9445
9454
|
configProfile: z.ZodObject<{
|
|
9446
9455
|
name: z.ZodNullable<z.ZodString>;
|
|
9447
9456
|
source: z.ZodEnum<{
|
|
9457
|
+
"directory-rule": "directory-rule";
|
|
9448
9458
|
env: "env";
|
|
9449
9459
|
none: "none";
|
|
9450
9460
|
"cli-flag": "cli-flag";
|
|
9451
|
-
"directory-rule": "directory-rule";
|
|
9452
9461
|
"identity-default": "identity-default";
|
|
9453
9462
|
"global-default": "global-default";
|
|
9454
9463
|
}>;
|
|
@@ -9456,9 +9465,9 @@ declare const CheckReportJsonSchema: z.ZodObject<{
|
|
|
9456
9465
|
layers: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
9457
9466
|
id: z.ZodInt;
|
|
9458
9467
|
kind: z.ZodEnum<{
|
|
9459
|
-
"directory-rule": "directory-rule";
|
|
9460
9468
|
"global-config": "global-config";
|
|
9461
9469
|
"config-profile": "config-profile";
|
|
9470
|
+
"directory-rule": "directory-rule";
|
|
9462
9471
|
portable: "portable";
|
|
9463
9472
|
"portable-local": "portable-local";
|
|
9464
9473
|
"cli-override": "cli-override";
|
|
@@ -9476,11 +9485,11 @@ declare const CheckReportJsonSchema: z.ZodObject<{
|
|
|
9476
9485
|
"category-default": "category-default";
|
|
9477
9486
|
}>;
|
|
9478
9487
|
category: z.ZodNullable<z.ZodEnum<{
|
|
9479
|
-
secret: "secret";
|
|
9480
9488
|
runtime: "runtime";
|
|
9481
9489
|
history: "history";
|
|
9482
9490
|
knowledge: "knowledge";
|
|
9483
9491
|
settings: "settings";
|
|
9492
|
+
secret: "secret";
|
|
9484
9493
|
}>>;
|
|
9485
9494
|
rule: z.ZodOptional<z.ZodObject<{
|
|
9486
9495
|
key: z.ZodString;
|
|
@@ -9681,8 +9690,8 @@ declare const CheckReportJsonSchema: z.ZodObject<{
|
|
|
9681
9690
|
pinned: z.ZodOptional<z.ZodObject<{
|
|
9682
9691
|
version: z.ZodString;
|
|
9683
9692
|
source: z.ZodEnum<{
|
|
9684
|
-
flag: "flag";
|
|
9685
9693
|
environment: "environment";
|
|
9694
|
+
flag: "flag";
|
|
9686
9695
|
cascade: "cascade";
|
|
9687
9696
|
}>;
|
|
9688
9697
|
installed: z.ZodBoolean;
|
|
@@ -9700,6 +9709,19 @@ declare const CheckReportJsonSchema: z.ZodObject<{
|
|
|
9700
9709
|
ok: z.ZodLiteral<false>;
|
|
9701
9710
|
message: z.ZodString;
|
|
9702
9711
|
}, z.core.$strict>]>>;
|
|
9712
|
+
routeOverrides: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
9713
|
+
applying: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
9714
|
+
model: z.ZodString;
|
|
9715
|
+
target: z.ZodString;
|
|
9716
|
+
scope: z.ZodString;
|
|
9717
|
+
outranks: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
9718
|
+
scope: z.ZodString;
|
|
9719
|
+
target: z.ZodString;
|
|
9720
|
+
}, z.core.$strict>>>;
|
|
9721
|
+
}, z.core.$strict>>>;
|
|
9722
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9723
|
+
fault: z.ZodString;
|
|
9724
|
+
}, z.core.$strict>]>>;
|
|
9703
9725
|
}, z.core.$strict>;
|
|
9704
9726
|
type CheckReportJson = z.output<typeof CheckReportJsonSchema>;
|
|
9705
9727
|
|
|
@@ -9994,13 +10016,15 @@ declare const CheckRunInputSchema: z.ZodObject<{
|
|
|
9994
10016
|
/** One line of the doctor report: the section it belongs to, its severity, its message, and the identity/profile/rule it is about when there is one. */
|
|
9995
10017
|
declare const DoctorFindingSchema: z.ZodObject<{
|
|
9996
10018
|
section: z.ZodEnum<{
|
|
10019
|
+
"global-config": "global-config";
|
|
10020
|
+
"config-profile": "config-profile";
|
|
9997
10021
|
identity: "identity";
|
|
9998
10022
|
provider: "provider";
|
|
10023
|
+
keychain: "keychain";
|
|
10024
|
+
headroom: "headroom";
|
|
10025
|
+
models: "models";
|
|
9999
10026
|
frontdoor: "frontdoor";
|
|
10000
10027
|
pool: "pool";
|
|
10001
|
-
"global-config": "global-config";
|
|
10002
|
-
"config-profile": "config-profile";
|
|
10003
|
-
keychain: "keychain";
|
|
10004
10028
|
"ambient-credential": "ambient-credential";
|
|
10005
10029
|
"binary-discovery": "binary-discovery";
|
|
10006
10030
|
"claude-shim": "claude-shim";
|
|
@@ -10011,8 +10035,7 @@ declare const DoctorFindingSchema: z.ZodObject<{
|
|
|
10011
10035
|
"directory-rules": "directory-rules";
|
|
10012
10036
|
"categories-local": "categories-local";
|
|
10013
10037
|
"active-identity": "active-identity";
|
|
10014
|
-
|
|
10015
|
-
models: "models";
|
|
10038
|
+
"route-overrides": "route-overrides";
|
|
10016
10039
|
}>;
|
|
10017
10040
|
subject: z.ZodOptional<z.ZodString>;
|
|
10018
10041
|
severity: z.ZodEnum<{
|
|
@@ -10027,13 +10050,15 @@ declare const DoctorRunOutputSchema: z.ZodObject<{
|
|
|
10027
10050
|
ok: z.ZodBoolean;
|
|
10028
10051
|
findings: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
10029
10052
|
section: z.ZodEnum<{
|
|
10053
|
+
"global-config": "global-config";
|
|
10054
|
+
"config-profile": "config-profile";
|
|
10030
10055
|
identity: "identity";
|
|
10031
10056
|
provider: "provider";
|
|
10057
|
+
keychain: "keychain";
|
|
10058
|
+
headroom: "headroom";
|
|
10059
|
+
models: "models";
|
|
10032
10060
|
frontdoor: "frontdoor";
|
|
10033
10061
|
pool: "pool";
|
|
10034
|
-
"global-config": "global-config";
|
|
10035
|
-
"config-profile": "config-profile";
|
|
10036
|
-
keychain: "keychain";
|
|
10037
10062
|
"ambient-credential": "ambient-credential";
|
|
10038
10063
|
"binary-discovery": "binary-discovery";
|
|
10039
10064
|
"claude-shim": "claude-shim";
|
|
@@ -10044,8 +10069,7 @@ declare const DoctorRunOutputSchema: z.ZodObject<{
|
|
|
10044
10069
|
"directory-rules": "directory-rules";
|
|
10045
10070
|
"categories-local": "categories-local";
|
|
10046
10071
|
"active-identity": "active-identity";
|
|
10047
|
-
|
|
10048
|
-
models: "models";
|
|
10072
|
+
"route-overrides": "route-overrides";
|
|
10049
10073
|
}>;
|
|
10050
10074
|
subject: z.ZodOptional<z.ZodString>;
|
|
10051
10075
|
severity: z.ZodEnum<{
|
|
@@ -10066,9 +10090,9 @@ declare const UpdateCheckOutputSchema: z.ZodObject<{
|
|
|
10066
10090
|
current: z.ZodString;
|
|
10067
10091
|
latest: z.ZodString;
|
|
10068
10092
|
action: z.ZodEnum<{
|
|
10093
|
+
updated: "updated";
|
|
10069
10094
|
current: "current";
|
|
10070
10095
|
available: "available";
|
|
10071
|
-
updated: "updated";
|
|
10072
10096
|
}>;
|
|
10073
10097
|
}, z.core.$strict>;
|
|
10074
10098
|
/** The Sign in with ChatGPT login's state as `codex status` reports it: no sign-in yet, signed in (with who, whether the plan scope was granted, and when the access token lapses), or a file that cannot be read. */
|
|
@@ -10187,7 +10211,7 @@ type CodexApiRouter = ReturnType<typeof createCodexApiRouter>;
|
|
|
10187
10211
|
type CodexApiClient = RouterClient<CodexApiRouter>;
|
|
10188
10212
|
|
|
10189
10213
|
/**
|
|
10190
|
-
* The door's configuration management as a typed oRPC API: the writes the CLI's `identity`, `profile`, `pool`, `provider` and `rule` verbs make, as `config.<noun>.<verb>` procedures, every one behind the same per-generation control token as the rest of the mount.
|
|
10214
|
+
* The door's configuration management as a typed oRPC API: the writes the CLI's `identity`, `profile`, `pool`, `provider` and `rule` verbs make, (and `route set|remove`) as `config.<noun>.<verb>` procedures, every one behind the same per-generation control token as the rest of the mount.
|
|
10191
10215
|
*
|
|
10192
10216
|
* Each procedure makes the checks its verb makes and calls the store function it calls (and the shared rules extracted beside them), so a write through the API and a write through the CLI are the same write: the same validation, the same atomic store write, the same refusals. The one check that reaches outside the stores is `config.identity.add`'s question to the macOS Keychain, asked through the asynchronous runner in `deps.keychain` so the door's event loop is never held, by the function the CLI asks it with. A refusal is the CLI's own message carried as an oRPC error (`NOT_FOUND` for a name that does not exist, `CONFLICT` for one that already does or for a Keychain login in the way, `BAD_REQUEST` for anything else the store refuses, and the retryable `SERVICE_UNAVAILABLE` for a Keychain that could not be asked), and every outcome is the `--json` object the verb prints.
|
|
10193
10217
|
*
|
|
@@ -10489,53 +10513,6 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
10489
10513
|
}, zod_v4_core.$strip>], "kind">]>;
|
|
10490
10514
|
}, zod_v4_core.$strict>]>>>;
|
|
10491
10515
|
description: zod.ZodOptional<zod.ZodString>;
|
|
10492
|
-
models: zod.ZodOptional<zod.ZodObject<{
|
|
10493
|
-
pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
|
|
10494
|
-
virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
10495
|
-
mode: zod.ZodEnum<{
|
|
10496
|
-
ordered: "ordered";
|
|
10497
|
-
"most-allowance": "most-allowance";
|
|
10498
|
-
"soonest-reset": "soonest-reset";
|
|
10499
|
-
spread: "spread";
|
|
10500
|
-
adaptive: "adaptive";
|
|
10501
|
-
"lowest-latency": "lowest-latency";
|
|
10502
|
-
"highest-success": "highest-success";
|
|
10503
|
-
cheapest: "cheapest";
|
|
10504
|
-
}>;
|
|
10505
|
-
members: zod.ZodArray<zod.ZodString>;
|
|
10506
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
10507
|
-
tiers: zod.ZodOptional<zod.ZodObject<{
|
|
10508
|
-
fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
10509
|
-
opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
10510
|
-
sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
10511
|
-
haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
10512
|
-
}, zod_v4_core.$strict>>;
|
|
10513
|
-
prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
10514
|
-
input: zod.ZodNumber;
|
|
10515
|
-
output: zod.ZodNumber;
|
|
10516
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
10517
|
-
hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
10518
|
-
show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
10519
|
-
same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
|
|
10520
|
-
distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
|
|
10521
|
-
families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
10522
|
-
names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
10523
|
-
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
10524
|
-
ordered: "ordered";
|
|
10525
|
-
"most-allowance": "most-allowance";
|
|
10526
|
-
"soonest-reset": "soonest-reset";
|
|
10527
|
-
spread: "spread";
|
|
10528
|
-
adaptive: "adaptive";
|
|
10529
|
-
"lowest-latency": "lowest-latency";
|
|
10530
|
-
"highest-success": "highest-success";
|
|
10531
|
-
cheapest: "cheapest";
|
|
10532
|
-
}>>;
|
|
10533
|
-
context: zod.ZodOptional<zod.ZodNumber>;
|
|
10534
|
-
vision: zod.ZodOptional<zod.ZodBoolean>;
|
|
10535
|
-
tools: zod.ZodOptional<zod.ZodBoolean>;
|
|
10536
|
-
thinking: zod.ZodOptional<zod.ZodBoolean>;
|
|
10537
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
10538
|
-
}, zod_v4_core.$strict>>;
|
|
10539
10516
|
extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
10540
10517
|
categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
|
|
10541
10518
|
all: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -10582,13 +10559,13 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
10582
10559
|
route: "route";
|
|
10583
10560
|
account: "account";
|
|
10584
10561
|
provider: "provider";
|
|
10585
|
-
version: "version";
|
|
10586
|
-
headroom: "headroom";
|
|
10587
10562
|
duration: "duration";
|
|
10563
|
+
headroom: "headroom";
|
|
10588
10564
|
project: "project";
|
|
10589
10565
|
vcs: "vcs";
|
|
10590
10566
|
effort: "effort";
|
|
10591
10567
|
advisor: "advisor";
|
|
10568
|
+
version: "version";
|
|
10592
10569
|
outputStyle: "outputStyle";
|
|
10593
10570
|
cost: "cost";
|
|
10594
10571
|
dailyCost: "dailyCost";
|
|
@@ -10599,10 +10576,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
10599
10576
|
rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
10600
10577
|
context: "context";
|
|
10601
10578
|
quota: "quota";
|
|
10602
|
-
environment: "environment";
|
|
10603
10579
|
addedDirs: "addedDirs";
|
|
10604
10580
|
gitFiles: "gitFiles";
|
|
10605
10581
|
memory: "memory";
|
|
10582
|
+
environment: "environment";
|
|
10606
10583
|
sessionTime: "sessionTime";
|
|
10607
10584
|
promptCache: "promptCache";
|
|
10608
10585
|
compactions: "compactions";
|
|
@@ -10625,10 +10602,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
10625
10602
|
merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
|
|
10626
10603
|
context: "context";
|
|
10627
10604
|
quota: "quota";
|
|
10628
|
-
environment: "environment";
|
|
10629
10605
|
addedDirs: "addedDirs";
|
|
10630
10606
|
gitFiles: "gitFiles";
|
|
10631
10607
|
memory: "memory";
|
|
10608
|
+
environment: "environment";
|
|
10632
10609
|
sessionTime: "sessionTime";
|
|
10633
10610
|
promptCache: "promptCache";
|
|
10634
10611
|
compactions: "compactions";
|
|
@@ -10642,10 +10619,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
10642
10619
|
rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
10643
10620
|
context: "context";
|
|
10644
10621
|
quota: "quota";
|
|
10645
|
-
environment: "environment";
|
|
10646
10622
|
addedDirs: "addedDirs";
|
|
10647
10623
|
gitFiles: "gitFiles";
|
|
10648
10624
|
memory: "memory";
|
|
10625
|
+
environment: "environment";
|
|
10649
10626
|
sessionTime: "sessionTime";
|
|
10650
10627
|
promptCache: "promptCache";
|
|
10651
10628
|
compactions: "compactions";
|
|
@@ -10704,10 +10681,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
10704
10681
|
hidden: "hidden";
|
|
10705
10682
|
}>>;
|
|
10706
10683
|
value: zod.ZodOptional<zod.ZodEnum<{
|
|
10707
|
-
remaining: "remaining";
|
|
10708
10684
|
tokens: "tokens";
|
|
10709
10685
|
both: "both";
|
|
10710
10686
|
percent: "percent";
|
|
10687
|
+
remaining: "remaining";
|
|
10711
10688
|
}>>;
|
|
10712
10689
|
estimate: zod.ZodOptional<zod.ZodEnum<{
|
|
10713
10690
|
never: "never";
|
|
@@ -10749,8 +10726,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
10749
10726
|
}, zod_v4_core.$strict>>;
|
|
10750
10727
|
usage: zod.ZodOptional<zod.ZodObject<{
|
|
10751
10728
|
value: zod.ZodOptional<zod.ZodEnum<{
|
|
10752
|
-
used: "used";
|
|
10753
10729
|
remaining: "remaining";
|
|
10730
|
+
used: "used";
|
|
10754
10731
|
}>>;
|
|
10755
10732
|
bar: zod.ZodOptional<zod.ZodBoolean>;
|
|
10756
10733
|
compact: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -11108,6 +11085,53 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
11108
11085
|
}, zod_v4_core.$strict>>;
|
|
11109
11086
|
}, zod_v4_core.$strict>>;
|
|
11110
11087
|
}, zod_v4_core.$strict>>;
|
|
11088
|
+
models: zod.ZodOptional<zod.ZodObject<{
|
|
11089
|
+
pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
|
|
11090
|
+
virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
11091
|
+
mode: zod.ZodEnum<{
|
|
11092
|
+
ordered: "ordered";
|
|
11093
|
+
"most-allowance": "most-allowance";
|
|
11094
|
+
"soonest-reset": "soonest-reset";
|
|
11095
|
+
spread: "spread";
|
|
11096
|
+
adaptive: "adaptive";
|
|
11097
|
+
"lowest-latency": "lowest-latency";
|
|
11098
|
+
"highest-success": "highest-success";
|
|
11099
|
+
cheapest: "cheapest";
|
|
11100
|
+
}>;
|
|
11101
|
+
members: zod.ZodArray<zod.ZodString>;
|
|
11102
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
11103
|
+
tiers: zod.ZodOptional<zod.ZodObject<{
|
|
11104
|
+
fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
11105
|
+
opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
11106
|
+
sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
11107
|
+
haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
11108
|
+
}, zod_v4_core.$strict>>;
|
|
11109
|
+
prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
11110
|
+
input: zod.ZodNumber;
|
|
11111
|
+
output: zod.ZodNumber;
|
|
11112
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
11113
|
+
hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
11114
|
+
show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
11115
|
+
same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
|
|
11116
|
+
distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
|
|
11117
|
+
families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
11118
|
+
names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
11119
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
11120
|
+
ordered: "ordered";
|
|
11121
|
+
"most-allowance": "most-allowance";
|
|
11122
|
+
"soonest-reset": "soonest-reset";
|
|
11123
|
+
spread: "spread";
|
|
11124
|
+
adaptive: "adaptive";
|
|
11125
|
+
"lowest-latency": "lowest-latency";
|
|
11126
|
+
"highest-success": "highest-success";
|
|
11127
|
+
cheapest: "cheapest";
|
|
11128
|
+
}>>;
|
|
11129
|
+
context: zod.ZodOptional<zod.ZodNumber>;
|
|
11130
|
+
vision: zod.ZodOptional<zod.ZodBoolean>;
|
|
11131
|
+
tools: zod.ZodOptional<zod.ZodBoolean>;
|
|
11132
|
+
thinking: zod.ZodOptional<zod.ZodBoolean>;
|
|
11133
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
11134
|
+
}, zod_v4_core.$strict>>;
|
|
11111
11135
|
}, zod_v4_core.$strict>;
|
|
11112
11136
|
}, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
11113
11137
|
set: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
|
|
@@ -11213,53 +11237,6 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
11213
11237
|
}, zod_v4_core.$strip>], "kind">]>;
|
|
11214
11238
|
}, zod_v4_core.$strict>]>>>;
|
|
11215
11239
|
description: zod.ZodOptional<zod.ZodString>;
|
|
11216
|
-
models: zod.ZodOptional<zod.ZodObject<{
|
|
11217
|
-
pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
|
|
11218
|
-
virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
11219
|
-
mode: zod.ZodEnum<{
|
|
11220
|
-
ordered: "ordered";
|
|
11221
|
-
"most-allowance": "most-allowance";
|
|
11222
|
-
"soonest-reset": "soonest-reset";
|
|
11223
|
-
spread: "spread";
|
|
11224
|
-
adaptive: "adaptive";
|
|
11225
|
-
"lowest-latency": "lowest-latency";
|
|
11226
|
-
"highest-success": "highest-success";
|
|
11227
|
-
cheapest: "cheapest";
|
|
11228
|
-
}>;
|
|
11229
|
-
members: zod.ZodArray<zod.ZodString>;
|
|
11230
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
11231
|
-
tiers: zod.ZodOptional<zod.ZodObject<{
|
|
11232
|
-
fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
11233
|
-
opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
11234
|
-
sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
11235
|
-
haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
11236
|
-
}, zod_v4_core.$strict>>;
|
|
11237
|
-
prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
11238
|
-
input: zod.ZodNumber;
|
|
11239
|
-
output: zod.ZodNumber;
|
|
11240
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
11241
|
-
hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
11242
|
-
show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
11243
|
-
same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
|
|
11244
|
-
distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
|
|
11245
|
-
families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
11246
|
-
names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
11247
|
-
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
11248
|
-
ordered: "ordered";
|
|
11249
|
-
"most-allowance": "most-allowance";
|
|
11250
|
-
"soonest-reset": "soonest-reset";
|
|
11251
|
-
spread: "spread";
|
|
11252
|
-
adaptive: "adaptive";
|
|
11253
|
-
"lowest-latency": "lowest-latency";
|
|
11254
|
-
"highest-success": "highest-success";
|
|
11255
|
-
cheapest: "cheapest";
|
|
11256
|
-
}>>;
|
|
11257
|
-
context: zod.ZodOptional<zod.ZodNumber>;
|
|
11258
|
-
vision: zod.ZodOptional<zod.ZodBoolean>;
|
|
11259
|
-
tools: zod.ZodOptional<zod.ZodBoolean>;
|
|
11260
|
-
thinking: zod.ZodOptional<zod.ZodBoolean>;
|
|
11261
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
11262
|
-
}, zod_v4_core.$strict>>;
|
|
11263
11240
|
extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
11264
11241
|
categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
|
|
11265
11242
|
all: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -11306,13 +11283,13 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
11306
11283
|
route: "route";
|
|
11307
11284
|
account: "account";
|
|
11308
11285
|
provider: "provider";
|
|
11309
|
-
version: "version";
|
|
11310
|
-
headroom: "headroom";
|
|
11311
11286
|
duration: "duration";
|
|
11287
|
+
headroom: "headroom";
|
|
11312
11288
|
project: "project";
|
|
11313
11289
|
vcs: "vcs";
|
|
11314
11290
|
effort: "effort";
|
|
11315
11291
|
advisor: "advisor";
|
|
11292
|
+
version: "version";
|
|
11316
11293
|
outputStyle: "outputStyle";
|
|
11317
11294
|
cost: "cost";
|
|
11318
11295
|
dailyCost: "dailyCost";
|
|
@@ -11323,10 +11300,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
11323
11300
|
rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
11324
11301
|
context: "context";
|
|
11325
11302
|
quota: "quota";
|
|
11326
|
-
environment: "environment";
|
|
11327
11303
|
addedDirs: "addedDirs";
|
|
11328
11304
|
gitFiles: "gitFiles";
|
|
11329
11305
|
memory: "memory";
|
|
11306
|
+
environment: "environment";
|
|
11330
11307
|
sessionTime: "sessionTime";
|
|
11331
11308
|
promptCache: "promptCache";
|
|
11332
11309
|
compactions: "compactions";
|
|
@@ -11349,10 +11326,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
11349
11326
|
merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
|
|
11350
11327
|
context: "context";
|
|
11351
11328
|
quota: "quota";
|
|
11352
|
-
environment: "environment";
|
|
11353
11329
|
addedDirs: "addedDirs";
|
|
11354
11330
|
gitFiles: "gitFiles";
|
|
11355
11331
|
memory: "memory";
|
|
11332
|
+
environment: "environment";
|
|
11356
11333
|
sessionTime: "sessionTime";
|
|
11357
11334
|
promptCache: "promptCache";
|
|
11358
11335
|
compactions: "compactions";
|
|
@@ -11366,10 +11343,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
11366
11343
|
rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
11367
11344
|
context: "context";
|
|
11368
11345
|
quota: "quota";
|
|
11369
|
-
environment: "environment";
|
|
11370
11346
|
addedDirs: "addedDirs";
|
|
11371
11347
|
gitFiles: "gitFiles";
|
|
11372
11348
|
memory: "memory";
|
|
11349
|
+
environment: "environment";
|
|
11373
11350
|
sessionTime: "sessionTime";
|
|
11374
11351
|
promptCache: "promptCache";
|
|
11375
11352
|
compactions: "compactions";
|
|
@@ -11428,10 +11405,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
11428
11405
|
hidden: "hidden";
|
|
11429
11406
|
}>>;
|
|
11430
11407
|
value: zod.ZodOptional<zod.ZodEnum<{
|
|
11431
|
-
remaining: "remaining";
|
|
11432
11408
|
tokens: "tokens";
|
|
11433
11409
|
both: "both";
|
|
11434
11410
|
percent: "percent";
|
|
11411
|
+
remaining: "remaining";
|
|
11435
11412
|
}>>;
|
|
11436
11413
|
estimate: zod.ZodOptional<zod.ZodEnum<{
|
|
11437
11414
|
never: "never";
|
|
@@ -11473,8 +11450,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
11473
11450
|
}, zod_v4_core.$strict>>;
|
|
11474
11451
|
usage: zod.ZodOptional<zod.ZodObject<{
|
|
11475
11452
|
value: zod.ZodOptional<zod.ZodEnum<{
|
|
11476
|
-
used: "used";
|
|
11477
11453
|
remaining: "remaining";
|
|
11454
|
+
used: "used";
|
|
11478
11455
|
}>>;
|
|
11479
11456
|
bar: zod.ZodOptional<zod.ZodBoolean>;
|
|
11480
11457
|
compact: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -11832,6 +11809,53 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
11832
11809
|
}, zod_v4_core.$strict>>;
|
|
11833
11810
|
}, zod_v4_core.$strict>>;
|
|
11834
11811
|
}, zod_v4_core.$strict>>;
|
|
11812
|
+
models: zod.ZodOptional<zod.ZodObject<{
|
|
11813
|
+
pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
|
|
11814
|
+
virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
11815
|
+
mode: zod.ZodEnum<{
|
|
11816
|
+
ordered: "ordered";
|
|
11817
|
+
"most-allowance": "most-allowance";
|
|
11818
|
+
"soonest-reset": "soonest-reset";
|
|
11819
|
+
spread: "spread";
|
|
11820
|
+
adaptive: "adaptive";
|
|
11821
|
+
"lowest-latency": "lowest-latency";
|
|
11822
|
+
"highest-success": "highest-success";
|
|
11823
|
+
cheapest: "cheapest";
|
|
11824
|
+
}>;
|
|
11825
|
+
members: zod.ZodArray<zod.ZodString>;
|
|
11826
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
11827
|
+
tiers: zod.ZodOptional<zod.ZodObject<{
|
|
11828
|
+
fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
11829
|
+
opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
11830
|
+
sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
11831
|
+
haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
11832
|
+
}, zod_v4_core.$strict>>;
|
|
11833
|
+
prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
11834
|
+
input: zod.ZodNumber;
|
|
11835
|
+
output: zod.ZodNumber;
|
|
11836
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
11837
|
+
hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
11838
|
+
show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
11839
|
+
same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
|
|
11840
|
+
distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
|
|
11841
|
+
families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
11842
|
+
names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
11843
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
11844
|
+
ordered: "ordered";
|
|
11845
|
+
"most-allowance": "most-allowance";
|
|
11846
|
+
"soonest-reset": "soonest-reset";
|
|
11847
|
+
spread: "spread";
|
|
11848
|
+
adaptive: "adaptive";
|
|
11849
|
+
"lowest-latency": "lowest-latency";
|
|
11850
|
+
"highest-success": "highest-success";
|
|
11851
|
+
cheapest: "cheapest";
|
|
11852
|
+
}>>;
|
|
11853
|
+
context: zod.ZodOptional<zod.ZodNumber>;
|
|
11854
|
+
vision: zod.ZodOptional<zod.ZodBoolean>;
|
|
11855
|
+
tools: zod.ZodOptional<zod.ZodBoolean>;
|
|
11856
|
+
thinking: zod.ZodOptional<zod.ZodBoolean>;
|
|
11857
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
11858
|
+
}, zod_v4_core.$strict>>;
|
|
11835
11859
|
}, zod_v4_core.$strict>;
|
|
11836
11860
|
}, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
11837
11861
|
remove: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
|
|
@@ -12412,53 +12436,6 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
12412
12436
|
key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
12413
12437
|
}, zod_v4_core.$strip>], "kind">]>;
|
|
12414
12438
|
}, zod_v4_core.$strict>]>>>;
|
|
12415
|
-
models: zod.ZodOptional<zod.ZodObject<{
|
|
12416
|
-
pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
|
|
12417
|
-
virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
12418
|
-
mode: zod.ZodEnum<{
|
|
12419
|
-
ordered: "ordered";
|
|
12420
|
-
"most-allowance": "most-allowance";
|
|
12421
|
-
"soonest-reset": "soonest-reset";
|
|
12422
|
-
spread: "spread";
|
|
12423
|
-
adaptive: "adaptive";
|
|
12424
|
-
"lowest-latency": "lowest-latency";
|
|
12425
|
-
"highest-success": "highest-success";
|
|
12426
|
-
cheapest: "cheapest";
|
|
12427
|
-
}>;
|
|
12428
|
-
members: zod.ZodArray<zod.ZodString>;
|
|
12429
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
12430
|
-
tiers: zod.ZodOptional<zod.ZodObject<{
|
|
12431
|
-
fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
12432
|
-
opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
12433
|
-
sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
12434
|
-
haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
12435
|
-
}, zod_v4_core.$strict>>;
|
|
12436
|
-
prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
12437
|
-
input: zod.ZodNumber;
|
|
12438
|
-
output: zod.ZodNumber;
|
|
12439
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
12440
|
-
hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
12441
|
-
show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
12442
|
-
same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
|
|
12443
|
-
distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
|
|
12444
|
-
families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
12445
|
-
names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
12446
|
-
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
12447
|
-
ordered: "ordered";
|
|
12448
|
-
"most-allowance": "most-allowance";
|
|
12449
|
-
"soonest-reset": "soonest-reset";
|
|
12450
|
-
spread: "spread";
|
|
12451
|
-
adaptive: "adaptive";
|
|
12452
|
-
"lowest-latency": "lowest-latency";
|
|
12453
|
-
"highest-success": "highest-success";
|
|
12454
|
-
cheapest: "cheapest";
|
|
12455
|
-
}>>;
|
|
12456
|
-
context: zod.ZodOptional<zod.ZodNumber>;
|
|
12457
|
-
vision: zod.ZodOptional<zod.ZodBoolean>;
|
|
12458
|
-
tools: zod.ZodOptional<zod.ZodBoolean>;
|
|
12459
|
-
thinking: zod.ZodOptional<zod.ZodBoolean>;
|
|
12460
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
12461
|
-
}, zod_v4_core.$strict>>;
|
|
12462
12439
|
$schema: zod.ZodOptional<zod.ZodString>;
|
|
12463
12440
|
extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
12464
12441
|
categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
|
|
@@ -12506,13 +12483,13 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
12506
12483
|
route: "route";
|
|
12507
12484
|
account: "account";
|
|
12508
12485
|
provider: "provider";
|
|
12509
|
-
version: "version";
|
|
12510
|
-
headroom: "headroom";
|
|
12511
12486
|
duration: "duration";
|
|
12487
|
+
headroom: "headroom";
|
|
12512
12488
|
project: "project";
|
|
12513
12489
|
vcs: "vcs";
|
|
12514
12490
|
effort: "effort";
|
|
12515
12491
|
advisor: "advisor";
|
|
12492
|
+
version: "version";
|
|
12516
12493
|
outputStyle: "outputStyle";
|
|
12517
12494
|
cost: "cost";
|
|
12518
12495
|
dailyCost: "dailyCost";
|
|
@@ -12523,10 +12500,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
12523
12500
|
rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
12524
12501
|
context: "context";
|
|
12525
12502
|
quota: "quota";
|
|
12526
|
-
environment: "environment";
|
|
12527
12503
|
addedDirs: "addedDirs";
|
|
12528
12504
|
gitFiles: "gitFiles";
|
|
12529
12505
|
memory: "memory";
|
|
12506
|
+
environment: "environment";
|
|
12530
12507
|
sessionTime: "sessionTime";
|
|
12531
12508
|
promptCache: "promptCache";
|
|
12532
12509
|
compactions: "compactions";
|
|
@@ -12549,10 +12526,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
12549
12526
|
merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
|
|
12550
12527
|
context: "context";
|
|
12551
12528
|
quota: "quota";
|
|
12552
|
-
environment: "environment";
|
|
12553
12529
|
addedDirs: "addedDirs";
|
|
12554
12530
|
gitFiles: "gitFiles";
|
|
12555
12531
|
memory: "memory";
|
|
12532
|
+
environment: "environment";
|
|
12556
12533
|
sessionTime: "sessionTime";
|
|
12557
12534
|
promptCache: "promptCache";
|
|
12558
12535
|
compactions: "compactions";
|
|
@@ -12566,10 +12543,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
12566
12543
|
rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
12567
12544
|
context: "context";
|
|
12568
12545
|
quota: "quota";
|
|
12569
|
-
environment: "environment";
|
|
12570
12546
|
addedDirs: "addedDirs";
|
|
12571
12547
|
gitFiles: "gitFiles";
|
|
12572
12548
|
memory: "memory";
|
|
12549
|
+
environment: "environment";
|
|
12573
12550
|
sessionTime: "sessionTime";
|
|
12574
12551
|
promptCache: "promptCache";
|
|
12575
12552
|
compactions: "compactions";
|
|
@@ -12628,10 +12605,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
12628
12605
|
hidden: "hidden";
|
|
12629
12606
|
}>>;
|
|
12630
12607
|
value: zod.ZodOptional<zod.ZodEnum<{
|
|
12631
|
-
remaining: "remaining";
|
|
12632
12608
|
tokens: "tokens";
|
|
12633
12609
|
both: "both";
|
|
12634
12610
|
percent: "percent";
|
|
12611
|
+
remaining: "remaining";
|
|
12635
12612
|
}>>;
|
|
12636
12613
|
estimate: zod.ZodOptional<zod.ZodEnum<{
|
|
12637
12614
|
never: "never";
|
|
@@ -12673,8 +12650,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
12673
12650
|
}, zod_v4_core.$strict>>;
|
|
12674
12651
|
usage: zod.ZodOptional<zod.ZodObject<{
|
|
12675
12652
|
value: zod.ZodOptional<zod.ZodEnum<{
|
|
12676
|
-
used: "used";
|
|
12677
12653
|
remaining: "remaining";
|
|
12654
|
+
used: "used";
|
|
12678
12655
|
}>>;
|
|
12679
12656
|
bar: zod.ZodOptional<zod.ZodBoolean>;
|
|
12680
12657
|
compact: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -13032,6 +13009,53 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
13032
13009
|
}, zod_v4_core.$strict>>;
|
|
13033
13010
|
}, zod_v4_core.$strict>>;
|
|
13034
13011
|
}, zod_v4_core.$strict>>;
|
|
13012
|
+
models: zod.ZodOptional<zod.ZodObject<{
|
|
13013
|
+
pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
|
|
13014
|
+
virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
13015
|
+
mode: zod.ZodEnum<{
|
|
13016
|
+
ordered: "ordered";
|
|
13017
|
+
"most-allowance": "most-allowance";
|
|
13018
|
+
"soonest-reset": "soonest-reset";
|
|
13019
|
+
spread: "spread";
|
|
13020
|
+
adaptive: "adaptive";
|
|
13021
|
+
"lowest-latency": "lowest-latency";
|
|
13022
|
+
"highest-success": "highest-success";
|
|
13023
|
+
cheapest: "cheapest";
|
|
13024
|
+
}>;
|
|
13025
|
+
members: zod.ZodArray<zod.ZodString>;
|
|
13026
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
13027
|
+
tiers: zod.ZodOptional<zod.ZodObject<{
|
|
13028
|
+
fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
13029
|
+
opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
13030
|
+
sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
13031
|
+
haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
13032
|
+
}, zod_v4_core.$strict>>;
|
|
13033
|
+
prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
13034
|
+
input: zod.ZodNumber;
|
|
13035
|
+
output: zod.ZodNumber;
|
|
13036
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
13037
|
+
hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
13038
|
+
show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
13039
|
+
same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
|
|
13040
|
+
distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
|
|
13041
|
+
families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
13042
|
+
names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
13043
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
13044
|
+
ordered: "ordered";
|
|
13045
|
+
"most-allowance": "most-allowance";
|
|
13046
|
+
"soonest-reset": "soonest-reset";
|
|
13047
|
+
spread: "spread";
|
|
13048
|
+
adaptive: "adaptive";
|
|
13049
|
+
"lowest-latency": "lowest-latency";
|
|
13050
|
+
"highest-success": "highest-success";
|
|
13051
|
+
cheapest: "cheapest";
|
|
13052
|
+
}>>;
|
|
13053
|
+
context: zod.ZodOptional<zod.ZodNumber>;
|
|
13054
|
+
vision: zod.ZodOptional<zod.ZodBoolean>;
|
|
13055
|
+
tools: zod.ZodOptional<zod.ZodBoolean>;
|
|
13056
|
+
thinking: zod.ZodOptional<zod.ZodBoolean>;
|
|
13057
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
13058
|
+
}, zod_v4_core.$strict>>;
|
|
13035
13059
|
path: zod.ZodString;
|
|
13036
13060
|
configProfile: zod.ZodOptional<zod.ZodString>;
|
|
13037
13061
|
identity: zod.ZodOptional<zod.ZodString>;
|
|
@@ -13193,53 +13217,6 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
13193
13217
|
key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
13194
13218
|
}, zod_v4_core.$strip>], "kind">]>;
|
|
13195
13219
|
}, zod_v4_core.$strict>]>>>;
|
|
13196
|
-
models: zod.ZodOptional<zod.ZodObject<{
|
|
13197
|
-
pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
|
|
13198
|
-
virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
13199
|
-
mode: zod.ZodEnum<{
|
|
13200
|
-
ordered: "ordered";
|
|
13201
|
-
"most-allowance": "most-allowance";
|
|
13202
|
-
"soonest-reset": "soonest-reset";
|
|
13203
|
-
spread: "spread";
|
|
13204
|
-
adaptive: "adaptive";
|
|
13205
|
-
"lowest-latency": "lowest-latency";
|
|
13206
|
-
"highest-success": "highest-success";
|
|
13207
|
-
cheapest: "cheapest";
|
|
13208
|
-
}>;
|
|
13209
|
-
members: zod.ZodArray<zod.ZodString>;
|
|
13210
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
13211
|
-
tiers: zod.ZodOptional<zod.ZodObject<{
|
|
13212
|
-
fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
13213
|
-
opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
13214
|
-
sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
13215
|
-
haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
13216
|
-
}, zod_v4_core.$strict>>;
|
|
13217
|
-
prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
13218
|
-
input: zod.ZodNumber;
|
|
13219
|
-
output: zod.ZodNumber;
|
|
13220
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
13221
|
-
hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
13222
|
-
show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
13223
|
-
same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
|
|
13224
|
-
distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
|
|
13225
|
-
families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
13226
|
-
names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
13227
|
-
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
13228
|
-
ordered: "ordered";
|
|
13229
|
-
"most-allowance": "most-allowance";
|
|
13230
|
-
"soonest-reset": "soonest-reset";
|
|
13231
|
-
spread: "spread";
|
|
13232
|
-
adaptive: "adaptive";
|
|
13233
|
-
"lowest-latency": "lowest-latency";
|
|
13234
|
-
"highest-success": "highest-success";
|
|
13235
|
-
cheapest: "cheapest";
|
|
13236
|
-
}>>;
|
|
13237
|
-
context: zod.ZodOptional<zod.ZodNumber>;
|
|
13238
|
-
vision: zod.ZodOptional<zod.ZodBoolean>;
|
|
13239
|
-
tools: zod.ZodOptional<zod.ZodBoolean>;
|
|
13240
|
-
thinking: zod.ZodOptional<zod.ZodBoolean>;
|
|
13241
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
13242
|
-
}, zod_v4_core.$strict>>;
|
|
13243
13220
|
$schema: zod.ZodOptional<zod.ZodString>;
|
|
13244
13221
|
extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
13245
13222
|
categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
|
|
@@ -13287,13 +13264,13 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
13287
13264
|
route: "route";
|
|
13288
13265
|
account: "account";
|
|
13289
13266
|
provider: "provider";
|
|
13290
|
-
version: "version";
|
|
13291
|
-
headroom: "headroom";
|
|
13292
13267
|
duration: "duration";
|
|
13268
|
+
headroom: "headroom";
|
|
13293
13269
|
project: "project";
|
|
13294
13270
|
vcs: "vcs";
|
|
13295
13271
|
effort: "effort";
|
|
13296
13272
|
advisor: "advisor";
|
|
13273
|
+
version: "version";
|
|
13297
13274
|
outputStyle: "outputStyle";
|
|
13298
13275
|
cost: "cost";
|
|
13299
13276
|
dailyCost: "dailyCost";
|
|
@@ -13304,10 +13281,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
13304
13281
|
rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
13305
13282
|
context: "context";
|
|
13306
13283
|
quota: "quota";
|
|
13307
|
-
environment: "environment";
|
|
13308
13284
|
addedDirs: "addedDirs";
|
|
13309
13285
|
gitFiles: "gitFiles";
|
|
13310
13286
|
memory: "memory";
|
|
13287
|
+
environment: "environment";
|
|
13311
13288
|
sessionTime: "sessionTime";
|
|
13312
13289
|
promptCache: "promptCache";
|
|
13313
13290
|
compactions: "compactions";
|
|
@@ -13330,10 +13307,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
13330
13307
|
merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
|
|
13331
13308
|
context: "context";
|
|
13332
13309
|
quota: "quota";
|
|
13333
|
-
environment: "environment";
|
|
13334
13310
|
addedDirs: "addedDirs";
|
|
13335
13311
|
gitFiles: "gitFiles";
|
|
13336
13312
|
memory: "memory";
|
|
13313
|
+
environment: "environment";
|
|
13337
13314
|
sessionTime: "sessionTime";
|
|
13338
13315
|
promptCache: "promptCache";
|
|
13339
13316
|
compactions: "compactions";
|
|
@@ -13347,10 +13324,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
13347
13324
|
rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
13348
13325
|
context: "context";
|
|
13349
13326
|
quota: "quota";
|
|
13350
|
-
environment: "environment";
|
|
13351
13327
|
addedDirs: "addedDirs";
|
|
13352
13328
|
gitFiles: "gitFiles";
|
|
13353
13329
|
memory: "memory";
|
|
13330
|
+
environment: "environment";
|
|
13354
13331
|
sessionTime: "sessionTime";
|
|
13355
13332
|
promptCache: "promptCache";
|
|
13356
13333
|
compactions: "compactions";
|
|
@@ -13409,10 +13386,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
13409
13386
|
hidden: "hidden";
|
|
13410
13387
|
}>>;
|
|
13411
13388
|
value: zod.ZodOptional<zod.ZodEnum<{
|
|
13412
|
-
remaining: "remaining";
|
|
13413
13389
|
tokens: "tokens";
|
|
13414
13390
|
both: "both";
|
|
13415
13391
|
percent: "percent";
|
|
13392
|
+
remaining: "remaining";
|
|
13416
13393
|
}>>;
|
|
13417
13394
|
estimate: zod.ZodOptional<zod.ZodEnum<{
|
|
13418
13395
|
never: "never";
|
|
@@ -13454,8 +13431,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
13454
13431
|
}, zod_v4_core.$strict>>;
|
|
13455
13432
|
usage: zod.ZodOptional<zod.ZodObject<{
|
|
13456
13433
|
value: zod.ZodOptional<zod.ZodEnum<{
|
|
13457
|
-
used: "used";
|
|
13458
13434
|
remaining: "remaining";
|
|
13435
|
+
used: "used";
|
|
13459
13436
|
}>>;
|
|
13460
13437
|
bar: zod.ZodOptional<zod.ZodBoolean>;
|
|
13461
13438
|
compact: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -13813,29 +13790,76 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
13813
13790
|
}, zod_v4_core.$strict>>;
|
|
13814
13791
|
}, zod_v4_core.$strict>>;
|
|
13815
13792
|
}, zod_v4_core.$strict>>;
|
|
13816
|
-
|
|
13817
|
-
|
|
13818
|
-
|
|
13819
|
-
|
|
13820
|
-
|
|
13821
|
-
|
|
13822
|
-
|
|
13823
|
-
|
|
13824
|
-
|
|
13825
|
-
|
|
13826
|
-
|
|
13827
|
-
|
|
13828
|
-
|
|
13829
|
-
|
|
13830
|
-
|
|
13831
|
-
|
|
13832
|
-
|
|
13833
|
-
|
|
13834
|
-
|
|
13835
|
-
|
|
13836
|
-
|
|
13837
|
-
|
|
13838
|
-
|
|
13793
|
+
models: zod.ZodOptional<zod.ZodObject<{
|
|
13794
|
+
pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
|
|
13795
|
+
virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
13796
|
+
mode: zod.ZodEnum<{
|
|
13797
|
+
ordered: "ordered";
|
|
13798
|
+
"most-allowance": "most-allowance";
|
|
13799
|
+
"soonest-reset": "soonest-reset";
|
|
13800
|
+
spread: "spread";
|
|
13801
|
+
adaptive: "adaptive";
|
|
13802
|
+
"lowest-latency": "lowest-latency";
|
|
13803
|
+
"highest-success": "highest-success";
|
|
13804
|
+
cheapest: "cheapest";
|
|
13805
|
+
}>;
|
|
13806
|
+
members: zod.ZodArray<zod.ZodString>;
|
|
13807
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
13808
|
+
tiers: zod.ZodOptional<zod.ZodObject<{
|
|
13809
|
+
fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
13810
|
+
opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
13811
|
+
sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
13812
|
+
haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
13813
|
+
}, zod_v4_core.$strict>>;
|
|
13814
|
+
prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
13815
|
+
input: zod.ZodNumber;
|
|
13816
|
+
output: zod.ZodNumber;
|
|
13817
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
13818
|
+
hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
13819
|
+
show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
13820
|
+
same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
|
|
13821
|
+
distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
|
|
13822
|
+
families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
13823
|
+
names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
13824
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
13825
|
+
ordered: "ordered";
|
|
13826
|
+
"most-allowance": "most-allowance";
|
|
13827
|
+
"soonest-reset": "soonest-reset";
|
|
13828
|
+
spread: "spread";
|
|
13829
|
+
adaptive: "adaptive";
|
|
13830
|
+
"lowest-latency": "lowest-latency";
|
|
13831
|
+
"highest-success": "highest-success";
|
|
13832
|
+
cheapest: "cheapest";
|
|
13833
|
+
}>>;
|
|
13834
|
+
context: zod.ZodOptional<zod.ZodNumber>;
|
|
13835
|
+
vision: zod.ZodOptional<zod.ZodBoolean>;
|
|
13836
|
+
tools: zod.ZodOptional<zod.ZodBoolean>;
|
|
13837
|
+
thinking: zod.ZodOptional<zod.ZodBoolean>;
|
|
13838
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
13839
|
+
}, zod_v4_core.$strict>>;
|
|
13840
|
+
path: zod.ZodString;
|
|
13841
|
+
configProfile: zod.ZodOptional<zod.ZodString>;
|
|
13842
|
+
identity: zod.ZodOptional<zod.ZodString>;
|
|
13843
|
+
when: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
13844
|
+
newerThan: zod.ZodOptional<zod.ZodString>;
|
|
13845
|
+
olderThan: zod.ZodOptional<zod.ZodString>;
|
|
13846
|
+
maxSizeBytes: zod.ZodOptional<zod.ZodInt>;
|
|
13847
|
+
branch: zod.ZodOptional<zod.ZodString>;
|
|
13848
|
+
env: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
13849
|
+
}, zod_v4_core.$strict>, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
|
|
13850
|
+
kind: zod.ZodLiteral<"not">;
|
|
13851
|
+
operand: typeof trilean.PredicateNodeSchema;
|
|
13852
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
13853
|
+
kind: zod.ZodLiteral<"and">;
|
|
13854
|
+
left: typeof trilean.PredicateNodeSchema;
|
|
13855
|
+
right: typeof trilean.PredicateNodeSchema;
|
|
13856
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
13857
|
+
kind: zod.ZodLiteral<"or">;
|
|
13858
|
+
left: typeof trilean.PredicateNodeSchema;
|
|
13859
|
+
right: typeof trilean.PredicateNodeSchema;
|
|
13860
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
13861
|
+
kind: zod.ZodLiteral<"allOf">;
|
|
13862
|
+
operands: zod.ZodArray<typeof trilean.PredicateNodeSchema>;
|
|
13839
13863
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
13840
13864
|
kind: zod.ZodLiteral<"anyOf">;
|
|
13841
13865
|
operands: zod.ZodArray<typeof trilean.PredicateNodeSchema>;
|
|
@@ -13899,6 +13923,50 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
13899
13923
|
name: zod.ZodString;
|
|
13900
13924
|
}, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
13901
13925
|
};
|
|
13926
|
+
route: {
|
|
13927
|
+
set: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
|
|
13928
|
+
scope: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
13929
|
+
kind: zod.ZodLiteral<"global">;
|
|
13930
|
+
}, zod_v4_core.$strict>, zod.ZodObject<{
|
|
13931
|
+
kind: zod.ZodEnum<{
|
|
13932
|
+
session: "session";
|
|
13933
|
+
identity: "identity";
|
|
13934
|
+
provider: "provider";
|
|
13935
|
+
}>;
|
|
13936
|
+
name: zod.ZodString;
|
|
13937
|
+
}, zod_v4_core.$strict>]>;
|
|
13938
|
+
model: zod.ZodString;
|
|
13939
|
+
target: zod.ZodString;
|
|
13940
|
+
}, zod_v4_core.$strict>, zod.ZodObject<{
|
|
13941
|
+
action: zod.ZodLiteral<"updated">;
|
|
13942
|
+
kind: zod.ZodLiteral<"route">;
|
|
13943
|
+
name: zod.ZodString;
|
|
13944
|
+
value: zod.ZodObject<{
|
|
13945
|
+
scope: zod.ZodString;
|
|
13946
|
+
model: zod.ZodString;
|
|
13947
|
+
target: zod.ZodString;
|
|
13948
|
+
}, zod_v4_core.$strict>;
|
|
13949
|
+
}, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
13950
|
+
remove: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
|
|
13951
|
+
scope: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
13952
|
+
kind: zod.ZodLiteral<"global">;
|
|
13953
|
+
}, zod_v4_core.$strict>, zod.ZodObject<{
|
|
13954
|
+
kind: zod.ZodEnum<{
|
|
13955
|
+
session: "session";
|
|
13956
|
+
identity: "identity";
|
|
13957
|
+
provider: "provider";
|
|
13958
|
+
}>;
|
|
13959
|
+
name: zod.ZodString;
|
|
13960
|
+
}, zod_v4_core.$strict>]>;
|
|
13961
|
+
model: zod.ZodString;
|
|
13962
|
+
confirm: zod.ZodBoolean;
|
|
13963
|
+
}, zod_v4_core.$strict>, zod.ZodObject<{
|
|
13964
|
+
action: zod.ZodLiteral<"removed">;
|
|
13965
|
+
kind: zod.ZodLiteral<"route">;
|
|
13966
|
+
name: zod.ZodString;
|
|
13967
|
+
removed: zod.ZodArray<zod.ZodString>;
|
|
13968
|
+
}, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
13969
|
+
};
|
|
13902
13970
|
};
|
|
13903
13971
|
};
|
|
13904
13972
|
/** The configuration router, as the merged mount's and the client's own types are derived from it. */
|
|
@@ -14217,9 +14285,9 @@ declare function createLifecycleApiRouter(deps: LifecycleApiDeps): {
|
|
|
14217
14285
|
current: z.ZodString;
|
|
14218
14286
|
latest: z.ZodString;
|
|
14219
14287
|
action: z.ZodEnum<{
|
|
14288
|
+
updated: "updated";
|
|
14220
14289
|
current: "current";
|
|
14221
14290
|
available: "available";
|
|
14222
|
-
updated: "updated";
|
|
14223
14291
|
}>;
|
|
14224
14292
|
}, z.core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
14225
14293
|
};
|
|
@@ -14304,13 +14372,13 @@ declare const StatuslineSchema: z.ZodObject<{
|
|
|
14304
14372
|
route: "route";
|
|
14305
14373
|
account: "account";
|
|
14306
14374
|
provider: "provider";
|
|
14307
|
-
version: "version";
|
|
14308
|
-
headroom: "headroom";
|
|
14309
14375
|
duration: "duration";
|
|
14376
|
+
headroom: "headroom";
|
|
14310
14377
|
project: "project";
|
|
14311
14378
|
vcs: "vcs";
|
|
14312
14379
|
effort: "effort";
|
|
14313
14380
|
advisor: "advisor";
|
|
14381
|
+
version: "version";
|
|
14314
14382
|
outputStyle: "outputStyle";
|
|
14315
14383
|
cost: "cost";
|
|
14316
14384
|
dailyCost: "dailyCost";
|
|
@@ -14321,10 +14389,10 @@ declare const StatuslineSchema: z.ZodObject<{
|
|
|
14321
14389
|
rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
14322
14390
|
context: "context";
|
|
14323
14391
|
quota: "quota";
|
|
14324
|
-
environment: "environment";
|
|
14325
14392
|
addedDirs: "addedDirs";
|
|
14326
14393
|
gitFiles: "gitFiles";
|
|
14327
14394
|
memory: "memory";
|
|
14395
|
+
environment: "environment";
|
|
14328
14396
|
sessionTime: "sessionTime";
|
|
14329
14397
|
promptCache: "promptCache";
|
|
14330
14398
|
compactions: "compactions";
|
|
@@ -14347,10 +14415,10 @@ declare const StatuslineSchema: z.ZodObject<{
|
|
|
14347
14415
|
merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
|
|
14348
14416
|
context: "context";
|
|
14349
14417
|
quota: "quota";
|
|
14350
|
-
environment: "environment";
|
|
14351
14418
|
addedDirs: "addedDirs";
|
|
14352
14419
|
gitFiles: "gitFiles";
|
|
14353
14420
|
memory: "memory";
|
|
14421
|
+
environment: "environment";
|
|
14354
14422
|
sessionTime: "sessionTime";
|
|
14355
14423
|
promptCache: "promptCache";
|
|
14356
14424
|
compactions: "compactions";
|
|
@@ -14364,10 +14432,10 @@ declare const StatuslineSchema: z.ZodObject<{
|
|
|
14364
14432
|
rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
14365
14433
|
context: "context";
|
|
14366
14434
|
quota: "quota";
|
|
14367
|
-
environment: "environment";
|
|
14368
14435
|
addedDirs: "addedDirs";
|
|
14369
14436
|
gitFiles: "gitFiles";
|
|
14370
14437
|
memory: "memory";
|
|
14438
|
+
environment: "environment";
|
|
14371
14439
|
sessionTime: "sessionTime";
|
|
14372
14440
|
promptCache: "promptCache";
|
|
14373
14441
|
compactions: "compactions";
|
|
@@ -14426,10 +14494,10 @@ declare const StatuslineSchema: z.ZodObject<{
|
|
|
14426
14494
|
hidden: "hidden";
|
|
14427
14495
|
}>>;
|
|
14428
14496
|
value: z.ZodOptional<z.ZodEnum<{
|
|
14429
|
-
remaining: "remaining";
|
|
14430
14497
|
tokens: "tokens";
|
|
14431
14498
|
both: "both";
|
|
14432
14499
|
percent: "percent";
|
|
14500
|
+
remaining: "remaining";
|
|
14433
14501
|
}>>;
|
|
14434
14502
|
estimate: z.ZodOptional<z.ZodEnum<{
|
|
14435
14503
|
never: "never";
|
|
@@ -14471,8 +14539,8 @@ declare const StatuslineSchema: z.ZodObject<{
|
|
|
14471
14539
|
}, z.core.$strict>>;
|
|
14472
14540
|
usage: z.ZodOptional<z.ZodObject<{
|
|
14473
14541
|
value: z.ZodOptional<z.ZodEnum<{
|
|
14474
|
-
used: "used";
|
|
14475
14542
|
remaining: "remaining";
|
|
14543
|
+
used: "used";
|
|
14476
14544
|
}>>;
|
|
14477
14545
|
bar: z.ZodOptional<z.ZodBoolean>;
|
|
14478
14546
|
compact: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -15170,12 +15238,12 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
|
|
|
15170
15238
|
identity: zod.ZodOptional<zod.ZodString>;
|
|
15171
15239
|
identityId: zod.ZodOptional<zod.ZodString>;
|
|
15172
15240
|
identitySource: zod.ZodEnum<{
|
|
15241
|
+
env: "env";
|
|
15242
|
+
none: "none";
|
|
15173
15243
|
"config-dir-escape-hatch": "config-dir-escape-hatch";
|
|
15174
15244
|
argv: "argv";
|
|
15175
|
-
env: "env";
|
|
15176
15245
|
"directory-pin": "directory-pin";
|
|
15177
15246
|
"active-identity-file": "active-identity-file";
|
|
15178
|
-
none: "none";
|
|
15179
15247
|
}>;
|
|
15180
15248
|
pool: zod.ZodOptional<zod.ZodObject<{
|
|
15181
15249
|
name: zod.ZodString;
|
|
@@ -15190,10 +15258,10 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
|
|
|
15190
15258
|
configDir: zod.ZodOptional<zod.ZodString>;
|
|
15191
15259
|
configProfile: zod.ZodOptional<zod.ZodString>;
|
|
15192
15260
|
configProfileSource: zod.ZodEnum<{
|
|
15261
|
+
"directory-rule": "directory-rule";
|
|
15193
15262
|
env: "env";
|
|
15194
15263
|
none: "none";
|
|
15195
15264
|
"cli-flag": "cli-flag";
|
|
15196
|
-
"directory-rule": "directory-rule";
|
|
15197
15265
|
"identity-default": "identity-default";
|
|
15198
15266
|
"global-default": "global-default";
|
|
15199
15267
|
}>;
|
|
@@ -15229,13 +15297,13 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
|
|
|
15229
15297
|
route: "route";
|
|
15230
15298
|
account: "account";
|
|
15231
15299
|
provider: "provider";
|
|
15232
|
-
version: "version";
|
|
15233
|
-
headroom: "headroom";
|
|
15234
15300
|
duration: "duration";
|
|
15301
|
+
headroom: "headroom";
|
|
15235
15302
|
project: "project";
|
|
15236
15303
|
vcs: "vcs";
|
|
15237
15304
|
effort: "effort";
|
|
15238
15305
|
advisor: "advisor";
|
|
15306
|
+
version: "version";
|
|
15239
15307
|
outputStyle: "outputStyle";
|
|
15240
15308
|
cost: "cost";
|
|
15241
15309
|
dailyCost: "dailyCost";
|
|
@@ -15246,10 +15314,10 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
|
|
|
15246
15314
|
rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
15247
15315
|
context: "context";
|
|
15248
15316
|
quota: "quota";
|
|
15249
|
-
environment: "environment";
|
|
15250
15317
|
addedDirs: "addedDirs";
|
|
15251
15318
|
gitFiles: "gitFiles";
|
|
15252
15319
|
memory: "memory";
|
|
15320
|
+
environment: "environment";
|
|
15253
15321
|
sessionTime: "sessionTime";
|
|
15254
15322
|
promptCache: "promptCache";
|
|
15255
15323
|
compactions: "compactions";
|
|
@@ -15272,10 +15340,10 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
|
|
|
15272
15340
|
merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
|
|
15273
15341
|
context: "context";
|
|
15274
15342
|
quota: "quota";
|
|
15275
|
-
environment: "environment";
|
|
15276
15343
|
addedDirs: "addedDirs";
|
|
15277
15344
|
gitFiles: "gitFiles";
|
|
15278
15345
|
memory: "memory";
|
|
15346
|
+
environment: "environment";
|
|
15279
15347
|
sessionTime: "sessionTime";
|
|
15280
15348
|
promptCache: "promptCache";
|
|
15281
15349
|
compactions: "compactions";
|
|
@@ -15289,10 +15357,10 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
|
|
|
15289
15357
|
rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
15290
15358
|
context: "context";
|
|
15291
15359
|
quota: "quota";
|
|
15292
|
-
environment: "environment";
|
|
15293
15360
|
addedDirs: "addedDirs";
|
|
15294
15361
|
gitFiles: "gitFiles";
|
|
15295
15362
|
memory: "memory";
|
|
15363
|
+
environment: "environment";
|
|
15296
15364
|
sessionTime: "sessionTime";
|
|
15297
15365
|
promptCache: "promptCache";
|
|
15298
15366
|
compactions: "compactions";
|
|
@@ -15351,10 +15419,10 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
|
|
|
15351
15419
|
hidden: "hidden";
|
|
15352
15420
|
}>>;
|
|
15353
15421
|
value: zod.ZodOptional<zod.ZodEnum<{
|
|
15354
|
-
remaining: "remaining";
|
|
15355
15422
|
tokens: "tokens";
|
|
15356
15423
|
both: "both";
|
|
15357
15424
|
percent: "percent";
|
|
15425
|
+
remaining: "remaining";
|
|
15358
15426
|
}>>;
|
|
15359
15427
|
estimate: zod.ZodOptional<zod.ZodEnum<{
|
|
15360
15428
|
never: "never";
|
|
@@ -15396,8 +15464,8 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
|
|
|
15396
15464
|
}, zod_v4_core.$strict>>;
|
|
15397
15465
|
usage: zod.ZodOptional<zod.ZodObject<{
|
|
15398
15466
|
value: zod.ZodOptional<zod.ZodEnum<{
|
|
15399
|
-
used: "used";
|
|
15400
15467
|
remaining: "remaining";
|
|
15468
|
+
used: "used";
|
|
15401
15469
|
}>>;
|
|
15402
15470
|
bar: zod.ZodOptional<zod.ZodBoolean>;
|
|
15403
15471
|
compact: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -15758,8 +15826,8 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
|
|
|
15758
15826
|
claudeVersion: zod.ZodOptional<zod.ZodObject<{
|
|
15759
15827
|
version: zod.ZodString;
|
|
15760
15828
|
source: zod.ZodEnum<{
|
|
15761
|
-
flag: "flag";
|
|
15762
15829
|
environment: "environment";
|
|
15830
|
+
flag: "flag";
|
|
15763
15831
|
cascade: "cascade";
|
|
15764
15832
|
}>;
|
|
15765
15833
|
}, zod_v4_core.$strict>>;
|
|
@@ -16385,12 +16453,12 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
|
|
|
16385
16453
|
identity: z.ZodObject<{
|
|
16386
16454
|
name: z.ZodNullable<z.ZodString>;
|
|
16387
16455
|
source: z.ZodEnum<{
|
|
16456
|
+
env: "env";
|
|
16457
|
+
none: "none";
|
|
16388
16458
|
"config-dir-escape-hatch": "config-dir-escape-hatch";
|
|
16389
16459
|
argv: "argv";
|
|
16390
|
-
env: "env";
|
|
16391
16460
|
"directory-pin": "directory-pin";
|
|
16392
16461
|
"active-identity-file": "active-identity-file";
|
|
16393
|
-
none: "none";
|
|
16394
16462
|
}>;
|
|
16395
16463
|
}, z.core.$strict>;
|
|
16396
16464
|
pool: z.ZodOptional<z.ZodObject<{
|
|
@@ -16438,10 +16506,10 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
|
|
|
16438
16506
|
configProfile: z.ZodObject<{
|
|
16439
16507
|
name: z.ZodNullable<z.ZodString>;
|
|
16440
16508
|
source: z.ZodEnum<{
|
|
16509
|
+
"directory-rule": "directory-rule";
|
|
16441
16510
|
env: "env";
|
|
16442
16511
|
none: "none";
|
|
16443
16512
|
"cli-flag": "cli-flag";
|
|
16444
|
-
"directory-rule": "directory-rule";
|
|
16445
16513
|
"identity-default": "identity-default";
|
|
16446
16514
|
"global-default": "global-default";
|
|
16447
16515
|
}>;
|
|
@@ -16449,9 +16517,9 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
|
|
|
16449
16517
|
layers: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
16450
16518
|
id: z.ZodInt;
|
|
16451
16519
|
kind: z.ZodEnum<{
|
|
16452
|
-
"directory-rule": "directory-rule";
|
|
16453
16520
|
"global-config": "global-config";
|
|
16454
16521
|
"config-profile": "config-profile";
|
|
16522
|
+
"directory-rule": "directory-rule";
|
|
16455
16523
|
portable: "portable";
|
|
16456
16524
|
"portable-local": "portable-local";
|
|
16457
16525
|
"cli-override": "cli-override";
|
|
@@ -16469,11 +16537,11 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
|
|
|
16469
16537
|
"category-default": "category-default";
|
|
16470
16538
|
}>;
|
|
16471
16539
|
category: z.ZodNullable<z.ZodEnum<{
|
|
16472
|
-
secret: "secret";
|
|
16473
16540
|
runtime: "runtime";
|
|
16474
16541
|
history: "history";
|
|
16475
16542
|
knowledge: "knowledge";
|
|
16476
16543
|
settings: "settings";
|
|
16544
|
+
secret: "secret";
|
|
16477
16545
|
}>>;
|
|
16478
16546
|
rule: z.ZodOptional<z.ZodObject<{
|
|
16479
16547
|
key: z.ZodString;
|
|
@@ -16674,8 +16742,8 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
|
|
|
16674
16742
|
pinned: z.ZodOptional<z.ZodObject<{
|
|
16675
16743
|
version: z.ZodString;
|
|
16676
16744
|
source: z.ZodEnum<{
|
|
16677
|
-
flag: "flag";
|
|
16678
16745
|
environment: "environment";
|
|
16746
|
+
flag: "flag";
|
|
16679
16747
|
cascade: "cascade";
|
|
16680
16748
|
}>;
|
|
16681
16749
|
installed: z.ZodBoolean;
|
|
@@ -16693,6 +16761,19 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
|
|
|
16693
16761
|
ok: z.ZodLiteral<false>;
|
|
16694
16762
|
message: z.ZodString;
|
|
16695
16763
|
}, z.core.$strict>]>>;
|
|
16764
|
+
routeOverrides: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
16765
|
+
applying: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
16766
|
+
model: z.ZodString;
|
|
16767
|
+
target: z.ZodString;
|
|
16768
|
+
scope: z.ZodString;
|
|
16769
|
+
outranks: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
16770
|
+
scope: z.ZodString;
|
|
16771
|
+
target: z.ZodString;
|
|
16772
|
+
}, z.core.$strict>>>;
|
|
16773
|
+
}, z.core.$strict>>>;
|
|
16774
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16775
|
+
fault: z.ZodString;
|
|
16776
|
+
}, z.core.$strict>]>>;
|
|
16696
16777
|
}, z.core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
16697
16778
|
};
|
|
16698
16779
|
doctor: {
|
|
@@ -16700,13 +16781,15 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
|
|
|
16700
16781
|
ok: z.ZodBoolean;
|
|
16701
16782
|
findings: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
16702
16783
|
section: z.ZodEnum<{
|
|
16784
|
+
"global-config": "global-config";
|
|
16785
|
+
"config-profile": "config-profile";
|
|
16703
16786
|
identity: "identity";
|
|
16704
16787
|
provider: "provider";
|
|
16788
|
+
keychain: "keychain";
|
|
16789
|
+
headroom: "headroom";
|
|
16790
|
+
models: "models";
|
|
16705
16791
|
frontdoor: "frontdoor";
|
|
16706
16792
|
pool: "pool";
|
|
16707
|
-
"global-config": "global-config";
|
|
16708
|
-
"config-profile": "config-profile";
|
|
16709
|
-
keychain: "keychain";
|
|
16710
16793
|
"ambient-credential": "ambient-credential";
|
|
16711
16794
|
"binary-discovery": "binary-discovery";
|
|
16712
16795
|
"claude-shim": "claude-shim";
|
|
@@ -16717,8 +16800,7 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
|
|
|
16717
16800
|
"directory-rules": "directory-rules";
|
|
16718
16801
|
"categories-local": "categories-local";
|
|
16719
16802
|
"active-identity": "active-identity";
|
|
16720
|
-
|
|
16721
|
-
models: "models";
|
|
16803
|
+
"route-overrides": "route-overrides";
|
|
16722
16804
|
}>;
|
|
16723
16805
|
subject: z.ZodOptional<z.ZodString>;
|
|
16724
16806
|
severity: z.ZodEnum<{
|
|
@@ -16917,12 +16999,12 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
16917
16999
|
identity: z.ZodOptional<z.ZodString>;
|
|
16918
17000
|
identityId: z.ZodOptional<z.ZodString>;
|
|
16919
17001
|
identitySource: z.ZodEnum<{
|
|
17002
|
+
env: "env";
|
|
17003
|
+
none: "none";
|
|
16920
17004
|
"config-dir-escape-hatch": "config-dir-escape-hatch";
|
|
16921
17005
|
argv: "argv";
|
|
16922
|
-
env: "env";
|
|
16923
17006
|
"directory-pin": "directory-pin";
|
|
16924
17007
|
"active-identity-file": "active-identity-file";
|
|
16925
|
-
none: "none";
|
|
16926
17008
|
}>;
|
|
16927
17009
|
pool: z.ZodOptional<z.ZodObject<{
|
|
16928
17010
|
name: z.ZodString;
|
|
@@ -16937,10 +17019,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
16937
17019
|
configDir: z.ZodOptional<z.ZodString>;
|
|
16938
17020
|
configProfile: z.ZodOptional<z.ZodString>;
|
|
16939
17021
|
configProfileSource: z.ZodEnum<{
|
|
17022
|
+
"directory-rule": "directory-rule";
|
|
16940
17023
|
env: "env";
|
|
16941
17024
|
none: "none";
|
|
16942
17025
|
"cli-flag": "cli-flag";
|
|
16943
|
-
"directory-rule": "directory-rule";
|
|
16944
17026
|
"identity-default": "identity-default";
|
|
16945
17027
|
"global-default": "global-default";
|
|
16946
17028
|
}>;
|
|
@@ -16976,13 +17058,13 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
16976
17058
|
route: "route";
|
|
16977
17059
|
account: "account";
|
|
16978
17060
|
provider: "provider";
|
|
16979
|
-
version: "version";
|
|
16980
|
-
headroom: "headroom";
|
|
16981
17061
|
duration: "duration";
|
|
17062
|
+
headroom: "headroom";
|
|
16982
17063
|
project: "project";
|
|
16983
17064
|
vcs: "vcs";
|
|
16984
17065
|
effort: "effort";
|
|
16985
17066
|
advisor: "advisor";
|
|
17067
|
+
version: "version";
|
|
16986
17068
|
outputStyle: "outputStyle";
|
|
16987
17069
|
cost: "cost";
|
|
16988
17070
|
dailyCost: "dailyCost";
|
|
@@ -16993,10 +17075,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
16993
17075
|
rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
16994
17076
|
context: "context";
|
|
16995
17077
|
quota: "quota";
|
|
16996
|
-
environment: "environment";
|
|
16997
17078
|
addedDirs: "addedDirs";
|
|
16998
17079
|
gitFiles: "gitFiles";
|
|
16999
17080
|
memory: "memory";
|
|
17081
|
+
environment: "environment";
|
|
17000
17082
|
sessionTime: "sessionTime";
|
|
17001
17083
|
promptCache: "promptCache";
|
|
17002
17084
|
compactions: "compactions";
|
|
@@ -17019,10 +17101,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
17019
17101
|
merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
|
|
17020
17102
|
context: "context";
|
|
17021
17103
|
quota: "quota";
|
|
17022
|
-
environment: "environment";
|
|
17023
17104
|
addedDirs: "addedDirs";
|
|
17024
17105
|
gitFiles: "gitFiles";
|
|
17025
17106
|
memory: "memory";
|
|
17107
|
+
environment: "environment";
|
|
17026
17108
|
sessionTime: "sessionTime";
|
|
17027
17109
|
promptCache: "promptCache";
|
|
17028
17110
|
compactions: "compactions";
|
|
@@ -17036,10 +17118,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
17036
17118
|
rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
17037
17119
|
context: "context";
|
|
17038
17120
|
quota: "quota";
|
|
17039
|
-
environment: "environment";
|
|
17040
17121
|
addedDirs: "addedDirs";
|
|
17041
17122
|
gitFiles: "gitFiles";
|
|
17042
17123
|
memory: "memory";
|
|
17124
|
+
environment: "environment";
|
|
17043
17125
|
sessionTime: "sessionTime";
|
|
17044
17126
|
promptCache: "promptCache";
|
|
17045
17127
|
compactions: "compactions";
|
|
@@ -17098,10 +17180,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
17098
17180
|
hidden: "hidden";
|
|
17099
17181
|
}>>;
|
|
17100
17182
|
value: z.ZodOptional<z.ZodEnum<{
|
|
17101
|
-
remaining: "remaining";
|
|
17102
17183
|
tokens: "tokens";
|
|
17103
17184
|
both: "both";
|
|
17104
17185
|
percent: "percent";
|
|
17186
|
+
remaining: "remaining";
|
|
17105
17187
|
}>>;
|
|
17106
17188
|
estimate: z.ZodOptional<z.ZodEnum<{
|
|
17107
17189
|
never: "never";
|
|
@@ -17143,8 +17225,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
17143
17225
|
}, z.core.$strict>>;
|
|
17144
17226
|
usage: z.ZodOptional<z.ZodObject<{
|
|
17145
17227
|
value: z.ZodOptional<z.ZodEnum<{
|
|
17146
|
-
used: "used";
|
|
17147
17228
|
remaining: "remaining";
|
|
17229
|
+
used: "used";
|
|
17148
17230
|
}>>;
|
|
17149
17231
|
bar: z.ZodOptional<z.ZodBoolean>;
|
|
17150
17232
|
compact: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -17505,8 +17587,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
17505
17587
|
claudeVersion: z.ZodOptional<z.ZodObject<{
|
|
17506
17588
|
version: z.ZodString;
|
|
17507
17589
|
source: z.ZodEnum<{
|
|
17508
|
-
flag: "flag";
|
|
17509
17590
|
environment: "environment";
|
|
17591
|
+
flag: "flag";
|
|
17510
17592
|
cascade: "cascade";
|
|
17511
17593
|
}>;
|
|
17512
17594
|
}, z.core.$strict>>;
|
|
@@ -17862,53 +17944,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
17862
17944
|
}, z.core.$strip>], "kind">]>;
|
|
17863
17945
|
}, z.core.$strict>]>>>;
|
|
17864
17946
|
description: z.ZodOptional<z.ZodString>;
|
|
17865
|
-
models: z.ZodOptional<z.ZodObject<{
|
|
17866
|
-
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
17867
|
-
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
17868
|
-
mode: z.ZodEnum<{
|
|
17869
|
-
ordered: "ordered";
|
|
17870
|
-
"most-allowance": "most-allowance";
|
|
17871
|
-
"soonest-reset": "soonest-reset";
|
|
17872
|
-
spread: "spread";
|
|
17873
|
-
adaptive: "adaptive";
|
|
17874
|
-
"lowest-latency": "lowest-latency";
|
|
17875
|
-
"highest-success": "highest-success";
|
|
17876
|
-
cheapest: "cheapest";
|
|
17877
|
-
}>;
|
|
17878
|
-
members: z.ZodArray<z.ZodString>;
|
|
17879
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
17880
|
-
tiers: z.ZodOptional<z.ZodObject<{
|
|
17881
|
-
fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
17882
|
-
opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
17883
|
-
sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
17884
|
-
haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
17885
|
-
}, z.core.$strict>>;
|
|
17886
|
-
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
17887
|
-
input: z.ZodNumber;
|
|
17888
|
-
output: z.ZodNumber;
|
|
17889
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
17890
|
-
hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17891
|
-
show: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17892
|
-
same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
17893
|
-
distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
|
|
17894
|
-
families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
17895
|
-
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17896
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
17897
|
-
ordered: "ordered";
|
|
17898
|
-
"most-allowance": "most-allowance";
|
|
17899
|
-
"soonest-reset": "soonest-reset";
|
|
17900
|
-
spread: "spread";
|
|
17901
|
-
adaptive: "adaptive";
|
|
17902
|
-
"lowest-latency": "lowest-latency";
|
|
17903
|
-
"highest-success": "highest-success";
|
|
17904
|
-
cheapest: "cheapest";
|
|
17905
|
-
}>>;
|
|
17906
|
-
context: z.ZodOptional<z.ZodNumber>;
|
|
17907
|
-
vision: z.ZodOptional<z.ZodBoolean>;
|
|
17908
|
-
tools: z.ZodOptional<z.ZodBoolean>;
|
|
17909
|
-
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
17910
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
17911
|
-
}, z.core.$strict>>;
|
|
17912
17947
|
extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17913
17948
|
categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
|
|
17914
17949
|
all: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -17955,13 +17990,13 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
17955
17990
|
route: "route";
|
|
17956
17991
|
account: "account";
|
|
17957
17992
|
provider: "provider";
|
|
17958
|
-
version: "version";
|
|
17959
|
-
headroom: "headroom";
|
|
17960
17993
|
duration: "duration";
|
|
17994
|
+
headroom: "headroom";
|
|
17961
17995
|
project: "project";
|
|
17962
17996
|
vcs: "vcs";
|
|
17963
17997
|
effort: "effort";
|
|
17964
17998
|
advisor: "advisor";
|
|
17999
|
+
version: "version";
|
|
17965
18000
|
outputStyle: "outputStyle";
|
|
17966
18001
|
cost: "cost";
|
|
17967
18002
|
dailyCost: "dailyCost";
|
|
@@ -17972,10 +18007,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
17972
18007
|
rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
17973
18008
|
context: "context";
|
|
17974
18009
|
quota: "quota";
|
|
17975
|
-
environment: "environment";
|
|
17976
18010
|
addedDirs: "addedDirs";
|
|
17977
18011
|
gitFiles: "gitFiles";
|
|
17978
18012
|
memory: "memory";
|
|
18013
|
+
environment: "environment";
|
|
17979
18014
|
sessionTime: "sessionTime";
|
|
17980
18015
|
promptCache: "promptCache";
|
|
17981
18016
|
compactions: "compactions";
|
|
@@ -17998,10 +18033,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
17998
18033
|
merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
|
|
17999
18034
|
context: "context";
|
|
18000
18035
|
quota: "quota";
|
|
18001
|
-
environment: "environment";
|
|
18002
18036
|
addedDirs: "addedDirs";
|
|
18003
18037
|
gitFiles: "gitFiles";
|
|
18004
18038
|
memory: "memory";
|
|
18039
|
+
environment: "environment";
|
|
18005
18040
|
sessionTime: "sessionTime";
|
|
18006
18041
|
promptCache: "promptCache";
|
|
18007
18042
|
compactions: "compactions";
|
|
@@ -18015,10 +18050,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
18015
18050
|
rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
18016
18051
|
context: "context";
|
|
18017
18052
|
quota: "quota";
|
|
18018
|
-
environment: "environment";
|
|
18019
18053
|
addedDirs: "addedDirs";
|
|
18020
18054
|
gitFiles: "gitFiles";
|
|
18021
18055
|
memory: "memory";
|
|
18056
|
+
environment: "environment";
|
|
18022
18057
|
sessionTime: "sessionTime";
|
|
18023
18058
|
promptCache: "promptCache";
|
|
18024
18059
|
compactions: "compactions";
|
|
@@ -18077,10 +18112,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
18077
18112
|
hidden: "hidden";
|
|
18078
18113
|
}>>;
|
|
18079
18114
|
value: z.ZodOptional<z.ZodEnum<{
|
|
18080
|
-
remaining: "remaining";
|
|
18081
18115
|
tokens: "tokens";
|
|
18082
18116
|
both: "both";
|
|
18083
18117
|
percent: "percent";
|
|
18118
|
+
remaining: "remaining";
|
|
18084
18119
|
}>>;
|
|
18085
18120
|
estimate: z.ZodOptional<z.ZodEnum<{
|
|
18086
18121
|
never: "never";
|
|
@@ -18122,8 +18157,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
18122
18157
|
}, z.core.$strict>>;
|
|
18123
18158
|
usage: z.ZodOptional<z.ZodObject<{
|
|
18124
18159
|
value: z.ZodOptional<z.ZodEnum<{
|
|
18125
|
-
used: "used";
|
|
18126
18160
|
remaining: "remaining";
|
|
18161
|
+
used: "used";
|
|
18127
18162
|
}>>;
|
|
18128
18163
|
bar: z.ZodOptional<z.ZodBoolean>;
|
|
18129
18164
|
compact: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -18481,17 +18516,64 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
18481
18516
|
}, z.core.$strict>>;
|
|
18482
18517
|
}, z.core.$strict>>;
|
|
18483
18518
|
}, z.core.$strict>>;
|
|
18484
|
-
|
|
18485
|
-
|
|
18486
|
-
|
|
18487
|
-
|
|
18488
|
-
|
|
18489
|
-
|
|
18490
|
-
|
|
18491
|
-
|
|
18492
|
-
|
|
18493
|
-
|
|
18494
|
-
|
|
18519
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
18520
|
+
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
18521
|
+
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
18522
|
+
mode: z.ZodEnum<{
|
|
18523
|
+
ordered: "ordered";
|
|
18524
|
+
"most-allowance": "most-allowance";
|
|
18525
|
+
"soonest-reset": "soonest-reset";
|
|
18526
|
+
spread: "spread";
|
|
18527
|
+
adaptive: "adaptive";
|
|
18528
|
+
"lowest-latency": "lowest-latency";
|
|
18529
|
+
"highest-success": "highest-success";
|
|
18530
|
+
cheapest: "cheapest";
|
|
18531
|
+
}>;
|
|
18532
|
+
members: z.ZodArray<z.ZodString>;
|
|
18533
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
18534
|
+
tiers: z.ZodOptional<z.ZodObject<{
|
|
18535
|
+
fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
18536
|
+
opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
18537
|
+
sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
18538
|
+
haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
18539
|
+
}, z.core.$strict>>;
|
|
18540
|
+
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
18541
|
+
input: z.ZodNumber;
|
|
18542
|
+
output: z.ZodNumber;
|
|
18543
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
18544
|
+
hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18545
|
+
show: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18546
|
+
same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
18547
|
+
distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
|
|
18548
|
+
families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
18549
|
+
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18550
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
18551
|
+
ordered: "ordered";
|
|
18552
|
+
"most-allowance": "most-allowance";
|
|
18553
|
+
"soonest-reset": "soonest-reset";
|
|
18554
|
+
spread: "spread";
|
|
18555
|
+
adaptive: "adaptive";
|
|
18556
|
+
"lowest-latency": "lowest-latency";
|
|
18557
|
+
"highest-success": "highest-success";
|
|
18558
|
+
cheapest: "cheapest";
|
|
18559
|
+
}>>;
|
|
18560
|
+
context: z.ZodOptional<z.ZodNumber>;
|
|
18561
|
+
vision: z.ZodOptional<z.ZodBoolean>;
|
|
18562
|
+
tools: z.ZodOptional<z.ZodBoolean>;
|
|
18563
|
+
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
18564
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
18565
|
+
}, z.core.$strict>>;
|
|
18566
|
+
}, z.core.$strict>;
|
|
18567
|
+
}, z.core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
18568
|
+
set: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, z.ZodObject<{
|
|
18569
|
+
name: z.ZodString;
|
|
18570
|
+
category: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
18571
|
+
entry: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
18572
|
+
extends: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodLiteral<false>]>>;
|
|
18573
|
+
description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<false>]>>;
|
|
18574
|
+
launch: z.ZodOptional<z.ZodObject<{
|
|
18575
|
+
skipPermissions: z.ZodOptional<z.ZodBoolean>;
|
|
18576
|
+
remoteControl: z.ZodOptional<z.ZodBoolean>;
|
|
18495
18577
|
headroom: z.ZodOptional<z.ZodBoolean>;
|
|
18496
18578
|
trackUsage: z.ZodOptional<z.ZodBoolean>;
|
|
18497
18579
|
provider: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<false>]>>;
|
|
@@ -18586,53 +18668,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
18586
18668
|
}, z.core.$strip>], "kind">]>;
|
|
18587
18669
|
}, z.core.$strict>]>>>;
|
|
18588
18670
|
description: z.ZodOptional<z.ZodString>;
|
|
18589
|
-
models: z.ZodOptional<z.ZodObject<{
|
|
18590
|
-
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
18591
|
-
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
18592
|
-
mode: z.ZodEnum<{
|
|
18593
|
-
ordered: "ordered";
|
|
18594
|
-
"most-allowance": "most-allowance";
|
|
18595
|
-
"soonest-reset": "soonest-reset";
|
|
18596
|
-
spread: "spread";
|
|
18597
|
-
adaptive: "adaptive";
|
|
18598
|
-
"lowest-latency": "lowest-latency";
|
|
18599
|
-
"highest-success": "highest-success";
|
|
18600
|
-
cheapest: "cheapest";
|
|
18601
|
-
}>;
|
|
18602
|
-
members: z.ZodArray<z.ZodString>;
|
|
18603
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
18604
|
-
tiers: z.ZodOptional<z.ZodObject<{
|
|
18605
|
-
fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
18606
|
-
opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
18607
|
-
sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
18608
|
-
haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
18609
|
-
}, z.core.$strict>>;
|
|
18610
|
-
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
18611
|
-
input: z.ZodNumber;
|
|
18612
|
-
output: z.ZodNumber;
|
|
18613
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
18614
|
-
hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18615
|
-
show: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18616
|
-
same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
18617
|
-
distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
|
|
18618
|
-
families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
18619
|
-
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18620
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
18621
|
-
ordered: "ordered";
|
|
18622
|
-
"most-allowance": "most-allowance";
|
|
18623
|
-
"soonest-reset": "soonest-reset";
|
|
18624
|
-
spread: "spread";
|
|
18625
|
-
adaptive: "adaptive";
|
|
18626
|
-
"lowest-latency": "lowest-latency";
|
|
18627
|
-
"highest-success": "highest-success";
|
|
18628
|
-
cheapest: "cheapest";
|
|
18629
|
-
}>>;
|
|
18630
|
-
context: z.ZodOptional<z.ZodNumber>;
|
|
18631
|
-
vision: z.ZodOptional<z.ZodBoolean>;
|
|
18632
|
-
tools: z.ZodOptional<z.ZodBoolean>;
|
|
18633
|
-
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
18634
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
18635
|
-
}, z.core.$strict>>;
|
|
18636
18671
|
extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18637
18672
|
categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
|
|
18638
18673
|
all: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -18679,13 +18714,13 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
18679
18714
|
route: "route";
|
|
18680
18715
|
account: "account";
|
|
18681
18716
|
provider: "provider";
|
|
18682
|
-
version: "version";
|
|
18683
|
-
headroom: "headroom";
|
|
18684
18717
|
duration: "duration";
|
|
18718
|
+
headroom: "headroom";
|
|
18685
18719
|
project: "project";
|
|
18686
18720
|
vcs: "vcs";
|
|
18687
18721
|
effort: "effort";
|
|
18688
18722
|
advisor: "advisor";
|
|
18723
|
+
version: "version";
|
|
18689
18724
|
outputStyle: "outputStyle";
|
|
18690
18725
|
cost: "cost";
|
|
18691
18726
|
dailyCost: "dailyCost";
|
|
@@ -18696,10 +18731,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
18696
18731
|
rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
18697
18732
|
context: "context";
|
|
18698
18733
|
quota: "quota";
|
|
18699
|
-
environment: "environment";
|
|
18700
18734
|
addedDirs: "addedDirs";
|
|
18701
18735
|
gitFiles: "gitFiles";
|
|
18702
18736
|
memory: "memory";
|
|
18737
|
+
environment: "environment";
|
|
18703
18738
|
sessionTime: "sessionTime";
|
|
18704
18739
|
promptCache: "promptCache";
|
|
18705
18740
|
compactions: "compactions";
|
|
@@ -18722,10 +18757,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
18722
18757
|
merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
|
|
18723
18758
|
context: "context";
|
|
18724
18759
|
quota: "quota";
|
|
18725
|
-
environment: "environment";
|
|
18726
18760
|
addedDirs: "addedDirs";
|
|
18727
18761
|
gitFiles: "gitFiles";
|
|
18728
18762
|
memory: "memory";
|
|
18763
|
+
environment: "environment";
|
|
18729
18764
|
sessionTime: "sessionTime";
|
|
18730
18765
|
promptCache: "promptCache";
|
|
18731
18766
|
compactions: "compactions";
|
|
@@ -18739,10 +18774,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
18739
18774
|
rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
18740
18775
|
context: "context";
|
|
18741
18776
|
quota: "quota";
|
|
18742
|
-
environment: "environment";
|
|
18743
18777
|
addedDirs: "addedDirs";
|
|
18744
18778
|
gitFiles: "gitFiles";
|
|
18745
18779
|
memory: "memory";
|
|
18780
|
+
environment: "environment";
|
|
18746
18781
|
sessionTime: "sessionTime";
|
|
18747
18782
|
promptCache: "promptCache";
|
|
18748
18783
|
compactions: "compactions";
|
|
@@ -18801,10 +18836,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
18801
18836
|
hidden: "hidden";
|
|
18802
18837
|
}>>;
|
|
18803
18838
|
value: z.ZodOptional<z.ZodEnum<{
|
|
18804
|
-
remaining: "remaining";
|
|
18805
18839
|
tokens: "tokens";
|
|
18806
18840
|
both: "both";
|
|
18807
18841
|
percent: "percent";
|
|
18842
|
+
remaining: "remaining";
|
|
18808
18843
|
}>>;
|
|
18809
18844
|
estimate: z.ZodOptional<z.ZodEnum<{
|
|
18810
18845
|
never: "never";
|
|
@@ -18846,8 +18881,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
18846
18881
|
}, z.core.$strict>>;
|
|
18847
18882
|
usage: z.ZodOptional<z.ZodObject<{
|
|
18848
18883
|
value: z.ZodOptional<z.ZodEnum<{
|
|
18849
|
-
used: "used";
|
|
18850
18884
|
remaining: "remaining";
|
|
18885
|
+
used: "used";
|
|
18851
18886
|
}>>;
|
|
18852
18887
|
bar: z.ZodOptional<z.ZodBoolean>;
|
|
18853
18888
|
compact: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -19205,6 +19240,53 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
19205
19240
|
}, z.core.$strict>>;
|
|
19206
19241
|
}, z.core.$strict>>;
|
|
19207
19242
|
}, z.core.$strict>>;
|
|
19243
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
19244
|
+
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
19245
|
+
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
19246
|
+
mode: z.ZodEnum<{
|
|
19247
|
+
ordered: "ordered";
|
|
19248
|
+
"most-allowance": "most-allowance";
|
|
19249
|
+
"soonest-reset": "soonest-reset";
|
|
19250
|
+
spread: "spread";
|
|
19251
|
+
adaptive: "adaptive";
|
|
19252
|
+
"lowest-latency": "lowest-latency";
|
|
19253
|
+
"highest-success": "highest-success";
|
|
19254
|
+
cheapest: "cheapest";
|
|
19255
|
+
}>;
|
|
19256
|
+
members: z.ZodArray<z.ZodString>;
|
|
19257
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
19258
|
+
tiers: z.ZodOptional<z.ZodObject<{
|
|
19259
|
+
fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
19260
|
+
opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
19261
|
+
sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
19262
|
+
haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
19263
|
+
}, z.core.$strict>>;
|
|
19264
|
+
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
19265
|
+
input: z.ZodNumber;
|
|
19266
|
+
output: z.ZodNumber;
|
|
19267
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
19268
|
+
hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19269
|
+
show: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19270
|
+
same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
19271
|
+
distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
|
|
19272
|
+
families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
19273
|
+
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19274
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
19275
|
+
ordered: "ordered";
|
|
19276
|
+
"most-allowance": "most-allowance";
|
|
19277
|
+
"soonest-reset": "soonest-reset";
|
|
19278
|
+
spread: "spread";
|
|
19279
|
+
adaptive: "adaptive";
|
|
19280
|
+
"lowest-latency": "lowest-latency";
|
|
19281
|
+
"highest-success": "highest-success";
|
|
19282
|
+
cheapest: "cheapest";
|
|
19283
|
+
}>>;
|
|
19284
|
+
context: z.ZodOptional<z.ZodNumber>;
|
|
19285
|
+
vision: z.ZodOptional<z.ZodBoolean>;
|
|
19286
|
+
tools: z.ZodOptional<z.ZodBoolean>;
|
|
19287
|
+
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
19288
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
19289
|
+
}, z.core.$strict>>;
|
|
19208
19290
|
}, z.core.$strict>;
|
|
19209
19291
|
}, z.core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
19210
19292
|
remove: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, z.ZodObject<{
|
|
@@ -19785,53 +19867,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
19785
19867
|
key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
19786
19868
|
}, z.core.$strip>], "kind">]>;
|
|
19787
19869
|
}, z.core.$strict>]>>>;
|
|
19788
|
-
models: z.ZodOptional<z.ZodObject<{
|
|
19789
|
-
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
19790
|
-
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
19791
|
-
mode: z.ZodEnum<{
|
|
19792
|
-
ordered: "ordered";
|
|
19793
|
-
"most-allowance": "most-allowance";
|
|
19794
|
-
"soonest-reset": "soonest-reset";
|
|
19795
|
-
spread: "spread";
|
|
19796
|
-
adaptive: "adaptive";
|
|
19797
|
-
"lowest-latency": "lowest-latency";
|
|
19798
|
-
"highest-success": "highest-success";
|
|
19799
|
-
cheapest: "cheapest";
|
|
19800
|
-
}>;
|
|
19801
|
-
members: z.ZodArray<z.ZodString>;
|
|
19802
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
19803
|
-
tiers: z.ZodOptional<z.ZodObject<{
|
|
19804
|
-
fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
19805
|
-
opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
19806
|
-
sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
19807
|
-
haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
19808
|
-
}, z.core.$strict>>;
|
|
19809
|
-
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
19810
|
-
input: z.ZodNumber;
|
|
19811
|
-
output: z.ZodNumber;
|
|
19812
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
19813
|
-
hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19814
|
-
show: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19815
|
-
same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
19816
|
-
distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
|
|
19817
|
-
families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
19818
|
-
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19819
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
19820
|
-
ordered: "ordered";
|
|
19821
|
-
"most-allowance": "most-allowance";
|
|
19822
|
-
"soonest-reset": "soonest-reset";
|
|
19823
|
-
spread: "spread";
|
|
19824
|
-
adaptive: "adaptive";
|
|
19825
|
-
"lowest-latency": "lowest-latency";
|
|
19826
|
-
"highest-success": "highest-success";
|
|
19827
|
-
cheapest: "cheapest";
|
|
19828
|
-
}>>;
|
|
19829
|
-
context: z.ZodOptional<z.ZodNumber>;
|
|
19830
|
-
vision: z.ZodOptional<z.ZodBoolean>;
|
|
19831
|
-
tools: z.ZodOptional<z.ZodBoolean>;
|
|
19832
|
-
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
19833
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
19834
|
-
}, z.core.$strict>>;
|
|
19835
19870
|
$schema: z.ZodOptional<z.ZodString>;
|
|
19836
19871
|
extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19837
19872
|
categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
|
|
@@ -19879,13 +19914,13 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
19879
19914
|
route: "route";
|
|
19880
19915
|
account: "account";
|
|
19881
19916
|
provider: "provider";
|
|
19882
|
-
version: "version";
|
|
19883
|
-
headroom: "headroom";
|
|
19884
19917
|
duration: "duration";
|
|
19918
|
+
headroom: "headroom";
|
|
19885
19919
|
project: "project";
|
|
19886
19920
|
vcs: "vcs";
|
|
19887
19921
|
effort: "effort";
|
|
19888
19922
|
advisor: "advisor";
|
|
19923
|
+
version: "version";
|
|
19889
19924
|
outputStyle: "outputStyle";
|
|
19890
19925
|
cost: "cost";
|
|
19891
19926
|
dailyCost: "dailyCost";
|
|
@@ -19896,10 +19931,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
19896
19931
|
rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
19897
19932
|
context: "context";
|
|
19898
19933
|
quota: "quota";
|
|
19899
|
-
environment: "environment";
|
|
19900
19934
|
addedDirs: "addedDirs";
|
|
19901
19935
|
gitFiles: "gitFiles";
|
|
19902
19936
|
memory: "memory";
|
|
19937
|
+
environment: "environment";
|
|
19903
19938
|
sessionTime: "sessionTime";
|
|
19904
19939
|
promptCache: "promptCache";
|
|
19905
19940
|
compactions: "compactions";
|
|
@@ -19922,10 +19957,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
19922
19957
|
merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
|
|
19923
19958
|
context: "context";
|
|
19924
19959
|
quota: "quota";
|
|
19925
|
-
environment: "environment";
|
|
19926
19960
|
addedDirs: "addedDirs";
|
|
19927
19961
|
gitFiles: "gitFiles";
|
|
19928
19962
|
memory: "memory";
|
|
19963
|
+
environment: "environment";
|
|
19929
19964
|
sessionTime: "sessionTime";
|
|
19930
19965
|
promptCache: "promptCache";
|
|
19931
19966
|
compactions: "compactions";
|
|
@@ -19939,10 +19974,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
19939
19974
|
rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
19940
19975
|
context: "context";
|
|
19941
19976
|
quota: "quota";
|
|
19942
|
-
environment: "environment";
|
|
19943
19977
|
addedDirs: "addedDirs";
|
|
19944
19978
|
gitFiles: "gitFiles";
|
|
19945
19979
|
memory: "memory";
|
|
19980
|
+
environment: "environment";
|
|
19946
19981
|
sessionTime: "sessionTime";
|
|
19947
19982
|
promptCache: "promptCache";
|
|
19948
19983
|
compactions: "compactions";
|
|
@@ -20001,10 +20036,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
20001
20036
|
hidden: "hidden";
|
|
20002
20037
|
}>>;
|
|
20003
20038
|
value: z.ZodOptional<z.ZodEnum<{
|
|
20004
|
-
remaining: "remaining";
|
|
20005
20039
|
tokens: "tokens";
|
|
20006
20040
|
both: "both";
|
|
20007
20041
|
percent: "percent";
|
|
20042
|
+
remaining: "remaining";
|
|
20008
20043
|
}>>;
|
|
20009
20044
|
estimate: z.ZodOptional<z.ZodEnum<{
|
|
20010
20045
|
never: "never";
|
|
@@ -20046,8 +20081,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
20046
20081
|
}, z.core.$strict>>;
|
|
20047
20082
|
usage: z.ZodOptional<z.ZodObject<{
|
|
20048
20083
|
value: z.ZodOptional<z.ZodEnum<{
|
|
20049
|
-
used: "used";
|
|
20050
20084
|
remaining: "remaining";
|
|
20085
|
+
used: "used";
|
|
20051
20086
|
}>>;
|
|
20052
20087
|
bar: z.ZodOptional<z.ZodBoolean>;
|
|
20053
20088
|
compact: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -20405,35 +20440,82 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
20405
20440
|
}, z.core.$strict>>;
|
|
20406
20441
|
}, z.core.$strict>>;
|
|
20407
20442
|
}, z.core.$strict>>;
|
|
20408
|
-
|
|
20409
|
-
|
|
20410
|
-
|
|
20411
|
-
|
|
20412
|
-
|
|
20413
|
-
|
|
20414
|
-
|
|
20415
|
-
|
|
20416
|
-
|
|
20417
|
-
|
|
20418
|
-
|
|
20419
|
-
|
|
20420
|
-
|
|
20421
|
-
|
|
20422
|
-
|
|
20423
|
-
|
|
20424
|
-
|
|
20425
|
-
|
|
20426
|
-
|
|
20427
|
-
|
|
20428
|
-
|
|
20429
|
-
|
|
20430
|
-
|
|
20431
|
-
|
|
20432
|
-
|
|
20433
|
-
|
|
20434
|
-
|
|
20435
|
-
|
|
20436
|
-
|
|
20443
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
20444
|
+
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
20445
|
+
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
20446
|
+
mode: z.ZodEnum<{
|
|
20447
|
+
ordered: "ordered";
|
|
20448
|
+
"most-allowance": "most-allowance";
|
|
20449
|
+
"soonest-reset": "soonest-reset";
|
|
20450
|
+
spread: "spread";
|
|
20451
|
+
adaptive: "adaptive";
|
|
20452
|
+
"lowest-latency": "lowest-latency";
|
|
20453
|
+
"highest-success": "highest-success";
|
|
20454
|
+
cheapest: "cheapest";
|
|
20455
|
+
}>;
|
|
20456
|
+
members: z.ZodArray<z.ZodString>;
|
|
20457
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
20458
|
+
tiers: z.ZodOptional<z.ZodObject<{
|
|
20459
|
+
fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
20460
|
+
opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
20461
|
+
sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
20462
|
+
haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
20463
|
+
}, z.core.$strict>>;
|
|
20464
|
+
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
20465
|
+
input: z.ZodNumber;
|
|
20466
|
+
output: z.ZodNumber;
|
|
20467
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
20468
|
+
hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
20469
|
+
show: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
20470
|
+
same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
20471
|
+
distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
|
|
20472
|
+
families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
20473
|
+
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
20474
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
20475
|
+
ordered: "ordered";
|
|
20476
|
+
"most-allowance": "most-allowance";
|
|
20477
|
+
"soonest-reset": "soonest-reset";
|
|
20478
|
+
spread: "spread";
|
|
20479
|
+
adaptive: "adaptive";
|
|
20480
|
+
"lowest-latency": "lowest-latency";
|
|
20481
|
+
"highest-success": "highest-success";
|
|
20482
|
+
cheapest: "cheapest";
|
|
20483
|
+
}>>;
|
|
20484
|
+
context: z.ZodOptional<z.ZodNumber>;
|
|
20485
|
+
vision: z.ZodOptional<z.ZodBoolean>;
|
|
20486
|
+
tools: z.ZodOptional<z.ZodBoolean>;
|
|
20487
|
+
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
20488
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
20489
|
+
}, z.core.$strict>>;
|
|
20490
|
+
path: z.ZodString;
|
|
20491
|
+
configProfile: z.ZodOptional<z.ZodString>;
|
|
20492
|
+
identity: z.ZodOptional<z.ZodString>;
|
|
20493
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
20494
|
+
newerThan: z.ZodOptional<z.ZodString>;
|
|
20495
|
+
olderThan: z.ZodOptional<z.ZodString>;
|
|
20496
|
+
maxSizeBytes: z.ZodOptional<z.ZodInt>;
|
|
20497
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
20498
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
20499
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
20500
|
+
kind: z.ZodLiteral<"not">;
|
|
20501
|
+
operand: typeof trilean.PredicateNodeSchema;
|
|
20502
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
20503
|
+
kind: z.ZodLiteral<"and">;
|
|
20504
|
+
left: typeof trilean.PredicateNodeSchema;
|
|
20505
|
+
right: typeof trilean.PredicateNodeSchema;
|
|
20506
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
20507
|
+
kind: z.ZodLiteral<"or">;
|
|
20508
|
+
left: typeof trilean.PredicateNodeSchema;
|
|
20509
|
+
right: typeof trilean.PredicateNodeSchema;
|
|
20510
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
20511
|
+
kind: z.ZodLiteral<"allOf">;
|
|
20512
|
+
operands: z.ZodArray<typeof trilean.PredicateNodeSchema>;
|
|
20513
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
20514
|
+
kind: z.ZodLiteral<"anyOf">;
|
|
20515
|
+
operands: z.ZodArray<typeof trilean.PredicateNodeSchema>;
|
|
20516
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
20517
|
+
kind: z.ZodLiteral<"compare">;
|
|
20518
|
+
op: z.ZodEnum<{
|
|
20437
20519
|
gt: "gt";
|
|
20438
20520
|
gte: "gte";
|
|
20439
20521
|
lt: "lt";
|
|
@@ -20566,53 +20648,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
20566
20648
|
key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
20567
20649
|
}, z.core.$strip>], "kind">]>;
|
|
20568
20650
|
}, z.core.$strict>]>>>;
|
|
20569
|
-
models: z.ZodOptional<z.ZodObject<{
|
|
20570
|
-
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
20571
|
-
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
20572
|
-
mode: z.ZodEnum<{
|
|
20573
|
-
ordered: "ordered";
|
|
20574
|
-
"most-allowance": "most-allowance";
|
|
20575
|
-
"soonest-reset": "soonest-reset";
|
|
20576
|
-
spread: "spread";
|
|
20577
|
-
adaptive: "adaptive";
|
|
20578
|
-
"lowest-latency": "lowest-latency";
|
|
20579
|
-
"highest-success": "highest-success";
|
|
20580
|
-
cheapest: "cheapest";
|
|
20581
|
-
}>;
|
|
20582
|
-
members: z.ZodArray<z.ZodString>;
|
|
20583
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
20584
|
-
tiers: z.ZodOptional<z.ZodObject<{
|
|
20585
|
-
fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
20586
|
-
opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
20587
|
-
sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
20588
|
-
haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
20589
|
-
}, z.core.$strict>>;
|
|
20590
|
-
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
20591
|
-
input: z.ZodNumber;
|
|
20592
|
-
output: z.ZodNumber;
|
|
20593
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
20594
|
-
hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
20595
|
-
show: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
20596
|
-
same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
20597
|
-
distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
|
|
20598
|
-
families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
20599
|
-
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
20600
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
20601
|
-
ordered: "ordered";
|
|
20602
|
-
"most-allowance": "most-allowance";
|
|
20603
|
-
"soonest-reset": "soonest-reset";
|
|
20604
|
-
spread: "spread";
|
|
20605
|
-
adaptive: "adaptive";
|
|
20606
|
-
"lowest-latency": "lowest-latency";
|
|
20607
|
-
"highest-success": "highest-success";
|
|
20608
|
-
cheapest: "cheapest";
|
|
20609
|
-
}>>;
|
|
20610
|
-
context: z.ZodOptional<z.ZodNumber>;
|
|
20611
|
-
vision: z.ZodOptional<z.ZodBoolean>;
|
|
20612
|
-
tools: z.ZodOptional<z.ZodBoolean>;
|
|
20613
|
-
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
20614
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
20615
|
-
}, z.core.$strict>>;
|
|
20616
20651
|
$schema: z.ZodOptional<z.ZodString>;
|
|
20617
20652
|
extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
20618
20653
|
categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
|
|
@@ -20660,13 +20695,13 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
20660
20695
|
route: "route";
|
|
20661
20696
|
account: "account";
|
|
20662
20697
|
provider: "provider";
|
|
20663
|
-
version: "version";
|
|
20664
|
-
headroom: "headroom";
|
|
20665
20698
|
duration: "duration";
|
|
20699
|
+
headroom: "headroom";
|
|
20666
20700
|
project: "project";
|
|
20667
20701
|
vcs: "vcs";
|
|
20668
20702
|
effort: "effort";
|
|
20669
20703
|
advisor: "advisor";
|
|
20704
|
+
version: "version";
|
|
20670
20705
|
outputStyle: "outputStyle";
|
|
20671
20706
|
cost: "cost";
|
|
20672
20707
|
dailyCost: "dailyCost";
|
|
@@ -20677,10 +20712,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
20677
20712
|
rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
20678
20713
|
context: "context";
|
|
20679
20714
|
quota: "quota";
|
|
20680
|
-
environment: "environment";
|
|
20681
20715
|
addedDirs: "addedDirs";
|
|
20682
20716
|
gitFiles: "gitFiles";
|
|
20683
20717
|
memory: "memory";
|
|
20718
|
+
environment: "environment";
|
|
20684
20719
|
sessionTime: "sessionTime";
|
|
20685
20720
|
promptCache: "promptCache";
|
|
20686
20721
|
compactions: "compactions";
|
|
@@ -20703,10 +20738,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
20703
20738
|
merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
|
|
20704
20739
|
context: "context";
|
|
20705
20740
|
quota: "quota";
|
|
20706
|
-
environment: "environment";
|
|
20707
20741
|
addedDirs: "addedDirs";
|
|
20708
20742
|
gitFiles: "gitFiles";
|
|
20709
20743
|
memory: "memory";
|
|
20744
|
+
environment: "environment";
|
|
20710
20745
|
sessionTime: "sessionTime";
|
|
20711
20746
|
promptCache: "promptCache";
|
|
20712
20747
|
compactions: "compactions";
|
|
@@ -20720,10 +20755,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
20720
20755
|
rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
20721
20756
|
context: "context";
|
|
20722
20757
|
quota: "quota";
|
|
20723
|
-
environment: "environment";
|
|
20724
20758
|
addedDirs: "addedDirs";
|
|
20725
20759
|
gitFiles: "gitFiles";
|
|
20726
20760
|
memory: "memory";
|
|
20761
|
+
environment: "environment";
|
|
20727
20762
|
sessionTime: "sessionTime";
|
|
20728
20763
|
promptCache: "promptCache";
|
|
20729
20764
|
compactions: "compactions";
|
|
@@ -20782,10 +20817,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
20782
20817
|
hidden: "hidden";
|
|
20783
20818
|
}>>;
|
|
20784
20819
|
value: z.ZodOptional<z.ZodEnum<{
|
|
20785
|
-
remaining: "remaining";
|
|
20786
20820
|
tokens: "tokens";
|
|
20787
20821
|
both: "both";
|
|
20788
20822
|
percent: "percent";
|
|
20823
|
+
remaining: "remaining";
|
|
20789
20824
|
}>>;
|
|
20790
20825
|
estimate: z.ZodOptional<z.ZodEnum<{
|
|
20791
20826
|
never: "never";
|
|
@@ -20827,8 +20862,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
20827
20862
|
}, z.core.$strict>>;
|
|
20828
20863
|
usage: z.ZodOptional<z.ZodObject<{
|
|
20829
20864
|
value: z.ZodOptional<z.ZodEnum<{
|
|
20830
|
-
used: "used";
|
|
20831
20865
|
remaining: "remaining";
|
|
20866
|
+
used: "used";
|
|
20832
20867
|
}>>;
|
|
20833
20868
|
bar: z.ZodOptional<z.ZodBoolean>;
|
|
20834
20869
|
compact: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -21186,6 +21221,53 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
21186
21221
|
}, z.core.$strict>>;
|
|
21187
21222
|
}, z.core.$strict>>;
|
|
21188
21223
|
}, z.core.$strict>>;
|
|
21224
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
21225
|
+
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
21226
|
+
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
21227
|
+
mode: z.ZodEnum<{
|
|
21228
|
+
ordered: "ordered";
|
|
21229
|
+
"most-allowance": "most-allowance";
|
|
21230
|
+
"soonest-reset": "soonest-reset";
|
|
21231
|
+
spread: "spread";
|
|
21232
|
+
adaptive: "adaptive";
|
|
21233
|
+
"lowest-latency": "lowest-latency";
|
|
21234
|
+
"highest-success": "highest-success";
|
|
21235
|
+
cheapest: "cheapest";
|
|
21236
|
+
}>;
|
|
21237
|
+
members: z.ZodArray<z.ZodString>;
|
|
21238
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
21239
|
+
tiers: z.ZodOptional<z.ZodObject<{
|
|
21240
|
+
fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
21241
|
+
opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
21242
|
+
sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
21243
|
+
haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
21244
|
+
}, z.core.$strict>>;
|
|
21245
|
+
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
21246
|
+
input: z.ZodNumber;
|
|
21247
|
+
output: z.ZodNumber;
|
|
21248
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
21249
|
+
hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
21250
|
+
show: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
21251
|
+
same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
21252
|
+
distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
|
|
21253
|
+
families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
21254
|
+
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
21255
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
21256
|
+
ordered: "ordered";
|
|
21257
|
+
"most-allowance": "most-allowance";
|
|
21258
|
+
"soonest-reset": "soonest-reset";
|
|
21259
|
+
spread: "spread";
|
|
21260
|
+
adaptive: "adaptive";
|
|
21261
|
+
"lowest-latency": "lowest-latency";
|
|
21262
|
+
"highest-success": "highest-success";
|
|
21263
|
+
cheapest: "cheapest";
|
|
21264
|
+
}>>;
|
|
21265
|
+
context: z.ZodOptional<z.ZodNumber>;
|
|
21266
|
+
vision: z.ZodOptional<z.ZodBoolean>;
|
|
21267
|
+
tools: z.ZodOptional<z.ZodBoolean>;
|
|
21268
|
+
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
21269
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
21270
|
+
}, z.core.$strict>>;
|
|
21189
21271
|
path: z.ZodString;
|
|
21190
21272
|
configProfile: z.ZodOptional<z.ZodString>;
|
|
21191
21273
|
identity: z.ZodOptional<z.ZodString>;
|
|
@@ -21272,15 +21354,59 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
21272
21354
|
name: z.ZodString;
|
|
21273
21355
|
}, z.core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
21274
21356
|
};
|
|
21357
|
+
route: {
|
|
21358
|
+
set: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, z.ZodObject<{
|
|
21359
|
+
scope: z.ZodUnion<readonly [z.ZodObject<{
|
|
21360
|
+
kind: z.ZodLiteral<"global">;
|
|
21361
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
21362
|
+
kind: z.ZodEnum<{
|
|
21363
|
+
session: "session";
|
|
21364
|
+
identity: "identity";
|
|
21365
|
+
provider: "provider";
|
|
21366
|
+
}>;
|
|
21367
|
+
name: z.ZodString;
|
|
21368
|
+
}, z.core.$strict>]>;
|
|
21369
|
+
model: z.ZodString;
|
|
21370
|
+
target: z.ZodString;
|
|
21371
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
21372
|
+
action: z.ZodLiteral<"updated">;
|
|
21373
|
+
kind: z.ZodLiteral<"route">;
|
|
21374
|
+
name: z.ZodString;
|
|
21375
|
+
value: z.ZodObject<{
|
|
21376
|
+
scope: z.ZodString;
|
|
21377
|
+
model: z.ZodString;
|
|
21378
|
+
target: z.ZodString;
|
|
21379
|
+
}, z.core.$strict>;
|
|
21380
|
+
}, z.core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
21381
|
+
remove: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, z.ZodObject<{
|
|
21382
|
+
scope: z.ZodUnion<readonly [z.ZodObject<{
|
|
21383
|
+
kind: z.ZodLiteral<"global">;
|
|
21384
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
21385
|
+
kind: z.ZodEnum<{
|
|
21386
|
+
session: "session";
|
|
21387
|
+
identity: "identity";
|
|
21388
|
+
provider: "provider";
|
|
21389
|
+
}>;
|
|
21390
|
+
name: z.ZodString;
|
|
21391
|
+
}, z.core.$strict>]>;
|
|
21392
|
+
model: z.ZodString;
|
|
21393
|
+
confirm: z.ZodBoolean;
|
|
21394
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
21395
|
+
action: z.ZodLiteral<"removed">;
|
|
21396
|
+
kind: z.ZodLiteral<"route">;
|
|
21397
|
+
name: z.ZodString;
|
|
21398
|
+
removed: z.ZodArray<z.ZodString>;
|
|
21399
|
+
}, z.core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
21400
|
+
};
|
|
21275
21401
|
};
|
|
21276
21402
|
update: {
|
|
21277
21403
|
check: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, InitialInputSchema, z.ZodObject<{
|
|
21278
21404
|
current: z.ZodString;
|
|
21279
21405
|
latest: z.ZodString;
|
|
21280
21406
|
action: z.ZodEnum<{
|
|
21407
|
+
updated: "updated";
|
|
21281
21408
|
current: "current";
|
|
21282
21409
|
available: "available";
|
|
21283
|
-
updated: "updated";
|
|
21284
21410
|
}>;
|
|
21285
21411
|
}, z.core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
21286
21412
|
};
|
|
@@ -21483,12 +21609,12 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
21483
21609
|
identity: z.ZodObject<{
|
|
21484
21610
|
name: z.ZodNullable<z.ZodString>;
|
|
21485
21611
|
source: z.ZodEnum<{
|
|
21612
|
+
env: "env";
|
|
21613
|
+
none: "none";
|
|
21486
21614
|
"config-dir-escape-hatch": "config-dir-escape-hatch";
|
|
21487
21615
|
argv: "argv";
|
|
21488
|
-
env: "env";
|
|
21489
21616
|
"directory-pin": "directory-pin";
|
|
21490
21617
|
"active-identity-file": "active-identity-file";
|
|
21491
|
-
none: "none";
|
|
21492
21618
|
}>;
|
|
21493
21619
|
}, z.core.$strict>;
|
|
21494
21620
|
pool: z.ZodOptional<z.ZodObject<{
|
|
@@ -21536,10 +21662,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
21536
21662
|
configProfile: z.ZodObject<{
|
|
21537
21663
|
name: z.ZodNullable<z.ZodString>;
|
|
21538
21664
|
source: z.ZodEnum<{
|
|
21665
|
+
"directory-rule": "directory-rule";
|
|
21539
21666
|
env: "env";
|
|
21540
21667
|
none: "none";
|
|
21541
21668
|
"cli-flag": "cli-flag";
|
|
21542
|
-
"directory-rule": "directory-rule";
|
|
21543
21669
|
"identity-default": "identity-default";
|
|
21544
21670
|
"global-default": "global-default";
|
|
21545
21671
|
}>;
|
|
@@ -21547,9 +21673,9 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
21547
21673
|
layers: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
21548
21674
|
id: z.ZodInt;
|
|
21549
21675
|
kind: z.ZodEnum<{
|
|
21550
|
-
"directory-rule": "directory-rule";
|
|
21551
21676
|
"global-config": "global-config";
|
|
21552
21677
|
"config-profile": "config-profile";
|
|
21678
|
+
"directory-rule": "directory-rule";
|
|
21553
21679
|
portable: "portable";
|
|
21554
21680
|
"portable-local": "portable-local";
|
|
21555
21681
|
"cli-override": "cli-override";
|
|
@@ -21567,11 +21693,11 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
21567
21693
|
"category-default": "category-default";
|
|
21568
21694
|
}>;
|
|
21569
21695
|
category: z.ZodNullable<z.ZodEnum<{
|
|
21570
|
-
secret: "secret";
|
|
21571
21696
|
runtime: "runtime";
|
|
21572
21697
|
history: "history";
|
|
21573
21698
|
knowledge: "knowledge";
|
|
21574
21699
|
settings: "settings";
|
|
21700
|
+
secret: "secret";
|
|
21575
21701
|
}>>;
|
|
21576
21702
|
rule: z.ZodOptional<z.ZodObject<{
|
|
21577
21703
|
key: z.ZodString;
|
|
@@ -21772,8 +21898,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
21772
21898
|
pinned: z.ZodOptional<z.ZodObject<{
|
|
21773
21899
|
version: z.ZodString;
|
|
21774
21900
|
source: z.ZodEnum<{
|
|
21775
|
-
flag: "flag";
|
|
21776
21901
|
environment: "environment";
|
|
21902
|
+
flag: "flag";
|
|
21777
21903
|
cascade: "cascade";
|
|
21778
21904
|
}>;
|
|
21779
21905
|
installed: z.ZodBoolean;
|
|
@@ -21791,6 +21917,19 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
21791
21917
|
ok: z.ZodLiteral<false>;
|
|
21792
21918
|
message: z.ZodString;
|
|
21793
21919
|
}, z.core.$strict>]>>;
|
|
21920
|
+
routeOverrides: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
21921
|
+
applying: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
21922
|
+
model: z.ZodString;
|
|
21923
|
+
target: z.ZodString;
|
|
21924
|
+
scope: z.ZodString;
|
|
21925
|
+
outranks: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
21926
|
+
scope: z.ZodString;
|
|
21927
|
+
target: z.ZodString;
|
|
21928
|
+
}, z.core.$strict>>>;
|
|
21929
|
+
}, z.core.$strict>>>;
|
|
21930
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
21931
|
+
fault: z.ZodString;
|
|
21932
|
+
}, z.core.$strict>]>>;
|
|
21794
21933
|
}, z.core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
21795
21934
|
};
|
|
21796
21935
|
doctor: {
|
|
@@ -21798,13 +21937,15 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
21798
21937
|
ok: z.ZodBoolean;
|
|
21799
21938
|
findings: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
21800
21939
|
section: z.ZodEnum<{
|
|
21940
|
+
"global-config": "global-config";
|
|
21941
|
+
"config-profile": "config-profile";
|
|
21801
21942
|
identity: "identity";
|
|
21802
21943
|
provider: "provider";
|
|
21944
|
+
keychain: "keychain";
|
|
21945
|
+
headroom: "headroom";
|
|
21946
|
+
models: "models";
|
|
21803
21947
|
frontdoor: "frontdoor";
|
|
21804
21948
|
pool: "pool";
|
|
21805
|
-
"global-config": "global-config";
|
|
21806
|
-
"config-profile": "config-profile";
|
|
21807
|
-
keychain: "keychain";
|
|
21808
21949
|
"ambient-credential": "ambient-credential";
|
|
21809
21950
|
"binary-discovery": "binary-discovery";
|
|
21810
21951
|
"claude-shim": "claude-shim";
|
|
@@ -21815,8 +21956,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
21815
21956
|
"directory-rules": "directory-rules";
|
|
21816
21957
|
"categories-local": "categories-local";
|
|
21817
21958
|
"active-identity": "active-identity";
|
|
21818
|
-
|
|
21819
|
-
models: "models";
|
|
21959
|
+
"route-overrides": "route-overrides";
|
|
21820
21960
|
}>;
|
|
21821
21961
|
subject: z.ZodOptional<z.ZodString>;
|
|
21822
21962
|
severity: z.ZodEnum<{
|
|
@@ -22626,53 +22766,6 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
|
|
|
22626
22766
|
}, z.core.$strip>], "kind">]>;
|
|
22627
22767
|
}, z.core.$strict>]>>>;
|
|
22628
22768
|
description: z.ZodOptional<z.ZodString>;
|
|
22629
|
-
models: z.ZodOptional<z.ZodObject<{
|
|
22630
|
-
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
22631
|
-
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
22632
|
-
mode: z.ZodEnum<{
|
|
22633
|
-
ordered: "ordered";
|
|
22634
|
-
"most-allowance": "most-allowance";
|
|
22635
|
-
"soonest-reset": "soonest-reset";
|
|
22636
|
-
spread: "spread";
|
|
22637
|
-
adaptive: "adaptive";
|
|
22638
|
-
"lowest-latency": "lowest-latency";
|
|
22639
|
-
"highest-success": "highest-success";
|
|
22640
|
-
cheapest: "cheapest";
|
|
22641
|
-
}>;
|
|
22642
|
-
members: z.ZodArray<z.ZodString>;
|
|
22643
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
22644
|
-
tiers: z.ZodOptional<z.ZodObject<{
|
|
22645
|
-
fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
22646
|
-
opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
22647
|
-
sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
22648
|
-
haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
22649
|
-
}, z.core.$strict>>;
|
|
22650
|
-
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
22651
|
-
input: z.ZodNumber;
|
|
22652
|
-
output: z.ZodNumber;
|
|
22653
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
22654
|
-
hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22655
|
-
show: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22656
|
-
same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
22657
|
-
distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
|
|
22658
|
-
families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
22659
|
-
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22660
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
22661
|
-
ordered: "ordered";
|
|
22662
|
-
"most-allowance": "most-allowance";
|
|
22663
|
-
"soonest-reset": "soonest-reset";
|
|
22664
|
-
spread: "spread";
|
|
22665
|
-
adaptive: "adaptive";
|
|
22666
|
-
"lowest-latency": "lowest-latency";
|
|
22667
|
-
"highest-success": "highest-success";
|
|
22668
|
-
cheapest: "cheapest";
|
|
22669
|
-
}>>;
|
|
22670
|
-
context: z.ZodOptional<z.ZodNumber>;
|
|
22671
|
-
vision: z.ZodOptional<z.ZodBoolean>;
|
|
22672
|
-
tools: z.ZodOptional<z.ZodBoolean>;
|
|
22673
|
-
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
22674
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
22675
|
-
}, z.core.$strict>>;
|
|
22676
22769
|
extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22677
22770
|
categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
|
|
22678
22771
|
all: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -22719,13 +22812,13 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
|
|
|
22719
22812
|
route: "route";
|
|
22720
22813
|
account: "account";
|
|
22721
22814
|
provider: "provider";
|
|
22722
|
-
version: "version";
|
|
22723
|
-
headroom: "headroom";
|
|
22724
22815
|
duration: "duration";
|
|
22816
|
+
headroom: "headroom";
|
|
22725
22817
|
project: "project";
|
|
22726
22818
|
vcs: "vcs";
|
|
22727
22819
|
effort: "effort";
|
|
22728
22820
|
advisor: "advisor";
|
|
22821
|
+
version: "version";
|
|
22729
22822
|
outputStyle: "outputStyle";
|
|
22730
22823
|
cost: "cost";
|
|
22731
22824
|
dailyCost: "dailyCost";
|
|
@@ -22736,10 +22829,10 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
|
|
|
22736
22829
|
rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
22737
22830
|
context: "context";
|
|
22738
22831
|
quota: "quota";
|
|
22739
|
-
environment: "environment";
|
|
22740
22832
|
addedDirs: "addedDirs";
|
|
22741
22833
|
gitFiles: "gitFiles";
|
|
22742
22834
|
memory: "memory";
|
|
22835
|
+
environment: "environment";
|
|
22743
22836
|
sessionTime: "sessionTime";
|
|
22744
22837
|
promptCache: "promptCache";
|
|
22745
22838
|
compactions: "compactions";
|
|
@@ -22762,10 +22855,10 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
|
|
|
22762
22855
|
merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
|
|
22763
22856
|
context: "context";
|
|
22764
22857
|
quota: "quota";
|
|
22765
|
-
environment: "environment";
|
|
22766
22858
|
addedDirs: "addedDirs";
|
|
22767
22859
|
gitFiles: "gitFiles";
|
|
22768
22860
|
memory: "memory";
|
|
22861
|
+
environment: "environment";
|
|
22769
22862
|
sessionTime: "sessionTime";
|
|
22770
22863
|
promptCache: "promptCache";
|
|
22771
22864
|
compactions: "compactions";
|
|
@@ -22779,10 +22872,10 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
|
|
|
22779
22872
|
rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
22780
22873
|
context: "context";
|
|
22781
22874
|
quota: "quota";
|
|
22782
|
-
environment: "environment";
|
|
22783
22875
|
addedDirs: "addedDirs";
|
|
22784
22876
|
gitFiles: "gitFiles";
|
|
22785
22877
|
memory: "memory";
|
|
22878
|
+
environment: "environment";
|
|
22786
22879
|
sessionTime: "sessionTime";
|
|
22787
22880
|
promptCache: "promptCache";
|
|
22788
22881
|
compactions: "compactions";
|
|
@@ -22841,10 +22934,10 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
|
|
|
22841
22934
|
hidden: "hidden";
|
|
22842
22935
|
}>>;
|
|
22843
22936
|
value: z.ZodOptional<z.ZodEnum<{
|
|
22844
|
-
remaining: "remaining";
|
|
22845
22937
|
tokens: "tokens";
|
|
22846
22938
|
both: "both";
|
|
22847
22939
|
percent: "percent";
|
|
22940
|
+
remaining: "remaining";
|
|
22848
22941
|
}>>;
|
|
22849
22942
|
estimate: z.ZodOptional<z.ZodEnum<{
|
|
22850
22943
|
never: "never";
|
|
@@ -22886,8 +22979,8 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
|
|
|
22886
22979
|
}, z.core.$strict>>;
|
|
22887
22980
|
usage: z.ZodOptional<z.ZodObject<{
|
|
22888
22981
|
value: z.ZodOptional<z.ZodEnum<{
|
|
22889
|
-
used: "used";
|
|
22890
22982
|
remaining: "remaining";
|
|
22983
|
+
used: "used";
|
|
22891
22984
|
}>>;
|
|
22892
22985
|
bar: z.ZodOptional<z.ZodBoolean>;
|
|
22893
22986
|
compact: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -23245,6 +23338,53 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
|
|
|
23245
23338
|
}, z.core.$strict>>;
|
|
23246
23339
|
}, z.core.$strict>>;
|
|
23247
23340
|
}, z.core.$strict>>;
|
|
23341
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
23342
|
+
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
23343
|
+
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
23344
|
+
mode: z.ZodEnum<{
|
|
23345
|
+
ordered: "ordered";
|
|
23346
|
+
"most-allowance": "most-allowance";
|
|
23347
|
+
"soonest-reset": "soonest-reset";
|
|
23348
|
+
spread: "spread";
|
|
23349
|
+
adaptive: "adaptive";
|
|
23350
|
+
"lowest-latency": "lowest-latency";
|
|
23351
|
+
"highest-success": "highest-success";
|
|
23352
|
+
cheapest: "cheapest";
|
|
23353
|
+
}>;
|
|
23354
|
+
members: z.ZodArray<z.ZodString>;
|
|
23355
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
23356
|
+
tiers: z.ZodOptional<z.ZodObject<{
|
|
23357
|
+
fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
23358
|
+
opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
23359
|
+
sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
23360
|
+
haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
23361
|
+
}, z.core.$strict>>;
|
|
23362
|
+
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
23363
|
+
input: z.ZodNumber;
|
|
23364
|
+
output: z.ZodNumber;
|
|
23365
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
23366
|
+
hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23367
|
+
show: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23368
|
+
same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
23369
|
+
distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
|
|
23370
|
+
families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
23371
|
+
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23372
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
23373
|
+
ordered: "ordered";
|
|
23374
|
+
"most-allowance": "most-allowance";
|
|
23375
|
+
"soonest-reset": "soonest-reset";
|
|
23376
|
+
spread: "spread";
|
|
23377
|
+
adaptive: "adaptive";
|
|
23378
|
+
"lowest-latency": "lowest-latency";
|
|
23379
|
+
"highest-success": "highest-success";
|
|
23380
|
+
cheapest: "cheapest";
|
|
23381
|
+
}>>;
|
|
23382
|
+
context: z.ZodOptional<z.ZodNumber>;
|
|
23383
|
+
vision: z.ZodOptional<z.ZodBoolean>;
|
|
23384
|
+
tools: z.ZodOptional<z.ZodBoolean>;
|
|
23385
|
+
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
23386
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
23387
|
+
}, z.core.$strict>>;
|
|
23248
23388
|
}, z.core.$strict>;
|
|
23249
23389
|
}, z.core.$strict>;
|
|
23250
23390
|
/** `category` and `entry` merge toggles into the profile's own maps; `extends` replaces the list (`false` clears it); `description` replaces the text (`false` clears it); `launch` merges the launch settings, each `provider` and `claudeVersion` clearable with `false`. At least one field must be present. */
|
|
@@ -23352,53 +23492,6 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
|
|
|
23352
23492
|
}, z.core.$strip>], "kind">]>;
|
|
23353
23493
|
}, z.core.$strict>]>>>;
|
|
23354
23494
|
description: z.ZodOptional<z.ZodString>;
|
|
23355
|
-
models: z.ZodOptional<z.ZodObject<{
|
|
23356
|
-
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
23357
|
-
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
23358
|
-
mode: z.ZodEnum<{
|
|
23359
|
-
ordered: "ordered";
|
|
23360
|
-
"most-allowance": "most-allowance";
|
|
23361
|
-
"soonest-reset": "soonest-reset";
|
|
23362
|
-
spread: "spread";
|
|
23363
|
-
adaptive: "adaptive";
|
|
23364
|
-
"lowest-latency": "lowest-latency";
|
|
23365
|
-
"highest-success": "highest-success";
|
|
23366
|
-
cheapest: "cheapest";
|
|
23367
|
-
}>;
|
|
23368
|
-
members: z.ZodArray<z.ZodString>;
|
|
23369
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
23370
|
-
tiers: z.ZodOptional<z.ZodObject<{
|
|
23371
|
-
fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
23372
|
-
opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
23373
|
-
sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
23374
|
-
haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
23375
|
-
}, z.core.$strict>>;
|
|
23376
|
-
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
23377
|
-
input: z.ZodNumber;
|
|
23378
|
-
output: z.ZodNumber;
|
|
23379
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
23380
|
-
hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23381
|
-
show: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23382
|
-
same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
23383
|
-
distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
|
|
23384
|
-
families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
23385
|
-
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23386
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
23387
|
-
ordered: "ordered";
|
|
23388
|
-
"most-allowance": "most-allowance";
|
|
23389
|
-
"soonest-reset": "soonest-reset";
|
|
23390
|
-
spread: "spread";
|
|
23391
|
-
adaptive: "adaptive";
|
|
23392
|
-
"lowest-latency": "lowest-latency";
|
|
23393
|
-
"highest-success": "highest-success";
|
|
23394
|
-
cheapest: "cheapest";
|
|
23395
|
-
}>>;
|
|
23396
|
-
context: z.ZodOptional<z.ZodNumber>;
|
|
23397
|
-
vision: z.ZodOptional<z.ZodBoolean>;
|
|
23398
|
-
tools: z.ZodOptional<z.ZodBoolean>;
|
|
23399
|
-
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
23400
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
23401
|
-
}, z.core.$strict>>;
|
|
23402
23495
|
extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23403
23496
|
categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
|
|
23404
23497
|
all: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -23445,13 +23538,13 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
|
|
|
23445
23538
|
route: "route";
|
|
23446
23539
|
account: "account";
|
|
23447
23540
|
provider: "provider";
|
|
23448
|
-
version: "version";
|
|
23449
|
-
headroom: "headroom";
|
|
23450
23541
|
duration: "duration";
|
|
23542
|
+
headroom: "headroom";
|
|
23451
23543
|
project: "project";
|
|
23452
23544
|
vcs: "vcs";
|
|
23453
23545
|
effort: "effort";
|
|
23454
23546
|
advisor: "advisor";
|
|
23547
|
+
version: "version";
|
|
23455
23548
|
outputStyle: "outputStyle";
|
|
23456
23549
|
cost: "cost";
|
|
23457
23550
|
dailyCost: "dailyCost";
|
|
@@ -23462,10 +23555,10 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
|
|
|
23462
23555
|
rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
23463
23556
|
context: "context";
|
|
23464
23557
|
quota: "quota";
|
|
23465
|
-
environment: "environment";
|
|
23466
23558
|
addedDirs: "addedDirs";
|
|
23467
23559
|
gitFiles: "gitFiles";
|
|
23468
23560
|
memory: "memory";
|
|
23561
|
+
environment: "environment";
|
|
23469
23562
|
sessionTime: "sessionTime";
|
|
23470
23563
|
promptCache: "promptCache";
|
|
23471
23564
|
compactions: "compactions";
|
|
@@ -23488,10 +23581,10 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
|
|
|
23488
23581
|
merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
|
|
23489
23582
|
context: "context";
|
|
23490
23583
|
quota: "quota";
|
|
23491
|
-
environment: "environment";
|
|
23492
23584
|
addedDirs: "addedDirs";
|
|
23493
23585
|
gitFiles: "gitFiles";
|
|
23494
23586
|
memory: "memory";
|
|
23587
|
+
environment: "environment";
|
|
23495
23588
|
sessionTime: "sessionTime";
|
|
23496
23589
|
promptCache: "promptCache";
|
|
23497
23590
|
compactions: "compactions";
|
|
@@ -23505,10 +23598,10 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
|
|
|
23505
23598
|
rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
23506
23599
|
context: "context";
|
|
23507
23600
|
quota: "quota";
|
|
23508
|
-
environment: "environment";
|
|
23509
23601
|
addedDirs: "addedDirs";
|
|
23510
23602
|
gitFiles: "gitFiles";
|
|
23511
23603
|
memory: "memory";
|
|
23604
|
+
environment: "environment";
|
|
23512
23605
|
sessionTime: "sessionTime";
|
|
23513
23606
|
promptCache: "promptCache";
|
|
23514
23607
|
compactions: "compactions";
|
|
@@ -23567,10 +23660,10 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
|
|
|
23567
23660
|
hidden: "hidden";
|
|
23568
23661
|
}>>;
|
|
23569
23662
|
value: z.ZodOptional<z.ZodEnum<{
|
|
23570
|
-
remaining: "remaining";
|
|
23571
23663
|
tokens: "tokens";
|
|
23572
23664
|
both: "both";
|
|
23573
23665
|
percent: "percent";
|
|
23666
|
+
remaining: "remaining";
|
|
23574
23667
|
}>>;
|
|
23575
23668
|
estimate: z.ZodOptional<z.ZodEnum<{
|
|
23576
23669
|
never: "never";
|
|
@@ -23612,8 +23705,8 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
|
|
|
23612
23705
|
}, z.core.$strict>>;
|
|
23613
23706
|
usage: z.ZodOptional<z.ZodObject<{
|
|
23614
23707
|
value: z.ZodOptional<z.ZodEnum<{
|
|
23615
|
-
used: "used";
|
|
23616
23708
|
remaining: "remaining";
|
|
23709
|
+
used: "used";
|
|
23617
23710
|
}>>;
|
|
23618
23711
|
bar: z.ZodOptional<z.ZodBoolean>;
|
|
23619
23712
|
compact: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -23971,6 +24064,53 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
|
|
|
23971
24064
|
}, z.core.$strict>>;
|
|
23972
24065
|
}, z.core.$strict>>;
|
|
23973
24066
|
}, z.core.$strict>>;
|
|
24067
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
24068
|
+
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
24069
|
+
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
24070
|
+
mode: z.ZodEnum<{
|
|
24071
|
+
ordered: "ordered";
|
|
24072
|
+
"most-allowance": "most-allowance";
|
|
24073
|
+
"soonest-reset": "soonest-reset";
|
|
24074
|
+
spread: "spread";
|
|
24075
|
+
adaptive: "adaptive";
|
|
24076
|
+
"lowest-latency": "lowest-latency";
|
|
24077
|
+
"highest-success": "highest-success";
|
|
24078
|
+
cheapest: "cheapest";
|
|
24079
|
+
}>;
|
|
24080
|
+
members: z.ZodArray<z.ZodString>;
|
|
24081
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
24082
|
+
tiers: z.ZodOptional<z.ZodObject<{
|
|
24083
|
+
fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
24084
|
+
opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
24085
|
+
sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
24086
|
+
haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
24087
|
+
}, z.core.$strict>>;
|
|
24088
|
+
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
24089
|
+
input: z.ZodNumber;
|
|
24090
|
+
output: z.ZodNumber;
|
|
24091
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
24092
|
+
hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24093
|
+
show: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24094
|
+
same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
24095
|
+
distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
|
|
24096
|
+
families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
24097
|
+
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24098
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
24099
|
+
ordered: "ordered";
|
|
24100
|
+
"most-allowance": "most-allowance";
|
|
24101
|
+
"soonest-reset": "soonest-reset";
|
|
24102
|
+
spread: "spread";
|
|
24103
|
+
adaptive: "adaptive";
|
|
24104
|
+
"lowest-latency": "lowest-latency";
|
|
24105
|
+
"highest-success": "highest-success";
|
|
24106
|
+
cheapest: "cheapest";
|
|
24107
|
+
}>>;
|
|
24108
|
+
context: z.ZodOptional<z.ZodNumber>;
|
|
24109
|
+
vision: z.ZodOptional<z.ZodBoolean>;
|
|
24110
|
+
tools: z.ZodOptional<z.ZodBoolean>;
|
|
24111
|
+
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
24112
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
24113
|
+
}, z.core.$strict>>;
|
|
23974
24114
|
}, z.core.$strict>;
|
|
23975
24115
|
}, z.core.$strict>;
|
|
23976
24116
|
declare const ConfigProfileRemoveInputSchema: z.ZodObject<{
|
|
@@ -24520,86 +24660,39 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
|
|
|
24520
24660
|
op: z.ZodEnum<{
|
|
24521
24661
|
equals: "equals";
|
|
24522
24662
|
notEquals: "notEquals";
|
|
24523
|
-
matches: "matches";
|
|
24524
|
-
notMatches: "notMatches";
|
|
24525
|
-
portableMatches: "portableMatches";
|
|
24526
|
-
portableNotMatches: "portableNotMatches";
|
|
24527
|
-
}>;
|
|
24528
|
-
left: typeof trilean.ExpressionNodeSchema;
|
|
24529
|
-
right: typeof trilean.ExpressionNodeSchema;
|
|
24530
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24531
|
-
kind: z.ZodLiteral<"memberOf">;
|
|
24532
|
-
op: z.ZodEnum<{
|
|
24533
|
-
in: "in";
|
|
24534
|
-
notIn: "notIn";
|
|
24535
|
-
}>;
|
|
24536
|
-
operand: typeof trilean.ExpressionNodeSchema;
|
|
24537
|
-
candidates: z.ZodArray<typeof trilean.ExpressionNodeSchema>;
|
|
24538
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24539
|
-
kind: z.ZodLiteral<"exists">;
|
|
24540
|
-
operand: typeof trilean.ExpressionNodeSchema;
|
|
24541
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24542
|
-
kind: z.ZodLiteral<"some">;
|
|
24543
|
-
collection: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
24544
|
-
item: typeof trilean.PredicateNodeSchema;
|
|
24545
|
-
filter: z.ZodOptional<typeof trilean.PredicateNodeSchema>;
|
|
24546
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24547
|
-
kind: z.ZodLiteral<"every">;
|
|
24548
|
-
collection: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
24549
|
-
item: typeof trilean.PredicateNodeSchema;
|
|
24550
|
-
filter: z.ZodOptional<typeof trilean.PredicateNodeSchema>;
|
|
24551
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24552
|
-
kind: z.ZodLiteral<"treeReference">;
|
|
24553
|
-
key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
24554
|
-
}, z.core.$strip>], "kind">]>;
|
|
24555
|
-
}, z.core.$strict>]>>>;
|
|
24556
|
-
models: z.ZodOptional<z.ZodObject<{
|
|
24557
|
-
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
24558
|
-
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
24559
|
-
mode: z.ZodEnum<{
|
|
24560
|
-
ordered: "ordered";
|
|
24561
|
-
"most-allowance": "most-allowance";
|
|
24562
|
-
"soonest-reset": "soonest-reset";
|
|
24563
|
-
spread: "spread";
|
|
24564
|
-
adaptive: "adaptive";
|
|
24565
|
-
"lowest-latency": "lowest-latency";
|
|
24566
|
-
"highest-success": "highest-success";
|
|
24567
|
-
cheapest: "cheapest";
|
|
24568
|
-
}>;
|
|
24569
|
-
members: z.ZodArray<z.ZodString>;
|
|
24570
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
24571
|
-
tiers: z.ZodOptional<z.ZodObject<{
|
|
24572
|
-
fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
24573
|
-
opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
24574
|
-
sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
24575
|
-
haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
24576
|
-
}, z.core.$strict>>;
|
|
24577
|
-
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
24578
|
-
input: z.ZodNumber;
|
|
24579
|
-
output: z.ZodNumber;
|
|
24580
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
24581
|
-
hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24582
|
-
show: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24583
|
-
same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
24584
|
-
distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
|
|
24585
|
-
families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
24586
|
-
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24587
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
24588
|
-
ordered: "ordered";
|
|
24589
|
-
"most-allowance": "most-allowance";
|
|
24590
|
-
"soonest-reset": "soonest-reset";
|
|
24591
|
-
spread: "spread";
|
|
24592
|
-
adaptive: "adaptive";
|
|
24593
|
-
"lowest-latency": "lowest-latency";
|
|
24594
|
-
"highest-success": "highest-success";
|
|
24595
|
-
cheapest: "cheapest";
|
|
24596
|
-
}>>;
|
|
24597
|
-
context: z.ZodOptional<z.ZodNumber>;
|
|
24598
|
-
vision: z.ZodOptional<z.ZodBoolean>;
|
|
24599
|
-
tools: z.ZodOptional<z.ZodBoolean>;
|
|
24600
|
-
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
24601
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
24602
|
-
}, z.core.$strict>>;
|
|
24663
|
+
matches: "matches";
|
|
24664
|
+
notMatches: "notMatches";
|
|
24665
|
+
portableMatches: "portableMatches";
|
|
24666
|
+
portableNotMatches: "portableNotMatches";
|
|
24667
|
+
}>;
|
|
24668
|
+
left: typeof trilean.ExpressionNodeSchema;
|
|
24669
|
+
right: typeof trilean.ExpressionNodeSchema;
|
|
24670
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24671
|
+
kind: z.ZodLiteral<"memberOf">;
|
|
24672
|
+
op: z.ZodEnum<{
|
|
24673
|
+
in: "in";
|
|
24674
|
+
notIn: "notIn";
|
|
24675
|
+
}>;
|
|
24676
|
+
operand: typeof trilean.ExpressionNodeSchema;
|
|
24677
|
+
candidates: z.ZodArray<typeof trilean.ExpressionNodeSchema>;
|
|
24678
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24679
|
+
kind: z.ZodLiteral<"exists">;
|
|
24680
|
+
operand: typeof trilean.ExpressionNodeSchema;
|
|
24681
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24682
|
+
kind: z.ZodLiteral<"some">;
|
|
24683
|
+
collection: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
24684
|
+
item: typeof trilean.PredicateNodeSchema;
|
|
24685
|
+
filter: z.ZodOptional<typeof trilean.PredicateNodeSchema>;
|
|
24686
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24687
|
+
kind: z.ZodLiteral<"every">;
|
|
24688
|
+
collection: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
24689
|
+
item: typeof trilean.PredicateNodeSchema;
|
|
24690
|
+
filter: z.ZodOptional<typeof trilean.PredicateNodeSchema>;
|
|
24691
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24692
|
+
kind: z.ZodLiteral<"treeReference">;
|
|
24693
|
+
key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
24694
|
+
}, z.core.$strip>], "kind">]>;
|
|
24695
|
+
}, z.core.$strict>]>>>;
|
|
24603
24696
|
$schema: z.ZodOptional<z.ZodString>;
|
|
24604
24697
|
extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24605
24698
|
categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
|
|
@@ -24647,13 +24740,13 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
|
|
|
24647
24740
|
route: "route";
|
|
24648
24741
|
account: "account";
|
|
24649
24742
|
provider: "provider";
|
|
24650
|
-
version: "version";
|
|
24651
|
-
headroom: "headroom";
|
|
24652
24743
|
duration: "duration";
|
|
24744
|
+
headroom: "headroom";
|
|
24653
24745
|
project: "project";
|
|
24654
24746
|
vcs: "vcs";
|
|
24655
24747
|
effort: "effort";
|
|
24656
24748
|
advisor: "advisor";
|
|
24749
|
+
version: "version";
|
|
24657
24750
|
outputStyle: "outputStyle";
|
|
24658
24751
|
cost: "cost";
|
|
24659
24752
|
dailyCost: "dailyCost";
|
|
@@ -24664,10 +24757,10 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
|
|
|
24664
24757
|
rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
24665
24758
|
context: "context";
|
|
24666
24759
|
quota: "quota";
|
|
24667
|
-
environment: "environment";
|
|
24668
24760
|
addedDirs: "addedDirs";
|
|
24669
24761
|
gitFiles: "gitFiles";
|
|
24670
24762
|
memory: "memory";
|
|
24763
|
+
environment: "environment";
|
|
24671
24764
|
sessionTime: "sessionTime";
|
|
24672
24765
|
promptCache: "promptCache";
|
|
24673
24766
|
compactions: "compactions";
|
|
@@ -24690,10 +24783,10 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
|
|
|
24690
24783
|
merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
|
|
24691
24784
|
context: "context";
|
|
24692
24785
|
quota: "quota";
|
|
24693
|
-
environment: "environment";
|
|
24694
24786
|
addedDirs: "addedDirs";
|
|
24695
24787
|
gitFiles: "gitFiles";
|
|
24696
24788
|
memory: "memory";
|
|
24789
|
+
environment: "environment";
|
|
24697
24790
|
sessionTime: "sessionTime";
|
|
24698
24791
|
promptCache: "promptCache";
|
|
24699
24792
|
compactions: "compactions";
|
|
@@ -24707,10 +24800,10 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
|
|
|
24707
24800
|
rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
24708
24801
|
context: "context";
|
|
24709
24802
|
quota: "quota";
|
|
24710
|
-
environment: "environment";
|
|
24711
24803
|
addedDirs: "addedDirs";
|
|
24712
24804
|
gitFiles: "gitFiles";
|
|
24713
24805
|
memory: "memory";
|
|
24806
|
+
environment: "environment";
|
|
24714
24807
|
sessionTime: "sessionTime";
|
|
24715
24808
|
promptCache: "promptCache";
|
|
24716
24809
|
compactions: "compactions";
|
|
@@ -24769,10 +24862,10 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
|
|
|
24769
24862
|
hidden: "hidden";
|
|
24770
24863
|
}>>;
|
|
24771
24864
|
value: z.ZodOptional<z.ZodEnum<{
|
|
24772
|
-
remaining: "remaining";
|
|
24773
24865
|
tokens: "tokens";
|
|
24774
24866
|
both: "both";
|
|
24775
24867
|
percent: "percent";
|
|
24868
|
+
remaining: "remaining";
|
|
24776
24869
|
}>>;
|
|
24777
24870
|
estimate: z.ZodOptional<z.ZodEnum<{
|
|
24778
24871
|
never: "never";
|
|
@@ -24814,8 +24907,8 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
|
|
|
24814
24907
|
}, z.core.$strict>>;
|
|
24815
24908
|
usage: z.ZodOptional<z.ZodObject<{
|
|
24816
24909
|
value: z.ZodOptional<z.ZodEnum<{
|
|
24817
|
-
used: "used";
|
|
24818
24910
|
remaining: "remaining";
|
|
24911
|
+
used: "used";
|
|
24819
24912
|
}>>;
|
|
24820
24913
|
bar: z.ZodOptional<z.ZodBoolean>;
|
|
24821
24914
|
compact: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -25173,6 +25266,53 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
|
|
|
25173
25266
|
}, z.core.$strict>>;
|
|
25174
25267
|
}, z.core.$strict>>;
|
|
25175
25268
|
}, z.core.$strict>>;
|
|
25269
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
25270
|
+
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
25271
|
+
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
25272
|
+
mode: z.ZodEnum<{
|
|
25273
|
+
ordered: "ordered";
|
|
25274
|
+
"most-allowance": "most-allowance";
|
|
25275
|
+
"soonest-reset": "soonest-reset";
|
|
25276
|
+
spread: "spread";
|
|
25277
|
+
adaptive: "adaptive";
|
|
25278
|
+
"lowest-latency": "lowest-latency";
|
|
25279
|
+
"highest-success": "highest-success";
|
|
25280
|
+
cheapest: "cheapest";
|
|
25281
|
+
}>;
|
|
25282
|
+
members: z.ZodArray<z.ZodString>;
|
|
25283
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
25284
|
+
tiers: z.ZodOptional<z.ZodObject<{
|
|
25285
|
+
fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
25286
|
+
opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
25287
|
+
sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
25288
|
+
haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
25289
|
+
}, z.core.$strict>>;
|
|
25290
|
+
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
25291
|
+
input: z.ZodNumber;
|
|
25292
|
+
output: z.ZodNumber;
|
|
25293
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
25294
|
+
hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
25295
|
+
show: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
25296
|
+
same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
25297
|
+
distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
|
|
25298
|
+
families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
25299
|
+
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
25300
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
25301
|
+
ordered: "ordered";
|
|
25302
|
+
"most-allowance": "most-allowance";
|
|
25303
|
+
"soonest-reset": "soonest-reset";
|
|
25304
|
+
spread: "spread";
|
|
25305
|
+
adaptive: "adaptive";
|
|
25306
|
+
"lowest-latency": "lowest-latency";
|
|
25307
|
+
"highest-success": "highest-success";
|
|
25308
|
+
cheapest: "cheapest";
|
|
25309
|
+
}>>;
|
|
25310
|
+
context: z.ZodOptional<z.ZodNumber>;
|
|
25311
|
+
vision: z.ZodOptional<z.ZodBoolean>;
|
|
25312
|
+
tools: z.ZodOptional<z.ZodBoolean>;
|
|
25313
|
+
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
25314
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
25315
|
+
}, z.core.$strict>>;
|
|
25176
25316
|
path: z.ZodString;
|
|
25177
25317
|
configProfile: z.ZodOptional<z.ZodString>;
|
|
25178
25318
|
identity: z.ZodOptional<z.ZodString>;
|
|
@@ -25336,53 +25476,6 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
|
|
|
25336
25476
|
key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
25337
25477
|
}, z.core.$strip>], "kind">]>;
|
|
25338
25478
|
}, z.core.$strict>]>>>;
|
|
25339
|
-
models: z.ZodOptional<z.ZodObject<{
|
|
25340
|
-
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
25341
|
-
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
25342
|
-
mode: z.ZodEnum<{
|
|
25343
|
-
ordered: "ordered";
|
|
25344
|
-
"most-allowance": "most-allowance";
|
|
25345
|
-
"soonest-reset": "soonest-reset";
|
|
25346
|
-
spread: "spread";
|
|
25347
|
-
adaptive: "adaptive";
|
|
25348
|
-
"lowest-latency": "lowest-latency";
|
|
25349
|
-
"highest-success": "highest-success";
|
|
25350
|
-
cheapest: "cheapest";
|
|
25351
|
-
}>;
|
|
25352
|
-
members: z.ZodArray<z.ZodString>;
|
|
25353
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
25354
|
-
tiers: z.ZodOptional<z.ZodObject<{
|
|
25355
|
-
fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
25356
|
-
opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
25357
|
-
sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
25358
|
-
haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
25359
|
-
}, z.core.$strict>>;
|
|
25360
|
-
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
25361
|
-
input: z.ZodNumber;
|
|
25362
|
-
output: z.ZodNumber;
|
|
25363
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
25364
|
-
hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
25365
|
-
show: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
25366
|
-
same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
25367
|
-
distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
|
|
25368
|
-
families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
25369
|
-
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
25370
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
25371
|
-
ordered: "ordered";
|
|
25372
|
-
"most-allowance": "most-allowance";
|
|
25373
|
-
"soonest-reset": "soonest-reset";
|
|
25374
|
-
spread: "spread";
|
|
25375
|
-
adaptive: "adaptive";
|
|
25376
|
-
"lowest-latency": "lowest-latency";
|
|
25377
|
-
"highest-success": "highest-success";
|
|
25378
|
-
cheapest: "cheapest";
|
|
25379
|
-
}>>;
|
|
25380
|
-
context: z.ZodOptional<z.ZodNumber>;
|
|
25381
|
-
vision: z.ZodOptional<z.ZodBoolean>;
|
|
25382
|
-
tools: z.ZodOptional<z.ZodBoolean>;
|
|
25383
|
-
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
25384
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
25385
|
-
}, z.core.$strict>>;
|
|
25386
25479
|
$schema: z.ZodOptional<z.ZodString>;
|
|
25387
25480
|
extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
25388
25481
|
categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
|
|
@@ -25430,13 +25523,13 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
|
|
|
25430
25523
|
route: "route";
|
|
25431
25524
|
account: "account";
|
|
25432
25525
|
provider: "provider";
|
|
25433
|
-
version: "version";
|
|
25434
|
-
headroom: "headroom";
|
|
25435
25526
|
duration: "duration";
|
|
25527
|
+
headroom: "headroom";
|
|
25436
25528
|
project: "project";
|
|
25437
25529
|
vcs: "vcs";
|
|
25438
25530
|
effort: "effort";
|
|
25439
25531
|
advisor: "advisor";
|
|
25532
|
+
version: "version";
|
|
25440
25533
|
outputStyle: "outputStyle";
|
|
25441
25534
|
cost: "cost";
|
|
25442
25535
|
dailyCost: "dailyCost";
|
|
@@ -25447,10 +25540,10 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
|
|
|
25447
25540
|
rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
25448
25541
|
context: "context";
|
|
25449
25542
|
quota: "quota";
|
|
25450
|
-
environment: "environment";
|
|
25451
25543
|
addedDirs: "addedDirs";
|
|
25452
25544
|
gitFiles: "gitFiles";
|
|
25453
25545
|
memory: "memory";
|
|
25546
|
+
environment: "environment";
|
|
25454
25547
|
sessionTime: "sessionTime";
|
|
25455
25548
|
promptCache: "promptCache";
|
|
25456
25549
|
compactions: "compactions";
|
|
@@ -25473,10 +25566,10 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
|
|
|
25473
25566
|
merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
|
|
25474
25567
|
context: "context";
|
|
25475
25568
|
quota: "quota";
|
|
25476
|
-
environment: "environment";
|
|
25477
25569
|
addedDirs: "addedDirs";
|
|
25478
25570
|
gitFiles: "gitFiles";
|
|
25479
25571
|
memory: "memory";
|
|
25572
|
+
environment: "environment";
|
|
25480
25573
|
sessionTime: "sessionTime";
|
|
25481
25574
|
promptCache: "promptCache";
|
|
25482
25575
|
compactions: "compactions";
|
|
@@ -25490,10 +25583,10 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
|
|
|
25490
25583
|
rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
25491
25584
|
context: "context";
|
|
25492
25585
|
quota: "quota";
|
|
25493
|
-
environment: "environment";
|
|
25494
25586
|
addedDirs: "addedDirs";
|
|
25495
25587
|
gitFiles: "gitFiles";
|
|
25496
25588
|
memory: "memory";
|
|
25589
|
+
environment: "environment";
|
|
25497
25590
|
sessionTime: "sessionTime";
|
|
25498
25591
|
promptCache: "promptCache";
|
|
25499
25592
|
compactions: "compactions";
|
|
@@ -25552,10 +25645,10 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
|
|
|
25552
25645
|
hidden: "hidden";
|
|
25553
25646
|
}>>;
|
|
25554
25647
|
value: z.ZodOptional<z.ZodEnum<{
|
|
25555
|
-
remaining: "remaining";
|
|
25556
25648
|
tokens: "tokens";
|
|
25557
25649
|
both: "both";
|
|
25558
25650
|
percent: "percent";
|
|
25651
|
+
remaining: "remaining";
|
|
25559
25652
|
}>>;
|
|
25560
25653
|
estimate: z.ZodOptional<z.ZodEnum<{
|
|
25561
25654
|
never: "never";
|
|
@@ -25597,8 +25690,8 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
|
|
|
25597
25690
|
}, z.core.$strict>>;
|
|
25598
25691
|
usage: z.ZodOptional<z.ZodObject<{
|
|
25599
25692
|
value: z.ZodOptional<z.ZodEnum<{
|
|
25600
|
-
used: "used";
|
|
25601
25693
|
remaining: "remaining";
|
|
25694
|
+
used: "used";
|
|
25602
25695
|
}>>;
|
|
25603
25696
|
bar: z.ZodOptional<z.ZodBoolean>;
|
|
25604
25697
|
compact: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -25956,6 +26049,53 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
|
|
|
25956
26049
|
}, z.core.$strict>>;
|
|
25957
26050
|
}, z.core.$strict>>;
|
|
25958
26051
|
}, z.core.$strict>>;
|
|
26052
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
26053
|
+
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
26054
|
+
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
26055
|
+
mode: z.ZodEnum<{
|
|
26056
|
+
ordered: "ordered";
|
|
26057
|
+
"most-allowance": "most-allowance";
|
|
26058
|
+
"soonest-reset": "soonest-reset";
|
|
26059
|
+
spread: "spread";
|
|
26060
|
+
adaptive: "adaptive";
|
|
26061
|
+
"lowest-latency": "lowest-latency";
|
|
26062
|
+
"highest-success": "highest-success";
|
|
26063
|
+
cheapest: "cheapest";
|
|
26064
|
+
}>;
|
|
26065
|
+
members: z.ZodArray<z.ZodString>;
|
|
26066
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
26067
|
+
tiers: z.ZodOptional<z.ZodObject<{
|
|
26068
|
+
fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
26069
|
+
opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
26070
|
+
sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
26071
|
+
haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
26072
|
+
}, z.core.$strict>>;
|
|
26073
|
+
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
26074
|
+
input: z.ZodNumber;
|
|
26075
|
+
output: z.ZodNumber;
|
|
26076
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
26077
|
+
hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26078
|
+
show: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26079
|
+
same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
26080
|
+
distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
|
|
26081
|
+
families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
26082
|
+
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26083
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
26084
|
+
ordered: "ordered";
|
|
26085
|
+
"most-allowance": "most-allowance";
|
|
26086
|
+
"soonest-reset": "soonest-reset";
|
|
26087
|
+
spread: "spread";
|
|
26088
|
+
adaptive: "adaptive";
|
|
26089
|
+
"lowest-latency": "lowest-latency";
|
|
26090
|
+
"highest-success": "highest-success";
|
|
26091
|
+
cheapest: "cheapest";
|
|
26092
|
+
}>>;
|
|
26093
|
+
context: z.ZodOptional<z.ZodNumber>;
|
|
26094
|
+
vision: z.ZodOptional<z.ZodBoolean>;
|
|
26095
|
+
tools: z.ZodOptional<z.ZodBoolean>;
|
|
26096
|
+
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
26097
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
26098
|
+
}, z.core.$strict>>;
|
|
25959
26099
|
path: z.ZodString;
|
|
25960
26100
|
configProfile: z.ZodOptional<z.ZodString>;
|
|
25961
26101
|
identity: z.ZodOptional<z.ZodString>;
|
|
@@ -26058,12 +26198,12 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
|
|
|
26058
26198
|
identity: z.ZodOptional<z.ZodString>;
|
|
26059
26199
|
identityId: z.ZodOptional<z.ZodString>;
|
|
26060
26200
|
identitySource: z.ZodEnum<{
|
|
26201
|
+
env: "env";
|
|
26202
|
+
none: "none";
|
|
26061
26203
|
"config-dir-escape-hatch": "config-dir-escape-hatch";
|
|
26062
26204
|
argv: "argv";
|
|
26063
|
-
env: "env";
|
|
26064
26205
|
"directory-pin": "directory-pin";
|
|
26065
26206
|
"active-identity-file": "active-identity-file";
|
|
26066
|
-
none: "none";
|
|
26067
26207
|
}>;
|
|
26068
26208
|
pool: z.ZodOptional<z.ZodObject<{
|
|
26069
26209
|
name: z.ZodString;
|
|
@@ -26078,10 +26218,10 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
|
|
|
26078
26218
|
configDir: z.ZodOptional<z.ZodString>;
|
|
26079
26219
|
configProfile: z.ZodOptional<z.ZodString>;
|
|
26080
26220
|
configProfileSource: z.ZodEnum<{
|
|
26221
|
+
"directory-rule": "directory-rule";
|
|
26081
26222
|
env: "env";
|
|
26082
26223
|
none: "none";
|
|
26083
26224
|
"cli-flag": "cli-flag";
|
|
26084
|
-
"directory-rule": "directory-rule";
|
|
26085
26225
|
"identity-default": "identity-default";
|
|
26086
26226
|
"global-default": "global-default";
|
|
26087
26227
|
}>;
|
|
@@ -26117,13 +26257,13 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
|
|
|
26117
26257
|
route: "route";
|
|
26118
26258
|
account: "account";
|
|
26119
26259
|
provider: "provider";
|
|
26120
|
-
version: "version";
|
|
26121
|
-
headroom: "headroom";
|
|
26122
26260
|
duration: "duration";
|
|
26261
|
+
headroom: "headroom";
|
|
26123
26262
|
project: "project";
|
|
26124
26263
|
vcs: "vcs";
|
|
26125
26264
|
effort: "effort";
|
|
26126
26265
|
advisor: "advisor";
|
|
26266
|
+
version: "version";
|
|
26127
26267
|
outputStyle: "outputStyle";
|
|
26128
26268
|
cost: "cost";
|
|
26129
26269
|
dailyCost: "dailyCost";
|
|
@@ -26134,10 +26274,10 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
|
|
|
26134
26274
|
rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
26135
26275
|
context: "context";
|
|
26136
26276
|
quota: "quota";
|
|
26137
|
-
environment: "environment";
|
|
26138
26277
|
addedDirs: "addedDirs";
|
|
26139
26278
|
gitFiles: "gitFiles";
|
|
26140
26279
|
memory: "memory";
|
|
26280
|
+
environment: "environment";
|
|
26141
26281
|
sessionTime: "sessionTime";
|
|
26142
26282
|
promptCache: "promptCache";
|
|
26143
26283
|
compactions: "compactions";
|
|
@@ -26160,10 +26300,10 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
|
|
|
26160
26300
|
merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
|
|
26161
26301
|
context: "context";
|
|
26162
26302
|
quota: "quota";
|
|
26163
|
-
environment: "environment";
|
|
26164
26303
|
addedDirs: "addedDirs";
|
|
26165
26304
|
gitFiles: "gitFiles";
|
|
26166
26305
|
memory: "memory";
|
|
26306
|
+
environment: "environment";
|
|
26167
26307
|
sessionTime: "sessionTime";
|
|
26168
26308
|
promptCache: "promptCache";
|
|
26169
26309
|
compactions: "compactions";
|
|
@@ -26177,10 +26317,10 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
|
|
|
26177
26317
|
rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
26178
26318
|
context: "context";
|
|
26179
26319
|
quota: "quota";
|
|
26180
|
-
environment: "environment";
|
|
26181
26320
|
addedDirs: "addedDirs";
|
|
26182
26321
|
gitFiles: "gitFiles";
|
|
26183
26322
|
memory: "memory";
|
|
26323
|
+
environment: "environment";
|
|
26184
26324
|
sessionTime: "sessionTime";
|
|
26185
26325
|
promptCache: "promptCache";
|
|
26186
26326
|
compactions: "compactions";
|
|
@@ -26239,10 +26379,10 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
|
|
|
26239
26379
|
hidden: "hidden";
|
|
26240
26380
|
}>>;
|
|
26241
26381
|
value: z.ZodOptional<z.ZodEnum<{
|
|
26242
|
-
remaining: "remaining";
|
|
26243
26382
|
tokens: "tokens";
|
|
26244
26383
|
both: "both";
|
|
26245
26384
|
percent: "percent";
|
|
26385
|
+
remaining: "remaining";
|
|
26246
26386
|
}>>;
|
|
26247
26387
|
estimate: z.ZodOptional<z.ZodEnum<{
|
|
26248
26388
|
never: "never";
|
|
@@ -26284,8 +26424,8 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
|
|
|
26284
26424
|
}, z.core.$strict>>;
|
|
26285
26425
|
usage: z.ZodOptional<z.ZodObject<{
|
|
26286
26426
|
value: z.ZodOptional<z.ZodEnum<{
|
|
26287
|
-
used: "used";
|
|
26288
26427
|
remaining: "remaining";
|
|
26428
|
+
used: "used";
|
|
26289
26429
|
}>>;
|
|
26290
26430
|
bar: z.ZodOptional<z.ZodBoolean>;
|
|
26291
26431
|
compact: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -26646,8 +26786,8 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
|
|
|
26646
26786
|
claudeVersion: z.ZodOptional<z.ZodObject<{
|
|
26647
26787
|
version: z.ZodString;
|
|
26648
26788
|
source: z.ZodEnum<{
|
|
26649
|
-
flag: "flag";
|
|
26650
26789
|
environment: "environment";
|
|
26790
|
+
flag: "flag";
|
|
26651
26791
|
cascade: "cascade";
|
|
26652
26792
|
}>;
|
|
26653
26793
|
}, z.core.$strict>>;
|
|
@@ -27456,6 +27596,8 @@ interface RealMemberProviderParams {
|
|
|
27456
27596
|
readonly cliFlagConfigProfile?: string;
|
|
27457
27597
|
/** The cascade of `cwd`, when the caller has already loaded it. */
|
|
27458
27598
|
readonly loaded?: LoadedCascade;
|
|
27599
|
+
/** The home directory the cascade walk stops at and reads committed files up to; absent, the process's own. */
|
|
27600
|
+
readonly home?: string;
|
|
27459
27601
|
}
|
|
27460
27602
|
/**
|
|
27461
27603
|
* `memberProviderResolver` over this machine's real files: the cascade of `params.cwd` is read once for its directory selections and again, per configuration profile, as a launch reads it for the identity it runs as. Used by every read-only report of what a pool launch would pick, so each ranks the pool on the quota the launch itself would spend.
|
|
@@ -27710,7 +27852,7 @@ interface RunSupervisorOptions {
|
|
|
27710
27852
|
*
|
|
27711
27853
|
* Every effect flows through `ports`, so the whole loop is unit-testable with a fake clock, filesystem, and processes. The loop awaits its sleeps, which in the real implementation run on a timer: between ticks the event loop turns, the spawned child's exit event is delivered (and the child thereby reaped), and the next tick's liveness check reads the truth.
|
|
27712
27854
|
*/
|
|
27713
|
-
declare function runSupervisor(initialConfig: HeadroomSupervisorConfig,
|
|
27855
|
+
declare function runSupervisor(initialConfig: HeadroomSupervisorConfig, givenPorts: SupervisorPorts, options?: RunSupervisorOptions): Promise<number>;
|
|
27714
27856
|
/** A recorded front door no read of the process table could answer for, kept on the allowlist until one can: its pid, its direct origin, and why the read failed. */
|
|
27715
27857
|
interface UndeterminedFrontDoor {
|
|
27716
27858
|
readonly pid: number;
|
|
@@ -28026,7 +28168,7 @@ interface ProviderListEntry {
|
|
|
28026
28168
|
readonly name: string;
|
|
28027
28169
|
readonly provider: Provider;
|
|
28028
28170
|
}
|
|
28029
|
-
/** Lists every provider under `providersDir` that has a valid `<name>.json`. A file that fails validation
|
|
28171
|
+
/** Lists every provider under `providersDir` that has a valid `<name>.json`. A file that fails validation, is not JSON or has a read fault of its own (`fileFaultCodeOf`) is skipped here and reported through `onInvalid` (standard error by default); `provider list` is the place a broken definition gets surfaced, not a launch. A read of a file or of the directory that failed for the moment (`isTransientReadError`) is thrown, so a caller retries rather than taking the provider for broken or absent; a long-lived caller's loop catches it (`keepTicking`). */
|
|
28030
28172
|
declare function listProviders(paths: LayoutPaths, onInvalid?: (name: string, message: string) => void): readonly ProviderListEntry[];
|
|
28031
28173
|
/** The credential targets a provider may use. */
|
|
28032
28174
|
type ProviderCredentialTarget = (typeof PROVIDER_CREDENTIAL_TARGETS)[number];
|
|
@@ -28170,6 +28312,33 @@ declare function updateDirectoryRule(paths: LayoutPaths, rulePath: string, optio
|
|
|
28170
28312
|
/** Removes the directory rule for `rulePath`. Throws `DirectoryRuleNotFoundError` when no rule matches that exact path. */
|
|
28171
28313
|
declare function removeDirectoryRule(paths: LayoutPaths, rulePath: string): void;
|
|
28172
28314
|
|
|
28315
|
+
declare const RouteOverridesSchema: z.ZodObject<{
|
|
28316
|
+
$schema: z.ZodOptional<z.ZodString>;
|
|
28317
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
28318
|
+
global: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
28319
|
+
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
28320
|
+
identities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
28321
|
+
sessions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
28322
|
+
}, z.core.$strict>;
|
|
28323
|
+
type RouteOverrides = z.infer<typeof RouteOverridesSchema>;
|
|
28324
|
+
|
|
28325
|
+
/** What one read of the overrides found: the table, or why it cannot be used (a class, a code or a validation summary, never the file's path or contents). */
|
|
28326
|
+
type RouteOverridesRead = {
|
|
28327
|
+
readonly table: RouteOverrides;
|
|
28328
|
+
} | {
|
|
28329
|
+
readonly fault: string;
|
|
28330
|
+
};
|
|
28331
|
+
/** One model name or class some covering scope overrides, as `check` and `model explain` report it: the entry that wins and the entries it outranks, each with its scope. */
|
|
28332
|
+
interface ApplyingOverride {
|
|
28333
|
+
readonly model: string;
|
|
28334
|
+
readonly target: string;
|
|
28335
|
+
readonly scope: string;
|
|
28336
|
+
readonly outranks: readonly {
|
|
28337
|
+
readonly scope: string;
|
|
28338
|
+
readonly target: string;
|
|
28339
|
+
}[];
|
|
28340
|
+
}
|
|
28341
|
+
|
|
28173
28342
|
type CodexCredentialGuardResult = {
|
|
28174
28343
|
readonly ok: true;
|
|
28175
28344
|
} | {
|
|
@@ -28287,6 +28456,8 @@ interface RunCheckParams {
|
|
|
28287
28456
|
readonly credentialCache?: CredentialCacheEnv;
|
|
28288
28457
|
/** Opens one connection to the selected http provider's base URL, bounded by its connect timeout. Omit to leave reachability out of the report. */
|
|
28289
28458
|
readonly probeBaseUrl?: BaseUrlProbe;
|
|
28459
|
+
/** The route overrides as the door would read them. Omit to leave them out of the report; with them, the report lists the entries that apply to a launch here (its identity's, its provider's and the global ones). */
|
|
28460
|
+
readonly routeOverrides?: RouteOverridesRead;
|
|
28290
28461
|
}
|
|
28291
28462
|
/** Whether the selected http provider's base URL accepted a connection, as `check` reports it. */
|
|
28292
28463
|
type ProviderReachabilityReport = {
|
|
@@ -28317,6 +28488,12 @@ interface CheckReport {
|
|
|
28317
28488
|
readonly claudeVersion?: ClaudeVersionReport;
|
|
28318
28489
|
/** Whether the selected provider's base URL accepts a connection, when an http provider is selected and a probe was given. */
|
|
28319
28490
|
readonly providerReachability?: ProviderReachabilityReport;
|
|
28491
|
+
/** The route overrides that apply to a launch here, or why the file cannot be used, when the overrides were given. */
|
|
28492
|
+
readonly routeOverrides?: {
|
|
28493
|
+
readonly applying: readonly ApplyingOverride[];
|
|
28494
|
+
} | {
|
|
28495
|
+
readonly fault: string;
|
|
28496
|
+
};
|
|
28320
28497
|
}
|
|
28321
28498
|
/** Which Claude Code version a launch would run: the pin and where it comes from, with whether it is installed, or the highest installed version when nothing pins one. */
|
|
28322
28499
|
interface ClaudeVersionReport {
|
|
@@ -28339,7 +28516,7 @@ declare function formatCheckReport(report: CheckReport): string[];
|
|
|
28339
28516
|
*/
|
|
28340
28517
|
declare function checkReportToJson(report: CheckReport): CheckReportJson;
|
|
28341
28518
|
/**
|
|
28342
|
-
* Whether a report carries anything `check --strict` fails on: a resolver diagnostic of warning or error severity, an ambiguous `history/projects/` encoding, an ambient credential a launch would refuse, a selected provider a launch could not use,
|
|
28519
|
+
* Whether a report carries anything `check --strict` fails on: a resolver diagnostic of warning or error severity, an ambiguous `history/projects/` encoding, an ambient credential a launch would refuse, a selected provider a launch could not use, one whose base URL accepts no connection, or a route overrides file the door cannot use. Informational diagnostics and the settings-exposure advisory (names and counts only, for a person to review) never fail it.
|
|
28343
28520
|
*/
|
|
28344
28521
|
declare function checkReportHasWarnings(report: CheckReport): boolean;
|
|
28345
28522
|
/** What `collectCheckReport` needs from its caller. */
|
|
@@ -28421,6 +28598,62 @@ interface DoctorFarmLinksInput {
|
|
|
28421
28598
|
readonly dangling: readonly DanglingFarmLink[];
|
|
28422
28599
|
}
|
|
28423
28600
|
|
|
28601
|
+
/** What follows the selector: nothing, a Claude tier, or an exact model. */
|
|
28602
|
+
type SelectorTarget = {
|
|
28603
|
+
readonly kind: "none";
|
|
28604
|
+
} | {
|
|
28605
|
+
readonly kind: "class";
|
|
28606
|
+
readonly tier: ClaudeTier;
|
|
28607
|
+
} | {
|
|
28608
|
+
readonly kind: "model";
|
|
28609
|
+
readonly model: string;
|
|
28610
|
+
};
|
|
28611
|
+
/** Why a name could not be routed: the request is answered with this text (a 400). */
|
|
28612
|
+
interface SelectorRefusal {
|
|
28613
|
+
readonly refusal: string;
|
|
28614
|
+
}
|
|
28615
|
+
/** What a lookup of one name in one namespace found: nothing, a usable entry, or an entry that exists and cannot be used (its reason names it). */
|
|
28616
|
+
type SelectorLookup<T> = {
|
|
28617
|
+
readonly kind: "absent";
|
|
28618
|
+
} | {
|
|
28619
|
+
readonly kind: "found";
|
|
28620
|
+
readonly value: T;
|
|
28621
|
+
} | {
|
|
28622
|
+
readonly kind: "invalid";
|
|
28623
|
+
readonly reason: string;
|
|
28624
|
+
};
|
|
28625
|
+
/** The live state a selector is expanded against, read at the moment of the request. */
|
|
28626
|
+
interface SelectorPorts {
|
|
28627
|
+
/** A configuration profile by name, with the provider its `launch` names (through its `extends` chain), if any. */
|
|
28628
|
+
readonly profile: (name: string) => SelectorLookup<{
|
|
28629
|
+
readonly provider: string | undefined;
|
|
28630
|
+
}>;
|
|
28631
|
+
/** An identity by name, with the provider its own file declares, if any. */
|
|
28632
|
+
readonly identity: (name: string) => SelectorLookup<{
|
|
28633
|
+
readonly provider: string | undefined;
|
|
28634
|
+
}>;
|
|
28635
|
+
/** Whether a pool of this name is defined. */
|
|
28636
|
+
readonly pool: (name: string) => SelectorLookup<undefined>;
|
|
28637
|
+
/** The member a pool's ranking picks right now, or why it picks none: asked only once the selector is known to be that pool, since ranking reads every member's usage. */
|
|
28638
|
+
readonly poolPick: (name: string) => {
|
|
28639
|
+
readonly identity: string;
|
|
28640
|
+
} | SelectorRefusal;
|
|
28641
|
+
/** Whether a provider of this name is defined (exactly, as the providers directory lists it). */
|
|
28642
|
+
readonly provider: (name: string) => SelectorLookup<undefined>;
|
|
28643
|
+
/** The name a provider serves a target under: its default model for none, its own tier mapping for a class (a router's tier pointer, which is a ref of its own), the model itself for an exact model. */
|
|
28644
|
+
readonly providerTarget: (provider: string, target: SelectorTarget) => {
|
|
28645
|
+
readonly name: string;
|
|
28646
|
+
} | SelectorRefusal;
|
|
28647
|
+
/** Whether a model family of this canonical key is offered. */
|
|
28648
|
+
readonly family: (key: string) => boolean;
|
|
28649
|
+
/** Whether the identity named `identity` holds the login the session runs on: it is the identity stored under `sessionIdentityId` (a directory id, never a name), or another holding the same account in the same organisation; or why that cannot be told. */
|
|
28650
|
+
readonly sameLogin: (identity: string, sessionIdentityId: string) => boolean | SelectorRefusal;
|
|
28651
|
+
/** The Claude model id the session last sent for a tier, as its own Claude Code resolved the tier: what a class is sent as on the Anthropic route. Undefined until the session has sent one. */
|
|
28652
|
+
readonly claudeNameOf: (tier: ClaudeTier) => string | undefined;
|
|
28653
|
+
/** The provider of the route the session itself chose (the door reads it with `sessionRouteProvider`: its launch's own, else the one its own request put the main loop on, else, while an override has moved it, the one it had chosen before), or undefined on the Anthropic route: where a class alone (`auto/<class>`) goes. */
|
|
28654
|
+
readonly routeProvider: () => string | undefined;
|
|
28655
|
+
}
|
|
28656
|
+
|
|
28424
28657
|
/**
|
|
28425
28658
|
* How the allowlist the headroom daemon serves lags the allowlist computed now. The daemon re-reads its allowlist file on every request that follows a change to it, and its supervisor rewrites the file and records the hash in the same tick, so a lag that lasts beyond one tick means the supervisor is not running or cannot write the file. A daemon started by an earlier release reads no file, and is reported as such instead.
|
|
28426
28659
|
*/
|
|
@@ -28495,17 +28728,9 @@ interface RenameJournalListing {
|
|
|
28495
28728
|
readonly unreadable: readonly UnreadableRenameJournal[];
|
|
28496
28729
|
}
|
|
28497
28730
|
|
|
28498
|
-
/**
|
|
28499
|
-
* The former names of renamed providers, by the old name: `{ "z": "zai" }` means a request or a launch that names `z` is served by the provider now called `zai`.
|
|
28500
|
-
*
|
|
28501
|
-
* A running session has its provider's name fixed at launch, and the front door resolves that name against the providers directory on every request, so renaming a provider file alone strands every session launched before the rename. An alias is what keeps those sessions served until they end. Targets are always current provider names: renaming a provider repoints every alias that targeted it, so a lookup is one step and never a chain.
|
|
28502
|
-
*/
|
|
28503
|
-
declare const ProviderAliasesSchema: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
28504
|
-
type ProviderAliases = z.infer<typeof ProviderAliasesSchema>;
|
|
28505
|
-
|
|
28506
28731
|
declare const DOCTOR_SEVERITIES: readonly ["pass", "warn", "fail"];
|
|
28507
28732
|
type DoctorSeverity = (typeof DOCTOR_SEVERITIES)[number];
|
|
28508
|
-
declare const DOCTOR_SECTIONS: readonly ["ambient-credential", "binary-discovery", "claude-shim", "path-resolution", "legacy-name", "config-profile", "identity", "sign-in", "farm-links", "pool", "provider", "keychain", "directory-rules", "global-config", "categories-local", "active-identity", "headroom", "frontdoor", "models"];
|
|
28733
|
+
declare const DOCTOR_SECTIONS: readonly ["ambient-credential", "binary-discovery", "claude-shim", "path-resolution", "legacy-name", "config-profile", "identity", "sign-in", "farm-links", "pool", "provider", "keychain", "directory-rules", "global-config", "categories-local", "active-identity", "headroom", "frontdoor", "models", "route-overrides"];
|
|
28509
28734
|
type DoctorSection = (typeof DOCTOR_SECTIONS)[number];
|
|
28510
28735
|
/** One line of `agent-shim doctor`'s report. `subject` names the identity/profile/rule the finding is about, when the section has more than one of those. */
|
|
28511
28736
|
interface DoctorFinding {
|
|
@@ -28527,6 +28752,8 @@ interface DoctorIdentityInput {
|
|
|
28527
28752
|
readonly id: string;
|
|
28528
28753
|
readonly path: string;
|
|
28529
28754
|
readonly raw: string | undefined;
|
|
28755
|
+
/** Set when the file exists and cannot be read (a directory in its place, no permission): the read failure's code. `raw` is then undefined, and the file is reported as unreadable, never as missing. */
|
|
28756
|
+
readonly unreadable?: string;
|
|
28530
28757
|
/** The identity's own farm root (`identitiesDir/<id>`): the account name the Keychain lookup uses. */
|
|
28531
28758
|
readonly farmRoot: string;
|
|
28532
28759
|
/** Whether the identity's `.credentials.json` exists, pre-resolved by the wiring layer since it is a file-existence check. */
|
|
@@ -28539,17 +28766,23 @@ interface DoctorConfigProfileInput {
|
|
|
28539
28766
|
readonly name: string;
|
|
28540
28767
|
readonly path: string;
|
|
28541
28768
|
readonly raw: string | undefined;
|
|
28769
|
+
/** Set when the file exists and cannot be read (a directory in its place, no permission): the read failure's code. `raw` is then undefined, and the file is reported as unreadable, never as missing. */
|
|
28770
|
+
readonly unreadable?: string;
|
|
28542
28771
|
}
|
|
28543
28772
|
/** One provider's raw `<name>.json`, unparsed. */
|
|
28544
28773
|
interface DoctorProviderInput {
|
|
28545
28774
|
readonly name: string;
|
|
28546
28775
|
readonly path: string;
|
|
28547
28776
|
readonly raw: string | undefined;
|
|
28777
|
+
/** Set when the file exists and cannot be read (a directory in its place, no permission): the read failure's code. `raw` is then undefined, and the file is reported as unreadable, never as missing. */
|
|
28778
|
+
readonly unreadable?: string;
|
|
28548
28779
|
}
|
|
28549
28780
|
/** A single optional top-level file `runDoctor` validates against a schema when present — absent is a legitimate, unconfigured state, not a failure. */
|
|
28550
28781
|
interface DoctorFileInput {
|
|
28551
28782
|
readonly path: string;
|
|
28552
28783
|
readonly raw: string | undefined;
|
|
28784
|
+
/** Set when the file exists and cannot be read (a directory in its place, no permission): the read failure's code. `raw` is then undefined, and the file is reported as unreadable, never as missing. */
|
|
28785
|
+
readonly unreadable?: string;
|
|
28553
28786
|
}
|
|
28554
28787
|
/** The outcome of resolving the real Claude Code binary, pre-resolved by the wiring layer since `discoverClaudeBinary` is not itself a parse-shaped pure operation and already has its own dedicated test coverage. */
|
|
28555
28788
|
type DoctorBinaryDiscovery = {
|
|
@@ -28580,6 +28813,7 @@ interface RunDoctorParams {
|
|
|
28580
28813
|
readonly chatgptSignIn?: {
|
|
28581
28814
|
readonly path: string;
|
|
28582
28815
|
readonly raw: string | undefined;
|
|
28816
|
+
readonly unreadable?: string;
|
|
28583
28817
|
};
|
|
28584
28818
|
readonly identities: readonly DoctorIdentityInput[];
|
|
28585
28819
|
/** The links in each identity's farm that lead nowhere (`danglingFarmLinks`). Omit to leave the farm-links section out; with it, each such link warns, naming the identity, the entry and what brings the farm up to date. */
|
|
@@ -28588,8 +28822,8 @@ interface RunDoctorParams {
|
|
|
28588
28822
|
readonly usageSnapshots?: Readonly<Record<string, UsageSnapshot>>;
|
|
28589
28823
|
readonly configProfiles: readonly DoctorConfigProfileInput[];
|
|
28590
28824
|
readonly providers: readonly DoctorProviderInput[];
|
|
28591
|
-
/**
|
|
28592
|
-
readonly providerAliases?:
|
|
28825
|
+
/** `provider-aliases.json`, the recorded former names of renamed providers: absent when no provider was ever renamed. Omit to leave them out of the findings. */
|
|
28826
|
+
readonly providerAliases?: DoctorFileInput;
|
|
28593
28827
|
/** Probes the base URLs of every valid http provider, up to `MAX_CONCURRENT_PROBES` distinct targets together and any more in rounds of that many, one connection each, each bounded by its provider's connect timeout. Omit to leave reachability out of the findings; with it, a valid http provider whose base URL accepts no connection fails, naming the URL. */
|
|
28594
28828
|
readonly probeBaseUrls?: BaseUrlBatchProbe;
|
|
28595
28829
|
/** The providers whose last catalogue refresh, as the serving front door recorded it, failed on a redirect it does not follow, each with the reason it recorded. Omit to leave the finding out. */
|
|
@@ -28614,13 +28848,18 @@ interface RunDoctorParams {
|
|
|
28614
28848
|
readonly models?: ModelsConfig;
|
|
28615
28849
|
/** Every target the defined providers offer as `<provider>/<model>` refs, for checking a `family:` member against the families they form. Omit to skip that check. */
|
|
28616
28850
|
readonly modelTargets?: readonly string[];
|
|
28851
|
+
/** The route overrides file. Omit to skip the route override checks; a missing file is a pass (nothing is overridden). */
|
|
28852
|
+
readonly routeOverrides?: DoctorFileInput;
|
|
28853
|
+
/** The configuration's selector ports a target is checked with, for a session on a provider or none, as `route set` checks it. Omit to check by the defined names alone. */
|
|
28854
|
+
readonly routeOverrideTargetPorts?: (routeProvider: string | undefined) => SelectorPorts;
|
|
28617
28855
|
readonly categoriesLocal: DoctorFileInput;
|
|
28618
28856
|
readonly activeIdentity: DoctorFileInput;
|
|
28619
28857
|
readonly binaryDiscovery: DoctorBinaryDiscovery;
|
|
28620
28858
|
/** Whether `agent-shim shim enable` has been run, and whether its recorded target still exists on disk — pre-resolved by the wiring layer, since checking a file's existence is real I/O, not a parse-shaped pure operation. */
|
|
28621
28859
|
readonly claudeShim: {
|
|
28622
28860
|
readonly state: ClaudeShimState | undefined;
|
|
28623
|
-
readonly targetExists: boolean;
|
|
28861
|
+
readonly targetExists: boolean; /** Why the shim record cannot be used, when it exists and cannot be read or parsed. */
|
|
28862
|
+
readonly problem?: string;
|
|
28624
28863
|
};
|
|
28625
28864
|
/** Which executables a bare `agent-shim` (and, when the shim is enabled, a bare `claude`) would actually run — pre-resolved by the wiring layer, since scanning PATH is real I/O. */
|
|
28626
28865
|
readonly pathResolution: DoctorPathResolution;
|