claude-use 12.1.0 → 13.0.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.
Files changed (5) hide show
  1. package/dist/cli.cjs +77922 -77255
  2. package/dist/index.cjs +13742 -13196
  3. package/dist/index.mjs +12327 -11782
  4. package/dist/types/index.d.ts +1004 -898
  5. package/package.json +1 -1
@@ -302,13 +302,13 @@ declare const LaunchSchema: z.ZodObject<{
302
302
  route: "route";
303
303
  account: "account";
304
304
  provider: "provider";
305
- duration: "duration";
305
+ version: "version";
306
306
  headroom: "headroom";
307
+ duration: "duration";
307
308
  project: "project";
308
309
  vcs: "vcs";
309
310
  effort: "effort";
310
311
  advisor: "advisor";
311
- version: "version";
312
312
  outputStyle: "outputStyle";
313
313
  cost: "cost";
314
314
  dailyCost: "dailyCost";
@@ -319,10 +319,10 @@ declare const LaunchSchema: z.ZodObject<{
319
319
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
320
320
  context: "context";
321
321
  quota: "quota";
322
+ environment: "environment";
322
323
  addedDirs: "addedDirs";
323
324
  gitFiles: "gitFiles";
324
325
  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";
348
349
  addedDirs: "addedDirs";
349
350
  gitFiles: "gitFiles";
350
351
  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";
365
366
  addedDirs: "addedDirs";
366
367
  gitFiles: "gitFiles";
367
368
  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";
427
428
  tokens: "tokens";
428
429
  both: "both";
429
430
  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
- remaining: "remaining";
473
472
  used: "used";
473
+ remaining: "remaining";
474
474
  }>>;
475
475
  bar: z.ZodOptional<z.ZodBoolean>;
476
476
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -944,8 +944,8 @@ declare const AntigravityProviderConfigSchema: z.ZodObject<{
944
944
  models: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
945
945
  degradeDownTiers: z.ZodOptional<z.ZodBoolean>;
946
946
  effort: z.ZodOptional<z.ZodEnum<{
947
- max: "max";
948
947
  none: "none";
948
+ max: "max";
949
949
  low: "low";
950
950
  medium: "medium";
951
951
  high: "high";
@@ -1021,6 +1021,7 @@ declare const ProviderSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1021
1021
  kind: z.ZodOptional<z.ZodLiteral<"http">>;
1022
1022
  displayName: z.ZodString;
1023
1023
  baseUrl: z.ZodURL;
1024
+ connectTimeoutMs: z.ZodOptional<z.ZodInt>;
1024
1025
  credential: z.ZodObject<{
1025
1026
  sources: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1026
1027
  env: z.ZodString;
@@ -1285,8 +1286,8 @@ declare const ProviderSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1285
1286
  models: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
1286
1287
  degradeDownTiers: z.ZodOptional<z.ZodBoolean>;
1287
1288
  effort: z.ZodOptional<z.ZodEnum<{
1288
- max: "max";
1289
1289
  none: "none";
1290
+ max: "max";
1290
1291
  low: "low";
1291
1292
  medium: "medium";
1292
1293
  high: "high";
@@ -1532,13 +1533,13 @@ declare const ConfigProfileSchema: z.ZodObject<{
1532
1533
  route: "route";
1533
1534
  account: "account";
1534
1535
  provider: "provider";
1535
- duration: "duration";
1536
+ version: "version";
1536
1537
  headroom: "headroom";
1538
+ duration: "duration";
1537
1539
  project: "project";
1538
1540
  vcs: "vcs";
1539
1541
  effort: "effort";
1540
1542
  advisor: "advisor";
1541
- version: "version";
1542
1543
  outputStyle: "outputStyle";
1543
1544
  cost: "cost";
1544
1545
  dailyCost: "dailyCost";
@@ -1549,10 +1550,10 @@ declare const ConfigProfileSchema: z.ZodObject<{
1549
1550
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1550
1551
  context: "context";
1551
1552
  quota: "quota";
1553
+ environment: "environment";
1552
1554
  addedDirs: "addedDirs";
1553
1555
  gitFiles: "gitFiles";
1554
1556
  memory: "memory";
1555
- environment: "environment";
1556
1557
  sessionTime: "sessionTime";
1557
1558
  promptCache: "promptCache";
1558
1559
  compactions: "compactions";
@@ -1575,10 +1576,10 @@ declare const ConfigProfileSchema: z.ZodObject<{
1575
1576
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
1576
1577
  context: "context";
1577
1578
  quota: "quota";
1579
+ environment: "environment";
1578
1580
  addedDirs: "addedDirs";
1579
1581
  gitFiles: "gitFiles";
1580
1582
  memory: "memory";
1581
- environment: "environment";
1582
1583
  sessionTime: "sessionTime";
1583
1584
  promptCache: "promptCache";
1584
1585
  compactions: "compactions";
@@ -1592,10 +1593,10 @@ declare const ConfigProfileSchema: z.ZodObject<{
1592
1593
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1593
1594
  context: "context";
1594
1595
  quota: "quota";
1596
+ environment: "environment";
1595
1597
  addedDirs: "addedDirs";
1596
1598
  gitFiles: "gitFiles";
1597
1599
  memory: "memory";
1598
- environment: "environment";
1599
1600
  sessionTime: "sessionTime";
1600
1601
  promptCache: "promptCache";
1601
1602
  compactions: "compactions";
@@ -1654,10 +1655,10 @@ declare const ConfigProfileSchema: z.ZodObject<{
1654
1655
  hidden: "hidden";
1655
1656
  }>>;
1656
1657
  value: z.ZodOptional<z.ZodEnum<{
1658
+ remaining: "remaining";
1657
1659
  tokens: "tokens";
1658
1660
  both: "both";
1659
1661
  percent: "percent";
1660
- remaining: "remaining";
1661
1662
  }>>;
1662
1663
  estimate: z.ZodOptional<z.ZodEnum<{
1663
1664
  never: "never";
@@ -1699,8 +1700,8 @@ declare const ConfigProfileSchema: z.ZodObject<{
1699
1700
  }, z.core.$strict>>;
1700
1701
  usage: z.ZodOptional<z.ZodObject<{
1701
1702
  value: z.ZodOptional<z.ZodEnum<{
1702
- remaining: "remaining";
1703
1703
  used: "used";
1704
+ remaining: "remaining";
1704
1705
  }>>;
1705
1706
  bar: z.ZodOptional<z.ZodBoolean>;
1706
1707
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -2288,6 +2289,53 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2288
2289
  key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
2289
2290
  }, z.core.$strip>], "kind">]>;
2290
2291
  }, z.core.$strict>]>>>;
2292
+ models: z.ZodOptional<z.ZodObject<{
2293
+ pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
2294
+ virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
2295
+ mode: z.ZodEnum<{
2296
+ ordered: "ordered";
2297
+ "most-allowance": "most-allowance";
2298
+ "soonest-reset": "soonest-reset";
2299
+ spread: "spread";
2300
+ adaptive: "adaptive";
2301
+ "lowest-latency": "lowest-latency";
2302
+ "highest-success": "highest-success";
2303
+ cheapest: "cheapest";
2304
+ }>;
2305
+ members: z.ZodArray<z.ZodString>;
2306
+ }, z.core.$strict>, z.ZodNull]>>>;
2307
+ tiers: z.ZodOptional<z.ZodObject<{
2308
+ fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
2309
+ opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
2310
+ sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
2311
+ haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
2312
+ }, z.core.$strict>>;
2313
+ prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
2314
+ input: z.ZodNumber;
2315
+ output: z.ZodNumber;
2316
+ }, z.core.$strict>, z.ZodNull]>>>;
2317
+ hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
2318
+ show: z.ZodOptional<z.ZodArray<z.ZodString>>;
2319
+ same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
2320
+ distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
2321
+ families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
2322
+ names: z.ZodOptional<z.ZodArray<z.ZodString>>;
2323
+ mode: z.ZodOptional<z.ZodEnum<{
2324
+ ordered: "ordered";
2325
+ "most-allowance": "most-allowance";
2326
+ "soonest-reset": "soonest-reset";
2327
+ spread: "spread";
2328
+ adaptive: "adaptive";
2329
+ "lowest-latency": "lowest-latency";
2330
+ "highest-success": "highest-success";
2331
+ cheapest: "cheapest";
2332
+ }>>;
2333
+ context: z.ZodOptional<z.ZodNumber>;
2334
+ vision: z.ZodOptional<z.ZodBoolean>;
2335
+ tools: z.ZodOptional<z.ZodBoolean>;
2336
+ thinking: z.ZodOptional<z.ZodBoolean>;
2337
+ }, z.core.$strict>, z.ZodNull]>>>;
2338
+ }, z.core.$strict>>;
2291
2339
  $schema: z.ZodOptional<z.ZodString>;
2292
2340
  extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
2293
2341
  categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
@@ -2335,13 +2383,13 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2335
2383
  route: "route";
2336
2384
  account: "account";
2337
2385
  provider: "provider";
2338
- duration: "duration";
2386
+ version: "version";
2339
2387
  headroom: "headroom";
2388
+ duration: "duration";
2340
2389
  project: "project";
2341
2390
  vcs: "vcs";
2342
2391
  effort: "effort";
2343
2392
  advisor: "advisor";
2344
- version: "version";
2345
2393
  outputStyle: "outputStyle";
2346
2394
  cost: "cost";
2347
2395
  dailyCost: "dailyCost";
@@ -2352,10 +2400,10 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2352
2400
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2353
2401
  context: "context";
2354
2402
  quota: "quota";
2403
+ environment: "environment";
2355
2404
  addedDirs: "addedDirs";
2356
2405
  gitFiles: "gitFiles";
2357
2406
  memory: "memory";
2358
- environment: "environment";
2359
2407
  sessionTime: "sessionTime";
2360
2408
  promptCache: "promptCache";
2361
2409
  compactions: "compactions";
@@ -2378,10 +2426,10 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2378
2426
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
2379
2427
  context: "context";
2380
2428
  quota: "quota";
2429
+ environment: "environment";
2381
2430
  addedDirs: "addedDirs";
2382
2431
  gitFiles: "gitFiles";
2383
2432
  memory: "memory";
2384
- environment: "environment";
2385
2433
  sessionTime: "sessionTime";
2386
2434
  promptCache: "promptCache";
2387
2435
  compactions: "compactions";
@@ -2395,10 +2443,10 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2395
2443
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2396
2444
  context: "context";
2397
2445
  quota: "quota";
2446
+ environment: "environment";
2398
2447
  addedDirs: "addedDirs";
2399
2448
  gitFiles: "gitFiles";
2400
2449
  memory: "memory";
2401
- environment: "environment";
2402
2450
  sessionTime: "sessionTime";
2403
2451
  promptCache: "promptCache";
2404
2452
  compactions: "compactions";
@@ -2457,10 +2505,10 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2457
2505
  hidden: "hidden";
2458
2506
  }>>;
2459
2507
  value: z.ZodOptional<z.ZodEnum<{
2508
+ remaining: "remaining";
2460
2509
  tokens: "tokens";
2461
2510
  both: "both";
2462
2511
  percent: "percent";
2463
- remaining: "remaining";
2464
2512
  }>>;
2465
2513
  estimate: z.ZodOptional<z.ZodEnum<{
2466
2514
  never: "never";
@@ -2502,8 +2550,8 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2502
2550
  }, z.core.$strict>>;
2503
2551
  usage: z.ZodOptional<z.ZodObject<{
2504
2552
  value: z.ZodOptional<z.ZodEnum<{
2505
- remaining: "remaining";
2506
2553
  used: "used";
2554
+ remaining: "remaining";
2507
2555
  }>>;
2508
2556
  bar: z.ZodOptional<z.ZodBoolean>;
2509
2557
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -2861,53 +2909,6 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2861
2909
  }, z.core.$strict>>;
2862
2910
  }, z.core.$strict>>;
2863
2911
  }, 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
2912
  path: z.ZodString;
2912
2913
  configProfile: z.ZodOptional<z.ZodString>;
2913
2914
  identity: z.ZodOptional<z.ZodString>;
@@ -3064,6 +3065,53 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3064
3065
  key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
3065
3066
  }, z.core.$strip>], "kind">]>;
3066
3067
  }, z.core.$strict>]>>>;
3068
+ models: z.ZodOptional<z.ZodObject<{
3069
+ pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
3070
+ virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
3071
+ mode: z.ZodEnum<{
3072
+ ordered: "ordered";
3073
+ "most-allowance": "most-allowance";
3074
+ "soonest-reset": "soonest-reset";
3075
+ spread: "spread";
3076
+ adaptive: "adaptive";
3077
+ "lowest-latency": "lowest-latency";
3078
+ "highest-success": "highest-success";
3079
+ cheapest: "cheapest";
3080
+ }>;
3081
+ members: z.ZodArray<z.ZodString>;
3082
+ }, z.core.$strict>, z.ZodNull]>>>;
3083
+ tiers: z.ZodOptional<z.ZodObject<{
3084
+ fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
3085
+ opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
3086
+ sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
3087
+ haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
3088
+ }, z.core.$strict>>;
3089
+ prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
3090
+ input: z.ZodNumber;
3091
+ output: z.ZodNumber;
3092
+ }, z.core.$strict>, z.ZodNull]>>>;
3093
+ hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
3094
+ show: z.ZodOptional<z.ZodArray<z.ZodString>>;
3095
+ same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
3096
+ distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
3097
+ families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
3098
+ names: z.ZodOptional<z.ZodArray<z.ZodString>>;
3099
+ mode: z.ZodOptional<z.ZodEnum<{
3100
+ ordered: "ordered";
3101
+ "most-allowance": "most-allowance";
3102
+ "soonest-reset": "soonest-reset";
3103
+ spread: "spread";
3104
+ adaptive: "adaptive";
3105
+ "lowest-latency": "lowest-latency";
3106
+ "highest-success": "highest-success";
3107
+ cheapest: "cheapest";
3108
+ }>>;
3109
+ context: z.ZodOptional<z.ZodNumber>;
3110
+ vision: z.ZodOptional<z.ZodBoolean>;
3111
+ tools: z.ZodOptional<z.ZodBoolean>;
3112
+ thinking: z.ZodOptional<z.ZodBoolean>;
3113
+ }, z.core.$strict>, z.ZodNull]>>>;
3114
+ }, z.core.$strict>>;
3067
3115
  $schema: z.ZodOptional<z.ZodString>;
3068
3116
  extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
3069
3117
  categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
@@ -3111,13 +3159,13 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3111
3159
  route: "route";
3112
3160
  account: "account";
3113
3161
  provider: "provider";
3114
- duration: "duration";
3162
+ version: "version";
3115
3163
  headroom: "headroom";
3164
+ duration: "duration";
3116
3165
  project: "project";
3117
3166
  vcs: "vcs";
3118
3167
  effort: "effort";
3119
3168
  advisor: "advisor";
3120
- version: "version";
3121
3169
  outputStyle: "outputStyle";
3122
3170
  cost: "cost";
3123
3171
  dailyCost: "dailyCost";
@@ -3128,10 +3176,10 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3128
3176
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3129
3177
  context: "context";
3130
3178
  quota: "quota";
3179
+ environment: "environment";
3131
3180
  addedDirs: "addedDirs";
3132
3181
  gitFiles: "gitFiles";
3133
3182
  memory: "memory";
3134
- environment: "environment";
3135
3183
  sessionTime: "sessionTime";
3136
3184
  promptCache: "promptCache";
3137
3185
  compactions: "compactions";
@@ -3154,10 +3202,10 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3154
3202
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
3155
3203
  context: "context";
3156
3204
  quota: "quota";
3205
+ environment: "environment";
3157
3206
  addedDirs: "addedDirs";
3158
3207
  gitFiles: "gitFiles";
3159
3208
  memory: "memory";
3160
- environment: "environment";
3161
3209
  sessionTime: "sessionTime";
3162
3210
  promptCache: "promptCache";
3163
3211
  compactions: "compactions";
@@ -3171,10 +3219,10 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3171
3219
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3172
3220
  context: "context";
3173
3221
  quota: "quota";
3222
+ environment: "environment";
3174
3223
  addedDirs: "addedDirs";
3175
3224
  gitFiles: "gitFiles";
3176
3225
  memory: "memory";
3177
- environment: "environment";
3178
3226
  sessionTime: "sessionTime";
3179
3227
  promptCache: "promptCache";
3180
3228
  compactions: "compactions";
@@ -3233,10 +3281,10 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3233
3281
  hidden: "hidden";
3234
3282
  }>>;
3235
3283
  value: z.ZodOptional<z.ZodEnum<{
3284
+ remaining: "remaining";
3236
3285
  tokens: "tokens";
3237
3286
  both: "both";
3238
3287
  percent: "percent";
3239
- remaining: "remaining";
3240
3288
  }>>;
3241
3289
  estimate: z.ZodOptional<z.ZodEnum<{
3242
3290
  never: "never";
@@ -3278,8 +3326,8 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3278
3326
  }, z.core.$strict>>;
3279
3327
  usage: z.ZodOptional<z.ZodObject<{
3280
3328
  value: z.ZodOptional<z.ZodEnum<{
3281
- remaining: "remaining";
3282
3329
  used: "used";
3330
+ remaining: "remaining";
3283
3331
  }>>;
3284
3332
  bar: z.ZodOptional<z.ZodBoolean>;
3285
3333
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -3637,53 +3685,6 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3637
3685
  }, z.core.$strict>>;
3638
3686
  }, z.core.$strict>>;
3639
3687
  }, 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
3688
  path: z.ZodString;
3688
3689
  configProfile: z.ZodOptional<z.ZodString>;
3689
3690
  identity: z.ZodOptional<z.ZodString>;
@@ -3841,20 +3842,6 @@ declare const PortableConfigSchema: z.ZodObject<{
3841
3842
  key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
3842
3843
  }, z.core.$strip>], "kind">]>;
3843
3844
  }, 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
- }>>>;
3858
3845
  models: z.ZodOptional<z.ZodObject<{
3859
3846
  pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
3860
3847
  virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
@@ -3902,6 +3889,20 @@ declare const PortableConfigSchema: z.ZodObject<{
3902
3889
  thinking: z.ZodOptional<z.ZodBoolean>;
3903
3890
  }, z.core.$strict>, z.ZodNull]>>>;
3904
3891
  }, z.core.$strict>>;
3892
+ $schema: z.ZodOptional<z.ZodString>;
3893
+ categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
3894
+ all: z.ZodOptional<z.ZodBoolean>;
3895
+ runtime: z.ZodOptional<z.ZodBoolean>;
3896
+ history: z.ZodOptional<z.ZodBoolean>;
3897
+ knowledge: z.ZodOptional<z.ZodBoolean>;
3898
+ settings: z.ZodOptional<z.ZodBoolean>;
3899
+ }, z.core.$strict>, z.ZodTransform<Partial<Record<"runtime" | "history" | "knowledge" | "settings", boolean>>, {
3900
+ all?: boolean | undefined;
3901
+ runtime?: boolean | undefined;
3902
+ history?: boolean | undefined;
3903
+ knowledge?: boolean | undefined;
3904
+ settings?: boolean | undefined;
3905
+ }>>>;
3905
3906
  extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
