claude-use 11.88.0 → 11.89.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.cjs +1703 -1320
- package/dist/index.cjs +6771 -6424
- package/dist/index.mjs +6532 -6188
- package/dist/types/index.d.ts +1093 -1011
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -297,32 +297,32 @@ declare const LaunchSchema: z.ZodObject<{
|
|
|
297
297
|
}>>;
|
|
298
298
|
layout: z.ZodOptional<z.ZodObject<{
|
|
299
299
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
300
|
+
identity: "identity";
|
|
300
301
|
model: "model";
|
|
301
302
|
account: "account";
|
|
302
|
-
identity: "identity";
|
|
303
303
|
provider: "provider";
|
|
304
|
-
version: "version";
|
|
305
304
|
headroom: "headroom";
|
|
306
|
-
duration: "duration";
|
|
307
305
|
route: "route";
|
|
308
306
|
project: "project";
|
|
309
307
|
vcs: "vcs";
|
|
310
308
|
effort: "effort";
|
|
311
309
|
advisor: "advisor";
|
|
310
|
+
version: "version";
|
|
312
311
|
outputStyle: "outputStyle";
|
|
313
312
|
cost: "cost";
|
|
314
313
|
dailyCost: "dailyCost";
|
|
315
314
|
sessionName: "sessionName";
|
|
315
|
+
duration: "duration";
|
|
316
316
|
speed: "speed";
|
|
317
317
|
extra: "extra";
|
|
318
318
|
}>>>;
|
|
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>;
|
|
@@ -1527,32 +1527,32 @@ declare const ConfigProfileSchema: z.ZodObject<{
|
|
|
1527
1527
|
}>>;
|
|
1528
1528
|
layout: z.ZodOptional<z.ZodObject<{
|
|
1529
1529
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1530
|
+
identity: "identity";
|
|
1530
1531
|
model: "model";
|
|
1531
1532
|
account: "account";
|
|
1532
|
-
identity: "identity";
|
|
1533
1533
|
provider: "provider";
|
|
1534
|
-
version: "version";
|
|
1535
1534
|
headroom: "headroom";
|
|
1536
|
-
duration: "duration";
|
|
1537
1535
|
route: "route";
|
|
1538
1536
|
project: "project";
|
|
1539
1537
|
vcs: "vcs";
|
|
1540
1538
|
effort: "effort";
|
|
1541
1539
|
advisor: "advisor";
|
|
1540
|
+
version: "version";
|
|
1542
1541
|
outputStyle: "outputStyle";
|
|
1543
1542
|
cost: "cost";
|
|
1544
1543
|
dailyCost: "dailyCost";
|
|
1545
1544
|
sessionName: "sessionName";
|
|
1545
|
+
duration: "duration";
|
|
1546
1546
|
speed: "speed";
|
|
1547
1547
|
extra: "extra";
|
|
1548
1548
|
}>>>;
|
|
1549
1549
|
rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1550
1550
|
context: "context";
|
|
1551
1551
|
quota: "quota";
|
|
1552
|
-
environment: "environment";
|
|
1553
1552
|
addedDirs: "addedDirs";
|
|
1554
1553
|
gitFiles: "gitFiles";
|
|
1555
1554
|
memory: "memory";
|
|
1555
|
+
environment: "environment";
|
|
1556
1556
|
sessionTime: "sessionTime";
|
|
1557
1557
|
promptCache: "promptCache";
|
|
1558
1558
|
compactions: "compactions";
|
|
@@ -1575,10 +1575,10 @@ declare const ConfigProfileSchema: z.ZodObject<{
|
|
|
1575
1575
|
merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
|
|
1576
1576
|
context: "context";
|
|
1577
1577
|
quota: "quota";
|
|
1578
|
-
environment: "environment";
|
|
1579
1578
|
addedDirs: "addedDirs";
|
|
1580
1579
|
gitFiles: "gitFiles";
|
|
1581
1580
|
memory: "memory";
|
|
1581
|
+
environment: "environment";
|
|
1582
1582
|
sessionTime: "sessionTime";
|
|
1583
1583
|
promptCache: "promptCache";
|
|
1584
1584
|
compactions: "compactions";
|
|
@@ -1592,10 +1592,10 @@ declare const ConfigProfileSchema: z.ZodObject<{
|
|
|
1592
1592
|
rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1593
1593
|
context: "context";
|
|
1594
1594
|
quota: "quota";
|
|
1595
|
-
environment: "environment";
|
|
1596
1595
|
addedDirs: "addedDirs";
|
|
1597
1596
|
gitFiles: "gitFiles";
|
|
1598
1597
|
memory: "memory";
|
|
1598
|
+
environment: "environment";
|
|
1599
1599
|
sessionTime: "sessionTime";
|
|
1600
1600
|
promptCache: "promptCache";
|
|
1601
1601
|
compactions: "compactions";
|
|
@@ -1654,10 +1654,10 @@ declare const ConfigProfileSchema: z.ZodObject<{
|
|
|
1654
1654
|
hidden: "hidden";
|
|
1655
1655
|
}>>;
|
|
1656
1656
|
value: z.ZodOptional<z.ZodEnum<{
|
|
1657
|
-
remaining: "remaining";
|
|
1658
1657
|
tokens: "tokens";
|
|
1659
1658
|
both: "both";
|
|
1660
1659
|
percent: "percent";
|
|
1660
|
+
remaining: "remaining";
|
|
1661
1661
|
}>>;
|
|
1662
1662
|
estimate: z.ZodOptional<z.ZodEnum<{
|
|
1663
1663
|
never: "never";
|
|
@@ -1699,8 +1699,8 @@ declare const ConfigProfileSchema: z.ZodObject<{
|
|
|
1699
1699
|
}, z.core.$strict>>;
|
|
1700
1700
|
usage: z.ZodOptional<z.ZodObject<{
|
|
1701
1701
|
value: z.ZodOptional<z.ZodEnum<{
|
|
1702
|
-
used: "used";
|
|
1703
1702
|
remaining: "remaining";
|
|
1703
|
+
used: "used";
|
|
1704
1704
|
}>>;
|
|
1705
1705
|
bar: z.ZodOptional<z.ZodBoolean>;
|
|
1706
1706
|
compact: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2288,55 +2288,8 @@ declare const DirectoryRuleSchema: z.ZodObject<{
|
|
|
2288
2288
|
key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
2289
2289
|
}, z.core.$strip>], "kind">]>;
|
|
2290
2290
|
}, z.core.$strict>]>>>;
|
|
2291
|
-
models: z.ZodOptional<z.ZodObject<{
|
|
2292
|
-
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
2293
|
-
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
2294
|
-
mode: z.ZodEnum<{
|
|
2295
|
-
ordered: "ordered";
|
|
2296
|
-
"most-allowance": "most-allowance";
|
|
2297
|
-
"soonest-reset": "soonest-reset";
|
|
2298
|
-
spread: "spread";
|
|
2299
|
-
adaptive: "adaptive";
|
|
2300
|
-
"lowest-latency": "lowest-latency";
|
|
2301
|
-
"highest-success": "highest-success";
|
|
2302
|
-
cheapest: "cheapest";
|
|
2303
|
-
}>;
|
|
2304
|
-
members: z.ZodArray<z.ZodString>;
|
|
2305
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
2306
|
-
tiers: z.ZodOptional<z.ZodObject<{
|
|
2307
|
-
fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
2308
|
-
opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
2309
|
-
sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
2310
|
-
haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
2311
|
-
}, z.core.$strict>>;
|
|
2312
|
-
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
2313
|
-
input: z.ZodNumber;
|
|
2314
|
-
output: z.ZodNumber;
|
|
2315
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
2316
|
-
hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2317
|
-
show: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2318
|
-
same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
2319
|
-
distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
|
|
2320
|
-
families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
2321
|
-
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2322
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
2323
|
-
ordered: "ordered";
|
|
2324
|
-
"most-allowance": "most-allowance";
|
|
2325
|
-
"soonest-reset": "soonest-reset";
|
|
2326
|
-
spread: "spread";
|
|
2327
|
-
adaptive: "adaptive";
|
|
2328
|
-
"lowest-latency": "lowest-latency";
|
|
2329
|
-
"highest-success": "highest-success";
|
|
2330
|
-
cheapest: "cheapest";
|
|
2331
|
-
}>>;
|
|
2332
|
-
context: z.ZodOptional<z.ZodNumber>;
|
|
2333
|
-
vision: z.ZodOptional<z.ZodBoolean>;
|
|
2334
|
-
tools: z.ZodOptional<z.ZodBoolean>;
|
|
2335
|
-
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
2336
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
2337
|
-
}, z.core.$strict>>;
|
|
2338
|
-
$schema: z.ZodOptional<z.ZodString>;
|
|
2339
2291
|
extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2292
|
+
$schema: z.ZodOptional<z.ZodString>;
|
|
2340
2293
|
categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
|
|
2341
2294
|
all: z.ZodOptional<z.ZodBoolean>;
|
|
2342
2295
|
runtime: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2377,32 +2330,32 @@ declare const DirectoryRuleSchema: z.ZodObject<{
|
|
|
2377
2330
|
}>>;
|
|
2378
2331
|
layout: z.ZodOptional<z.ZodObject<{
|
|
2379
2332
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2333
|
+
identity: "identity";
|
|
2380
2334
|
model: "model";
|
|
2381
2335
|
account: "account";
|
|
2382
|
-
identity: "identity";
|
|
2383
2336
|
provider: "provider";
|
|
2384
|
-
version: "version";
|
|
2385
2337
|
headroom: "headroom";
|
|
2386
|
-
duration: "duration";
|
|
2387
2338
|
route: "route";
|
|
2388
2339
|
project: "project";
|
|
2389
2340
|
vcs: "vcs";
|
|
2390
2341
|
effort: "effort";
|
|
2391
2342
|
advisor: "advisor";
|
|
2343
|
+
version: "version";
|
|
2392
2344
|
outputStyle: "outputStyle";
|
|
2393
2345
|
cost: "cost";
|
|
2394
2346
|
dailyCost: "dailyCost";
|
|
2395
2347
|
sessionName: "sessionName";
|
|
2348
|
+
duration: "duration";
|
|
2396
2349
|
speed: "speed";
|
|
2397
2350
|
extra: "extra";
|
|
2398
2351
|
}>>>;
|
|
2399
2352
|
rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2400
2353
|
context: "context";
|
|
2401
2354
|
quota: "quota";
|
|
2402
|
-
environment: "environment";
|
|
2403
2355
|
addedDirs: "addedDirs";
|
|
2404
2356
|
gitFiles: "gitFiles";
|
|
2405
2357
|
memory: "memory";
|
|
2358
|
+
environment: "environment";
|
|
2406
2359
|
sessionTime: "sessionTime";
|
|
2407
2360
|
promptCache: "promptCache";
|
|
2408
2361
|
compactions: "compactions";
|
|
@@ -2425,10 +2378,10 @@ declare const DirectoryRuleSchema: z.ZodObject<{
|
|
|
2425
2378
|
merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
|
|
2426
2379
|
context: "context";
|
|
2427
2380
|
quota: "quota";
|
|
2428
|
-
environment: "environment";
|
|
2429
2381
|
addedDirs: "addedDirs";
|
|
2430
2382
|
gitFiles: "gitFiles";
|
|
2431
2383
|
memory: "memory";
|
|
2384
|
+
environment: "environment";
|
|
2432
2385
|
sessionTime: "sessionTime";
|
|
2433
2386
|
promptCache: "promptCache";
|
|
2434
2387
|
compactions: "compactions";
|
|
@@ -2442,10 +2395,10 @@ declare const DirectoryRuleSchema: z.ZodObject<{
|
|
|
2442
2395
|
rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2443
2396
|
context: "context";
|
|
2444
2397
|
quota: "quota";
|
|
2445
|
-
environment: "environment";
|
|
2446
2398
|
addedDirs: "addedDirs";
|
|
2447
2399
|
gitFiles: "gitFiles";
|
|
2448
2400
|
memory: "memory";
|
|
2401
|
+
environment: "environment";
|
|
2449
2402
|
sessionTime: "sessionTime";
|
|
2450
2403
|
promptCache: "promptCache";
|
|
2451
2404
|
compactions: "compactions";
|
|
@@ -2504,10 +2457,10 @@ declare const DirectoryRuleSchema: z.ZodObject<{
|
|
|
2504
2457
|
hidden: "hidden";
|
|
2505
2458
|
}>>;
|
|
2506
2459
|
value: z.ZodOptional<z.ZodEnum<{
|
|
2507
|
-
remaining: "remaining";
|
|
2508
2460
|
tokens: "tokens";
|
|
2509
2461
|
both: "both";
|
|
2510
2462
|
percent: "percent";
|
|
2463
|
+
remaining: "remaining";
|
|
2511
2464
|
}>>;
|
|
2512
2465
|
estimate: z.ZodOptional<z.ZodEnum<{
|
|
2513
2466
|
never: "never";
|
|
@@ -2549,8 +2502,8 @@ declare const DirectoryRuleSchema: z.ZodObject<{
|
|
|
2549
2502
|
}, z.core.$strict>>;
|
|
2550
2503
|
usage: z.ZodOptional<z.ZodObject<{
|
|
2551
2504
|
value: z.ZodOptional<z.ZodEnum<{
|
|
2552
|
-
used: "used";
|
|
2553
2505
|
remaining: "remaining";
|
|
2506
|
+
used: "used";
|
|
2554
2507
|
}>>;
|
|
2555
2508
|
bar: z.ZodOptional<z.ZodBoolean>;
|
|
2556
2509
|
compact: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2908,6 +2861,53 @@ declare const DirectoryRuleSchema: z.ZodObject<{
|
|
|
2908
2861
|
}, z.core.$strict>>;
|
|
2909
2862
|
}, z.core.$strict>>;
|
|
2910
2863
|
}, z.core.$strict>>;
|
|
2864
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
2865
|
+
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
2866
|
+
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
2867
|
+
mode: z.ZodEnum<{
|
|
2868
|
+
ordered: "ordered";
|
|
2869
|
+
"most-allowance": "most-allowance";
|
|
2870
|
+
"soonest-reset": "soonest-reset";
|
|
2871
|
+
spread: "spread";
|
|
2872
|
+
adaptive: "adaptive";
|
|
2873
|
+
"lowest-latency": "lowest-latency";
|
|
2874
|
+
"highest-success": "highest-success";
|
|
2875
|
+
cheapest: "cheapest";
|
|
2876
|
+
}>;
|
|
2877
|
+
members: z.ZodArray<z.ZodString>;
|
|
2878
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
2879
|
+
tiers: z.ZodOptional<z.ZodObject<{
|
|
2880
|
+
fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
2881
|
+
opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
2882
|
+
sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
2883
|
+
haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
2884
|
+
}, z.core.$strict>>;
|
|
2885
|
+
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
2886
|
+
input: z.ZodNumber;
|
|
2887
|
+
output: z.ZodNumber;
|
|
2888
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
2889
|
+
hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2890
|
+
show: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2891
|
+
same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
2892
|
+
distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
|
|
2893
|
+
families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
2894
|
+
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2895
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
2896
|
+
ordered: "ordered";
|
|
2897
|
+
"most-allowance": "most-allowance";
|
|
2898
|
+
"soonest-reset": "soonest-reset";
|
|
2899
|
+
spread: "spread";
|
|
2900
|
+
adaptive: "adaptive";
|
|
2901
|
+
"lowest-latency": "lowest-latency";
|
|
2902
|
+
"highest-success": "highest-success";
|
|
2903
|
+
cheapest: "cheapest";
|
|
2904
|
+
}>>;
|
|
2905
|
+
context: z.ZodOptional<z.ZodNumber>;
|
|
2906
|
+
vision: z.ZodOptional<z.ZodBoolean>;
|
|
2907
|
+
tools: z.ZodOptional<z.ZodBoolean>;
|
|
2908
|
+
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
2909
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
2910
|
+
}, z.core.$strict>>;
|
|
2911
2911
|
path: z.ZodString;
|
|
2912
2912
|
configProfile: z.ZodOptional<z.ZodString>;
|
|
2913
2913
|
identity: z.ZodOptional<z.ZodString>;
|
|
@@ -3064,55 +3064,8 @@ declare const DirectoryRulesSchema: z.ZodObject<{
|
|
|
3064
3064
|
key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
3065
3065
|
}, z.core.$strip>], "kind">]>;
|
|
3066
3066
|
}, z.core.$strict>]>>>;
|
|
3067
|
-
models: z.ZodOptional<z.ZodObject<{
|
|
3068
|
-
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
3069
|
-
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
3070
|
-
mode: z.ZodEnum<{
|
|
3071
|
-
ordered: "ordered";
|
|
3072
|
-
"most-allowance": "most-allowance";
|
|
3073
|
-
"soonest-reset": "soonest-reset";
|
|
3074
|
-
spread: "spread";
|
|
3075
|
-
adaptive: "adaptive";
|
|
3076
|
-
"lowest-latency": "lowest-latency";
|
|
3077
|
-
"highest-success": "highest-success";
|
|
3078
|
-
cheapest: "cheapest";
|
|
3079
|
-
}>;
|
|
3080
|
-
members: z.ZodArray<z.ZodString>;
|
|
3081
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
3082
|
-
tiers: z.ZodOptional<z.ZodObject<{
|
|
3083
|
-
fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
3084
|
-
opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
3085
|
-
sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
3086
|
-
haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
3087
|
-
}, z.core.$strict>>;
|
|
3088
|
-
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
3089
|
-
input: z.ZodNumber;
|
|
3090
|
-
output: z.ZodNumber;
|
|
3091
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
3092
|
-
hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3093
|
-
show: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3094
|
-
same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
3095
|
-
distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
|
|
3096
|
-
families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
3097
|
-
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3098
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
3099
|
-
ordered: "ordered";
|
|
3100
|
-
"most-allowance": "most-allowance";
|
|
3101
|
-
"soonest-reset": "soonest-reset";
|
|
3102
|
-
spread: "spread";
|
|
3103
|
-
adaptive: "adaptive";
|
|
3104
|
-
"lowest-latency": "lowest-latency";
|
|
3105
|
-
"highest-success": "highest-success";
|
|
3106
|
-
cheapest: "cheapest";
|
|
3107
|
-
}>>;
|
|
3108
|
-
context: z.ZodOptional<z.ZodNumber>;
|
|
3109
|
-
vision: z.ZodOptional<z.ZodBoolean>;
|
|
3110
|
-
tools: z.ZodOptional<z.ZodBoolean>;
|
|
3111
|
-
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
3112
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
3113
|
-
}, z.core.$strict>>;
|
|
3114
|
-
$schema: z.ZodOptional<z.ZodString>;
|
|
3115
3067
|
extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3068
|
+
$schema: z.ZodOptional<z.ZodString>;
|
|
3116
3069
|
categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
|
|
3117
3070
|
all: z.ZodOptional<z.ZodBoolean>;
|
|
3118
3071
|
runtime: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3153,32 +3106,32 @@ declare const DirectoryRulesSchema: z.ZodObject<{
|
|
|
3153
3106
|
}>>;
|
|
3154
3107
|
layout: z.ZodOptional<z.ZodObject<{
|
|
3155
3108
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3109
|
+
identity: "identity";
|
|
3156
3110
|
model: "model";
|
|
3157
3111
|
account: "account";
|
|
3158
|
-
identity: "identity";
|
|
3159
3112
|
provider: "provider";
|
|
3160
|
-
version: "version";
|
|
3161
3113
|
headroom: "headroom";
|
|
3162
|
-
duration: "duration";
|
|
3163
3114
|
route: "route";
|
|
3164
3115
|
project: "project";
|
|
3165
3116
|
vcs: "vcs";
|
|
3166
3117
|
effort: "effort";
|
|
3167
3118
|
advisor: "advisor";
|
|
3119
|
+
version: "version";
|
|
3168
3120
|
outputStyle: "outputStyle";
|
|
3169
3121
|
cost: "cost";
|
|
3170
3122
|
dailyCost: "dailyCost";
|
|
3171
3123
|
sessionName: "sessionName";
|
|
3124
|
+
duration: "duration";
|
|
3172
3125
|
speed: "speed";
|
|
3173
3126
|
extra: "extra";
|
|
3174
3127
|
}>>>;
|
|
3175
3128
|
rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3176
3129
|
context: "context";
|
|
3177
3130
|
quota: "quota";
|
|
3178
|
-
environment: "environment";
|
|
3179
3131
|
addedDirs: "addedDirs";
|
|
3180
3132
|
gitFiles: "gitFiles";
|
|
3181
3133
|
memory: "memory";
|
|
3134
|
+
environment: "environment";
|
|
3182
3135
|
sessionTime: "sessionTime";
|
|
3183
3136
|
promptCache: "promptCache";
|
|
3184
3137
|
compactions: "compactions";
|
|
@@ -3201,10 +3154,10 @@ declare const DirectoryRulesSchema: z.ZodObject<{
|
|
|
3201
3154
|
merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
|
|
3202
3155
|
context: "context";
|
|
3203
3156
|
quota: "quota";
|
|
3204
|
-
environment: "environment";
|
|
3205
3157
|
addedDirs: "addedDirs";
|
|
3206
3158
|
gitFiles: "gitFiles";
|
|
3207
3159
|
memory: "memory";
|
|
3160
|
+
environment: "environment";
|
|
3208
3161
|
sessionTime: "sessionTime";
|
|
3209
3162
|
promptCache: "promptCache";
|
|
3210
3163
|
compactions: "compactions";
|
|
@@ -3218,10 +3171,10 @@ declare const DirectoryRulesSchema: z.ZodObject<{
|
|
|
3218
3171
|
rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3219
3172
|
context: "context";
|
|
3220
3173
|
quota: "quota";
|
|
3221
|
-
environment: "environment";
|
|
3222
3174
|
addedDirs: "addedDirs";
|
|
3223
3175
|
gitFiles: "gitFiles";
|
|
3224
3176
|
memory: "memory";
|
|
3177
|
+
environment: "environment";
|
|
3225
3178
|
sessionTime: "sessionTime";
|
|
3226
3179
|
promptCache: "promptCache";
|
|
3227
3180
|
compactions: "compactions";
|
|
@@ -3280,10 +3233,10 @@ declare const DirectoryRulesSchema: z.ZodObject<{
|
|
|
3280
3233
|
hidden: "hidden";
|
|
3281
3234
|
}>>;
|
|
3282
3235
|
value: z.ZodOptional<z.ZodEnum<{
|
|
3283
|
-
remaining: "remaining";
|
|
3284
3236
|
tokens: "tokens";
|
|
3285
3237
|
both: "both";
|
|
3286
3238
|
percent: "percent";
|
|
3239
|
+
remaining: "remaining";
|
|
3287
3240
|
}>>;
|
|
3288
3241
|
estimate: z.ZodOptional<z.ZodEnum<{
|
|
3289
3242
|
never: "never";
|
|
@@ -3325,8 +3278,8 @@ declare const DirectoryRulesSchema: z.ZodObject<{
|
|
|
3325
3278
|
}, z.core.$strict>>;
|
|
3326
3279
|
usage: z.ZodOptional<z.ZodObject<{
|
|
3327
3280
|
value: z.ZodOptional<z.ZodEnum<{
|
|
3328
|
-
used: "used";
|
|
3329
3281
|
remaining: "remaining";
|
|
3282
|
+
used: "used";
|
|
3330
3283
|
}>>;
|
|
3331
3284
|
bar: z.ZodOptional<z.ZodBoolean>;
|
|
3332
3285
|
compact: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3684,6 +3637,53 @@ declare const DirectoryRulesSchema: z.ZodObject<{
|
|
|
3684
3637
|
}, z.core.$strict>>;
|
|
3685
3638
|
}, z.core.$strict>>;
|
|
3686
3639
|
}, z.core.$strict>>;
|
|
3640
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
3641
|
+
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
3642
|
+
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
3643
|
+
mode: z.ZodEnum<{
|
|
3644
|
+
ordered: "ordered";
|
|
3645
|
+
"most-allowance": "most-allowance";
|
|
3646
|
+
"soonest-reset": "soonest-reset";
|
|
3647
|
+
spread: "spread";
|
|
3648
|
+
adaptive: "adaptive";
|
|
3649
|
+
"lowest-latency": "lowest-latency";
|
|
3650
|
+
"highest-success": "highest-success";
|
|
3651
|
+
cheapest: "cheapest";
|
|
3652
|
+
}>;
|
|
3653
|
+
members: z.ZodArray<z.ZodString>;
|
|
3654
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
3655
|
+
tiers: z.ZodOptional<z.ZodObject<{
|
|
3656
|
+
fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
3657
|
+
opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
3658
|
+
sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
3659
|
+
haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
3660
|
+
}, z.core.$strict>>;
|
|
3661
|
+
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
3662
|
+
input: z.ZodNumber;
|
|
3663
|
+
output: z.ZodNumber;
|
|
3664
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
3665
|
+
hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3666
|
+
show: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3667
|
+
same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
3668
|
+
distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
|
|
3669
|
+
families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
3670
|
+
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3671
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
3672
|
+
ordered: "ordered";
|
|
3673
|
+
"most-allowance": "most-allowance";
|
|
3674
|
+
"soonest-reset": "soonest-reset";
|
|
3675
|
+
spread: "spread";
|
|
3676
|
+
adaptive: "adaptive";
|
|
3677
|
+
"lowest-latency": "lowest-latency";
|
|
3678
|
+
"highest-success": "highest-success";
|
|
3679
|
+
cheapest: "cheapest";
|
|
3680
|
+
}>>;
|
|
3681
|
+
context: z.ZodOptional<z.ZodNumber>;
|
|
3682
|
+
vision: z.ZodOptional<z.ZodBoolean>;
|
|
3683
|
+
tools: z.ZodOptional<z.ZodBoolean>;
|
|
3684
|
+
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
3685
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
3686
|
+
}, z.core.$strict>>;
|
|
3687
3687
|
path: z.ZodString;
|
|
3688
3688
|
configProfile: z.ZodOptional<z.ZodString>;
|
|
3689
3689
|
identity: z.ZodOptional<z.ZodString>;
|
|
@@ -3841,6 +3841,20 @@ declare const PortableConfigSchema: z.ZodObject<{
|
|
|
3841
3841
|
key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
3842
3842
|
}, z.core.$strip>], "kind">]>;
|
|
3843
3843
|
}, z.core.$strict>]>>>;
|
|
3844
|
+
$schema: z.ZodOptional<z.ZodString>;
|
|
3845
|
+
categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
|
|
3846
|
+
all: z.ZodOptional<z.ZodBoolean>;
|
|
3847
|
+
runtime: z.ZodOptional<z.ZodBoolean>;
|
|
3848
|
+
history: z.ZodOptional<z.ZodBoolean>;
|
|
3849
|
+
knowledge: z.ZodOptional<z.ZodBoolean>;
|
|
3850
|
+
settings: z.ZodOptional<z.ZodBoolean>;
|
|
3851
|
+
}, z.core.$strict>, z.ZodTransform<Partial<Record<"runtime" | "history" | "knowledge" | "settings", boolean>>, {
|
|
3852
|
+
all?: boolean | undefined;
|
|
3853
|
+
runtime?: boolean | undefined;
|
|
3854
|
+
history?: boolean | undefined;
|
|
3855
|
+
knowledge?: boolean | undefined;
|
|
3856
|
+
settings?: boolean | undefined;
|
|
3857
|
+
}>>>;
|
|
3844
3858
|
models: z.ZodOptional<z.ZodObject<{
|
|
3845
3859
|
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
3846
3860
|
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -3888,20 +3902,6 @@ declare const PortableConfigSchema: z.ZodObject<{
|
|
|
3888
3902
|
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
3889
3903
|
}, z.core.$strict>, z.ZodNull]>>>;
|
|
3890
3904
|
}, z.core.$strict>>;
|
|
3891
|
-
$schema: z.ZodOptional<z.ZodString>;
|
|
3892
|
-
categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
|
|
3893
|
-
all: z.ZodOptional<z.ZodBoolean>;
|
|
3894
|
-
runtime: z.ZodOptional<z.ZodBoolean>;
|
|
3895
|
-
history: z.ZodOptional<z.ZodBoolean>;
|
|
3896
|
-
knowledge: z.ZodOptional<z.ZodBoolean>;
|
|
3897
|
-
settings: z.ZodOptional<z.ZodBoolean>;
|
|
3898
|
-
}, z.core.$strict>, z.ZodTransform<Partial<Record<"runtime" | "history" | "knowledge" | "settings", boolean>>, {
|
|
3899
|
-
all?: boolean | undefined;
|
|
3900
|
-
runtime?: boolean | undefined;
|
|
3901
|
-
history?: boolean | undefined;
|
|
3902
|
-
knowledge?: boolean | undefined;
|
|
3903
|
-
settings?: boolean | undefined;
|
|
3904
|
-
}>>>;
|
|
3905
3905
|
extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3906
3906
|
launch: z.ZodOptional<z.ZodObject<{
|
|
3907
3907
|
skipPermissions: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3929,32 +3929,32 @@ declare const PortableConfigSchema: z.ZodObject<{
|
|
|
3929
3929
|
}>>;
|
|
3930
3930
|
layout: z.ZodOptional<z.ZodObject<{
|
|
3931
3931
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3932
|
+
identity: "identity";
|
|
3932
3933
|
model: "model";
|
|
3933
3934
|
account: "account";
|
|
3934
|
-
identity: "identity";
|
|
3935
3935
|
provider: "provider";
|
|
3936
|
-
version: "version";
|
|
3937
3936
|
headroom: "headroom";
|
|
3938
|
-
duration: "duration";
|
|
3939
3937
|
route: "route";
|
|
3940
3938
|
project: "project";
|
|
3941
3939
|
vcs: "vcs";
|
|
3942
3940
|
effort: "effort";
|
|
3943
3941
|
advisor: "advisor";
|
|
3942
|
+
version: "version";
|
|
3944
3943
|
outputStyle: "outputStyle";
|
|
3945
3944
|
cost: "cost";
|
|
3946
3945
|
dailyCost: "dailyCost";
|
|
3947
3946
|
sessionName: "sessionName";
|
|
3947
|
+
duration: "duration";
|
|
3948
3948
|
speed: "speed";
|
|
3949
3949
|
extra: "extra";
|
|
3950
3950
|
}>>>;
|
|
3951
3951
|
rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3952
3952
|
context: "context";
|
|
3953
3953
|
quota: "quota";
|
|
3954
|
-
environment: "environment";
|
|
3955
3954
|
addedDirs: "addedDirs";
|
|
3956
3955
|
gitFiles: "gitFiles";
|
|
3957
3956
|
memory: "memory";
|
|
3957
|
+
environment: "environment";
|
|
3958
3958
|
sessionTime: "sessionTime";
|
|
3959
3959
|
promptCache: "promptCache";
|
|
3960
3960
|
compactions: "compactions";
|
|
@@ -3977,10 +3977,10 @@ declare const PortableConfigSchema: z.ZodObject<{
|
|
|
3977
3977
|
merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
|
|
3978
3978
|
context: "context";
|
|
3979
3979
|
quota: "quota";
|
|
3980
|
-
environment: "environment";
|
|
3981
3980
|
addedDirs: "addedDirs";
|
|
3982
3981
|
gitFiles: "gitFiles";
|
|
3983
3982
|
memory: "memory";
|
|
3983
|
+
environment: "environment";
|
|
3984
3984
|
sessionTime: "sessionTime";
|
|
3985
3985
|
promptCache: "promptCache";
|
|
3986
3986
|
compactions: "compactions";
|
|
@@ -3994,10 +3994,10 @@ declare const PortableConfigSchema: z.ZodObject<{
|
|
|
3994
3994
|
rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3995
3995
|
context: "context";
|
|
3996
3996
|
quota: "quota";
|
|
3997
|
-
environment: "environment";
|
|
3998
3997
|
addedDirs: "addedDirs";
|
|
3999
3998
|
gitFiles: "gitFiles";
|
|
4000
3999
|
memory: "memory";
|
|
4000
|
+
environment: "environment";
|
|
4001
4001
|
sessionTime: "sessionTime";
|
|
4002
4002
|
promptCache: "promptCache";
|
|
4003
4003
|
compactions: "compactions";
|
|
@@ -4056,10 +4056,10 @@ declare const PortableConfigSchema: z.ZodObject<{
|
|
|
4056
4056
|
hidden: "hidden";
|
|
4057
4057
|
}>>;
|
|
4058
4058
|
value: z.ZodOptional<z.ZodEnum<{
|
|
4059
|
-
remaining: "remaining";
|
|
4060
4059
|
tokens: "tokens";
|
|
4061
4060
|
both: "both";
|
|
4062
4061
|
percent: "percent";
|
|
4062
|
+
remaining: "remaining";
|
|
4063
4063
|
}>>;
|
|
4064
4064
|
estimate: z.ZodOptional<z.ZodEnum<{
|
|
4065
4065
|
never: "never";
|
|
@@ -4101,8 +4101,8 @@ declare const PortableConfigSchema: z.ZodObject<{
|
|
|
4101
4101
|
}, z.core.$strict>>;
|
|
4102
4102
|
usage: z.ZodOptional<z.ZodObject<{
|
|
4103
4103
|
value: z.ZodOptional<z.ZodEnum<{
|
|
4104
|
-
used: "used";
|
|
4105
4104
|
remaining: "remaining";
|
|
4105
|
+
used: "used";
|
|
4106
4106
|
}>>;
|
|
4107
4107
|
bar: z.ZodOptional<z.ZodBoolean>;
|
|
4108
4108
|
compact: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4685,32 +4685,32 @@ declare const GlobalConfigSchema: z.ZodObject<{
|
|
|
4685
4685
|
}>>;
|
|
4686
4686
|
layout: z.ZodOptional<z.ZodObject<{
|
|
4687
4687
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4688
|
+
identity: "identity";
|
|
4688
4689
|
model: "model";
|
|
4689
4690
|
account: "account";
|
|
4690
|
-
identity: "identity";
|
|
4691
4691
|
provider: "provider";
|
|
4692
|
-
version: "version";
|
|
4693
4692
|
headroom: "headroom";
|
|
4694
|
-
duration: "duration";
|
|
4695
4693
|
route: "route";
|
|
4696
4694
|
project: "project";
|
|
4697
4695
|
vcs: "vcs";
|
|
4698
4696
|
effort: "effort";
|
|
4699
4697
|
advisor: "advisor";
|
|
4698
|
+
version: "version";
|
|
4700
4699
|
outputStyle: "outputStyle";
|
|
4701
4700
|
cost: "cost";
|
|
4702
4701
|
dailyCost: "dailyCost";
|
|
4703
4702
|
sessionName: "sessionName";
|
|
4703
|
+
duration: "duration";
|
|
4704
4704
|
speed: "speed";
|
|
4705
4705
|
extra: "extra";
|
|
4706
4706
|
}>>>;
|
|
4707
4707
|
rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4708
4708
|
context: "context";
|
|
4709
4709
|
quota: "quota";
|
|
4710
|
-
environment: "environment";
|
|
4711
4710
|
addedDirs: "addedDirs";
|
|
4712
4711
|
gitFiles: "gitFiles";
|
|
4713
4712
|
memory: "memory";
|
|
4713
|
+
environment: "environment";
|
|
4714
4714
|
sessionTime: "sessionTime";
|
|
4715
4715
|
promptCache: "promptCache";
|
|
4716
4716
|
compactions: "compactions";
|
|
@@ -4733,10 +4733,10 @@ declare const GlobalConfigSchema: z.ZodObject<{
|
|
|
4733
4733
|
merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
|
|
4734
4734
|
context: "context";
|
|
4735
4735
|
quota: "quota";
|
|
4736
|
-
environment: "environment";
|
|
4737
4736
|
addedDirs: "addedDirs";
|
|
4738
4737
|
gitFiles: "gitFiles";
|
|
4739
4738
|
memory: "memory";
|
|
4739
|
+
environment: "environment";
|
|
4740
4740
|
sessionTime: "sessionTime";
|
|
4741
4741
|
promptCache: "promptCache";
|
|
4742
4742
|
compactions: "compactions";
|
|
@@ -4750,10 +4750,10 @@ declare const GlobalConfigSchema: z.ZodObject<{
|
|
|
4750
4750
|
rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4751
4751
|
context: "context";
|
|
4752
4752
|
quota: "quota";
|
|
4753
|
-
environment: "environment";
|
|
4754
4753
|
addedDirs: "addedDirs";
|
|
4755
4754
|
gitFiles: "gitFiles";
|
|
4756
4755
|
memory: "memory";
|
|
4756
|
+
environment: "environment";
|
|
4757
4757
|
sessionTime: "sessionTime";
|
|
4758
4758
|
promptCache: "promptCache";
|
|
4759
4759
|
compactions: "compactions";
|
|
@@ -4812,10 +4812,10 @@ declare const GlobalConfigSchema: z.ZodObject<{
|
|
|
4812
4812
|
hidden: "hidden";
|
|
4813
4813
|
}>>;
|
|
4814
4814
|
value: z.ZodOptional<z.ZodEnum<{
|
|
4815
|
-
remaining: "remaining";
|
|
4816
4815
|
tokens: "tokens";
|
|
4817
4816
|
both: "both";
|
|
4818
4817
|
percent: "percent";
|
|
4818
|
+
remaining: "remaining";
|
|
4819
4819
|
}>>;
|
|
4820
4820
|
estimate: z.ZodOptional<z.ZodEnum<{
|
|
4821
4821
|
never: "never";
|
|
@@ -4857,8 +4857,8 @@ declare const GlobalConfigSchema: z.ZodObject<{
|
|
|
4857
4857
|
}, z.core.$strict>>;
|
|
4858
4858
|
usage: z.ZodOptional<z.ZodObject<{
|
|
4859
4859
|
value: z.ZodOptional<z.ZodEnum<{
|
|
4860
|
-
used: "used";
|
|
4861
4860
|
remaining: "remaining";
|
|
4861
|
+
used: "used";
|
|
4862
4862
|
}>>;
|
|
4863
4863
|
bar: z.ZodOptional<z.ZodBoolean>;
|
|
4864
4864
|
compact: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5961,6 +5961,7 @@ declare const FrontDoorSessionSchema: z.ZodObject<{
|
|
|
5961
5961
|
token: z.ZodString;
|
|
5962
5962
|
supervisorPid: z.ZodOptional<z.ZodNumber>;
|
|
5963
5963
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
5964
|
+
identity: z.ZodOptional<z.ZodString>;
|
|
5964
5965
|
models: z.ZodOptional<z.ZodObject<{
|
|
5965
5966
|
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
5966
5967
|
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -6035,6 +6036,8 @@ interface FrontDoorLiveness {
|
|
|
6035
6036
|
/** What a launch records about itself in its registry entry beyond the token: the id its requests carry and, when it resolved one that differs from the global block, its models block. */
|
|
6036
6037
|
interface FrontDoorSessionDetails {
|
|
6037
6038
|
readonly sessionId: string;
|
|
6039
|
+
/** The id of the identity the launch runs as: what the door attributes the launch's requests to even when a request carries no identity header of its own (Remote Control's calls ride the capability the tunnel supplies). */
|
|
6040
|
+
readonly identity?: string;
|
|
6038
6041
|
readonly models?: ModelsConfig;
|
|
6039
6042
|
}
|
|
6040
6043
|
/** A registered launch as status and the idle decision see it: the pid and start time, never the token, so nothing that prints or serialises a session can leak the capability. */
|
|
@@ -6052,6 +6055,8 @@ interface FsPort {
|
|
|
6052
6055
|
readonly readConfigFile: ConfigFileReader;
|
|
6053
6056
|
/** Lists one directory's immediate child names, or an empty list when it does not exist. Used to name the known providers in an unknown-provider refusal. */
|
|
6054
6057
|
readonly readdir: (dir: string) => readonly string[];
|
|
6058
|
+
/** Whether two paths are one directory on disk, by device and inode: true for a spelling that differs by a trailing separator, a case difference on a filesystem that ignores case, or a symlink; false when either does not exist or cannot be reached. Relative paths are read against the process's working directory. */
|
|
6059
|
+
readonly sameDirectory: (first: string, second: string) => boolean;
|
|
6055
6060
|
}
|
|
6056
6061
|
/** What one node of a tree is, as reported by an `lstat` that never follows symlinks. */
|
|
6057
6062
|
type FarmNodeKind = "dir" | "file" | "symlink";
|
|
@@ -7377,6 +7382,16 @@ interface RcSessionStatus extends RcSessionSummary {
|
|
|
7377
7382
|
readonly workerIdleSeconds: RcWorkerFact<number> | undefined;
|
|
7378
7383
|
/** The session's control requests awaiting an answer, oldest-observed first. */
|
|
7379
7384
|
readonly pending: readonly RcPendingRequestSummary[];
|
|
7385
|
+
/** The identity (login) the session runs as, when the door saw it on the session's own requests or the session's own registry named it. Absent when neither knows. */
|
|
7386
|
+
readonly identity?: string;
|
|
7387
|
+
/** The model the session last stated, when the door saw one. */
|
|
7388
|
+
readonly model?: string;
|
|
7389
|
+
/** The session's name as the Claude Code session registry holds it (see `rcSessionRegistry.ts`); the tracker never sets it. */
|
|
7390
|
+
readonly name?: string;
|
|
7391
|
+
/** The session process's id from the registry; the tracker never sets it. */
|
|
7392
|
+
readonly pid?: number;
|
|
7393
|
+
/** The session's working directory, from its init event or else the registry. */
|
|
7394
|
+
readonly cwd?: string;
|
|
7380
7395
|
}
|
|
7381
7396
|
/** One observed session as the control surface lists it: the identification and timing only, never the credential. */
|
|
7382
7397
|
interface RcSessionSummary {
|
|
@@ -7391,6 +7406,8 @@ interface RcObservedRequest {
|
|
|
7391
7406
|
readonly method?: string;
|
|
7392
7407
|
readonly url?: string;
|
|
7393
7408
|
readonly headers: Readonly<IncomingHttpHeaders>;
|
|
7409
|
+
/** The identity the launcher injected on this request, when the door's identity step read one; the headers above no longer carry it. */
|
|
7410
|
+
readonly identity?: string;
|
|
7394
7411
|
}
|
|
7395
7412
|
/** What one observed exchange drives, in arrival order: the request body chunks and their end (present only for the exchanges whose request payloads the tracker reads), then the response's head, each body chunk, and the end exactly once. */
|
|
7396
7413
|
interface RcExchangeObserver {
|
|
@@ -7838,6 +7855,97 @@ declare function realRcStreamDial(target?: RcDialTarget): RcStreamDial;
|
|
|
7838
7855
|
/** The real effects, dialling upstream from `ports` (the door's own range unless a test injects a private one). */
|
|
7839
7856
|
declare function realConnectEffects(ports?: SourcePortRange): ConnectEffects;
|
|
7840
7857
|
|
|
7858
|
+
/**
|
|
7859
|
+
* The agent tree reader: pure over an injected filesystem, so the CLI, the library surface and tests read the same way, and nothing here writes. The layout it reads is documented in `docs/agent-transcripts.md`.
|
|
7860
|
+
*/
|
|
7861
|
+
/** The filesystem reads the agent tree reader needs. */
|
|
7862
|
+
type AgentReadFs = Pick<FarmFs, "readFileUtf8" | "readdir" | "lstat">;
|
|
7863
|
+
/** One session found under a project: its directory name split into the session id and whether the entry is an archived copy (superseded by a resume, or orphaned) rather than the live session. */
|
|
7864
|
+
interface SessionRef {
|
|
7865
|
+
readonly project: string;
|
|
7866
|
+
readonly sessionId: string;
|
|
7867
|
+
readonly superseded: boolean;
|
|
7868
|
+
/** The directory (and transcript stem) name exactly as on disk, which differs from `sessionId` for an archived copy. */
|
|
7869
|
+
readonly entry: string;
|
|
7870
|
+
}
|
|
7871
|
+
/** Lists every session under every project: a transcript file, or a directory holding agents or workflow runs. Sorted by project then entry so output is stable. */
|
|
7872
|
+
declare function listSessions(fs: AgentReadFs, configDir: string): readonly SessionRef[];
|
|
7873
|
+
/** One session in a listing: the cheap facts read from directory listings and one stat, without parsing any agent. */
|
|
7874
|
+
interface SessionSummary extends SessionRef {
|
|
7875
|
+
/** How many agent meta files the session has, across its top-level agents and every workflow run. */
|
|
7876
|
+
readonly agentCount: number;
|
|
7877
|
+
/** How many workflow run records the session has. */
|
|
7878
|
+
readonly workflowRunCount: number;
|
|
7879
|
+
/** When the session's transcript was last written, as an ISO instant; absent when there is no transcript file. */
|
|
7880
|
+
readonly updatedAt?: string;
|
|
7881
|
+
}
|
|
7882
|
+
/** What a caller knows about a session that the disk does not record. */
|
|
7883
|
+
interface ReadSessionOptions {
|
|
7884
|
+
/** Task lists the session was pointed at with `CLAUDE_CODE_TASK_LIST_ID`, which is a property of the process environment and is written nowhere in the session's files. Each is read from `tasks/<id>` and its tasks carry the id as `taskList`. */
|
|
7885
|
+
readonly taskListIds?: readonly string[];
|
|
7886
|
+
}
|
|
7887
|
+
/** Summarises one session without reading any agent file: listings and one stat only, so it is cheap over every session an identity has. */
|
|
7888
|
+
declare function summariseSession(fs: AgentReadFs, configDir: string, ref: Readonly<SessionRef>): SessionSummary;
|
|
7889
|
+
/**
|
|
7890
|
+
* Reads one session's agents, task list and workflow runs. Every file that cannot be used is listed in `problems` with the reason; a missing directory is simply an empty section, because a session that never spawned an agent has none.
|
|
7891
|
+
*/
|
|
7892
|
+
declare function readSessionAgentTree(fs: AgentReadFs, configDir: string, ref: SessionRef, options?: Readonly<ReadSessionOptions>): SessionAgentTree;
|
|
7893
|
+
|
|
7894
|
+
/** The reads the session commands and procedures make: the reader's own, plus resolving a path to the real location it points at, which is how identities sharing one history store are told from identities with their own. */
|
|
7895
|
+
interface SessionCommandFs extends AgentReadFs {
|
|
7896
|
+
/** The real path `candidate` resolves to, or undefined when nothing is there. */
|
|
7897
|
+
readonly realpath: (candidate: string) => string | undefined;
|
|
7898
|
+
}
|
|
7899
|
+
/** The real filesystem, for the commands and the door's sessions procedures. */
|
|
7900
|
+
declare const realSessionFs: SessionCommandFs;
|
|
7901
|
+
|
|
7902
|
+
/**
|
|
7903
|
+
* The reads the registry reader makes: directory listing, file reads, a stat that does not follow links (so only a regular file small enough to be an entry is ever read, and a FIFO or a link to an endless device named like an entry cannot block the read), and resolving the registry directory to the real location it points at, which is how identities that share one registry are told from identities with their own.
|
|
7904
|
+
*/
|
|
7905
|
+
interface RcSessionRegistryFs extends Pick<SessionCommandFs, "readdir" | "readFileUtf8" | "realpath"> {
|
|
7906
|
+
/** What a path is, by a stat that does not follow links: whether it is a plain file (a FIFO, a socket, a device or a link is not) and its size in bytes; undefined when nothing is there. */
|
|
7907
|
+
readonly statEntry: (entryPath: string) => {
|
|
7908
|
+
readonly regular: boolean;
|
|
7909
|
+
readonly sizeBytes: number;
|
|
7910
|
+
} | undefined;
|
|
7911
|
+
}
|
|
7912
|
+
/** One identity whose registry is searched: its name and the configuration directory it launches sessions with. */
|
|
7913
|
+
interface RcRegistryIdentity {
|
|
7914
|
+
readonly name: string;
|
|
7915
|
+
readonly configDir: string;
|
|
7916
|
+
}
|
|
7917
|
+
/** What the registry says about one session, with every field the entry did not carry absent rather than blank. */
|
|
7918
|
+
interface RcRegisteredSession {
|
|
7919
|
+
/** The session process's id. */
|
|
7920
|
+
readonly pid: number;
|
|
7921
|
+
/** The Claude Code session's own id, the stem of its transcript and the join to everything on disk. */
|
|
7922
|
+
readonly localSessionId: string;
|
|
7923
|
+
/** The directory the session was started in. */
|
|
7924
|
+
readonly cwd?: string;
|
|
7925
|
+
/** The session's name, as the CLI shows it. */
|
|
7926
|
+
readonly name?: string;
|
|
7927
|
+
/** The identity whose own registry holds the entry. Absent when several identities share the registry (the default, since sessions are history and shared), because the entry then says nothing about which of them launched the session. */
|
|
7928
|
+
readonly identity?: string;
|
|
7929
|
+
}
|
|
7930
|
+
/** Everything the registry reader needs, injected so it runs against fakes. */
|
|
7931
|
+
interface RcSessionRegistryDeps {
|
|
7932
|
+
readonly fs: RcSessionRegistryFs;
|
|
7933
|
+
/** The identities to search, read on every call so one added after the door started is searched the moment it exists. */
|
|
7934
|
+
readonly identities: () => readonly RcRegistryIdentity[];
|
|
7935
|
+
/** Whether a process is alive: an entry whose process has exited is a file a crash left behind, and describes no session. */
|
|
7936
|
+
readonly isRunning: (pid: number) => boolean;
|
|
7937
|
+
}
|
|
7938
|
+
/**
|
|
7939
|
+
* Builds the registry reader: each call reads every identity's registry (a shared one once) and returns the live sessions it holds keyed by the door's `cse_` id. When a session has several live entries, as a resumed one can while its earlier file lingers, the most recently updated wins.
|
|
7940
|
+
*/
|
|
7941
|
+
declare function createRcSessionRegistryReader(deps: RcSessionRegistryDeps): () => ReadonlyMap<string, RcRegisteredSession>;
|
|
7942
|
+
/**
|
|
7943
|
+
* Adds what the registry says to the statuses the door built from its own observations: the name and process id always, and the working directory and identity only where the door observed none (what the session itself stated, and the launching identity the door saw on its own requests, outrank a registry that is only a file on disk). A status whose session the registry does not hold is returned as it is.
|
|
7944
|
+
*/
|
|
7945
|
+
declare function withRegisteredSessionFacts(statuses: readonly RcSessionStatus[], registry: ReadonlyMap<string, RcRegisteredSession>): readonly RcSessionStatus[];
|
|
7946
|
+
/** Wraps the tracker's status read so every answer carries the registry's facts; the registry is read only when there is a status to describe. */
|
|
7947
|
+
declare function rcStatusWithRegistry(statusOf: (sessionId?: string) => readonly RcSessionStatus[], readRegistry: () => ReadonlyMap<string, RcRegisteredSession>, identityNameOf: (id: string) => string | undefined): (sessionId?: string) => readonly RcSessionStatus[];
|
|
7948
|
+
|
|
7841
7949
|
/**
|
|
7842
7950
|
* The Remote Control control surface: the small HTTP namespace the serving door answers on its provider listener, next to `/healthz`, through which `agent-shim frontdoor rc` lists the observed sessions, reports each one's status and pending control requests, injects a prompt into one, answers one of its pending requests, and sends its own control requests into one (interrupt, set-model, set-permission-mode, and the wider client-half verb family: end-session, the usage and context queries, read-file, file-suggestions, keep-alive, and the mcp_* family).
|
|
7843
7951
|
*
|
|
@@ -8090,6 +8198,11 @@ declare function createRcApiRouter(deps: RcApiDeps): {
|
|
|
8090
8198
|
summary: zod.ZodString;
|
|
8091
8199
|
observedAt: zod.ZodNumber;
|
|
8092
8200
|
}, zod_v4_core.$strict>>>;
|
|
8201
|
+
identity: zod.ZodOptional<zod.ZodString>;
|
|
8202
|
+
model: zod.ZodOptional<zod.ZodString>;
|
|
8203
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
8204
|
+
pid: zod.ZodOptional<zod.ZodNumber>;
|
|
8205
|
+
cwd: zod.ZodOptional<zod.ZodString>;
|
|
8093
8206
|
id: zod.ZodString;
|
|
8094
8207
|
createdAt: zod.ZodNumber;
|
|
8095
8208
|
lastSeenAt: zod.ZodNumber;
|
|
@@ -8422,12 +8535,12 @@ declare const CheckReportJsonSchema: z.ZodObject<{
|
|
|
8422
8535
|
identity: z.ZodObject<{
|
|
8423
8536
|
name: z.ZodNullable<z.ZodString>;
|
|
8424
8537
|
source: z.ZodEnum<{
|
|
8538
|
+
env: "env";
|
|
8539
|
+
none: "none";
|
|
8425
8540
|
"config-dir-escape-hatch": "config-dir-escape-hatch";
|
|
8426
8541
|
argv: "argv";
|
|
8427
|
-
env: "env";
|
|
8428
8542
|
"directory-pin": "directory-pin";
|
|
8429
8543
|
"active-identity-file": "active-identity-file";
|
|
8430
|
-
none: "none";
|
|
8431
8544
|
}>;
|
|
8432
8545
|
}, z.core.$strict>;
|
|
8433
8546
|
pool: z.ZodOptional<z.ZodObject<{
|
|
@@ -8505,11 +8618,11 @@ declare const CheckReportJsonSchema: z.ZodObject<{
|
|
|
8505
8618
|
"category-default": "category-default";
|
|
8506
8619
|
}>;
|
|
8507
8620
|
category: z.ZodNullable<z.ZodEnum<{
|
|
8508
|
-
secret: "secret";
|
|
8509
8621
|
runtime: "runtime";
|
|
8510
8622
|
history: "history";
|
|
8511
8623
|
knowledge: "knowledge";
|
|
8512
8624
|
settings: "settings";
|
|
8625
|
+
secret: "secret";
|
|
8513
8626
|
}>>;
|
|
8514
8627
|
rule: z.ZodOptional<z.ZodObject<{
|
|
8515
8628
|
key: z.ZodString;
|
|
@@ -8709,8 +8822,8 @@ declare const CheckReportJsonSchema: z.ZodObject<{
|
|
|
8709
8822
|
pinned: z.ZodOptional<z.ZodObject<{
|
|
8710
8823
|
version: z.ZodString;
|
|
8711
8824
|
source: z.ZodEnum<{
|
|
8712
|
-
flag: "flag";
|
|
8713
8825
|
environment: "environment";
|
|
8826
|
+
flag: "flag";
|
|
8714
8827
|
cascade: "cascade";
|
|
8715
8828
|
}>;
|
|
8716
8829
|
installed: z.ZodBoolean;
|
|
@@ -8918,8 +9031,10 @@ interface IdentityDecision {
|
|
|
8918
9031
|
/** The pool selected by a `pool:<name>` selector, when the launch named a pool instead of an identity. */
|
|
8919
9032
|
readonly pool?: string;
|
|
8920
9033
|
readonly source: IdentityDecisionSource;
|
|
8921
|
-
/** True when `CLAUDE_CONFIG_DIR` was already set and every step below was skipped as a result. */
|
|
9034
|
+
/** True when `CLAUDE_CONFIG_DIR` was already set, nothing on the command line named an identity, and every step below was skipped as a result. */
|
|
8922
9035
|
readonly configDirEscapeHatch: boolean;
|
|
9036
|
+
/** The inherited `CLAUDE_CONFIG_DIR` an identity named on the command line outranked. Present only for a decision whose `source` is `argv` taken while the variable was set; the launch gives the child the identity's own directory in its place and says so, unless that already is the directory. */
|
|
9037
|
+
readonly supersededConfigDir?: string;
|
|
8923
9038
|
}
|
|
8924
9039
|
/** Which precedence rule produced a configuration-profile decision. */
|
|
8925
9040
|
declare const CONFIG_PROFILE_DECISION_SOURCES: readonly ["cli-flag", "env", "directory-rule", "identity-default", "global-default", "none"];
|
|
@@ -9045,6 +9160,8 @@ interface RunCheckParams {
|
|
|
9045
9160
|
readonly home: string;
|
|
9046
9161
|
readonly claudeHome: string;
|
|
9047
9162
|
readonly env: Readonly<Record<string, string | undefined>>;
|
|
9163
|
+
/** Whether a launch here would take the `CLAUDE_CONFIG_DIR` escape hatch (the selection says so). It decides whether the ambient-credential guard is judged over `env` as it is or without what a parent launcher injected, as the launch itself does. */
|
|
9164
|
+
readonly configDirEscapeHatch: boolean;
|
|
9048
9165
|
readonly branch?: string;
|
|
9049
9166
|
readonly branchDetached?: boolean;
|
|
9050
9167
|
readonly nowMs: number;
|
|
@@ -10275,53 +10392,6 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
10275
10392
|
}, zod_v4_core.$strip>], "kind">]>;
|
|
10276
10393
|
}, zod_v4_core.$strict>]>>>;
|
|
10277
10394
|
description: zod.ZodOptional<zod.ZodString>;
|
|
10278
|
-
models: zod.ZodOptional<zod.ZodObject<{
|
|
10279
|
-
pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
|
|
10280
|
-
virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
10281
|
-
mode: zod.ZodEnum<{
|
|
10282
|
-
ordered: "ordered";
|
|
10283
|
-
"most-allowance": "most-allowance";
|
|
10284
|
-
"soonest-reset": "soonest-reset";
|
|
10285
|
-
spread: "spread";
|
|
10286
|
-
adaptive: "adaptive";
|
|
10287
|
-
"lowest-latency": "lowest-latency";
|
|
10288
|
-
"highest-success": "highest-success";
|
|
10289
|
-
cheapest: "cheapest";
|
|
10290
|
-
}>;
|
|
10291
|
-
members: zod.ZodArray<zod.ZodString>;
|
|
10292
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
10293
|
-
tiers: zod.ZodOptional<zod.ZodObject<{
|
|
10294
|
-
fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
10295
|
-
opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
10296
|
-
sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
10297
|
-
haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
10298
|
-
}, zod_v4_core.$strict>>;
|
|
10299
|
-
prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
10300
|
-
input: zod.ZodNumber;
|
|
10301
|
-
output: zod.ZodNumber;
|
|
10302
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
10303
|
-
hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
10304
|
-
show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
10305
|
-
same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
|
|
10306
|
-
distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
|
|
10307
|
-
families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
10308
|
-
names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
10309
|
-
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
10310
|
-
ordered: "ordered";
|
|
10311
|
-
"most-allowance": "most-allowance";
|
|
10312
|
-
"soonest-reset": "soonest-reset";
|
|
10313
|
-
spread: "spread";
|
|
10314
|
-
adaptive: "adaptive";
|
|
10315
|
-
"lowest-latency": "lowest-latency";
|
|
10316
|
-
"highest-success": "highest-success";
|
|
10317
|
-
cheapest: "cheapest";
|
|
10318
|
-
}>>;
|
|
10319
|
-
context: zod.ZodOptional<zod.ZodNumber>;
|
|
10320
|
-
vision: zod.ZodOptional<zod.ZodBoolean>;
|
|
10321
|
-
tools: zod.ZodOptional<zod.ZodBoolean>;
|
|
10322
|
-
thinking: zod.ZodOptional<zod.ZodBoolean>;
|
|
10323
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
10324
|
-
}, zod_v4_core.$strict>>;
|
|
10325
10395
|
extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
10326
10396
|
categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
|
|
10327
10397
|
all: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -10363,32 +10433,32 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
10363
10433
|
}>>;
|
|
10364
10434
|
layout: zod.ZodOptional<zod.ZodObject<{
|
|
10365
10435
|
header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
10436
|
+
identity: "identity";
|
|
10366
10437
|
model: "model";
|
|
10367
10438
|
account: "account";
|
|
10368
|
-
identity: "identity";
|
|
10369
10439
|
provider: "provider";
|
|
10370
|
-
version: "version";
|
|
10371
10440
|
headroom: "headroom";
|
|
10372
|
-
duration: "duration";
|
|
10373
10441
|
route: "route";
|
|
10374
10442
|
project: "project";
|
|
10375
10443
|
vcs: "vcs";
|
|
10376
10444
|
effort: "effort";
|
|
10377
10445
|
advisor: "advisor";
|
|
10446
|
+
version: "version";
|
|
10378
10447
|
outputStyle: "outputStyle";
|
|
10379
10448
|
cost: "cost";
|
|
10380
10449
|
dailyCost: "dailyCost";
|
|
10381
10450
|
sessionName: "sessionName";
|
|
10451
|
+
duration: "duration";
|
|
10382
10452
|
speed: "speed";
|
|
10383
10453
|
extra: "extra";
|
|
10384
10454
|
}>>>;
|
|
10385
10455
|
rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
10386
10456
|
context: "context";
|
|
10387
10457
|
quota: "quota";
|
|
10388
|
-
environment: "environment";
|
|
10389
10458
|
addedDirs: "addedDirs";
|
|
10390
10459
|
gitFiles: "gitFiles";
|
|
10391
10460
|
memory: "memory";
|
|
10461
|
+
environment: "environment";
|
|
10392
10462
|
sessionTime: "sessionTime";
|
|
10393
10463
|
promptCache: "promptCache";
|
|
10394
10464
|
compactions: "compactions";
|
|
@@ -10411,10 +10481,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
10411
10481
|
merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
|
|
10412
10482
|
context: "context";
|
|
10413
10483
|
quota: "quota";
|
|
10414
|
-
environment: "environment";
|
|
10415
10484
|
addedDirs: "addedDirs";
|
|
10416
10485
|
gitFiles: "gitFiles";
|
|
10417
10486
|
memory: "memory";
|
|
10487
|
+
environment: "environment";
|
|
10418
10488
|
sessionTime: "sessionTime";
|
|
10419
10489
|
promptCache: "promptCache";
|
|
10420
10490
|
compactions: "compactions";
|
|
@@ -10428,10 +10498,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
10428
10498
|
rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
10429
10499
|
context: "context";
|
|
10430
10500
|
quota: "quota";
|
|
10431
|
-
environment: "environment";
|
|
10432
10501
|
addedDirs: "addedDirs";
|
|
10433
10502
|
gitFiles: "gitFiles";
|
|
10434
10503
|
memory: "memory";
|
|
10504
|
+
environment: "environment";
|
|
10435
10505
|
sessionTime: "sessionTime";
|
|
10436
10506
|
promptCache: "promptCache";
|
|
10437
10507
|
compactions: "compactions";
|
|
@@ -10490,10 +10560,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
10490
10560
|
hidden: "hidden";
|
|
10491
10561
|
}>>;
|
|
10492
10562
|
value: zod.ZodOptional<zod.ZodEnum<{
|
|
10493
|
-
remaining: "remaining";
|
|
10494
10563
|
tokens: "tokens";
|
|
10495
10564
|
both: "both";
|
|
10496
10565
|
percent: "percent";
|
|
10566
|
+
remaining: "remaining";
|
|
10497
10567
|
}>>;
|
|
10498
10568
|
estimate: zod.ZodOptional<zod.ZodEnum<{
|
|
10499
10569
|
never: "never";
|
|
@@ -10535,8 +10605,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
10535
10605
|
}, zod_v4_core.$strict>>;
|
|
10536
10606
|
usage: zod.ZodOptional<zod.ZodObject<{
|
|
10537
10607
|
value: zod.ZodOptional<zod.ZodEnum<{
|
|
10538
|
-
used: "used";
|
|
10539
10608
|
remaining: "remaining";
|
|
10609
|
+
used: "used";
|
|
10540
10610
|
}>>;
|
|
10541
10611
|
bar: zod.ZodOptional<zod.ZodBoolean>;
|
|
10542
10612
|
compact: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -10894,6 +10964,53 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
10894
10964
|
}, zod_v4_core.$strict>>;
|
|
10895
10965
|
}, zod_v4_core.$strict>>;
|
|
10896
10966
|
}, zod_v4_core.$strict>>;
|
|
10967
|
+
models: zod.ZodOptional<zod.ZodObject<{
|
|
10968
|
+
pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
|
|
10969
|
+
virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
10970
|
+
mode: zod.ZodEnum<{
|
|
10971
|
+
ordered: "ordered";
|
|
10972
|
+
"most-allowance": "most-allowance";
|
|
10973
|
+
"soonest-reset": "soonest-reset";
|
|
10974
|
+
spread: "spread";
|
|
10975
|
+
adaptive: "adaptive";
|
|
10976
|
+
"lowest-latency": "lowest-latency";
|
|
10977
|
+
"highest-success": "highest-success";
|
|
10978
|
+
cheapest: "cheapest";
|
|
10979
|
+
}>;
|
|
10980
|
+
members: zod.ZodArray<zod.ZodString>;
|
|
10981
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
10982
|
+
tiers: zod.ZodOptional<zod.ZodObject<{
|
|
10983
|
+
fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
10984
|
+
opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
10985
|
+
sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
10986
|
+
haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
10987
|
+
}, zod_v4_core.$strict>>;
|
|
10988
|
+
prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
10989
|
+
input: zod.ZodNumber;
|
|
10990
|
+
output: zod.ZodNumber;
|
|
10991
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
10992
|
+
hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
10993
|
+
show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
10994
|
+
same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
|
|
10995
|
+
distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
|
|
10996
|
+
families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
10997
|
+
names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
10998
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
10999
|
+
ordered: "ordered";
|
|
11000
|
+
"most-allowance": "most-allowance";
|
|
11001
|
+
"soonest-reset": "soonest-reset";
|
|
11002
|
+
spread: "spread";
|
|
11003
|
+
adaptive: "adaptive";
|
|
11004
|
+
"lowest-latency": "lowest-latency";
|
|
11005
|
+
"highest-success": "highest-success";
|
|
11006
|
+
cheapest: "cheapest";
|
|
11007
|
+
}>>;
|
|
11008
|
+
context: zod.ZodOptional<zod.ZodNumber>;
|
|
11009
|
+
vision: zod.ZodOptional<zod.ZodBoolean>;
|
|
11010
|
+
tools: zod.ZodOptional<zod.ZodBoolean>;
|
|
11011
|
+
thinking: zod.ZodOptional<zod.ZodBoolean>;
|
|
11012
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
11013
|
+
}, zod_v4_core.$strict>>;
|
|
10897
11014
|
}, zod_v4_core.$strict>;
|
|
10898
11015
|
}, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
10899
11016
|
set: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
|
|
@@ -10999,53 +11116,6 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
10999
11116
|
}, zod_v4_core.$strip>], "kind">]>;
|
|
11000
11117
|
}, zod_v4_core.$strict>]>>>;
|
|
11001
11118
|
description: zod.ZodOptional<zod.ZodString>;
|
|
11002
|
-
models: zod.ZodOptional<zod.ZodObject<{
|
|
11003
|
-
pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
|
|
11004
|
-
virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
11005
|
-
mode: zod.ZodEnum<{
|
|
11006
|
-
ordered: "ordered";
|
|
11007
|
-
"most-allowance": "most-allowance";
|
|
11008
|
-
"soonest-reset": "soonest-reset";
|
|
11009
|
-
spread: "spread";
|
|
11010
|
-
adaptive: "adaptive";
|
|
11011
|
-
"lowest-latency": "lowest-latency";
|
|
11012
|
-
"highest-success": "highest-success";
|
|
11013
|
-
cheapest: "cheapest";
|
|
11014
|
-
}>;
|
|
11015
|
-
members: zod.ZodArray<zod.ZodString>;
|
|
11016
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
11017
|
-
tiers: zod.ZodOptional<zod.ZodObject<{
|
|
11018
|
-
fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
11019
|
-
opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
11020
|
-
sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
11021
|
-
haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
11022
|
-
}, zod_v4_core.$strict>>;
|
|
11023
|
-
prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
11024
|
-
input: zod.ZodNumber;
|
|
11025
|
-
output: zod.ZodNumber;
|
|
11026
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
11027
|
-
hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
11028
|
-
show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
11029
|
-
same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
|
|
11030
|
-
distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
|
|
11031
|
-
families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
11032
|
-
names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
11033
|
-
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
11034
|
-
ordered: "ordered";
|
|
11035
|
-
"most-allowance": "most-allowance";
|
|
11036
|
-
"soonest-reset": "soonest-reset";
|
|
11037
|
-
spread: "spread";
|
|
11038
|
-
adaptive: "adaptive";
|
|
11039
|
-
"lowest-latency": "lowest-latency";
|
|
11040
|
-
"highest-success": "highest-success";
|
|
11041
|
-
cheapest: "cheapest";
|
|
11042
|
-
}>>;
|
|
11043
|
-
context: zod.ZodOptional<zod.ZodNumber>;
|
|
11044
|
-
vision: zod.ZodOptional<zod.ZodBoolean>;
|
|
11045
|
-
tools: zod.ZodOptional<zod.ZodBoolean>;
|
|
11046
|
-
thinking: zod.ZodOptional<zod.ZodBoolean>;
|
|
11047
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
11048
|
-
}, zod_v4_core.$strict>>;
|
|
11049
11119
|
extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
11050
11120
|
categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
|
|
11051
11121
|
all: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -11087,32 +11157,32 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
11087
11157
|
}>>;
|
|
11088
11158
|
layout: zod.ZodOptional<zod.ZodObject<{
|
|
11089
11159
|
header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
11160
|
+
identity: "identity";
|
|
11090
11161
|
model: "model";
|
|
11091
11162
|
account: "account";
|
|
11092
|
-
identity: "identity";
|
|
11093
11163
|
provider: "provider";
|
|
11094
|
-
version: "version";
|
|
11095
11164
|
headroom: "headroom";
|
|
11096
|
-
duration: "duration";
|
|
11097
11165
|
route: "route";
|
|
11098
11166
|
project: "project";
|
|
11099
11167
|
vcs: "vcs";
|
|
11100
11168
|
effort: "effort";
|
|
11101
11169
|
advisor: "advisor";
|
|
11170
|
+
version: "version";
|
|
11102
11171
|
outputStyle: "outputStyle";
|
|
11103
11172
|
cost: "cost";
|
|
11104
11173
|
dailyCost: "dailyCost";
|
|
11105
11174
|
sessionName: "sessionName";
|
|
11175
|
+
duration: "duration";
|
|
11106
11176
|
speed: "speed";
|
|
11107
11177
|
extra: "extra";
|
|
11108
11178
|
}>>>;
|
|
11109
11179
|
rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
11110
11180
|
context: "context";
|
|
11111
11181
|
quota: "quota";
|
|
11112
|
-
environment: "environment";
|
|
11113
11182
|
addedDirs: "addedDirs";
|
|
11114
11183
|
gitFiles: "gitFiles";
|
|
11115
11184
|
memory: "memory";
|
|
11185
|
+
environment: "environment";
|
|
11116
11186
|
sessionTime: "sessionTime";
|
|
11117
11187
|
promptCache: "promptCache";
|
|
11118
11188
|
compactions: "compactions";
|
|
@@ -11135,10 +11205,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
11135
11205
|
merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
|
|
11136
11206
|
context: "context";
|
|
11137
11207
|
quota: "quota";
|
|
11138
|
-
environment: "environment";
|
|
11139
11208
|
addedDirs: "addedDirs";
|
|
11140
11209
|
gitFiles: "gitFiles";
|
|
11141
11210
|
memory: "memory";
|
|
11211
|
+
environment: "environment";
|
|
11142
11212
|
sessionTime: "sessionTime";
|
|
11143
11213
|
promptCache: "promptCache";
|
|
11144
11214
|
compactions: "compactions";
|
|
@@ -11152,10 +11222,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
11152
11222
|
rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
11153
11223
|
context: "context";
|
|
11154
11224
|
quota: "quota";
|
|
11155
|
-
environment: "environment";
|
|
11156
11225
|
addedDirs: "addedDirs";
|
|
11157
11226
|
gitFiles: "gitFiles";
|
|
11158
11227
|
memory: "memory";
|
|
11228
|
+
environment: "environment";
|
|
11159
11229
|
sessionTime: "sessionTime";
|
|
11160
11230
|
promptCache: "promptCache";
|
|
11161
11231
|
compactions: "compactions";
|
|
@@ -11214,10 +11284,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
11214
11284
|
hidden: "hidden";
|
|
11215
11285
|
}>>;
|
|
11216
11286
|
value: zod.ZodOptional<zod.ZodEnum<{
|
|
11217
|
-
remaining: "remaining";
|
|
11218
11287
|
tokens: "tokens";
|
|
11219
11288
|
both: "both";
|
|
11220
11289
|
percent: "percent";
|
|
11290
|
+
remaining: "remaining";
|
|
11221
11291
|
}>>;
|
|
11222
11292
|
estimate: zod.ZodOptional<zod.ZodEnum<{
|
|
11223
11293
|
never: "never";
|
|
@@ -11259,8 +11329,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
11259
11329
|
}, zod_v4_core.$strict>>;
|
|
11260
11330
|
usage: zod.ZodOptional<zod.ZodObject<{
|
|
11261
11331
|
value: zod.ZodOptional<zod.ZodEnum<{
|
|
11262
|
-
used: "used";
|
|
11263
11332
|
remaining: "remaining";
|
|
11333
|
+
used: "used";
|
|
11264
11334
|
}>>;
|
|
11265
11335
|
bar: zod.ZodOptional<zod.ZodBoolean>;
|
|
11266
11336
|
compact: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -11618,6 +11688,53 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
11618
11688
|
}, zod_v4_core.$strict>>;
|
|
11619
11689
|
}, zod_v4_core.$strict>>;
|
|
11620
11690
|
}, zod_v4_core.$strict>>;
|
|
11691
|
+
models: zod.ZodOptional<zod.ZodObject<{
|
|
11692
|
+
pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
|
|
11693
|
+
virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
11694
|
+
mode: zod.ZodEnum<{
|
|
11695
|
+
ordered: "ordered";
|
|
11696
|
+
"most-allowance": "most-allowance";
|
|
11697
|
+
"soonest-reset": "soonest-reset";
|
|
11698
|
+
spread: "spread";
|
|
11699
|
+
adaptive: "adaptive";
|
|
11700
|
+
"lowest-latency": "lowest-latency";
|
|
11701
|
+
"highest-success": "highest-success";
|
|
11702
|
+
cheapest: "cheapest";
|
|
11703
|
+
}>;
|
|
11704
|
+
members: zod.ZodArray<zod.ZodString>;
|
|
11705
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
11706
|
+
tiers: zod.ZodOptional<zod.ZodObject<{
|
|
11707
|
+
fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
11708
|
+
opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
11709
|
+
sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
11710
|
+
haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
11711
|
+
}, zod_v4_core.$strict>>;
|
|
11712
|
+
prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
11713
|
+
input: zod.ZodNumber;
|
|
11714
|
+
output: zod.ZodNumber;
|
|
11715
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
11716
|
+
hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
11717
|
+
show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
11718
|
+
same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
|
|
11719
|
+
distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
|
|
11720
|
+
families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
11721
|
+
names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
11722
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
11723
|
+
ordered: "ordered";
|
|
11724
|
+
"most-allowance": "most-allowance";
|
|
11725
|
+
"soonest-reset": "soonest-reset";
|
|
11726
|
+
spread: "spread";
|
|
11727
|
+
adaptive: "adaptive";
|
|
11728
|
+
"lowest-latency": "lowest-latency";
|
|
11729
|
+
"highest-success": "highest-success";
|
|
11730
|
+
cheapest: "cheapest";
|
|
11731
|
+
}>>;
|
|
11732
|
+
context: zod.ZodOptional<zod.ZodNumber>;
|
|
11733
|
+
vision: zod.ZodOptional<zod.ZodBoolean>;
|
|
11734
|
+
tools: zod.ZodOptional<zod.ZodBoolean>;
|
|
11735
|
+
thinking: zod.ZodOptional<zod.ZodBoolean>;
|
|
11736
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
11737
|
+
}, zod_v4_core.$strict>>;
|
|
11621
11738
|
}, zod_v4_core.$strict>;
|
|
11622
11739
|
}, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
11623
11740
|
remove: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
|
|
@@ -11855,8 +11972,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
11855
11972
|
add: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
|
|
11856
11973
|
name: zod.ZodString;
|
|
11857
11974
|
kind: zod.ZodOptional<zod.ZodEnum<{
|
|
11858
|
-
codex: "codex";
|
|
11859
11975
|
http: "http";
|
|
11976
|
+
codex: "codex";
|
|
11860
11977
|
antigravity: "antigravity";
|
|
11861
11978
|
router: "router";
|
|
11862
11979
|
}>>;
|
|
@@ -11919,8 +12036,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
11919
12036
|
value: zod.ZodObject<{
|
|
11920
12037
|
name: zod.ZodString;
|
|
11921
12038
|
kind: zod.ZodEnum<{
|
|
11922
|
-
codex: "codex";
|
|
11923
12039
|
http: "http";
|
|
12040
|
+
codex: "codex";
|
|
11924
12041
|
antigravity: "antigravity";
|
|
11925
12042
|
router: "router";
|
|
11926
12043
|
}>;
|
|
@@ -12042,8 +12159,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
12042
12159
|
value: zod.ZodObject<{
|
|
12043
12160
|
name: zod.ZodString;
|
|
12044
12161
|
kind: zod.ZodEnum<{
|
|
12045
|
-
codex: "codex";
|
|
12046
12162
|
http: "http";
|
|
12163
|
+
codex: "codex";
|
|
12047
12164
|
antigravity: "antigravity";
|
|
12048
12165
|
router: "router";
|
|
12049
12166
|
}>;
|
|
@@ -12198,55 +12315,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
12198
12315
|
key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
12199
12316
|
}, zod_v4_core.$strip>], "kind">]>;
|
|
12200
12317
|
}, zod_v4_core.$strict>]>>>;
|
|
12201
|
-
models: zod.ZodOptional<zod.ZodObject<{
|
|
12202
|
-
pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
|
|
12203
|
-
virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
12204
|
-
mode: zod.ZodEnum<{
|
|
12205
|
-
ordered: "ordered";
|
|
12206
|
-
"most-allowance": "most-allowance";
|
|
12207
|
-
"soonest-reset": "soonest-reset";
|
|
12208
|
-
spread: "spread";
|
|
12209
|
-
adaptive: "adaptive";
|
|
12210
|
-
"lowest-latency": "lowest-latency";
|
|
12211
|
-
"highest-success": "highest-success";
|
|
12212
|
-
cheapest: "cheapest";
|
|
12213
|
-
}>;
|
|
12214
|
-
members: zod.ZodArray<zod.ZodString>;
|
|
12215
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
12216
|
-
tiers: zod.ZodOptional<zod.ZodObject<{
|
|
12217
|
-
fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
12218
|
-
opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
12219
|
-
sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
12220
|
-
haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
12221
|
-
}, zod_v4_core.$strict>>;
|
|
12222
|
-
prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
12223
|
-
input: zod.ZodNumber;
|
|
12224
|
-
output: zod.ZodNumber;
|
|
12225
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
12226
|
-
hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
12227
|
-
show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
12228
|
-
same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
|
|
12229
|
-
distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
|
|
12230
|
-
families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
12231
|
-
names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
12232
|
-
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
12233
|
-
ordered: "ordered";
|
|
12234
|
-
"most-allowance": "most-allowance";
|
|
12235
|
-
"soonest-reset": "soonest-reset";
|
|
12236
|
-
spread: "spread";
|
|
12237
|
-
adaptive: "adaptive";
|
|
12238
|
-
"lowest-latency": "lowest-latency";
|
|
12239
|
-
"highest-success": "highest-success";
|
|
12240
|
-
cheapest: "cheapest";
|
|
12241
|
-
}>>;
|
|
12242
|
-
context: zod.ZodOptional<zod.ZodNumber>;
|
|
12243
|
-
vision: zod.ZodOptional<zod.ZodBoolean>;
|
|
12244
|
-
tools: zod.ZodOptional<zod.ZodBoolean>;
|
|
12245
|
-
thinking: zod.ZodOptional<zod.ZodBoolean>;
|
|
12246
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
12247
|
-
}, zod_v4_core.$strict>>;
|
|
12248
|
-
$schema: zod.ZodOptional<zod.ZodString>;
|
|
12249
12318
|
extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
12319
|
+
$schema: zod.ZodOptional<zod.ZodString>;
|
|
12250
12320
|
categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
|
|
12251
12321
|
all: zod.ZodOptional<zod.ZodBoolean>;
|
|
12252
12322
|
runtime: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -12287,32 +12357,32 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
12287
12357
|
}>>;
|
|
12288
12358
|
layout: zod.ZodOptional<zod.ZodObject<{
|
|
12289
12359
|
header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
12360
|
+
identity: "identity";
|
|
12290
12361
|
model: "model";
|
|
12291
12362
|
account: "account";
|
|
12292
|
-
identity: "identity";
|
|
12293
12363
|
provider: "provider";
|
|
12294
|
-
version: "version";
|
|
12295
12364
|
headroom: "headroom";
|
|
12296
|
-
duration: "duration";
|
|
12297
12365
|
route: "route";
|
|
12298
12366
|
project: "project";
|
|
12299
12367
|
vcs: "vcs";
|
|
12300
12368
|
effort: "effort";
|
|
12301
12369
|
advisor: "advisor";
|
|
12370
|
+
version: "version";
|
|
12302
12371
|
outputStyle: "outputStyle";
|
|
12303
12372
|
cost: "cost";
|
|
12304
12373
|
dailyCost: "dailyCost";
|
|
12305
12374
|
sessionName: "sessionName";
|
|
12375
|
+
duration: "duration";
|
|
12306
12376
|
speed: "speed";
|
|
12307
12377
|
extra: "extra";
|
|
12308
12378
|
}>>>;
|
|
12309
12379
|
rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
12310
12380
|
context: "context";
|
|
12311
12381
|
quota: "quota";
|
|
12312
|
-
environment: "environment";
|
|
12313
12382
|
addedDirs: "addedDirs";
|
|
12314
12383
|
gitFiles: "gitFiles";
|
|
12315
12384
|
memory: "memory";
|
|
12385
|
+
environment: "environment";
|
|
12316
12386
|
sessionTime: "sessionTime";
|
|
12317
12387
|
promptCache: "promptCache";
|
|
12318
12388
|
compactions: "compactions";
|
|
@@ -12335,10 +12405,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
12335
12405
|
merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
|
|
12336
12406
|
context: "context";
|
|
12337
12407
|
quota: "quota";
|
|
12338
|
-
environment: "environment";
|
|
12339
12408
|
addedDirs: "addedDirs";
|
|
12340
12409
|
gitFiles: "gitFiles";
|
|
12341
12410
|
memory: "memory";
|
|
12411
|
+
environment: "environment";
|
|
12342
12412
|
sessionTime: "sessionTime";
|
|
12343
12413
|
promptCache: "promptCache";
|
|
12344
12414
|
compactions: "compactions";
|
|
@@ -12352,10 +12422,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
12352
12422
|
rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
12353
12423
|
context: "context";
|
|
12354
12424
|
quota: "quota";
|
|
12355
|
-
environment: "environment";
|
|
12356
12425
|
addedDirs: "addedDirs";
|
|
12357
12426
|
gitFiles: "gitFiles";
|
|
12358
12427
|
memory: "memory";
|
|
12428
|
+
environment: "environment";
|
|
12359
12429
|
sessionTime: "sessionTime";
|
|
12360
12430
|
promptCache: "promptCache";
|
|
12361
12431
|
compactions: "compactions";
|
|
@@ -12414,10 +12484,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
12414
12484
|
hidden: "hidden";
|
|
12415
12485
|
}>>;
|
|
12416
12486
|
value: zod.ZodOptional<zod.ZodEnum<{
|
|
12417
|
-
remaining: "remaining";
|
|
12418
12487
|
tokens: "tokens";
|
|
12419
12488
|
both: "both";
|
|
12420
12489
|
percent: "percent";
|
|
12490
|
+
remaining: "remaining";
|
|
12421
12491
|
}>>;
|
|
12422
12492
|
estimate: zod.ZodOptional<zod.ZodEnum<{
|
|
12423
12493
|
never: "never";
|
|
@@ -12459,8 +12529,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
12459
12529
|
}, zod_v4_core.$strict>>;
|
|
12460
12530
|
usage: zod.ZodOptional<zod.ZodObject<{
|
|
12461
12531
|
value: zod.ZodOptional<zod.ZodEnum<{
|
|
12462
|
-
used: "used";
|
|
12463
12532
|
remaining: "remaining";
|
|
12533
|
+
used: "used";
|
|
12464
12534
|
}>>;
|
|
12465
12535
|
bar: zod.ZodOptional<zod.ZodBoolean>;
|
|
12466
12536
|
compact: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -12818,6 +12888,53 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
12818
12888
|
}, zod_v4_core.$strict>>;
|
|
12819
12889
|
}, zod_v4_core.$strict>>;
|
|
12820
12890
|
}, zod_v4_core.$strict>>;
|
|
12891
|
+
models: zod.ZodOptional<zod.ZodObject<{
|
|
12892
|
+
pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
|
|
12893
|
+
virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
12894
|
+
mode: zod.ZodEnum<{
|
|
12895
|
+
ordered: "ordered";
|
|
12896
|
+
"most-allowance": "most-allowance";
|
|
12897
|
+
"soonest-reset": "soonest-reset";
|
|
12898
|
+
spread: "spread";
|
|
12899
|
+
adaptive: "adaptive";
|
|
12900
|
+
"lowest-latency": "lowest-latency";
|
|
12901
|
+
"highest-success": "highest-success";
|
|
12902
|
+
cheapest: "cheapest";
|
|
12903
|
+
}>;
|
|
12904
|
+
members: zod.ZodArray<zod.ZodString>;
|
|
12905
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
12906
|
+
tiers: zod.ZodOptional<zod.ZodObject<{
|
|
12907
|
+
fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
12908
|
+
opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
12909
|
+
sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
12910
|
+
haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
12911
|
+
}, zod_v4_core.$strict>>;
|
|
12912
|
+
prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
12913
|
+
input: zod.ZodNumber;
|
|
12914
|
+
output: zod.ZodNumber;
|
|
12915
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
12916
|
+
hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
12917
|
+
show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
12918
|
+
same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
|
|
12919
|
+
distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
|
|
12920
|
+
families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
12921
|
+
names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
12922
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
12923
|
+
ordered: "ordered";
|
|
12924
|
+
"most-allowance": "most-allowance";
|
|
12925
|
+
"soonest-reset": "soonest-reset";
|
|
12926
|
+
spread: "spread";
|
|
12927
|
+
adaptive: "adaptive";
|
|
12928
|
+
"lowest-latency": "lowest-latency";
|
|
12929
|
+
"highest-success": "highest-success";
|
|
12930
|
+
cheapest: "cheapest";
|
|
12931
|
+
}>>;
|
|
12932
|
+
context: zod.ZodOptional<zod.ZodNumber>;
|
|
12933
|
+
vision: zod.ZodOptional<zod.ZodBoolean>;
|
|
12934
|
+
tools: zod.ZodOptional<zod.ZodBoolean>;
|
|
12935
|
+
thinking: zod.ZodOptional<zod.ZodBoolean>;
|
|
12936
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
12937
|
+
}, zod_v4_core.$strict>>;
|
|
12821
12938
|
path: zod.ZodString;
|
|
12822
12939
|
configProfile: zod.ZodOptional<zod.ZodString>;
|
|
12823
12940
|
identity: zod.ZodOptional<zod.ZodString>;
|
|
@@ -12979,55 +13096,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
12979
13096
|
key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
12980
13097
|
}, zod_v4_core.$strip>], "kind">]>;
|
|
12981
13098
|
}, zod_v4_core.$strict>]>>>;
|
|
12982
|
-
models: zod.ZodOptional<zod.ZodObject<{
|
|
12983
|
-
pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
|
|
12984
|
-
virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
12985
|
-
mode: zod.ZodEnum<{
|
|
12986
|
-
ordered: "ordered";
|
|
12987
|
-
"most-allowance": "most-allowance";
|
|
12988
|
-
"soonest-reset": "soonest-reset";
|
|
12989
|
-
spread: "spread";
|
|
12990
|
-
adaptive: "adaptive";
|
|
12991
|
-
"lowest-latency": "lowest-latency";
|
|
12992
|
-
"highest-success": "highest-success";
|
|
12993
|
-
cheapest: "cheapest";
|
|
12994
|
-
}>;
|
|
12995
|
-
members: zod.ZodArray<zod.ZodString>;
|
|
12996
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
12997
|
-
tiers: zod.ZodOptional<zod.ZodObject<{
|
|
12998
|
-
fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
12999
|
-
opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
13000
|
-
sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
13001
|
-
haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
13002
|
-
}, zod_v4_core.$strict>>;
|
|
13003
|
-
prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
13004
|
-
input: zod.ZodNumber;
|
|
13005
|
-
output: zod.ZodNumber;
|
|
13006
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
13007
|
-
hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
13008
|
-
show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
13009
|
-
same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
|
|
13010
|
-
distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
|
|
13011
|
-
families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
13012
|
-
names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
13013
|
-
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
13014
|
-
ordered: "ordered";
|
|
13015
|
-
"most-allowance": "most-allowance";
|
|
13016
|
-
"soonest-reset": "soonest-reset";
|
|
13017
|
-
spread: "spread";
|
|
13018
|
-
adaptive: "adaptive";
|
|
13019
|
-
"lowest-latency": "lowest-latency";
|
|
13020
|
-
"highest-success": "highest-success";
|
|
13021
|
-
cheapest: "cheapest";
|
|
13022
|
-
}>>;
|
|
13023
|
-
context: zod.ZodOptional<zod.ZodNumber>;
|
|
13024
|
-
vision: zod.ZodOptional<zod.ZodBoolean>;
|
|
13025
|
-
tools: zod.ZodOptional<zod.ZodBoolean>;
|
|
13026
|
-
thinking: zod.ZodOptional<zod.ZodBoolean>;
|
|
13027
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
13028
|
-
}, zod_v4_core.$strict>>;
|
|
13029
|
-
$schema: zod.ZodOptional<zod.ZodString>;
|
|
13030
13099
|
extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
13100
|
+
$schema: zod.ZodOptional<zod.ZodString>;
|
|
13031
13101
|
categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
|
|
13032
13102
|
all: zod.ZodOptional<zod.ZodBoolean>;
|
|
13033
13103
|
runtime: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -13068,32 +13138,32 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
13068
13138
|
}>>;
|
|
13069
13139
|
layout: zod.ZodOptional<zod.ZodObject<{
|
|
13070
13140
|
header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
13141
|
+
identity: "identity";
|
|
13071
13142
|
model: "model";
|
|
13072
13143
|
account: "account";
|
|
13073
|
-
identity: "identity";
|
|
13074
13144
|
provider: "provider";
|
|
13075
|
-
version: "version";
|
|
13076
13145
|
headroom: "headroom";
|
|
13077
|
-
duration: "duration";
|
|
13078
13146
|
route: "route";
|
|
13079
13147
|
project: "project";
|
|
13080
13148
|
vcs: "vcs";
|
|
13081
13149
|
effort: "effort";
|
|
13082
13150
|
advisor: "advisor";
|
|
13151
|
+
version: "version";
|
|
13083
13152
|
outputStyle: "outputStyle";
|
|
13084
13153
|
cost: "cost";
|
|
13085
13154
|
dailyCost: "dailyCost";
|
|
13086
13155
|
sessionName: "sessionName";
|
|
13156
|
+
duration: "duration";
|
|
13087
13157
|
speed: "speed";
|
|
13088
13158
|
extra: "extra";
|
|
13089
13159
|
}>>>;
|
|
13090
13160
|
rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
13091
13161
|
context: "context";
|
|
13092
13162
|
quota: "quota";
|
|
13093
|
-
environment: "environment";
|
|
13094
13163
|
addedDirs: "addedDirs";
|
|
13095
13164
|
gitFiles: "gitFiles";
|
|
13096
13165
|
memory: "memory";
|
|
13166
|
+
environment: "environment";
|
|
13097
13167
|
sessionTime: "sessionTime";
|
|
13098
13168
|
promptCache: "promptCache";
|
|
13099
13169
|
compactions: "compactions";
|
|
@@ -13116,10 +13186,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
13116
13186
|
merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
|
|
13117
13187
|
context: "context";
|
|
13118
13188
|
quota: "quota";
|
|
13119
|
-
environment: "environment";
|
|
13120
13189
|
addedDirs: "addedDirs";
|
|
13121
13190
|
gitFiles: "gitFiles";
|
|
13122
13191
|
memory: "memory";
|
|
13192
|
+
environment: "environment";
|
|
13123
13193
|
sessionTime: "sessionTime";
|
|
13124
13194
|
promptCache: "promptCache";
|
|
13125
13195
|
compactions: "compactions";
|
|
@@ -13133,10 +13203,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
13133
13203
|
rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
13134
13204
|
context: "context";
|
|
13135
13205
|
quota: "quota";
|
|
13136
|
-
environment: "environment";
|
|
13137
13206
|
addedDirs: "addedDirs";
|
|
13138
13207
|
gitFiles: "gitFiles";
|
|
13139
13208
|
memory: "memory";
|
|
13209
|
+
environment: "environment";
|
|
13140
13210
|
sessionTime: "sessionTime";
|
|
13141
13211
|
promptCache: "promptCache";
|
|
13142
13212
|
compactions: "compactions";
|
|
@@ -13195,10 +13265,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
13195
13265
|
hidden: "hidden";
|
|
13196
13266
|
}>>;
|
|
13197
13267
|
value: zod.ZodOptional<zod.ZodEnum<{
|
|
13198
|
-
remaining: "remaining";
|
|
13199
13268
|
tokens: "tokens";
|
|
13200
13269
|
both: "both";
|
|
13201
13270
|
percent: "percent";
|
|
13271
|
+
remaining: "remaining";
|
|
13202
13272
|
}>>;
|
|
13203
13273
|
estimate: zod.ZodOptional<zod.ZodEnum<{
|
|
13204
13274
|
never: "never";
|
|
@@ -13240,8 +13310,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
13240
13310
|
}, zod_v4_core.$strict>>;
|
|
13241
13311
|
usage: zod.ZodOptional<zod.ZodObject<{
|
|
13242
13312
|
value: zod.ZodOptional<zod.ZodEnum<{
|
|
13243
|
-
used: "used";
|
|
13244
13313
|
remaining: "remaining";
|
|
13314
|
+
used: "used";
|
|
13245
13315
|
}>>;
|
|
13246
13316
|
bar: zod.ZodOptional<zod.ZodBoolean>;
|
|
13247
13317
|
compact: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -13599,6 +13669,53 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
13599
13669
|
}, zod_v4_core.$strict>>;
|
|
13600
13670
|
}, zod_v4_core.$strict>>;
|
|
13601
13671
|
}, zod_v4_core.$strict>>;
|
|
13672
|
+
models: zod.ZodOptional<zod.ZodObject<{
|
|
13673
|
+
pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
|
|
13674
|
+
virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
13675
|
+
mode: zod.ZodEnum<{
|
|
13676
|
+
ordered: "ordered";
|
|
13677
|
+
"most-allowance": "most-allowance";
|
|
13678
|
+
"soonest-reset": "soonest-reset";
|
|
13679
|
+
spread: "spread";
|
|
13680
|
+
adaptive: "adaptive";
|
|
13681
|
+
"lowest-latency": "lowest-latency";
|
|
13682
|
+
"highest-success": "highest-success";
|
|
13683
|
+
cheapest: "cheapest";
|
|
13684
|
+
}>;
|
|
13685
|
+
members: zod.ZodArray<zod.ZodString>;
|
|
13686
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
13687
|
+
tiers: zod.ZodOptional<zod.ZodObject<{
|
|
13688
|
+
fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
13689
|
+
opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
13690
|
+
sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
13691
|
+
haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
13692
|
+
}, zod_v4_core.$strict>>;
|
|
13693
|
+
prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
13694
|
+
input: zod.ZodNumber;
|
|
13695
|
+
output: zod.ZodNumber;
|
|
13696
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
13697
|
+
hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
13698
|
+
show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
13699
|
+
same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
|
|
13700
|
+
distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
|
|
13701
|
+
families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
13702
|
+
names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
13703
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
13704
|
+
ordered: "ordered";
|
|
13705
|
+
"most-allowance": "most-allowance";
|
|
13706
|
+
"soonest-reset": "soonest-reset";
|
|
13707
|
+
spread: "spread";
|
|
13708
|
+
adaptive: "adaptive";
|
|
13709
|
+
"lowest-latency": "lowest-latency";
|
|
13710
|
+
"highest-success": "highest-success";
|
|
13711
|
+
cheapest: "cheapest";
|
|
13712
|
+
}>>;
|
|
13713
|
+
context: zod.ZodOptional<zod.ZodNumber>;
|
|
13714
|
+
vision: zod.ZodOptional<zod.ZodBoolean>;
|
|
13715
|
+
tools: zod.ZodOptional<zod.ZodBoolean>;
|
|
13716
|
+
thinking: zod.ZodOptional<zod.ZodBoolean>;
|
|
13717
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
13718
|
+
}, zod_v4_core.$strict>>;
|
|
13602
13719
|
path: zod.ZodString;
|
|
13603
13720
|
configProfile: zod.ZodOptional<zod.ZodString>;
|
|
13604
13721
|
identity: zod.ZodOptional<zod.ZodString>;
|
|
@@ -14003,9 +14120,9 @@ declare function createLifecycleApiRouter(deps: LifecycleApiDeps): {
|
|
|
14003
14120
|
current: z.ZodString;
|
|
14004
14121
|
latest: z.ZodString;
|
|
14005
14122
|
action: z.ZodEnum<{
|
|
14123
|
+
updated: "updated";
|
|
14006
14124
|
current: "current";
|
|
14007
14125
|
available: "available";
|
|
14008
|
-
updated: "updated";
|
|
14009
14126
|
}>;
|
|
14010
14127
|
}, z.core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
14011
14128
|
};
|
|
@@ -14041,32 +14158,32 @@ declare const StatuslineSchema: z.ZodObject<{
|
|
|
14041
14158
|
}>>;
|
|
14042
14159
|
layout: z.ZodOptional<z.ZodObject<{
|
|
14043
14160
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
14161
|
+
identity: "identity";
|
|
14044
14162
|
model: "model";
|
|
14045
14163
|
account: "account";
|
|
14046
|
-
identity: "identity";
|
|
14047
14164
|
provider: "provider";
|
|
14048
|
-
version: "version";
|
|
14049
14165
|
headroom: "headroom";
|
|
14050
|
-
duration: "duration";
|
|
14051
14166
|
route: "route";
|
|
14052
14167
|
project: "project";
|
|
14053
14168
|
vcs: "vcs";
|
|
14054
14169
|
effort: "effort";
|
|
14055
14170
|
advisor: "advisor";
|
|
14171
|
+
version: "version";
|
|
14056
14172
|
outputStyle: "outputStyle";
|
|
14057
14173
|
cost: "cost";
|
|
14058
14174
|
dailyCost: "dailyCost";
|
|
14059
14175
|
sessionName: "sessionName";
|
|
14176
|
+
duration: "duration";
|
|
14060
14177
|
speed: "speed";
|
|
14061
14178
|
extra: "extra";
|
|
14062
14179
|
}>>>;
|
|
14063
14180
|
rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
14064
14181
|
context: "context";
|
|
14065
14182
|
quota: "quota";
|
|
14066
|
-
environment: "environment";
|
|
14067
14183
|
addedDirs: "addedDirs";
|
|
14068
14184
|
gitFiles: "gitFiles";
|
|
14069
14185
|
memory: "memory";
|
|
14186
|
+
environment: "environment";
|
|
14070
14187
|
sessionTime: "sessionTime";
|
|
14071
14188
|
promptCache: "promptCache";
|
|
14072
14189
|
compactions: "compactions";
|
|
@@ -14089,10 +14206,10 @@ declare const StatuslineSchema: z.ZodObject<{
|
|
|
14089
14206
|
merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
|
|
14090
14207
|
context: "context";
|
|
14091
14208
|
quota: "quota";
|
|
14092
|
-
environment: "environment";
|
|
14093
14209
|
addedDirs: "addedDirs";
|
|
14094
14210
|
gitFiles: "gitFiles";
|
|
14095
14211
|
memory: "memory";
|
|
14212
|
+
environment: "environment";
|
|
14096
14213
|
sessionTime: "sessionTime";
|
|
14097
14214
|
promptCache: "promptCache";
|
|
14098
14215
|
compactions: "compactions";
|
|
@@ -14106,10 +14223,10 @@ declare const StatuslineSchema: z.ZodObject<{
|
|
|
14106
14223
|
rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
14107
14224
|
context: "context";
|
|
14108
14225
|
quota: "quota";
|
|
14109
|
-
environment: "environment";
|
|
14110
14226
|
addedDirs: "addedDirs";
|
|
14111
14227
|
gitFiles: "gitFiles";
|
|
14112
14228
|
memory: "memory";
|
|
14229
|
+
environment: "environment";
|
|
14113
14230
|
sessionTime: "sessionTime";
|
|
14114
14231
|
promptCache: "promptCache";
|
|
14115
14232
|
compactions: "compactions";
|
|
@@ -14168,10 +14285,10 @@ declare const StatuslineSchema: z.ZodObject<{
|
|
|
14168
14285
|
hidden: "hidden";
|
|
14169
14286
|
}>>;
|
|
14170
14287
|
value: z.ZodOptional<z.ZodEnum<{
|
|
14171
|
-
remaining: "remaining";
|
|
14172
14288
|
tokens: "tokens";
|
|
14173
14289
|
both: "both";
|
|
14174
14290
|
percent: "percent";
|
|
14291
|
+
remaining: "remaining";
|
|
14175
14292
|
}>>;
|
|
14176
14293
|
estimate: z.ZodOptional<z.ZodEnum<{
|
|
14177
14294
|
never: "never";
|
|
@@ -14213,8 +14330,8 @@ declare const StatuslineSchema: z.ZodObject<{
|
|
|
14213
14330
|
}, z.core.$strict>>;
|
|
14214
14331
|
usage: z.ZodOptional<z.ZodObject<{
|
|
14215
14332
|
value: z.ZodOptional<z.ZodEnum<{
|
|
14216
|
-
used: "used";
|
|
14217
14333
|
remaining: "remaining";
|
|
14334
|
+
used: "used";
|
|
14218
14335
|
}>>;
|
|
14219
14336
|
bar: z.ZodOptional<z.ZodBoolean>;
|
|
14220
14337
|
compact: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -14745,7 +14862,7 @@ interface LaunchDecision {
|
|
|
14745
14862
|
readonly identitySource: IdentityDecisionSource;
|
|
14746
14863
|
/** The pool pick behind `identity`, when the launch selected a pool. */
|
|
14747
14864
|
readonly pool?: LaunchPoolDecision;
|
|
14748
|
-
/** True when `CLAUDE_CONFIG_DIR` was already set, so no identity was resolved and no farm was managed. */
|
|
14865
|
+
/** True when `CLAUDE_CONFIG_DIR` was already set and nothing on the command line named an identity, so no identity was resolved and no farm was managed. An identity named on the command line outranks the variable and leaves this false. */
|
|
14749
14866
|
readonly configDirEscapeHatch: boolean;
|
|
14750
14867
|
/** The configuration directory the child runs with: the identity's own, or the one the caller named. Absent when none is set. */
|
|
14751
14868
|
readonly configDir?: string;
|
|
@@ -14856,12 +14973,12 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
|
|
|
14856
14973
|
identity: zod.ZodOptional<zod.ZodString>;
|
|
14857
14974
|
identityId: zod.ZodOptional<zod.ZodString>;
|
|
14858
14975
|
identitySource: zod.ZodEnum<{
|
|
14976
|
+
env: "env";
|
|
14977
|
+
none: "none";
|
|
14859
14978
|
"config-dir-escape-hatch": "config-dir-escape-hatch";
|
|
14860
14979
|
argv: "argv";
|
|
14861
|
-
env: "env";
|
|
14862
14980
|
"directory-pin": "directory-pin";
|
|
14863
14981
|
"active-identity-file": "active-identity-file";
|
|
14864
|
-
none: "none";
|
|
14865
14982
|
}>;
|
|
14866
14983
|
pool: zod.ZodOptional<zod.ZodObject<{
|
|
14867
14984
|
name: zod.ZodString;
|
|
@@ -14909,32 +15026,32 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
|
|
|
14909
15026
|
}>>;
|
|
14910
15027
|
layout: zod.ZodOptional<zod.ZodObject<{
|
|
14911
15028
|
header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
15029
|
+
identity: "identity";
|
|
14912
15030
|
model: "model";
|
|
14913
15031
|
account: "account";
|
|
14914
|
-
identity: "identity";
|
|
14915
15032
|
provider: "provider";
|
|
14916
|
-
version: "version";
|
|
14917
15033
|
headroom: "headroom";
|
|
14918
|
-
duration: "duration";
|
|
14919
15034
|
route: "route";
|
|
14920
15035
|
project: "project";
|
|
14921
15036
|
vcs: "vcs";
|
|
14922
15037
|
effort: "effort";
|
|
14923
15038
|
advisor: "advisor";
|
|
15039
|
+
version: "version";
|
|
14924
15040
|
outputStyle: "outputStyle";
|
|
14925
15041
|
cost: "cost";
|
|
14926
15042
|
dailyCost: "dailyCost";
|
|
14927
15043
|
sessionName: "sessionName";
|
|
15044
|
+
duration: "duration";
|
|
14928
15045
|
speed: "speed";
|
|
14929
15046
|
extra: "extra";
|
|
14930
15047
|
}>>>;
|
|
14931
15048
|
rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
14932
15049
|
context: "context";
|
|
14933
15050
|
quota: "quota";
|
|
14934
|
-
environment: "environment";
|
|
14935
15051
|
addedDirs: "addedDirs";
|
|
14936
15052
|
gitFiles: "gitFiles";
|
|
14937
15053
|
memory: "memory";
|
|
15054
|
+
environment: "environment";
|
|
14938
15055
|
sessionTime: "sessionTime";
|
|
14939
15056
|
promptCache: "promptCache";
|
|
14940
15057
|
compactions: "compactions";
|
|
@@ -14957,10 +15074,10 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
|
|
|
14957
15074
|
merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
|
|
14958
15075
|
context: "context";
|
|
14959
15076
|
quota: "quota";
|
|
14960
|
-
environment: "environment";
|
|
14961
15077
|
addedDirs: "addedDirs";
|
|
14962
15078
|
gitFiles: "gitFiles";
|
|
14963
15079
|
memory: "memory";
|
|
15080
|
+
environment: "environment";
|
|
14964
15081
|
sessionTime: "sessionTime";
|
|
14965
15082
|
promptCache: "promptCache";
|
|
14966
15083
|
compactions: "compactions";
|
|
@@ -14974,10 +15091,10 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
|
|
|
14974
15091
|
rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
14975
15092
|
context: "context";
|
|
14976
15093
|
quota: "quota";
|
|
14977
|
-
environment: "environment";
|
|
14978
15094
|
addedDirs: "addedDirs";
|
|
14979
15095
|
gitFiles: "gitFiles";
|
|
14980
15096
|
memory: "memory";
|
|
15097
|
+
environment: "environment";
|
|
14981
15098
|
sessionTime: "sessionTime";
|
|
14982
15099
|
promptCache: "promptCache";
|
|
14983
15100
|
compactions: "compactions";
|
|
@@ -15036,10 +15153,10 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
|
|
|
15036
15153
|
hidden: "hidden";
|
|
15037
15154
|
}>>;
|
|
15038
15155
|
value: zod.ZodOptional<zod.ZodEnum<{
|
|
15039
|
-
remaining: "remaining";
|
|
15040
15156
|
tokens: "tokens";
|
|
15041
15157
|
both: "both";
|
|
15042
15158
|
percent: "percent";
|
|
15159
|
+
remaining: "remaining";
|
|
15043
15160
|
}>>;
|
|
15044
15161
|
estimate: zod.ZodOptional<zod.ZodEnum<{
|
|
15045
15162
|
never: "never";
|
|
@@ -15081,8 +15198,8 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
|
|
|
15081
15198
|
}, zod_v4_core.$strict>>;
|
|
15082
15199
|
usage: zod.ZodOptional<zod.ZodObject<{
|
|
15083
15200
|
value: zod.ZodOptional<zod.ZodEnum<{
|
|
15084
|
-
used: "used";
|
|
15085
15201
|
remaining: "remaining";
|
|
15202
|
+
used: "used";
|
|
15086
15203
|
}>>;
|
|
15087
15204
|
bar: zod.ZodOptional<zod.ZodBoolean>;
|
|
15088
15205
|
compact: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -15443,8 +15560,8 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
|
|
|
15443
15560
|
claudeVersion: zod.ZodOptional<zod.ZodObject<{
|
|
15444
15561
|
version: zod.ZodString;
|
|
15445
15562
|
source: zod.ZodEnum<{
|
|
15446
|
-
flag: "flag";
|
|
15447
15563
|
environment: "environment";
|
|
15564
|
+
flag: "flag";
|
|
15448
15565
|
cascade: "cascade";
|
|
15449
15566
|
}>;
|
|
15450
15567
|
}, zod_v4_core.$strict>>;
|
|
@@ -15502,42 +15619,6 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
|
|
|
15502
15619
|
/** The launch router, as the merged mount's and the client's own types are derived from it. */
|
|
15503
15620
|
type LaunchApiRouter = ReturnType<typeof createLaunchApiRouter>;
|
|
15504
15621
|
|
|
15505
|
-
/**
|
|
15506
|
-
* The agent tree reader: pure over an injected filesystem, so the CLI, the library surface and tests read the same way, and nothing here writes. The layout it reads is documented in `docs/agent-transcripts.md`.
|
|
15507
|
-
*/
|
|
15508
|
-
/** The filesystem reads the agent tree reader needs. */
|
|
15509
|
-
type AgentReadFs = Pick<FarmFs, "readFileUtf8" | "readdir" | "lstat">;
|
|
15510
|
-
/** One session found under a project: its directory name split into the session id and whether the entry is an archived copy (superseded by a resume, or orphaned) rather than the live session. */
|
|
15511
|
-
interface SessionRef {
|
|
15512
|
-
readonly project: string;
|
|
15513
|
-
readonly sessionId: string;
|
|
15514
|
-
readonly superseded: boolean;
|
|
15515
|
-
/** The directory (and transcript stem) name exactly as on disk, which differs from `sessionId` for an archived copy. */
|
|
15516
|
-
readonly entry: string;
|
|
15517
|
-
}
|
|
15518
|
-
/** Lists every session under every project: a transcript file, or a directory holding agents or workflow runs. Sorted by project then entry so output is stable. */
|
|
15519
|
-
declare function listSessions(fs: AgentReadFs, configDir: string): readonly SessionRef[];
|
|
15520
|
-
/** One session in a listing: the cheap facts read from directory listings and one stat, without parsing any agent. */
|
|
15521
|
-
interface SessionSummary extends SessionRef {
|
|
15522
|
-
/** How many agent meta files the session has, across its top-level agents and every workflow run. */
|
|
15523
|
-
readonly agentCount: number;
|
|
15524
|
-
/** How many workflow run records the session has. */
|
|
15525
|
-
readonly workflowRunCount: number;
|
|
15526
|
-
/** When the session's transcript was last written, as an ISO instant; absent when there is no transcript file. */
|
|
15527
|
-
readonly updatedAt?: string;
|
|
15528
|
-
}
|
|
15529
|
-
/** What a caller knows about a session that the disk does not record. */
|
|
15530
|
-
interface ReadSessionOptions {
|
|
15531
|
-
/** Task lists the session was pointed at with `CLAUDE_CODE_TASK_LIST_ID`, which is a property of the process environment and is written nowhere in the session's files. Each is read from `tasks/<id>` and its tasks carry the id as `taskList`. */
|
|
15532
|
-
readonly taskListIds?: readonly string[];
|
|
15533
|
-
}
|
|
15534
|
-
/** Summarises one session without reading any agent file: listings and one stat only, so it is cheap over every session an identity has. */
|
|
15535
|
-
declare function summariseSession(fs: AgentReadFs, configDir: string, ref: Readonly<SessionRef>): SessionSummary;
|
|
15536
|
-
/**
|
|
15537
|
-
* Reads one session's agents, task list and workflow runs. Every file that cannot be used is listed in `problems` with the reason; a missing directory is simply an empty section, because a session that never spawned an agent has none.
|
|
15538
|
-
*/
|
|
15539
|
-
declare function readSessionAgentTree(fs: AgentReadFs, configDir: string, ref: SessionRef, options?: Readonly<ReadSessionOptions>): SessionAgentTree;
|
|
15540
|
-
|
|
15541
15622
|
/**
|
|
15542
15623
|
* A session's agents as a typed oRPC API: the sessions that spawned agents or ran workflows, and one session's agent tree, task list and workflow runs, read from the transcripts on disk. The same data `agent-shim session list` and `session show` print, so a consumer that is not the CLI (an MCP client, the library) asks the door for it.
|
|
15543
15624
|
*/
|
|
@@ -16100,12 +16181,12 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
|
|
|
16100
16181
|
identity: zod.ZodObject<{
|
|
16101
16182
|
name: zod.ZodNullable<zod.ZodString>;
|
|
16102
16183
|
source: zod.ZodEnum<{
|
|
16184
|
+
env: "env";
|
|
16185
|
+
none: "none";
|
|
16103
16186
|
"config-dir-escape-hatch": "config-dir-escape-hatch";
|
|
16104
16187
|
argv: "argv";
|
|
16105
|
-
env: "env";
|
|
16106
16188
|
"directory-pin": "directory-pin";
|
|
16107
16189
|
"active-identity-file": "active-identity-file";
|
|
16108
|
-
none: "none";
|
|
16109
16190
|
}>;
|
|
16110
16191
|
}, zod_v4_core.$strict>;
|
|
16111
16192
|
pool: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -16183,11 +16264,11 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
|
|
|
16183
16264
|
"category-default": "category-default";
|
|
16184
16265
|
}>;
|
|
16185
16266
|
category: zod.ZodNullable<zod.ZodEnum<{
|
|
16186
|
-
secret: "secret";
|
|
16187
16267
|
runtime: "runtime";
|
|
16188
16268
|
history: "history";
|
|
16189
16269
|
knowledge: "knowledge";
|
|
16190
16270
|
settings: "settings";
|
|
16271
|
+
secret: "secret";
|
|
16191
16272
|
}>>;
|
|
16192
16273
|
rule: zod.ZodOptional<zod.ZodObject<{
|
|
16193
16274
|
key: zod.ZodString;
|
|
@@ -16387,8 +16468,8 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
|
|
|
16387
16468
|
pinned: zod.ZodOptional<zod.ZodObject<{
|
|
16388
16469
|
version: zod.ZodString;
|
|
16389
16470
|
source: zod.ZodEnum<{
|
|
16390
|
-
flag: "flag";
|
|
16391
16471
|
environment: "environment";
|
|
16472
|
+
flag: "flag";
|
|
16392
16473
|
cascade: "cascade";
|
|
16393
16474
|
}>;
|
|
16394
16475
|
installed: zod.ZodBoolean;
|
|
@@ -16406,10 +16487,12 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
|
|
|
16406
16487
|
"global-config": "global-config";
|
|
16407
16488
|
"config-profile": "config-profile";
|
|
16408
16489
|
identity: "identity";
|
|
16490
|
+
keychain: "keychain";
|
|
16409
16491
|
provider: "provider";
|
|
16410
|
-
|
|
16492
|
+
headroom: "headroom";
|
|
16493
|
+
models: "models";
|
|
16411
16494
|
pool: "pool";
|
|
16412
|
-
|
|
16495
|
+
frontdoor: "frontdoor";
|
|
16413
16496
|
"ambient-credential": "ambient-credential";
|
|
16414
16497
|
"binary-discovery": "binary-discovery";
|
|
16415
16498
|
"claude-shim": "claude-shim";
|
|
@@ -16419,8 +16502,6 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
|
|
|
16419
16502
|
"directory-rules": "directory-rules";
|
|
16420
16503
|
"categories-local": "categories-local";
|
|
16421
16504
|
"active-identity": "active-identity";
|
|
16422
|
-
headroom: "headroom";
|
|
16423
|
-
models: "models";
|
|
16424
16505
|
}>;
|
|
16425
16506
|
subject: zod.ZodOptional<zod.ZodString>;
|
|
16426
16507
|
severity: zod.ZodEnum<{
|
|
@@ -16618,12 +16699,12 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
16618
16699
|
identity: zod.ZodOptional<zod.ZodString>;
|
|
16619
16700
|
identityId: zod.ZodOptional<zod.ZodString>;
|
|
16620
16701
|
identitySource: zod.ZodEnum<{
|
|
16702
|
+
env: "env";
|
|
16703
|
+
none: "none";
|
|
16621
16704
|
"config-dir-escape-hatch": "config-dir-escape-hatch";
|
|
16622
16705
|
argv: "argv";
|
|
16623
|
-
env: "env";
|
|
16624
16706
|
"directory-pin": "directory-pin";
|
|
16625
16707
|
"active-identity-file": "active-identity-file";
|
|
16626
|
-
none: "none";
|
|
16627
16708
|
}>;
|
|
16628
16709
|
pool: zod.ZodOptional<zod.ZodObject<{
|
|
16629
16710
|
name: zod.ZodString;
|
|
@@ -16671,32 +16752,32 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
16671
16752
|
}>>;
|
|
16672
16753
|
layout: zod.ZodOptional<zod.ZodObject<{
|
|
16673
16754
|
header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
16755
|
+
identity: "identity";
|
|
16674
16756
|
model: "model";
|
|
16675
16757
|
account: "account";
|
|
16676
|
-
identity: "identity";
|
|
16677
16758
|
provider: "provider";
|
|
16678
|
-
version: "version";
|
|
16679
16759
|
headroom: "headroom";
|
|
16680
|
-
duration: "duration";
|
|
16681
16760
|
route: "route";
|
|
16682
16761
|
project: "project";
|
|
16683
16762
|
vcs: "vcs";
|
|
16684
16763
|
effort: "effort";
|
|
16685
16764
|
advisor: "advisor";
|
|
16765
|
+
version: "version";
|
|
16686
16766
|
outputStyle: "outputStyle";
|
|
16687
16767
|
cost: "cost";
|
|
16688
16768
|
dailyCost: "dailyCost";
|
|
16689
16769
|
sessionName: "sessionName";
|
|
16770
|
+
duration: "duration";
|
|
16690
16771
|
speed: "speed";
|
|
16691
16772
|
extra: "extra";
|
|
16692
16773
|
}>>>;
|
|
16693
16774
|
rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
16694
16775
|
context: "context";
|
|
16695
16776
|
quota: "quota";
|
|
16696
|
-
environment: "environment";
|
|
16697
16777
|
addedDirs: "addedDirs";
|
|
16698
16778
|
gitFiles: "gitFiles";
|
|
16699
16779
|
memory: "memory";
|
|
16780
|
+
environment: "environment";
|
|
16700
16781
|
sessionTime: "sessionTime";
|
|
16701
16782
|
promptCache: "promptCache";
|
|
16702
16783
|
compactions: "compactions";
|
|
@@ -16719,10 +16800,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
16719
16800
|
merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
|
|
16720
16801
|
context: "context";
|
|
16721
16802
|
quota: "quota";
|
|
16722
|
-
environment: "environment";
|
|
16723
16803
|
addedDirs: "addedDirs";
|
|
16724
16804
|
gitFiles: "gitFiles";
|
|
16725
16805
|
memory: "memory";
|
|
16806
|
+
environment: "environment";
|
|
16726
16807
|
sessionTime: "sessionTime";
|
|
16727
16808
|
promptCache: "promptCache";
|
|
16728
16809
|
compactions: "compactions";
|
|
@@ -16736,10 +16817,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
16736
16817
|
rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
16737
16818
|
context: "context";
|
|
16738
16819
|
quota: "quota";
|
|
16739
|
-
environment: "environment";
|
|
16740
16820
|
addedDirs: "addedDirs";
|
|
16741
16821
|
gitFiles: "gitFiles";
|
|
16742
16822
|
memory: "memory";
|
|
16823
|
+
environment: "environment";
|
|
16743
16824
|
sessionTime: "sessionTime";
|
|
16744
16825
|
promptCache: "promptCache";
|
|
16745
16826
|
compactions: "compactions";
|
|
@@ -16798,10 +16879,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
16798
16879
|
hidden: "hidden";
|
|
16799
16880
|
}>>;
|
|
16800
16881
|
value: zod.ZodOptional<zod.ZodEnum<{
|
|
16801
|
-
remaining: "remaining";
|
|
16802
16882
|
tokens: "tokens";
|
|
16803
16883
|
both: "both";
|
|
16804
16884
|
percent: "percent";
|
|
16885
|
+
remaining: "remaining";
|
|
16805
16886
|
}>>;
|
|
16806
16887
|
estimate: zod.ZodOptional<zod.ZodEnum<{
|
|
16807
16888
|
never: "never";
|
|
@@ -16843,8 +16924,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
16843
16924
|
}, zod_v4_core.$strict>>;
|
|
16844
16925
|
usage: zod.ZodOptional<zod.ZodObject<{
|
|
16845
16926
|
value: zod.ZodOptional<zod.ZodEnum<{
|
|
16846
|
-
used: "used";
|
|
16847
16927
|
remaining: "remaining";
|
|
16928
|
+
used: "used";
|
|
16848
16929
|
}>>;
|
|
16849
16930
|
bar: zod.ZodOptional<zod.ZodBoolean>;
|
|
16850
16931
|
compact: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -17205,8 +17286,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
17205
17286
|
claudeVersion: zod.ZodOptional<zod.ZodObject<{
|
|
17206
17287
|
version: zod.ZodString;
|
|
17207
17288
|
source: zod.ZodEnum<{
|
|
17208
|
-
flag: "flag";
|
|
17209
17289
|
environment: "environment";
|
|
17290
|
+
flag: "flag";
|
|
17210
17291
|
cascade: "cascade";
|
|
17211
17292
|
}>;
|
|
17212
17293
|
}, zod_v4_core.$strict>>;
|
|
@@ -17554,53 +17635,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
17554
17635
|
}, zod_v4_core.$strip>], "kind">]>;
|
|
17555
17636
|
}, zod_v4_core.$strict>]>>>;
|
|
17556
17637
|
description: zod.ZodOptional<zod.ZodString>;
|
|
17557
|
-
models: zod.ZodOptional<zod.ZodObject<{
|
|
17558
|
-
pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
|
|
17559
|
-
virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
17560
|
-
mode: zod.ZodEnum<{
|
|
17561
|
-
ordered: "ordered";
|
|
17562
|
-
"most-allowance": "most-allowance";
|
|
17563
|
-
"soonest-reset": "soonest-reset";
|
|
17564
|
-
spread: "spread";
|
|
17565
|
-
adaptive: "adaptive";
|
|
17566
|
-
"lowest-latency": "lowest-latency";
|
|
17567
|
-
"highest-success": "highest-success";
|
|
17568
|
-
cheapest: "cheapest";
|
|
17569
|
-
}>;
|
|
17570
|
-
members: zod.ZodArray<zod.ZodString>;
|
|
17571
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
17572
|
-
tiers: zod.ZodOptional<zod.ZodObject<{
|
|
17573
|
-
fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
17574
|
-
opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
17575
|
-
sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
17576
|
-
haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
17577
|
-
}, zod_v4_core.$strict>>;
|
|
17578
|
-
prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
17579
|
-
input: zod.ZodNumber;
|
|
17580
|
-
output: zod.ZodNumber;
|
|
17581
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
17582
|
-
hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
17583
|
-
show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
17584
|
-
same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
|
|
17585
|
-
distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
|
|
17586
|
-
families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
17587
|
-
names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
17588
|
-
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
17589
|
-
ordered: "ordered";
|
|
17590
|
-
"most-allowance": "most-allowance";
|
|
17591
|
-
"soonest-reset": "soonest-reset";
|
|
17592
|
-
spread: "spread";
|
|
17593
|
-
adaptive: "adaptive";
|
|
17594
|
-
"lowest-latency": "lowest-latency";
|
|
17595
|
-
"highest-success": "highest-success";
|
|
17596
|
-
cheapest: "cheapest";
|
|
17597
|
-
}>>;
|
|
17598
|
-
context: zod.ZodOptional<zod.ZodNumber>;
|
|
17599
|
-
vision: zod.ZodOptional<zod.ZodBoolean>;
|
|
17600
|
-
tools: zod.ZodOptional<zod.ZodBoolean>;
|
|
17601
|
-
thinking: zod.ZodOptional<zod.ZodBoolean>;
|
|
17602
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
17603
|
-
}, zod_v4_core.$strict>>;
|
|
17604
17638
|
extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
17605
17639
|
categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
|
|
17606
17640
|
all: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -17642,32 +17676,32 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
17642
17676
|
}>>;
|
|
17643
17677
|
layout: zod.ZodOptional<zod.ZodObject<{
|
|
17644
17678
|
header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
17679
|
+
identity: "identity";
|
|
17645
17680
|
model: "model";
|
|
17646
17681
|
account: "account";
|
|
17647
|
-
identity: "identity";
|
|
17648
17682
|
provider: "provider";
|
|
17649
|
-
version: "version";
|
|
17650
17683
|
headroom: "headroom";
|
|
17651
|
-
duration: "duration";
|
|
17652
17684
|
route: "route";
|
|
17653
17685
|
project: "project";
|
|
17654
17686
|
vcs: "vcs";
|
|
17655
17687
|
effort: "effort";
|
|
17656
17688
|
advisor: "advisor";
|
|
17689
|
+
version: "version";
|
|
17657
17690
|
outputStyle: "outputStyle";
|
|
17658
17691
|
cost: "cost";
|
|
17659
17692
|
dailyCost: "dailyCost";
|
|
17660
17693
|
sessionName: "sessionName";
|
|
17694
|
+
duration: "duration";
|
|
17661
17695
|
speed: "speed";
|
|
17662
17696
|
extra: "extra";
|
|
17663
17697
|
}>>>;
|
|
17664
17698
|
rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
17665
17699
|
context: "context";
|
|
17666
17700
|
quota: "quota";
|
|
17667
|
-
environment: "environment";
|
|
17668
17701
|
addedDirs: "addedDirs";
|
|
17669
17702
|
gitFiles: "gitFiles";
|
|
17670
17703
|
memory: "memory";
|
|
17704
|
+
environment: "environment";
|
|
17671
17705
|
sessionTime: "sessionTime";
|
|
17672
17706
|
promptCache: "promptCache";
|
|
17673
17707
|
compactions: "compactions";
|
|
@@ -17690,10 +17724,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
17690
17724
|
merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
|
|
17691
17725
|
context: "context";
|
|
17692
17726
|
quota: "quota";
|
|
17693
|
-
environment: "environment";
|
|
17694
17727
|
addedDirs: "addedDirs";
|
|
17695
17728
|
gitFiles: "gitFiles";
|
|
17696
17729
|
memory: "memory";
|
|
17730
|
+
environment: "environment";
|
|
17697
17731
|
sessionTime: "sessionTime";
|
|
17698
17732
|
promptCache: "promptCache";
|
|
17699
17733
|
compactions: "compactions";
|
|
@@ -17707,10 +17741,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
17707
17741
|
rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
17708
17742
|
context: "context";
|
|
17709
17743
|
quota: "quota";
|
|
17710
|
-
environment: "environment";
|
|
17711
17744
|
addedDirs: "addedDirs";
|
|
17712
17745
|
gitFiles: "gitFiles";
|
|
17713
17746
|
memory: "memory";
|
|
17747
|
+
environment: "environment";
|
|
17714
17748
|
sessionTime: "sessionTime";
|
|
17715
17749
|
promptCache: "promptCache";
|
|
17716
17750
|
compactions: "compactions";
|
|
@@ -17769,10 +17803,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
17769
17803
|
hidden: "hidden";
|
|
17770
17804
|
}>>;
|
|
17771
17805
|
value: zod.ZodOptional<zod.ZodEnum<{
|
|
17772
|
-
remaining: "remaining";
|
|
17773
17806
|
tokens: "tokens";
|
|
17774
17807
|
both: "both";
|
|
17775
17808
|
percent: "percent";
|
|
17809
|
+
remaining: "remaining";
|
|
17776
17810
|
}>>;
|
|
17777
17811
|
estimate: zod.ZodOptional<zod.ZodEnum<{
|
|
17778
17812
|
never: "never";
|
|
@@ -17814,8 +17848,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
17814
17848
|
}, zod_v4_core.$strict>>;
|
|
17815
17849
|
usage: zod.ZodOptional<zod.ZodObject<{
|
|
17816
17850
|
value: zod.ZodOptional<zod.ZodEnum<{
|
|
17817
|
-
used: "used";
|
|
17818
17851
|
remaining: "remaining";
|
|
17852
|
+
used: "used";
|
|
17819
17853
|
}>>;
|
|
17820
17854
|
bar: zod.ZodOptional<zod.ZodBoolean>;
|
|
17821
17855
|
compact: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -18173,10 +18207,57 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
18173
18207
|
}, zod_v4_core.$strict>>;
|
|
18174
18208
|
}, zod_v4_core.$strict>>;
|
|
18175
18209
|
}, zod_v4_core.$strict>>;
|
|
18176
|
-
|
|
18177
|
-
|
|
18178
|
-
|
|
18179
|
-
|
|
18210
|
+
models: zod.ZodOptional<zod.ZodObject<{
|
|
18211
|
+
pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
|
|
18212
|
+
virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
18213
|
+
mode: zod.ZodEnum<{
|
|
18214
|
+
ordered: "ordered";
|
|
18215
|
+
"most-allowance": "most-allowance";
|
|
18216
|
+
"soonest-reset": "soonest-reset";
|
|
18217
|
+
spread: "spread";
|
|
18218
|
+
adaptive: "adaptive";
|
|
18219
|
+
"lowest-latency": "lowest-latency";
|
|
18220
|
+
"highest-success": "highest-success";
|
|
18221
|
+
cheapest: "cheapest";
|
|
18222
|
+
}>;
|
|
18223
|
+
members: zod.ZodArray<zod.ZodString>;
|
|
18224
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
18225
|
+
tiers: zod.ZodOptional<zod.ZodObject<{
|
|
18226
|
+
fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
18227
|
+
opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
18228
|
+
sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
18229
|
+
haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
18230
|
+
}, zod_v4_core.$strict>>;
|
|
18231
|
+
prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
18232
|
+
input: zod.ZodNumber;
|
|
18233
|
+
output: zod.ZodNumber;
|
|
18234
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
18235
|
+
hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
18236
|
+
show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
18237
|
+
same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
|
|
18238
|
+
distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
|
|
18239
|
+
families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
18240
|
+
names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
18241
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
18242
|
+
ordered: "ordered";
|
|
18243
|
+
"most-allowance": "most-allowance";
|
|
18244
|
+
"soonest-reset": "soonest-reset";
|
|
18245
|
+
spread: "spread";
|
|
18246
|
+
adaptive: "adaptive";
|
|
18247
|
+
"lowest-latency": "lowest-latency";
|
|
18248
|
+
"highest-success": "highest-success";
|
|
18249
|
+
cheapest: "cheapest";
|
|
18250
|
+
}>>;
|
|
18251
|
+
context: zod.ZodOptional<zod.ZodNumber>;
|
|
18252
|
+
vision: zod.ZodOptional<zod.ZodBoolean>;
|
|
18253
|
+
tools: zod.ZodOptional<zod.ZodBoolean>;
|
|
18254
|
+
thinking: zod.ZodOptional<zod.ZodBoolean>;
|
|
18255
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
18256
|
+
}, zod_v4_core.$strict>>;
|
|
18257
|
+
}, zod_v4_core.$strict>;
|
|
18258
|
+
}, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
18259
|
+
set: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
|
|
18260
|
+
name: zod.ZodString;
|
|
18180
18261
|
category: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodBoolean>>;
|
|
18181
18262
|
entry: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodBoolean>>;
|
|
18182
18263
|
extends: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodArray<zod.ZodString>, zod.ZodLiteral<false>]>>;
|
|
@@ -18278,53 +18359,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
18278
18359
|
}, zod_v4_core.$strip>], "kind">]>;
|
|
18279
18360
|
}, zod_v4_core.$strict>]>>>;
|
|
18280
18361
|
description: zod.ZodOptional<zod.ZodString>;
|
|
18281
|
-
models: zod.ZodOptional<zod.ZodObject<{
|
|
18282
|
-
pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
|
|
18283
|
-
virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
18284
|
-
mode: zod.ZodEnum<{
|
|
18285
|
-
ordered: "ordered";
|
|
18286
|
-
"most-allowance": "most-allowance";
|
|
18287
|
-
"soonest-reset": "soonest-reset";
|
|
18288
|
-
spread: "spread";
|
|
18289
|
-
adaptive: "adaptive";
|
|
18290
|
-
"lowest-latency": "lowest-latency";
|
|
18291
|
-
"highest-success": "highest-success";
|
|
18292
|
-
cheapest: "cheapest";
|
|
18293
|
-
}>;
|
|
18294
|
-
members: zod.ZodArray<zod.ZodString>;
|
|
18295
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
18296
|
-
tiers: zod.ZodOptional<zod.ZodObject<{
|
|
18297
|
-
fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
18298
|
-
opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
18299
|
-
sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
18300
|
-
haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
18301
|
-
}, zod_v4_core.$strict>>;
|
|
18302
|
-
prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
18303
|
-
input: zod.ZodNumber;
|
|
18304
|
-
output: zod.ZodNumber;
|
|
18305
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
18306
|
-
hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
18307
|
-
show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
18308
|
-
same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
|
|
18309
|
-
distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
|
|
18310
|
-
families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
18311
|
-
names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
18312
|
-
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
18313
|
-
ordered: "ordered";
|
|
18314
|
-
"most-allowance": "most-allowance";
|
|
18315
|
-
"soonest-reset": "soonest-reset";
|
|
18316
|
-
spread: "spread";
|
|
18317
|
-
adaptive: "adaptive";
|
|
18318
|
-
"lowest-latency": "lowest-latency";
|
|
18319
|
-
"highest-success": "highest-success";
|
|
18320
|
-
cheapest: "cheapest";
|
|
18321
|
-
}>>;
|
|
18322
|
-
context: zod.ZodOptional<zod.ZodNumber>;
|
|
18323
|
-
vision: zod.ZodOptional<zod.ZodBoolean>;
|
|
18324
|
-
tools: zod.ZodOptional<zod.ZodBoolean>;
|
|
18325
|
-
thinking: zod.ZodOptional<zod.ZodBoolean>;
|
|
18326
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
18327
|
-
}, zod_v4_core.$strict>>;
|
|
18328
18362
|
extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
18329
18363
|
categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
|
|
18330
18364
|
all: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -18366,32 +18400,32 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
18366
18400
|
}>>;
|
|
18367
18401
|
layout: zod.ZodOptional<zod.ZodObject<{
|
|
18368
18402
|
header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
18403
|
+
identity: "identity";
|
|
18369
18404
|
model: "model";
|
|
18370
18405
|
account: "account";
|
|
18371
|
-
identity: "identity";
|
|
18372
18406
|
provider: "provider";
|
|
18373
|
-
version: "version";
|
|
18374
18407
|
headroom: "headroom";
|
|
18375
|
-
duration: "duration";
|
|
18376
18408
|
route: "route";
|
|
18377
18409
|
project: "project";
|
|
18378
18410
|
vcs: "vcs";
|
|
18379
18411
|
effort: "effort";
|
|
18380
18412
|
advisor: "advisor";
|
|
18413
|
+
version: "version";
|
|
18381
18414
|
outputStyle: "outputStyle";
|
|
18382
18415
|
cost: "cost";
|
|
18383
18416
|
dailyCost: "dailyCost";
|
|
18384
18417
|
sessionName: "sessionName";
|
|
18418
|
+
duration: "duration";
|
|
18385
18419
|
speed: "speed";
|
|
18386
18420
|
extra: "extra";
|
|
18387
18421
|
}>>>;
|
|
18388
18422
|
rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
18389
18423
|
context: "context";
|
|
18390
18424
|
quota: "quota";
|
|
18391
|
-
environment: "environment";
|
|
18392
18425
|
addedDirs: "addedDirs";
|
|
18393
18426
|
gitFiles: "gitFiles";
|
|
18394
18427
|
memory: "memory";
|
|
18428
|
+
environment: "environment";
|
|
18395
18429
|
sessionTime: "sessionTime";
|
|
18396
18430
|
promptCache: "promptCache";
|
|
18397
18431
|
compactions: "compactions";
|
|
@@ -18414,10 +18448,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
18414
18448
|
merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
|
|
18415
18449
|
context: "context";
|
|
18416
18450
|
quota: "quota";
|
|
18417
|
-
environment: "environment";
|
|
18418
18451
|
addedDirs: "addedDirs";
|
|
18419
18452
|
gitFiles: "gitFiles";
|
|
18420
18453
|
memory: "memory";
|
|
18454
|
+
environment: "environment";
|
|
18421
18455
|
sessionTime: "sessionTime";
|
|
18422
18456
|
promptCache: "promptCache";
|
|
18423
18457
|
compactions: "compactions";
|
|
@@ -18431,10 +18465,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
18431
18465
|
rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
18432
18466
|
context: "context";
|
|
18433
18467
|
quota: "quota";
|
|
18434
|
-
environment: "environment";
|
|
18435
18468
|
addedDirs: "addedDirs";
|
|
18436
18469
|
gitFiles: "gitFiles";
|
|
18437
18470
|
memory: "memory";
|
|
18471
|
+
environment: "environment";
|
|
18438
18472
|
sessionTime: "sessionTime";
|
|
18439
18473
|
promptCache: "promptCache";
|
|
18440
18474
|
compactions: "compactions";
|
|
@@ -18493,10 +18527,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
18493
18527
|
hidden: "hidden";
|
|
18494
18528
|
}>>;
|
|
18495
18529
|
value: zod.ZodOptional<zod.ZodEnum<{
|
|
18496
|
-
remaining: "remaining";
|
|
18497
18530
|
tokens: "tokens";
|
|
18498
18531
|
both: "both";
|
|
18499
18532
|
percent: "percent";
|
|
18533
|
+
remaining: "remaining";
|
|
18500
18534
|
}>>;
|
|
18501
18535
|
estimate: zod.ZodOptional<zod.ZodEnum<{
|
|
18502
18536
|
never: "never";
|
|
@@ -18538,8 +18572,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
18538
18572
|
}, zod_v4_core.$strict>>;
|
|
18539
18573
|
usage: zod.ZodOptional<zod.ZodObject<{
|
|
18540
18574
|
value: zod.ZodOptional<zod.ZodEnum<{
|
|
18541
|
-
used: "used";
|
|
18542
18575
|
remaining: "remaining";
|
|
18576
|
+
used: "used";
|
|
18543
18577
|
}>>;
|
|
18544
18578
|
bar: zod.ZodOptional<zod.ZodBoolean>;
|
|
18545
18579
|
compact: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -18897,6 +18931,53 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
18897
18931
|
}, zod_v4_core.$strict>>;
|
|
18898
18932
|
}, zod_v4_core.$strict>>;
|
|
18899
18933
|
}, zod_v4_core.$strict>>;
|
|
18934
|
+
models: zod.ZodOptional<zod.ZodObject<{
|
|
18935
|
+
pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
|
|
18936
|
+
virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
18937
|
+
mode: zod.ZodEnum<{
|
|
18938
|
+
ordered: "ordered";
|
|
18939
|
+
"most-allowance": "most-allowance";
|
|
18940
|
+
"soonest-reset": "soonest-reset";
|
|
18941
|
+
spread: "spread";
|
|
18942
|
+
adaptive: "adaptive";
|
|
18943
|
+
"lowest-latency": "lowest-latency";
|
|
18944
|
+
"highest-success": "highest-success";
|
|
18945
|
+
cheapest: "cheapest";
|
|
18946
|
+
}>;
|
|
18947
|
+
members: zod.ZodArray<zod.ZodString>;
|
|
18948
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
18949
|
+
tiers: zod.ZodOptional<zod.ZodObject<{
|
|
18950
|
+
fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
18951
|
+
opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
18952
|
+
sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
18953
|
+
haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
18954
|
+
}, zod_v4_core.$strict>>;
|
|
18955
|
+
prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
18956
|
+
input: zod.ZodNumber;
|
|
18957
|
+
output: zod.ZodNumber;
|
|
18958
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
18959
|
+
hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
18960
|
+
show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
18961
|
+
same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
|
|
18962
|
+
distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
|
|
18963
|
+
families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
18964
|
+
names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
18965
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
18966
|
+
ordered: "ordered";
|
|
18967
|
+
"most-allowance": "most-allowance";
|
|
18968
|
+
"soonest-reset": "soonest-reset";
|
|
18969
|
+
spread: "spread";
|
|
18970
|
+
adaptive: "adaptive";
|
|
18971
|
+
"lowest-latency": "lowest-latency";
|
|
18972
|
+
"highest-success": "highest-success";
|
|
18973
|
+
cheapest: "cheapest";
|
|
18974
|
+
}>>;
|
|
18975
|
+
context: zod.ZodOptional<zod.ZodNumber>;
|
|
18976
|
+
vision: zod.ZodOptional<zod.ZodBoolean>;
|
|
18977
|
+
tools: zod.ZodOptional<zod.ZodBoolean>;
|
|
18978
|
+
thinking: zod.ZodOptional<zod.ZodBoolean>;
|
|
18979
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
18980
|
+
}, zod_v4_core.$strict>>;
|
|
18900
18981
|
}, zod_v4_core.$strict>;
|
|
18901
18982
|
}, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
18902
18983
|
remove: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
|
|
@@ -19134,8 +19215,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
19134
19215
|
add: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
|
|
19135
19216
|
name: zod.ZodString;
|
|
19136
19217
|
kind: zod.ZodOptional<zod.ZodEnum<{
|
|
19137
|
-
codex: "codex";
|
|
19138
19218
|
http: "http";
|
|
19219
|
+
codex: "codex";
|
|
19139
19220
|
antigravity: "antigravity";
|
|
19140
19221
|
router: "router";
|
|
19141
19222
|
}>>;
|
|
@@ -19198,8 +19279,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
19198
19279
|
value: zod.ZodObject<{
|
|
19199
19280
|
name: zod.ZodString;
|
|
19200
19281
|
kind: zod.ZodEnum<{
|
|
19201
|
-
codex: "codex";
|
|
19202
19282
|
http: "http";
|
|
19283
|
+
codex: "codex";
|
|
19203
19284
|
antigravity: "antigravity";
|
|
19204
19285
|
router: "router";
|
|
19205
19286
|
}>;
|
|
@@ -19321,8 +19402,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
19321
19402
|
value: zod.ZodObject<{
|
|
19322
19403
|
name: zod.ZodString;
|
|
19323
19404
|
kind: zod.ZodEnum<{
|
|
19324
|
-
codex: "codex";
|
|
19325
19405
|
http: "http";
|
|
19406
|
+
codex: "codex";
|
|
19326
19407
|
antigravity: "antigravity";
|
|
19327
19408
|
router: "router";
|
|
19328
19409
|
}>;
|
|
@@ -19477,55 +19558,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
19477
19558
|
key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
19478
19559
|
}, zod_v4_core.$strip>], "kind">]>;
|
|
19479
19560
|
}, zod_v4_core.$strict>]>>>;
|
|
19480
|
-
models: zod.ZodOptional<zod.ZodObject<{
|
|
19481
|
-
pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
|
|
19482
|
-
virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
19483
|
-
mode: zod.ZodEnum<{
|
|
19484
|
-
ordered: "ordered";
|
|
19485
|
-
"most-allowance": "most-allowance";
|
|
19486
|
-
"soonest-reset": "soonest-reset";
|
|
19487
|
-
spread: "spread";
|
|
19488
|
-
adaptive: "adaptive";
|
|
19489
|
-
"lowest-latency": "lowest-latency";
|
|
19490
|
-
"highest-success": "highest-success";
|
|
19491
|
-
cheapest: "cheapest";
|
|
19492
|
-
}>;
|
|
19493
|
-
members: zod.ZodArray<zod.ZodString>;
|
|
19494
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
19495
|
-
tiers: zod.ZodOptional<zod.ZodObject<{
|
|
19496
|
-
fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
19497
|
-
opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
19498
|
-
sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
19499
|
-
haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
19500
|
-
}, zod_v4_core.$strict>>;
|
|
19501
|
-
prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
19502
|
-
input: zod.ZodNumber;
|
|
19503
|
-
output: zod.ZodNumber;
|
|
19504
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
19505
|
-
hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
19506
|
-
show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
19507
|
-
same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
|
|
19508
|
-
distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
|
|
19509
|
-
families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
19510
|
-
names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
19511
|
-
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
19512
|
-
ordered: "ordered";
|
|
19513
|
-
"most-allowance": "most-allowance";
|
|
19514
|
-
"soonest-reset": "soonest-reset";
|
|
19515
|
-
spread: "spread";
|
|
19516
|
-
adaptive: "adaptive";
|
|
19517
|
-
"lowest-latency": "lowest-latency";
|
|
19518
|
-
"highest-success": "highest-success";
|
|
19519
|
-
cheapest: "cheapest";
|
|
19520
|
-
}>>;
|
|
19521
|
-
context: zod.ZodOptional<zod.ZodNumber>;
|
|
19522
|
-
vision: zod.ZodOptional<zod.ZodBoolean>;
|
|
19523
|
-
tools: zod.ZodOptional<zod.ZodBoolean>;
|
|
19524
|
-
thinking: zod.ZodOptional<zod.ZodBoolean>;
|
|
19525
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
19526
|
-
}, zod_v4_core.$strict>>;
|
|
19527
|
-
$schema: zod.ZodOptional<zod.ZodString>;
|
|
19528
19561
|
extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
19562
|
+
$schema: zod.ZodOptional<zod.ZodString>;
|
|
19529
19563
|
categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
|
|
19530
19564
|
all: zod.ZodOptional<zod.ZodBoolean>;
|
|
19531
19565
|
runtime: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -19566,32 +19600,32 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
19566
19600
|
}>>;
|
|
19567
19601
|
layout: zod.ZodOptional<zod.ZodObject<{
|
|
19568
19602
|
header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
19603
|
+
identity: "identity";
|
|
19569
19604
|
model: "model";
|
|
19570
19605
|
account: "account";
|
|
19571
|
-
identity: "identity";
|
|
19572
19606
|
provider: "provider";
|
|
19573
|
-
version: "version";
|
|
19574
19607
|
headroom: "headroom";
|
|
19575
|
-
duration: "duration";
|
|
19576
19608
|
route: "route";
|
|
19577
19609
|
project: "project";
|
|
19578
19610
|
vcs: "vcs";
|
|
19579
19611
|
effort: "effort";
|
|
19580
19612
|
advisor: "advisor";
|
|
19613
|
+
version: "version";
|
|
19581
19614
|
outputStyle: "outputStyle";
|
|
19582
19615
|
cost: "cost";
|
|
19583
19616
|
dailyCost: "dailyCost";
|
|
19584
19617
|
sessionName: "sessionName";
|
|
19618
|
+
duration: "duration";
|
|
19585
19619
|
speed: "speed";
|
|
19586
19620
|
extra: "extra";
|
|
19587
19621
|
}>>>;
|
|
19588
19622
|
rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
19589
19623
|
context: "context";
|
|
19590
19624
|
quota: "quota";
|
|
19591
|
-
environment: "environment";
|
|
19592
19625
|
addedDirs: "addedDirs";
|
|
19593
19626
|
gitFiles: "gitFiles";
|
|
19594
19627
|
memory: "memory";
|
|
19628
|
+
environment: "environment";
|
|
19595
19629
|
sessionTime: "sessionTime";
|
|
19596
19630
|
promptCache: "promptCache";
|
|
19597
19631
|
compactions: "compactions";
|
|
@@ -19614,10 +19648,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
19614
19648
|
merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
|
|
19615
19649
|
context: "context";
|
|
19616
19650
|
quota: "quota";
|
|
19617
|
-
environment: "environment";
|
|
19618
19651
|
addedDirs: "addedDirs";
|
|
19619
19652
|
gitFiles: "gitFiles";
|
|
19620
19653
|
memory: "memory";
|
|
19654
|
+
environment: "environment";
|
|
19621
19655
|
sessionTime: "sessionTime";
|
|
19622
19656
|
promptCache: "promptCache";
|
|
19623
19657
|
compactions: "compactions";
|
|
@@ -19631,10 +19665,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
19631
19665
|
rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
19632
19666
|
context: "context";
|
|
19633
19667
|
quota: "quota";
|
|
19634
|
-
environment: "environment";
|
|
19635
19668
|
addedDirs: "addedDirs";
|
|
19636
19669
|
gitFiles: "gitFiles";
|
|
19637
19670
|
memory: "memory";
|
|
19671
|
+
environment: "environment";
|
|
19638
19672
|
sessionTime: "sessionTime";
|
|
19639
19673
|
promptCache: "promptCache";
|
|
19640
19674
|
compactions: "compactions";
|
|
@@ -19693,10 +19727,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
19693
19727
|
hidden: "hidden";
|
|
19694
19728
|
}>>;
|
|
19695
19729
|
value: zod.ZodOptional<zod.ZodEnum<{
|
|
19696
|
-
remaining: "remaining";
|
|
19697
19730
|
tokens: "tokens";
|
|
19698
19731
|
both: "both";
|
|
19699
19732
|
percent: "percent";
|
|
19733
|
+
remaining: "remaining";
|
|
19700
19734
|
}>>;
|
|
19701
19735
|
estimate: zod.ZodOptional<zod.ZodEnum<{
|
|
19702
19736
|
never: "never";
|
|
@@ -19738,8 +19772,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
19738
19772
|
}, zod_v4_core.$strict>>;
|
|
19739
19773
|
usage: zod.ZodOptional<zod.ZodObject<{
|
|
19740
19774
|
value: zod.ZodOptional<zod.ZodEnum<{
|
|
19741
|
-
used: "used";
|
|
19742
19775
|
remaining: "remaining";
|
|
19776
|
+
used: "used";
|
|
19743
19777
|
}>>;
|
|
19744
19778
|
bar: zod.ZodOptional<zod.ZodBoolean>;
|
|
19745
19779
|
compact: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -20097,30 +20131,77 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
20097
20131
|
}, zod_v4_core.$strict>>;
|
|
20098
20132
|
}, zod_v4_core.$strict>>;
|
|
20099
20133
|
}, zod_v4_core.$strict>>;
|
|
20100
|
-
|
|
20101
|
-
|
|
20102
|
-
|
|
20103
|
-
|
|
20104
|
-
|
|
20105
|
-
|
|
20106
|
-
|
|
20107
|
-
|
|
20108
|
-
|
|
20109
|
-
|
|
20110
|
-
|
|
20111
|
-
|
|
20112
|
-
|
|
20113
|
-
|
|
20114
|
-
|
|
20115
|
-
|
|
20116
|
-
|
|
20117
|
-
|
|
20118
|
-
|
|
20119
|
-
|
|
20120
|
-
|
|
20121
|
-
|
|
20122
|
-
|
|
20123
|
-
|
|
20134
|
+
models: zod.ZodOptional<zod.ZodObject<{
|
|
20135
|
+
pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
|
|
20136
|
+
virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
20137
|
+
mode: zod.ZodEnum<{
|
|
20138
|
+
ordered: "ordered";
|
|
20139
|
+
"most-allowance": "most-allowance";
|
|
20140
|
+
"soonest-reset": "soonest-reset";
|
|
20141
|
+
spread: "spread";
|
|
20142
|
+
adaptive: "adaptive";
|
|
20143
|
+
"lowest-latency": "lowest-latency";
|
|
20144
|
+
"highest-success": "highest-success";
|
|
20145
|
+
cheapest: "cheapest";
|
|
20146
|
+
}>;
|
|
20147
|
+
members: zod.ZodArray<zod.ZodString>;
|
|
20148
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
20149
|
+
tiers: zod.ZodOptional<zod.ZodObject<{
|
|
20150
|
+
fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
20151
|
+
opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
20152
|
+
sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
20153
|
+
haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
20154
|
+
}, zod_v4_core.$strict>>;
|
|
20155
|
+
prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
20156
|
+
input: zod.ZodNumber;
|
|
20157
|
+
output: zod.ZodNumber;
|
|
20158
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
20159
|
+
hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
20160
|
+
show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
20161
|
+
same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
|
|
20162
|
+
distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
|
|
20163
|
+
families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
20164
|
+
names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
20165
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
20166
|
+
ordered: "ordered";
|
|
20167
|
+
"most-allowance": "most-allowance";
|
|
20168
|
+
"soonest-reset": "soonest-reset";
|
|
20169
|
+
spread: "spread";
|
|
20170
|
+
adaptive: "adaptive";
|
|
20171
|
+
"lowest-latency": "lowest-latency";
|
|
20172
|
+
"highest-success": "highest-success";
|
|
20173
|
+
cheapest: "cheapest";
|
|
20174
|
+
}>>;
|
|
20175
|
+
context: zod.ZodOptional<zod.ZodNumber>;
|
|
20176
|
+
vision: zod.ZodOptional<zod.ZodBoolean>;
|
|
20177
|
+
tools: zod.ZodOptional<zod.ZodBoolean>;
|
|
20178
|
+
thinking: zod.ZodOptional<zod.ZodBoolean>;
|
|
20179
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
20180
|
+
}, zod_v4_core.$strict>>;
|
|
20181
|
+
path: zod.ZodString;
|
|
20182
|
+
configProfile: zod.ZodOptional<zod.ZodString>;
|
|
20183
|
+
identity: zod.ZodOptional<zod.ZodString>;
|
|
20184
|
+
when: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
20185
|
+
newerThan: zod.ZodOptional<zod.ZodString>;
|
|
20186
|
+
olderThan: zod.ZodOptional<zod.ZodString>;
|
|
20187
|
+
maxSizeBytes: zod.ZodOptional<zod.ZodInt>;
|
|
20188
|
+
branch: zod.ZodOptional<zod.ZodString>;
|
|
20189
|
+
env: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
20190
|
+
}, zod_v4_core.$strict>, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
|
|
20191
|
+
kind: zod.ZodLiteral<"not">;
|
|
20192
|
+
operand: typeof trilean.PredicateNodeSchema;
|
|
20193
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
20194
|
+
kind: zod.ZodLiteral<"and">;
|
|
20195
|
+
left: typeof trilean.PredicateNodeSchema;
|
|
20196
|
+
right: typeof trilean.PredicateNodeSchema;
|
|
20197
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
20198
|
+
kind: zod.ZodLiteral<"or">;
|
|
20199
|
+
left: typeof trilean.PredicateNodeSchema;
|
|
20200
|
+
right: typeof trilean.PredicateNodeSchema;
|
|
20201
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
20202
|
+
kind: zod.ZodLiteral<"allOf">;
|
|
20203
|
+
operands: zod.ZodArray<typeof trilean.PredicateNodeSchema>;
|
|
20204
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
20124
20205
|
kind: zod.ZodLiteral<"anyOf">;
|
|
20125
20206
|
operands: zod.ZodArray<typeof trilean.PredicateNodeSchema>;
|
|
20126
20207
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
@@ -20258,55 +20339,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
20258
20339
|
key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
20259
20340
|
}, zod_v4_core.$strip>], "kind">]>;
|
|
20260
20341
|
}, zod_v4_core.$strict>]>>>;
|
|
20261
|
-
models: zod.ZodOptional<zod.ZodObject<{
|
|
20262
|
-
pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
|
|
20263
|
-
virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
20264
|
-
mode: zod.ZodEnum<{
|
|
20265
|
-
ordered: "ordered";
|
|
20266
|
-
"most-allowance": "most-allowance";
|
|
20267
|
-
"soonest-reset": "soonest-reset";
|
|
20268
|
-
spread: "spread";
|
|
20269
|
-
adaptive: "adaptive";
|
|
20270
|
-
"lowest-latency": "lowest-latency";
|
|
20271
|
-
"highest-success": "highest-success";
|
|
20272
|
-
cheapest: "cheapest";
|
|
20273
|
-
}>;
|
|
20274
|
-
members: zod.ZodArray<zod.ZodString>;
|
|
20275
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
20276
|
-
tiers: zod.ZodOptional<zod.ZodObject<{
|
|
20277
|
-
fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
20278
|
-
opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
20279
|
-
sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
20280
|
-
haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
20281
|
-
}, zod_v4_core.$strict>>;
|
|
20282
|
-
prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
20283
|
-
input: zod.ZodNumber;
|
|
20284
|
-
output: zod.ZodNumber;
|
|
20285
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
20286
|
-
hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
20287
|
-
show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
20288
|
-
same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
|
|
20289
|
-
distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
|
|
20290
|
-
families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
20291
|
-
names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
20292
|
-
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
20293
|
-
ordered: "ordered";
|
|
20294
|
-
"most-allowance": "most-allowance";
|
|
20295
|
-
"soonest-reset": "soonest-reset";
|
|
20296
|
-
spread: "spread";
|
|
20297
|
-
adaptive: "adaptive";
|
|
20298
|
-
"lowest-latency": "lowest-latency";
|
|
20299
|
-
"highest-success": "highest-success";
|
|
20300
|
-
cheapest: "cheapest";
|
|
20301
|
-
}>>;
|
|
20302
|
-
context: zod.ZodOptional<zod.ZodNumber>;
|
|
20303
|
-
vision: zod.ZodOptional<zod.ZodBoolean>;
|
|
20304
|
-
tools: zod.ZodOptional<zod.ZodBoolean>;
|
|
20305
|
-
thinking: zod.ZodOptional<zod.ZodBoolean>;
|
|
20306
|
-
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
20307
|
-
}, zod_v4_core.$strict>>;
|
|
20308
|
-
$schema: zod.ZodOptional<zod.ZodString>;
|
|
20309
20342
|
extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
20343
|
+
$schema: zod.ZodOptional<zod.ZodString>;
|
|
20310
20344
|
categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
|
|
20311
20345
|
all: zod.ZodOptional<zod.ZodBoolean>;
|
|
20312
20346
|
runtime: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -20347,32 +20381,32 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
20347
20381
|
}>>;
|
|
20348
20382
|
layout: zod.ZodOptional<zod.ZodObject<{
|
|
20349
20383
|
header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
20384
|
+
identity: "identity";
|
|
20350
20385
|
model: "model";
|
|
20351
20386
|
account: "account";
|
|
20352
|
-
identity: "identity";
|
|
20353
20387
|
provider: "provider";
|
|
20354
|
-
version: "version";
|
|
20355
20388
|
headroom: "headroom";
|
|
20356
|
-
duration: "duration";
|
|
20357
20389
|
route: "route";
|
|
20358
20390
|
project: "project";
|
|
20359
20391
|
vcs: "vcs";
|
|
20360
20392
|
effort: "effort";
|
|
20361
20393
|
advisor: "advisor";
|
|
20394
|
+
version: "version";
|
|
20362
20395
|
outputStyle: "outputStyle";
|
|
20363
20396
|
cost: "cost";
|
|
20364
20397
|
dailyCost: "dailyCost";
|
|
20365
20398
|
sessionName: "sessionName";
|
|
20399
|
+
duration: "duration";
|
|
20366
20400
|
speed: "speed";
|
|
20367
20401
|
extra: "extra";
|
|
20368
20402
|
}>>>;
|
|
20369
20403
|
rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
20370
20404
|
context: "context";
|
|
20371
20405
|
quota: "quota";
|
|
20372
|
-
environment: "environment";
|
|
20373
20406
|
addedDirs: "addedDirs";
|
|
20374
20407
|
gitFiles: "gitFiles";
|
|
20375
20408
|
memory: "memory";
|
|
20409
|
+
environment: "environment";
|
|
20376
20410
|
sessionTime: "sessionTime";
|
|
20377
20411
|
promptCache: "promptCache";
|
|
20378
20412
|
compactions: "compactions";
|
|
@@ -20395,10 +20429,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
20395
20429
|
merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
|
|
20396
20430
|
context: "context";
|
|
20397
20431
|
quota: "quota";
|
|
20398
|
-
environment: "environment";
|
|
20399
20432
|
addedDirs: "addedDirs";
|
|
20400
20433
|
gitFiles: "gitFiles";
|
|
20401
20434
|
memory: "memory";
|
|
20435
|
+
environment: "environment";
|
|
20402
20436
|
sessionTime: "sessionTime";
|
|
20403
20437
|
promptCache: "promptCache";
|
|
20404
20438
|
compactions: "compactions";
|
|
@@ -20412,10 +20446,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
20412
20446
|
rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
20413
20447
|
context: "context";
|
|
20414
20448
|
quota: "quota";
|
|
20415
|
-
environment: "environment";
|
|
20416
20449
|
addedDirs: "addedDirs";
|
|
20417
20450
|
gitFiles: "gitFiles";
|
|
20418
20451
|
memory: "memory";
|
|
20452
|
+
environment: "environment";
|
|
20419
20453
|
sessionTime: "sessionTime";
|
|
20420
20454
|
promptCache: "promptCache";
|
|
20421
20455
|
compactions: "compactions";
|
|
@@ -20474,10 +20508,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
20474
20508
|
hidden: "hidden";
|
|
20475
20509
|
}>>;
|
|
20476
20510
|
value: zod.ZodOptional<zod.ZodEnum<{
|
|
20477
|
-
remaining: "remaining";
|
|
20478
20511
|
tokens: "tokens";
|
|
20479
20512
|
both: "both";
|
|
20480
20513
|
percent: "percent";
|
|
20514
|
+
remaining: "remaining";
|
|
20481
20515
|
}>>;
|
|
20482
20516
|
estimate: zod.ZodOptional<zod.ZodEnum<{
|
|
20483
20517
|
never: "never";
|
|
@@ -20519,8 +20553,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
20519
20553
|
}, zod_v4_core.$strict>>;
|
|
20520
20554
|
usage: zod.ZodOptional<zod.ZodObject<{
|
|
20521
20555
|
value: zod.ZodOptional<zod.ZodEnum<{
|
|
20522
|
-
used: "used";
|
|
20523
20556
|
remaining: "remaining";
|
|
20557
|
+
used: "used";
|
|
20524
20558
|
}>>;
|
|
20525
20559
|
bar: zod.ZodOptional<zod.ZodBoolean>;
|
|
20526
20560
|
compact: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -20878,6 +20912,53 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
20878
20912
|
}, zod_v4_core.$strict>>;
|
|
20879
20913
|
}, zod_v4_core.$strict>>;
|
|
20880
20914
|
}, zod_v4_core.$strict>>;
|
|
20915
|
+
models: zod.ZodOptional<zod.ZodObject<{
|
|
20916
|
+
pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
|
|
20917
|
+
virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
20918
|
+
mode: zod.ZodEnum<{
|
|
20919
|
+
ordered: "ordered";
|
|
20920
|
+
"most-allowance": "most-allowance";
|
|
20921
|
+
"soonest-reset": "soonest-reset";
|
|
20922
|
+
spread: "spread";
|
|
20923
|
+
adaptive: "adaptive";
|
|
20924
|
+
"lowest-latency": "lowest-latency";
|
|
20925
|
+
"highest-success": "highest-success";
|
|
20926
|
+
cheapest: "cheapest";
|
|
20927
|
+
}>;
|
|
20928
|
+
members: zod.ZodArray<zod.ZodString>;
|
|
20929
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
20930
|
+
tiers: zod.ZodOptional<zod.ZodObject<{
|
|
20931
|
+
fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
20932
|
+
opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
20933
|
+
sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
20934
|
+
haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
20935
|
+
}, zod_v4_core.$strict>>;
|
|
20936
|
+
prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
20937
|
+
input: zod.ZodNumber;
|
|
20938
|
+
output: zod.ZodNumber;
|
|
20939
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
20940
|
+
hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
20941
|
+
show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
20942
|
+
same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
|
|
20943
|
+
distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
|
|
20944
|
+
families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
20945
|
+
names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
20946
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
20947
|
+
ordered: "ordered";
|
|
20948
|
+
"most-allowance": "most-allowance";
|
|
20949
|
+
"soonest-reset": "soonest-reset";
|
|
20950
|
+
spread: "spread";
|
|
20951
|
+
adaptive: "adaptive";
|
|
20952
|
+
"lowest-latency": "lowest-latency";
|
|
20953
|
+
"highest-success": "highest-success";
|
|
20954
|
+
cheapest: "cheapest";
|
|
20955
|
+
}>>;
|
|
20956
|
+
context: zod.ZodOptional<zod.ZodNumber>;
|
|
20957
|
+
vision: zod.ZodOptional<zod.ZodBoolean>;
|
|
20958
|
+
tools: zod.ZodOptional<zod.ZodBoolean>;
|
|
20959
|
+
thinking: zod.ZodOptional<zod.ZodBoolean>;
|
|
20960
|
+
}, zod_v4_core.$strict>, zod.ZodNull]>>>;
|
|
20961
|
+
}, zod_v4_core.$strict>>;
|
|
20881
20962
|
path: zod.ZodString;
|
|
20882
20963
|
configProfile: zod.ZodOptional<zod.ZodString>;
|
|
20883
20964
|
identity: zod.ZodOptional<zod.ZodString>;
|
|
@@ -20970,9 +21051,9 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
20970
21051
|
current: zod.ZodString;
|
|
20971
21052
|
latest: zod.ZodString;
|
|
20972
21053
|
action: zod.ZodEnum<{
|
|
21054
|
+
updated: "updated";
|
|
20973
21055
|
current: "current";
|
|
20974
21056
|
available: "available";
|
|
20975
|
-
updated: "updated";
|
|
20976
21057
|
}>;
|
|
20977
21058
|
}, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
20978
21059
|
};
|
|
@@ -21175,12 +21256,12 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
21175
21256
|
identity: zod.ZodObject<{
|
|
21176
21257
|
name: zod.ZodNullable<zod.ZodString>;
|
|
21177
21258
|
source: zod.ZodEnum<{
|
|
21259
|
+
env: "env";
|
|
21260
|
+
none: "none";
|
|
21178
21261
|
"config-dir-escape-hatch": "config-dir-escape-hatch";
|
|
21179
21262
|
argv: "argv";
|
|
21180
|
-
env: "env";
|
|
21181
21263
|
"directory-pin": "directory-pin";
|
|
21182
21264
|
"active-identity-file": "active-identity-file";
|
|
21183
|
-
none: "none";
|
|
21184
21265
|
}>;
|
|
21185
21266
|
}, zod_v4_core.$strict>;
|
|
21186
21267
|
pool: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -21258,11 +21339,11 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
21258
21339
|
"category-default": "category-default";
|
|
21259
21340
|
}>;
|
|
21260
21341
|
category: zod.ZodNullable<zod.ZodEnum<{
|
|
21261
|
-
secret: "secret";
|
|
21262
21342
|
runtime: "runtime";
|
|
21263
21343
|
history: "history";
|
|
21264
21344
|
knowledge: "knowledge";
|
|
21265
21345
|
settings: "settings";
|
|
21346
|
+
secret: "secret";
|
|
21266
21347
|
}>>;
|
|
21267
21348
|
rule: zod.ZodOptional<zod.ZodObject<{
|
|
21268
21349
|
key: zod.ZodString;
|
|
@@ -21462,8 +21543,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
21462
21543
|
pinned: zod.ZodOptional<zod.ZodObject<{
|
|
21463
21544
|
version: zod.ZodString;
|
|
21464
21545
|
source: zod.ZodEnum<{
|
|
21465
|
-
flag: "flag";
|
|
21466
21546
|
environment: "environment";
|
|
21547
|
+
flag: "flag";
|
|
21467
21548
|
cascade: "cascade";
|
|
21468
21549
|
}>;
|
|
21469
21550
|
installed: zod.ZodBoolean;
|
|
@@ -21481,10 +21562,12 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
21481
21562
|
"global-config": "global-config";
|
|
21482
21563
|
"config-profile": "config-profile";
|
|
21483
21564
|
identity: "identity";
|
|
21565
|
+
keychain: "keychain";
|
|
21484
21566
|
provider: "provider";
|
|
21485
|
-
|
|
21567
|
+
headroom: "headroom";
|
|
21568
|
+
models: "models";
|
|
21486
21569
|
pool: "pool";
|
|
21487
|
-
|
|
21570
|
+
frontdoor: "frontdoor";
|
|
21488
21571
|
"ambient-credential": "ambient-credential";
|
|
21489
21572
|
"binary-discovery": "binary-discovery";
|
|
21490
21573
|
"claude-shim": "claude-shim";
|
|
@@ -21494,8 +21577,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
21494
21577
|
"directory-rules": "directory-rules";
|
|
21495
21578
|
"categories-local": "categories-local";
|
|
21496
21579
|
"active-identity": "active-identity";
|
|
21497
|
-
headroom: "headroom";
|
|
21498
|
-
models: "models";
|
|
21499
21580
|
}>;
|
|
21500
21581
|
subject: zod.ZodOptional<zod.ZodString>;
|
|
21501
21582
|
severity: zod.ZodEnum<{
|
|
@@ -21647,6 +21728,11 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
21647
21728
|
summary: zod.ZodString;
|
|
21648
21729
|
observedAt: zod.ZodNumber;
|
|
21649
21730
|
}, zod_v4_core.$strict>>>;
|
|
21731
|
+
identity: zod.ZodOptional<zod.ZodString>;
|
|
21732
|
+
model: zod.ZodOptional<zod.ZodString>;
|
|
21733
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
21734
|
+
pid: zod.ZodOptional<zod.ZodNumber>;
|
|
21735
|
+
cwd: zod.ZodOptional<zod.ZodString>;
|
|
21650
21736
|
id: zod.ZodString;
|
|
21651
21737
|
createdAt: zod.ZodNumber;
|
|
21652
21738
|
lastSeenAt: zod.ZodNumber;
|
|
@@ -22159,53 +22245,6 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
|
|
|
22159
22245
|
}, z.core.$strip>], "kind">]>;
|
|
22160
22246
|
}, z.core.$strict>]>>>;
|
|
22161
22247
|
description: z.ZodOptional<z.ZodString>;
|
|
22162
|
-
models: z.ZodOptional<z.ZodObject<{
|
|
22163
|
-
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
22164
|
-
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
22165
|
-
mode: z.ZodEnum<{
|
|
22166
|
-
ordered: "ordered";
|
|
22167
|
-
"most-allowance": "most-allowance";
|
|
22168
|
-
"soonest-reset": "soonest-reset";
|
|
22169
|
-
spread: "spread";
|
|
22170
|
-
adaptive: "adaptive";
|
|
22171
|
-
"lowest-latency": "lowest-latency";
|
|
22172
|
-
"highest-success": "highest-success";
|
|
22173
|
-
cheapest: "cheapest";
|
|
22174
|
-
}>;
|
|
22175
|
-
members: z.ZodArray<z.ZodString>;
|
|
22176
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
22177
|
-
tiers: z.ZodOptional<z.ZodObject<{
|
|
22178
|
-
fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
22179
|
-
opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
22180
|
-
sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
22181
|
-
haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
22182
|
-
}, z.core.$strict>>;
|
|
22183
|
-
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
22184
|
-
input: z.ZodNumber;
|
|
22185
|
-
output: z.ZodNumber;
|
|
22186
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
22187
|
-
hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22188
|
-
show: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22189
|
-
same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
22190
|
-
distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
|
|
22191
|
-
families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
22192
|
-
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22193
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
22194
|
-
ordered: "ordered";
|
|
22195
|
-
"most-allowance": "most-allowance";
|
|
22196
|
-
"soonest-reset": "soonest-reset";
|
|
22197
|
-
spread: "spread";
|
|
22198
|
-
adaptive: "adaptive";
|
|
22199
|
-
"lowest-latency": "lowest-latency";
|
|
22200
|
-
"highest-success": "highest-success";
|
|
22201
|
-
cheapest: "cheapest";
|
|
22202
|
-
}>>;
|
|
22203
|
-
context: z.ZodOptional<z.ZodNumber>;
|
|
22204
|
-
vision: z.ZodOptional<z.ZodBoolean>;
|
|
22205
|
-
tools: z.ZodOptional<z.ZodBoolean>;
|
|
22206
|
-
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
22207
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
22208
|
-
}, z.core.$strict>>;
|
|
22209
22248
|
extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22210
22249
|
categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
|
|
22211
22250
|
all: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -22247,32 +22286,32 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
|
|
|
22247
22286
|
}>>;
|
|
22248
22287
|
layout: z.ZodOptional<z.ZodObject<{
|
|
22249
22288
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
22289
|
+
identity: "identity";
|
|
22250
22290
|
model: "model";
|
|
22251
22291
|
account: "account";
|
|
22252
|
-
identity: "identity";
|
|
22253
22292
|
provider: "provider";
|
|
22254
|
-
version: "version";
|
|
22255
22293
|
headroom: "headroom";
|
|
22256
|
-
duration: "duration";
|
|
22257
22294
|
route: "route";
|
|
22258
22295
|
project: "project";
|
|
22259
22296
|
vcs: "vcs";
|
|
22260
22297
|
effort: "effort";
|
|
22261
22298
|
advisor: "advisor";
|
|
22299
|
+
version: "version";
|
|
22262
22300
|
outputStyle: "outputStyle";
|
|
22263
22301
|
cost: "cost";
|
|
22264
22302
|
dailyCost: "dailyCost";
|
|
22265
22303
|
sessionName: "sessionName";
|
|
22304
|
+
duration: "duration";
|
|
22266
22305
|
speed: "speed";
|
|
22267
22306
|
extra: "extra";
|
|
22268
22307
|
}>>>;
|
|
22269
22308
|
rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
22270
22309
|
context: "context";
|
|
22271
22310
|
quota: "quota";
|
|
22272
|
-
environment: "environment";
|
|
22273
22311
|
addedDirs: "addedDirs";
|
|
22274
22312
|
gitFiles: "gitFiles";
|
|
22275
22313
|
memory: "memory";
|
|
22314
|
+
environment: "environment";
|
|
22276
22315
|
sessionTime: "sessionTime";
|
|
22277
22316
|
promptCache: "promptCache";
|
|
22278
22317
|
compactions: "compactions";
|
|
@@ -22295,10 +22334,10 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
|
|
|
22295
22334
|
merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
|
|
22296
22335
|
context: "context";
|
|
22297
22336
|
quota: "quota";
|
|
22298
|
-
environment: "environment";
|
|
22299
22337
|
addedDirs: "addedDirs";
|
|
22300
22338
|
gitFiles: "gitFiles";
|
|
22301
22339
|
memory: "memory";
|
|
22340
|
+
environment: "environment";
|
|
22302
22341
|
sessionTime: "sessionTime";
|
|
22303
22342
|
promptCache: "promptCache";
|
|
22304
22343
|
compactions: "compactions";
|
|
@@ -22312,10 +22351,10 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
|
|
|
22312
22351
|
rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
22313
22352
|
context: "context";
|
|
22314
22353
|
quota: "quota";
|
|
22315
|
-
environment: "environment";
|
|
22316
22354
|
addedDirs: "addedDirs";
|
|
22317
22355
|
gitFiles: "gitFiles";
|
|
22318
22356
|
memory: "memory";
|
|
22357
|
+
environment: "environment";
|
|
22319
22358
|
sessionTime: "sessionTime";
|
|
22320
22359
|
promptCache: "promptCache";
|
|
22321
22360
|
compactions: "compactions";
|
|
@@ -22374,10 +22413,10 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
|
|
|
22374
22413
|
hidden: "hidden";
|
|
22375
22414
|
}>>;
|
|
22376
22415
|
value: z.ZodOptional<z.ZodEnum<{
|
|
22377
|
-
remaining: "remaining";
|
|
22378
22416
|
tokens: "tokens";
|
|
22379
22417
|
both: "both";
|
|
22380
22418
|
percent: "percent";
|
|
22419
|
+
remaining: "remaining";
|
|
22381
22420
|
}>>;
|
|
22382
22421
|
estimate: z.ZodOptional<z.ZodEnum<{
|
|
22383
22422
|
never: "never";
|
|
@@ -22419,8 +22458,8 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
|
|
|
22419
22458
|
}, z.core.$strict>>;
|
|
22420
22459
|
usage: z.ZodOptional<z.ZodObject<{
|
|
22421
22460
|
value: z.ZodOptional<z.ZodEnum<{
|
|
22422
|
-
used: "used";
|
|
22423
22461
|
remaining: "remaining";
|
|
22462
|
+
used: "used";
|
|
22424
22463
|
}>>;
|
|
22425
22464
|
bar: z.ZodOptional<z.ZodBoolean>;
|
|
22426
22465
|
compact: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -22778,6 +22817,53 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
|
|
|
22778
22817
|
}, z.core.$strict>>;
|
|
22779
22818
|
}, z.core.$strict>>;
|
|
22780
22819
|
}, z.core.$strict>>;
|
|
22820
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
22821
|
+
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
22822
|
+
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
22823
|
+
mode: z.ZodEnum<{
|
|
22824
|
+
ordered: "ordered";
|
|
22825
|
+
"most-allowance": "most-allowance";
|
|
22826
|
+
"soonest-reset": "soonest-reset";
|
|
22827
|
+
spread: "spread";
|
|
22828
|
+
adaptive: "adaptive";
|
|
22829
|
+
"lowest-latency": "lowest-latency";
|
|
22830
|
+
"highest-success": "highest-success";
|
|
22831
|
+
cheapest: "cheapest";
|
|
22832
|
+
}>;
|
|
22833
|
+
members: z.ZodArray<z.ZodString>;
|
|
22834
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
22835
|
+
tiers: z.ZodOptional<z.ZodObject<{
|
|
22836
|
+
fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
22837
|
+
opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
22838
|
+
sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
22839
|
+
haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
22840
|
+
}, z.core.$strict>>;
|
|
22841
|
+
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
22842
|
+
input: z.ZodNumber;
|
|
22843
|
+
output: z.ZodNumber;
|
|
22844
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
22845
|
+
hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22846
|
+
show: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22847
|
+
same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
22848
|
+
distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
|
|
22849
|
+
families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
22850
|
+
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22851
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
22852
|
+
ordered: "ordered";
|
|
22853
|
+
"most-allowance": "most-allowance";
|
|
22854
|
+
"soonest-reset": "soonest-reset";
|
|
22855
|
+
spread: "spread";
|
|
22856
|
+
adaptive: "adaptive";
|
|
22857
|
+
"lowest-latency": "lowest-latency";
|
|
22858
|
+
"highest-success": "highest-success";
|
|
22859
|
+
cheapest: "cheapest";
|
|
22860
|
+
}>>;
|
|
22861
|
+
context: z.ZodOptional<z.ZodNumber>;
|
|
22862
|
+
vision: z.ZodOptional<z.ZodBoolean>;
|
|
22863
|
+
tools: z.ZodOptional<z.ZodBoolean>;
|
|
22864
|
+
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
22865
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
22866
|
+
}, z.core.$strict>>;
|
|
22781
22867
|
}, z.core.$strict>;
|
|
22782
22868
|
}, z.core.$strict>;
|
|
22783
22869
|
/** `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. */
|
|
@@ -22885,53 +22971,6 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
|
|
|
22885
22971
|
}, z.core.$strip>], "kind">]>;
|
|
22886
22972
|
}, z.core.$strict>]>>>;
|
|
22887
22973
|
description: z.ZodOptional<z.ZodString>;
|
|
22888
|
-
models: z.ZodOptional<z.ZodObject<{
|
|
22889
|
-
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
22890
|
-
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
22891
|
-
mode: z.ZodEnum<{
|
|
22892
|
-
ordered: "ordered";
|
|
22893
|
-
"most-allowance": "most-allowance";
|
|
22894
|
-
"soonest-reset": "soonest-reset";
|
|
22895
|
-
spread: "spread";
|
|
22896
|
-
adaptive: "adaptive";
|
|
22897
|
-
"lowest-latency": "lowest-latency";
|
|
22898
|
-
"highest-success": "highest-success";
|
|
22899
|
-
cheapest: "cheapest";
|
|
22900
|
-
}>;
|
|
22901
|
-
members: z.ZodArray<z.ZodString>;
|
|
22902
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
22903
|
-
tiers: z.ZodOptional<z.ZodObject<{
|
|
22904
|
-
fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
22905
|
-
opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
22906
|
-
sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
22907
|
-
haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
22908
|
-
}, z.core.$strict>>;
|
|
22909
|
-
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
22910
|
-
input: z.ZodNumber;
|
|
22911
|
-
output: z.ZodNumber;
|
|
22912
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
22913
|
-
hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22914
|
-
show: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22915
|
-
same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
22916
|
-
distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
|
|
22917
|
-
families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
22918
|
-
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22919
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
22920
|
-
ordered: "ordered";
|
|
22921
|
-
"most-allowance": "most-allowance";
|
|
22922
|
-
"soonest-reset": "soonest-reset";
|
|
22923
|
-
spread: "spread";
|
|
22924
|
-
adaptive: "adaptive";
|
|
22925
|
-
"lowest-latency": "lowest-latency";
|
|
22926
|
-
"highest-success": "highest-success";
|
|
22927
|
-
cheapest: "cheapest";
|
|
22928
|
-
}>>;
|
|
22929
|
-
context: z.ZodOptional<z.ZodNumber>;
|
|
22930
|
-
vision: z.ZodOptional<z.ZodBoolean>;
|
|
22931
|
-
tools: z.ZodOptional<z.ZodBoolean>;
|
|
22932
|
-
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
22933
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
22934
|
-
}, z.core.$strict>>;
|
|
22935
22974
|
extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22936
22975
|
categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
|
|
22937
22976
|
all: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -22973,32 +23012,32 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
|
|
|
22973
23012
|
}>>;
|
|
22974
23013
|
layout: z.ZodOptional<z.ZodObject<{
|
|
22975
23014
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
23015
|
+
identity: "identity";
|
|
22976
23016
|
model: "model";
|
|
22977
23017
|
account: "account";
|
|
22978
|
-
identity: "identity";
|
|
22979
23018
|
provider: "provider";
|
|
22980
|
-
version: "version";
|
|
22981
23019
|
headroom: "headroom";
|
|
22982
|
-
duration: "duration";
|
|
22983
23020
|
route: "route";
|
|
22984
23021
|
project: "project";
|
|
22985
23022
|
vcs: "vcs";
|
|
22986
23023
|
effort: "effort";
|
|
22987
23024
|
advisor: "advisor";
|
|
23025
|
+
version: "version";
|
|
22988
23026
|
outputStyle: "outputStyle";
|
|
22989
23027
|
cost: "cost";
|
|
22990
23028
|
dailyCost: "dailyCost";
|
|
22991
23029
|
sessionName: "sessionName";
|
|
23030
|
+
duration: "duration";
|
|
22992
23031
|
speed: "speed";
|
|
22993
23032
|
extra: "extra";
|
|
22994
23033
|
}>>>;
|
|
22995
23034
|
rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
22996
23035
|
context: "context";
|
|
22997
23036
|
quota: "quota";
|
|
22998
|
-
environment: "environment";
|
|
22999
23037
|
addedDirs: "addedDirs";
|
|
23000
23038
|
gitFiles: "gitFiles";
|
|
23001
23039
|
memory: "memory";
|
|
23040
|
+
environment: "environment";
|
|
23002
23041
|
sessionTime: "sessionTime";
|
|
23003
23042
|
promptCache: "promptCache";
|
|
23004
23043
|
compactions: "compactions";
|
|
@@ -23021,10 +23060,10 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
|
|
|
23021
23060
|
merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
|
|
23022
23061
|
context: "context";
|
|
23023
23062
|
quota: "quota";
|
|
23024
|
-
environment: "environment";
|
|
23025
23063
|
addedDirs: "addedDirs";
|
|
23026
23064
|
gitFiles: "gitFiles";
|
|
23027
23065
|
memory: "memory";
|
|
23066
|
+
environment: "environment";
|
|
23028
23067
|
sessionTime: "sessionTime";
|
|
23029
23068
|
promptCache: "promptCache";
|
|
23030
23069
|
compactions: "compactions";
|
|
@@ -23038,10 +23077,10 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
|
|
|
23038
23077
|
rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
23039
23078
|
context: "context";
|
|
23040
23079
|
quota: "quota";
|
|
23041
|
-
environment: "environment";
|
|
23042
23080
|
addedDirs: "addedDirs";
|
|
23043
23081
|
gitFiles: "gitFiles";
|
|
23044
23082
|
memory: "memory";
|
|
23083
|
+
environment: "environment";
|
|
23045
23084
|
sessionTime: "sessionTime";
|
|
23046
23085
|
promptCache: "promptCache";
|
|
23047
23086
|
compactions: "compactions";
|
|
@@ -23100,10 +23139,10 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
|
|
|
23100
23139
|
hidden: "hidden";
|
|
23101
23140
|
}>>;
|
|
23102
23141
|
value: z.ZodOptional<z.ZodEnum<{
|
|
23103
|
-
remaining: "remaining";
|
|
23104
23142
|
tokens: "tokens";
|
|
23105
23143
|
both: "both";
|
|
23106
23144
|
percent: "percent";
|
|
23145
|
+
remaining: "remaining";
|
|
23107
23146
|
}>>;
|
|
23108
23147
|
estimate: z.ZodOptional<z.ZodEnum<{
|
|
23109
23148
|
never: "never";
|
|
@@ -23145,8 +23184,8 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
|
|
|
23145
23184
|
}, z.core.$strict>>;
|
|
23146
23185
|
usage: z.ZodOptional<z.ZodObject<{
|
|
23147
23186
|
value: z.ZodOptional<z.ZodEnum<{
|
|
23148
|
-
used: "used";
|
|
23149
23187
|
remaining: "remaining";
|
|
23188
|
+
used: "used";
|
|
23150
23189
|
}>>;
|
|
23151
23190
|
bar: z.ZodOptional<z.ZodBoolean>;
|
|
23152
23191
|
compact: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -23504,6 +23543,53 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
|
|
|
23504
23543
|
}, z.core.$strict>>;
|
|
23505
23544
|
}, z.core.$strict>>;
|
|
23506
23545
|
}, z.core.$strict>>;
|
|
23546
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
23547
|
+
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
23548
|
+
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
23549
|
+
mode: z.ZodEnum<{
|
|
23550
|
+
ordered: "ordered";
|
|
23551
|
+
"most-allowance": "most-allowance";
|
|
23552
|
+
"soonest-reset": "soonest-reset";
|
|
23553
|
+
spread: "spread";
|
|
23554
|
+
adaptive: "adaptive";
|
|
23555
|
+
"lowest-latency": "lowest-latency";
|
|
23556
|
+
"highest-success": "highest-success";
|
|
23557
|
+
cheapest: "cheapest";
|
|
23558
|
+
}>;
|
|
23559
|
+
members: z.ZodArray<z.ZodString>;
|
|
23560
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
23561
|
+
tiers: z.ZodOptional<z.ZodObject<{
|
|
23562
|
+
fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
23563
|
+
opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
23564
|
+
sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
23565
|
+
haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
23566
|
+
}, z.core.$strict>>;
|
|
23567
|
+
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
23568
|
+
input: z.ZodNumber;
|
|
23569
|
+
output: z.ZodNumber;
|
|
23570
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
23571
|
+
hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23572
|
+
show: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23573
|
+
same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
23574
|
+
distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
|
|
23575
|
+
families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
23576
|
+
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23577
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
23578
|
+
ordered: "ordered";
|
|
23579
|
+
"most-allowance": "most-allowance";
|
|
23580
|
+
"soonest-reset": "soonest-reset";
|
|
23581
|
+
spread: "spread";
|
|
23582
|
+
adaptive: "adaptive";
|
|
23583
|
+
"lowest-latency": "lowest-latency";
|
|
23584
|
+
"highest-success": "highest-success";
|
|
23585
|
+
cheapest: "cheapest";
|
|
23586
|
+
}>>;
|
|
23587
|
+
context: z.ZodOptional<z.ZodNumber>;
|
|
23588
|
+
vision: z.ZodOptional<z.ZodBoolean>;
|
|
23589
|
+
tools: z.ZodOptional<z.ZodBoolean>;
|
|
23590
|
+
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
23591
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
23592
|
+
}, z.core.$strict>>;
|
|
23507
23593
|
}, z.core.$strict>;
|
|
23508
23594
|
}, z.core.$strict>;
|
|
23509
23595
|
declare const ConfigProfileRemoveInputSchema: z.ZodObject<{
|
|
@@ -23739,8 +23825,8 @@ declare const ConfigPoolUseOutputSchema: z.ZodObject<{
|
|
|
23739
23825
|
declare const ConfigProviderAddInputSchema: z.ZodObject<{
|
|
23740
23826
|
name: z.ZodString;
|
|
23741
23827
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
23742
|
-
codex: "codex";
|
|
23743
23828
|
http: "http";
|
|
23829
|
+
codex: "codex";
|
|
23744
23830
|
antigravity: "antigravity";
|
|
23745
23831
|
router: "router";
|
|
23746
23832
|
}>>;
|
|
@@ -23804,8 +23890,8 @@ declare const ConfigProviderAddOutputSchema: z.ZodObject<{
|
|
|
23804
23890
|
value: z.ZodObject<{
|
|
23805
23891
|
name: z.ZodString;
|
|
23806
23892
|
kind: z.ZodEnum<{
|
|
23807
|
-
codex: "codex";
|
|
23808
23893
|
http: "http";
|
|
23894
|
+
codex: "codex";
|
|
23809
23895
|
antigravity: "antigravity";
|
|
23810
23896
|
router: "router";
|
|
23811
23897
|
}>;
|
|
@@ -23929,8 +24015,8 @@ declare const ConfigProviderSetOutputSchema: z.ZodObject<{
|
|
|
23929
24015
|
value: z.ZodObject<{
|
|
23930
24016
|
name: z.ZodString;
|
|
23931
24017
|
kind: z.ZodEnum<{
|
|
23932
|
-
codex: "codex";
|
|
23933
24018
|
http: "http";
|
|
24019
|
+
codex: "codex";
|
|
23934
24020
|
antigravity: "antigravity";
|
|
23935
24021
|
router: "router";
|
|
23936
24022
|
}>;
|
|
@@ -24056,85 +24142,38 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
|
|
|
24056
24142
|
matches: "matches";
|
|
24057
24143
|
notMatches: "notMatches";
|
|
24058
24144
|
portableMatches: "portableMatches";
|
|
24059
|
-
portableNotMatches: "portableNotMatches";
|
|
24060
|
-
}>;
|
|
24061
|
-
left: typeof trilean.ExpressionNodeSchema;
|
|
24062
|
-
right: typeof trilean.ExpressionNodeSchema;
|
|
24063
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24064
|
-
kind: z.ZodLiteral<"memberOf">;
|
|
24065
|
-
op: z.ZodEnum<{
|
|
24066
|
-
in: "in";
|
|
24067
|
-
notIn: "notIn";
|
|
24068
|
-
}>;
|
|
24069
|
-
operand: typeof trilean.ExpressionNodeSchema;
|
|
24070
|
-
candidates: z.ZodArray<typeof trilean.ExpressionNodeSchema>;
|
|
24071
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24072
|
-
kind: z.ZodLiteral<"exists">;
|
|
24073
|
-
operand: typeof trilean.ExpressionNodeSchema;
|
|
24074
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24075
|
-
kind: z.ZodLiteral<"some">;
|
|
24076
|
-
collection: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
24077
|
-
item: typeof trilean.PredicateNodeSchema;
|
|
24078
|
-
filter: z.ZodOptional<typeof trilean.PredicateNodeSchema>;
|
|
24079
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24080
|
-
kind: z.ZodLiteral<"every">;
|
|
24081
|
-
collection: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
24082
|
-
item: typeof trilean.PredicateNodeSchema;
|
|
24083
|
-
filter: z.ZodOptional<typeof trilean.PredicateNodeSchema>;
|
|
24084
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24085
|
-
kind: z.ZodLiteral<"treeReference">;
|
|
24086
|
-
key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
24087
|
-
}, z.core.$strip>], "kind">]>;
|
|
24088
|
-
}, z.core.$strict>]>>>;
|
|
24089
|
-
models: z.ZodOptional<z.ZodObject<{
|
|
24090
|
-
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
24091
|
-
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
24092
|
-
mode: z.ZodEnum<{
|
|
24093
|
-
ordered: "ordered";
|
|
24094
|
-
"most-allowance": "most-allowance";
|
|
24095
|
-
"soonest-reset": "soonest-reset";
|
|
24096
|
-
spread: "spread";
|
|
24097
|
-
adaptive: "adaptive";
|
|
24098
|
-
"lowest-latency": "lowest-latency";
|
|
24099
|
-
"highest-success": "highest-success";
|
|
24100
|
-
cheapest: "cheapest";
|
|
24101
|
-
}>;
|
|
24102
|
-
members: z.ZodArray<z.ZodString>;
|
|
24103
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
24104
|
-
tiers: z.ZodOptional<z.ZodObject<{
|
|
24105
|
-
fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
24106
|
-
opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
24107
|
-
sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
24108
|
-
haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
24109
|
-
}, z.core.$strict>>;
|
|
24110
|
-
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
24111
|
-
input: z.ZodNumber;
|
|
24112
|
-
output: z.ZodNumber;
|
|
24113
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
24114
|
-
hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24115
|
-
show: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24116
|
-
same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
24117
|
-
distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
|
|
24118
|
-
families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
24119
|
-
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24120
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
24121
|
-
ordered: "ordered";
|
|
24122
|
-
"most-allowance": "most-allowance";
|
|
24123
|
-
"soonest-reset": "soonest-reset";
|
|
24124
|
-
spread: "spread";
|
|
24125
|
-
adaptive: "adaptive";
|
|
24126
|
-
"lowest-latency": "lowest-latency";
|
|
24127
|
-
"highest-success": "highest-success";
|
|
24128
|
-
cheapest: "cheapest";
|
|
24129
|
-
}>>;
|
|
24130
|
-
context: z.ZodOptional<z.ZodNumber>;
|
|
24131
|
-
vision: z.ZodOptional<z.ZodBoolean>;
|
|
24132
|
-
tools: z.ZodOptional<z.ZodBoolean>;
|
|
24133
|
-
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
24134
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
24135
|
-
}, z.core.$strict>>;
|
|
24136
|
-
$schema: z.ZodOptional<z.ZodString>;
|
|
24145
|
+
portableNotMatches: "portableNotMatches";
|
|
24146
|
+
}>;
|
|
24147
|
+
left: typeof trilean.ExpressionNodeSchema;
|
|
24148
|
+
right: typeof trilean.ExpressionNodeSchema;
|
|
24149
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24150
|
+
kind: z.ZodLiteral<"memberOf">;
|
|
24151
|
+
op: z.ZodEnum<{
|
|
24152
|
+
in: "in";
|
|
24153
|
+
notIn: "notIn";
|
|
24154
|
+
}>;
|
|
24155
|
+
operand: typeof trilean.ExpressionNodeSchema;
|
|
24156
|
+
candidates: z.ZodArray<typeof trilean.ExpressionNodeSchema>;
|
|
24157
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24158
|
+
kind: z.ZodLiteral<"exists">;
|
|
24159
|
+
operand: typeof trilean.ExpressionNodeSchema;
|
|
24160
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24161
|
+
kind: z.ZodLiteral<"some">;
|
|
24162
|
+
collection: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
24163
|
+
item: typeof trilean.PredicateNodeSchema;
|
|
24164
|
+
filter: z.ZodOptional<typeof trilean.PredicateNodeSchema>;
|
|
24165
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24166
|
+
kind: z.ZodLiteral<"every">;
|
|
24167
|
+
collection: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
24168
|
+
item: typeof trilean.PredicateNodeSchema;
|
|
24169
|
+
filter: z.ZodOptional<typeof trilean.PredicateNodeSchema>;
|
|
24170
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24171
|
+
kind: z.ZodLiteral<"treeReference">;
|
|
24172
|
+
key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
24173
|
+
}, z.core.$strip>], "kind">]>;
|
|
24174
|
+
}, z.core.$strict>]>>>;
|
|
24137
24175
|
extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24176
|
+
$schema: z.ZodOptional<z.ZodString>;
|
|
24138
24177
|
categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
|
|
24139
24178
|
all: z.ZodOptional<z.ZodBoolean>;
|
|
24140
24179
|
runtime: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -24175,32 +24214,32 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
|
|
|
24175
24214
|
}>>;
|
|
24176
24215
|
layout: z.ZodOptional<z.ZodObject<{
|
|
24177
24216
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
24217
|
+
identity: "identity";
|
|
24178
24218
|
model: "model";
|
|
24179
24219
|
account: "account";
|
|
24180
|
-
identity: "identity";
|
|
24181
24220
|
provider: "provider";
|
|
24182
|
-
version: "version";
|
|
24183
24221
|
headroom: "headroom";
|
|
24184
|
-
duration: "duration";
|
|
24185
24222
|
route: "route";
|
|
24186
24223
|
project: "project";
|
|
24187
24224
|
vcs: "vcs";
|
|
24188
24225
|
effort: "effort";
|
|
24189
24226
|
advisor: "advisor";
|
|
24227
|
+
version: "version";
|
|
24190
24228
|
outputStyle: "outputStyle";
|
|
24191
24229
|
cost: "cost";
|
|
24192
24230
|
dailyCost: "dailyCost";
|
|
24193
24231
|
sessionName: "sessionName";
|
|
24232
|
+
duration: "duration";
|
|
24194
24233
|
speed: "speed";
|
|
24195
24234
|
extra: "extra";
|
|
24196
24235
|
}>>>;
|
|
24197
24236
|
rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
24198
24237
|
context: "context";
|
|
24199
24238
|
quota: "quota";
|
|
24200
|
-
environment: "environment";
|
|
24201
24239
|
addedDirs: "addedDirs";
|
|
24202
24240
|
gitFiles: "gitFiles";
|
|
24203
24241
|
memory: "memory";
|
|
24242
|
+
environment: "environment";
|
|
24204
24243
|
sessionTime: "sessionTime";
|
|
24205
24244
|
promptCache: "promptCache";
|
|
24206
24245
|
compactions: "compactions";
|
|
@@ -24223,10 +24262,10 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
|
|
|
24223
24262
|
merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
|
|
24224
24263
|
context: "context";
|
|
24225
24264
|
quota: "quota";
|
|
24226
|
-
environment: "environment";
|
|
24227
24265
|
addedDirs: "addedDirs";
|
|
24228
24266
|
gitFiles: "gitFiles";
|
|
24229
24267
|
memory: "memory";
|
|
24268
|
+
environment: "environment";
|
|
24230
24269
|
sessionTime: "sessionTime";
|
|
24231
24270
|
promptCache: "promptCache";
|
|
24232
24271
|
compactions: "compactions";
|
|
@@ -24240,10 +24279,10 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
|
|
|
24240
24279
|
rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
24241
24280
|
context: "context";
|
|
24242
24281
|
quota: "quota";
|
|
24243
|
-
environment: "environment";
|
|
24244
24282
|
addedDirs: "addedDirs";
|
|
24245
24283
|
gitFiles: "gitFiles";
|
|
24246
24284
|
memory: "memory";
|
|
24285
|
+
environment: "environment";
|
|
24247
24286
|
sessionTime: "sessionTime";
|
|
24248
24287
|
promptCache: "promptCache";
|
|
24249
24288
|
compactions: "compactions";
|
|
@@ -24302,10 +24341,10 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
|
|
|
24302
24341
|
hidden: "hidden";
|
|
24303
24342
|
}>>;
|
|
24304
24343
|
value: z.ZodOptional<z.ZodEnum<{
|
|
24305
|
-
remaining: "remaining";
|
|
24306
24344
|
tokens: "tokens";
|
|
24307
24345
|
both: "both";
|
|
24308
24346
|
percent: "percent";
|
|
24347
|
+
remaining: "remaining";
|
|
24309
24348
|
}>>;
|
|
24310
24349
|
estimate: z.ZodOptional<z.ZodEnum<{
|
|
24311
24350
|
never: "never";
|
|
@@ -24347,8 +24386,8 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
|
|
|
24347
24386
|
}, z.core.$strict>>;
|
|
24348
24387
|
usage: z.ZodOptional<z.ZodObject<{
|
|
24349
24388
|
value: z.ZodOptional<z.ZodEnum<{
|
|
24350
|
-
used: "used";
|
|
24351
24389
|
remaining: "remaining";
|
|
24390
|
+
used: "used";
|
|
24352
24391
|
}>>;
|
|
24353
24392
|
bar: z.ZodOptional<z.ZodBoolean>;
|
|
24354
24393
|
compact: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -24706,6 +24745,53 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
|
|
|
24706
24745
|
}, z.core.$strict>>;
|
|
24707
24746
|
}, z.core.$strict>>;
|
|
24708
24747
|
}, z.core.$strict>>;
|
|
24748
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
24749
|
+
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
24750
|
+
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
24751
|
+
mode: z.ZodEnum<{
|
|
24752
|
+
ordered: "ordered";
|
|
24753
|
+
"most-allowance": "most-allowance";
|
|
24754
|
+
"soonest-reset": "soonest-reset";
|
|
24755
|
+
spread: "spread";
|
|
24756
|
+
adaptive: "adaptive";
|
|
24757
|
+
"lowest-latency": "lowest-latency";
|
|
24758
|
+
"highest-success": "highest-success";
|
|
24759
|
+
cheapest: "cheapest";
|
|
24760
|
+
}>;
|
|
24761
|
+
members: z.ZodArray<z.ZodString>;
|
|
24762
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
24763
|
+
tiers: z.ZodOptional<z.ZodObject<{
|
|
24764
|
+
fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
24765
|
+
opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
24766
|
+
sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
24767
|
+
haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
24768
|
+
}, z.core.$strict>>;
|
|
24769
|
+
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
24770
|
+
input: z.ZodNumber;
|
|
24771
|
+
output: z.ZodNumber;
|
|
24772
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
24773
|
+
hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24774
|
+
show: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24775
|
+
same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
24776
|
+
distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
|
|
24777
|
+
families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
24778
|
+
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24779
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
24780
|
+
ordered: "ordered";
|
|
24781
|
+
"most-allowance": "most-allowance";
|
|
24782
|
+
"soonest-reset": "soonest-reset";
|
|
24783
|
+
spread: "spread";
|
|
24784
|
+
adaptive: "adaptive";
|
|
24785
|
+
"lowest-latency": "lowest-latency";
|
|
24786
|
+
"highest-success": "highest-success";
|
|
24787
|
+
cheapest: "cheapest";
|
|
24788
|
+
}>>;
|
|
24789
|
+
context: z.ZodOptional<z.ZodNumber>;
|
|
24790
|
+
vision: z.ZodOptional<z.ZodBoolean>;
|
|
24791
|
+
tools: z.ZodOptional<z.ZodBoolean>;
|
|
24792
|
+
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
24793
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
24794
|
+
}, z.core.$strict>>;
|
|
24709
24795
|
path: z.ZodString;
|
|
24710
24796
|
configProfile: z.ZodOptional<z.ZodString>;
|
|
24711
24797
|
identity: z.ZodOptional<z.ZodString>;
|
|
@@ -24869,55 +24955,8 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
|
|
|
24869
24955
|
key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
24870
24956
|
}, z.core.$strip>], "kind">]>;
|
|
24871
24957
|
}, z.core.$strict>]>>>;
|
|
24872
|
-
models: z.ZodOptional<z.ZodObject<{
|
|
24873
|
-
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
24874
|
-
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
24875
|
-
mode: z.ZodEnum<{
|
|
24876
|
-
ordered: "ordered";
|
|
24877
|
-
"most-allowance": "most-allowance";
|
|
24878
|
-
"soonest-reset": "soonest-reset";
|
|
24879
|
-
spread: "spread";
|
|
24880
|
-
adaptive: "adaptive";
|
|
24881
|
-
"lowest-latency": "lowest-latency";
|
|
24882
|
-
"highest-success": "highest-success";
|
|
24883
|
-
cheapest: "cheapest";
|
|
24884
|
-
}>;
|
|
24885
|
-
members: z.ZodArray<z.ZodString>;
|
|
24886
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
24887
|
-
tiers: z.ZodOptional<z.ZodObject<{
|
|
24888
|
-
fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
24889
|
-
opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
24890
|
-
sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
24891
|
-
haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
24892
|
-
}, z.core.$strict>>;
|
|
24893
|
-
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
24894
|
-
input: z.ZodNumber;
|
|
24895
|
-
output: z.ZodNumber;
|
|
24896
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
24897
|
-
hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24898
|
-
show: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24899
|
-
same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
24900
|
-
distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
|
|
24901
|
-
families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
24902
|
-
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24903
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
24904
|
-
ordered: "ordered";
|
|
24905
|
-
"most-allowance": "most-allowance";
|
|
24906
|
-
"soonest-reset": "soonest-reset";
|
|
24907
|
-
spread: "spread";
|
|
24908
|
-
adaptive: "adaptive";
|
|
24909
|
-
"lowest-latency": "lowest-latency";
|
|
24910
|
-
"highest-success": "highest-success";
|
|
24911
|
-
cheapest: "cheapest";
|
|
24912
|
-
}>>;
|
|
24913
|
-
context: z.ZodOptional<z.ZodNumber>;
|
|
24914
|
-
vision: z.ZodOptional<z.ZodBoolean>;
|
|
24915
|
-
tools: z.ZodOptional<z.ZodBoolean>;
|
|
24916
|
-
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
24917
|
-
}, z.core.$strict>, z.ZodNull]>>>;
|
|
24918
|
-
}, z.core.$strict>>;
|
|
24919
|
-
$schema: z.ZodOptional<z.ZodString>;
|
|
24920
24958
|
extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24959
|
+
$schema: z.ZodOptional<z.ZodString>;
|
|
24921
24960
|
categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
|
|
24922
24961
|
all: z.ZodOptional<z.ZodBoolean>;
|
|
24923
24962
|
runtime: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -24958,32 +24997,32 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
|
|
|
24958
24997
|
}>>;
|
|
24959
24998
|
layout: z.ZodOptional<z.ZodObject<{
|
|
24960
24999
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
25000
|
+
identity: "identity";
|
|
24961
25001
|
model: "model";
|
|
24962
25002
|
account: "account";
|
|
24963
|
-
identity: "identity";
|
|
24964
25003
|
provider: "provider";
|
|
24965
|
-
version: "version";
|
|
24966
25004
|
headroom: "headroom";
|
|
24967
|
-
duration: "duration";
|
|
24968
25005
|
route: "route";
|
|
24969
25006
|
project: "project";
|
|
24970
25007
|
vcs: "vcs";
|
|
24971
25008
|
effort: "effort";
|
|
24972
25009
|
advisor: "advisor";
|
|
25010
|
+
version: "version";
|
|
24973
25011
|
outputStyle: "outputStyle";
|
|
24974
25012
|
cost: "cost";
|
|
24975
25013
|
dailyCost: "dailyCost";
|
|
24976
25014
|
sessionName: "sessionName";
|
|
25015
|
+
duration: "duration";
|
|
24977
25016
|
speed: "speed";
|
|
24978
25017
|
extra: "extra";
|
|
24979
25018
|
}>>>;
|
|
24980
25019
|
rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
24981
25020
|
context: "context";
|
|
24982
25021
|
quota: "quota";
|
|
24983
|
-
environment: "environment";
|
|
24984
25022
|
addedDirs: "addedDirs";
|
|
24985
25023
|
gitFiles: "gitFiles";
|
|
24986
25024
|
memory: "memory";
|
|
25025
|
+
environment: "environment";
|
|
24987
25026
|
sessionTime: "sessionTime";
|
|
24988
25027
|
promptCache: "promptCache";
|
|
24989
25028
|
compactions: "compactions";
|
|
@@ -25006,10 +25045,10 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
|
|
|
25006
25045
|
merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
|
|
25007
25046
|
context: "context";
|
|
25008
25047
|
quota: "quota";
|
|
25009
|
-
environment: "environment";
|
|
25010
25048
|
addedDirs: "addedDirs";
|
|
25011
25049
|
gitFiles: "gitFiles";
|
|
25012
25050
|
memory: "memory";
|
|
25051
|
+
environment: "environment";
|
|
25013
25052
|
sessionTime: "sessionTime";
|
|
25014
25053
|
promptCache: "promptCache";
|
|
25015
25054
|
compactions: "compactions";
|
|
@@ -25023,10 +25062,10 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
|
|
|
25023
25062
|
rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
25024
25063
|
context: "context";
|
|
25025
25064
|
quota: "quota";
|
|
25026
|
-
environment: "environment";
|
|
25027
25065
|
addedDirs: "addedDirs";
|
|
25028
25066
|
gitFiles: "gitFiles";
|
|
25029
25067
|
memory: "memory";
|
|
25068
|
+
environment: "environment";
|
|
25030
25069
|
sessionTime: "sessionTime";
|
|
25031
25070
|
promptCache: "promptCache";
|
|
25032
25071
|
compactions: "compactions";
|
|
@@ -25085,10 +25124,10 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
|
|
|
25085
25124
|
hidden: "hidden";
|
|
25086
25125
|
}>>;
|
|
25087
25126
|
value: z.ZodOptional<z.ZodEnum<{
|
|
25088
|
-
remaining: "remaining";
|
|
25089
25127
|
tokens: "tokens";
|
|
25090
25128
|
both: "both";
|
|
25091
25129
|
percent: "percent";
|
|
25130
|
+
remaining: "remaining";
|
|
25092
25131
|
}>>;
|
|
25093
25132
|
estimate: z.ZodOptional<z.ZodEnum<{
|
|
25094
25133
|
never: "never";
|
|
@@ -25130,8 +25169,8 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
|
|
|
25130
25169
|
}, z.core.$strict>>;
|
|
25131
25170
|
usage: z.ZodOptional<z.ZodObject<{
|
|
25132
25171
|
value: z.ZodOptional<z.ZodEnum<{
|
|
25133
|
-
used: "used";
|
|
25134
25172
|
remaining: "remaining";
|
|
25173
|
+
used: "used";
|
|
25135
25174
|
}>>;
|
|
25136
25175
|
bar: z.ZodOptional<z.ZodBoolean>;
|
|
25137
25176
|
compact: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -25489,6 +25528,53 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
|
|
|
25489
25528
|
}, z.core.$strict>>;
|
|
25490
25529
|
}, z.core.$strict>>;
|
|
25491
25530
|
}, z.core.$strict>>;
|
|
25531
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
25532
|
+
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
25533
|
+
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
25534
|
+
mode: z.ZodEnum<{
|
|
25535
|
+
ordered: "ordered";
|
|
25536
|
+
"most-allowance": "most-allowance";
|
|
25537
|
+
"soonest-reset": "soonest-reset";
|
|
25538
|
+
spread: "spread";
|
|
25539
|
+
adaptive: "adaptive";
|
|
25540
|
+
"lowest-latency": "lowest-latency";
|
|
25541
|
+
"highest-success": "highest-success";
|
|
25542
|
+
cheapest: "cheapest";
|
|
25543
|
+
}>;
|
|
25544
|
+
members: z.ZodArray<z.ZodString>;
|
|
25545
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
25546
|
+
tiers: z.ZodOptional<z.ZodObject<{
|
|
25547
|
+
fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
25548
|
+
opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
25549
|
+
sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
25550
|
+
haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
25551
|
+
}, z.core.$strict>>;
|
|
25552
|
+
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
25553
|
+
input: z.ZodNumber;
|
|
25554
|
+
output: z.ZodNumber;
|
|
25555
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
25556
|
+
hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
25557
|
+
show: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
25558
|
+
same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
25559
|
+
distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
|
|
25560
|
+
families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
25561
|
+
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
25562
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
25563
|
+
ordered: "ordered";
|
|
25564
|
+
"most-allowance": "most-allowance";
|
|
25565
|
+
"soonest-reset": "soonest-reset";
|
|
25566
|
+
spread: "spread";
|
|
25567
|
+
adaptive: "adaptive";
|
|
25568
|
+
"lowest-latency": "lowest-latency";
|
|
25569
|
+
"highest-success": "highest-success";
|
|
25570
|
+
cheapest: "cheapest";
|
|
25571
|
+
}>>;
|
|
25572
|
+
context: z.ZodOptional<z.ZodNumber>;
|
|
25573
|
+
vision: z.ZodOptional<z.ZodBoolean>;
|
|
25574
|
+
tools: z.ZodOptional<z.ZodBoolean>;
|
|
25575
|
+
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
25576
|
+
}, z.core.$strict>, z.ZodNull]>>>;
|
|
25577
|
+
}, z.core.$strict>>;
|
|
25492
25578
|
path: z.ZodString;
|
|
25493
25579
|
configProfile: z.ZodOptional<z.ZodString>;
|
|
25494
25580
|
identity: z.ZodOptional<z.ZodString>;
|
|
@@ -25825,10 +25911,12 @@ declare const DoctorFindingSchema: z.ZodObject<{
|
|
|
25825
25911
|
"global-config": "global-config";
|
|
25826
25912
|
"config-profile": "config-profile";
|
|
25827
25913
|
identity: "identity";
|
|
25914
|
+
keychain: "keychain";
|
|
25828
25915
|
provider: "provider";
|
|
25829
|
-
|
|
25916
|
+
headroom: "headroom";
|
|
25917
|
+
models: "models";
|
|
25830
25918
|
pool: "pool";
|
|
25831
|
-
|
|
25919
|
+
frontdoor: "frontdoor";
|
|
25832
25920
|
"ambient-credential": "ambient-credential";
|
|
25833
25921
|
"binary-discovery": "binary-discovery";
|
|
25834
25922
|
"claude-shim": "claude-shim";
|
|
@@ -25838,8 +25926,6 @@ declare const DoctorFindingSchema: z.ZodObject<{
|
|
|
25838
25926
|
"directory-rules": "directory-rules";
|
|
25839
25927
|
"categories-local": "categories-local";
|
|
25840
25928
|
"active-identity": "active-identity";
|
|
25841
|
-
headroom: "headroom";
|
|
25842
|
-
models: "models";
|
|
25843
25929
|
}>;
|
|
25844
25930
|
subject: z.ZodOptional<z.ZodString>;
|
|
25845
25931
|
severity: z.ZodEnum<{
|
|
@@ -25857,10 +25943,12 @@ declare const DoctorRunOutputSchema: z.ZodObject<{
|
|
|
25857
25943
|
"global-config": "global-config";
|
|
25858
25944
|
"config-profile": "config-profile";
|
|
25859
25945
|
identity: "identity";
|
|
25946
|
+
keychain: "keychain";
|
|
25860
25947
|
provider: "provider";
|
|
25861
|
-
|
|
25948
|
+
headroom: "headroom";
|
|
25949
|
+
models: "models";
|
|
25862
25950
|
pool: "pool";
|
|
25863
|
-
|
|
25951
|
+
frontdoor: "frontdoor";
|
|
25864
25952
|
"ambient-credential": "ambient-credential";
|
|
25865
25953
|
"binary-discovery": "binary-discovery";
|
|
25866
25954
|
"claude-shim": "claude-shim";
|
|
@@ -25870,8 +25958,6 @@ declare const DoctorRunOutputSchema: z.ZodObject<{
|
|
|
25870
25958
|
"directory-rules": "directory-rules";
|
|
25871
25959
|
"categories-local": "categories-local";
|
|
25872
25960
|
"active-identity": "active-identity";
|
|
25873
|
-
headroom: "headroom";
|
|
25874
|
-
models: "models";
|
|
25875
25961
|
}>;
|
|
25876
25962
|
subject: z.ZodOptional<z.ZodString>;
|
|
25877
25963
|
severity: z.ZodEnum<{
|
|
@@ -25892,9 +25978,9 @@ declare const UpdateCheckOutputSchema: z.ZodObject<{
|
|
|
25892
25978
|
current: z.ZodString;
|
|
25893
25979
|
latest: z.ZodString;
|
|
25894
25980
|
action: z.ZodEnum<{
|
|
25981
|
+
updated: "updated";
|
|
25895
25982
|
current: "current";
|
|
25896
25983
|
available: "available";
|
|
25897
|
-
updated: "updated";
|
|
25898
25984
|
}>;
|
|
25899
25985
|
}, z.core.$strict>;
|
|
25900
25986
|
/** 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. */
|
|
@@ -25945,12 +26031,12 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
|
|
|
25945
26031
|
identity: z.ZodOptional<z.ZodString>;
|
|
25946
26032
|
identityId: z.ZodOptional<z.ZodString>;
|
|
25947
26033
|
identitySource: z.ZodEnum<{
|
|
26034
|
+
env: "env";
|
|
26035
|
+
none: "none";
|
|
25948
26036
|
"config-dir-escape-hatch": "config-dir-escape-hatch";
|
|
25949
26037
|
argv: "argv";
|
|
25950
|
-
env: "env";
|
|
25951
26038
|
"directory-pin": "directory-pin";
|
|
25952
26039
|
"active-identity-file": "active-identity-file";
|
|
25953
|
-
none: "none";
|
|
25954
26040
|
}>;
|
|
25955
26041
|
pool: z.ZodOptional<z.ZodObject<{
|
|
25956
26042
|
name: z.ZodString;
|
|
@@ -25998,32 +26084,32 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
|
|
|
25998
26084
|
}>>;
|
|
25999
26085
|
layout: z.ZodOptional<z.ZodObject<{
|
|
26000
26086
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
26087
|
+
identity: "identity";
|
|
26001
26088
|
model: "model";
|
|
26002
26089
|
account: "account";
|
|
26003
|
-
identity: "identity";
|
|
26004
26090
|
provider: "provider";
|
|
26005
|
-
version: "version";
|
|
26006
26091
|
headroom: "headroom";
|
|
26007
|
-
duration: "duration";
|
|
26008
26092
|
route: "route";
|
|
26009
26093
|
project: "project";
|
|
26010
26094
|
vcs: "vcs";
|
|
26011
26095
|
effort: "effort";
|
|
26012
26096
|
advisor: "advisor";
|
|
26097
|
+
version: "version";
|
|
26013
26098
|
outputStyle: "outputStyle";
|
|
26014
26099
|
cost: "cost";
|
|
26015
26100
|
dailyCost: "dailyCost";
|
|
26016
26101
|
sessionName: "sessionName";
|
|
26102
|
+
duration: "duration";
|
|
26017
26103
|
speed: "speed";
|
|
26018
26104
|
extra: "extra";
|
|
26019
26105
|
}>>>;
|
|
26020
26106
|
rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
26021
26107
|
context: "context";
|
|
26022
26108
|
quota: "quota";
|
|
26023
|
-
environment: "environment";
|
|
26024
26109
|
addedDirs: "addedDirs";
|
|
26025
26110
|
gitFiles: "gitFiles";
|
|
26026
26111
|
memory: "memory";
|
|
26112
|
+
environment: "environment";
|
|
26027
26113
|
sessionTime: "sessionTime";
|
|
26028
26114
|
promptCache: "promptCache";
|
|
26029
26115
|
compactions: "compactions";
|
|
@@ -26046,10 +26132,10 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
|
|
|
26046
26132
|
merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
|
|
26047
26133
|
context: "context";
|
|
26048
26134
|
quota: "quota";
|
|
26049
|
-
environment: "environment";
|
|
26050
26135
|
addedDirs: "addedDirs";
|
|
26051
26136
|
gitFiles: "gitFiles";
|
|
26052
26137
|
memory: "memory";
|
|
26138
|
+
environment: "environment";
|
|
26053
26139
|
sessionTime: "sessionTime";
|
|
26054
26140
|
promptCache: "promptCache";
|
|
26055
26141
|
compactions: "compactions";
|
|
@@ -26063,10 +26149,10 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
|
|
|
26063
26149
|
rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
26064
26150
|
context: "context";
|
|
26065
26151
|
quota: "quota";
|
|
26066
|
-
environment: "environment";
|
|
26067
26152
|
addedDirs: "addedDirs";
|
|
26068
26153
|
gitFiles: "gitFiles";
|
|
26069
26154
|
memory: "memory";
|
|
26155
|
+
environment: "environment";
|
|
26070
26156
|
sessionTime: "sessionTime";
|
|
26071
26157
|
promptCache: "promptCache";
|
|
26072
26158
|
compactions: "compactions";
|
|
@@ -26125,10 +26211,10 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
|
|
|
26125
26211
|
hidden: "hidden";
|
|
26126
26212
|
}>>;
|
|
26127
26213
|
value: z.ZodOptional<z.ZodEnum<{
|
|
26128
|
-
remaining: "remaining";
|
|
26129
26214
|
tokens: "tokens";
|
|
26130
26215
|
both: "both";
|
|
26131
26216
|
percent: "percent";
|
|
26217
|
+
remaining: "remaining";
|
|
26132
26218
|
}>>;
|
|
26133
26219
|
estimate: z.ZodOptional<z.ZodEnum<{
|
|
26134
26220
|
never: "never";
|
|
@@ -26170,8 +26256,8 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
|
|
|
26170
26256
|
}, z.core.$strict>>;
|
|
26171
26257
|
usage: z.ZodOptional<z.ZodObject<{
|
|
26172
26258
|
value: z.ZodOptional<z.ZodEnum<{
|
|
26173
|
-
used: "used";
|
|
26174
26259
|
remaining: "remaining";
|
|
26260
|
+
used: "used";
|
|
26175
26261
|
}>>;
|
|
26176
26262
|
bar: z.ZodOptional<z.ZodBoolean>;
|
|
26177
26263
|
compact: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -26532,8 +26618,8 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
|
|
|
26532
26618
|
claudeVersion: z.ZodOptional<z.ZodObject<{
|
|
26533
26619
|
version: z.ZodString;
|
|
26534
26620
|
source: z.ZodEnum<{
|
|
26535
|
-
flag: "flag";
|
|
26536
26621
|
environment: "environment";
|
|
26622
|
+
flag: "flag";
|
|
26537
26623
|
cascade: "cascade";
|
|
26538
26624
|
}>;
|
|
26539
26625
|
}, z.core.$strict>>;
|
|
@@ -26920,6 +27006,10 @@ interface LiveSessionRegistry {
|
|
|
26920
27006
|
* A record removed by someone else is therefore noticed by a presented token the view does not hold, or by the next `rescan`, not by a request for a token it holds: a removed record's capability stays admissible until the next `rescan`. A rewrite that leaves a record's modification time and size unchanged is likewise first seen at the next `rescan`.
|
|
26921
27007
|
*/
|
|
26922
27008
|
readonly admits: (token: string) => boolean;
|
|
27009
|
+
/**
|
|
27010
|
+
* The id of the identity the launch holding `token` runs as, or undefined when no live launch holds the token or the launch recorded none (a launch from before records carried it). For a token `admits` has already accepted, so the lookup is not itself a capability check; an unknown token triggers one reconcile, as in `admits`.
|
|
27011
|
+
*/
|
|
27012
|
+
readonly identityOf: (token: string) => string | undefined;
|
|
26923
27013
|
/**
|
|
26924
27014
|
* Re-reads every record in the directory, replacing what the view holds, and returns the listing it saw (sorted by pid, malformed files skipped, no token in it). The supervisor's tick calls this as its listing, so the registry is read once per tick for both the idle decision and the capabilities.
|
|
26925
27015
|
*/
|
|
@@ -27272,14 +27362,6 @@ declare function collectPoolPick(params: Readonly<{
|
|
|
27272
27362
|
nowMs: number;
|
|
27273
27363
|
}>): PoolPickReport;
|
|
27274
27364
|
|
|
27275
|
-
/** The reads the session commands and procedures make: the reader's own, plus resolving a path to the real location it points at, which is how identities sharing one history store are told from identities with their own. */
|
|
27276
|
-
interface SessionCommandFs extends AgentReadFs {
|
|
27277
|
-
/** The real path `candidate` resolves to, or undefined when nothing is there. */
|
|
27278
|
-
readonly realpath: (candidate: string) => string | undefined;
|
|
27279
|
-
}
|
|
27280
|
-
/** The real filesystem, for the commands and the door's sessions procedures. */
|
|
27281
|
-
declare const realSessionFs: SessionCommandFs;
|
|
27282
|
-
|
|
27283
27365
|
/**
|
|
27284
27366
|
* Finding and reading sessions across identities, pure over an injected filesystem: the logic the \`session\` commands and the door's \`sessions\` procedures share, free of command-line dependencies so the library surface can export it.
|
|
27285
27367
|
*/
|
|
@@ -27846,5 +27928,5 @@ declare const OWN_CLI_FILE_NAME = "cli.cjs";
|
|
|
27846
27928
|
*/
|
|
27847
27929
|
declare function agentShimCliPath(distDir?: string | undefined): string;
|
|
27848
27930
|
|
|
27849
|
-
export { AMBIENT_CREDENTIAL_VARS, AgentKindSchema, AgentMetaSchema, AgentNodeSchema, AgentTreesListInputSchema, AgentTreesListOutputSchema, AgentTreesShowInputSchema, AgentTreesShowOutputSchema, CHECK_CREDENTIAL_APPLIES, CODEX_APP_SERVER_GENERATED_AGAINST, CODEX_APP_SERVER_TIMEOUT_MS, CONNECT_INTERCEPT_HOST, CONNECT_INTERCEPT_HOSTS, CONNECT_LIMITS, CONTROL_PATH_PREFIX, CategoryClassificationOverlaySchema, CategoryClassificationSchema, CategoryMapSchema, CheckReportJsonSchema, CheckRunInputSchema, CliError, CodexAccountReadSchema, CodexAppServerProtocolError, CodexAppServerRequestError, CodexAppServerUnavailableError, CodexLogoutOutputSchema, CodexRateLimitsReadSchema, CodexSignInSchema, CodexStatusOutputSchema, ConfigIdentityAddInputSchema, ConfigIdentityAddOutputSchema, ConfigIdentityRemoveInputSchema, ConfigIdentityRemoveOutputSchema, ConfigIdentitySetInputSchema, ConfigIdentitySetOutputSchema, ConfigIdentityUseOutputSchema, ConfigNameInputSchema, ConfigPoolAddInputSchema, ConfigPoolAddOutputSchema, ConfigPoolRemoveInputSchema, ConfigPoolRemoveOutputSchema, ConfigPoolSetInputSchema, ConfigPoolSetOutputSchema, ConfigPoolUseOutputSchema, ConfigProfileAddInputSchema, ConfigProfileAddOutputSchema, ConfigProfileRemoveInputSchema, ConfigProfileRemoveOutputSchema, ConfigProfileSchema, ConfigProfileSetInputSchema, ConfigProfileSetOutputSchema, ConfigProfileUseOutputSchema, ConfigProviderAddInputSchema, ConfigProviderAddOutputSchema, ConfigProviderRemoveInputSchema, ConfigProviderRemoveOutputSchema, ConfigProviderSetInputSchema, ConfigProviderSetOutputSchema, ConfigRuleAddInputSchema, ConfigRuleAddOutputSchema, ConfigRuleRemoveInputSchema, ConfigRuleRemoveOutputSchema, ConfigRuleSetInputSchema, ConfigRuleSetOutputSchema, CredentialCacheSchema, CredentialSchema, CredentialSourceSchema, CredentialSummarySchema, DOOR_EVENT_BUFFER_EVENTS, DOOR_EVENT_SOURCE_RC, DOOR_HEALTH_EVENT_SOURCE, DirectoryRuleAlreadyExistsError, DirectoryRuleMissingTargetError, DirectoryRuleNotFoundError, DirectoryRuleSchema, DirectoryRulesSchema, DoctorFindingSchema, DoctorRunOutputSchema, DoorEventSchema, DoorEventSourceQuerySchema, DoorHealthEventSchema, DuplicateIdentityNameError, EXIT_FAILURE, EXIT_USAGE, EffectiveWindowSchema, EntryValueSchema, FARM_MANIFEST_FILENAME, FrontDoorControlMaterialError, FrontDoorNotServingError, FrontDoorRestartOutputSchema, FrontDoorSessionStatusSchema, FrontDoorSessionsOutputSchema, FrontDoorStartError, FrontDoorStateSchema, FrontDoorStatusOutputSchema, GlobalConfigSchema, HeadroomSocketTargetSchema, HeadroomStartError, IdentityAlreadyExistsError, IdentityNotFoundError, IdentitySchema, InvalidCategoryNameError, InvalidIdentityNameError, InvalidProviderNameError, LAUNCH_EVENT_SOURCE, LIVE_TASK_CAP, LaunchLifecycleEventSchema, LaunchRefusedError, LaunchResolveInputSchema, LaunchResolveOutputSchema, LegacyProviderFileError, LiveTaskSchema, MergedAgentNodeSchema, MergedAgentTreeSchema, OWN_CLI_FILE_NAME, PROMPT_CACHE_TTL_MS, PlanClassSchema, PoolGraphError, PoolNameSchema, PoolNotFoundError, PoolPickReportSchema, PoolSchema, PortableConfigSchema, ProfileAlreadyExistsError, ProfileNotFoundError, ProviderAlreadyExistsError, ProviderKindMismatchError, ProviderNotFoundError, ProviderSchema, QUOTA_EXPIRING_EVENT_SOURCE, QuotaExpiringEventSchema, RC_CONTEXT_USAGE_DETAILS, RC_IDLE_EXPIRY_MS, RC_ORPC_PATH_PREFIX, RC_PENDING_DEADLINE_MS, RC_PENDING_RETIRE_REASONS, RC_PERMISSION_MODES, RC_READ_FILE_ENCODINGS, RC_REQUEST_PARSE_CAP_BYTES, RC_SELF_HOST_ENV, RC_SELF_HOST_KEEPALIVE_MS, RC_SELF_HOST_RECORD_DIR, RC_SELF_HOST_RECORD_FILE, RC_SELF_HOST_RETENTION_MS, RC_SELF_HOST_SCOPE_LIST, RC_SELF_HOST_WORKER_JWT_TTL_SECONDS, RC_SESSIONS_PATH_PREFIX, RC_SESSION_END_REASONS, RC_SESSION_EVENT_LOG_CAPACITY, RC_STREAM_BACKOFF_MS, RC_WEB_FETCH_ALLOW_PRIVATE_ENV, RC_WEB_FETCH_DEADLINE_MS, RC_WEB_FETCH_MAX_BYTES, RC_WEB_FETCH_MAX_REDIRECTS, ROUTED_PATH_PREFIX, RcLiveRateLimitSchema, RcPermissionModeSchema, RcRateLimitInfoSchema, RcRateLimitWindowSchema, RcSessionEventCursorExpiredError, RcSessionEventSchema, RcSessionEventsPageInputSchema, RcSessionEventsReadInputSchema, RcSessionEventsReadOutputSchema, RcSessionEventsStreamInputSchema, RcSessionTransitionSchema, RcStreamEnvelopeSchema, RcStreamEventSchema, ResetRowSchema, ResetScheduleSchema, SessionAgentTreeSchema, SessionLookupError, SessionSummarySchema, TaskItemSchema, USAGE_EVENT_SOURCE, UpdateCheckOutputSchema, UsageChangeEventSchema, UsageError, UsageListOutputSchema, UsageLiveOutputSchema, UsageSnapshotError, UsageSnapshotSchema, UsageWindowsInputSchema, UsageWindowsOutputSchema, WhenSchema, WorkflowRunSchema, addDirectoryRule, addIdentity, addPool, addProvider, agentShimCliPath, answerRcControlRequest, applyAgentTaskEvent, authenticateRcSessionMcpServer, buildEntryFacts, buildLayoutPaths, buildRcControlRequestPayload, buildRcControlResponsePayload, buildRcEndSessionPayload, buildRcEventWriteBody, buildRcFileSuggestionsPayload, buildRcGetContextUsagePayload, buildRcGetUsagePayload, buildRcInterruptPayload, buildRcKeepAlivePayload, buildRcMarkReadBody, buildRcMcpAuthenticatePayload, buildRcMcpOAuthCallbackUrlPayload, buildRcMcpReconnectPayload, buildRcMcpStatusPayload, buildRcReadFilePayload, buildRcSetModelPayload, buildRcSetPermissionModePayload, buildRcUserMessagePayload, carryOver, changePool, checkReportHasWarnings, checkReportToJson, collectCheckReport, collectDoctorReport, collectFrontDoorStatus, collectPoolPick, collectResets, collectSessionList, createAgentTreesApiRouter, createCodexApiRouter, createConfigApiRouter, createControlApiRouter, createDoorApiNodeHandler, createDoorApiRouter, createDoorEventHub, createDoorHealthPublisher, createEventsApiRouter, createLaunchApiRouter, createLaunchEventPublisher, createLeafCache, createLifecycleApiRouter, createLiveSessionRegistry, createProfile, createQuotaExpiringPublisher, createRcApiNodeHandler, createRcApiRouter, createRcControlHandler, createRcCredentialStore, createRcEventFanout, createRcLiveUsage, createRcSelfHostSurface, createRcSessionEventLog, createRcSessionEventsApiRouter, createRcSessionTracker, createRcStreamHub, createSseParser, describeProviderEndpoint, detectAmbientCredential, doorApiAuth, doorApiNodeHandlerOf, effectiveWindow, endRcSession, ensureCa, ensureFrontDoor, ensureHeadroom, evaluateAmbientCredentialGuard, evaluateWhen, fetchThroughWebProxy, followRcSessionEvents, formatAmbientCredentialGuardMessage, formatCheckReport, formatDoctorReport, formatFrontDoorStatus, forwardableHeaders, frontDoorApiClient, frontDoorApiFromState, frontDoorApiLink, frontDoorRcApiClient, frontDoorRcControl, generateCa, getRcSessionContextUsage, getRcSessionMcpStatus, getRcSessionUsage, headroomSocketTarget, identityExists, identityIdOf, identityNameOf, identityRecords, injectRcUserMessage, interruptRcSession, isIdentityDirectoryName, isInterceptedHost, isPrivateAddress, isRcContextUsageDetail, isRcPermissionMode, isRcReadFileEncoding, lateRcEventDial, lateRcStreamDial, launchRequiredUpstreams, listDirectoryRules, listIdentities, listProfiles, listProviders, listSessions, listUsageSnapshots, locateSession, matchBranch, mergeLiveTasks, mintLeaf, mintRcSelfHostCredential, observingRoutedRoute, parseConnectTarget, parseRcStreamEnvelope, planOf, poolIdentities, poolSelectedByLaunch, prepareClaudeLaunch, prepareLaunch, profileExists, providerExists, rankPool, rcEventWriteResultFromAnswer, rcFanoutOnDoorHub, rcObserverAsPassthrough, rcRateLimitInfoOf, rcSelfHostFromEnv, rcWebFetchAllowsPrivateFromEnv, readActiveIdentity, readCodexAccount, readCodexRateLimits, readDirectoryRules, readFarmManifest, readFrontDoorControlMaterial, readGlobalConfig, readIdentity, readIdentityById, readIdentityRecords, readPools, readProfile, readProvider, readRcSelfHostRecord, readRcSessionFile, readSessionAgentTree, readUsageSnapshot, realCodexAppServerPort, realConnectCertStore, realConnectEffects, realRcControlTransport, realRcEventDial, realRcStreamDial, realRcWebFetch, realSessionFs, reconnectRcSessionMcpServer, recoverFarm, recoveryDiagnostics, refreshLaunchPoolUsage, refreshPoolUsage, refreshStalePoolMembers, removeDirectoryRule, removeIdentity, removePool, removeProfile, removeProvider, requirePool, resolveAgentShimHome, resolveClaudeHome, resolveClaudeLaunch, resolveDecisions, resolveLaunch, resolveLaunchSelection, resolveLayoutPaths, resolveSupervisorConfig, resyncFarm, runCheck, runClaudeLaunch, runDoctor, runFrontDoorSupervisor, runLaunchPlan, runLauncher, runSupervisor, sendRcKeepAlive, servedByPipeline, setAllowAmbientCredential, setDefaultConfigProfile, setGlobalDefaultProfile, setIdentityCredential, setProfileCategories, setProfileEntries, setProfileLaunchFlags, setProfileMetadata, setRcSessionModel, setRcSessionPermissionMode, showSession, snapshotPath, spawnClaude, startConnectServer, submitRcSessionMcpOAuthCallbackUrl, suggestRcSessionFiles, summariseSession, teleportRcSession, topLevelNames, updateDirectoryRule, updateProvider, useIdentity, watchedInstallEntry, writeDirectoryRules };
|
|
27850
|
-
export type { AddDirectoryRuleOptions, AddProviderInput, AgentKind, AgentNode, AgentReadFs, AgentTreesApiDeps, AgentTreesApiRouter, AmbientCredentialDetection, AmbientCredentialGuardResult, AmbientCredentialVar, AnthropicUsageRefresher, BuildEntryFactsParams, CaMaterial, Candidate, CarryOverParams, CarryOverResult, CategoryMap, CheckReport, CheckReportJson, ClaudeLaunchResolution, CodexAccountRead, CodexApiClient, CodexApiDeps, CodexApiRouter, CodexAppServerConnection, CodexAppServerPort, CodexAppServerReadOptions, CodexRateLimitsRead, CollectCheckReportParams, CollectDoctorReportParams, CompiledRule, ConditionContext, ConfigApiDeps, ConfigApiRouter, ConfigProfile, ConnectCertStore, ConnectEffects, ConnectLimits, ConnectLocalSurface, ConnectServerConfig, ConnectServerHandle, ConnectTarget, ControlApiClient, ControlApiDeps, ControlApiRouter, Credential, CredentialSource, Decision, Diagnostic, DirectoryRule, DirectoryRules, DoctorReport, DoorApiClient, DoorApiContext, DoorApiDeps, DoorApiRouter, DoorEvent, DoorEventHub, DoorEventPublisher, DoorEventStream, DoorEventsApiDeps, DoorHealthEvent, DoorHealthPublisher, EffectiveWindow, EliminatedRule, EnsureFrontDoorPorts, EnsureHeadroomPorts, EntryFact, EntryFacts, EntryValue, EvaluateAmbientCredentialGuardParams, FlattenedCascade, FrontDoorControlMaterial, FrontDoorRcControl, FrontDoorSessionStatus, FrontDoorStatus, FrontDoorSupervisorPorts, GlobalConfig, HeadroomSupervisorConfig, Identity, IdentityCredentialChange, IdentityListEntry, IdentityListing, IdentityNameRead, IdentityRecord, IdentityRecordsPort, IdentitySession, InjectedCredential, LaunchApiDeps, LaunchApiRouter, LaunchDecision, LaunchEventPublisher, LaunchLifecycleEvent, LaunchPlan, LaunchPoolDecision, LaunchResolution, LaunchSelection, Layer, LayerId, LayoutPaths, LeafCert, LifecycleApiClient, LifecycleApiDeps, LifecycleApiRouter, LiveSessionRegistry, LiveSessionRegistryPorts, LiveTask, LiveTaskBook, LocatedSession, MergedAgentNode, MergedAgentTree, NestedContribution, OwnExecutableStat, PlanClass, Pool, PoolChange, PoolMember, PoolPickReport, PoolPolicy, PoolRanking, PortableConfig, PrepareClaudeLaunchOptions, PrepareLaunchParams, ProfileListEntry, Provider, ProviderListEntry, QuotaExpiringEvent, QuotaExpiringPublisher, RankPoolInput, RcAnswerDecision, RcAnswerDeps, RcApiClient, RcApiDeps, RcApiRouter, RcContextUsageDetail, RcControlAnswer, RcControlHandlerDeps, RcControlRequestDeps, RcControlTransport, RcCredentialStore, RcDialAnswer, RcDialTarget, RcEventDial, RcEventFanout, RcEventWriteResult, RcExchangeObserver, RcInjectDeps, RcLiveRateLimit, RcLiveUsage, RcLiveUsageDeps, RcObservedCredential, RcObservedRequest, RcPendingRequestSummary, RcPendingRetireReason, RcPermissionMode, RcPresenceAnswer, RcRateLimitInfo, RcRateLimitWindow, RcReadFileEncoding, RcReadFileOptions, RcSelfHostCredentialRecord, RcSelfHostDeps, RcSelfHostMintResult, RcSelfHostSurface, RcSessionEndReason, RcSessionEvent, RcSessionEventLog, RcSessionEventLogDeps, RcSessionEventsApiDeps, RcSessionEventsApiRouter, RcSessionEventsRead, RcSessionEventsReadInput, RcSessionStatus, RcSessionSummary, RcSessionTracker, RcSessionTrackerDeps, RcSessionTransition, RcStreamAnswer, RcStreamDial, RcStreamEnvelope, RcStreamEvent, RcStreamHub, RcStreamHubDeps, RcWebFetchDeps, RcWebFetchHop, RcWebFetchOutcome, RcWebFetcher, RcWorkerFact, RcWriteHeaders, ReadSessionOptions, RecoverFarmParams, RecoveryResult, RefreshLaunchPoolUsageOptions, RefreshPoolUsageParams, RefreshStalePoolMembersParams, ResetRow, ResetSchedule, ResolveClaudeLaunchOptions, ResolveDecisionsInput, ResolveLaunchSelectionParams, ResolvedState, ResyncFarmParams, ResyncFarmResult, RunCheckParams, RunClaudeLaunchOptions, RunDoctorParams, RunFrontDoorSupervisorOptions, RunLauncherParams, RunSupervisorOptions, SessionAgentTree, SessionCommandFs, SessionListFilters, SessionRef, SessionSummary, SessionView, SpawnClaudeParams, SseParsedEvent, StickyPick, SupervisorPorts, TaskItem, UnreadableIdentityListEntry, UpdateDirectoryRuleOptions, UpdateProviderInput, UsageChangeEvent, UsageReadFs, UsageSnapshot, WhenCondition, WhenEvaluation, WorkflowRun };
|
|
27931
|
+
export { AMBIENT_CREDENTIAL_VARS, AgentKindSchema, AgentMetaSchema, AgentNodeSchema, AgentTreesListInputSchema, AgentTreesListOutputSchema, AgentTreesShowInputSchema, AgentTreesShowOutputSchema, CHECK_CREDENTIAL_APPLIES, CODEX_APP_SERVER_GENERATED_AGAINST, CODEX_APP_SERVER_TIMEOUT_MS, CONNECT_INTERCEPT_HOST, CONNECT_INTERCEPT_HOSTS, CONNECT_LIMITS, CONTROL_PATH_PREFIX, CategoryClassificationOverlaySchema, CategoryClassificationSchema, CategoryMapSchema, CheckReportJsonSchema, CheckRunInputSchema, CliError, CodexAccountReadSchema, CodexAppServerProtocolError, CodexAppServerRequestError, CodexAppServerUnavailableError, CodexLogoutOutputSchema, CodexRateLimitsReadSchema, CodexSignInSchema, CodexStatusOutputSchema, ConfigIdentityAddInputSchema, ConfigIdentityAddOutputSchema, ConfigIdentityRemoveInputSchema, ConfigIdentityRemoveOutputSchema, ConfigIdentitySetInputSchema, ConfigIdentitySetOutputSchema, ConfigIdentityUseOutputSchema, ConfigNameInputSchema, ConfigPoolAddInputSchema, ConfigPoolAddOutputSchema, ConfigPoolRemoveInputSchema, ConfigPoolRemoveOutputSchema, ConfigPoolSetInputSchema, ConfigPoolSetOutputSchema, ConfigPoolUseOutputSchema, ConfigProfileAddInputSchema, ConfigProfileAddOutputSchema, ConfigProfileRemoveInputSchema, ConfigProfileRemoveOutputSchema, ConfigProfileSchema, ConfigProfileSetInputSchema, ConfigProfileSetOutputSchema, ConfigProfileUseOutputSchema, ConfigProviderAddInputSchema, ConfigProviderAddOutputSchema, ConfigProviderRemoveInputSchema, ConfigProviderRemoveOutputSchema, ConfigProviderSetInputSchema, ConfigProviderSetOutputSchema, ConfigRuleAddInputSchema, ConfigRuleAddOutputSchema, ConfigRuleRemoveInputSchema, ConfigRuleRemoveOutputSchema, ConfigRuleSetInputSchema, ConfigRuleSetOutputSchema, CredentialCacheSchema, CredentialSchema, CredentialSourceSchema, CredentialSummarySchema, DOOR_EVENT_BUFFER_EVENTS, DOOR_EVENT_SOURCE_RC, DOOR_HEALTH_EVENT_SOURCE, DirectoryRuleAlreadyExistsError, DirectoryRuleMissingTargetError, DirectoryRuleNotFoundError, DirectoryRuleSchema, DirectoryRulesSchema, DoctorFindingSchema, DoctorRunOutputSchema, DoorEventSchema, DoorEventSourceQuerySchema, DoorHealthEventSchema, DuplicateIdentityNameError, EXIT_FAILURE, EXIT_USAGE, EffectiveWindowSchema, EntryValueSchema, FARM_MANIFEST_FILENAME, FrontDoorControlMaterialError, FrontDoorNotServingError, FrontDoorRestartOutputSchema, FrontDoorSessionStatusSchema, FrontDoorSessionsOutputSchema, FrontDoorStartError, FrontDoorStateSchema, FrontDoorStatusOutputSchema, GlobalConfigSchema, HeadroomSocketTargetSchema, HeadroomStartError, IdentityAlreadyExistsError, IdentityNotFoundError, IdentitySchema, InvalidCategoryNameError, InvalidIdentityNameError, InvalidProviderNameError, LAUNCH_EVENT_SOURCE, LIVE_TASK_CAP, LaunchLifecycleEventSchema, LaunchRefusedError, LaunchResolveInputSchema, LaunchResolveOutputSchema, LegacyProviderFileError, LiveTaskSchema, MergedAgentNodeSchema, MergedAgentTreeSchema, OWN_CLI_FILE_NAME, PROMPT_CACHE_TTL_MS, PlanClassSchema, PoolGraphError, PoolNameSchema, PoolNotFoundError, PoolPickReportSchema, PoolSchema, PortableConfigSchema, ProfileAlreadyExistsError, ProfileNotFoundError, ProviderAlreadyExistsError, ProviderKindMismatchError, ProviderNotFoundError, ProviderSchema, QUOTA_EXPIRING_EVENT_SOURCE, QuotaExpiringEventSchema, RC_CONTEXT_USAGE_DETAILS, RC_IDLE_EXPIRY_MS, RC_ORPC_PATH_PREFIX, RC_PENDING_DEADLINE_MS, RC_PENDING_RETIRE_REASONS, RC_PERMISSION_MODES, RC_READ_FILE_ENCODINGS, RC_REQUEST_PARSE_CAP_BYTES, RC_SELF_HOST_ENV, RC_SELF_HOST_KEEPALIVE_MS, RC_SELF_HOST_RECORD_DIR, RC_SELF_HOST_RECORD_FILE, RC_SELF_HOST_RETENTION_MS, RC_SELF_HOST_SCOPE_LIST, RC_SELF_HOST_WORKER_JWT_TTL_SECONDS, RC_SESSIONS_PATH_PREFIX, RC_SESSION_END_REASONS, RC_SESSION_EVENT_LOG_CAPACITY, RC_STREAM_BACKOFF_MS, RC_WEB_FETCH_ALLOW_PRIVATE_ENV, RC_WEB_FETCH_DEADLINE_MS, RC_WEB_FETCH_MAX_BYTES, RC_WEB_FETCH_MAX_REDIRECTS, ROUTED_PATH_PREFIX, RcLiveRateLimitSchema, RcPermissionModeSchema, RcRateLimitInfoSchema, RcRateLimitWindowSchema, RcSessionEventCursorExpiredError, RcSessionEventSchema, RcSessionEventsPageInputSchema, RcSessionEventsReadInputSchema, RcSessionEventsReadOutputSchema, RcSessionEventsStreamInputSchema, RcSessionTransitionSchema, RcStreamEnvelopeSchema, RcStreamEventSchema, ResetRowSchema, ResetScheduleSchema, SessionAgentTreeSchema, SessionLookupError, SessionSummarySchema, TaskItemSchema, USAGE_EVENT_SOURCE, UpdateCheckOutputSchema, UsageChangeEventSchema, UsageError, UsageListOutputSchema, UsageLiveOutputSchema, UsageSnapshotError, UsageSnapshotSchema, UsageWindowsInputSchema, UsageWindowsOutputSchema, WhenSchema, WorkflowRunSchema, addDirectoryRule, addIdentity, addPool, addProvider, agentShimCliPath, answerRcControlRequest, applyAgentTaskEvent, authenticateRcSessionMcpServer, buildEntryFacts, buildLayoutPaths, buildRcControlRequestPayload, buildRcControlResponsePayload, buildRcEndSessionPayload, buildRcEventWriteBody, buildRcFileSuggestionsPayload, buildRcGetContextUsagePayload, buildRcGetUsagePayload, buildRcInterruptPayload, buildRcKeepAlivePayload, buildRcMarkReadBody, buildRcMcpAuthenticatePayload, buildRcMcpOAuthCallbackUrlPayload, buildRcMcpReconnectPayload, buildRcMcpStatusPayload, buildRcReadFilePayload, buildRcSetModelPayload, buildRcSetPermissionModePayload, buildRcUserMessagePayload, carryOver, changePool, checkReportHasWarnings, checkReportToJson, collectCheckReport, collectDoctorReport, collectFrontDoorStatus, collectPoolPick, collectResets, collectSessionList, createAgentTreesApiRouter, createCodexApiRouter, createConfigApiRouter, createControlApiRouter, createDoorApiNodeHandler, createDoorApiRouter, createDoorEventHub, createDoorHealthPublisher, createEventsApiRouter, createLaunchApiRouter, createLaunchEventPublisher, createLeafCache, createLifecycleApiRouter, createLiveSessionRegistry, createProfile, createQuotaExpiringPublisher, createRcApiNodeHandler, createRcApiRouter, createRcControlHandler, createRcCredentialStore, createRcEventFanout, createRcLiveUsage, createRcSelfHostSurface, createRcSessionEventLog, createRcSessionEventsApiRouter, createRcSessionRegistryReader, createRcSessionTracker, createRcStreamHub, createSseParser, describeProviderEndpoint, detectAmbientCredential, doorApiAuth, doorApiNodeHandlerOf, effectiveWindow, endRcSession, ensureCa, ensureFrontDoor, ensureHeadroom, evaluateAmbientCredentialGuard, evaluateWhen, fetchThroughWebProxy, followRcSessionEvents, formatAmbientCredentialGuardMessage, formatCheckReport, formatDoctorReport, formatFrontDoorStatus, forwardableHeaders, frontDoorApiClient, frontDoorApiFromState, frontDoorApiLink, frontDoorRcApiClient, frontDoorRcControl, generateCa, getRcSessionContextUsage, getRcSessionMcpStatus, getRcSessionUsage, headroomSocketTarget, identityExists, identityIdOf, identityNameOf, identityRecords, injectRcUserMessage, interruptRcSession, isIdentityDirectoryName, isInterceptedHost, isPrivateAddress, isRcContextUsageDetail, isRcPermissionMode, isRcReadFileEncoding, lateRcEventDial, lateRcStreamDial, launchRequiredUpstreams, listDirectoryRules, listIdentities, listProfiles, listProviders, listSessions, listUsageSnapshots, locateSession, matchBranch, mergeLiveTasks, mintLeaf, mintRcSelfHostCredential, observingRoutedRoute, parseConnectTarget, parseRcStreamEnvelope, planOf, poolIdentities, poolSelectedByLaunch, prepareClaudeLaunch, prepareLaunch, profileExists, providerExists, rankPool, rcEventWriteResultFromAnswer, rcFanoutOnDoorHub, rcObserverAsPassthrough, rcRateLimitInfoOf, rcSelfHostFromEnv, rcStatusWithRegistry, rcWebFetchAllowsPrivateFromEnv, readActiveIdentity, readCodexAccount, readCodexRateLimits, readDirectoryRules, readFarmManifest, readFrontDoorControlMaterial, readGlobalConfig, readIdentity, readIdentityById, readIdentityRecords, readPools, readProfile, readProvider, readRcSelfHostRecord, readRcSessionFile, readSessionAgentTree, readUsageSnapshot, realCodexAppServerPort, realConnectCertStore, realConnectEffects, realRcControlTransport, realRcEventDial, realRcStreamDial, realRcWebFetch, realSessionFs, reconnectRcSessionMcpServer, recoverFarm, recoveryDiagnostics, refreshLaunchPoolUsage, refreshPoolUsage, refreshStalePoolMembers, removeDirectoryRule, removeIdentity, removePool, removeProfile, removeProvider, requirePool, resolveAgentShimHome, resolveClaudeHome, resolveClaudeLaunch, resolveDecisions, resolveLaunch, resolveLaunchSelection, resolveLayoutPaths, resolveSupervisorConfig, resyncFarm, runCheck, runClaudeLaunch, runDoctor, runFrontDoorSupervisor, runLaunchPlan, runLauncher, runSupervisor, sendRcKeepAlive, servedByPipeline, setAllowAmbientCredential, setDefaultConfigProfile, setGlobalDefaultProfile, setIdentityCredential, setProfileCategories, setProfileEntries, setProfileLaunchFlags, setProfileMetadata, setRcSessionModel, setRcSessionPermissionMode, showSession, snapshotPath, spawnClaude, startConnectServer, submitRcSessionMcpOAuthCallbackUrl, suggestRcSessionFiles, summariseSession, teleportRcSession, topLevelNames, updateDirectoryRule, updateProvider, useIdentity, watchedInstallEntry, withRegisteredSessionFacts, writeDirectoryRules };
|
|
27932
|
+
export type { AddDirectoryRuleOptions, AddProviderInput, AgentKind, AgentNode, AgentReadFs, AgentTreesApiDeps, AgentTreesApiRouter, AmbientCredentialDetection, AmbientCredentialGuardResult, AmbientCredentialVar, AnthropicUsageRefresher, BuildEntryFactsParams, CaMaterial, Candidate, CarryOverParams, CarryOverResult, CategoryMap, CheckReport, CheckReportJson, ClaudeLaunchResolution, CodexAccountRead, CodexApiClient, CodexApiDeps, CodexApiRouter, CodexAppServerConnection, CodexAppServerPort, CodexAppServerReadOptions, CodexRateLimitsRead, CollectCheckReportParams, CollectDoctorReportParams, CompiledRule, ConditionContext, ConfigApiDeps, ConfigApiRouter, ConfigProfile, ConnectCertStore, ConnectEffects, ConnectLimits, ConnectLocalSurface, ConnectServerConfig, ConnectServerHandle, ConnectTarget, ControlApiClient, ControlApiDeps, ControlApiRouter, Credential, CredentialSource, Decision, Diagnostic, DirectoryRule, DirectoryRules, DoctorReport, DoorApiClient, DoorApiContext, DoorApiDeps, DoorApiRouter, DoorEvent, DoorEventHub, DoorEventPublisher, DoorEventStream, DoorEventsApiDeps, DoorHealthEvent, DoorHealthPublisher, EffectiveWindow, EliminatedRule, EnsureFrontDoorPorts, EnsureHeadroomPorts, EntryFact, EntryFacts, EntryValue, EvaluateAmbientCredentialGuardParams, FlattenedCascade, FrontDoorControlMaterial, FrontDoorRcControl, FrontDoorSessionStatus, FrontDoorStatus, FrontDoorSupervisorPorts, GlobalConfig, HeadroomSupervisorConfig, Identity, IdentityCredentialChange, IdentityListEntry, IdentityListing, IdentityNameRead, IdentityRecord, IdentityRecordsPort, IdentitySession, InjectedCredential, LaunchApiDeps, LaunchApiRouter, LaunchDecision, LaunchEventPublisher, LaunchLifecycleEvent, LaunchPlan, LaunchPoolDecision, LaunchResolution, LaunchSelection, Layer, LayerId, LayoutPaths, LeafCert, LifecycleApiClient, LifecycleApiDeps, LifecycleApiRouter, LiveSessionRegistry, LiveSessionRegistryPorts, LiveTask, LiveTaskBook, LocatedSession, MergedAgentNode, MergedAgentTree, NestedContribution, OwnExecutableStat, PlanClass, Pool, PoolChange, PoolMember, PoolPickReport, PoolPolicy, PoolRanking, PortableConfig, PrepareClaudeLaunchOptions, PrepareLaunchParams, ProfileListEntry, Provider, ProviderListEntry, QuotaExpiringEvent, QuotaExpiringPublisher, RankPoolInput, RcAnswerDecision, RcAnswerDeps, RcApiClient, RcApiDeps, RcApiRouter, RcContextUsageDetail, RcControlAnswer, RcControlHandlerDeps, RcControlRequestDeps, RcControlTransport, RcCredentialStore, RcDialAnswer, RcDialTarget, RcEventDial, RcEventFanout, RcEventWriteResult, RcExchangeObserver, RcInjectDeps, RcLiveRateLimit, RcLiveUsage, RcLiveUsageDeps, RcObservedCredential, RcObservedRequest, RcPendingRequestSummary, RcPendingRetireReason, RcPermissionMode, RcPresenceAnswer, RcRateLimitInfo, RcRateLimitWindow, RcReadFileEncoding, RcReadFileOptions, RcRegisteredSession, RcRegistryIdentity, RcSelfHostCredentialRecord, RcSelfHostDeps, RcSelfHostMintResult, RcSelfHostSurface, RcSessionEndReason, RcSessionEvent, RcSessionEventLog, RcSessionEventLogDeps, RcSessionEventsApiDeps, RcSessionEventsApiRouter, RcSessionEventsRead, RcSessionEventsReadInput, RcSessionRegistryDeps, RcSessionRegistryFs, RcSessionStatus, RcSessionSummary, RcSessionTracker, RcSessionTrackerDeps, RcSessionTransition, RcStreamAnswer, RcStreamDial, RcStreamEnvelope, RcStreamEvent, RcStreamHub, RcStreamHubDeps, RcWebFetchDeps, RcWebFetchHop, RcWebFetchOutcome, RcWebFetcher, RcWorkerFact, RcWriteHeaders, ReadSessionOptions, RecoverFarmParams, RecoveryResult, RefreshLaunchPoolUsageOptions, RefreshPoolUsageParams, RefreshStalePoolMembersParams, ResetRow, ResetSchedule, ResolveClaudeLaunchOptions, ResolveDecisionsInput, ResolveLaunchSelectionParams, ResolvedState, ResyncFarmParams, ResyncFarmResult, RunCheckParams, RunClaudeLaunchOptions, RunDoctorParams, RunFrontDoorSupervisorOptions, RunLauncherParams, RunSupervisorOptions, SessionAgentTree, SessionCommandFs, SessionListFilters, SessionRef, SessionSummary, SessionView, SpawnClaudeParams, SseParsedEvent, StickyPick, SupervisorPorts, TaskItem, UnreadableIdentityListEntry, UpdateDirectoryRuleOptions, UpdateProviderInput, UsageChangeEvent, UsageReadFs, UsageSnapshot, WhenCondition, WhenEvaluation, WorkflowRun };
|