3906
3907
  launch: z.ZodOptional<z.ZodObject<{
3907
3908
  skipPermissions: z.ZodOptional<z.ZodBoolean>;
@@ -3934,13 +3935,13 @@ declare const PortableConfigSchema: z.ZodObject<{
3934
3935
  route: "route";
3935
3936
  account: "account";
3936
3937
  provider: "provider";
3937
- duration: "duration";
3938
+ version: "version";
3938
3939
  headroom: "headroom";
3940
+ duration: "duration";
3939
3941
  project: "project";
3940
3942
  vcs: "vcs";
3941
3943
  effort: "effort";
3942
3944
  advisor: "advisor";
3943
- version: "version";
3944
3945
  outputStyle: "outputStyle";
3945
3946
  cost: "cost";
3946
3947
  dailyCost: "dailyCost";
@@ -3951,10 +3952,10 @@ declare const PortableConfigSchema: z.ZodObject<{
3951
3952
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3952
3953
  context: "context";
3953
3954
  quota: "quota";
3955
+ environment: "environment";
3954
3956
  addedDirs: "addedDirs";
3955
3957
  gitFiles: "gitFiles";
3956
3958
  memory: "memory";
3957
- environment: "environment";
3958
3959
  sessionTime: "sessionTime";
3959
3960
  promptCache: "promptCache";
3960
3961
  compactions: "compactions";
@@ -3977,10 +3978,10 @@ declare const PortableConfigSchema: z.ZodObject<{
3977
3978
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
3978
3979
  context: "context";
3979
3980
  quota: "quota";
3981
+ environment: "environment";
3980
3982
  addedDirs: "addedDirs";
3981
3983
  gitFiles: "gitFiles";
3982
3984
  memory: "memory";
3983
- environment: "environment";
3984
3985
  sessionTime: "sessionTime";
3985
3986
  promptCache: "promptCache";
3986
3987
  compactions: "compactions";
@@ -3994,10 +3995,10 @@ declare const PortableConfigSchema: z.ZodObject<{
3994
3995
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3995
3996
  context: "context";
3996
3997
  quota: "quota";
3998
+ environment: "environment";
3997
3999
  addedDirs: "addedDirs";
3998
4000
  gitFiles: "gitFiles";
3999
4001
  memory: "memory";
4000
- environment: "environment";
4001
4002
  sessionTime: "sessionTime";
4002
4003
  promptCache: "promptCache";
4003
4004
  compactions: "compactions";
@@ -4056,10 +4057,10 @@ declare const PortableConfigSchema: z.ZodObject<{
4056
4057
  hidden: "hidden";
4057
4058
  }>>;
4058
4059
  value: z.ZodOptional<z.ZodEnum<{
4060
+ remaining: "remaining";
4059
4061
  tokens: "tokens";
4060
4062
  both: "both";
4061
4063
  percent: "percent";
4062
- remaining: "remaining";
4063
4064
  }>>;
4064
4065
  estimate: z.ZodOptional<z.ZodEnum<{
4065
4066
  never: "never";
@@ -4101,8 +4102,8 @@ declare const PortableConfigSchema: z.ZodObject<{
4101
4102
  }, z.core.$strict>>;
4102
4103
  usage: z.ZodOptional<z.ZodObject<{
4103
4104
  value: z.ZodOptional<z.ZodEnum<{
4104
- remaining: "remaining";
4105
4105
  used: "used";
4106
+ remaining: "remaining";
4106
4107
  }>>;
4107
4108
  bar: z.ZodOptional<z.ZodBoolean>;
4108
4109
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -4690,13 +4691,13 @@ declare const GlobalConfigSchema: z.ZodObject<{
4690
4691
  route: "route";
4691
4692
  account: "account";
4692
4693
  provider: "provider";
4693
- duration: "duration";
4694
+ version: "version";
4694
4695
  headroom: "headroom";
4696
+ duration: "duration";
4695
4697
  project: "project";
4696
4698
  vcs: "vcs";
4697
4699
  effort: "effort";
4698
4700
  advisor: "advisor";
4699
- version: "version";
4700
4701
  outputStyle: "outputStyle";
4701
4702
  cost: "cost";
4702
4703
  dailyCost: "dailyCost";
@@ -4707,10 +4708,10 @@ declare const GlobalConfigSchema: z.ZodObject<{
4707
4708
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4708
4709
  context: "context";
4709
4710
  quota: "quota";
4711
+ environment: "environment";
4710
4712
  addedDirs: "addedDirs";
4711
4713
  gitFiles: "gitFiles";
4712
4714
  memory: "memory";
4713
- environment: "environment";
4714
4715
  sessionTime: "sessionTime";
4715
4716
  promptCache: "promptCache";
4716
4717
  compactions: "compactions";
@@ -4733,10 +4734,10 @@ declare const GlobalConfigSchema: z.ZodObject<{
4733
4734
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
4734
4735
  context: "context";
4735
4736
  quota: "quota";
4737
+ environment: "environment";
4736
4738
  addedDirs: "addedDirs";
4737
4739
  gitFiles: "gitFiles";
4738
4740
  memory: "memory";
4739
- environment: "environment";
4740
4741
  sessionTime: "sessionTime";
4741
4742
  promptCache: "promptCache";
4742
4743
  compactions: "compactions";
@@ -4750,10 +4751,10 @@ declare const GlobalConfigSchema: z.ZodObject<{
4750
4751
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4751
4752
  context: "context";
4752
4753
  quota: "quota";
4754
+ environment: "environment";
4753
4755
  addedDirs: "addedDirs";
4754
4756
  gitFiles: "gitFiles";
4755
4757
  memory: "memory";
4756
- environment: "environment";
4757
4758
  sessionTime: "sessionTime";
4758
4759
  promptCache: "promptCache";
4759
4760
  compactions: "compactions";
@@ -4812,10 +4813,10 @@ declare const GlobalConfigSchema: z.ZodObject<{
4812
4813
  hidden: "hidden";
4813
4814
  }>>;
4814
4815
  value: z.ZodOptional<z.ZodEnum<{
4816
+ remaining: "remaining";
4815
4817
  tokens: "tokens";
4816
4818
  both: "both";
4817
4819
  percent: "percent";
4818
- remaining: "remaining";
4819
4820
  }>>;
4820
4821
  estimate: z.ZodOptional<z.ZodEnum<{
4821
4822
  never: "never";
@@ -4857,8 +4858,8 @@ declare const GlobalConfigSchema: z.ZodObject<{
4857
4858
  }, z.core.$strict>>;
4858
4859
  usage: z.ZodOptional<z.ZodObject<{
4859
4860
  value: z.ZodOptional<z.ZodEnum<{
4860
- remaining: "remaining";
4861
4861
  used: "used";
4862
+ remaining: "remaining";
4862
4863
  }>>;
4863
4864
  bar: z.ZodOptional<z.ZodBoolean>;
4864
4865
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -6166,7 +6167,7 @@ interface ReportRow {
6166
6167
  /** Where the launcher reports what it decided and why — refusals, warnings about an identity that could not be loaded, and (per the "strictly-better than the legacy script" goal) which identity/profile ended up selected. */
6167
6168
  interface LogPort {
6168
6169
  readonly info: (message: string) => void;
6169
- /** Prints the facts a launch reports about itself as one block, with the formatting the output takes. */
6170
+ /** Prints the facts a launch reports about itself as one block, with the formatting the output takes. The command line's port writes it, like every other line, to standard error, which leaves standard output to the child. */
6170
6171
  readonly report: (rows: readonly ReportRow[]) => void;
6171
6172
  readonly warn: (message: string) => void;
6172
6173
  readonly error: (message: string) => void;
@@ -7859,9 +7860,6 @@ interface RcStreamHub {
7859
7860
  declare function createRcStreamHub(deps: RcStreamHubDeps): RcStreamHub;
7860
7861
 
7861
7862
  /** The real `ConnectEffects` over node's own net, tls, and http. `connectTcp` opens real connections to the CONNECTed host, so tests that want a blind tunnel redirect it. */
7862
- /**
7863
- * A DNS lookup for the door's own upstream dials that bypasses the hosts file, because a transparent-interception deployment points the intercept hosts' names at this machine in /etc/hosts: getaddrinfo (Node's default lookup) would send the door's own upstream connections straight back into the intercept port, a loop, while `dns.resolve4` asks the resolver directly and returns the real address. The SNI and Host stay the real name; only the dial address comes from DNS.
7864
- */
7865
7863
  /**
7866
7864
  * A range of local source ports the door's own upstream sockets bind, handed out in rotation because node binds one port per socket with no range option. The width is also the dial's retry bound: one attempt per port, so a fully-held range surfaces its last bind error instead of spinning. Injectable so the exhaustion tests hold a private range instead of racing every other worker for the door's real one.
7867
7865
  */
@@ -7870,7 +7868,8 @@ declare class SourcePortRange {
7870
7868
  readonly end: number;
7871
7869
  readonly count: number;
7872
7870
  private next;
7873
- constructor(start: number, end: number);
7871
+ /** `first` is the port the rotation hands out first, `start` unless a caller gives its own: several rotations that serve one purpose at once (the probes of a batch) start apart, so they do not all bind the first port of the range and walk up it together. */
7872
+ constructor(start: number, end: number, first?: number);
7874
7873
  /** The next port in rotation, wrapping from the end back to the start. */
7875
7874
  take(): number;
7876
7875
  }
@@ -9061,12 +9060,12 @@ declare const CheckReportJsonSchema: z.ZodObject<{
9061
9060
  identity: z.ZodObject<{
9062
9061
  name: z.ZodNullable<z.ZodString>;
9063
9062
  source: z.ZodEnum<{
9064
- env: "env";
9065
- none: "none";
9066
9063
  "config-dir-escape-hatch": "config-dir-escape-hatch";
9067
9064
  argv: "argv";
9065
+ env: "env";
9068
9066
  "directory-pin": "directory-pin";
9069
9067
  "active-identity-file": "active-identity-file";
9068
+ none: "none";
9070
9069
  }>;
9071
9070
  }, z.core.$strict>;
9072
9071
  pool: z.ZodOptional<z.ZodObject<{
@@ -9145,11 +9144,11 @@ declare const CheckReportJsonSchema: z.ZodObject<{
9145
9144
  "category-default": "category-default";
9146
9145
  }>;
9147
9146
  category: z.ZodNullable<z.ZodEnum<{
9147
+ secret: "secret";
9148
9148
  runtime: "runtime";
9149
9149
  history: "history";
9150
9150
  knowledge: "knowledge";
9151
9151
  settings: "settings";
9152
- secret: "secret";
9153
9152
  }>>;
9154
9153
  rule: z.ZodOptional<z.ZodObject<{
9155
9154
  key: z.ZodString;
@@ -9349,8 +9348,8 @@ declare const CheckReportJsonSchema: z.ZodObject<{
9349
9348
  pinned: z.ZodOptional<z.ZodObject<{
9350
9349
  version: z.ZodString;
9351
9350
  source: z.ZodEnum<{
9352
- environment: "environment";
9353
9351
  flag: "flag";
9352
+ environment: "environment";
9354
9353
  cascade: "cascade";
9355
9354
  }>;
9356
9355
  installed: z.ZodBoolean;
@@ -9358,9 +9357,44 @@ declare const CheckReportJsonSchema: z.ZodObject<{
9358
9357
  highestInstalled: z.ZodOptional<z.ZodString>;
9359
9358
  installed: z.ZodReadonly<z.ZodArray<z.ZodString>>;
9360
9359
  }, z.core.$strict>>;
9360
+ providerReachability: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
9361
+ name: z.ZodString;
9362
+ baseUrl: z.ZodString;
9363
+ ok: z.ZodLiteral<true>;
9364
+ }, z.core.$strict>, z.ZodObject<{
9365
+ name: z.ZodString;
9366
+ baseUrl: z.ZodString;
9367
+ ok: z.ZodLiteral<false>;
9368
+ message: z.ZodString;
9369
+ }, z.core.$strict>]>>;
9361
9370
  }, z.core.$strict>;
9362
9371
  type CheckReportJson = z.output<typeof CheckReportJsonSchema>;
9363
9372
 
9373
+ /** The outcome of authenticating the listener a front-door state file names. */
9374
+ type ListenerVerdict = {
9375
+ readonly ok: true;
9376
+ } | {
9377
+ readonly ok: false;
9378
+ readonly reason: string;
9379
+ };
9380
+ /** A probe that has been started: `verdict` blocks the calling thread until it answers and ends its worker; `cancel` ends the worker of a probe nobody will wait on (idempotent, and harmless after `verdict`). */
9381
+ interface StartedProbe {
9382
+ readonly verdict: () => ListenerVerdict;
9383
+ readonly cancel: () => void;
9384
+ }
9385
+
9386
+ /** Opens one TCP connection to `baseUrl`'s host and port within `timeoutMs` and closes it at once, sending nothing. */
9387
+ type BaseUrlProbe = (baseUrl: string, timeoutMs: number) => ListenerVerdict;
9388
+ /** One base URL to probe, within its own bound. */
9389
+ interface BaseUrlTarget {
9390
+ readonly baseUrl: string;
9391
+ readonly timeoutMs: number;
9392
+ }
9393
+ /** `BaseUrlProbe` for several base URLs: up to `MAX_CONCURRENT_PROBES` distinct targets run together and any more follow in rounds of that many, so the worst case is the longest bound times the number of rounds; verdicts in the order the targets were given. */
9394
+ type BaseUrlBatchProbe = (targets: readonly BaseUrlTarget[]) => readonly ListenerVerdict[];
9395
+ /** Starts a probe of one base URL within `timeoutMs` without waiting for it: `verdict` blocks until it answers, `cancel` ends its worker. */
9396
+ type StartBaseUrlProbe = (baseUrl: string, timeoutMs: number) => StartedProbe;
9397
+
9364
9398
  /** Where a pinned Claude Code version came from, strongest first: the launch's own flag, then the environment, then the cascade. */
9365
9399
  declare const CLAUDE_VERSION_SOURCES: readonly ["flag", "environment", "cascade"];
9366
9400
  type ClaudeVersionSource = (typeof CLAUDE_VERSION_SOURCES)[number];
@@ -9603,7 +9637,20 @@ interface RunCheckParams {
9603
9637
  readonly installedClaudeVersions?: readonly string[];
9604
9638
  /** Where cached credentials live. Omit to skip reporting a credential cache's age; with it, a block that caches reports whether it holds an entry, how old it is and whether it has expired, never the token. */
9605
9639
  readonly credentialCache?: CredentialCacheEnv;
9640
+ /** Opens one connection to the selected http provider's base URL, bounded by its connect timeout. Omit to leave reachability out of the report. */
9641
+ readonly probeBaseUrl?: BaseUrlProbe;
9606
9642
  }
9643
+ /** Whether the selected http provider's base URL accepted a connection, as `check` reports it. */
9644
+ type ProviderReachabilityReport = {
9645
+ readonly name: string;
9646
+ readonly baseUrl: string;
9647
+ readonly ok: true;
9648
+ } | {
9649
+ readonly name: string;
9650
+ readonly baseUrl: string;
9651
+ readonly ok: false;
9652
+ readonly message: string;
9653
+ };
9607
9654
  /** Everything `agent-shim check` reports about one directory/identity, without touching the farm or spawning anything. */
9608
9655
  interface CheckReport {
9609
9656
  readonly identityName?: string;
@@ -9620,6 +9667,8 @@ interface CheckReport {
9620
9667
  readonly credential: CredentialReport;
9621
9668
  /** The Claude Code version a launch here would run, when the installed versions were given. */
9622
9669
  readonly claudeVersion?: ClaudeVersionReport;
9670
+ /** Whether the selected provider's base URL accepts a connection, when an http provider is selected and a probe was given. */
9671
+ readonly providerReachability?: ProviderReachabilityReport;
9623
9672
  }
9624
9673
  /** Which Claude Code version a launch would run: the pin and where it comes from, with whether it is installed, or the highest installed version when nothing pins one. */
9625
9674
  interface ClaudeVersionReport {
@@ -9642,7 +9691,7 @@ declare function formatCheckReport(report: CheckReport): string[];
9642
9691
  */
9643
9692
  declare function checkReportToJson(report: CheckReport): CheckReportJson;
9644
9693
  /**
9645
- * Whether a report carries anything `check --strict` fails on: a resolver diagnostic of warning or error severity, an ambiguous `history/projects/` encoding, an ambient credential a launch would refuse, or a selected provider a launch could not use. Informational diagnostics and the settings-exposure advisory (names and counts only, for a person to review) never fail it.
9694
+ * Whether a report carries anything `check --strict` fails on: a resolver diagnostic of warning or error severity, an ambiguous `history/projects/` encoding, an ambient credential a launch would refuse, a selected provider a launch could not use, or one whose base URL accepts no connection. Informational diagnostics and the settings-exposure advisory (names and counts only, for a person to review) never fail it.
9646
9695
  */
9647
9696
  declare function checkReportHasWarnings(report: CheckReport): boolean;
9648
9697
  /** What `collectCheckReport` needs from its caller. */
@@ -10171,14 +10220,6 @@ interface DoctorHeadroomAllowlist {
10171
10220
  readonly fileProblem: AllowlistFileProblem | undefined;
10172
10221
  }
10173
10222
 
10174
- /** The outcome of authenticating the listener a front-door state file names. */
10175
- type ListenerVerdict = {
10176
- readonly ok: true;
10177
- } | {
10178
- readonly ok: false;
10179
- readonly reason: string;
10180
- };
10181
-
10182
10223
  /** One listener of the front door as `doctor` and `frontdoor status` read it: whether it accepted within the probe's bound, and how long the answer took on this machine now. */
10183
10224
  interface FrontDoorListenerReading {
10184
10225
  /** Which listener, and so which sessions it cuts off when it does not accept: `provider` carries provider sessions, `connect` carries every plain OAuth session. */
@@ -10322,6 +10363,8 @@ interface RunDoctorParams {
10322
10363
  readonly providers: readonly DoctorProviderInput[];
10323
10364
  /** The recorded former names of renamed providers. Omit to leave them out of the findings. */
10324
10365
  readonly providerAliases?: ProviderAliases;
10366
+ /** Probes the base URLs of every valid http provider, up to `MAX_CONCURRENT_PROBES` distinct targets together and any more in rounds of that many, one connection each, each bounded by its provider's connect timeout. Omit to leave reachability out of the findings; with it, a valid http provider whose base URL accepts no connection fails, naming the URL. */
10367
+ readonly probeBaseUrls?: BaseUrlBatchProbe;
10325
10368
  /** The journals of identity renames that were left unfinished, and the files in their directory that are not journals. Omit to leave renames out of the findings. */
10326
10369
  readonly renameJournals?: RenameJournalListing;
10327
10370
  /** The entries of the identities directory that cannot be reached (a symlink the filesystem would not follow, or a directory nobody can enter), which are not counted as identities. Omit to leave them out of the findings. */
@@ -10510,6 +10553,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10510
10553
  kind: zod.ZodLiteral<"identity">;
10511
10554
  name: zod.ZodString;
10512
10555
  value: zod.ZodObject<{
10556
+ agent: zod.ZodOptional<zod.ZodEnum<{
10557
+ claude: "claude";
10558
+ codex: "codex";
10559
+ }>>;
10513
10560
  name: zod.ZodString;
10514
10561
  label: zod.ZodOptional<zod.ZodString>;
10515
10562
  defaultConfigProfile: zod.ZodOptional<zod.ZodString>;
@@ -10619,6 +10666,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10619
10666
  kind: zod.ZodLiteral<"identity">;
10620
10667
  name: zod.ZodString;
10621
10668
  value: zod.ZodObject<{
10669
+ agent: zod.ZodOptional<zod.ZodEnum<{
10670
+ claude: "claude";
10671
+ codex: "codex";
10672
+ }>>;
10622
10673
  name: zod.ZodString;
10623
10674
  label: zod.ZodOptional<zod.ZodString>;
10624
10675
  defaultConfigProfile: zod.ZodOptional<zod.ZodString>;
@@ -10774,6 +10825,53 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10774
10825
  }, zod_v4_core.$strip>], "kind">]>;
10775
10826
  }, zod_v4_core.$strict>]>>>;
10776
10827
  description: zod.ZodOptional<zod.ZodString>;
10828
+ models: zod.ZodOptional<zod.ZodObject<{
10829
+ pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
10830
+ virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
10831
+ mode: zod.ZodEnum<{
10832
+ ordered: "ordered";
10833
+ "most-allowance": "most-allowance";
10834
+ "soonest-reset": "soonest-reset";
10835
+ spread: "spread";
10836
+ adaptive: "adaptive";
10837
+ "lowest-latency": "lowest-latency";
10838
+ "highest-success": "highest-success";
10839
+ cheapest: "cheapest";
10840
+ }>;
10841
+ members: zod.ZodArray<zod.ZodString>;
10842
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
10843
+ tiers: zod.ZodOptional<zod.ZodObject<{
10844
+ fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
10845
+ opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
10846
+ sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
10847
+ haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
10848
+ }, zod_v4_core.$strict>>;
10849
+ prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
10850
+ input: zod.ZodNumber;
10851
+ output: zod.ZodNumber;
10852
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
10853
+ hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
10854
+ show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
10855
+ same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
10856
+ distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
10857
+ families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
10858
+ names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
10859
+ mode: zod.ZodOptional<zod.ZodEnum<{
10860
+ ordered: "ordered";
10861
+ "most-allowance": "most-allowance";
10862
+ "soonest-reset": "soonest-reset";
10863
+ spread: "spread";
10864
+ adaptive: "adaptive";
10865
+ "lowest-latency": "lowest-latency";
10866
+ "highest-success": "highest-success";
10867
+ cheapest: "cheapest";
10868
+ }>>;
10869
+ context: zod.ZodOptional<zod.ZodNumber>;
10870
+ vision: zod.ZodOptional<zod.ZodBoolean>;
10871
+ tools: zod.ZodOptional<zod.ZodBoolean>;
10872
+ thinking: zod.ZodOptional<zod.ZodBoolean>;
10873
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
10874
+ }, zod_v4_core.$strict>>;
10777
10875
  extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
10778
10876
  categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
10779
10877
  all: zod.ZodOptional<zod.ZodBoolean>;
@@ -10820,13 +10918,13 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10820
10918
  route: "route";
10821
10919
  account: "account";
10822
10920
  provider: "provider";
10823
- duration: "duration";
10921
+ version: "version";
10824
10922
  headroom: "headroom";
10923
+ duration: "duration";
10825
10924
  project: "project";
10826
10925
  vcs: "vcs";
10827
10926
  effort: "effort";
10828
10927
  advisor: "advisor";
10829
- version: "version";
10830
10928
  outputStyle: "outputStyle";
10831
10929
  cost: "cost";
10832
10930
  dailyCost: "dailyCost";
@@ -10837,10 +10935,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10837
10935
  rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
10838
10936
  context: "context";
10839
10937
  quota: "quota";
10938
+ environment: "environment";
10840
10939
  addedDirs: "addedDirs";
10841
10940
  gitFiles: "gitFiles";
10842
10941
  memory: "memory";
10843
- environment: "environment";
10844
10942
  sessionTime: "sessionTime";
10845
10943
  promptCache: "promptCache";
10846
10944
  compactions: "compactions";
@@ -10863,10 +10961,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10863
10961
  merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
10864
10962
  context: "context";
10865
10963
  quota: "quota";
10964
+ environment: "environment";
10866
10965
  addedDirs: "addedDirs";
10867
10966
  gitFiles: "gitFiles";
10868
10967
  memory: "memory";
10869
- environment: "environment";
10870
10968
  sessionTime: "sessionTime";
10871
10969
  promptCache: "promptCache";
10872
10970
  compactions: "compactions";
@@ -10880,10 +10978,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10880
10978
  rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
10881
10979
  context: "context";
10882
10980
  quota: "quota";
10981
+ environment: "environment";
10883
10982
  addedDirs: "addedDirs";
10884
10983
  gitFiles: "gitFiles";
10885
10984
  memory: "memory";
10886
- environment: "environment";
10887
10985
  sessionTime: "sessionTime";
10888
10986
  promptCache: "promptCache";
10889
10987
  compactions: "compactions";
@@ -10942,10 +11040,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10942
11040
  hidden: "hidden";
10943
11041
  }>>;
10944
11042
  value: zod.ZodOptional<zod.ZodEnum<{
11043
+ remaining: "remaining";
10945
11044
  tokens: "tokens";
10946
11045
  both: "both";
10947
11046
  percent: "percent";
10948
- remaining: "remaining";
10949
11047
  }>>;
10950
11048
  estimate: zod.ZodOptional<zod.ZodEnum<{
10951
11049
  never: "never";
@@ -10987,8 +11085,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10987
11085
  }, zod_v4_core.$strict>>;
10988
11086
  usage: zod.ZodOptional<zod.ZodObject<{
10989
11087
  value: zod.ZodOptional<zod.ZodEnum<{
10990
- remaining: "remaining";
10991
11088
  used: "used";
11089
+ remaining: "remaining";
10992
11090
  }>>;
10993
11091
  bar: zod.ZodOptional<zod.ZodBoolean>;
10994
11092
  compact: zod.ZodOptional<zod.ZodBoolean>;
@@ -11346,53 +11444,6 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11346
11444
  }, zod_v4_core.$strict>>;
11347
11445
  }, zod_v4_core.$strict>>;
11348
11446
  }, zod_v4_core.$strict>>;
11349
- models: zod.ZodOptional<zod.ZodObject<{
11350
- pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
11351
- virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
11352
- mode: zod.ZodEnum<{
11353
- ordered: "ordered";
11354
- "most-allowance": "most-allowance";
11355
- "soonest-reset": "soonest-reset";
11356
- spread: "spread";
11357
- adaptive: "adaptive";
11358
- "lowest-latency": "lowest-latency";
11359
- "highest-success": "highest-success";
11360
- cheapest: "cheapest";
11361
- }>;
11362
- members: zod.ZodArray<zod.ZodString>;
11363
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
11364
- tiers: zod.ZodOptional<zod.ZodObject<{
11365
- fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
11366
- opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
11367
- sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
11368
- haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
11369
- }, zod_v4_core.$strict>>;
11370
- prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
11371
- input: zod.ZodNumber;
11372
- output: zod.ZodNumber;
11373
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
11374
- hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
11375
- show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
11376
- same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
11377
- distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
11378
- families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
11379
- names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
11380
- mode: zod.ZodOptional<zod.ZodEnum<{
11381
- ordered: "ordered";
11382
- "most-allowance": "most-allowance";
11383
- "soonest-reset": "soonest-reset";
11384
- spread: "spread";
11385
- adaptive: "adaptive";
11386
- "lowest-latency": "lowest-latency";
11387
- "highest-success": "highest-success";
11388
- cheapest: "cheapest";
11389
- }>>;
11390
- context: zod.ZodOptional<zod.ZodNumber>;
11391
- vision: zod.ZodOptional<zod.ZodBoolean>;
11392
- tools: zod.ZodOptional<zod.ZodBoolean>;
11393
- thinking: zod.ZodOptional<zod.ZodBoolean>;
11394
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
11395
- }, zod_v4_core.$strict>>;
11396
11447
  }, zod_v4_core.$strict>;
11397
11448
  }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
11398
11449
  set: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
@@ -11498,6 +11549,53 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11498
11549
  }, zod_v4_core.$strip>], "kind">]>;
11499
11550
  }, zod_v4_core.$strict>]>>>;
11500
11551
  description: zod.ZodOptional<zod.ZodString>;
11552
+ models: zod.ZodOptional<zod.ZodObject<{
11553
+ pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
11554
+ virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
11555
+ mode: zod.ZodEnum<{
11556
+ ordered: "ordered";
11557
+ "most-allowance": "most-allowance";
11558
+ "soonest-reset": "soonest-reset";
11559
+ spread: "spread";
11560
+ adaptive: "adaptive";
11561
+ "lowest-latency": "lowest-latency";
11562
+ "highest-success": "highest-success";
11563
+ cheapest: "cheapest";
11564
+ }>;
11565
+ members: zod.ZodArray<zod.ZodString>;
11566
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
11567
+ tiers: zod.ZodOptional<zod.ZodObject<{
11568
+ fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
11569
+ opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
11570
+ sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
11571
+ haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
11572
+ }, zod_v4_core.$strict>>;
11573
+ prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
11574
+ input: zod.ZodNumber;
11575
+ output: zod.ZodNumber;
11576
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
11577
+ hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
11578
+ show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
11579
+ same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
11580
+ distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
11581
+ families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
11582
+ names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
11583
+ mode: zod.ZodOptional<zod.ZodEnum<{
11584
+ ordered: "ordered";
11585
+ "most-allowance": "most-allowance";
11586
+ "soonest-reset": "soonest-reset";
11587
+ spread: "spread";
11588
+ adaptive: "adaptive";
11589
+ "lowest-latency": "lowest-latency";
11590
+ "highest-success": "highest-success";
11591
+ cheapest: "cheapest";
11592
+ }>>;
11593
+ context: zod.ZodOptional<zod.ZodNumber>;
11594
+ vision: zod.ZodOptional<zod.ZodBoolean>;
11595
+ tools: zod.ZodOptional<zod.ZodBoolean>;
11596
+ thinking: zod.ZodOptional<zod.ZodBoolean>;
11597
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
11598
+ }, zod_v4_core.$strict>>;
11501
11599
  extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
11502
11600
  categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
11503
11601
  all: zod.ZodOptional<zod.ZodBoolean>;
@@ -11544,13 +11642,13 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11544
11642
  route: "route";
11545
11643
  account: "account";
11546
11644
  provider: "provider";
11547
- duration: "duration";
11645
+ version: "version";
11548
11646
  headroom: "headroom";
11647
+ duration: "duration";
11549
11648
  project: "project";
11550
11649
  vcs: "vcs";
11551
11650
  effort: "effort";
11552
11651
  advisor: "advisor";
11553
- version: "version";
11554
11652
  outputStyle: "outputStyle";
11555
11653
  cost: "cost";
11556
11654
  dailyCost: "dailyCost";
@@ -11561,10 +11659,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11561
11659
  rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
11562
11660
  context: "context";
11563
11661
  quota: "quota";
11662
+ environment: "environment";
11564
11663
  addedDirs: "addedDirs";
11565
11664
  gitFiles: "gitFiles";
11566
11665
  memory: "memory";
11567
- environment: "environment";
11568
11666
  sessionTime: "sessionTime";
11569
11667
  promptCache: "promptCache";
11570
11668
  compactions: "compactions";
@@ -11587,10 +11685,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11587
11685
  merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
11588
11686
  context: "context";
11589
11687
  quota: "quota";
11688
+ environment: "environment";
11590
11689
  addedDirs: "addedDirs";
11591
11690
  gitFiles: "gitFiles";
11592
11691
  memory: "memory";
11593
- environment: "environment";
11594
11692
  sessionTime: "sessionTime";
11595
11693
  promptCache: "promptCache";
11596
11694
  compactions: "compactions";
@@ -11604,10 +11702,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11604
11702
  rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
11605
11703
  context: "context";
11606
11704
  quota: "quota";
11705
+ environment: "environment";
11607
11706
  addedDirs: "addedDirs";
11608
11707
  gitFiles: "gitFiles";
11609
11708
  memory: "memory";
11610
- environment: "environment";
11611
11709
  sessionTime: "sessionTime";
11612
11710
  promptCache: "promptCache";
11613
11711
  compactions: "compactions";
@@ -11666,10 +11764,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11666
11764
  hidden: "hidden";
11667
11765
  }>>;
11668
11766
  value: zod.ZodOptional<zod.ZodEnum<{
11767
+ remaining: "remaining";
11669
11768
  tokens: "tokens";
11670
11769
  both: "both";
11671
11770
  percent: "percent";
11672
- remaining: "remaining";
11673
11771
  }>>;
11674
11772
  estimate: zod.ZodOptional<zod.ZodEnum<{
11675
11773
  never: "never";
@@ -11711,8 +11809,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11711
11809
  }, zod_v4_core.$strict>>;
11712
11810
  usage: zod.ZodOptional<zod.ZodObject<{
11713
11811
  value: zod.ZodOptional<zod.ZodEnum<{
11714
- remaining: "remaining";
11715
11812
  used: "used";
11813
+ remaining: "remaining";
11716
11814
  }>>;
11717
11815
  bar: zod.ZodOptional<zod.ZodBoolean>;
11718
11816
  compact: zod.ZodOptional<zod.ZodBoolean>;
@@ -12070,53 +12168,6 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12070
12168
  }, zod_v4_core.$strict>>;
12071
12169
  }, zod_v4_core.$strict>>;
12072
12170
  }, zod_v4_core.$strict>>;
12073
- models: zod.ZodOptional<zod.ZodObject<{
12074
- pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
12075
- virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
12076
- mode: zod.ZodEnum<{
12077
- ordered: "ordered";
12078
- "most-allowance": "most-allowance";
12079
- "soonest-reset": "soonest-reset";
12080
- spread: "spread";
12081
- adaptive: "adaptive";
12082
- "lowest-latency": "lowest-latency";
12083
- "highest-success": "highest-success";
12084
- cheapest: "cheapest";
12085
- }>;
12086
- members: zod.ZodArray<zod.ZodString>;
12087
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
12088
- tiers: zod.ZodOptional<zod.ZodObject<{
12089
- fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
12090
- opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
12091
- sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
12092
- haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
12093
- }, zod_v4_core.$strict>>;
12094
- prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
12095
- input: zod.ZodNumber;
12096
- output: zod.ZodNumber;
12097
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
12098
- hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
12099
- show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
12100
- same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
12101
- distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
12102
- families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
12103
- names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
12104
- mode: zod.ZodOptional<zod.ZodEnum<{
12105
- ordered: "ordered";
12106
- "most-allowance": "most-allowance";
12107
- "soonest-reset": "soonest-reset";
12108
- spread: "spread";
12109
- adaptive: "adaptive";
12110
- "lowest-latency": "lowest-latency";
12111
- "highest-success": "highest-success";
12112
- cheapest: "cheapest";
12113
- }>>;
12114
- context: zod.ZodOptional<zod.ZodNumber>;
12115
- vision: zod.ZodOptional<zod.ZodBoolean>;
12116
- tools: zod.ZodOptional<zod.ZodBoolean>;
12117
- thinking: zod.ZodOptional<zod.ZodBoolean>;
12118
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
12119
- }, zod_v4_core.$strict>>;
12120
12171
  }, zod_v4_core.$strict>;
12121
12172
  }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
12122
12173
  remove: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
@@ -12697,6 +12748,53 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12697
12748
  key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
12698
12749
  }, zod_v4_core.$strip>], "kind">]>;
12699
12750
  }, zod_v4_core.$strict>]>>>;
12751
+ models: zod.ZodOptional<zod.ZodObject<{
12752
+ pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
12753
+ virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
12754
+ mode: zod.ZodEnum<{
12755
+ ordered: "ordered";
12756
+ "most-allowance": "most-allowance";
12757
+ "soonest-reset": "soonest-reset";
12758
+ spread: "spread";
12759
+ adaptive: "adaptive";
12760
+ "lowest-latency": "lowest-latency";
12761
+ "highest-success": "highest-success";
12762
+ cheapest: "cheapest";
12763
+ }>;
12764
+ members: zod.ZodArray<zod.ZodString>;
12765
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
12766
+ tiers: zod.ZodOptional<zod.ZodObject<{
12767
+ fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
12768
+ opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
12769
+ sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
12770
+ haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
12771
+ }, zod_v4_core.$strict>>;
12772
+ prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
12773
+ input: zod.ZodNumber;
12774
+ output: zod.ZodNumber;
12775
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
12776
+ hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
12777
+ show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
12778
+ same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
12779
+ distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
12780
+ families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
12781
+ names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
12782
+ mode: zod.ZodOptional<zod.ZodEnum<{
12783
+ ordered: "ordered";
12784
+ "most-allowance": "most-allowance";
12785
+ "soonest-reset": "soonest-reset";
12786
+ spread: "spread";
12787
+ adaptive: "adaptive";
12788
+ "lowest-latency": "lowest-latency";
12789
+ "highest-success": "highest-success";
12790
+ cheapest: "cheapest";
12791
+ }>>;
12792
+ context: zod.ZodOptional<zod.ZodNumber>;
12793
+ vision: zod.ZodOptional<zod.ZodBoolean>;
12794
+ tools: zod.ZodOptional<zod.ZodBoolean>;
12795
+ thinking: zod.ZodOptional<zod.ZodBoolean>;
12796
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
12797
+ }, zod_v4_core.$strict>>;
12700
12798
  $schema: zod.ZodOptional<zod.ZodString>;
12701
12799
  extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
12702
12800
  categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
@@ -12744,13 +12842,13 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12744
12842
  route: "route";
12745
12843
  account: "account";
12746
12844
  provider: "provider";
12747
- duration: "duration";
12845
+ version: "version";
12748
12846
  headroom: "headroom";
12847
+ duration: "duration";
12749
12848
  project: "project";
12750
12849
  vcs: "vcs";
12751
12850
  effort: "effort";
12752
12851
  advisor: "advisor";
12753
- version: "version";
12754
12852
  outputStyle: "outputStyle";
12755
12853
  cost: "cost";
12756
12854
  dailyCost: "dailyCost";
@@ -12761,10 +12859,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12761
12859
  rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
12762
12860
  context: "context";
12763
12861
  quota: "quota";
12862
+ environment: "environment";
12764
12863
  addedDirs: "addedDirs";
12765
12864
  gitFiles: "gitFiles";
12766
12865
  memory: "memory";
12767
- environment: "environment";
12768
12866
  sessionTime: "sessionTime";
12769
12867
  promptCache: "promptCache";
12770
12868
  compactions: "compactions";
@@ -12787,10 +12885,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12787
12885
  merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
12788
12886
  context: "context";
12789
12887
  quota: "quota";
12888
+ environment: "environment";
12790
12889
  addedDirs: "addedDirs";
12791
12890
  gitFiles: "gitFiles";
12792
12891
  memory: "memory";
12793
- environment: "environment";
12794
12892
  sessionTime: "sessionTime";
12795
12893
  promptCache: "promptCache";
12796
12894
  compactions: "compactions";
@@ -12804,10 +12902,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12804
12902
  rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
12805
12903
  context: "context";
12806
12904
  quota: "quota";
12905
+ environment: "environment";
12807
12906
  addedDirs: "addedDirs";
12808
12907
  gitFiles: "gitFiles";
12809
12908
  memory: "memory";
12810
- environment: "environment";
12811
12909
  sessionTime: "sessionTime";
12812
12910
  promptCache: "promptCache";
12813
12911
  compactions: "compactions";
@@ -12866,10 +12964,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12866
12964
  hidden: "hidden";
12867
12965
  }>>;
12868
12966
  value: zod.ZodOptional<zod.ZodEnum<{
12967
+ remaining: "remaining";
12869
12968
  tokens: "tokens";
12870
12969
  both: "both";
12871
12970
  percent: "percent";
12872
- remaining: "remaining";
12873
12971
  }>>;
12874
12972
  estimate: zod.ZodOptional<zod.ZodEnum<{
12875
12973
  never: "never";
@@ -12911,8 +13009,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12911
13009
  }, zod_v4_core.$strict>>;
12912
13010
  usage: zod.ZodOptional<zod.ZodObject<{
12913
13011
  value: zod.ZodOptional<zod.ZodEnum<{
12914
- remaining: "remaining";
12915
13012
  used: "used";
13013
+ remaining: "remaining";
12916
13014
  }>>;
12917
13015
  bar: zod.ZodOptional<zod.ZodBoolean>;
12918
13016
  compact: zod.ZodOptional<zod.ZodBoolean>;
@@ -13270,53 +13368,6 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
13270
13368
  }, zod_v4_core.$strict>>;
13271
13369
  }, zod_v4_core.$strict>>;
13272
13370
  }, zod_v4_core.$strict>>;
13273
- models: zod.ZodOptional<zod.ZodObject<{
13274
- pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
13275
- virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
13276
- mode: zod.ZodEnum<{
13277
- ordered: "ordered";
13278
- "most-allowance": "most-allowance";
13279
- "soonest-reset": "soonest-reset";
13280
- spread: "spread";
13281
- adaptive: "adaptive";
13282
- "lowest-latency": "lowest-latency";
13283
- "highest-success": "highest-success";
13284
- cheapest: "cheapest";
13285
- }>;
13286
- members: zod.ZodArray<zod.ZodString>;
13287
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
13288
- tiers: zod.ZodOptional<zod.ZodObject<{
13289
- fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
13290
- opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
13291
- sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
13292
- haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
13293
- }, zod_v4_core.$strict>>;
13294
- prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
13295
- input: zod.ZodNumber;
13296
- output: zod.ZodNumber;
13297
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
13298
- hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
13299
- show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
13300
- same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
13301
- distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
13302
- families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
13303
- names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
13304
- mode: zod.ZodOptional<zod.ZodEnum<{
13305
- ordered: "ordered";
13306
- "most-allowance": "most-allowance";
13307
- "soonest-reset": "soonest-reset";
13308
- spread: "spread";
13309
- adaptive: "adaptive";
13310
- "lowest-latency": "lowest-latency";
13311
- "highest-success": "highest-success";
13312
- cheapest: "cheapest";
13313
- }>>;
13314
- context: zod.ZodOptional<zod.ZodNumber>;
13315
- vision: zod.ZodOptional<zod.ZodBoolean>;
13316
- tools: zod.ZodOptional<zod.ZodBoolean>;
13317
- thinking: zod.ZodOptional<zod.ZodBoolean>;
13318
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
13319
- }, zod_v4_core.$strict>>;
13320
13371
  path: zod.ZodString;
13321
13372
  configProfile: zod.ZodOptional<zod.ZodString>;
13322
13373
  identity: zod.ZodOptional<zod.ZodString>;
@@ -13478,6 +13529,53 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
13478
13529
  key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
13479
13530
  }, zod_v4_core.$strip>], "kind">]>;
13480
13531
  }, zod_v4_core.$strict>]>>>;
13532
+ models: zod.ZodOptional<zod.ZodObject<{
13533
+ pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
13534
+ virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
13535
+ mode: zod.ZodEnum<{
13536
+ ordered: "ordered";
13537
+ "most-allowance": "most-allowance";
13538
+ "soonest-reset": "soonest-reset";
13539
+ spread: "spread";
13540
+ adaptive: "adaptive";
13541
+ "lowest-latency": "lowest-latency";
13542
+ "highest-success": "highest-success";
13543
+ cheapest: "cheapest";
13544
+ }>;
13545
+ members: zod.ZodArray<zod.ZodString>;
13546
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
13547
+ tiers: zod.ZodOptional<zod.ZodObject<{
13548
+ fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
13549
+ opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
13550
+ sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
13551
+ haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
13552
+ }, zod_v4_core.$strict>>;
13553
+ prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
13554
+ input: zod.ZodNumber;
13555
+ output: zod.ZodNumber;
13556
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
13557
+ hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
13558
+ show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
13559
+ same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
13560
+ distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
13561
+ families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
13562
+ names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
13563
+ mode: zod.ZodOptional<zod.ZodEnum<{
13564
+ ordered: "ordered";
13565
+ "most-allowance": "most-allowance";
13566
+ "soonest-reset": "soonest-reset";
13567
+ spread: "spread";
13568
+ adaptive: "adaptive";
13569
+ "lowest-latency": "lowest-latency";
13570
+ "highest-success": "highest-success";
13571
+ cheapest: "cheapest";
13572
+ }>>;
13573
+ context: zod.ZodOptional<zod.ZodNumber>;
13574
+ vision: zod.ZodOptional<zod.ZodBoolean>;
13575
+ tools: zod.ZodOptional<zod.ZodBoolean>;
13576
+ thinking: zod.ZodOptional<zod.ZodBoolean>;
13577
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
13578
+ }, zod_v4_core.$strict>>;
13481
13579
  $schema: zod.ZodOptional<zod.ZodString>;
13482
13580
  extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
13483
13581
  categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
@@ -13525,13 +13623,13 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
13525
13623
  route: "route";
13526
13624
  account: "account";
13527
13625
  provider: "provider";
13528
- duration: "duration";
13626
+ version: "version";
13529
13627
  headroom: "headroom";
13628
+ duration: "duration";
13530
13629
  project: "project";
13531
13630
  vcs: "vcs";
13532
13631
  effort: "effort";
13533
13632
  advisor: "advisor";
13534
- version: "version";
13535
13633
  outputStyle: "outputStyle";
13536
13634
  cost: "cost";
13537
13635
  dailyCost: "dailyCost";
@@ -13542,10 +13640,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
13542
13640
  rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
13543
13641
  context: "context";
13544
13642
  quota: "quota";
13643
+ environment: "environment";
13545
13644
  addedDirs: "addedDirs";
13546
13645
  gitFiles: "gitFiles";
13547
13646
  memory: "memory";
13548
- environment: "environment";
13549
13647
  sessionTime: "sessionTime";
13550
13648
  promptCache: "promptCache";
13551
13649
  compactions: "compactions";
@@ -13568,10 +13666,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
13568
13666
  merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
13569
13667
  context: "context";
13570
13668
  quota: "quota";
13669
+ environment: "environment";
13571
13670
  addedDirs: "addedDirs";
13572
13671
  gitFiles: "gitFiles";
13573
13672
  memory: "memory";
13574
- environment: "environment";
13575
13673
  sessionTime: "sessionTime";
13576
13674
  promptCache: "promptCache";
13577
13675
  compactions: "compactions";
@@ -13585,10 +13683,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
13585
13683
  rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
13586
13684
  context: "context";
13587
13685
  quota: "quota";
13686
+ environment: "environment";
13588
13687
  addedDirs: "addedDirs";
13589
13688
  gitFiles: "gitFiles";
13590
13689
  memory: "memory";
13591
- environment: "environment";
13592
13690
  sessionTime: "sessionTime";
13593
13691
  promptCache: "promptCache";
13594
13692
  compactions: "compactions";
@@ -13647,10 +13745,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
13647
13745
  hidden: "hidden";
13648
13746
  }>>;
13649
13747
  value: zod.ZodOptional<zod.ZodEnum<{
13748
+ remaining: "remaining";
13650
13749
  tokens: "tokens";
13651
13750
  both: "both";
13652
13751
  percent: "percent";
13653
- remaining: "remaining";
13654
13752
  }>>;
13655
13753
  estimate: zod.ZodOptional<zod.ZodEnum<{
13656
13754
  never: "never";
@@ -13692,8 +13790,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
13692
13790
  }, zod_v4_core.$strict>>;
13693
13791
  usage: zod.ZodOptional<zod.ZodObject<{
13694
13792
  value: zod.ZodOptional<zod.ZodEnum<{
13695
- remaining: "remaining";
13696
13793
  used: "used";
13794
+ remaining: "remaining";
13697
13795
  }>>;
13698
13796
  bar: zod.ZodOptional<zod.ZodBoolean>;
13699
13797
  compact: zod.ZodOptional<zod.ZodBoolean>;
@@ -14051,53 +14149,6 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
14051
14149
  }, zod_v4_core.$strict>>;
14052
14150
  }, zod_v4_core.$strict>>;
14053
14151
  }, zod_v4_core.$strict>>;
14054
- models: zod.ZodOptional<zod.ZodObject<{
14055
- pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
14056
- virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
14057
- mode: zod.ZodEnum<{
14058
- ordered: "ordered";
14059
- "most-allowance": "most-allowance";
14060
- "soonest-reset": "soonest-reset";
14061
- spread: "spread";
14062
- adaptive: "adaptive";
14063
- "lowest-latency": "lowest-latency";
14064
- "highest-success": "highest-success";
14065
- cheapest: "cheapest";
14066
- }>;
14067
- members: zod.ZodArray<zod.ZodString>;
14068
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
14069
- tiers: zod.ZodOptional<zod.ZodObject<{
14070
- fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
14071
- opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
14072
- sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
14073
- haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
14074
- }, zod_v4_core.$strict>>;
14075
- prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
14076
- input: zod.ZodNumber;
14077
- output: zod.ZodNumber;
14078
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
14079
- hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
14080
- show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
14081
- same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
14082
- distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
14083
- families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
14084
- names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
14085
- mode: zod.ZodOptional<zod.ZodEnum<{
14086
- ordered: "ordered";
14087
- "most-allowance": "most-allowance";
14088
- "soonest-reset": "soonest-reset";
14089
- spread: "spread";
14090
- adaptive: "adaptive";
14091
- "lowest-latency": "lowest-latency";
14092
- "highest-success": "highest-success";
14093
- cheapest: "cheapest";
14094
- }>>;
14095
- context: zod.ZodOptional<zod.ZodNumber>;
14096
- vision: zod.ZodOptional<zod.ZodBoolean>;
14097
- tools: zod.ZodOptional<zod.ZodBoolean>;
14098
- thinking: zod.ZodOptional<zod.ZodBoolean>;
14099
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
14100
- }, zod_v4_core.$strict>>;
14101
14152
  path: zod.ZodString;
14102
14153
  configProfile: zod.ZodOptional<zod.ZodString>;
14103
14154
  identity: zod.ZodOptional<zod.ZodString>;
@@ -14502,9 +14553,9 @@ declare function createLifecycleApiRouter(deps: LifecycleApiDeps): {
14502
14553
  current: z.ZodString;
14503
14554
  latest: z.ZodString;
14504
14555
  action: z.ZodEnum<{
14505
- updated: "updated";
14506
14556
  current: "current";
14507
14557
  available: "available";
14558
+ updated: "updated";
14508
14559
  }>;
14509
14560
  }, z.core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
14510
14561
  };
@@ -14545,13 +14596,13 @@ declare const StatuslineSchema: z.ZodObject<{
14545
14596
  route: "route";
14546
14597
  account: "account";
14547
14598
  provider: "provider";
14548
- duration: "duration";
14599
+ version: "version";
14549
14600
  headroom: "headroom";
14601
+ duration: "duration";
14550
14602
  project: "project";
14551
14603
  vcs: "vcs";
14552
14604
  effort: "effort";
14553
14605
  advisor: "advisor";
14554
- version: "version";
14555
14606
  outputStyle: "outputStyle";
14556
14607
  cost: "cost";
14557
14608
  dailyCost: "dailyCost";
@@ -14562,10 +14613,10 @@ declare const StatuslineSchema: z.ZodObject<{
14562
14613
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
14563
14614
  context: "context";
14564
14615
  quota: "quota";
14616
+ environment: "environment";
14565
14617
  addedDirs: "addedDirs";
14566
14618
  gitFiles: "gitFiles";
14567
14619
  memory: "memory";
14568
- environment: "environment";
14569
14620
  sessionTime: "sessionTime";
14570
14621
  promptCache: "promptCache";
14571
14622
  compactions: "compactions";
@@ -14588,10 +14639,10 @@ declare const StatuslineSchema: z.ZodObject<{
14588
14639
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
14589
14640
  context: "context";
14590
14641
  quota: "quota";
14642
+ environment: "environment";
14591
14643
  addedDirs: "addedDirs";
14592
14644
  gitFiles: "gitFiles";
14593
14645
  memory: "memory";
14594
- environment: "environment";
14595
14646
  sessionTime: "sessionTime";
14596
14647
  promptCache: "promptCache";
14597
14648
  compactions: "compactions";
@@ -14605,10 +14656,10 @@ declare const StatuslineSchema: z.ZodObject<{
14605
14656
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
14606
14657
  context: "context";
14607
14658
  quota: "quota";
14659
+ environment: "environment";
14608
14660
  addedDirs: "addedDirs";
14609
14661
  gitFiles: "gitFiles";
14610
14662
  memory: "memory";
14611
- environment: "environment";
14612
14663
  sessionTime: "sessionTime";
14613
14664
  promptCache: "promptCache";
14614
14665
  compactions: "compactions";
@@ -14667,10 +14718,10 @@ declare const StatuslineSchema: z.ZodObject<{
14667
14718
  hidden: "hidden";
14668
14719
  }>>;
14669
14720
  value: z.ZodOptional<z.ZodEnum<{
14721
+ remaining: "remaining";
14670
14722
  tokens: "tokens";
14671
14723
  both: "both";
14672
14724
  percent: "percent";
14673
- remaining: "remaining";
14674
14725
  }>>;
14675
14726
  estimate: z.ZodOptional<z.ZodEnum<{
14676
14727
  never: "never";
@@ -14712,8 +14763,8 @@ declare const StatuslineSchema: z.ZodObject<{
14712
14763
  }, z.core.$strict>>;
14713
14764
  usage: z.ZodOptional<z.ZodObject<{
14714
14765
  value: z.ZodOptional<z.ZodEnum<{
14715
- remaining: "remaining";
14716
14766
  used: "used";
14767
+ remaining: "remaining";
14717
14768
  }>>;
14718
14769
  bar: z.ZodOptional<z.ZodBoolean>;
14719
14770
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -15191,6 +15242,8 @@ interface PrepareLaunchParams {
15191
15242
  readonly frontdoor?: FrontDoorPort;
15192
15243
  /** Resolves credential blocks (a provider's, or the launching identity's own). Omitted by a caller that cannot read secret files or run commands; a launch that needs a credential is then refused rather than started without it. */
15193
15244
  readonly credentials?: CredentialPort;
15245
+ /** Starts one connection to an http provider's base URL, bounded by the provider's connect timeout, and returns before it is answered. With it, a launch on an http provider whose base URL accepts no connection carries a warning naming the URL after its report, and goes ahead; a caller that cannot open connections omits it and reports nothing. */
15246
+ readonly startBaseUrlProbe?: StartBaseUrlProbe;
15194
15247
  /** True when the user was asked on a terminal whether to create the selected configuration profile and chose to launch without it. Without that explicit choice, a selected profile with no file is refused rather than silently skipped. */
15195
15248
  readonly allowMissingConfigProfile?: boolean;
15196
15249
  /** The user-global `update.mode`, resolved from the same global config the launcher already loads. Absent means `off`, and `off` runs no launch-time update check at all. */
@@ -15347,12 +15400,12 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
15347
15400
  identity: zod.ZodOptional<zod.ZodString>;
15348
15401
  identityId: zod.ZodOptional<zod.ZodString>;
15349
15402
  identitySource: zod.ZodEnum<{
15350
- env: "env";
15351
- none: "none";
15352
15403
  "config-dir-escape-hatch": "config-dir-escape-hatch";
15353
15404
  argv: "argv";
15405
+ env: "env";
15354
15406
  "directory-pin": "directory-pin";
15355
15407
  "active-identity-file": "active-identity-file";
15408
+ none: "none";
15356
15409
  }>;
15357
15410
  pool: zod.ZodOptional<zod.ZodObject<{
15358
15411
  name: zod.ZodString;
@@ -15406,13 +15459,13 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
15406
15459
  route: "route";
15407
15460
  account: "account";
15408
15461
  provider: "provider";
15409
- duration: "duration";
15462
+ version: "version";
15410
15463
  headroom: "headroom";
15464
+ duration: "duration";
15411
15465
  project: "project";
15412
15466
  vcs: "vcs";
15413
15467
  effort: "effort";
15414
15468
  advisor: "advisor";
15415
- version: "version";
15416
15469
  outputStyle: "outputStyle";
15417
15470
  cost: "cost";
15418
15471
  dailyCost: "dailyCost";
@@ -15423,10 +15476,10 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
15423
15476
  rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
15424
15477
  context: "context";
15425
15478
  quota: "quota";
15479
+ environment: "environment";
15426
15480
  addedDirs: "addedDirs";
15427
15481
  gitFiles: "gitFiles";
15428
15482
  memory: "memory";
15429
- environment: "environment";
15430
15483
  sessionTime: "sessionTime";
15431
15484
  promptCache: "promptCache";
15432
15485
  compactions: "compactions";
@@ -15449,10 +15502,10 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
15449
15502
  merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
15450
15503
  context: "context";
15451
15504
  quota: "quota";
15505
+ environment: "environment";
15452
15506
  addedDirs: "addedDirs";
15453
15507
  gitFiles: "gitFiles";
15454
15508
  memory: "memory";
15455
- environment: "environment";
15456
15509
  sessionTime: "sessionTime";
15457
15510
  promptCache: "promptCache";
15458
15511
  compactions: "compactions";
@@ -15466,10 +15519,10 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
15466
15519
  rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
15467
15520
  context: "context";
15468
15521
  quota: "quota";
15522
+ environment: "environment";
15469
15523
  addedDirs: "addedDirs";
15470
15524
  gitFiles: "gitFiles";
15471
15525
  memory: "memory";
15472
- environment: "environment";
15473
15526
  sessionTime: "sessionTime";
15474
15527
  promptCache: "promptCache";
15475
15528
  compactions: "compactions";
@@ -15528,10 +15581,10 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
15528
15581
  hidden: "hidden";
15529
15582
  }>>;
15530
15583
  value: zod.ZodOptional<zod.ZodEnum<{
15584
+ remaining: "remaining";
15531
15585
  tokens: "tokens";
15532
15586
  both: "both";
15533
15587
  percent: "percent";
15534
- remaining: "remaining";
15535
15588
  }>>;
15536
15589
  estimate: zod.ZodOptional<zod.ZodEnum<{
15537
15590
  never: "never";
@@ -15573,8 +15626,8 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
15573
15626
  }, zod_v4_core.$strict>>;
15574
15627
  usage: zod.ZodOptional<zod.ZodObject<{
15575
15628
  value: zod.ZodOptional<zod.ZodEnum<{
15576
- remaining: "remaining";
15577
15629
  used: "used";
15630
+ remaining: "remaining";
15578
15631
  }>>;
15579
15632
  bar: zod.ZodOptional<zod.ZodBoolean>;
15580
15633
  compact: zod.ZodOptional<zod.ZodBoolean>;
@@ -15935,8 +15988,8 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
15935
15988
  claudeVersion: zod.ZodOptional<zod.ZodObject<{
15936
15989
  version: zod.ZodString;
15937
15990
  source: zod.ZodEnum<{
15938
- environment: "environment";
15939
15991
  flag: "flag";
15992
+ environment: "environment";
15940
15993
  cascade: "cascade";
15941
15994
  }>;
15942
15995
  }, zod_v4_core.$strict>>;
@@ -16293,6 +16346,12 @@ declare function formatFrontDoorStatus(status: FrontDoorStatus, caCertPath: stri
16293
16346
  *
16294
16347
  * This router is reads only; the door's writes live in routers of their own so each is a decision of its own (`lifecycleApi.ts` for the restart and the update check, `codexApi.ts` for the Codex sign-in, `configApi.ts` for identity, configuration-profile, provider, pool and directory-rule management). `createDoorApiNodeHandler` mounts these routers and the door-wide `events.subscribe` router beside the Remote Control router on the one prefix the provider listener already serves, so a consumer dials one address with one token for the whole door.
16295
16348
  */
16349
+ /**
16350
+ * Thrown by a `checkReport` or `doctorReport` dependency that cannot collect its report where it runs. `check.run` and `doctor.run` answer it as `SERVICE_UNAVAILABLE` with its message, so a caller is told what to do instead of reading a fault of the door.
16351
+ */
16352
+ declare class DoorReportUnavailableError extends Error {
16353
+ constructor(report: "check" | "doctor");
16354
+ }
16296
16355
  /** Everything the control-plane procedures need, injected so they serve against fakes in tests exactly as the door's real wiring serves against this machine. */
16297
16356
  interface ControlApiDeps {
16298
16357
  /** This generation's control token: the same value the Remote Control router checks, since one mount serves both. */
@@ -16557,12 +16616,12 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
16557
16616
  identity: zod.ZodObject<{
16558
16617
  name: zod.ZodNullable<zod.ZodString>;
16559
16618
  source: zod.ZodEnum<{
16560
- env: "env";
16561
- none: "none";
16562
16619
  "config-dir-escape-hatch": "config-dir-escape-hatch";
16563
16620
  argv: "argv";
16621
+ env: "env";
16564
16622
  "directory-pin": "directory-pin";
16565
16623
  "active-identity-file": "active-identity-file";
16624
+ none: "none";
16566
16625
  }>;
16567
16626
  }, zod_v4_core.$strict>;
16568
16627
  pool: zod.ZodOptional<zod.ZodObject<{
@@ -16641,11 +16700,11 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
16641
16700
  "category-default": "category-default";
16642
16701
  }>;
16643
16702
  category: zod.ZodNullable<zod.ZodEnum<{
16703
+ secret: "secret";
16644
16704
  runtime: "runtime";
16645
16705
  history: "history";
16646
16706
  knowledge: "knowledge";
16647
16707
  settings: "settings";
16648
- secret: "secret";
16649
16708
  }>>;
16650
16709
  rule: zod.ZodOptional<zod.ZodObject<{
16651
16710
  key: zod.ZodString;
@@ -16845,8 +16904,8 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
16845
16904
  pinned: zod.ZodOptional<zod.ZodObject<{
16846
16905
  version: zod.ZodString;
16847
16906
  source: zod.ZodEnum<{
16848
- environment: "environment";
16849
16907
  flag: "flag";
16908
+ environment: "environment";
16850
16909
  cascade: "cascade";
16851
16910
  }>;
16852
16911
  installed: zod.ZodBoolean;
@@ -16854,6 +16913,16 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
16854
16913
  highestInstalled: zod.ZodOptional<zod.ZodString>;
16855
16914
  installed: zod.ZodReadonly<zod.ZodArray<zod.ZodString>>;
16856
16915
  }, zod_v4_core.$strict>>;
16916
+ providerReachability: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
16917
+ name: zod.ZodString;
16918
+ baseUrl: zod.ZodString;
16919
+ ok: zod.ZodLiteral<true>;
16920
+ }, zod_v4_core.$strict>, zod.ZodObject<{
16921
+ name: zod.ZodString;
16922
+ baseUrl: zod.ZodString;
16923
+ ok: zod.ZodLiteral<false>;
16924
+ message: zod.ZodString;
16925
+ }, zod_v4_core.$strict>]>>;
16857
16926
  }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
16858
16927
  };
16859
16928
  doctor: {
@@ -16865,11 +16934,9 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
16865
16934
  "config-profile": "config-profile";
16866
16935
  identity: "identity";
16867
16936
  provider: "provider";
16868
- keychain: "keychain";
16869
- headroom: "headroom";
16870
- models: "models";
16871
16937
  frontdoor: "frontdoor";
16872
16938
  pool: "pool";
16939
+ keychain: "keychain";
16873
16940
  "ambient-credential": "ambient-credential";
16874
16941
  "binary-discovery": "binary-discovery";
16875
16942
  "claude-shim": "claude-shim";
@@ -16879,6 +16946,8 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
16879
16946
  "directory-rules": "directory-rules";
16880
16947
  "categories-local": "categories-local";
16881
16948
  "active-identity": "active-identity";
16949
+ headroom: "headroom";
16950
+ models: "models";
16882
16951
  }>;
16883
16952
  subject: zod.ZodOptional<zod.ZodString>;
16884
16953
  severity: zod.ZodEnum<{
@@ -17077,12 +17146,12 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17077
17146
  identity: zod.ZodOptional<zod.ZodString>;
17078
17147
  identityId: zod.ZodOptional<zod.ZodString>;
17079
17148
  identitySource: zod.ZodEnum<{
17080
- env: "env";
17081
- none: "none";
17082
17149
  "config-dir-escape-hatch": "config-dir-escape-hatch";
17083
17150
  argv: "argv";
17151
+ env: "env";
17084
17152
  "directory-pin": "directory-pin";
17085
17153
  "active-identity-file": "active-identity-file";
17154
+ none: "none";
17086
17155
  }>;
17087
17156
  pool: zod.ZodOptional<zod.ZodObject<{
17088
17157
  name: zod.ZodString;
@@ -17136,13 +17205,13 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17136
17205
  route: "route";
17137
17206
  account: "account";
17138
17207
  provider: "provider";
17139
- duration: "duration";
17208
+ version: "version";
17140
17209
  headroom: "headroom";
17210
+ duration: "duration";
17141
17211
  project: "project";
17142
17212
  vcs: "vcs";
17143
17213
  effort: "effort";
17144
17214
  advisor: "advisor";
17145
- version: "version";
17146
17215
  outputStyle: "outputStyle";
17147
17216
  cost: "cost";
17148
17217
  dailyCost: "dailyCost";
@@ -17153,10 +17222,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17153
17222
  rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
17154
17223
  context: "context";
17155
17224
  quota: "quota";
17225
+ environment: "environment";
17156
17226
  addedDirs: "addedDirs";
17157
17227
  gitFiles: "gitFiles";
17158
17228
  memory: "memory";
17159
- environment: "environment";
17160
17229
  sessionTime: "sessionTime";
17161
17230
  promptCache: "promptCache";
17162
17231
  compactions: "compactions";
@@ -17179,10 +17248,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17179
17248
  merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
17180
17249
  context: "context";
17181
17250
  quota: "quota";
17251
+ environment: "environment";
17182
17252
  addedDirs: "addedDirs";
17183
17253
  gitFiles: "gitFiles";
17184
17254
  memory: "memory";
17185
- environment: "environment";
17186
17255
  sessionTime: "sessionTime";
17187
17256
  promptCache: "promptCache";
17188
17257
  compactions: "compactions";
@@ -17196,10 +17265,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17196
17265
  rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
17197
17266
  context: "context";
17198
17267
  quota: "quota";
17268
+ environment: "environment";
17199
17269
  addedDirs: "addedDirs";
17200
17270
  gitFiles: "gitFiles";
17201
17271
  memory: "memory";
17202
- environment: "environment";
17203
17272
  sessionTime: "sessionTime";
17204
17273
  promptCache: "promptCache";
17205
17274
  compactions: "compactions";
@@ -17258,10 +17327,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17258
17327
  hidden: "hidden";
17259
17328
  }>>;
17260
17329
  value: zod.ZodOptional<zod.ZodEnum<{
17330
+ remaining: "remaining";
17261
17331
  tokens: "tokens";
17262
17332
  both: "both";
17263
17333
  percent: "percent";
17264
- remaining: "remaining";
17265
17334
  }>>;
17266
17335
  estimate: zod.ZodOptional<zod.ZodEnum<{
17267
17336
  never: "never";
@@ -17303,8 +17372,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17303
17372
  }, zod_v4_core.$strict>>;
17304
17373
  usage: zod.ZodOptional<zod.ZodObject<{
17305
17374
  value: zod.ZodOptional<zod.ZodEnum<{
17306
- remaining: "remaining";
17307
17375
  used: "used";
17376
+ remaining: "remaining";
17308
17377
  }>>;
17309
17378
  bar: zod.ZodOptional<zod.ZodBoolean>;
17310
17379
  compact: zod.ZodOptional<zod.ZodBoolean>;
@@ -17665,8 +17734,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17665
17734
  claudeVersion: zod.ZodOptional<zod.ZodObject<{
17666
17735
  version: zod.ZodString;
17667
17736
  source: zod.ZodEnum<{
17668
- environment: "environment";
17669
17737
  flag: "flag";
17738
+ environment: "environment";
17670
17739
  cascade: "cascade";
17671
17740
  }>;
17672
17741
  }, zod_v4_core.$strict>>;
@@ -17750,6 +17819,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17750
17819
  kind: zod.ZodLiteral<"identity">;
17751
17820
  name: zod.ZodString;
17752
17821
  value: zod.ZodObject<{
17822
+ agent: zod.ZodOptional<zod.ZodEnum<{
17823
+ claude: "claude";
17824
+ codex: "codex";
17825
+ }>>;
17753
17826
  name: zod.ZodString;
17754
17827
  label: zod.ZodOptional<zod.ZodString>;
17755
17828
  defaultConfigProfile: zod.ZodOptional<zod.ZodString>;
@@ -17859,6 +17932,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17859
17932
  kind: zod.ZodLiteral<"identity">;
17860
17933
  name: zod.ZodString;
17861
17934
  value: zod.ZodObject<{
17935
+ agent: zod.ZodOptional<zod.ZodEnum<{
17936
+ claude: "claude";
17937
+ codex: "codex";
17938
+ }>>;
17862
17939
  name: zod.ZodString;
17863
17940
  label: zod.ZodOptional<zod.ZodString>;
17864
17941
  defaultConfigProfile: zod.ZodOptional<zod.ZodString>;
@@ -18014,6 +18091,53 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18014
18091
  }, zod_v4_core.$strip>], "kind">]>;
18015
18092
  }, zod_v4_core.$strict>]>>>;
18016
18093
  description: zod.ZodOptional<zod.ZodString>;
18094
+ models: zod.ZodOptional<zod.ZodObject<{
18095
+ pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
18096
+ virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
18097
+ mode: zod.ZodEnum<{
18098
+ ordered: "ordered";
18099
+ "most-allowance": "most-allowance";
18100
+ "soonest-reset": "soonest-reset";
18101
+ spread: "spread";
18102
+ adaptive: "adaptive";
18103
+ "lowest-latency": "lowest-latency";
18104
+ "highest-success": "highest-success";
18105
+ cheapest: "cheapest";
18106
+ }>;
18107
+ members: zod.ZodArray<zod.ZodString>;
18108
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
18109
+ tiers: zod.ZodOptional<zod.ZodObject<{
18110
+ fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
18111
+ opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
18112
+ sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
18113
+ haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
18114
+ }, zod_v4_core.$strict>>;
18115
+ prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
18116
+ input: zod.ZodNumber;
18117
+ output: zod.ZodNumber;
18118
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
18119
+ hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
18120
+ show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
18121
+ same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
18122
+ distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
18123
+ families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
18124
+ names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
18125
+ mode: zod.ZodOptional<zod.ZodEnum<{
18126
+ ordered: "ordered";
18127
+ "most-allowance": "most-allowance";
18128
+ "soonest-reset": "soonest-reset";
18129
+ spread: "spread";
18130
+ adaptive: "adaptive";
18131
+ "lowest-latency": "lowest-latency";
18132
+ "highest-success": "highest-success";
18133
+ cheapest: "cheapest";
18134
+ }>>;
18135
+ context: zod.ZodOptional<zod.ZodNumber>;
18136
+ vision: zod.ZodOptional<zod.ZodBoolean>;
18137
+ tools: zod.ZodOptional<zod.ZodBoolean>;
18138
+ thinking: zod.ZodOptional<zod.ZodBoolean>;
18139
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
18140
+ }, zod_v4_core.$strict>>;
18017
18141
  extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
18018
18142
  categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
18019
18143
  all: zod.ZodOptional<zod.ZodBoolean>;
@@ -18060,13 +18184,13 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18060
18184
  route: "route";
18061
18185
  account: "account";
18062
18186
  provider: "provider";
18063
- duration: "duration";
18187
+ version: "version";
18064
18188
  headroom: "headroom";
18189
+ duration: "duration";
18065
18190
  project: "project";
18066
18191
  vcs: "vcs";
18067
18192
  effort: "effort";
18068
18193
  advisor: "advisor";
18069
- version: "version";
18070
18194
  outputStyle: "outputStyle";
18071
18195
  cost: "cost";
18072
18196
  dailyCost: "dailyCost";
@@ -18077,10 +18201,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18077
18201
  rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
18078
18202
  context: "context";
18079
18203
  quota: "quota";
18204
+ environment: "environment";
18080
18205
  addedDirs: "addedDirs";
18081
18206
  gitFiles: "gitFiles";
18082
18207
  memory: "memory";
18083
- environment: "environment";
18084
18208
  sessionTime: "sessionTime";
18085
18209
  promptCache: "promptCache";
18086
18210
  compactions: "compactions";
@@ -18103,10 +18227,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18103
18227
  merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
18104
18228
  context: "context";
18105
18229
  quota: "quota";
18230
+ environment: "environment";
18106
18231
  addedDirs: "addedDirs";
18107
18232
  gitFiles: "gitFiles";
18108
18233
  memory: "memory";
18109
- environment: "environment";
18110
18234
  sessionTime: "sessionTime";
18111
18235
  promptCache: "promptCache";
18112
18236
  compactions: "compactions";
@@ -18120,10 +18244,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18120
18244
  rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
18121
18245
  context: "context";
18122
18246
  quota: "quota";
18247
+ environment: "environment";
18123
18248
  addedDirs: "addedDirs";
18124
18249
  gitFiles: "gitFiles";
18125
18250
  memory: "memory";
18126
- environment: "environment";
18127
18251
  sessionTime: "sessionTime";
18128
18252
  promptCache: "promptCache";
18129
18253
  compactions: "compactions";
@@ -18182,10 +18306,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18182
18306
  hidden: "hidden";
18183
18307
  }>>;
18184
18308
  value: zod.ZodOptional<zod.ZodEnum<{
18309
+ remaining: "remaining";
18185
18310
  tokens: "tokens";
18186
18311
  both: "both";
18187
18312
  percent: "percent";
18188
- remaining: "remaining";
18189
18313
  }>>;
18190
18314
  estimate: zod.ZodOptional<zod.ZodEnum<{
18191
18315
  never: "never";
@@ -18227,8 +18351,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18227
18351
  }, zod_v4_core.$strict>>;
18228
18352
  usage: zod.ZodOptional<zod.ZodObject<{
18229
18353
  value: zod.ZodOptional<zod.ZodEnum<{
18230
- remaining: "remaining";
18231
18354
  used: "used";
18355
+ remaining: "remaining";
18232
18356
  }>>;
18233
18357
  bar: zod.ZodOptional<zod.ZodBoolean>;
18234
18358
  compact: zod.ZodOptional<zod.ZodBoolean>;
@@ -18586,53 +18710,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18586
18710
  }, zod_v4_core.$strict>>;
18587
18711
  }, zod_v4_core.$strict>>;
18588
18712
  }, zod_v4_core.$strict>>;
18589
- models: zod.ZodOptional<zod.ZodObject<{
18590
- pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
18591
- virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
18592
- mode: zod.ZodEnum<{
18593
- ordered: "ordered";
18594
- "most-allowance": "most-allowance";
18595
- "soonest-reset": "soonest-reset";
18596
- spread: "spread";
18597
- adaptive: "adaptive";
18598
- "lowest-latency": "lowest-latency";
18599
- "highest-success": "highest-success";
18600
- cheapest: "cheapest";
18601
- }>;
18602
- members: zod.ZodArray<zod.ZodString>;
18603
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
18604
- tiers: zod.ZodOptional<zod.ZodObject<{
18605
- fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
18606
- opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
18607
- sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
18608
- haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
18609
- }, zod_v4_core.$strict>>;
18610
- prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
18611
- input: zod.ZodNumber;
18612
- output: zod.ZodNumber;
18613
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
18614
- hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
18615
- show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
18616
- same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
18617
- distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
18618
- families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
18619
- names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
18620
- mode: zod.ZodOptional<zod.ZodEnum<{
18621
- ordered: "ordered";
18622
- "most-allowance": "most-allowance";
18623
- "soonest-reset": "soonest-reset";
18624
- spread: "spread";
18625
- adaptive: "adaptive";
18626
- "lowest-latency": "lowest-latency";
18627
- "highest-success": "highest-success";
18628
- cheapest: "cheapest";
18629
- }>>;
18630
- context: zod.ZodOptional<zod.ZodNumber>;
18631
- vision: zod.ZodOptional<zod.ZodBoolean>;
18632
- tools: zod.ZodOptional<zod.ZodBoolean>;
18633
- thinking: zod.ZodOptional<zod.ZodBoolean>;
18634
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
18635
- }, zod_v4_core.$strict>>;
18636
18713
  }, zod_v4_core.$strict>;
18637
18714
  }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
18638
18715
  set: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
@@ -18738,6 +18815,53 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18738
18815
  }, zod_v4_core.$strip>], "kind">]>;
18739
18816
  }, zod_v4_core.$strict>]>>>;
18740
18817
  description: zod.ZodOptional<zod.ZodString>;
18818
+ models: zod.ZodOptional<zod.ZodObject<{
18819
+ pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
18820
+ virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
18821
+ mode: zod.ZodEnum<{
18822
+ ordered: "ordered";
18823
+ "most-allowance": "most-allowance";
18824
+ "soonest-reset": "soonest-reset";
18825
+ spread: "spread";
18826
+ adaptive: "adaptive";
18827
+ "lowest-latency": "lowest-latency";
18828
+ "highest-success": "highest-success";
18829
+ cheapest: "cheapest";
18830
+ }>;
18831
+ members: zod.ZodArray<zod.ZodString>;
18832
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
18833
+ tiers: zod.ZodOptional<zod.ZodObject<{
18834
+ fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
18835
+ opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
18836
+ sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
18837
+ haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
18838
+ }, zod_v4_core.$strict>>;
18839
+ prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
18840
+ input: zod.ZodNumber;
18841
+ output: zod.ZodNumber;
18842
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
18843
+ hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
18844
+ show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
18845
+ same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
18846
+ distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
18847
+ families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
18848
+ names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
18849
+ mode: zod.ZodOptional<zod.ZodEnum<{
18850
+ ordered: "ordered";
18851
+ "most-allowance": "most-allowance";
18852
+ "soonest-reset": "soonest-reset";
18853
+ spread: "spread";
18854
+ adaptive: "adaptive";
18855
+ "lowest-latency": "lowest-latency";
18856
+ "highest-success": "highest-success";
18857
+ cheapest: "cheapest";
18858
+ }>>;
18859
+ context: zod.ZodOptional<zod.ZodNumber>;
18860
+ vision: zod.ZodOptional<zod.ZodBoolean>;
18861
+ tools: zod.ZodOptional<zod.ZodBoolean>;
18862
+ thinking: zod.ZodOptional<zod.ZodBoolean>;
18863
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
18864
+ }, zod_v4_core.$strict>>;
18741
18865
  extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
18742
18866
  categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
18743
18867
  all: zod.ZodOptional<zod.ZodBoolean>;
@@ -18784,13 +18908,13 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18784
18908
  route: "route";
18785
18909
  account: "account";
18786
18910
  provider: "provider";
18787
- duration: "duration";
18911
+ version: "version";
18788
18912
  headroom: "headroom";
18913
+ duration: "duration";
18789
18914
  project: "project";
18790
18915
  vcs: "vcs";
18791
18916
  effort: "effort";
18792
18917
  advisor: "advisor";
18793
- version: "version";
18794
18918
  outputStyle: "outputStyle";
18795
18919
  cost: "cost";
18796
18920
  dailyCost: "dailyCost";
@@ -18801,10 +18925,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18801
18925
  rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
18802
18926
  context: "context";
18803
18927
  quota: "quota";
18928
+ environment: "environment";
18804
18929
  addedDirs: "addedDirs";
18805
18930
  gitFiles: "gitFiles";
18806
18931
  memory: "memory";
18807
- environment: "environment";
18808
18932
  sessionTime: "sessionTime";
18809
18933
  promptCache: "promptCache";
18810
18934
  compactions: "compactions";
@@ -18827,10 +18951,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18827
18951
  merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
18828
18952
  context: "context";
18829
18953
  quota: "quota";
18954
+ environment: "environment";
18830
18955
  addedDirs: "addedDirs";
18831
18956
  gitFiles: "gitFiles";
18832
18957
  memory: "memory";
18833
- environment: "environment";
18834
18958
  sessionTime: "sessionTime";
18835
18959
  promptCache: "promptCache";
18836
18960
  compactions: "compactions";
@@ -18844,10 +18968,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18844
18968
  rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
18845
18969
  context: "context";
18846
18970
  quota: "quota";
18971
+ environment: "environment";
18847
18972
  addedDirs: "addedDirs";
18848
18973
  gitFiles: "gitFiles";
18849
18974
  memory: "memory";
18850
- environment: "environment";
18851
18975
  sessionTime: "sessionTime";
18852
18976
  promptCache: "promptCache";
18853
18977
  compactions: "compactions";
@@ -18906,10 +19030,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18906
19030
  hidden: "hidden";
18907
19031
  }>>;
18908
19032
  value: zod.ZodOptional<zod.ZodEnum<{
19033
+ remaining: "remaining";
18909
19034
  tokens: "tokens";
18910
19035
  both: "both";
18911
19036
  percent: "percent";
18912
- remaining: "remaining";
18913
19037
  }>>;
18914
19038
  estimate: zod.ZodOptional<zod.ZodEnum<{
18915
19039
  never: "never";
@@ -18951,8 +19075,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18951
19075
  }, zod_v4_core.$strict>>;
18952
19076
  usage: zod.ZodOptional<zod.ZodObject<{
18953
19077
  value: zod.ZodOptional<zod.ZodEnum<{
18954
- remaining: "remaining";
18955
19078
  used: "used";
19079
+ remaining: "remaining";
18956
19080
  }>>;
18957
19081
  bar: zod.ZodOptional<zod.ZodBoolean>;
18958
19082
  compact: zod.ZodOptional<zod.ZodBoolean>;
@@ -19310,53 +19434,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
19310
19434
  }, zod_v4_core.$strict>>;
19311
19435
  }, zod_v4_core.$strict>>;
19312
19436
  }, zod_v4_core.$strict>>;
19313
- models: zod.ZodOptional<zod.ZodObject<{
19314
- pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
19315
- virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
19316
- mode: zod.ZodEnum<{
19317
- ordered: "ordered";
19318
- "most-allowance": "most-allowance";
19319
- "soonest-reset": "soonest-reset";
19320
- spread: "spread";
19321
- adaptive: "adaptive";
19322
- "lowest-latency": "lowest-latency";
19323
- "highest-success": "highest-success";
19324
- cheapest: "cheapest";
19325
- }>;
19326
- members: zod.ZodArray<zod.ZodString>;
19327
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
19328
- tiers: zod.ZodOptional<zod.ZodObject<{
19329
- fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
19330
- opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
19331
- sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
19332
- haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
19333
- }, zod_v4_core.$strict>>;
19334
- prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
19335
- input: zod.ZodNumber;
19336
- output: zod.ZodNumber;
19337
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
19338
- hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
19339
- show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
19340
- same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
19341
- distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
19342
- families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
19343
- names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
19344
- mode: zod.ZodOptional<zod.ZodEnum<{
19345
- ordered: "ordered";
19346
- "most-allowance": "most-allowance";
19347
- "soonest-reset": "soonest-reset";
19348
- spread: "spread";
19349
- adaptive: "adaptive";
19350
- "lowest-latency": "lowest-latency";
19351
- "highest-success": "highest-success";
19352
- cheapest: "cheapest";
19353
- }>>;
19354
- context: zod.ZodOptional<zod.ZodNumber>;
19355
- vision: zod.ZodOptional<zod.ZodBoolean>;
19356
- tools: zod.ZodOptional<zod.ZodBoolean>;
19357
- thinking: zod.ZodOptional<zod.ZodBoolean>;
19358
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
19359
- }, zod_v4_core.$strict>>;
19360
19437
  }, zod_v4_core.$strict>;
19361
19438
  }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
19362
19439
  remove: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
@@ -19937,6 +20014,53 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
19937
20014
  key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
19938
20015
  }, zod_v4_core.$strip>], "kind">]>;
19939
20016
  }, zod_v4_core.$strict>]>>>;
20017
+ models: zod.ZodOptional<zod.ZodObject<{
20018
+ pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
20019
+ virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
20020
+ mode: zod.ZodEnum<{
20021
+ ordered: "ordered";
20022
+ "most-allowance": "most-allowance";
20023
+ "soonest-reset": "soonest-reset";
20024
+ spread: "spread";
20025
+ adaptive: "adaptive";
20026
+ "lowest-latency": "lowest-latency";
20027
+ "highest-success": "highest-success";
20028
+ cheapest: "cheapest";
20029
+ }>;
20030
+ members: zod.ZodArray<zod.ZodString>;
20031
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
20032
+ tiers: zod.ZodOptional<zod.ZodObject<{
20033
+ fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
20034
+ opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
20035
+ sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
20036
+ haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
20037
+ }, zod_v4_core.$strict>>;
20038
+ prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
20039
+ input: zod.ZodNumber;
20040
+ output: zod.ZodNumber;
20041
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
20042
+ hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
20043
+ show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
20044
+ same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
20045
+ distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
20046
+ families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
20047
+ names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
20048
+ mode: zod.ZodOptional<zod.ZodEnum<{
20049
+ ordered: "ordered";
20050
+ "most-allowance": "most-allowance";
20051
+ "soonest-reset": "soonest-reset";
20052
+ spread: "spread";
20053
+ adaptive: "adaptive";
20054
+ "lowest-latency": "lowest-latency";
20055
+ "highest-success": "highest-success";
20056
+ cheapest: "cheapest";
20057
+ }>>;
20058
+ context: zod.ZodOptional<zod.ZodNumber>;
20059
+ vision: zod.ZodOptional<zod.ZodBoolean>;
20060
+ tools: zod.ZodOptional<zod.ZodBoolean>;
20061
+ thinking: zod.ZodOptional<zod.ZodBoolean>;
20062
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
20063
+ }, zod_v4_core.$strict>>;
19940
20064
  $schema: zod.ZodOptional<zod.ZodString>;
19941
20065
  extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
19942
20066
  categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
@@ -19984,13 +20108,13 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
19984
20108
  route: "route";
19985
20109
  account: "account";
19986
20110
  provider: "provider";
19987
- duration: "duration";
20111
+ version: "version";
19988
20112
  headroom: "headroom";
20113
+ duration: "duration";
19989
20114
  project: "project";
19990
20115
  vcs: "vcs";
19991
20116
  effort: "effort";
19992
20117
  advisor: "advisor";
19993
- version: "version";
19994
20118
  outputStyle: "outputStyle";
19995
20119
  cost: "cost";
19996
20120
  dailyCost: "dailyCost";
@@ -20001,10 +20125,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20001
20125
  rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
20002
20126
  context: "context";
20003
20127
  quota: "quota";
20128
+ environment: "environment";
20004
20129
  addedDirs: "addedDirs";
20005
20130
  gitFiles: "gitFiles";
20006
20131
  memory: "memory";
20007
- environment: "environment";
20008
20132
  sessionTime: "sessionTime";
20009
20133
  promptCache: "promptCache";
20010
20134
  compactions: "compactions";
@@ -20027,10 +20151,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20027
20151
  merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
20028
20152
  context: "context";
20029
20153
  quota: "quota";
20154
+ environment: "environment";
20030
20155
  addedDirs: "addedDirs";
20031
20156
  gitFiles: "gitFiles";
20032
20157
  memory: "memory";
20033
- environment: "environment";
20034
20158
  sessionTime: "sessionTime";
20035
20159
  promptCache: "promptCache";
20036
20160
  compactions: "compactions";
@@ -20044,10 +20168,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20044
20168
  rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
20045
20169
  context: "context";
20046
20170
  quota: "quota";
20171
+ environment: "environment";
20047
20172
  addedDirs: "addedDirs";
20048
20173
  gitFiles: "gitFiles";
20049
20174
  memory: "memory";
20050
- environment: "environment";
20051
20175
  sessionTime: "sessionTime";
20052
20176
  promptCache: "promptCache";
20053
20177
  compactions: "compactions";
@@ -20106,10 +20230,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20106
20230
  hidden: "hidden";
20107
20231
  }>>;
20108
20232
  value: zod.ZodOptional<zod.ZodEnum<{
20233
+ remaining: "remaining";
20109
20234
  tokens: "tokens";
20110
20235
  both: "both";
20111
20236
  percent: "percent";
20112
- remaining: "remaining";
20113
20237
  }>>;
20114
20238
  estimate: zod.ZodOptional<zod.ZodEnum<{
20115
20239
  never: "never";
@@ -20151,8 +20275,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20151
20275
  }, zod_v4_core.$strict>>;
20152
20276
  usage: zod.ZodOptional<zod.ZodObject<{
20153
20277
  value: zod.ZodOptional<zod.ZodEnum<{
20154
- remaining: "remaining";
20155
20278
  used: "used";
20279
+ remaining: "remaining";
20156
20280
  }>>;
20157
20281
  bar: zod.ZodOptional<zod.ZodBoolean>;
20158
20282
  compact: zod.ZodOptional<zod.ZodBoolean>;
@@ -20510,53 +20634,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20510
20634
  }, zod_v4_core.$strict>>;
20511
20635
  }, zod_v4_core.$strict>>;
20512
20636
  }, zod_v4_core.$strict>>;
20513
- models: zod.ZodOptional<zod.ZodObject<{
20514
- pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
20515
- virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
20516
- mode: zod.ZodEnum<{
20517
- ordered: "ordered";
20518
- "most-allowance": "most-allowance";
20519
- "soonest-reset": "soonest-reset";
20520
- spread: "spread";
20521
- adaptive: "adaptive";
20522
- "lowest-latency": "lowest-latency";
20523
- "highest-success": "highest-success";
20524
- cheapest: "cheapest";
20525
- }>;
20526
- members: zod.ZodArray<zod.ZodString>;
20527
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
20528
- tiers: zod.ZodOptional<zod.ZodObject<{
20529
- fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
20530
- opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
20531
- sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
20532
- haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
20533
- }, zod_v4_core.$strict>>;
20534
- prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
20535
- input: zod.ZodNumber;
20536
- output: zod.ZodNumber;
20537
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
20538
- hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
20539
- show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
20540
- same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
20541
- distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
20542
- families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
20543
- names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
20544
- mode: zod.ZodOptional<zod.ZodEnum<{
20545
- ordered: "ordered";
20546
- "most-allowance": "most-allowance";
20547
- "soonest-reset": "soonest-reset";
20548
- spread: "spread";
20549
- adaptive: "adaptive";
20550
- "lowest-latency": "lowest-latency";
20551
- "highest-success": "highest-success";
20552
- cheapest: "cheapest";
20553
- }>>;
20554
- context: zod.ZodOptional<zod.ZodNumber>;
20555
- vision: zod.ZodOptional<zod.ZodBoolean>;
20556
- tools: zod.ZodOptional<zod.ZodBoolean>;
20557
- thinking: zod.ZodOptional<zod.ZodBoolean>;
20558
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
20559
- }, zod_v4_core.$strict>>;
20560
20637
  path: zod.ZodString;
20561
20638
  configProfile: zod.ZodOptional<zod.ZodString>;
20562
20639
  identity: zod.ZodOptional<zod.ZodString>;
@@ -20718,6 +20795,53 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20718
20795
  key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
20719
20796
  }, zod_v4_core.$strip>], "kind">]>;
20720
20797
  }, zod_v4_core.$strict>]>>>;
20798
+ models: zod.ZodOptional<zod.ZodObject<{
20799
+ pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
20800
+ virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
20801
+ mode: zod.ZodEnum<{
20802
+ ordered: "ordered";
20803
+ "most-allowance": "most-allowance";
20804
+ "soonest-reset": "soonest-reset";
20805
+ spread: "spread";
20806
+ adaptive: "adaptive";
20807
+ "lowest-latency": "lowest-latency";
20808
+ "highest-success": "highest-success";
20809
+ cheapest: "cheapest";
20810
+ }>;
20811
+ members: zod.ZodArray<zod.ZodString>;
20812
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
20813
+ tiers: zod.ZodOptional<zod.ZodObject<{
20814
+ fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
20815
+ opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
20816
+ sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
20817
+ haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
20818
+ }, zod_v4_core.$strict>>;
20819
+ prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
20820
+ input: zod.ZodNumber;
20821
+ output: zod.ZodNumber;
20822
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
20823
+ hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
20824
+ show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
20825
+ same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
20826
+ distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
20827
+ families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
20828
+ names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
20829
+ mode: zod.ZodOptional<zod.ZodEnum<{
20830
+ ordered: "ordered";
20831
+ "most-allowance": "most-allowance";
20832
+ "soonest-reset": "soonest-reset";
20833
+ spread: "spread";
20834
+ adaptive: "adaptive";
20835
+ "lowest-latency": "lowest-latency";
20836
+ "highest-success": "highest-success";
20837
+ cheapest: "cheapest";
20838
+ }>>;
20839
+ context: zod.ZodOptional<zod.ZodNumber>;
20840
+ vision: zod.ZodOptional<zod.ZodBoolean>;
20841
+ tools: zod.ZodOptional<zod.ZodBoolean>;
20842
+ thinking: zod.ZodOptional<zod.ZodBoolean>;
20843
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
20844
+ }, zod_v4_core.$strict>>;
20721
20845
  $schema: zod.ZodOptional<zod.ZodString>;
20722
20846
  extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
20723
20847
  categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
@@ -20765,13 +20889,13 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20765
20889
  route: "route";
20766
20890
  account: "account";
20767
20891
  provider: "provider";
20768
- duration: "duration";
20892
+ version: "version";
20769
20893
  headroom: "headroom";
20894
+ duration: "duration";
20770
20895
  project: "project";
20771
20896
  vcs: "vcs";
20772
20897
  effort: "effort";
20773
20898
  advisor: "advisor";
20774
- version: "version";
20775
20899
  outputStyle: "outputStyle";
20776
20900
  cost: "cost";
20777
20901
  dailyCost: "dailyCost";
@@ -20782,10 +20906,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20782
20906
  rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
20783
20907
  context: "context";
20784
20908
  quota: "quota";
20909
+ environment: "environment";
20785
20910
  addedDirs: "addedDirs";
20786
20911
  gitFiles: "gitFiles";
20787
20912
  memory: "memory";
20788
- environment: "environment";
20789
20913
  sessionTime: "sessionTime";
20790
20914
  promptCache: "promptCache";
20791
20915
  compactions: "compactions";
@@ -20808,10 +20932,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20808
20932
  merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
20809
20933
  context: "context";
20810
20934
  quota: "quota";
20935
+ environment: "environment";
20811
20936
  addedDirs: "addedDirs";
20812
20937
  gitFiles: "gitFiles";
20813
20938
  memory: "memory";
20814
- environment: "environment";
20815
20939
  sessionTime: "sessionTime";
20816
20940
  promptCache: "promptCache";
20817
20941
  compactions: "compactions";
@@ -20825,10 +20949,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20825
20949
  rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
20826
20950
  context: "context";
20827
20951
  quota: "quota";
20952
+ environment: "environment";
20828
20953
  addedDirs: "addedDirs";
20829
20954
  gitFiles: "gitFiles";
20830
20955
  memory: "memory";
20831
- environment: "environment";
20832
20956
  sessionTime: "sessionTime";
20833
20957
  promptCache: "promptCache";
20834
20958
  compactions: "compactions";
@@ -20887,10 +21011,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20887
21011
  hidden: "hidden";
20888
21012
  }>>;
20889
21013
  value: zod.ZodOptional<zod.ZodEnum<{
21014
+ remaining: "remaining";
20890
21015
  tokens: "tokens";
20891
21016
  both: "both";
20892
21017
  percent: "percent";
20893
- remaining: "remaining";
20894
21018
  }>>;
20895
21019
  estimate: zod.ZodOptional<zod.ZodEnum<{
20896
21020
  never: "never";
@@ -20932,8 +21056,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20932
21056
  }, zod_v4_core.$strict>>;
20933
21057
  usage: zod.ZodOptional<zod.ZodObject<{
20934
21058
  value: zod.ZodOptional<zod.ZodEnum<{
20935
- remaining: "remaining";
20936
21059
  used: "used";
21060
+ remaining: "remaining";
20937
21061
  }>>;
20938
21062
  bar: zod.ZodOptional<zod.ZodBoolean>;
20939
21063
  compact: zod.ZodOptional<zod.ZodBoolean>;
@@ -21280,63 +21404,16 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21280
21404
  branchOverflow: zod.ZodOptional<zod.ZodEnum<{
21281
21405
  truncate: "truncate";
21282
21406
  wrap: "wrap";
21283
- }>>;
21284
- pushWarnAt: zod.ZodOptional<zod.ZodNumber>;
21285
- pushCriticalAt: zod.ZodOptional<zod.ZodNumber>;
21286
- }, zod_v4_core.$strict>>;
21287
- jj: zod.ZodOptional<zod.ZodObject<{
21288
- enabled: zod.ZodOptional<zod.ZodBoolean>;
21289
- showDirty: zod.ZodOptional<zod.ZodBoolean>;
21290
- showConflicts: zod.ZodOptional<zod.ZodBoolean>;
21291
- }, zod_v4_core.$strict>>;
21292
- }, zod_v4_core.$strict>>;
21293
- }, zod_v4_core.$strict>>;
21294
- models: zod.ZodOptional<zod.ZodObject<{
21295
- pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
21296
- virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
21297
- mode: zod.ZodEnum<{
21298
- ordered: "ordered";
21299
- "most-allowance": "most-allowance";
21300
- "soonest-reset": "soonest-reset";
21301
- spread: "spread";
21302
- adaptive: "adaptive";
21303
- "lowest-latency": "lowest-latency";
21304
- "highest-success": "highest-success";
21305
- cheapest: "cheapest";
21306
- }>;
21307
- members: zod.ZodArray<zod.ZodString>;
21308
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
21309
- tiers: zod.ZodOptional<zod.ZodObject<{
21310
- fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
21311
- opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
21312
- sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
21313
- haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
21314
- }, zod_v4_core.$strict>>;
21315
- prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
21316
- input: zod.ZodNumber;
21317
- output: zod.ZodNumber;
21318
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
21319
- hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
21320
- show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
21321
- same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
21322
- distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
21323
- families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
21324
- names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
21325
- mode: zod.ZodOptional<zod.ZodEnum<{
21326
- ordered: "ordered";
21327
- "most-allowance": "most-allowance";
21328
- "soonest-reset": "soonest-reset";
21329
- spread: "spread";
21330
- adaptive: "adaptive";
21331
- "lowest-latency": "lowest-latency";
21332
- "highest-success": "highest-success";
21333
- cheapest: "cheapest";
21334
- }>>;
21335
- context: zod.ZodOptional<zod.ZodNumber>;
21336
- vision: zod.ZodOptional<zod.ZodBoolean>;
21337
- tools: zod.ZodOptional<zod.ZodBoolean>;
21338
- thinking: zod.ZodOptional<zod.ZodBoolean>;
21339
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
21407
+ }>>;
21408
+ pushWarnAt: zod.ZodOptional<zod.ZodNumber>;
21409
+ pushCriticalAt: zod.ZodOptional<zod.ZodNumber>;
21410
+ }, zod_v4_core.$strict>>;
21411
+ jj: zod.ZodOptional<zod.ZodObject<{
21412
+ enabled: zod.ZodOptional<zod.ZodBoolean>;
21413
+ showDirty: zod.ZodOptional<zod.ZodBoolean>;
21414
+ showConflicts: zod.ZodOptional<zod.ZodBoolean>;
21415
+ }, zod_v4_core.$strict>>;
21416
+ }, zod_v4_core.$strict>>;
21340
21417
  }, zod_v4_core.$strict>>;
21341
21418
  path: zod.ZodString;
21342
21419
  configProfile: zod.ZodOptional<zod.ZodString>;
@@ -21430,9 +21507,9 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21430
21507
  current: zod.ZodString;
21431
21508
  latest: zod.ZodString;
21432
21509
  action: zod.ZodEnum<{
21433
- updated: "updated";
21434
21510
  current: "current";
21435
21511
  available: "available";
21512
+ updated: "updated";
21436
21513
  }>;
21437
21514
  }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
21438
21515
  };
@@ -21635,12 +21712,12 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21635
21712
  identity: zod.ZodObject<{
21636
21713
  name: zod.ZodNullable<zod.ZodString>;
21637
21714
  source: zod.ZodEnum<{
21638
- env: "env";
21639
- none: "none";
21640
21715
  "config-dir-escape-hatch": "config-dir-escape-hatch";
21641
21716
  argv: "argv";
21717
+ env: "env";
21642
21718
  "directory-pin": "directory-pin";
21643
21719
  "active-identity-file": "active-identity-file";
21720
+ none: "none";
21644
21721
  }>;
21645
21722
  }, zod_v4_core.$strict>;
21646
21723
  pool: zod.ZodOptional<zod.ZodObject<{
@@ -21719,11 +21796,11 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21719
21796
  "category-default": "category-default";
21720
21797
  }>;
21721
21798
  category: zod.ZodNullable<zod.ZodEnum<{
21799
+ secret: "secret";
21722
21800
  runtime: "runtime";
21723
21801
  history: "history";
21724
21802
  knowledge: "knowledge";
21725
21803
  settings: "settings";
21726
- secret: "secret";
21727
21804
  }>>;
21728
21805
  rule: zod.ZodOptional<zod.ZodObject<{
21729
21806
  key: zod.ZodString;
@@ -21923,8 +22000,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21923
22000
  pinned: zod.ZodOptional<zod.ZodObject<{
21924
22001
  version: zod.ZodString;
21925
22002
  source: zod.ZodEnum<{
21926
- environment: "environment";
21927
22003
  flag: "flag";
22004
+ environment: "environment";
21928
22005
  cascade: "cascade";
21929
22006
  }>;
21930
22007
  installed: zod.ZodBoolean;
@@ -21932,6 +22009,16 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21932
22009
  highestInstalled: zod.ZodOptional<zod.ZodString>;
21933
22010
  installed: zod.ZodReadonly<zod.ZodArray<zod.ZodString>>;
21934
22011
  }, zod_v4_core.$strict>>;
22012
+ providerReachability: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
22013
+ name: zod.ZodString;
22014
+ baseUrl: zod.ZodString;
22015
+ ok: zod.ZodLiteral<true>;
22016
+ }, zod_v4_core.$strict>, zod.ZodObject<{
22017
+ name: zod.ZodString;
22018
+ baseUrl: zod.ZodString;
22019
+ ok: zod.ZodLiteral<false>;
22020
+ message: zod.ZodString;
22021
+ }, zod_v4_core.$strict>]>>;
21935
22022
  }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
21936
22023
  };
21937
22024
  doctor: {
@@ -21943,11 +22030,9 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21943
22030
  "config-profile": "config-profile";
21944
22031
  identity: "identity";
21945
22032
  provider: "provider";
21946
- keychain: "keychain";
21947
- headroom: "headroom";
21948
- models: "models";
21949
22033
  frontdoor: "frontdoor";
21950
22034
  pool: "pool";
22035
+ keychain: "keychain";
21951
22036
  "ambient-credential": "ambient-credential";
21952
22037
  "binary-discovery": "binary-discovery";
21953
22038
  "claude-shim": "claude-shim";
@@ -21957,6 +22042,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21957
22042
  "directory-rules": "directory-rules";
21958
22043
  "categories-local": "categories-local";
21959
22044
  "active-identity": "active-identity";
22045
+ headroom: "headroom";
22046
+ models: "models";
21960
22047
  }>;
21961
22048
  subject: zod.ZodOptional<zod.ZodString>;
21962
22049
  severity: zod.ZodEnum<{
@@ -22459,6 +22546,10 @@ declare const ConfigIdentityAddOutputSchema: z.ZodObject<{
22459
22546
  kind: z.ZodLiteral<"identity">;
22460
22547
  name: z.ZodString;
22461
22548
  value: z.ZodObject<{
22549
+ agent: z.ZodOptional<z.ZodEnum<{
22550
+ claude: "claude";
22551
+ codex: "codex";
22552
+ }>>;
22462
22553
  name: z.ZodString;
22463
22554
  label: z.ZodOptional<z.ZodString>;
22464
22555
  defaultConfigProfile: z.ZodOptional<z.ZodString>;
@@ -22570,6 +22661,10 @@ declare const ConfigIdentitySetOutputSchema: z.ZodObject<{
22570
22661
  kind: z.ZodLiteral<"identity">;
22571
22662
  name: z.ZodString;
22572
22663
  value: z.ZodObject<{
22664
+ agent: z.ZodOptional<z.ZodEnum<{
22665
+ claude: "claude";
22666
+ codex: "codex";
22667
+ }>>;
22573
22668
  name: z.ZodString;
22574
22669
  label: z.ZodOptional<z.ZodString>;
22575
22670
  defaultConfigProfile: z.ZodOptional<z.ZodString>;
@@ -22723,6 +22818,53 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
22723
22818
  }, z.core.$strip>], "kind">]>;
22724
22819
  }, z.core.$strict>]>>>;
22725
22820
  description: z.ZodOptional<z.ZodString>;
22821
+ models: z.ZodOptional<z.ZodObject<{
22822
+ pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
22823
+ virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
22824
+ mode: z.ZodEnum<{
22825
+ ordered: "ordered";
22826
+ "most-allowance": "most-allowance";
22827
+ "soonest-reset": "soonest-reset";
22828
+ spread: "spread";
22829
+ adaptive: "adaptive";
22830
+ "lowest-latency": "lowest-latency";
22831
+ "highest-success": "highest-success";
22832
+ cheapest: "cheapest";
22833
+ }>;
22834
+ members: z.ZodArray<z.ZodString>;
22835
+ }, z.core.$strict>, z.ZodNull]>>>;
22836
+ tiers: z.ZodOptional<z.ZodObject<{
22837
+ fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
22838
+ opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
22839
+ sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
22840
+ haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
22841
+ }, z.core.$strict>>;
22842
+ prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
22843
+ input: z.ZodNumber;
22844
+ output: z.ZodNumber;
22845
+ }, z.core.$strict>, z.ZodNull]>>>;
22846
+ hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
22847
+ show: z.ZodOptional<z.ZodArray<z.ZodString>>;
22848
+ same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
22849
+ distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
22850
+ families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
22851
+ names: z.ZodOptional<z.ZodArray<z.ZodString>>;
22852
+ mode: z.ZodOptional<z.ZodEnum<{
22853
+ ordered: "ordered";
22854
+ "most-allowance": "most-allowance";
22855
+ "soonest-reset": "soonest-reset";
22856
+ spread: "spread";
22857
+ adaptive: "adaptive";
22858
+ "lowest-latency": "lowest-latency";
22859
+ "highest-success": "highest-success";
22860
+ cheapest: "cheapest";
22861
+ }>>;
22862
+ context: z.ZodOptional<z.ZodNumber>;
22863
+ vision: z.ZodOptional<z.ZodBoolean>;
22864
+ tools: z.ZodOptional<z.ZodBoolean>;
22865
+ thinking: z.ZodOptional<z.ZodBoolean>;
22866
+ }, z.core.$strict>, z.ZodNull]>>>;
22867
+ }, z.core.$strict>>;
22726
22868
  extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
22727
22869
  categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
22728
22870
  all: z.ZodOptional<z.ZodBoolean>;
@@ -22769,13 +22911,13 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
22769
22911
  route: "route";
22770
22912
  account: "account";
22771
22913
  provider: "provider";
22772
- duration: "duration";
22914
+ version: "version";
22773
22915
  headroom: "headroom";
22916
+ duration: "duration";
22774
22917
  project: "project";
22775
22918
  vcs: "vcs";
22776
22919
  effort: "effort";
22777
22920
  advisor: "advisor";
22778
- version: "version";
22779
22921
  outputStyle: "outputStyle";
22780
22922
  cost: "cost";
22781
22923
  dailyCost: "dailyCost";
@@ -22786,10 +22928,10 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
22786
22928
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
22787
22929
  context: "context";
22788
22930
  quota: "quota";
22931
+ environment: "environment";
22789
22932
  addedDirs: "addedDirs";
22790
22933
  gitFiles: "gitFiles";
22791
22934
  memory: "memory";
22792
- environment: "environment";
22793
22935
  sessionTime: "sessionTime";
22794
22936
  promptCache: "promptCache";
22795
22937
  compactions: "compactions";
@@ -22812,10 +22954,10 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
22812
22954
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
22813
22955
  context: "context";
22814
22956
  quota: "quota";
22957
+ environment: "environment";
22815
22958
  addedDirs: "addedDirs";
22816
22959
  gitFiles: "gitFiles";
22817
22960
  memory: "memory";
22818
- environment: "environment";
22819
22961
  sessionTime: "sessionTime";
22820
22962
  promptCache: "promptCache";
22821
22963
  compactions: "compactions";
@@ -22829,10 +22971,10 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
22829
22971
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
22830
22972
  context: "context";
22831
22973
  quota: "quota";
22974
+ environment: "environment";
22832
22975
  addedDirs: "addedDirs";
22833
22976
  gitFiles: "gitFiles";
22834
22977
  memory: "memory";
22835
- environment: "environment";
22836
22978
  sessionTime: "sessionTime";
22837
22979
  promptCache: "promptCache";
22838
22980
  compactions: "compactions";
@@ -22891,10 +23033,10 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
22891
23033
  hidden: "hidden";
22892
23034
  }>>;
22893
23035
  value: z.ZodOptional<z.ZodEnum<{
23036
+ remaining: "remaining";
22894
23037
  tokens: "tokens";
22895
23038
  both: "both";
22896
23039
  percent: "percent";
22897
- remaining: "remaining";
22898
23040
  }>>;
22899
23041
  estimate: z.ZodOptional<z.ZodEnum<{
22900
23042
  never: "never";
@@ -22936,8 +23078,8 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
22936
23078
  }, z.core.$strict>>;
22937
23079
  usage: z.ZodOptional<z.ZodObject<{
22938
23080
  value: z.ZodOptional<z.ZodEnum<{
22939
- remaining: "remaining";
22940
23081
  used: "used";
23082
+ remaining: "remaining";
22941
23083
  }>>;
22942
23084
  bar: z.ZodOptional<z.ZodBoolean>;
22943
23085
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -23295,53 +23437,6 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
23295
23437
  }, z.core.$strict>>;
23296
23438
  }, z.core.$strict>>;
23297
23439
  }, z.core.$strict>>;
23298
- models: z.ZodOptional<z.ZodObject<{
23299
- pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
23300
- virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
23301
- mode: z.ZodEnum<{
23302
- ordered: "ordered";
23303
- "most-allowance": "most-allowance";
23304
- "soonest-reset": "soonest-reset";
23305
- spread: "spread";
23306
- adaptive: "adaptive";
23307
- "lowest-latency": "lowest-latency";
23308
- "highest-success": "highest-success";
23309
- cheapest: "cheapest";
23310
- }>;
23311
- members: z.ZodArray<z.ZodString>;
23312
- }, z.core.$strict>, z.ZodNull]>>>;
23313
- tiers: z.ZodOptional<z.ZodObject<{
23314
- fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
23315
- opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
23316
- sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
23317
- haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
23318
- }, z.core.$strict>>;
23319
- prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
23320
- input: z.ZodNumber;
23321
- output: z.ZodNumber;
23322
- }, z.core.$strict>, z.ZodNull]>>>;
23323
- hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
23324
- show: z.ZodOptional<z.ZodArray<z.ZodString>>;
23325
- same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
23326
- distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
23327
- families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
23328
- names: z.ZodOptional<z.ZodArray<z.ZodString>>;
23329
- mode: z.ZodOptional<z.ZodEnum<{
23330
- ordered: "ordered";
23331
- "most-allowance": "most-allowance";
23332
- "soonest-reset": "soonest-reset";
23333
- spread: "spread";
23334
- adaptive: "adaptive";
23335
- "lowest-latency": "lowest-latency";
23336
- "highest-success": "highest-success";
23337
- cheapest: "cheapest";
23338
- }>>;
23339
- context: z.ZodOptional<z.ZodNumber>;
23340
- vision: z.ZodOptional<z.ZodBoolean>;
23341
- tools: z.ZodOptional<z.ZodBoolean>;
23342
- thinking: z.ZodOptional<z.ZodBoolean>;
23343
- }, z.core.$strict>, z.ZodNull]>>>;
23344
- }, z.core.$strict>>;
23345
23440
  }, z.core.$strict>;
23346
23441
  }, z.core.$strict>;
23347
23442
  /** `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. */
@@ -23449,6 +23544,53 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
23449
23544
  }, z.core.$strip>], "kind">]>;
23450
23545
  }, z.core.$strict>]>>>;
23451
23546
  description: z.ZodOptional<z.ZodString>;
23547
+ models: z.ZodOptional<z.ZodObject<{
23548
+ pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
23549
+ virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
23550
+ mode: z.ZodEnum<{
23551
+ ordered: "ordered";
23552
+ "most-allowance": "most-allowance";
23553
+ "soonest-reset": "soonest-reset";
23554
+ spread: "spread";
23555
+ adaptive: "adaptive";
23556
+ "lowest-latency": "lowest-latency";
23557
+ "highest-success": "highest-success";
23558
+ cheapest: "cheapest";
23559
+ }>;
23560
+ members: z.ZodArray<z.ZodString>;
23561
+ }, z.core.$strict>, z.ZodNull]>>>;
23562
+ tiers: z.ZodOptional<z.ZodObject<{
23563
+ fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
23564
+ opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
23565
+ sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
23566
+ haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
23567
+ }, z.core.$strict>>;
23568
+ prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
23569
+ input: z.ZodNumber;
23570
+ output: z.ZodNumber;
23571
+ }, z.core.$strict>, z.ZodNull]>>>;
23572
+ hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
23573
+ show: z.ZodOptional<z.ZodArray<z.ZodString>>;
23574
+ same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
23575
+ distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
23576
+ families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
23577
+ names: z.ZodOptional<z.ZodArray<z.ZodString>>;
23578
+ mode: z.ZodOptional<z.ZodEnum<{
23579
+ ordered: "ordered";
23580
+ "most-allowance": "most-allowance";
23581
+ "soonest-reset": "soonest-reset";
23582
+ spread: "spread";
23583
+ adaptive: "adaptive";
23584
+ "lowest-latency": "lowest-latency";
23585
+ "highest-success": "highest-success";
23586
+ cheapest: "cheapest";
23587
+ }>>;
23588
+ context: z.ZodOptional<z.ZodNumber>;
23589
+ vision: z.ZodOptional<z.ZodBoolean>;
23590
+ tools: z.ZodOptional<z.ZodBoolean>;
23591
+ thinking: z.ZodOptional<z.ZodBoolean>;
23592
+ }, z.core.$strict>, z.ZodNull]>>>;
23593
+ }, z.core.$strict>>;
23452
23594
  extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
23453
23595
  categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
23454
23596
  all: z.ZodOptional<z.ZodBoolean>;
@@ -23495,13 +23637,13 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
23495
23637
  route: "route";
23496
23638
  account: "account";
23497
23639
  provider: "provider";
23498
- duration: "duration";
23640
+ version: "version";
23499
23641
  headroom: "headroom";
23642
+ duration: "duration";
23500
23643
  project: "project";
23501
23644
  vcs: "vcs";
23502
23645
  effort: "effort";
23503
23646
  advisor: "advisor";
23504
- version: "version";
23505
23647
  outputStyle: "outputStyle";
23506
23648
  cost: "cost";
23507
23649
  dailyCost: "dailyCost";
@@ -23512,10 +23654,10 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
23512
23654
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
23513
23655
  context: "context";
23514
23656
  quota: "quota";
23657
+ environment: "environment";
23515
23658
  addedDirs: "addedDirs";
23516
23659
  gitFiles: "gitFiles";
23517
23660
  memory: "memory";
23518
- environment: "environment";
23519
23661
  sessionTime: "sessionTime";
23520
23662
  promptCache: "promptCache";
23521
23663
  compactions: "compactions";
@@ -23538,10 +23680,10 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
23538
23680
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
23539
23681
  context: "context";
23540
23682
  quota: "quota";
23683
+ environment: "environment";
23541
23684
  addedDirs: "addedDirs";
23542
23685
  gitFiles: "gitFiles";
23543
23686
  memory: "memory";
23544
- environment: "environment";
23545
23687
  sessionTime: "sessionTime";
23546
23688
  promptCache: "promptCache";
23547
23689
  compactions: "compactions";
@@ -23555,10 +23697,10 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
23555
23697
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
23556
23698
  context: "context";
23557
23699
  quota: "quota";
23700
+ environment: "environment";
23558
23701
  addedDirs: "addedDirs";
23559
23702
  gitFiles: "gitFiles";
23560
23703
  memory: "memory";
23561
- environment: "environment";
23562
23704
  sessionTime: "sessionTime";
23563
23705
  promptCache: "promptCache";
23564
23706
  compactions: "compactions";
@@ -23617,10 +23759,10 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
23617
23759
  hidden: "hidden";
23618
23760
  }>>;
23619
23761
  value: z.ZodOptional<z.ZodEnum<{
23762
+ remaining: "remaining";
23620
23763
  tokens: "tokens";
23621
23764
  both: "both";
23622
23765
  percent: "percent";
23623
- remaining: "remaining";
23624
23766
  }>>;
23625
23767
  estimate: z.ZodOptional<z.ZodEnum<{
23626
23768
  never: "never";
@@ -23662,8 +23804,8 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
23662
23804
  }, z.core.$strict>>;
23663
23805
  usage: z.ZodOptional<z.ZodObject<{
23664
23806
  value: z.ZodOptional<z.ZodEnum<{
23665
- remaining: "remaining";
23666
23807
  used: "used";
23808
+ remaining: "remaining";
23667
23809
  }>>;
23668
23810
  bar: z.ZodOptional<z.ZodBoolean>;
23669
23811
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -24017,56 +24159,9 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
24017
24159
  jj: z.ZodOptional<z.ZodObject<{
24018
24160
  enabled: z.ZodOptional<z.ZodBoolean>;
24019
24161
  showDirty: z.ZodOptional<z.ZodBoolean>;
24020
- showConflicts: z.ZodOptional<z.ZodBoolean>;
24021
- }, z.core.$strict>>;
24022
- }, z.core.$strict>>;
24023
- }, z.core.$strict>>;
24024
- models: z.ZodOptional<z.ZodObject<{
24025
- pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
24026
- virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
24027
- mode: z.ZodEnum<{
24028
- ordered: "ordered";
24029
- "most-allowance": "most-allowance";
24030
- "soonest-reset": "soonest-reset";
24031
- spread: "spread";
24032
- adaptive: "adaptive";
24033
- "lowest-latency": "lowest-latency";
24034
- "highest-success": "highest-success";
24035
- cheapest: "cheapest";
24036
- }>;
24037
- members: z.ZodArray<z.ZodString>;
24038
- }, z.core.$strict>, z.ZodNull]>>>;
24039
- tiers: z.ZodOptional<z.ZodObject<{
24040
- fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
24041
- opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
24042
- sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
24043
- haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
24044
- }, z.core.$strict>>;
24045
- prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
24046
- input: z.ZodNumber;
24047
- output: z.ZodNumber;
24048
- }, z.core.$strict>, z.ZodNull]>>>;
24049
- hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
24050
- show: z.ZodOptional<z.ZodArray<z.ZodString>>;
24051
- same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
24052
- distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
24053
- families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
24054
- names: z.ZodOptional<z.ZodArray<z.ZodString>>;
24055
- mode: z.ZodOptional<z.ZodEnum<{
24056
- ordered: "ordered";
24057
- "most-allowance": "most-allowance";
24058
- "soonest-reset": "soonest-reset";
24059
- spread: "spread";
24060
- adaptive: "adaptive";
24061
- "lowest-latency": "lowest-latency";
24062
- "highest-success": "highest-success";
24063
- cheapest: "cheapest";
24064
- }>>;
24065
- context: z.ZodOptional<z.ZodNumber>;
24066
- vision: z.ZodOptional<z.ZodBoolean>;
24067
- tools: z.ZodOptional<z.ZodBoolean>;
24068
- thinking: z.ZodOptional<z.ZodBoolean>;
24069
- }, z.core.$strict>, z.ZodNull]>>>;
24162
+ showConflicts: z.ZodOptional<z.ZodBoolean>;
24163
+ }, z.core.$strict>>;
24164
+ }, z.core.$strict>>;
24070
24165
  }, z.core.$strict>>;
24071
24166
  }, z.core.$strict>;
24072
24167
  }, z.core.$strict>;
@@ -24650,6 +24745,53 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
24650
24745
  key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
24651
24746
  }, z.core.$strip>], "kind">]>;
24652
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>>;
24653
24795
  $schema: z.ZodOptional<z.ZodString>;
24654
24796
  extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
24655
24797
  categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
@@ -24697,13 +24839,13 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
24697
24839
  route: "route";
24698
24840
  account: "account";
24699
24841
  provider: "provider";
24700
- duration: "duration";
24842
+ version: "version";
24701
24843
  headroom: "headroom";
24844
+ duration: "duration";
24702
24845
  project: "project";
24703
24846
  vcs: "vcs";
24704
24847
  effort: "effort";
24705
24848
  advisor: "advisor";
24706
- version: "version";
24707
24849
  outputStyle: "outputStyle";
24708
24850
  cost: "cost";
24709
24851
  dailyCost: "dailyCost";
@@ -24714,10 +24856,10 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
24714
24856
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
24715
24857
  context: "context";
24716
24858
  quota: "quota";
24859
+ environment: "environment";
24717
24860
  addedDirs: "addedDirs";
24718
24861
  gitFiles: "gitFiles";
24719
24862
  memory: "memory";
24720
- environment: "environment";
24721
24863
  sessionTime: "sessionTime";
24722
24864
  promptCache: "promptCache";
24723
24865
  compactions: "compactions";
@@ -24740,10 +24882,10 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
24740
24882
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
24741
24883
  context: "context";
24742
24884
  quota: "quota";
24885
+ environment: "environment";
24743
24886
  addedDirs: "addedDirs";
24744
24887
  gitFiles: "gitFiles";
24745
24888
  memory: "memory";
24746
- environment: "environment";
24747
24889
  sessionTime: "sessionTime";
24748
24890
  promptCache: "promptCache";
24749
24891
  compactions: "compactions";
@@ -24757,10 +24899,10 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
24757
24899
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
24758
24900
  context: "context";
24759
24901
  quota: "quota";
24902
+ environment: "environment";
24760
24903
  addedDirs: "addedDirs";
24761
24904
  gitFiles: "gitFiles";
24762
24905
  memory: "memory";
24763
- environment: "environment";
24764
24906
  sessionTime: "sessionTime";
24765
24907
  promptCache: "promptCache";
24766
24908
  compactions: "compactions";
@@ -24819,10 +24961,10 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
24819
24961
  hidden: "hidden";
24820
24962
  }>>;
24821
24963
  value: z.ZodOptional<z.ZodEnum<{
24964
+ remaining: "remaining";
24822
24965
  tokens: "tokens";
24823
24966
  both: "both";
24824
24967
  percent: "percent";
24825
- remaining: "remaining";
24826
24968
  }>>;
24827
24969
  estimate: z.ZodOptional<z.ZodEnum<{
24828
24970
  never: "never";
@@ -24864,8 +25006,8 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
24864
25006
  }, z.core.$strict>>;
24865
25007
  usage: z.ZodOptional<z.ZodObject<{
24866
25008
  value: z.ZodOptional<z.ZodEnum<{
24867
- remaining: "remaining";
24868
25009
  used: "used";
25010
+ remaining: "remaining";
24869
25011
  }>>;
24870
25012
  bar: z.ZodOptional<z.ZodBoolean>;
24871
25013
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -25223,53 +25365,6 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
25223
25365
  }, z.core.$strict>>;
25224
25366
  }, z.core.$strict>>;
25225
25367
  }, z.core.$strict>>;
25226
- models: z.ZodOptional<z.ZodObject<{
25227
- pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
25228
- virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
25229
- mode: z.ZodEnum<{
25230
- ordered: "ordered";
25231
- "most-allowance": "most-allowance";
25232
- "soonest-reset": "soonest-reset";
25233
- spread: "spread";
25234
- adaptive: "adaptive";
25235
- "lowest-latency": "lowest-latency";
25236
- "highest-success": "highest-success";
25237
- cheapest: "cheapest";
25238
- }>;
25239
- members: z.ZodArray<z.ZodString>;
25240
- }, z.core.$strict>, z.ZodNull]>>>;
25241
- tiers: z.ZodOptional<z.ZodObject<{
25242
- fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
25243
- opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
25244
- sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
25245
- haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
25246
- }, z.core.$strict>>;
25247
- prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
25248
- input: z.ZodNumber;
25249
- output: z.ZodNumber;
25250
- }, z.core.$strict>, z.ZodNull]>>>;
25251
- hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
25252
- show: z.ZodOptional<z.ZodArray<z.ZodString>>;
25253
- same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
25254
- distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
25255
- families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
25256
- names: z.ZodOptional<z.ZodArray<z.ZodString>>;
25257
- mode: z.ZodOptional<z.ZodEnum<{
25258
- ordered: "ordered";
25259
- "most-allowance": "most-allowance";
25260
- "soonest-reset": "soonest-reset";
25261
- spread: "spread";
25262
- adaptive: "adaptive";
25263
- "lowest-latency": "lowest-latency";
25264
- "highest-success": "highest-success";
25265
- cheapest: "cheapest";
25266
- }>>;
25267
- context: z.ZodOptional<z.ZodNumber>;
25268
- vision: z.ZodOptional<z.ZodBoolean>;
25269
- tools: z.ZodOptional<z.ZodBoolean>;
25270
- thinking: z.ZodOptional<z.ZodBoolean>;
25271
- }, z.core.$strict>, z.ZodNull]>>>;
25272
- }, z.core.$strict>>;
25273
25368
  path: z.ZodString;
25274
25369
  configProfile: z.ZodOptional<z.ZodString>;
25275
25370
  identity: z.ZodOptional<z.ZodString>;
@@ -25433,6 +25528,53 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
25433
25528
  key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
25434
25529
  }, z.core.$strip>], "kind">]>;
25435
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>>;
25436
25578
  $schema: z.ZodOptional<z.ZodString>;
25437
25579
  extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
25438
25580
  categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
@@ -25480,13 +25622,13 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
25480
25622
  route: "route";
25481
25623
  account: "account";
25482
25624
  provider: "provider";
25483
- duration: "duration";
25625
+ version: "version";
25484
25626
  headroom: "headroom";
25627
+ duration: "duration";
25485
25628
  project: "project";
25486
25629
  vcs: "vcs";
25487
25630
  effort: "effort";
25488
25631
  advisor: "advisor";
25489
- version: "version";
25490
25632
  outputStyle: "outputStyle";
25491
25633
  cost: "cost";
25492
25634
  dailyCost: "dailyCost";
@@ -25497,10 +25639,10 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
25497
25639
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
25498
25640
  context: "context";
25499
25641
  quota: "quota";
25642
+ environment: "environment";
25500
25643
  addedDirs: "addedDirs";
25501
25644
  gitFiles: "gitFiles";
25502
25645
  memory: "memory";
25503
- environment: "environment";
25504
25646
  sessionTime: "sessionTime";
25505
25647
  promptCache: "promptCache";
25506
25648
  compactions: "compactions";
@@ -25523,10 +25665,10 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
25523
25665
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
25524
25666
  context: "context";
25525
25667
  quota: "quota";
25668
+ environment: "environment";
25526
25669
  addedDirs: "addedDirs";
25527
25670
  gitFiles: "gitFiles";
25528
25671
  memory: "memory";
25529
- environment: "environment";
25530
25672
  sessionTime: "sessionTime";
25531
25673
  promptCache: "promptCache";
25532
25674
  compactions: "compactions";
@@ -25540,10 +25682,10 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
25540
25682
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
25541
25683
  context: "context";
25542
25684
  quota: "quota";
25685
+ environment: "environment";
25543
25686
  addedDirs: "addedDirs";
25544
25687
  gitFiles: "gitFiles";
25545
25688
  memory: "memory";
25546
- environment: "environment";
25547
25689
  sessionTime: "sessionTime";
25548
25690
  promptCache: "promptCache";
25549
25691
  compactions: "compactions";
@@ -25602,10 +25744,10 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
25602
25744
  hidden: "hidden";
25603
25745
  }>>;
25604
25746
  value: z.ZodOptional<z.ZodEnum<{
25747
+ remaining: "remaining";
25605
25748
  tokens: "tokens";
25606
25749
  both: "both";
25607
25750
  percent: "percent";
25608
- remaining: "remaining";
25609
25751
  }>>;
25610
25752
  estimate: z.ZodOptional<z.ZodEnum<{
25611
25753
  never: "never";
@@ -25647,8 +25789,8 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
25647
25789
  }, z.core.$strict>>;
25648
25790
  usage: z.ZodOptional<z.ZodObject<{
25649
25791
  value: z.ZodOptional<z.ZodEnum<{
25650
- remaining: "remaining";
25651
25792
  used: "used";
25793
+ remaining: "remaining";
25652
25794
  }>>;
25653
25795
  bar: z.ZodOptional<z.ZodBoolean>;
25654
25796
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -26006,53 +26148,6 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
26006
26148
  }, z.core.$strict>>;
26007
26149
  }, z.core.$strict>>;
26008
26150
  }, z.core.$strict>>;
26009
- models: z.ZodOptional<z.ZodObject<{
26010
- pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
26011
- virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
26012
- mode: z.ZodEnum<{
26013
- ordered: "ordered";
26014
- "most-allowance": "most-allowance";
26015
- "soonest-reset": "soonest-reset";
26016
- spread: "spread";
26017
- adaptive: "adaptive";
26018
- "lowest-latency": "lowest-latency";
26019
- "highest-success": "highest-success";
26020
- cheapest: "cheapest";
26021
- }>;
26022
- members: z.ZodArray<z.ZodString>;
26023
- }, z.core.$strict>, z.ZodNull]>>>;
26024
- tiers: z.ZodOptional<z.ZodObject<{
26025
- fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
26026
- opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
26027
- sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
26028
- haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
26029
- }, z.core.$strict>>;
26030
- prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
26031
- input: z.ZodNumber;
26032
- output: z.ZodNumber;
26033
- }, z.core.$strict>, z.ZodNull]>>>;
26034
- hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
26035
- show: z.ZodOptional<z.ZodArray<z.ZodString>>;
26036
- same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
26037
- distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
26038
- families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
26039
- names: z.ZodOptional<z.ZodArray<z.ZodString>>;
26040
- mode: z.ZodOptional<z.ZodEnum<{
26041
- ordered: "ordered";
26042
- "most-allowance": "most-allowance";
26043
- "soonest-reset": "soonest-reset";
26044
- spread: "spread";
26045
- adaptive: "adaptive";
26046
- "lowest-latency": "lowest-latency";
26047
- "highest-success": "highest-success";
26048
- cheapest: "cheapest";
26049
- }>>;
26050
- context: z.ZodOptional<z.ZodNumber>;
26051
- vision: z.ZodOptional<z.ZodBoolean>;
26052
- tools: z.ZodOptional<z.ZodBoolean>;
26053
- thinking: z.ZodOptional<z.ZodBoolean>;
26054
- }, z.core.$strict>, z.ZodNull]>>>;
26055
- }, z.core.$strict>>;
26056
26151
  path: z.ZodString;
26057
26152
  configProfile: z.ZodOptional<z.ZodString>;
26058
26153
  identity: z.ZodOptional<z.ZodString>;
@@ -26390,11 +26485,9 @@ declare const DoctorFindingSchema: z.ZodObject<{
26390
26485
  "config-profile": "config-profile";
26391
26486
  identity: "identity";
26392
26487
  provider: "provider";
26393
- keychain: "keychain";
26394
- headroom: "headroom";
26395
- models: "models";
26396
26488
  frontdoor: "frontdoor";
26397
26489
  pool: "pool";
26490
+ keychain: "keychain";
26398
26491
  "ambient-credential": "ambient-credential";
26399
26492
  "binary-discovery": "binary-discovery";
26400
26493
  "claude-shim": "claude-shim";
@@ -26404,6 +26497,8 @@ declare const DoctorFindingSchema: z.ZodObject<{
26404
26497
  "directory-rules": "directory-rules";
26405
26498
  "categories-local": "categories-local";
26406
26499
  "active-identity": "active-identity";
26500
+ headroom: "headroom";
26501
+ models: "models";
26407
26502
  }>;
26408
26503
  subject: z.ZodOptional<z.ZodString>;
26409
26504
  severity: z.ZodEnum<{
@@ -26422,11 +26517,9 @@ declare const DoctorRunOutputSchema: z.ZodObject<{
26422
26517
  "config-profile": "config-profile";
26423
26518
  identity: "identity";
26424
26519
  provider: "provider";
26425
- keychain: "keychain";
26426
- headroom: "headroom";
26427
- models: "models";
26428
26520
  frontdoor: "frontdoor";
26429
26521
  pool: "pool";
26522
+ keychain: "keychain";
26430
26523
  "ambient-credential": "ambient-credential";
26431
26524
  "binary-discovery": "binary-discovery";
26432
26525
  "claude-shim": "claude-shim";
@@ -26436,6 +26529,8 @@ declare const DoctorRunOutputSchema: z.ZodObject<{
26436
26529
  "directory-rules": "directory-rules";
26437
26530
  "categories-local": "categories-local";
26438
26531
  "active-identity": "active-identity";
26532
+ headroom: "headroom";
26533
+ models: "models";
26439
26534
  }>;
26440
26535
  subject: z.ZodOptional<z.ZodString>;
26441
26536
  severity: z.ZodEnum<{
@@ -26456,9 +26551,9 @@ declare const UpdateCheckOutputSchema: z.ZodObject<{
26456
26551
  current: z.ZodString;
26457
26552
  latest: z.ZodString;
26458
26553
  action: z.ZodEnum<{
26459
- updated: "updated";
26460
26554
  current: "current";
26461
26555
  available: "available";
26556
+ updated: "updated";
26462
26557
  }>;
26463
26558
  }, z.core.$strict>;
26464
26559
  /** 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. */
@@ -26509,12 +26604,12 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
26509
26604
  identity: z.ZodOptional<z.ZodString>;
26510
26605
  identityId: z.ZodOptional<z.ZodString>;
26511
26606
  identitySource: z.ZodEnum<{
26512
- env: "env";
26513
- none: "none";
26514
26607
  "config-dir-escape-hatch": "config-dir-escape-hatch";
26515
26608
  argv: "argv";
26609
+ env: "env";
26516
26610
  "directory-pin": "directory-pin";
26517
26611
  "active-identity-file": "active-identity-file";
26612
+ none: "none";
26518
26613
  }>;
26519
26614
  pool: z.ZodOptional<z.ZodObject<{
26520
26615
  name: z.ZodString;
@@ -26568,13 +26663,13 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
26568
26663
  route: "route";
26569
26664
  account: "account";
26570
26665
  provider: "provider";
26571
- duration: "duration";
26666
+ version: "version";
26572
26667
  headroom: "headroom";
26668
+ duration: "duration";
26573
26669
  project: "project";
26574
26670
  vcs: "vcs";
26575
26671
  effort: "effort";
26576
26672
  advisor: "advisor";
26577
- version: "version";
26578
26673
  outputStyle: "outputStyle";
26579
26674
  cost: "cost";
26580
26675
  dailyCost: "dailyCost";
@@ -26585,10 +26680,10 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
26585
26680
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
26586
26681
  context: "context";
26587
26682
  quota: "quota";
26683
+ environment: "environment";
26588
26684
  addedDirs: "addedDirs";
26589
26685
  gitFiles: "gitFiles";
26590
26686
  memory: "memory";
26591
- environment: "environment";
26592
26687
  sessionTime: "sessionTime";
26593
26688
  promptCache: "promptCache";
26594
26689
  compactions: "compactions";
@@ -26611,10 +26706,10 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
26611
26706
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
26612
26707
  context: "context";
26613
26708
  quota: "quota";
26709
+ environment: "environment";
26614
26710
  addedDirs: "addedDirs";
26615
26711
  gitFiles: "gitFiles";
26616
26712
  memory: "memory";
26617
- environment: "environment";
26618
26713
  sessionTime: "sessionTime";
26619
26714
  promptCache: "promptCache";
26620
26715
  compactions: "compactions";
@@ -26628,10 +26723,10 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
26628
26723
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
26629
26724
  context: "context";
26630
26725
  quota: "quota";
26726
+ environment: "environment";
26631
26727
  addedDirs: "addedDirs";
26632
26728
  gitFiles: "gitFiles";
26633
26729
  memory: "memory";
26634
- environment: "environment";
26635
26730
  sessionTime: "sessionTime";
26636
26731
  promptCache: "promptCache";
26637
26732
  compactions: "compactions";
@@ -26690,10 +26785,10 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
26690
26785
  hidden: "hidden";
26691
26786
  }>>;
26692
26787
  value: z.ZodOptional<z.ZodEnum<{
26788
+ remaining: "remaining";
26693
26789
  tokens: "tokens";
26694
26790
  both: "both";
26695
26791
  percent: "percent";
26696
- remaining: "remaining";
26697
26792
  }>>;
26698
26793
  estimate: z.ZodOptional<z.ZodEnum<{
26699
26794
  never: "never";
@@ -26735,8 +26830,8 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
26735
26830
  }, z.core.$strict>>;
26736
26831
  usage: z.ZodOptional<z.ZodObject<{
26737
26832
  value: z.ZodOptional<z.ZodEnum<{
26738
- remaining: "remaining";
26739
26833
  used: "used";
26834
+ remaining: "remaining";
26740
26835
  }>>;
26741
26836
  bar: z.ZodOptional<z.ZodBoolean>;
26742
26837
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -27097,8 +27192,8 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
27097
27192
  claudeVersion: z.ZodOptional<z.ZodObject<{
27098
27193
  version: z.ZodString;
27099
27194
  source: z.ZodEnum<{
27100
- environment: "environment";
27101
27195
  flag: "flag";
27196
+ environment: "environment";
27102
27197
  cascade: "cascade";
27103
27198
  }>;
27104
27199
  }, z.core.$strict>>;
@@ -28154,6 +28249,8 @@ interface AddProviderInput {
28154
28249
  readonly pickerModels?: readonly PickerModel[];
28155
28250
  /** Opt an http provider into listing its own model catalogue in `/model`. */
28156
28251
  readonly catalogue?: ProviderCatalogue;
28252
+ /** An http provider's bound on opening a connection to its base URL, in milliseconds; absent keeps the derived default. */
28253
+ readonly connectTimeoutMs?: number;
28157
28254
  readonly codex?: CodexProviderConfig;
28158
28255
  readonly antigravity?: AntigravityProviderConfig;
28159
28256
  }
@@ -28183,6 +28280,8 @@ interface UpdateProviderInput {
28183
28280
  readonly unsetPickerModels?: readonly string[];
28184
28281
  /** The provider's whole new catalogue setting, or false to remove it; undefined leaves the existing one. Applies only to an http provider. */
28185
28282
  readonly catalogue?: ProviderCatalogue | false;
28283
+ /** A new connect timeout in milliseconds, or false to go back to the derived default; undefined leaves the existing one. Applies only to an http provider. */
28284
+ readonly connectTimeoutMs?: number | false;
28186
28285
  /** Merged over a codex provider's existing settings: a field given here replaces that field, and `models` entries merge per tier. */
28187
28286
  readonly codex?: CodexProviderConfig;
28188
28287
  /** Merged over an antigravity provider's existing settings: a field given here replaces that field, and `models` entries merge per tier. */
@@ -28340,12 +28439,16 @@ interface PrepareClaudeLaunchOptions {
28340
28439
  /** The path of the agent-shim executable, used to start the front door and headroom daemons when the launch routes through them. Without it the daemons start through the command line bundle of this same package (`agentShimCliPath`), run with the Node running this process; pass it to use another build or a compiled binary. */
28341
28440
  readonly agentShim?: string;
28342
28441
  }
28442
+ /** What `prepareClaudeLaunch` returns: the launch's plan, and the warnings preparing it raised (a provider whose base URL accepts no connection, a quota the front door last saw, an unreadable login file), which the command line prints to standard error and a library host decides what to do with. */
28443
+ type ClaudeLaunchPlan = LaunchPlan & {
28444
+ readonly warnings: readonly string[];
28445
+ };
28343
28446
  /**
28344
28447
  * Resolves a launch for `options.cwd` on this machine and returns what to spawn, so another tool can start `claude` as an identity, through a provider, with the same sharing rules the command line applies, without shelling out. It performs the effects the child depends on: the identity's farm is resynced, and the front door and headroom are brought up and this process registered with them. Call `release` on the plan when the child has exited.
28345
28448
  *
28346
- * A refused launch throws `LaunchRefusedError` carrying the launcher's own message. Interactive offers (creating a missing identity or profile on a terminal) belong to the command line and are not made here.
28449
+ * A refused launch throws `LaunchRefusedError` carrying the launcher's own message. A launch that proceeds despite a problem it noticed (an unreachable provider among them) returns it in the plan's `warnings`. Interactive offers (creating a missing identity or profile on a terminal) belong to the command line and are not made here.
28347
28450
  */
28348
- declare function prepareClaudeLaunch(options: PrepareClaudeLaunchOptions): LaunchPlan;
28451
+ declare function prepareClaudeLaunch(options: PrepareClaudeLaunchOptions): ClaudeLaunchPlan;
28349
28452
  /** What `resolveClaudeLaunch` needs from its caller: the launch `prepareClaudeLaunch` takes, less the daemon executable, since a resolution starts no daemon. */
28350
28453
  type ResolveClaudeLaunchOptions = Omit<PrepareClaudeLaunchOptions, "agentShim">;
28351
28454
  /** A launch's resolution and the warnings resolving it raised (a quota the front door last saw, a pool member whose identity is gone). */
@@ -28418,12 +28521,15 @@ declare function poolSelectedByLaunch(options: Pick<PrepareClaudeLaunchOptions,
28418
28521
  */
28419
28522
  declare function refreshLaunchPoolUsage(options: RefreshLaunchPoolUsageOptions): Promise<void>;
28420
28523
 
28421
- /** What `runClaudeLaunch` needs: the launch to run, and the stale-usage refresh's own options. */
28422
- type RunClaudeLaunchOptions = RefreshLaunchPoolUsageOptions;
28524
+ /** What `runClaudeLaunch` needs: the launch to run, the stale-usage refresh's own options, and where warnings go. */
28525
+ interface RunClaudeLaunchOptions extends RefreshLaunchPoolUsageOptions {
28526
+ /** Receives each warning preparing the launch raised, before the child starts; when absent each is written to standard error, as the command line does. */
28527
+ readonly onWarning?: (message: string) => void;
28528
+ }
28423
28529
  /**
28424
28530
  * Runs one `claude` launch for `options.cwd` on this machine as `agent-shim run` does, and resolves to the child's exit code: a pool the launch selects first has its stale usage refreshed (`refreshLaunchPoolUsage`) so the pick ranks on current figures, then the launch is prepared (`prepareClaudeLaunch`), the child runs with the terminal's standard streams until it ends, and the launch's front door and headroom registrations are released whether it exited, was signalled (`128` plus the signal number) or could not be spawned. It does not exit this process, so the host decides what to do with the code.
28425
28531
  *
28426
- * Rejects with `LaunchRefusedError` before anything is spawned when the launch is refused, and with the spawn failure, after releasing, when the child could not be started. Interactive offers (creating a missing identity or profile) and the launch-time update notice belong to the command line and are not made here.
28532
+ * Rejects with `LaunchRefusedError` before anything is spawned when the launch is refused, and with the spawn failure, after releasing, when the child could not be started. Warnings the launch raised (an unreachable provider among them) go to `onWarning`, else standard error. Interactive offers (creating a missing identity or profile) and the launch-time update notice belong to the command line and are not made here.
28427
28533
  */
28428
28534
  declare function runClaudeLaunch(options: RunClaudeLaunchOptions): Promise<number>;
28429
28535
 
@@ -28450,5 +28556,5 @@ declare const OWN_CLI_FILE_NAME = "cli.cjs";
28450
28556
  */
28451
28557
  declare function agentShimCliPath(distDir?: string | undefined): string;
28452
28558
 
28453
- 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_GOAL_CLEAR_WORDS, RC_GOAL_CONDITION_MAX_CHARS, RC_IDLE_EXPIRY_MS, RC_ORPC_PATH_PREFIX, 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_COMMAND_MAX_WAIT_MS, RC_SESSION_COMMAND_VERIFIED_VERSIONS, 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, createRcClaudeCodeVersions, createRcControlHandler, createRcCredentialStore, createRcEventFanout, createRcLiveUsage, createRcSelfHostSurface, createRcSessionCommands, 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, parseRcGoalOutput, parseRcStreamEnvelope, planOf, poolIdentities, poolSelectedByLaunch, prepareClaudeLaunch, prepareLaunch, profileExists, providerExists, rankPool, rcEventWriteResultFromAnswer, rcFanoutOnDoorHub, rcLocalCommandAnswerOf, rcManualCompactBoundaryOf, 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, realMemberProviderResolver, 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 };
28454
- 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, ProviderOf, QuotaExpiringEvent, QuotaExpiringPublisher, RankPoolInput, RcAnswerDecision, RcAnswerDeps, RcApiClient, RcApiDeps, RcApiRouter, RcClaudeCodeVersions, RcCompactOptions, RcCompactReport, RcContextUsageDetail, RcControlAnswer, RcControlHandlerDeps, RcControlRequestDeps, RcControlTransport, RcCredentialStore, RcDialAnswer, RcDialTarget, RcEventDial, RcEventFanout, RcEventWriteResult, RcExchangeObserver, RcGoal, RcGoalClearReport, RcGoalReport, RcGoalSetReport, RcInjectDeps, RcLiveRateLimit, RcLiveUsage, RcLiveUsageDeps, RcObservedCredential, RcObservedRequest, RcPendingQuestion, RcPendingRequestSummary, RcPendingRetireReason, RcPermissionMode, RcPresenceAnswer, RcQuestionOption, RcQuestionSelection, RcRateLimitInfo, RcRateLimitWindow, RcReadFileEncoding, RcReadFileOptions, RcRegisteredSession, RcRegistryIdentity, RcSelfHostCredentialRecord, RcSelfHostDeps, RcSelfHostMintResult, RcSelfHostSurface, RcSessionCommandDeps, RcSessionCommandOptions, RcSessionCommandResult, RcSessionCommandRoute, RcSessionCommands, RcSessionEndReason, RcSessionEvent, RcSessionEventLog, RcSessionEventLogDeps, RcSessionEventsApiDeps, RcSessionEventsApiRouter, RcSessionEventsRead, RcSessionEventsReadInput, RcSessionRegistryDeps, RcSessionRegistryFs, RcSessionStatus, RcSessionSummary, RcSessionTracker, RcSessionTrackerDeps, RcSessionTransition, RcStreamAnswer, RcStreamDial, RcStreamEnvelope, RcStreamEvent, RcStreamHub, RcStreamHubDeps, RcSupervisedTarget, RcWebFetchDeps, RcWebFetchHop, RcWebFetchOutcome, RcWebFetcher, RcWorkerFact, RcWriteHeaders, ReadSessionOptions, RealMemberProviderParams, 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 };
28559
+ 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, DoorReportUnavailableError, 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_GOAL_CLEAR_WORDS, RC_GOAL_CONDITION_MAX_CHARS, RC_IDLE_EXPIRY_MS, RC_ORPC_PATH_PREFIX, 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_COMMAND_MAX_WAIT_MS, RC_SESSION_COMMAND_VERIFIED_VERSIONS, 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, createRcClaudeCodeVersions, createRcControlHandler, createRcCredentialStore, createRcEventFanout, createRcLiveUsage, createRcSelfHostSurface, createRcSessionCommands, 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, parseRcGoalOutput, parseRcStreamEnvelope, planOf, poolIdentities, poolSelectedByLaunch, prepareClaudeLaunch, prepareLaunch, profileExists, providerExists, rankPool, rcEventWriteResultFromAnswer, rcFanoutOnDoorHub, rcLocalCommandAnswerOf, rcManualCompactBoundaryOf, 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, realMemberProviderResolver, 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 };
28560
+ export type { AddDirectoryRuleOptions, AddProviderInput, AgentKind, AgentNode, AgentReadFs, AgentTreesApiDeps, AgentTreesApiRouter, AmbientCredentialDetection, AmbientCredentialGuardResult, AmbientCredentialVar, AnthropicUsageRefresher, BuildEntryFactsParams, CaMaterial, Candidate, CarryOverParams, CarryOverResult, CategoryMap, CheckReport, CheckReportJson, ClaudeLaunchPlan, 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, ProviderOf, QuotaExpiringEvent, QuotaExpiringPublisher, RankPoolInput, RcAnswerDecision, RcAnswerDeps, RcApiClient, RcApiDeps, RcApiRouter, RcClaudeCodeVersions, RcCompactOptions, RcCompactReport, RcContextUsageDetail, RcControlAnswer, RcControlHandlerDeps, RcControlRequestDeps, RcControlTransport, RcCredentialStore, RcDialAnswer, RcDialTarget, RcEventDial, RcEventFanout, RcEventWriteResult, RcExchangeObserver, RcGoal, RcGoalClearReport, RcGoalReport, RcGoalSetReport, RcInjectDeps, RcLiveRateLimit, RcLiveUsage, RcLiveUsageDeps, RcObservedCredential, RcObservedRequest, RcPendingQuestion, RcPendingRequestSummary, RcPendingRetireReason, RcPermissionMode, RcPresenceAnswer, RcQuestionOption, RcQuestionSelection, RcRateLimitInfo, RcRateLimitWindow, RcReadFileEncoding, RcReadFileOptions, RcRegisteredSession, RcRegistryIdentity, RcSelfHostCredentialRecord, RcSelfHostDeps, RcSelfHostMintResult, RcSelfHostSurface, RcSessionCommandDeps, RcSessionCommandOptions, RcSessionCommandResult, RcSessionCommandRoute, RcSessionCommands, RcSessionEndReason, RcSessionEvent, RcSessionEventLog, RcSessionEventLogDeps, RcSessionEventsApiDeps, RcSessionEventsApiRouter, RcSessionEventsRead, RcSessionEventsReadInput, RcSessionRegistryDeps, RcSessionRegistryFs, RcSessionStatus, RcSessionSummary, RcSessionTracker, RcSessionTrackerDeps, RcSessionTransition, RcStreamAnswer, RcStreamDial, RcStreamEnvelope, RcStreamEvent, RcStreamHub, RcStreamHubDeps, RcSupervisedTarget, RcWebFetchDeps, RcWebFetchHop, RcWebFetchOutcome, RcWebFetcher, RcWorkerFact, RcWriteHeaders, ReadSessionOptions, RealMemberProviderParams, 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 };