claude-use 12.0.0 → 12.1.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.
@@ -302,13 +302,13 @@ declare const LaunchSchema: z.ZodObject<{
302
302
  route: "route";
303
303
  account: "account";
304
304
  provider: "provider";
305
- version: "version";
306
- headroom: "headroom";
307
305
  duration: "duration";
306
+ headroom: "headroom";
308
307
  project: "project";
309
308
  vcs: "vcs";
310
309
  effort: "effort";
311
310
  advisor: "advisor";
311
+ version: "version";
312
312
  outputStyle: "outputStyle";
313
313
  cost: "cost";
314
314
  dailyCost: "dailyCost";
@@ -319,10 +319,10 @@ declare const LaunchSchema: z.ZodObject<{
319
319
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
320
320
  context: "context";
321
321
  quota: "quota";
322
- environment: "environment";
323
322
  addedDirs: "addedDirs";
324
323
  gitFiles: "gitFiles";
325
324
  memory: "memory";
325
+ environment: "environment";
326
326
  sessionTime: "sessionTime";
327
327
  promptCache: "promptCache";
328
328
  compactions: "compactions";
@@ -345,10 +345,10 @@ declare const LaunchSchema: z.ZodObject<{
345
345
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
346
346
  context: "context";
347
347
  quota: "quota";
348
- environment: "environment";
349
348
  addedDirs: "addedDirs";
350
349
  gitFiles: "gitFiles";
351
350
  memory: "memory";
351
+ environment: "environment";
352
352
  sessionTime: "sessionTime";
353
353
  promptCache: "promptCache";
354
354
  compactions: "compactions";
@@ -362,10 +362,10 @@ declare const LaunchSchema: z.ZodObject<{
362
362
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
363
363
  context: "context";
364
364
  quota: "quota";
365
- environment: "environment";
366
365
  addedDirs: "addedDirs";
367
366
  gitFiles: "gitFiles";
368
367
  memory: "memory";
368
+ environment: "environment";
369
369
  sessionTime: "sessionTime";
370
370
  promptCache: "promptCache";
371
371
  compactions: "compactions";
@@ -424,10 +424,10 @@ declare const LaunchSchema: z.ZodObject<{
424
424
  hidden: "hidden";
425
425
  }>>;
426
426
  value: z.ZodOptional<z.ZodEnum<{
427
- remaining: "remaining";
428
427
  tokens: "tokens";
429
428
  both: "both";
430
429
  percent: "percent";
430
+ remaining: "remaining";
431
431
  }>>;
432
432
  estimate: z.ZodOptional<z.ZodEnum<{
433
433
  never: "never";
@@ -469,8 +469,8 @@ declare const LaunchSchema: z.ZodObject<{
469
469
  }, z.core.$strict>>;
470
470
  usage: z.ZodOptional<z.ZodObject<{
471
471
  value: z.ZodOptional<z.ZodEnum<{
472
- used: "used";
473
472
  remaining: "remaining";
473
+ used: "used";
474
474
  }>>;
475
475
  bar: z.ZodOptional<z.ZodBoolean>;
476
476
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -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
- none: "none";
948
947
  max: "max";
948
+ none: "none";
949
949
  low: "low";
950
950
  medium: "medium";
951
951
  high: "high";
@@ -1285,8 +1285,8 @@ declare const ProviderSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1285
1285
  models: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
1286
1286
  degradeDownTiers: z.ZodOptional<z.ZodBoolean>;
1287
1287
  effort: z.ZodOptional<z.ZodEnum<{
1288
- none: "none";
1289
1288
  max: "max";
1289
+ none: "none";
1290
1290
  low: "low";
1291
1291
  medium: "medium";
1292
1292
  high: "high";
@@ -1532,13 +1532,13 @@ declare const ConfigProfileSchema: z.ZodObject<{
1532
1532
  route: "route";
1533
1533
  account: "account";
1534
1534
  provider: "provider";
1535
- version: "version";
1536
- headroom: "headroom";
1537
1535
  duration: "duration";
1536
+ headroom: "headroom";
1538
1537
  project: "project";
1539
1538
  vcs: "vcs";
1540
1539
  effort: "effort";
1541
1540
  advisor: "advisor";
1541
+ version: "version";
1542
1542
  outputStyle: "outputStyle";
1543
1543
  cost: "cost";
1544
1544
  dailyCost: "dailyCost";
@@ -1549,10 +1549,10 @@ declare const ConfigProfileSchema: z.ZodObject<{
1549
1549
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1550
1550
  context: "context";
1551
1551
  quota: "quota";
1552
- environment: "environment";
1553
1552
  addedDirs: "addedDirs";
1554
1553
  gitFiles: "gitFiles";
1555
1554
  memory: "memory";
1555
+ environment: "environment";
1556
1556
  sessionTime: "sessionTime";
1557
1557
  promptCache: "promptCache";
1558
1558
  compactions: "compactions";
@@ -1575,10 +1575,10 @@ declare const ConfigProfileSchema: z.ZodObject<{
1575
1575
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
1576
1576
  context: "context";
1577
1577
  quota: "quota";
1578
- environment: "environment";
1579
1578
  addedDirs: "addedDirs";
1580
1579
  gitFiles: "gitFiles";
1581
1580
  memory: "memory";
1581
+ environment: "environment";
1582
1582
  sessionTime: "sessionTime";
1583
1583
  promptCache: "promptCache";
1584
1584
  compactions: "compactions";
@@ -1592,10 +1592,10 @@ declare const ConfigProfileSchema: z.ZodObject<{
1592
1592
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1593
1593
  context: "context";
1594
1594
  quota: "quota";
1595
- environment: "environment";
1596
1595
  addedDirs: "addedDirs";
1597
1596
  gitFiles: "gitFiles";
1598
1597
  memory: "memory";
1598
+ environment: "environment";
1599
1599
  sessionTime: "sessionTime";
1600
1600
  promptCache: "promptCache";
1601
1601
  compactions: "compactions";
@@ -1654,10 +1654,10 @@ declare const ConfigProfileSchema: z.ZodObject<{
1654
1654
  hidden: "hidden";
1655
1655
  }>>;
1656
1656
  value: z.ZodOptional<z.ZodEnum<{
1657
- remaining: "remaining";
1658
1657
  tokens: "tokens";
1659
1658
  both: "both";
1660
1659
  percent: "percent";
1660
+ remaining: "remaining";
1661
1661
  }>>;
1662
1662
  estimate: z.ZodOptional<z.ZodEnum<{
1663
1663
  never: "never";
@@ -1699,8 +1699,8 @@ declare const ConfigProfileSchema: z.ZodObject<{
1699
1699
  }, z.core.$strict>>;
1700
1700
  usage: z.ZodOptional<z.ZodObject<{
1701
1701
  value: z.ZodOptional<z.ZodEnum<{
1702
- used: "used";
1703
1702
  remaining: "remaining";
1703
+ used: "used";
1704
1704
  }>>;
1705
1705
  bar: z.ZodOptional<z.ZodBoolean>;
1706
1706
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -2288,53 +2288,6 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2288
2288
  key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
2289
2289
  }, z.core.$strip>], "kind">]>;
2290
2290
  }, z.core.$strict>]>>>;
2291
- models: z.ZodOptional<z.ZodObject<{
2292
- pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
2293
- virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
2294
- mode: z.ZodEnum<{
2295
- ordered: "ordered";
2296
- "most-allowance": "most-allowance";
2297
- "soonest-reset": "soonest-reset";
2298
- spread: "spread";
2299
- adaptive: "adaptive";
2300
- "lowest-latency": "lowest-latency";
2301
- "highest-success": "highest-success";
2302
- cheapest: "cheapest";
2303
- }>;
2304
- members: z.ZodArray<z.ZodString>;
2305
- }, z.core.$strict>, z.ZodNull]>>>;
2306
- tiers: z.ZodOptional<z.ZodObject<{
2307
- fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
2308
- opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
2309
- sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
2310
- haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
2311
- }, z.core.$strict>>;
2312
- prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
2313
- input: z.ZodNumber;
2314
- output: z.ZodNumber;
2315
- }, z.core.$strict>, z.ZodNull]>>>;
2316
- hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
2317
- show: z.ZodOptional<z.ZodArray<z.ZodString>>;
2318
- same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
2319
- distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
2320
- families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
2321
- names: z.ZodOptional<z.ZodArray<z.ZodString>>;
2322
- mode: z.ZodOptional<z.ZodEnum<{
2323
- ordered: "ordered";
2324
- "most-allowance": "most-allowance";
2325
- "soonest-reset": "soonest-reset";
2326
- spread: "spread";
2327
- adaptive: "adaptive";
2328
- "lowest-latency": "lowest-latency";
2329
- "highest-success": "highest-success";
2330
- cheapest: "cheapest";
2331
- }>>;
2332
- context: z.ZodOptional<z.ZodNumber>;
2333
- vision: z.ZodOptional<z.ZodBoolean>;
2334
- tools: z.ZodOptional<z.ZodBoolean>;
2335
- thinking: z.ZodOptional<z.ZodBoolean>;
2336
- }, z.core.$strict>, z.ZodNull]>>>;
2337
- }, z.core.$strict>>;
2338
2291
  $schema: z.ZodOptional<z.ZodString>;
2339
2292
  extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
2340
2293
  categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
@@ -2382,13 +2335,13 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2382
2335
  route: "route";
2383
2336
  account: "account";
2384
2337
  provider: "provider";
2385
- version: "version";
2386
- headroom: "headroom";
2387
2338
  duration: "duration";
2339
+ headroom: "headroom";
2388
2340
  project: "project";
2389
2341
  vcs: "vcs";
2390
2342
  effort: "effort";
2391
2343
  advisor: "advisor";
2344
+ version: "version";
2392
2345
  outputStyle: "outputStyle";
2393
2346
  cost: "cost";
2394
2347
  dailyCost: "dailyCost";
@@ -2399,10 +2352,10 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2399
2352
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2400
2353
  context: "context";
2401
2354
  quota: "quota";
2402
- environment: "environment";
2403
2355
  addedDirs: "addedDirs";
2404
2356
  gitFiles: "gitFiles";
2405
2357
  memory: "memory";
2358
+ environment: "environment";
2406
2359
  sessionTime: "sessionTime";
2407
2360
  promptCache: "promptCache";
2408
2361
  compactions: "compactions";
@@ -2425,10 +2378,10 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2425
2378
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
2426
2379
  context: "context";
2427
2380
  quota: "quota";
2428
- environment: "environment";
2429
2381
  addedDirs: "addedDirs";
2430
2382
  gitFiles: "gitFiles";
2431
2383
  memory: "memory";
2384
+ environment: "environment";
2432
2385
  sessionTime: "sessionTime";
2433
2386
  promptCache: "promptCache";
2434
2387
  compactions: "compactions";
@@ -2442,10 +2395,10 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2442
2395
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2443
2396
  context: "context";
2444
2397
  quota: "quota";
2445
- environment: "environment";
2446
2398
  addedDirs: "addedDirs";
2447
2399
  gitFiles: "gitFiles";
2448
2400
  memory: "memory";
2401
+ environment: "environment";
2449
2402
  sessionTime: "sessionTime";
2450
2403
  promptCache: "promptCache";
2451
2404
  compactions: "compactions";
@@ -2504,10 +2457,10 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2504
2457
  hidden: "hidden";
2505
2458
  }>>;
2506
2459
  value: z.ZodOptional<z.ZodEnum<{
2507
- remaining: "remaining";
2508
2460
  tokens: "tokens";
2509
2461
  both: "both";
2510
2462
  percent: "percent";
2463
+ remaining: "remaining";
2511
2464
  }>>;
2512
2465
  estimate: z.ZodOptional<z.ZodEnum<{
2513
2466
  never: "never";
@@ -2549,8 +2502,8 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2549
2502
  }, z.core.$strict>>;
2550
2503
  usage: z.ZodOptional<z.ZodObject<{
2551
2504
  value: z.ZodOptional<z.ZodEnum<{
2552
- used: "used";
2553
2505
  remaining: "remaining";
2506
+ used: "used";
2554
2507
  }>>;
2555
2508
  bar: z.ZodOptional<z.ZodBoolean>;
2556
2509
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -2908,6 +2861,53 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2908
2861
  }, z.core.$strict>>;
2909
2862
  }, z.core.$strict>>;
2910
2863
  }, z.core.$strict>>;
2864
+ models: z.ZodOptional<z.ZodObject<{
2865
+ pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
2866
+ virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
2867
+ mode: z.ZodEnum<{
2868
+ ordered: "ordered";
2869
+ "most-allowance": "most-allowance";
2870
+ "soonest-reset": "soonest-reset";
2871
+ spread: "spread";
2872
+ adaptive: "adaptive";
2873
+ "lowest-latency": "lowest-latency";
2874
+ "highest-success": "highest-success";
2875
+ cheapest: "cheapest";
2876
+ }>;
2877
+ members: z.ZodArray<z.ZodString>;
2878
+ }, z.core.$strict>, z.ZodNull]>>>;
2879
+ tiers: z.ZodOptional<z.ZodObject<{
2880
+ fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
2881
+ opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
2882
+ sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
2883
+ haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
2884
+ }, z.core.$strict>>;
2885
+ prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
2886
+ input: z.ZodNumber;
2887
+ output: z.ZodNumber;
2888
+ }, z.core.$strict>, z.ZodNull]>>>;
2889
+ hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
2890
+ show: z.ZodOptional<z.ZodArray<z.ZodString>>;
2891
+ same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
2892
+ distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
2893
+ families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
2894
+ names: z.ZodOptional<z.ZodArray<z.ZodString>>;
2895
+ mode: z.ZodOptional<z.ZodEnum<{
2896
+ ordered: "ordered";
2897
+ "most-allowance": "most-allowance";
2898
+ "soonest-reset": "soonest-reset";
2899
+ spread: "spread";
2900
+ adaptive: "adaptive";
2901
+ "lowest-latency": "lowest-latency";
2902
+ "highest-success": "highest-success";
2903
+ cheapest: "cheapest";
2904
+ }>>;
2905
+ context: z.ZodOptional<z.ZodNumber>;
2906
+ vision: z.ZodOptional<z.ZodBoolean>;
2907
+ tools: z.ZodOptional<z.ZodBoolean>;
2908
+ thinking: z.ZodOptional<z.ZodBoolean>;
2909
+ }, z.core.$strict>, z.ZodNull]>>>;
2910
+ }, z.core.$strict>>;
2911
2911
  path: z.ZodString;
2912
2912
  configProfile: z.ZodOptional<z.ZodString>;
2913
2913
  identity: z.ZodOptional<z.ZodString>;
@@ -3064,53 +3064,6 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3064
3064
  key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
3065
3065
  }, z.core.$strip>], "kind">]>;
3066
3066
  }, z.core.$strict>]>>>;
3067
- models: z.ZodOptional<z.ZodObject<{
3068
- pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
3069
- virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
3070
- mode: z.ZodEnum<{
3071
- ordered: "ordered";
3072
- "most-allowance": "most-allowance";
3073
- "soonest-reset": "soonest-reset";
3074
- spread: "spread";
3075
- adaptive: "adaptive";
3076
- "lowest-latency": "lowest-latency";
3077
- "highest-success": "highest-success";
3078
- cheapest: "cheapest";
3079
- }>;
3080
- members: z.ZodArray<z.ZodString>;
3081
- }, z.core.$strict>, z.ZodNull]>>>;
3082
- tiers: z.ZodOptional<z.ZodObject<{
3083
- fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
3084
- opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
3085
- sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
3086
- haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
3087
- }, z.core.$strict>>;
3088
- prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
3089
- input: z.ZodNumber;
3090
- output: z.ZodNumber;
3091
- }, z.core.$strict>, z.ZodNull]>>>;
3092
- hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
3093
- show: z.ZodOptional<z.ZodArray<z.ZodString>>;
3094
- same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
3095
- distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
3096
- families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
3097
- names: z.ZodOptional<z.ZodArray<z.ZodString>>;
3098
- mode: z.ZodOptional<z.ZodEnum<{
3099
- ordered: "ordered";
3100
- "most-allowance": "most-allowance";
3101
- "soonest-reset": "soonest-reset";
3102
- spread: "spread";
3103
- adaptive: "adaptive";
3104
- "lowest-latency": "lowest-latency";
3105
- "highest-success": "highest-success";
3106
- cheapest: "cheapest";
3107
- }>>;
3108
- context: z.ZodOptional<z.ZodNumber>;
3109
- vision: z.ZodOptional<z.ZodBoolean>;
3110
- tools: z.ZodOptional<z.ZodBoolean>;
3111
- thinking: z.ZodOptional<z.ZodBoolean>;
3112
- }, z.core.$strict>, z.ZodNull]>>>;
3113
- }, z.core.$strict>>;
3114
3067
  $schema: z.ZodOptional<z.ZodString>;
3115
3068
  extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
3116
3069
  categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
@@ -3158,13 +3111,13 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3158
3111
  route: "route";
3159
3112
  account: "account";
3160
3113
  provider: "provider";
3161
- version: "version";
3162
- headroom: "headroom";
3163
3114
  duration: "duration";
3115
+ headroom: "headroom";
3164
3116
  project: "project";
3165
3117
  vcs: "vcs";
3166
3118
  effort: "effort";
3167
3119
  advisor: "advisor";
3120
+ version: "version";
3168
3121
  outputStyle: "outputStyle";
3169
3122
  cost: "cost";
3170
3123
  dailyCost: "dailyCost";
@@ -3175,10 +3128,10 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3175
3128
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3176
3129
  context: "context";
3177
3130
  quota: "quota";
3178
- environment: "environment";
3179
3131
  addedDirs: "addedDirs";
3180
3132
  gitFiles: "gitFiles";
3181
3133
  memory: "memory";
3134
+ environment: "environment";
3182
3135
  sessionTime: "sessionTime";
3183
3136
  promptCache: "promptCache";
3184
3137
  compactions: "compactions";
@@ -3201,10 +3154,10 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3201
3154
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
3202
3155
  context: "context";
3203
3156
  quota: "quota";
3204
- environment: "environment";
3205
3157
  addedDirs: "addedDirs";
3206
3158
  gitFiles: "gitFiles";
3207
3159
  memory: "memory";
3160
+ environment: "environment";
3208
3161
  sessionTime: "sessionTime";
3209
3162
  promptCache: "promptCache";
3210
3163
  compactions: "compactions";
@@ -3218,10 +3171,10 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3218
3171
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3219
3172
  context: "context";
3220
3173
  quota: "quota";
3221
- environment: "environment";
3222
3174
  addedDirs: "addedDirs";
3223
3175
  gitFiles: "gitFiles";
3224
3176
  memory: "memory";
3177
+ environment: "environment";
3225
3178
  sessionTime: "sessionTime";
3226
3179
  promptCache: "promptCache";
3227
3180
  compactions: "compactions";
@@ -3280,10 +3233,10 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3280
3233
  hidden: "hidden";
3281
3234
  }>>;
3282
3235
  value: z.ZodOptional<z.ZodEnum<{
3283
- remaining: "remaining";
3284
3236
  tokens: "tokens";
3285
3237
  both: "both";
3286
3238
  percent: "percent";
3239
+ remaining: "remaining";
3287
3240
  }>>;
3288
3241
  estimate: z.ZodOptional<z.ZodEnum<{
3289
3242
  never: "never";
@@ -3325,8 +3278,8 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3325
3278
  }, z.core.$strict>>;
3326
3279
  usage: z.ZodOptional<z.ZodObject<{
3327
3280
  value: z.ZodOptional<z.ZodEnum<{
3328
- used: "used";
3329
3281
  remaining: "remaining";
3282
+ used: "used";
3330
3283
  }>>;
3331
3284
  bar: z.ZodOptional<z.ZodBoolean>;
3332
3285
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -3684,6 +3637,53 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3684
3637
  }, z.core.$strict>>;
3685
3638
  }, z.core.$strict>>;
3686
3639
  }, z.core.$strict>>;
3640
+ models: z.ZodOptional<z.ZodObject<{
3641
+ pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
3642
+ virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
3643
+ mode: z.ZodEnum<{
3644
+ ordered: "ordered";
3645
+ "most-allowance": "most-allowance";
3646
+ "soonest-reset": "soonest-reset";
3647
+ spread: "spread";
3648
+ adaptive: "adaptive";
3649
+ "lowest-latency": "lowest-latency";
3650
+ "highest-success": "highest-success";
3651
+ cheapest: "cheapest";
3652
+ }>;
3653
+ members: z.ZodArray<z.ZodString>;
3654
+ }, z.core.$strict>, z.ZodNull]>>>;
3655
+ tiers: z.ZodOptional<z.ZodObject<{
3656
+ fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
3657
+ opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
3658
+ sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
3659
+ haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
3660
+ }, z.core.$strict>>;
3661
+ prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
3662
+ input: z.ZodNumber;
3663
+ output: z.ZodNumber;
3664
+ }, z.core.$strict>, z.ZodNull]>>>;
3665
+ hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
3666
+ show: z.ZodOptional<z.ZodArray<z.ZodString>>;
3667
+ same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
3668
+ distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
3669
+ families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
3670
+ names: z.ZodOptional<z.ZodArray<z.ZodString>>;
3671
+ mode: z.ZodOptional<z.ZodEnum<{
3672
+ ordered: "ordered";
3673
+ "most-allowance": "most-allowance";
3674
+ "soonest-reset": "soonest-reset";
3675
+ spread: "spread";
3676
+ adaptive: "adaptive";
3677
+ "lowest-latency": "lowest-latency";
3678
+ "highest-success": "highest-success";
3679
+ cheapest: "cheapest";
3680
+ }>>;
3681
+ context: z.ZodOptional<z.ZodNumber>;
3682
+ vision: z.ZodOptional<z.ZodBoolean>;
3683
+ tools: z.ZodOptional<z.ZodBoolean>;
3684
+ thinking: z.ZodOptional<z.ZodBoolean>;
3685
+ }, z.core.$strict>, z.ZodNull]>>>;
3686
+ }, z.core.$strict>>;
3687
3687
  path: z.ZodString;
3688
3688
  configProfile: z.ZodOptional<z.ZodString>;
3689
3689
  identity: z.ZodOptional<z.ZodString>;
@@ -3841,14 +3841,28 @@ declare const PortableConfigSchema: z.ZodObject<{
3841
3841
  key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
3842
3842
  }, z.core.$strip>], "kind">]>;
3843
3843
  }, z.core.$strict>]>>>;
3844
- models: z.ZodOptional<z.ZodObject<{
3845
- pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
3846
- virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
3847
- mode: z.ZodEnum<{
3848
- ordered: "ordered";
3849
- "most-allowance": "most-allowance";
3850
- "soonest-reset": "soonest-reset";
3851
- spread: "spread";
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
+ models: z.ZodOptional<z.ZodObject<{
3859
+ pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
3860
+ virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
3861
+ mode: z.ZodEnum<{
3862
+ ordered: "ordered";
3863
+ "most-allowance": "most-allowance";
3864
+ "soonest-reset": "soonest-reset";
3865
+ spread: "spread";
3852
3866
  adaptive: "adaptive";
3853
3867
  "lowest-latency": "lowest-latency";
3854
3868
  "highest-success": "highest-success";
@@ -3888,20 +3902,6 @@ declare const PortableConfigSchema: z.ZodObject<{
3888
3902
  thinking: z.ZodOptional<z.ZodBoolean>;
3889
3903
  }, z.core.$strict>, z.ZodNull]>>>;
3890
3904
  }, z.core.$strict>>;
3891
- $schema: z.ZodOptional<z.ZodString>;
3892
- categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
3893
- all: z.ZodOptional<z.ZodBoolean>;
3894
- runtime: z.ZodOptional<z.ZodBoolean>;
3895
- history: z.ZodOptional<z.ZodBoolean>;
3896
- knowledge: z.ZodOptional<z.ZodBoolean>;
3897
- settings: z.ZodOptional<z.ZodBoolean>;
3898
- }, z.core.$strict>, z.ZodTransform<Partial<Record<"runtime" | "history" | "knowledge" | "settings", boolean>>, {
3899
- all?: boolean | undefined;
3900
- runtime?: boolean | undefined;
3901
- history?: boolean | undefined;
3902
- knowledge?: boolean | undefined;
3903
- settings?: boolean | undefined;
3904
- }>>>;
3905
3905
  extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
3906
3906
  launch: z.ZodOptional<z.ZodObject<{
3907
3907
  skipPermissions: z.ZodOptional<z.ZodBoolean>;
@@ -3934,13 +3934,13 @@ declare const PortableConfigSchema: z.ZodObject<{
3934
3934
  route: "route";
3935
3935
  account: "account";
3936
3936
  provider: "provider";
3937
- version: "version";
3938
- headroom: "headroom";
3939
3937
  duration: "duration";
3938
+ headroom: "headroom";
3940
3939
  project: "project";
3941
3940
  vcs: "vcs";
3942
3941
  effort: "effort";
3943
3942
  advisor: "advisor";
3943
+ version: "version";
3944
3944
  outputStyle: "outputStyle";
3945
3945
  cost: "cost";
3946
3946
  dailyCost: "dailyCost";
@@ -3951,10 +3951,10 @@ declare const PortableConfigSchema: z.ZodObject<{
3951
3951
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3952
3952
  context: "context";
3953
3953
  quota: "quota";
3954
- environment: "environment";
3955
3954
  addedDirs: "addedDirs";
3956
3955
  gitFiles: "gitFiles";
3957
3956
  memory: "memory";
3957
+ environment: "environment";
3958
3958
  sessionTime: "sessionTime";
3959
3959
  promptCache: "promptCache";
3960
3960
  compactions: "compactions";
@@ -3977,10 +3977,10 @@ declare const PortableConfigSchema: z.ZodObject<{
3977
3977
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
3978
3978
  context: "context";
3979
3979
  quota: "quota";
3980
- environment: "environment";
3981
3980
  addedDirs: "addedDirs";
3982
3981
  gitFiles: "gitFiles";
3983
3982
  memory: "memory";
3983
+ environment: "environment";
3984
3984
  sessionTime: "sessionTime";
3985
3985
  promptCache: "promptCache";
3986
3986
  compactions: "compactions";
@@ -3994,10 +3994,10 @@ declare const PortableConfigSchema: z.ZodObject<{
3994
3994
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3995
3995
  context: "context";
3996
3996
  quota: "quota";
3997
- environment: "environment";
3998
3997
  addedDirs: "addedDirs";
3999
3998
  gitFiles: "gitFiles";
4000
3999
  memory: "memory";
4000
+ environment: "environment";
4001
4001
  sessionTime: "sessionTime";
4002
4002
  promptCache: "promptCache";
4003
4003
  compactions: "compactions";
@@ -4056,10 +4056,10 @@ declare const PortableConfigSchema: z.ZodObject<{
4056
4056
  hidden: "hidden";
4057
4057
  }>>;
4058
4058
  value: z.ZodOptional<z.ZodEnum<{
4059
- remaining: "remaining";
4060
4059
  tokens: "tokens";
4061
4060
  both: "both";
4062
4061
  percent: "percent";
4062
+ remaining: "remaining";
4063
4063
  }>>;
4064
4064
  estimate: z.ZodOptional<z.ZodEnum<{
4065
4065
  never: "never";
@@ -4101,8 +4101,8 @@ declare const PortableConfigSchema: z.ZodObject<{
4101
4101
  }, z.core.$strict>>;
4102
4102
  usage: z.ZodOptional<z.ZodObject<{
4103
4103
  value: z.ZodOptional<z.ZodEnum<{
4104
- used: "used";
4105
4104
  remaining: "remaining";
4105
+ used: "used";
4106
4106
  }>>;
4107
4107
  bar: z.ZodOptional<z.ZodBoolean>;
4108
4108
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -4690,13 +4690,13 @@ declare const GlobalConfigSchema: z.ZodObject<{
4690
4690
  route: "route";
4691
4691
  account: "account";
4692
4692
  provider: "provider";
4693
- version: "version";
4694
- headroom: "headroom";
4695
4693
  duration: "duration";
4694
+ headroom: "headroom";
4696
4695
  project: "project";
4697
4696
  vcs: "vcs";
4698
4697
  effort: "effort";
4699
4698
  advisor: "advisor";
4699
+ version: "version";
4700
4700
  outputStyle: "outputStyle";
4701
4701
  cost: "cost";
4702
4702
  dailyCost: "dailyCost";
@@ -4707,10 +4707,10 @@ declare const GlobalConfigSchema: z.ZodObject<{
4707
4707
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4708
4708
  context: "context";
4709
4709
  quota: "quota";
4710
- environment: "environment";
4711
4710
  addedDirs: "addedDirs";
4712
4711
  gitFiles: "gitFiles";
4713
4712
  memory: "memory";
4713
+ environment: "environment";
4714
4714
  sessionTime: "sessionTime";
4715
4715
  promptCache: "promptCache";
4716
4716
  compactions: "compactions";
@@ -4733,10 +4733,10 @@ declare const GlobalConfigSchema: z.ZodObject<{
4733
4733
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
4734
4734
  context: "context";
4735
4735
  quota: "quota";
4736
- environment: "environment";
4737
4736
  addedDirs: "addedDirs";
4738
4737
  gitFiles: "gitFiles";
4739
4738
  memory: "memory";
4739
+ environment: "environment";
4740
4740
  sessionTime: "sessionTime";
4741
4741
  promptCache: "promptCache";
4742
4742
  compactions: "compactions";
@@ -4750,10 +4750,10 @@ declare const GlobalConfigSchema: z.ZodObject<{
4750
4750
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4751
4751
  context: "context";
4752
4752
  quota: "quota";
4753
- environment: "environment";
4754
4753
  addedDirs: "addedDirs";
4755
4754
  gitFiles: "gitFiles";
4756
4755
  memory: "memory";
4756
+ environment: "environment";
4757
4757
  sessionTime: "sessionTime";
4758
4758
  promptCache: "promptCache";
4759
4759
  compactions: "compactions";
@@ -4812,10 +4812,10 @@ declare const GlobalConfigSchema: z.ZodObject<{
4812
4812
  hidden: "hidden";
4813
4813
  }>>;
4814
4814
  value: z.ZodOptional<z.ZodEnum<{
4815
- remaining: "remaining";
4816
4815
  tokens: "tokens";
4817
4816
  both: "both";
4818
4817
  percent: "percent";
4818
+ remaining: "remaining";
4819
4819
  }>>;
4820
4820
  estimate: z.ZodOptional<z.ZodEnum<{
4821
4821
  never: "never";
@@ -4857,8 +4857,8 @@ declare const GlobalConfigSchema: z.ZodObject<{
4857
4857
  }, z.core.$strict>>;
4858
4858
  usage: z.ZodOptional<z.ZodObject<{
4859
4859
  value: z.ZodOptional<z.ZodEnum<{
4860
- used: "used";
4861
4860
  remaining: "remaining";
4861
+ used: "used";
4862
4862
  }>>;
4863
4863
  bar: z.ZodOptional<z.ZodBoolean>;
4864
4864
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -6129,9 +6129,15 @@ interface RunResult {
6129
6129
  readonly stderr: string;
6130
6130
  }
6131
6131
  /** Runs an external command and captures its output, injected so no test ever shells out for real. Not used by this phase's own modules yet — declared here so every later module (branch-conditioned `when` evaluation, `check.ts`'s Keychain lookup) shares one injectable shape rather than each inventing its own. */
6132
+ interface RunOptions {
6133
+ /** The child's whole environment, replacing the parent's; a variable mapped to undefined is left out. Omitted: the child inherits this process's environment. */
6134
+ readonly env?: Readonly<Record<string, string | undefined>>;
6135
+ /** Kill the child after this many milliseconds. Omitted: it may run as long as it likes. */
6136
+ readonly timeoutMs?: number;
6137
+ }
6132
6138
  interface RunPort {
6133
6139
  /** `input`, when given, is written to the child's standard input and then closed: the way to hand a command a secret without putting it in the argument list, which any local process can read from the process table. */
6134
- readonly run: (command: string, args: readonly string[], input?: string) => RunResult;
6140
+ readonly run: (command: string, args: readonly string[], input?: string, options?: RunOptions) => RunResult;
6135
6141
  }
6136
6142
  /**
6137
6143
  * The running process itself: its environment, its logical argv, and the ability to terminate with an exit code.
@@ -9055,12 +9061,12 @@ declare const CheckReportJsonSchema: z.ZodObject<{
9055
9061
  identity: z.ZodObject<{
9056
9062
  name: z.ZodNullable<z.ZodString>;
9057
9063
  source: z.ZodEnum<{
9064
+ env: "env";
9065
+ none: "none";
9058
9066
  "config-dir-escape-hatch": "config-dir-escape-hatch";
9059
9067
  argv: "argv";
9060
- env: "env";
9061
9068
  "directory-pin": "directory-pin";
9062
9069
  "active-identity-file": "active-identity-file";
9063
- none: "none";
9064
9070
  }>;
9065
9071
  }, z.core.$strict>;
9066
9072
  pool: z.ZodOptional<z.ZodObject<{
@@ -9091,6 +9097,7 @@ declare const CheckReportJsonSchema: z.ZodObject<{
9091
9097
  kind: z.ZodLiteral<"pay-per-use">;
9092
9098
  tier: z.ZodOptional<z.ZodString>;
9093
9099
  }, z.core.$strict>]>;
9100
+ provider: z.ZodOptional<z.ZodString>;
9094
9101
  reasons: z.ZodArray<z.ZodString>;
9095
9102
  }, z.core.$strict>>;
9096
9103
  missing: z.ZodArray<z.ZodString>;
@@ -9138,11 +9145,11 @@ declare const CheckReportJsonSchema: z.ZodObject<{
9138
9145
  "category-default": "category-default";
9139
9146
  }>;
9140
9147
  category: z.ZodNullable<z.ZodEnum<{
9141
- secret: "secret";
9142
9148
  runtime: "runtime";
9143
9149
  history: "history";
9144
9150
  knowledge: "knowledge";
9145
9151
  settings: "settings";
9152
+ secret: "secret";
9146
9153
  }>>;
9147
9154
  rule: z.ZodOptional<z.ZodObject<{
9148
9155
  key: z.ZodString;
@@ -9342,8 +9349,8 @@ declare const CheckReportJsonSchema: z.ZodObject<{
9342
9349
  pinned: z.ZodOptional<z.ZodObject<{
9343
9350
  version: z.ZodString;
9344
9351
  source: z.ZodEnum<{
9345
- flag: "flag";
9346
9352
  environment: "environment";
9353
+ flag: "flag";
9347
9354
  cascade: "cascade";
9348
9355
  }>;
9349
9356
  installed: z.ZodBoolean;
@@ -9473,6 +9480,7 @@ declare const PoolPickReportSchema: z.ZodObject<{
9473
9480
  kind: z.ZodLiteral<"pay-per-use">;
9474
9481
  tier: z.ZodOptional<z.ZodString>;
9475
9482
  }, z.core.$strict>]>;
9483
+ provider: z.ZodOptional<z.ZodString>;
9476
9484
  reasons: z.ZodArray<z.ZodString>;
9477
9485
  }, z.core.$strict>>;
9478
9486
  missing: z.ZodArray<z.ZodString>;
@@ -10766,53 +10774,6 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10766
10774
  }, zod_v4_core.$strip>], "kind">]>;
10767
10775
  }, zod_v4_core.$strict>]>>>;
10768
10776
  description: zod.ZodOptional<zod.ZodString>;
10769
- models: zod.ZodOptional<zod.ZodObject<{
10770
- pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
10771
- virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
10772
- mode: zod.ZodEnum<{
10773
- ordered: "ordered";
10774
- "most-allowance": "most-allowance";
10775
- "soonest-reset": "soonest-reset";
10776
- spread: "spread";
10777
- adaptive: "adaptive";
10778
- "lowest-latency": "lowest-latency";
10779
- "highest-success": "highest-success";
10780
- cheapest: "cheapest";
10781
- }>;
10782
- members: zod.ZodArray<zod.ZodString>;
10783
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
10784
- tiers: zod.ZodOptional<zod.ZodObject<{
10785
- fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
10786
- opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
10787
- sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
10788
- haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
10789
- }, zod_v4_core.$strict>>;
10790
- prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
10791
- input: zod.ZodNumber;
10792
- output: zod.ZodNumber;
10793
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
10794
- hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
10795
- show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
10796
- same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
10797
- distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
10798
- families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
10799
- names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
10800
- mode: zod.ZodOptional<zod.ZodEnum<{
10801
- ordered: "ordered";
10802
- "most-allowance": "most-allowance";
10803
- "soonest-reset": "soonest-reset";
10804
- spread: "spread";
10805
- adaptive: "adaptive";
10806
- "lowest-latency": "lowest-latency";
10807
- "highest-success": "highest-success";
10808
- cheapest: "cheapest";
10809
- }>>;
10810
- context: zod.ZodOptional<zod.ZodNumber>;
10811
- vision: zod.ZodOptional<zod.ZodBoolean>;
10812
- tools: zod.ZodOptional<zod.ZodBoolean>;
10813
- thinking: zod.ZodOptional<zod.ZodBoolean>;
10814
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
10815
- }, zod_v4_core.$strict>>;
10816
10777
  extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
10817
10778
  categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
10818
10779
  all: zod.ZodOptional<zod.ZodBoolean>;
@@ -10859,13 +10820,13 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10859
10820
  route: "route";
10860
10821
  account: "account";
10861
10822
  provider: "provider";
10862
- version: "version";
10863
- headroom: "headroom";
10864
10823
  duration: "duration";
10824
+ headroom: "headroom";
10865
10825
  project: "project";
10866
10826
  vcs: "vcs";
10867
10827
  effort: "effort";
10868
10828
  advisor: "advisor";
10829
+ version: "version";
10869
10830
  outputStyle: "outputStyle";
10870
10831
  cost: "cost";
10871
10832
  dailyCost: "dailyCost";
@@ -10876,10 +10837,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10876
10837
  rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
10877
10838
  context: "context";
10878
10839
  quota: "quota";
10879
- environment: "environment";
10880
10840
  addedDirs: "addedDirs";
10881
10841
  gitFiles: "gitFiles";
10882
10842
  memory: "memory";
10843
+ environment: "environment";
10883
10844
  sessionTime: "sessionTime";
10884
10845
  promptCache: "promptCache";
10885
10846
  compactions: "compactions";
@@ -10902,10 +10863,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10902
10863
  merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
10903
10864
  context: "context";
10904
10865
  quota: "quota";
10905
- environment: "environment";
10906
10866
  addedDirs: "addedDirs";
10907
10867
  gitFiles: "gitFiles";
10908
10868
  memory: "memory";
10869
+ environment: "environment";
10909
10870
  sessionTime: "sessionTime";
10910
10871
  promptCache: "promptCache";
10911
10872
  compactions: "compactions";
@@ -10919,10 +10880,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10919
10880
  rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
10920
10881
  context: "context";
10921
10882
  quota: "quota";
10922
- environment: "environment";
10923
10883
  addedDirs: "addedDirs";
10924
10884
  gitFiles: "gitFiles";
10925
10885
  memory: "memory";
10886
+ environment: "environment";
10926
10887
  sessionTime: "sessionTime";
10927
10888
  promptCache: "promptCache";
10928
10889
  compactions: "compactions";
@@ -10981,10 +10942,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10981
10942
  hidden: "hidden";
10982
10943
  }>>;
10983
10944
  value: zod.ZodOptional<zod.ZodEnum<{
10984
- remaining: "remaining";
10985
10945
  tokens: "tokens";
10986
10946
  both: "both";
10987
10947
  percent: "percent";
10948
+ remaining: "remaining";
10988
10949
  }>>;
10989
10950
  estimate: zod.ZodOptional<zod.ZodEnum<{
10990
10951
  never: "never";
@@ -11026,8 +10987,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11026
10987
  }, zod_v4_core.$strict>>;
11027
10988
  usage: zod.ZodOptional<zod.ZodObject<{
11028
10989
  value: zod.ZodOptional<zod.ZodEnum<{
11029
- used: "used";
11030
10990
  remaining: "remaining";
10991
+ used: "used";
11031
10992
  }>>;
11032
10993
  bar: zod.ZodOptional<zod.ZodBoolean>;
11033
10994
  compact: zod.ZodOptional<zod.ZodBoolean>;
@@ -11385,6 +11346,53 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11385
11346
  }, zod_v4_core.$strict>>;
11386
11347
  }, zod_v4_core.$strict>>;
11387
11348
  }, 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>>;
11388
11396
  }, zod_v4_core.$strict>;
11389
11397
  }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
11390
11398
  set: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
@@ -11490,53 +11498,6 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11490
11498
  }, zod_v4_core.$strip>], "kind">]>;
11491
11499
  }, zod_v4_core.$strict>]>>>;
11492
11500
  description: zod.ZodOptional<zod.ZodString>;
11493
- models: zod.ZodOptional<zod.ZodObject<{
11494
- pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
11495
- virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
11496
- mode: zod.ZodEnum<{
11497
- ordered: "ordered";
11498
- "most-allowance": "most-allowance";
11499
- "soonest-reset": "soonest-reset";
11500
- spread: "spread";
11501
- adaptive: "adaptive";
11502
- "lowest-latency": "lowest-latency";
11503
- "highest-success": "highest-success";
11504
- cheapest: "cheapest";
11505
- }>;
11506
- members: zod.ZodArray<zod.ZodString>;
11507
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
11508
- tiers: zod.ZodOptional<zod.ZodObject<{
11509
- fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
11510
- opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
11511
- sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
11512
- haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
11513
- }, zod_v4_core.$strict>>;
11514
- prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
11515
- input: zod.ZodNumber;
11516
- output: zod.ZodNumber;
11517
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
11518
- hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
11519
- show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
11520
- same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
11521
- distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
11522
- families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
11523
- names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
11524
- mode: zod.ZodOptional<zod.ZodEnum<{
11525
- ordered: "ordered";
11526
- "most-allowance": "most-allowance";
11527
- "soonest-reset": "soonest-reset";
11528
- spread: "spread";
11529
- adaptive: "adaptive";
11530
- "lowest-latency": "lowest-latency";
11531
- "highest-success": "highest-success";
11532
- cheapest: "cheapest";
11533
- }>>;
11534
- context: zod.ZodOptional<zod.ZodNumber>;
11535
- vision: zod.ZodOptional<zod.ZodBoolean>;
11536
- tools: zod.ZodOptional<zod.ZodBoolean>;
11537
- thinking: zod.ZodOptional<zod.ZodBoolean>;
11538
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
11539
- }, zod_v4_core.$strict>>;
11540
11501
  extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
11541
11502
  categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
11542
11503
  all: zod.ZodOptional<zod.ZodBoolean>;
@@ -11583,13 +11544,13 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11583
11544
  route: "route";
11584
11545
  account: "account";
11585
11546
  provider: "provider";
11586
- version: "version";
11587
- headroom: "headroom";
11588
11547
  duration: "duration";
11548
+ headroom: "headroom";
11589
11549
  project: "project";
11590
11550
  vcs: "vcs";
11591
11551
  effort: "effort";
11592
11552
  advisor: "advisor";
11553
+ version: "version";
11593
11554
  outputStyle: "outputStyle";
11594
11555
  cost: "cost";
11595
11556
  dailyCost: "dailyCost";
@@ -11600,10 +11561,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11600
11561
  rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
11601
11562
  context: "context";
11602
11563
  quota: "quota";
11603
- environment: "environment";
11604
11564
  addedDirs: "addedDirs";
11605
11565
  gitFiles: "gitFiles";
11606
11566
  memory: "memory";
11567
+ environment: "environment";
11607
11568
  sessionTime: "sessionTime";
11608
11569
  promptCache: "promptCache";
11609
11570
  compactions: "compactions";
@@ -11626,10 +11587,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11626
11587
  merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
11627
11588
  context: "context";
11628
11589
  quota: "quota";
11629
- environment: "environment";
11630
11590
  addedDirs: "addedDirs";
11631
11591
  gitFiles: "gitFiles";
11632
11592
  memory: "memory";
11593
+ environment: "environment";
11633
11594
  sessionTime: "sessionTime";
11634
11595
  promptCache: "promptCache";
11635
11596
  compactions: "compactions";
@@ -11643,10 +11604,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11643
11604
  rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
11644
11605
  context: "context";
11645
11606
  quota: "quota";
11646
- environment: "environment";
11647
11607
  addedDirs: "addedDirs";
11648
11608
  gitFiles: "gitFiles";
11649
11609
  memory: "memory";
11610
+ environment: "environment";
11650
11611
  sessionTime: "sessionTime";
11651
11612
  promptCache: "promptCache";
11652
11613
  compactions: "compactions";
@@ -11705,10 +11666,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11705
11666
  hidden: "hidden";
11706
11667
  }>>;
11707
11668
  value: zod.ZodOptional<zod.ZodEnum<{
11708
- remaining: "remaining";
11709
11669
  tokens: "tokens";
11710
11670
  both: "both";
11711
11671
  percent: "percent";
11672
+ remaining: "remaining";
11712
11673
  }>>;
11713
11674
  estimate: zod.ZodOptional<zod.ZodEnum<{
11714
11675
  never: "never";
@@ -11750,8 +11711,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11750
11711
  }, zod_v4_core.$strict>>;
11751
11712
  usage: zod.ZodOptional<zod.ZodObject<{
11752
11713
  value: zod.ZodOptional<zod.ZodEnum<{
11753
- used: "used";
11754
11714
  remaining: "remaining";
11715
+ used: "used";
11755
11716
  }>>;
11756
11717
  bar: zod.ZodOptional<zod.ZodBoolean>;
11757
11718
  compact: zod.ZodOptional<zod.ZodBoolean>;
@@ -12109,17 +12070,64 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12109
12070
  }, zod_v4_core.$strict>>;
12110
12071
  }, zod_v4_core.$strict>>;
12111
12072
  }, zod_v4_core.$strict>>;
12112
- }, zod_v4_core.$strict>;
12113
- }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
12114
- remove: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
12115
- name: zod.ZodString;
12116
- confirm: zod.ZodBoolean;
12117
- }, zod_v4_core.$strict>, zod.ZodObject<{
12118
- action: zod.ZodLiteral<"removed">;
12119
- kind: zod.ZodLiteral<"profile">;
12120
- name: zod.ZodString;
12121
- }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
12122
- use: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
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
+ }, zod_v4_core.$strict>;
12121
+ }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
12122
+ remove: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
12123
+ name: zod.ZodString;
12124
+ confirm: zod.ZodBoolean;
12125
+ }, zod_v4_core.$strict>, zod.ZodObject<{
12126
+ action: zod.ZodLiteral<"removed">;
12127
+ kind: zod.ZodLiteral<"profile">;
12128
+ name: zod.ZodString;
12129
+ }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
12130
+ use: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
12123
12131
  name: zod.ZodString;
12124
12132
  }, zod_v4_core.$strict>, zod.ZodObject<{
12125
12133
  action: zod.ZodLiteral<"selected">;
@@ -12689,53 +12697,6 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12689
12697
  key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
12690
12698
  }, zod_v4_core.$strip>], "kind">]>;
12691
12699
  }, zod_v4_core.$strict>]>>>;
12692
- models: zod.ZodOptional<zod.ZodObject<{
12693
- pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
12694
- virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
12695
- mode: zod.ZodEnum<{
12696
- ordered: "ordered";
12697
- "most-allowance": "most-allowance";
12698
- "soonest-reset": "soonest-reset";
12699
- spread: "spread";
12700
- adaptive: "adaptive";
12701
- "lowest-latency": "lowest-latency";
12702
- "highest-success": "highest-success";
12703
- cheapest: "cheapest";
12704
- }>;
12705
- members: zod.ZodArray<zod.ZodString>;
12706
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
12707
- tiers: zod.ZodOptional<zod.ZodObject<{
12708
- fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
12709
- opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
12710
- sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
12711
- haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
12712
- }, zod_v4_core.$strict>>;
12713
- prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
12714
- input: zod.ZodNumber;
12715
- output: zod.ZodNumber;
12716
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
12717
- hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
12718
- show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
12719
- same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
12720
- distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
12721
- families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
12722
- names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
12723
- mode: zod.ZodOptional<zod.ZodEnum<{
12724
- ordered: "ordered";
12725
- "most-allowance": "most-allowance";
12726
- "soonest-reset": "soonest-reset";
12727
- spread: "spread";
12728
- adaptive: "adaptive";
12729
- "lowest-latency": "lowest-latency";
12730
- "highest-success": "highest-success";
12731
- cheapest: "cheapest";
12732
- }>>;
12733
- context: zod.ZodOptional<zod.ZodNumber>;
12734
- vision: zod.ZodOptional<zod.ZodBoolean>;
12735
- tools: zod.ZodOptional<zod.ZodBoolean>;
12736
- thinking: zod.ZodOptional<zod.ZodBoolean>;
12737
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
12738
- }, zod_v4_core.$strict>>;
12739
12700
  $schema: zod.ZodOptional<zod.ZodString>;
12740
12701
  extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
12741
12702
  categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
@@ -12783,13 +12744,13 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12783
12744
  route: "route";
12784
12745
  account: "account";
12785
12746
  provider: "provider";
12786
- version: "version";
12787
- headroom: "headroom";
12788
12747
  duration: "duration";
12748
+ headroom: "headroom";
12789
12749
  project: "project";
12790
12750
  vcs: "vcs";
12791
12751
  effort: "effort";
12792
12752
  advisor: "advisor";
12753
+ version: "version";
12793
12754
  outputStyle: "outputStyle";
12794
12755
  cost: "cost";
12795
12756
  dailyCost: "dailyCost";
@@ -12800,10 +12761,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12800
12761
  rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
12801
12762
  context: "context";
12802
12763
  quota: "quota";
12803
- environment: "environment";
12804
12764
  addedDirs: "addedDirs";
12805
12765
  gitFiles: "gitFiles";
12806
12766
  memory: "memory";
12767
+ environment: "environment";
12807
12768
  sessionTime: "sessionTime";
12808
12769
  promptCache: "promptCache";
12809
12770
  compactions: "compactions";
@@ -12826,10 +12787,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12826
12787
  merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
12827
12788
  context: "context";
12828
12789
  quota: "quota";
12829
- environment: "environment";
12830
12790
  addedDirs: "addedDirs";
12831
12791
  gitFiles: "gitFiles";
12832
12792
  memory: "memory";
12793
+ environment: "environment";
12833
12794
  sessionTime: "sessionTime";
12834
12795
  promptCache: "promptCache";
12835
12796
  compactions: "compactions";
@@ -12843,10 +12804,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12843
12804
  rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
12844
12805
  context: "context";
12845
12806
  quota: "quota";
12846
- environment: "environment";
12847
12807
  addedDirs: "addedDirs";
12848
12808
  gitFiles: "gitFiles";
12849
12809
  memory: "memory";
12810
+ environment: "environment";
12850
12811
  sessionTime: "sessionTime";
12851
12812
  promptCache: "promptCache";
12852
12813
  compactions: "compactions";
@@ -12905,10 +12866,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12905
12866
  hidden: "hidden";
12906
12867
  }>>;
12907
12868
  value: zod.ZodOptional<zod.ZodEnum<{
12908
- remaining: "remaining";
12909
12869
  tokens: "tokens";
12910
12870
  both: "both";
12911
12871
  percent: "percent";
12872
+ remaining: "remaining";
12912
12873
  }>>;
12913
12874
  estimate: zod.ZodOptional<zod.ZodEnum<{
12914
12875
  never: "never";
@@ -12950,8 +12911,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12950
12911
  }, zod_v4_core.$strict>>;
12951
12912
  usage: zod.ZodOptional<zod.ZodObject<{
12952
12913
  value: zod.ZodOptional<zod.ZodEnum<{
12953
- used: "used";
12954
12914
  remaining: "remaining";
12915
+ used: "used";
12955
12916
  }>>;
12956
12917
  bar: zod.ZodOptional<zod.ZodBoolean>;
12957
12918
  compact: zod.ZodOptional<zod.ZodBoolean>;
@@ -13309,6 +13270,53 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
13309
13270
  }, zod_v4_core.$strict>>;
13310
13271
  }, zod_v4_core.$strict>>;
13311
13272
  }, 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>>;
13312
13320
  path: zod.ZodString;
13313
13321
  configProfile: zod.ZodOptional<zod.ZodString>;
13314
13322
  identity: zod.ZodOptional<zod.ZodString>;
@@ -13470,53 +13478,6 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
13470
13478
  key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
13471
13479
  }, zod_v4_core.$strip>], "kind">]>;
13472
13480
  }, zod_v4_core.$strict>]>>>;
13473
- models: zod.ZodOptional<zod.ZodObject<{
13474
- pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
13475
- virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
13476
- mode: zod.ZodEnum<{
13477
- ordered: "ordered";
13478
- "most-allowance": "most-allowance";
13479
- "soonest-reset": "soonest-reset";
13480
- spread: "spread";
13481
- adaptive: "adaptive";
13482
- "lowest-latency": "lowest-latency";
13483
- "highest-success": "highest-success";
13484
- cheapest: "cheapest";
13485
- }>;
13486
- members: zod.ZodArray<zod.ZodString>;
13487
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
13488
- tiers: zod.ZodOptional<zod.ZodObject<{
13489
- fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
13490
- opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
13491
- sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
13492
- haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
13493
- }, zod_v4_core.$strict>>;
13494
- prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
13495
- input: zod.ZodNumber;
13496
- output: zod.ZodNumber;
13497
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
13498
- hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
13499
- show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
13500
- same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
13501
- distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
13502
- families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
13503
- names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
13504
- mode: zod.ZodOptional<zod.ZodEnum<{
13505
- ordered: "ordered";
13506
- "most-allowance": "most-allowance";
13507
- "soonest-reset": "soonest-reset";
13508
- spread: "spread";
13509
- adaptive: "adaptive";
13510
- "lowest-latency": "lowest-latency";
13511
- "highest-success": "highest-success";
13512
- cheapest: "cheapest";
13513
- }>>;
13514
- context: zod.ZodOptional<zod.ZodNumber>;
13515
- vision: zod.ZodOptional<zod.ZodBoolean>;
13516
- tools: zod.ZodOptional<zod.ZodBoolean>;
13517
- thinking: zod.ZodOptional<zod.ZodBoolean>;
13518
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
13519
- }, zod_v4_core.$strict>>;
13520
13481
  $schema: zod.ZodOptional<zod.ZodString>;
13521
13482
  extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
13522
13483
  categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
@@ -13564,13 +13525,13 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
13564
13525
  route: "route";
13565
13526
  account: "account";
13566
13527
  provider: "provider";
13567
- version: "version";
13568
- headroom: "headroom";
13569
13528
  duration: "duration";
13529
+ headroom: "headroom";
13570
13530
  project: "project";
13571
13531
  vcs: "vcs";
13572
13532
  effort: "effort";
13573
13533
  advisor: "advisor";
13534
+ version: "version";
13574
13535
  outputStyle: "outputStyle";
13575
13536
  cost: "cost";
13576
13537
  dailyCost: "dailyCost";
@@ -13581,10 +13542,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
13581
13542
  rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
13582
13543
  context: "context";
13583
13544
  quota: "quota";
13584
- environment: "environment";
13585
13545
  addedDirs: "addedDirs";
13586
13546
  gitFiles: "gitFiles";
13587
13547
  memory: "memory";
13548
+ environment: "environment";
13588
13549
  sessionTime: "sessionTime";
13589
13550
  promptCache: "promptCache";
13590
13551
  compactions: "compactions";
@@ -13607,10 +13568,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
13607
13568
  merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
13608
13569
  context: "context";
13609
13570
  quota: "quota";
13610
- environment: "environment";
13611
13571
  addedDirs: "addedDirs";
13612
13572
  gitFiles: "gitFiles";
13613
13573
  memory: "memory";
13574
+ environment: "environment";
13614
13575
  sessionTime: "sessionTime";
13615
13576
  promptCache: "promptCache";
13616
13577
  compactions: "compactions";
@@ -13624,10 +13585,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
13624
13585
  rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
13625
13586
  context: "context";
13626
13587
  quota: "quota";
13627
- environment: "environment";
13628
13588
  addedDirs: "addedDirs";
13629
13589
  gitFiles: "gitFiles";
13630
13590
  memory: "memory";
13591
+ environment: "environment";
13631
13592
  sessionTime: "sessionTime";
13632
13593
  promptCache: "promptCache";
13633
13594
  compactions: "compactions";
@@ -13686,10 +13647,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
13686
13647
  hidden: "hidden";
13687
13648
  }>>;
13688
13649
  value: zod.ZodOptional<zod.ZodEnum<{
13689
- remaining: "remaining";
13690
13650
  tokens: "tokens";
13691
13651
  both: "both";
13692
13652
  percent: "percent";
13653
+ remaining: "remaining";
13693
13654
  }>>;
13694
13655
  estimate: zod.ZodOptional<zod.ZodEnum<{
13695
13656
  never: "never";
@@ -13731,8 +13692,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
13731
13692
  }, zod_v4_core.$strict>>;
13732
13693
  usage: zod.ZodOptional<zod.ZodObject<{
13733
13694
  value: zod.ZodOptional<zod.ZodEnum<{
13734
- used: "used";
13735
13695
  remaining: "remaining";
13696
+ used: "used";
13736
13697
  }>>;
13737
13698
  bar: zod.ZodOptional<zod.ZodBoolean>;
13738
13699
  compact: zod.ZodOptional<zod.ZodBoolean>;
@@ -14090,35 +14051,82 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
14090
14051
  }, zod_v4_core.$strict>>;
14091
14052
  }, zod_v4_core.$strict>>;
14092
14053
  }, zod_v4_core.$strict>>;
14093
- path: zod.ZodString;
14094
- configProfile: zod.ZodOptional<zod.ZodString>;
14095
- identity: zod.ZodOptional<zod.ZodString>;
14096
- when: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
14097
- newerThan: zod.ZodOptional<zod.ZodString>;
14098
- olderThan: zod.ZodOptional<zod.ZodString>;
14099
- maxSizeBytes: zod.ZodOptional<zod.ZodInt>;
14100
- branch: zod.ZodOptional<zod.ZodString>;
14101
- env: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
14102
- }, zod_v4_core.$strict>, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
14103
- kind: zod.ZodLiteral<"not">;
14104
- operand: typeof trilean.PredicateNodeSchema;
14105
- }, zod_v4_core.$strip>, zod.ZodObject<{
14106
- kind: zod.ZodLiteral<"and">;
14107
- left: typeof trilean.PredicateNodeSchema;
14108
- right: typeof trilean.PredicateNodeSchema;
14109
- }, zod_v4_core.$strip>, zod.ZodObject<{
14110
- kind: zod.ZodLiteral<"or">;
14111
- left: typeof trilean.PredicateNodeSchema;
14112
- right: typeof trilean.PredicateNodeSchema;
14113
- }, zod_v4_core.$strip>, zod.ZodObject<{
14114
- kind: zod.ZodLiteral<"allOf">;
14115
- operands: zod.ZodArray<typeof trilean.PredicateNodeSchema>;
14116
- }, zod_v4_core.$strip>, zod.ZodObject<{
14117
- kind: zod.ZodLiteral<"anyOf">;
14118
- operands: zod.ZodArray<typeof trilean.PredicateNodeSchema>;
14119
- }, zod_v4_core.$strip>, zod.ZodObject<{
14120
- kind: zod.ZodLiteral<"compare">;
14121
- op: zod.ZodEnum<{
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
+ path: zod.ZodString;
14102
+ configProfile: zod.ZodOptional<zod.ZodString>;
14103
+ identity: zod.ZodOptional<zod.ZodString>;
14104
+ when: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
14105
+ newerThan: zod.ZodOptional<zod.ZodString>;
14106
+ olderThan: zod.ZodOptional<zod.ZodString>;
14107
+ maxSizeBytes: zod.ZodOptional<zod.ZodInt>;
14108
+ branch: zod.ZodOptional<zod.ZodString>;
14109
+ env: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
14110
+ }, zod_v4_core.$strict>, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
14111
+ kind: zod.ZodLiteral<"not">;
14112
+ operand: typeof trilean.PredicateNodeSchema;
14113
+ }, zod_v4_core.$strip>, zod.ZodObject<{
14114
+ kind: zod.ZodLiteral<"and">;
14115
+ left: typeof trilean.PredicateNodeSchema;
14116
+ right: typeof trilean.PredicateNodeSchema;
14117
+ }, zod_v4_core.$strip>, zod.ZodObject<{
14118
+ kind: zod.ZodLiteral<"or">;
14119
+ left: typeof trilean.PredicateNodeSchema;
14120
+ right: typeof trilean.PredicateNodeSchema;
14121
+ }, zod_v4_core.$strip>, zod.ZodObject<{
14122
+ kind: zod.ZodLiteral<"allOf">;
14123
+ operands: zod.ZodArray<typeof trilean.PredicateNodeSchema>;
14124
+ }, zod_v4_core.$strip>, zod.ZodObject<{
14125
+ kind: zod.ZodLiteral<"anyOf">;
14126
+ operands: zod.ZodArray<typeof trilean.PredicateNodeSchema>;
14127
+ }, zod_v4_core.$strip>, zod.ZodObject<{
14128
+ kind: zod.ZodLiteral<"compare">;
14129
+ op: zod.ZodEnum<{
14122
14130
  gt: "gt";
14123
14131
  gte: "gte";
14124
14132
  lt: "lt";
@@ -14494,9 +14502,9 @@ declare function createLifecycleApiRouter(deps: LifecycleApiDeps): {
14494
14502
  current: z.ZodString;
14495
14503
  latest: z.ZodString;
14496
14504
  action: z.ZodEnum<{
14505
+ updated: "updated";
14497
14506
  current: "current";
14498
14507
  available: "available";
14499
- updated: "updated";
14500
14508
  }>;
14501
14509
  }, z.core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
14502
14510
  };
@@ -14537,13 +14545,13 @@ declare const StatuslineSchema: z.ZodObject<{
14537
14545
  route: "route";
14538
14546
  account: "account";
14539
14547
  provider: "provider";
14540
- version: "version";
14541
- headroom: "headroom";
14542
14548
  duration: "duration";
14549
+ headroom: "headroom";
14543
14550
  project: "project";
14544
14551
  vcs: "vcs";
14545
14552
  effort: "effort";
14546
14553
  advisor: "advisor";
14554
+ version: "version";
14547
14555
  outputStyle: "outputStyle";
14548
14556
  cost: "cost";
14549
14557
  dailyCost: "dailyCost";
@@ -14554,10 +14562,10 @@ declare const StatuslineSchema: z.ZodObject<{
14554
14562
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
14555
14563
  context: "context";
14556
14564
  quota: "quota";
14557
- environment: "environment";
14558
14565
  addedDirs: "addedDirs";
14559
14566
  gitFiles: "gitFiles";
14560
14567
  memory: "memory";
14568
+ environment: "environment";
14561
14569
  sessionTime: "sessionTime";
14562
14570
  promptCache: "promptCache";
14563
14571
  compactions: "compactions";
@@ -14580,10 +14588,10 @@ declare const StatuslineSchema: z.ZodObject<{
14580
14588
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
14581
14589
  context: "context";
14582
14590
  quota: "quota";
14583
- environment: "environment";
14584
14591
  addedDirs: "addedDirs";
14585
14592
  gitFiles: "gitFiles";
14586
14593
  memory: "memory";
14594
+ environment: "environment";
14587
14595
  sessionTime: "sessionTime";
14588
14596
  promptCache: "promptCache";
14589
14597
  compactions: "compactions";
@@ -14597,10 +14605,10 @@ declare const StatuslineSchema: z.ZodObject<{
14597
14605
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
14598
14606
  context: "context";
14599
14607
  quota: "quota";
14600
- environment: "environment";
14601
14608
  addedDirs: "addedDirs";
14602
14609
  gitFiles: "gitFiles";
14603
14610
  memory: "memory";
14611
+ environment: "environment";
14604
14612
  sessionTime: "sessionTime";
14605
14613
  promptCache: "promptCache";
14606
14614
  compactions: "compactions";
@@ -14659,10 +14667,10 @@ declare const StatuslineSchema: z.ZodObject<{
14659
14667
  hidden: "hidden";
14660
14668
  }>>;
14661
14669
  value: z.ZodOptional<z.ZodEnum<{
14662
- remaining: "remaining";
14663
14670
  tokens: "tokens";
14664
14671
  both: "both";
14665
14672
  percent: "percent";
14673
+ remaining: "remaining";
14666
14674
  }>>;
14667
14675
  estimate: z.ZodOptional<z.ZodEnum<{
14668
14676
  never: "never";
@@ -14704,8 +14712,8 @@ declare const StatuslineSchema: z.ZodObject<{
14704
14712
  }, z.core.$strict>>;
14705
14713
  usage: z.ZodOptional<z.ZodObject<{
14706
14714
  value: z.ZodOptional<z.ZodEnum<{
14707
- used: "used";
14708
14715
  remaining: "remaining";
14716
+ used: "used";
14709
14717
  }>>;
14710
14718
  bar: z.ZodOptional<z.ZodBoolean>;
14711
14719
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -15195,6 +15203,8 @@ interface PrepareLaunchParams {
15195
15203
  readonly hold?: HoldPort;
15196
15204
  /** Whether an identity has a stored login Claude Code can use (a Keychain item or a credentials file). Absent when the caller cannot ask, in which case a launch assumes it does. */
15197
15205
  readonly hasStoredLogin?: (identity: string) => boolean;
15206
+ /** Whether Claude Code can authenticate with the login an identity has stored, asked only for an identity that has one (`claudeBin` is the binary the launch would run). Undefined when it cannot be determined, and then the stored login is assumed good. Absent when the caller cannot ask. */
15207
+ readonly hasUsableLogin?: (identity: string, claudeBin: string) => boolean | undefined;
15198
15208
  }
15199
15209
  /** Inputs to `runLauncher`: a launch's inputs plus the port that spawns the child. */
15200
15210
  interface RunLauncherParams extends PrepareLaunchParams {
@@ -15206,6 +15216,8 @@ interface LaunchPoolDecision {
15206
15216
  readonly name: string;
15207
15217
  /** Every reason the ranking gave for the chosen member, in the ranking's order. */
15208
15218
  readonly reasons: readonly string[];
15219
+ /** The provider the ranking read for the chosen member, when the launch spends one in place of the member's Claude account: the member's quota was judged on that provider's slice of its usage, not on the Claude account's. Absent when the pick was ranked on the Claude account. */
15220
+ readonly provider?: string;
15209
15221
  /** The member a resumed conversation left, and why the ranking could not keep it. */
15210
15222
  readonly movedOff?: {
15211
15223
  readonly identity: string;
@@ -15335,16 +15347,17 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
15335
15347
  identity: zod.ZodOptional<zod.ZodString>;
15336
15348
  identityId: zod.ZodOptional<zod.ZodString>;
15337
15349
  identitySource: zod.ZodEnum<{
15350
+ env: "env";
15351
+ none: "none";
15338
15352
  "config-dir-escape-hatch": "config-dir-escape-hatch";
15339
15353
  argv: "argv";
15340
- env: "env";
15341
15354
  "directory-pin": "directory-pin";
15342
15355
  "active-identity-file": "active-identity-file";
15343
- none: "none";
15344
15356
  }>;
15345
15357
  pool: zod.ZodOptional<zod.ZodObject<{
15346
15358
  name: zod.ZodString;
15347
15359
  reasons: zod.ZodReadonly<zod.ZodArray<zod.ZodString>>;
15360
+ provider: zod.ZodOptional<zod.ZodString>;
15348
15361
  movedOff: zod.ZodOptional<zod.ZodObject<{
15349
15362
  identity: zod.ZodString;
15350
15363
  reason: zod.ZodString;
@@ -15393,13 +15406,13 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
15393
15406
  route: "route";
15394
15407
  account: "account";
15395
15408
  provider: "provider";
15396
- version: "version";
15397
- headroom: "headroom";
15398
15409
  duration: "duration";
15410
+ headroom: "headroom";
15399
15411
  project: "project";
15400
15412
  vcs: "vcs";
15401
15413
  effort: "effort";
15402
15414
  advisor: "advisor";
15415
+ version: "version";
15403
15416
  outputStyle: "outputStyle";
15404
15417
  cost: "cost";
15405
15418
  dailyCost: "dailyCost";
@@ -15410,10 +15423,10 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
15410
15423
  rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
15411
15424
  context: "context";
15412
15425
  quota: "quota";
15413
- environment: "environment";
15414
15426
  addedDirs: "addedDirs";
15415
15427
  gitFiles: "gitFiles";
15416
15428
  memory: "memory";
15429
+ environment: "environment";
15417
15430
  sessionTime: "sessionTime";
15418
15431
  promptCache: "promptCache";
15419
15432
  compactions: "compactions";
@@ -15436,10 +15449,10 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
15436
15449
  merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
15437
15450
  context: "context";
15438
15451
  quota: "quota";
15439
- environment: "environment";
15440
15452
  addedDirs: "addedDirs";
15441
15453
  gitFiles: "gitFiles";
15442
15454
  memory: "memory";
15455
+ environment: "environment";
15443
15456
  sessionTime: "sessionTime";
15444
15457
  promptCache: "promptCache";
15445
15458
  compactions: "compactions";
@@ -15453,10 +15466,10 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
15453
15466
  rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
15454
15467
  context: "context";
15455
15468
  quota: "quota";
15456
- environment: "environment";
15457
15469
  addedDirs: "addedDirs";
15458
15470
  gitFiles: "gitFiles";
15459
15471
  memory: "memory";
15472
+ environment: "environment";
15460
15473
  sessionTime: "sessionTime";
15461
15474
  promptCache: "promptCache";
15462
15475
  compactions: "compactions";
@@ -15515,10 +15528,10 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
15515
15528
  hidden: "hidden";
15516
15529
  }>>;
15517
15530
  value: zod.ZodOptional<zod.ZodEnum<{
15518
- remaining: "remaining";
15519
15531
  tokens: "tokens";
15520
15532
  both: "both";
15521
15533
  percent: "percent";
15534
+ remaining: "remaining";
15522
15535
  }>>;
15523
15536
  estimate: zod.ZodOptional<zod.ZodEnum<{
15524
15537
  never: "never";
@@ -15560,8 +15573,8 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
15560
15573
  }, zod_v4_core.$strict>>;
15561
15574
  usage: zod.ZodOptional<zod.ZodObject<{
15562
15575
  value: zod.ZodOptional<zod.ZodEnum<{
15563
- used: "used";
15564
15576
  remaining: "remaining";
15577
+ used: "used";
15565
15578
  }>>;
15566
15579
  bar: zod.ZodOptional<zod.ZodBoolean>;
15567
15580
  compact: zod.ZodOptional<zod.ZodBoolean>;
@@ -15922,8 +15935,8 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
15922
15935
  claudeVersion: zod.ZodOptional<zod.ZodObject<{
15923
15936
  version: zod.ZodString;
15924
15937
  source: zod.ZodEnum<{
15925
- flag: "flag";
15926
15938
  environment: "environment";
15939
+ flag: "flag";
15927
15940
  cascade: "cascade";
15928
15941
  }>;
15929
15942
  }, zod_v4_core.$strict>>;
@@ -16544,12 +16557,12 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
16544
16557
  identity: zod.ZodObject<{
16545
16558
  name: zod.ZodNullable<zod.ZodString>;
16546
16559
  source: zod.ZodEnum<{
16560
+ env: "env";
16561
+ none: "none";
16547
16562
  "config-dir-escape-hatch": "config-dir-escape-hatch";
16548
16563
  argv: "argv";
16549
- env: "env";
16550
16564
  "directory-pin": "directory-pin";
16551
16565
  "active-identity-file": "active-identity-file";
16552
- none: "none";
16553
16566
  }>;
16554
16567
  }, zod_v4_core.$strict>;
16555
16568
  pool: zod.ZodOptional<zod.ZodObject<{
@@ -16580,6 +16593,7 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
16580
16593
  kind: zod.ZodLiteral<"pay-per-use">;
16581
16594
  tier: zod.ZodOptional<zod.ZodString>;
16582
16595
  }, zod_v4_core.$strict>]>;
16596
+ provider: zod.ZodOptional<zod.ZodString>;
16583
16597
  reasons: zod.ZodArray<zod.ZodString>;
16584
16598
  }, zod_v4_core.$strict>>;
16585
16599
  missing: zod.ZodArray<zod.ZodString>;
@@ -16627,11 +16641,11 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
16627
16641
  "category-default": "category-default";
16628
16642
  }>;
16629
16643
  category: zod.ZodNullable<zod.ZodEnum<{
16630
- secret: "secret";
16631
16644
  runtime: "runtime";
16632
16645
  history: "history";
16633
16646
  knowledge: "knowledge";
16634
16647
  settings: "settings";
16648
+ secret: "secret";
16635
16649
  }>>;
16636
16650
  rule: zod.ZodOptional<zod.ZodObject<{
16637
16651
  key: zod.ZodString;
@@ -16831,8 +16845,8 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
16831
16845
  pinned: zod.ZodOptional<zod.ZodObject<{
16832
16846
  version: zod.ZodString;
16833
16847
  source: zod.ZodEnum<{
16834
- flag: "flag";
16835
16848
  environment: "environment";
16849
+ flag: "flag";
16836
16850
  cascade: "cascade";
16837
16851
  }>;
16838
16852
  installed: zod.ZodBoolean;
@@ -16851,9 +16865,11 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
16851
16865
  "config-profile": "config-profile";
16852
16866
  identity: "identity";
16853
16867
  provider: "provider";
16868
+ keychain: "keychain";
16869
+ headroom: "headroom";
16870
+ models: "models";
16854
16871
  frontdoor: "frontdoor";
16855
16872
  pool: "pool";
16856
- keychain: "keychain";
16857
16873
  "ambient-credential": "ambient-credential";
16858
16874
  "binary-discovery": "binary-discovery";
16859
16875
  "claude-shim": "claude-shim";
@@ -16863,8 +16879,6 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
16863
16879
  "directory-rules": "directory-rules";
16864
16880
  "categories-local": "categories-local";
16865
16881
  "active-identity": "active-identity";
16866
- headroom: "headroom";
16867
- models: "models";
16868
16882
  }>;
16869
16883
  subject: zod.ZodOptional<zod.ZodString>;
16870
16884
  severity: zod.ZodEnum<{
@@ -16908,6 +16922,7 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
16908
16922
  kind: zod.ZodLiteral<"pay-per-use">;
16909
16923
  tier: zod.ZodOptional<zod.ZodString>;
16910
16924
  }, zod_v4_core.$strict>]>;
16925
+ provider: zod.ZodOptional<zod.ZodString>;
16911
16926
  reasons: zod.ZodArray<zod.ZodString>;
16912
16927
  }, zod_v4_core.$strict>>;
16913
16928
  missing: zod.ZodArray<zod.ZodString>;
@@ -17062,16 +17077,17 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17062
17077
  identity: zod.ZodOptional<zod.ZodString>;
17063
17078
  identityId: zod.ZodOptional<zod.ZodString>;
17064
17079
  identitySource: zod.ZodEnum<{
17080
+ env: "env";
17081
+ none: "none";
17065
17082
  "config-dir-escape-hatch": "config-dir-escape-hatch";
17066
17083
  argv: "argv";
17067
- env: "env";
17068
17084
  "directory-pin": "directory-pin";
17069
17085
  "active-identity-file": "active-identity-file";
17070
- none: "none";
17071
17086
  }>;
17072
17087
  pool: zod.ZodOptional<zod.ZodObject<{
17073
17088
  name: zod.ZodString;
17074
17089
  reasons: zod.ZodReadonly<zod.ZodArray<zod.ZodString>>;
17090
+ provider: zod.ZodOptional<zod.ZodString>;
17075
17091
  movedOff: zod.ZodOptional<zod.ZodObject<{
17076
17092
  identity: zod.ZodString;
17077
17093
  reason: zod.ZodString;
@@ -17120,13 +17136,13 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17120
17136
  route: "route";
17121
17137
  account: "account";
17122
17138
  provider: "provider";
17123
- version: "version";
17124
- headroom: "headroom";
17125
17139
  duration: "duration";
17140
+ headroom: "headroom";
17126
17141
  project: "project";
17127
17142
  vcs: "vcs";
17128
17143
  effort: "effort";
17129
17144
  advisor: "advisor";
17145
+ version: "version";
17130
17146
  outputStyle: "outputStyle";
17131
17147
  cost: "cost";
17132
17148
  dailyCost: "dailyCost";
@@ -17137,10 +17153,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17137
17153
  rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
17138
17154
  context: "context";
17139
17155
  quota: "quota";
17140
- environment: "environment";
17141
17156
  addedDirs: "addedDirs";
17142
17157
  gitFiles: "gitFiles";
17143
17158
  memory: "memory";
17159
+ environment: "environment";
17144
17160
  sessionTime: "sessionTime";
17145
17161
  promptCache: "promptCache";
17146
17162
  compactions: "compactions";
@@ -17163,10 +17179,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17163
17179
  merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
17164
17180
  context: "context";
17165
17181
  quota: "quota";
17166
- environment: "environment";
17167
17182
  addedDirs: "addedDirs";
17168
17183
  gitFiles: "gitFiles";
17169
17184
  memory: "memory";
17185
+ environment: "environment";
17170
17186
  sessionTime: "sessionTime";
17171
17187
  promptCache: "promptCache";
17172
17188
  compactions: "compactions";
@@ -17180,10 +17196,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17180
17196
  rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
17181
17197
  context: "context";
17182
17198
  quota: "quota";
17183
- environment: "environment";
17184
17199
  addedDirs: "addedDirs";
17185
17200
  gitFiles: "gitFiles";
17186
17201
  memory: "memory";
17202
+ environment: "environment";
17187
17203
  sessionTime: "sessionTime";
17188
17204
  promptCache: "promptCache";
17189
17205
  compactions: "compactions";
@@ -17242,10 +17258,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17242
17258
  hidden: "hidden";
17243
17259
  }>>;
17244
17260
  value: zod.ZodOptional<zod.ZodEnum<{
17245
- remaining: "remaining";
17246
17261
  tokens: "tokens";
17247
17262
  both: "both";
17248
17263
  percent: "percent";
17264
+ remaining: "remaining";
17249
17265
  }>>;
17250
17266
  estimate: zod.ZodOptional<zod.ZodEnum<{
17251
17267
  never: "never";
@@ -17287,8 +17303,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17287
17303
  }, zod_v4_core.$strict>>;
17288
17304
  usage: zod.ZodOptional<zod.ZodObject<{
17289
17305
  value: zod.ZodOptional<zod.ZodEnum<{
17290
- used: "used";
17291
17306
  remaining: "remaining";
17307
+ used: "used";
17292
17308
  }>>;
17293
17309
  bar: zod.ZodOptional<zod.ZodBoolean>;
17294
17310
  compact: zod.ZodOptional<zod.ZodBoolean>;
@@ -17649,8 +17665,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17649
17665
  claudeVersion: zod.ZodOptional<zod.ZodObject<{
17650
17666
  version: zod.ZodString;
17651
17667
  source: zod.ZodEnum<{
17652
- flag: "flag";
17653
17668
  environment: "environment";
17669
+ flag: "flag";
17654
17670
  cascade: "cascade";
17655
17671
  }>;
17656
17672
  }, zod_v4_core.$strict>>;
@@ -17998,53 +18014,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17998
18014
  }, zod_v4_core.$strip>], "kind">]>;
17999
18015
  }, zod_v4_core.$strict>]>>>;
18000
18016
  description: zod.ZodOptional<zod.ZodString>;
18001
- models: zod.ZodOptional<zod.ZodObject<{
18002
- pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
18003
- virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
18004
- mode: zod.ZodEnum<{
18005
- ordered: "ordered";
18006
- "most-allowance": "most-allowance";
18007
- "soonest-reset": "soonest-reset";
18008
- spread: "spread";
18009
- adaptive: "adaptive";
18010
- "lowest-latency": "lowest-latency";
18011
- "highest-success": "highest-success";
18012
- cheapest: "cheapest";
18013
- }>;
18014
- members: zod.ZodArray<zod.ZodString>;
18015
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
18016
- tiers: zod.ZodOptional<zod.ZodObject<{
18017
- fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
18018
- opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
18019
- sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
18020
- haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
18021
- }, zod_v4_core.$strict>>;
18022
- prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
18023
- input: zod.ZodNumber;
18024
- output: zod.ZodNumber;
18025
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
18026
- hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
18027
- show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
18028
- same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
18029
- distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
18030
- families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
18031
- names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
18032
- mode: zod.ZodOptional<zod.ZodEnum<{
18033
- ordered: "ordered";
18034
- "most-allowance": "most-allowance";
18035
- "soonest-reset": "soonest-reset";
18036
- spread: "spread";
18037
- adaptive: "adaptive";
18038
- "lowest-latency": "lowest-latency";
18039
- "highest-success": "highest-success";
18040
- cheapest: "cheapest";
18041
- }>>;
18042
- context: zod.ZodOptional<zod.ZodNumber>;
18043
- vision: zod.ZodOptional<zod.ZodBoolean>;
18044
- tools: zod.ZodOptional<zod.ZodBoolean>;
18045
- thinking: zod.ZodOptional<zod.ZodBoolean>;
18046
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
18047
- }, zod_v4_core.$strict>>;
18048
18017
  extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
18049
18018
  categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
18050
18019
  all: zod.ZodOptional<zod.ZodBoolean>;
@@ -18091,13 +18060,13 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18091
18060
  route: "route";
18092
18061
  account: "account";
18093
18062
  provider: "provider";
18094
- version: "version";
18095
- headroom: "headroom";
18096
18063
  duration: "duration";
18064
+ headroom: "headroom";
18097
18065
  project: "project";
18098
18066
  vcs: "vcs";
18099
18067
  effort: "effort";
18100
18068
  advisor: "advisor";
18069
+ version: "version";
18101
18070
  outputStyle: "outputStyle";
18102
18071
  cost: "cost";
18103
18072
  dailyCost: "dailyCost";
@@ -18108,10 +18077,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18108
18077
  rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
18109
18078
  context: "context";
18110
18079
  quota: "quota";
18111
- environment: "environment";
18112
18080
  addedDirs: "addedDirs";
18113
18081
  gitFiles: "gitFiles";
18114
18082
  memory: "memory";
18083
+ environment: "environment";
18115
18084
  sessionTime: "sessionTime";
18116
18085
  promptCache: "promptCache";
18117
18086
  compactions: "compactions";
@@ -18134,10 +18103,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18134
18103
  merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
18135
18104
  context: "context";
18136
18105
  quota: "quota";
18137
- environment: "environment";
18138
18106
  addedDirs: "addedDirs";
18139
18107
  gitFiles: "gitFiles";
18140
18108
  memory: "memory";
18109
+ environment: "environment";
18141
18110
  sessionTime: "sessionTime";
18142
18111
  promptCache: "promptCache";
18143
18112
  compactions: "compactions";
@@ -18151,10 +18120,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18151
18120
  rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
18152
18121
  context: "context";
18153
18122
  quota: "quota";
18154
- environment: "environment";
18155
18123
  addedDirs: "addedDirs";
18156
18124
  gitFiles: "gitFiles";
18157
18125
  memory: "memory";
18126
+ environment: "environment";
18158
18127
  sessionTime: "sessionTime";
18159
18128
  promptCache: "promptCache";
18160
18129
  compactions: "compactions";
@@ -18213,10 +18182,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18213
18182
  hidden: "hidden";
18214
18183
  }>>;
18215
18184
  value: zod.ZodOptional<zod.ZodEnum<{
18216
- remaining: "remaining";
18217
18185
  tokens: "tokens";
18218
18186
  both: "both";
18219
18187
  percent: "percent";
18188
+ remaining: "remaining";
18220
18189
  }>>;
18221
18190
  estimate: zod.ZodOptional<zod.ZodEnum<{
18222
18191
  never: "never";
@@ -18258,8 +18227,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18258
18227
  }, zod_v4_core.$strict>>;
18259
18228
  usage: zod.ZodOptional<zod.ZodObject<{
18260
18229
  value: zod.ZodOptional<zod.ZodEnum<{
18261
- used: "used";
18262
18230
  remaining: "remaining";
18231
+ used: "used";
18263
18232
  }>>;
18264
18233
  bar: zod.ZodOptional<zod.ZodBoolean>;
18265
18234
  compact: zod.ZodOptional<zod.ZodBoolean>;
@@ -18617,50 +18586,97 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18617
18586
  }, zod_v4_core.$strict>>;
18618
18587
  }, zod_v4_core.$strict>>;
18619
18588
  }, zod_v4_core.$strict>>;
18620
- }, zod_v4_core.$strict>;
18621
- }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
18622
- set: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
18623
- name: zod.ZodString;
18624
- category: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodBoolean>>;
18625
- entry: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodBoolean>>;
18626
- extends: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodArray<zod.ZodString>, zod.ZodLiteral<false>]>>;
18627
- description: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodLiteral<false>]>>;
18628
- launch: zod.ZodOptional<zod.ZodObject<{
18629
- skipPermissions: zod.ZodOptional<zod.ZodBoolean>;
18630
- remoteControl: zod.ZodOptional<zod.ZodBoolean>;
18631
- headroom: zod.ZodOptional<zod.ZodBoolean>;
18632
- trackUsage: zod.ZodOptional<zod.ZodBoolean>;
18633
- provider: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodLiteral<false>]>>;
18634
- claudeVersion: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodLiteral<false>]>>;
18635
- delay: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodLiteral<false>]>>;
18636
- pause: zod.ZodOptional<zod.ZodBoolean>;
18637
- explain: zod.ZodOptional<zod.ZodBoolean>;
18638
- proxyBypass: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodArray<zod.ZodString>, zod.ZodLiteral<false>]>>;
18639
- statusline: zod.ZodOptional<zod.ZodObject<{
18640
- set: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
18641
- unset: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
18642
- }, zod_v4_core.$strict>>;
18643
- }, zod_v4_core.$strict>>;
18644
- }, zod_v4_core.$strict>, zod.ZodObject<{
18645
- action: zod.ZodLiteral<"updated">;
18646
- kind: zod.ZodLiteral<"profile">;
18647
- name: zod.ZodString;
18648
- value: zod.ZodObject<{
18649
- entries: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodObject<{
18650
- value: zod.ZodBoolean;
18651
- when: zod.ZodUnion<readonly [zod.ZodObject<{
18652
- newerThan: zod.ZodOptional<zod.ZodString>;
18653
- olderThan: zod.ZodOptional<zod.ZodString>;
18654
- maxSizeBytes: zod.ZodOptional<zod.ZodInt>;
18655
- branch: zod.ZodOptional<zod.ZodString>;
18656
- env: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
18657
- }, zod_v4_core.$strict>, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
18658
- kind: zod.ZodLiteral<"not">;
18659
- operand: typeof trilean.PredicateNodeSchema;
18660
- }, zod_v4_core.$strip>, zod.ZodObject<{
18661
- kind: zod.ZodLiteral<"and">;
18662
- left: typeof trilean.PredicateNodeSchema;
18663
- right: typeof trilean.PredicateNodeSchema;
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
+ }, zod_v4_core.$strict>;
18637
+ }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
18638
+ set: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
18639
+ name: zod.ZodString;
18640
+ category: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodBoolean>>;
18641
+ entry: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodBoolean>>;
18642
+ extends: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodArray<zod.ZodString>, zod.ZodLiteral<false>]>>;
18643
+ description: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodLiteral<false>]>>;
18644
+ launch: zod.ZodOptional<zod.ZodObject<{
18645
+ skipPermissions: zod.ZodOptional<zod.ZodBoolean>;
18646
+ remoteControl: zod.ZodOptional<zod.ZodBoolean>;
18647
+ headroom: zod.ZodOptional<zod.ZodBoolean>;
18648
+ trackUsage: zod.ZodOptional<zod.ZodBoolean>;
18649
+ provider: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodLiteral<false>]>>;
18650
+ claudeVersion: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodLiteral<false>]>>;
18651
+ delay: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodLiteral<false>]>>;
18652
+ pause: zod.ZodOptional<zod.ZodBoolean>;
18653
+ explain: zod.ZodOptional<zod.ZodBoolean>;
18654
+ proxyBypass: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodArray<zod.ZodString>, zod.ZodLiteral<false>]>>;
18655
+ statusline: zod.ZodOptional<zod.ZodObject<{
18656
+ set: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
18657
+ unset: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
18658
+ }, zod_v4_core.$strict>>;
18659
+ }, zod_v4_core.$strict>>;
18660
+ }, zod_v4_core.$strict>, zod.ZodObject<{
18661
+ action: zod.ZodLiteral<"updated">;
18662
+ kind: zod.ZodLiteral<"profile">;
18663
+ name: zod.ZodString;
18664
+ value: zod.ZodObject<{
18665
+ entries: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodObject<{
18666
+ value: zod.ZodBoolean;
18667
+ when: zod.ZodUnion<readonly [zod.ZodObject<{
18668
+ newerThan: zod.ZodOptional<zod.ZodString>;
18669
+ olderThan: zod.ZodOptional<zod.ZodString>;
18670
+ maxSizeBytes: zod.ZodOptional<zod.ZodInt>;
18671
+ branch: zod.ZodOptional<zod.ZodString>;
18672
+ env: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
18673
+ }, zod_v4_core.$strict>, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
18674
+ kind: zod.ZodLiteral<"not">;
18675
+ operand: typeof trilean.PredicateNodeSchema;
18676
+ }, zod_v4_core.$strip>, zod.ZodObject<{
18677
+ kind: zod.ZodLiteral<"and">;
18678
+ left: typeof trilean.PredicateNodeSchema;
18679
+ right: typeof trilean.PredicateNodeSchema;
18664
18680
  }, zod_v4_core.$strip>, zod.ZodObject<{
18665
18681
  kind: zod.ZodLiteral<"or">;
18666
18682
  left: typeof trilean.PredicateNodeSchema;
@@ -18722,53 +18738,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18722
18738
  }, zod_v4_core.$strip>], "kind">]>;
18723
18739
  }, zod_v4_core.$strict>]>>>;
18724
18740
  description: zod.ZodOptional<zod.ZodString>;
18725
- models: zod.ZodOptional<zod.ZodObject<{
18726
- pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
18727
- virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
18728
- mode: zod.ZodEnum<{
18729
- ordered: "ordered";
18730
- "most-allowance": "most-allowance";
18731
- "soonest-reset": "soonest-reset";
18732
- spread: "spread";
18733
- adaptive: "adaptive";
18734
- "lowest-latency": "lowest-latency";
18735
- "highest-success": "highest-success";
18736
- cheapest: "cheapest";
18737
- }>;
18738
- members: zod.ZodArray<zod.ZodString>;
18739
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
18740
- tiers: zod.ZodOptional<zod.ZodObject<{
18741
- fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
18742
- opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
18743
- sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
18744
- haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
18745
- }, zod_v4_core.$strict>>;
18746
- prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
18747
- input: zod.ZodNumber;
18748
- output: zod.ZodNumber;
18749
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
18750
- hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
18751
- show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
18752
- same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
18753
- distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
18754
- families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
18755
- names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
18756
- mode: zod.ZodOptional<zod.ZodEnum<{
18757
- ordered: "ordered";
18758
- "most-allowance": "most-allowance";
18759
- "soonest-reset": "soonest-reset";
18760
- spread: "spread";
18761
- adaptive: "adaptive";
18762
- "lowest-latency": "lowest-latency";
18763
- "highest-success": "highest-success";
18764
- cheapest: "cheapest";
18765
- }>>;
18766
- context: zod.ZodOptional<zod.ZodNumber>;
18767
- vision: zod.ZodOptional<zod.ZodBoolean>;
18768
- tools: zod.ZodOptional<zod.ZodBoolean>;
18769
- thinking: zod.ZodOptional<zod.ZodBoolean>;
18770
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
18771
- }, zod_v4_core.$strict>>;
18772
18741
  extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
18773
18742
  categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
18774
18743
  all: zod.ZodOptional<zod.ZodBoolean>;
@@ -18815,13 +18784,13 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18815
18784
  route: "route";
18816
18785
  account: "account";
18817
18786
  provider: "provider";
18818
- version: "version";
18819
- headroom: "headroom";
18820
18787
  duration: "duration";
18788
+ headroom: "headroom";
18821
18789
  project: "project";
18822
18790
  vcs: "vcs";
18823
18791
  effort: "effort";
18824
18792
  advisor: "advisor";
18793
+ version: "version";
18825
18794
  outputStyle: "outputStyle";
18826
18795
  cost: "cost";
18827
18796
  dailyCost: "dailyCost";
@@ -18832,10 +18801,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18832
18801
  rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
18833
18802
  context: "context";
18834
18803
  quota: "quota";
18835
- environment: "environment";
18836
18804
  addedDirs: "addedDirs";
18837
18805
  gitFiles: "gitFiles";
18838
18806
  memory: "memory";
18807
+ environment: "environment";
18839
18808
  sessionTime: "sessionTime";
18840
18809
  promptCache: "promptCache";
18841
18810
  compactions: "compactions";
@@ -18858,10 +18827,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18858
18827
  merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
18859
18828
  context: "context";
18860
18829
  quota: "quota";
18861
- environment: "environment";
18862
18830
  addedDirs: "addedDirs";
18863
18831
  gitFiles: "gitFiles";
18864
18832
  memory: "memory";
18833
+ environment: "environment";
18865
18834
  sessionTime: "sessionTime";
18866
18835
  promptCache: "promptCache";
18867
18836
  compactions: "compactions";
@@ -18875,10 +18844,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18875
18844
  rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
18876
18845
  context: "context";
18877
18846
  quota: "quota";
18878
- environment: "environment";
18879
18847
  addedDirs: "addedDirs";
18880
18848
  gitFiles: "gitFiles";
18881
18849
  memory: "memory";
18850
+ environment: "environment";
18882
18851
  sessionTime: "sessionTime";
18883
18852
  promptCache: "promptCache";
18884
18853
  compactions: "compactions";
@@ -18937,10 +18906,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18937
18906
  hidden: "hidden";
18938
18907
  }>>;
18939
18908
  value: zod.ZodOptional<zod.ZodEnum<{
18940
- remaining: "remaining";
18941
18909
  tokens: "tokens";
18942
18910
  both: "both";
18943
18911
  percent: "percent";
18912
+ remaining: "remaining";
18944
18913
  }>>;
18945
18914
  estimate: zod.ZodOptional<zod.ZodEnum<{
18946
18915
  never: "never";
@@ -18982,8 +18951,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18982
18951
  }, zod_v4_core.$strict>>;
18983
18952
  usage: zod.ZodOptional<zod.ZodObject<{
18984
18953
  value: zod.ZodOptional<zod.ZodEnum<{
18985
- used: "used";
18986
18954
  remaining: "remaining";
18955
+ used: "used";
18987
18956
  }>>;
18988
18957
  bar: zod.ZodOptional<zod.ZodBoolean>;
18989
18958
  compact: zod.ZodOptional<zod.ZodBoolean>;
@@ -19341,6 +19310,53 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
19341
19310
  }, zod_v4_core.$strict>>;
19342
19311
  }, zod_v4_core.$strict>>;
19343
19312
  }, 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>>;
19344
19360
  }, zod_v4_core.$strict>;
19345
19361
  }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
19346
19362
  remove: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
@@ -19921,53 +19937,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
19921
19937
  key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
19922
19938
  }, zod_v4_core.$strip>], "kind">]>;
19923
19939
  }, zod_v4_core.$strict>]>>>;
19924
- models: zod.ZodOptional<zod.ZodObject<{
19925
- pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
19926
- virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
19927
- mode: zod.ZodEnum<{
19928
- ordered: "ordered";
19929
- "most-allowance": "most-allowance";
19930
- "soonest-reset": "soonest-reset";
19931
- spread: "spread";
19932
- adaptive: "adaptive";
19933
- "lowest-latency": "lowest-latency";
19934
- "highest-success": "highest-success";
19935
- cheapest: "cheapest";
19936
- }>;
19937
- members: zod.ZodArray<zod.ZodString>;
19938
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
19939
- tiers: zod.ZodOptional<zod.ZodObject<{
19940
- fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
19941
- opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
19942
- sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
19943
- haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
19944
- }, zod_v4_core.$strict>>;
19945
- prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
19946
- input: zod.ZodNumber;
19947
- output: zod.ZodNumber;
19948
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
19949
- hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
19950
- show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
19951
- same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
19952
- distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
19953
- families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
19954
- names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
19955
- mode: zod.ZodOptional<zod.ZodEnum<{
19956
- ordered: "ordered";
19957
- "most-allowance": "most-allowance";
19958
- "soonest-reset": "soonest-reset";
19959
- spread: "spread";
19960
- adaptive: "adaptive";
19961
- "lowest-latency": "lowest-latency";
19962
- "highest-success": "highest-success";
19963
- cheapest: "cheapest";
19964
- }>>;
19965
- context: zod.ZodOptional<zod.ZodNumber>;
19966
- vision: zod.ZodOptional<zod.ZodBoolean>;
19967
- tools: zod.ZodOptional<zod.ZodBoolean>;
19968
- thinking: zod.ZodOptional<zod.ZodBoolean>;
19969
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
19970
- }, zod_v4_core.$strict>>;
19971
19940
  $schema: zod.ZodOptional<zod.ZodString>;
19972
19941
  extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
19973
19942
  categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
@@ -20015,13 +19984,13 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20015
19984
  route: "route";
20016
19985
  account: "account";
20017
19986
  provider: "provider";
20018
- version: "version";
20019
- headroom: "headroom";
20020
19987
  duration: "duration";
19988
+ headroom: "headroom";
20021
19989
  project: "project";
20022
19990
  vcs: "vcs";
20023
19991
  effort: "effort";
20024
19992
  advisor: "advisor";
19993
+ version: "version";
20025
19994
  outputStyle: "outputStyle";
20026
19995
  cost: "cost";
20027
19996
  dailyCost: "dailyCost";
@@ -20032,10 +20001,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20032
20001
  rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
20033
20002
  context: "context";
20034
20003
  quota: "quota";
20035
- environment: "environment";
20036
20004
  addedDirs: "addedDirs";
20037
20005
  gitFiles: "gitFiles";
20038
20006
  memory: "memory";
20007
+ environment: "environment";
20039
20008
  sessionTime: "sessionTime";
20040
20009
  promptCache: "promptCache";
20041
20010
  compactions: "compactions";
@@ -20058,10 +20027,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20058
20027
  merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
20059
20028
  context: "context";
20060
20029
  quota: "quota";
20061
- environment: "environment";
20062
20030
  addedDirs: "addedDirs";
20063
20031
  gitFiles: "gitFiles";
20064
20032
  memory: "memory";
20033
+ environment: "environment";
20065
20034
  sessionTime: "sessionTime";
20066
20035
  promptCache: "promptCache";
20067
20036
  compactions: "compactions";
@@ -20075,10 +20044,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20075
20044
  rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
20076
20045
  context: "context";
20077
20046
  quota: "quota";
20078
- environment: "environment";
20079
20047
  addedDirs: "addedDirs";
20080
20048
  gitFiles: "gitFiles";
20081
20049
  memory: "memory";
20050
+ environment: "environment";
20082
20051
  sessionTime: "sessionTime";
20083
20052
  promptCache: "promptCache";
20084
20053
  compactions: "compactions";
@@ -20137,10 +20106,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20137
20106
  hidden: "hidden";
20138
20107
  }>>;
20139
20108
  value: zod.ZodOptional<zod.ZodEnum<{
20140
- remaining: "remaining";
20141
20109
  tokens: "tokens";
20142
20110
  both: "both";
20143
20111
  percent: "percent";
20112
+ remaining: "remaining";
20144
20113
  }>>;
20145
20114
  estimate: zod.ZodOptional<zod.ZodEnum<{
20146
20115
  never: "never";
@@ -20182,8 +20151,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20182
20151
  }, zod_v4_core.$strict>>;
20183
20152
  usage: zod.ZodOptional<zod.ZodObject<{
20184
20153
  value: zod.ZodOptional<zod.ZodEnum<{
20185
- used: "used";
20186
20154
  remaining: "remaining";
20155
+ used: "used";
20187
20156
  }>>;
20188
20157
  bar: zod.ZodOptional<zod.ZodBoolean>;
20189
20158
  compact: zod.ZodOptional<zod.ZodBoolean>;
@@ -20541,6 +20510,53 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20541
20510
  }, zod_v4_core.$strict>>;
20542
20511
  }, zod_v4_core.$strict>>;
20543
20512
  }, 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>>;
20544
20560
  path: zod.ZodString;
20545
20561
  configProfile: zod.ZodOptional<zod.ZodString>;
20546
20562
  identity: zod.ZodOptional<zod.ZodString>;
@@ -20702,53 +20718,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20702
20718
  key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
20703
20719
  }, zod_v4_core.$strip>], "kind">]>;
20704
20720
  }, zod_v4_core.$strict>]>>>;
20705
- models: zod.ZodOptional<zod.ZodObject<{
20706
- pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
20707
- virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
20708
- mode: zod.ZodEnum<{
20709
- ordered: "ordered";
20710
- "most-allowance": "most-allowance";
20711
- "soonest-reset": "soonest-reset";
20712
- spread: "spread";
20713
- adaptive: "adaptive";
20714
- "lowest-latency": "lowest-latency";
20715
- "highest-success": "highest-success";
20716
- cheapest: "cheapest";
20717
- }>;
20718
- members: zod.ZodArray<zod.ZodString>;
20719
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
20720
- tiers: zod.ZodOptional<zod.ZodObject<{
20721
- fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
20722
- opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
20723
- sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
20724
- haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
20725
- }, zod_v4_core.$strict>>;
20726
- prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
20727
- input: zod.ZodNumber;
20728
- output: zod.ZodNumber;
20729
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
20730
- hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
20731
- show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
20732
- same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
20733
- distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
20734
- families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
20735
- names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
20736
- mode: zod.ZodOptional<zod.ZodEnum<{
20737
- ordered: "ordered";
20738
- "most-allowance": "most-allowance";
20739
- "soonest-reset": "soonest-reset";
20740
- spread: "spread";
20741
- adaptive: "adaptive";
20742
- "lowest-latency": "lowest-latency";
20743
- "highest-success": "highest-success";
20744
- cheapest: "cheapest";
20745
- }>>;
20746
- context: zod.ZodOptional<zod.ZodNumber>;
20747
- vision: zod.ZodOptional<zod.ZodBoolean>;
20748
- tools: zod.ZodOptional<zod.ZodBoolean>;
20749
- thinking: zod.ZodOptional<zod.ZodBoolean>;
20750
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
20751
- }, zod_v4_core.$strict>>;
20752
20721
  $schema: zod.ZodOptional<zod.ZodString>;
20753
20722
  extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
20754
20723
  categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
@@ -20796,13 +20765,13 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20796
20765
  route: "route";
20797
20766
  account: "account";
20798
20767
  provider: "provider";
20799
- version: "version";
20800
- headroom: "headroom";
20801
20768
  duration: "duration";
20769
+ headroom: "headroom";
20802
20770
  project: "project";
20803
20771
  vcs: "vcs";
20804
20772
  effort: "effort";
20805
20773
  advisor: "advisor";
20774
+ version: "version";
20806
20775
  outputStyle: "outputStyle";
20807
20776
  cost: "cost";
20808
20777
  dailyCost: "dailyCost";
@@ -20813,10 +20782,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20813
20782
  rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
20814
20783
  context: "context";
20815
20784
  quota: "quota";
20816
- environment: "environment";
20817
20785
  addedDirs: "addedDirs";
20818
20786
  gitFiles: "gitFiles";
20819
20787
  memory: "memory";
20788
+ environment: "environment";
20820
20789
  sessionTime: "sessionTime";
20821
20790
  promptCache: "promptCache";
20822
20791
  compactions: "compactions";
@@ -20839,10 +20808,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20839
20808
  merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
20840
20809
  context: "context";
20841
20810
  quota: "quota";
20842
- environment: "environment";
20843
20811
  addedDirs: "addedDirs";
20844
20812
  gitFiles: "gitFiles";
20845
20813
  memory: "memory";
20814
+ environment: "environment";
20846
20815
  sessionTime: "sessionTime";
20847
20816
  promptCache: "promptCache";
20848
20817
  compactions: "compactions";
@@ -20856,10 +20825,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20856
20825
  rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
20857
20826
  context: "context";
20858
20827
  quota: "quota";
20859
- environment: "environment";
20860
20828
  addedDirs: "addedDirs";
20861
20829
  gitFiles: "gitFiles";
20862
20830
  memory: "memory";
20831
+ environment: "environment";
20863
20832
  sessionTime: "sessionTime";
20864
20833
  promptCache: "promptCache";
20865
20834
  compactions: "compactions";
@@ -20918,10 +20887,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20918
20887
  hidden: "hidden";
20919
20888
  }>>;
20920
20889
  value: zod.ZodOptional<zod.ZodEnum<{
20921
- remaining: "remaining";
20922
20890
  tokens: "tokens";
20923
20891
  both: "both";
20924
20892
  percent: "percent";
20893
+ remaining: "remaining";
20925
20894
  }>>;
20926
20895
  estimate: zod.ZodOptional<zod.ZodEnum<{
20927
20896
  never: "never";
@@ -20963,8 +20932,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20963
20932
  }, zod_v4_core.$strict>>;
20964
20933
  usage: zod.ZodOptional<zod.ZodObject<{
20965
20934
  value: zod.ZodOptional<zod.ZodEnum<{
20966
- used: "used";
20967
20935
  remaining: "remaining";
20936
+ used: "used";
20968
20937
  }>>;
20969
20938
  bar: zod.ZodOptional<zod.ZodBoolean>;
20970
20939
  compact: zod.ZodOptional<zod.ZodBoolean>;
@@ -21322,6 +21291,53 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21322
21291
  }, zod_v4_core.$strict>>;
21323
21292
  }, zod_v4_core.$strict>>;
21324
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]>>>;
21340
+ }, zod_v4_core.$strict>>;
21325
21341
  path: zod.ZodString;
21326
21342
  configProfile: zod.ZodOptional<zod.ZodString>;
21327
21343
  identity: zod.ZodOptional<zod.ZodString>;
@@ -21414,9 +21430,9 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21414
21430
  current: zod.ZodString;
21415
21431
  latest: zod.ZodString;
21416
21432
  action: zod.ZodEnum<{
21433
+ updated: "updated";
21417
21434
  current: "current";
21418
21435
  available: "available";
21419
- updated: "updated";
21420
21436
  }>;
21421
21437
  }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
21422
21438
  };
@@ -21619,12 +21635,12 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21619
21635
  identity: zod.ZodObject<{
21620
21636
  name: zod.ZodNullable<zod.ZodString>;
21621
21637
  source: zod.ZodEnum<{
21638
+ env: "env";
21639
+ none: "none";
21622
21640
  "config-dir-escape-hatch": "config-dir-escape-hatch";
21623
21641
  argv: "argv";
21624
- env: "env";
21625
21642
  "directory-pin": "directory-pin";
21626
21643
  "active-identity-file": "active-identity-file";
21627
- none: "none";
21628
21644
  }>;
21629
21645
  }, zod_v4_core.$strict>;
21630
21646
  pool: zod.ZodOptional<zod.ZodObject<{
@@ -21655,6 +21671,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21655
21671
  kind: zod.ZodLiteral<"pay-per-use">;
21656
21672
  tier: zod.ZodOptional<zod.ZodString>;
21657
21673
  }, zod_v4_core.$strict>]>;
21674
+ provider: zod.ZodOptional<zod.ZodString>;
21658
21675
  reasons: zod.ZodArray<zod.ZodString>;
21659
21676
  }, zod_v4_core.$strict>>;
21660
21677
  missing: zod.ZodArray<zod.ZodString>;
@@ -21702,11 +21719,11 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21702
21719
  "category-default": "category-default";
21703
21720
  }>;
21704
21721
  category: zod.ZodNullable<zod.ZodEnum<{
21705
- secret: "secret";
21706
21722
  runtime: "runtime";
21707
21723
  history: "history";
21708
21724
  knowledge: "knowledge";
21709
21725
  settings: "settings";
21726
+ secret: "secret";
21710
21727
  }>>;
21711
21728
  rule: zod.ZodOptional<zod.ZodObject<{
21712
21729
  key: zod.ZodString;
@@ -21906,8 +21923,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21906
21923
  pinned: zod.ZodOptional<zod.ZodObject<{
21907
21924
  version: zod.ZodString;
21908
21925
  source: zod.ZodEnum<{
21909
- flag: "flag";
21910
21926
  environment: "environment";
21927
+ flag: "flag";
21911
21928
  cascade: "cascade";
21912
21929
  }>;
21913
21930
  installed: zod.ZodBoolean;
@@ -21926,9 +21943,11 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21926
21943
  "config-profile": "config-profile";
21927
21944
  identity: "identity";
21928
21945
  provider: "provider";
21946
+ keychain: "keychain";
21947
+ headroom: "headroom";
21948
+ models: "models";
21929
21949
  frontdoor: "frontdoor";
21930
21950
  pool: "pool";
21931
- keychain: "keychain";
21932
21951
  "ambient-credential": "ambient-credential";
21933
21952
  "binary-discovery": "binary-discovery";
21934
21953
  "claude-shim": "claude-shim";
@@ -21938,8 +21957,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21938
21957
  "directory-rules": "directory-rules";
21939
21958
  "categories-local": "categories-local";
21940
21959
  "active-identity": "active-identity";
21941
- headroom: "headroom";
21942
- models: "models";
21943
21960
  }>;
21944
21961
  subject: zod.ZodOptional<zod.ZodString>;
21945
21962
  severity: zod.ZodEnum<{
@@ -21983,6 +22000,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21983
22000
  kind: zod.ZodLiteral<"pay-per-use">;
21984
22001
  tier: zod.ZodOptional<zod.ZodString>;
21985
22002
  }, zod_v4_core.$strict>]>;
22003
+ provider: zod.ZodOptional<zod.ZodString>;
21986
22004
  reasons: zod.ZodArray<zod.ZodString>;
21987
22005
  }, zod_v4_core.$strict>>;
21988
22006
  missing: zod.ZodArray<zod.ZodString>;
@@ -22703,55 +22721,8 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
22703
22721
  kind: z.ZodLiteral<"treeReference">;
22704
22722
  key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
22705
22723
  }, z.core.$strip>], "kind">]>;
22706
- }, z.core.$strict>]>>>;
22707
- description: z.ZodOptional<z.ZodString>;
22708
- models: z.ZodOptional<z.ZodObject<{
22709
- pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
22710
- virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
22711
- mode: z.ZodEnum<{
22712
- ordered: "ordered";
22713
- "most-allowance": "most-allowance";
22714
- "soonest-reset": "soonest-reset";
22715
- spread: "spread";
22716
- adaptive: "adaptive";
22717
- "lowest-latency": "lowest-latency";
22718
- "highest-success": "highest-success";
22719
- cheapest: "cheapest";
22720
- }>;
22721
- members: z.ZodArray<z.ZodString>;
22722
- }, z.core.$strict>, z.ZodNull]>>>;
22723
- tiers: z.ZodOptional<z.ZodObject<{
22724
- fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
22725
- opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
22726
- sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
22727
- haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
22728
- }, z.core.$strict>>;
22729
- prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
22730
- input: z.ZodNumber;
22731
- output: z.ZodNumber;
22732
- }, z.core.$strict>, z.ZodNull]>>>;
22733
- hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
22734
- show: z.ZodOptional<z.ZodArray<z.ZodString>>;
22735
- same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
22736
- distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
22737
- families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
22738
- names: z.ZodOptional<z.ZodArray<z.ZodString>>;
22739
- mode: z.ZodOptional<z.ZodEnum<{
22740
- ordered: "ordered";
22741
- "most-allowance": "most-allowance";
22742
- "soonest-reset": "soonest-reset";
22743
- spread: "spread";
22744
- adaptive: "adaptive";
22745
- "lowest-latency": "lowest-latency";
22746
- "highest-success": "highest-success";
22747
- cheapest: "cheapest";
22748
- }>>;
22749
- context: z.ZodOptional<z.ZodNumber>;
22750
- vision: z.ZodOptional<z.ZodBoolean>;
22751
- tools: z.ZodOptional<z.ZodBoolean>;
22752
- thinking: z.ZodOptional<z.ZodBoolean>;
22753
- }, z.core.$strict>, z.ZodNull]>>>;
22754
- }, z.core.$strict>>;
22724
+ }, z.core.$strict>]>>>;
22725
+ description: z.ZodOptional<z.ZodString>;
22755
22726
  extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
22756
22727
  categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
22757
22728
  all: z.ZodOptional<z.ZodBoolean>;
@@ -22798,13 +22769,13 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
22798
22769
  route: "route";
22799
22770
  account: "account";
22800
22771
  provider: "provider";
22801
- version: "version";
22802
- headroom: "headroom";
22803
22772
  duration: "duration";
22773
+ headroom: "headroom";
22804
22774
  project: "project";
22805
22775
  vcs: "vcs";
22806
22776
  effort: "effort";
22807
22777
  advisor: "advisor";
22778
+ version: "version";
22808
22779
  outputStyle: "outputStyle";
22809
22780
  cost: "cost";
22810
22781
  dailyCost: "dailyCost";
@@ -22815,10 +22786,10 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
22815
22786
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
22816
22787
  context: "context";
22817
22788
  quota: "quota";
22818
- environment: "environment";
22819
22789
  addedDirs: "addedDirs";
22820
22790
  gitFiles: "gitFiles";
22821
22791
  memory: "memory";
22792
+ environment: "environment";
22822
22793
  sessionTime: "sessionTime";
22823
22794
  promptCache: "promptCache";
22824
22795
  compactions: "compactions";
@@ -22841,10 +22812,10 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
22841
22812
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
22842
22813
  context: "context";
22843
22814
  quota: "quota";
22844
- environment: "environment";
22845
22815
  addedDirs: "addedDirs";
22846
22816
  gitFiles: "gitFiles";
22847
22817
  memory: "memory";
22818
+ environment: "environment";
22848
22819
  sessionTime: "sessionTime";
22849
22820
  promptCache: "promptCache";
22850
22821
  compactions: "compactions";
@@ -22858,10 +22829,10 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
22858
22829
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
22859
22830
  context: "context";
22860
22831
  quota: "quota";
22861
- environment: "environment";
22862
22832
  addedDirs: "addedDirs";
22863
22833
  gitFiles: "gitFiles";
22864
22834
  memory: "memory";
22835
+ environment: "environment";
22865
22836
  sessionTime: "sessionTime";
22866
22837
  promptCache: "promptCache";
22867
22838
  compactions: "compactions";
@@ -22920,10 +22891,10 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
22920
22891
  hidden: "hidden";
22921
22892
  }>>;
22922
22893
  value: z.ZodOptional<z.ZodEnum<{
22923
- remaining: "remaining";
22924
22894
  tokens: "tokens";
22925
22895
  both: "both";
22926
22896
  percent: "percent";
22897
+ remaining: "remaining";
22927
22898
  }>>;
22928
22899
  estimate: z.ZodOptional<z.ZodEnum<{
22929
22900
  never: "never";
@@ -22965,8 +22936,8 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
22965
22936
  }, z.core.$strict>>;
22966
22937
  usage: z.ZodOptional<z.ZodObject<{
22967
22938
  value: z.ZodOptional<z.ZodEnum<{
22968
- used: "used";
22969
22939
  remaining: "remaining";
22940
+ used: "used";
22970
22941
  }>>;
22971
22942
  bar: z.ZodOptional<z.ZodBoolean>;
22972
22943
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -23324,6 +23295,53 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
23324
23295
  }, z.core.$strict>>;
23325
23296
  }, z.core.$strict>>;
23326
23297
  }, 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>>;
23327
23345
  }, z.core.$strict>;
23328
23346
  }, z.core.$strict>;
23329
23347
  /** `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. */
@@ -23431,53 +23449,6 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
23431
23449
  }, z.core.$strip>], "kind">]>;
23432
23450
  }, z.core.$strict>]>>>;
23433
23451
  description: z.ZodOptional<z.ZodString>;
23434
- models: z.ZodOptional<z.ZodObject<{
23435
- pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
23436
- virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
23437
- mode: z.ZodEnum<{
23438
- ordered: "ordered";
23439
- "most-allowance": "most-allowance";
23440
- "soonest-reset": "soonest-reset";
23441
- spread: "spread";
23442
- adaptive: "adaptive";
23443
- "lowest-latency": "lowest-latency";
23444
- "highest-success": "highest-success";
23445
- cheapest: "cheapest";
23446
- }>;
23447
- members: z.ZodArray<z.ZodString>;
23448
- }, z.core.$strict>, z.ZodNull]>>>;
23449
- tiers: z.ZodOptional<z.ZodObject<{
23450
- fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
23451
- opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
23452
- sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
23453
- haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
23454
- }, z.core.$strict>>;
23455
- prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
23456
- input: z.ZodNumber;
23457
- output: z.ZodNumber;
23458
- }, z.core.$strict>, z.ZodNull]>>>;
23459
- hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
23460
- show: z.ZodOptional<z.ZodArray<z.ZodString>>;
23461
- same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
23462
- distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
23463
- families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
23464
- names: z.ZodOptional<z.ZodArray<z.ZodString>>;
23465
- mode: z.ZodOptional<z.ZodEnum<{
23466
- ordered: "ordered";
23467
- "most-allowance": "most-allowance";
23468
- "soonest-reset": "soonest-reset";
23469
- spread: "spread";
23470
- adaptive: "adaptive";
23471
- "lowest-latency": "lowest-latency";
23472
- "highest-success": "highest-success";
23473
- cheapest: "cheapest";
23474
- }>>;
23475
- context: z.ZodOptional<z.ZodNumber>;
23476
- vision: z.ZodOptional<z.ZodBoolean>;
23477
- tools: z.ZodOptional<z.ZodBoolean>;
23478
- thinking: z.ZodOptional<z.ZodBoolean>;
23479
- }, z.core.$strict>, z.ZodNull]>>>;
23480
- }, z.core.$strict>>;
23481
23452
  extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
23482
23453
  categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
23483
23454
  all: z.ZodOptional<z.ZodBoolean>;
@@ -23524,13 +23495,13 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
23524
23495
  route: "route";
23525
23496
  account: "account";
23526
23497
  provider: "provider";
23527
- version: "version";
23528
- headroom: "headroom";
23529
23498
  duration: "duration";
23499
+ headroom: "headroom";
23530
23500
  project: "project";
23531
23501
  vcs: "vcs";
23532
23502
  effort: "effort";
23533
23503
  advisor: "advisor";
23504
+ version: "version";
23534
23505
  outputStyle: "outputStyle";
23535
23506
  cost: "cost";
23536
23507
  dailyCost: "dailyCost";
@@ -23541,10 +23512,10 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
23541
23512
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
23542
23513
  context: "context";
23543
23514
  quota: "quota";
23544
- environment: "environment";
23545
23515
  addedDirs: "addedDirs";
23546
23516
  gitFiles: "gitFiles";
23547
23517
  memory: "memory";
23518
+ environment: "environment";
23548
23519
  sessionTime: "sessionTime";
23549
23520
  promptCache: "promptCache";
23550
23521
  compactions: "compactions";
@@ -23567,10 +23538,10 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
23567
23538
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
23568
23539
  context: "context";
23569
23540
  quota: "quota";
23570
- environment: "environment";
23571
23541
  addedDirs: "addedDirs";
23572
23542
  gitFiles: "gitFiles";
23573
23543
  memory: "memory";
23544
+ environment: "environment";
23574
23545
  sessionTime: "sessionTime";
23575
23546
  promptCache: "promptCache";
23576
23547
  compactions: "compactions";
@@ -23584,10 +23555,10 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
23584
23555
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
23585
23556
  context: "context";
23586
23557
  quota: "quota";
23587
- environment: "environment";
23588
23558
  addedDirs: "addedDirs";
23589
23559
  gitFiles: "gitFiles";
23590
23560
  memory: "memory";
23561
+ environment: "environment";
23591
23562
  sessionTime: "sessionTime";
23592
23563
  promptCache: "promptCache";
23593
23564
  compactions: "compactions";
@@ -23646,10 +23617,10 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
23646
23617
  hidden: "hidden";
23647
23618
  }>>;
23648
23619
  value: z.ZodOptional<z.ZodEnum<{
23649
- remaining: "remaining";
23650
23620
  tokens: "tokens";
23651
23621
  both: "both";
23652
23622
  percent: "percent";
23623
+ remaining: "remaining";
23653
23624
  }>>;
23654
23625
  estimate: z.ZodOptional<z.ZodEnum<{
23655
23626
  never: "never";
@@ -23691,8 +23662,8 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
23691
23662
  }, z.core.$strict>>;
23692
23663
  usage: z.ZodOptional<z.ZodObject<{
23693
23664
  value: z.ZodOptional<z.ZodEnum<{
23694
- used: "used";
23695
23665
  remaining: "remaining";
23666
+ used: "used";
23696
23667
  }>>;
23697
23668
  bar: z.ZodOptional<z.ZodBoolean>;
23698
23669
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -24050,6 +24021,53 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
24050
24021
  }, z.core.$strict>>;
24051
24022
  }, z.core.$strict>>;
24052
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]>>>;
24070
+ }, z.core.$strict>>;
24053
24071
  }, z.core.$strict>;
24054
24072
  }, z.core.$strict>;
24055
24073
  declare const ConfigProfileRemoveInputSchema: z.ZodObject<{
@@ -24594,91 +24612,44 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
24594
24612
  }>;
24595
24613
  left: typeof trilean.ExpressionNodeSchema;
24596
24614
  right: typeof trilean.ExpressionNodeSchema;
24597
- }, z.core.$strip>, z.ZodObject<{
24598
- kind: z.ZodLiteral<"textCompare">;
24599
- op: z.ZodEnum<{
24600
- equals: "equals";
24601
- notEquals: "notEquals";
24602
- matches: "matches";
24603
- notMatches: "notMatches";
24604
- portableMatches: "portableMatches";
24605
- portableNotMatches: "portableNotMatches";
24606
- }>;
24607
- left: typeof trilean.ExpressionNodeSchema;
24608
- right: typeof trilean.ExpressionNodeSchema;
24609
- }, z.core.$strip>, z.ZodObject<{
24610
- kind: z.ZodLiteral<"memberOf">;
24611
- op: z.ZodEnum<{
24612
- in: "in";
24613
- notIn: "notIn";
24614
- }>;
24615
- operand: typeof trilean.ExpressionNodeSchema;
24616
- candidates: z.ZodArray<typeof trilean.ExpressionNodeSchema>;
24617
- }, z.core.$strip>, z.ZodObject<{
24618
- kind: z.ZodLiteral<"exists">;
24619
- operand: typeof trilean.ExpressionNodeSchema;
24620
- }, z.core.$strip>, z.ZodObject<{
24621
- kind: z.ZodLiteral<"some">;
24622
- collection: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
24623
- item: typeof trilean.PredicateNodeSchema;
24624
- filter: z.ZodOptional<typeof trilean.PredicateNodeSchema>;
24625
- }, z.core.$strip>, z.ZodObject<{
24626
- kind: z.ZodLiteral<"every">;
24627
- collection: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
24628
- item: typeof trilean.PredicateNodeSchema;
24629
- filter: z.ZodOptional<typeof trilean.PredicateNodeSchema>;
24630
- }, z.core.$strip>, z.ZodObject<{
24631
- kind: z.ZodLiteral<"treeReference">;
24632
- key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
24633
- }, z.core.$strip>], "kind">]>;
24634
- }, z.core.$strict>]>>>;
24635
- models: z.ZodOptional<z.ZodObject<{
24636
- pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
24637
- virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
24638
- mode: z.ZodEnum<{
24639
- ordered: "ordered";
24640
- "most-allowance": "most-allowance";
24641
- "soonest-reset": "soonest-reset";
24642
- spread: "spread";
24643
- adaptive: "adaptive";
24644
- "lowest-latency": "lowest-latency";
24645
- "highest-success": "highest-success";
24646
- cheapest: "cheapest";
24647
- }>;
24648
- members: z.ZodArray<z.ZodString>;
24649
- }, z.core.$strict>, z.ZodNull]>>>;
24650
- tiers: z.ZodOptional<z.ZodObject<{
24651
- fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
24652
- opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
24653
- sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
24654
- haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
24655
- }, z.core.$strict>>;
24656
- prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
24657
- input: z.ZodNumber;
24658
- output: z.ZodNumber;
24659
- }, z.core.$strict>, z.ZodNull]>>>;
24660
- hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
24661
- show: z.ZodOptional<z.ZodArray<z.ZodString>>;
24662
- same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
24663
- distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
24664
- families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
24665
- names: z.ZodOptional<z.ZodArray<z.ZodString>>;
24666
- mode: z.ZodOptional<z.ZodEnum<{
24667
- ordered: "ordered";
24668
- "most-allowance": "most-allowance";
24669
- "soonest-reset": "soonest-reset";
24670
- spread: "spread";
24671
- adaptive: "adaptive";
24672
- "lowest-latency": "lowest-latency";
24673
- "highest-success": "highest-success";
24674
- cheapest: "cheapest";
24675
- }>>;
24676
- context: z.ZodOptional<z.ZodNumber>;
24677
- vision: z.ZodOptional<z.ZodBoolean>;
24678
- tools: z.ZodOptional<z.ZodBoolean>;
24679
- thinking: z.ZodOptional<z.ZodBoolean>;
24680
- }, z.core.$strict>, z.ZodNull]>>>;
24681
- }, z.core.$strict>>;
24615
+ }, z.core.$strip>, z.ZodObject<{
24616
+ kind: z.ZodLiteral<"textCompare">;
24617
+ op: z.ZodEnum<{
24618
+ equals: "equals";
24619
+ notEquals: "notEquals";
24620
+ matches: "matches";
24621
+ notMatches: "notMatches";
24622
+ portableMatches: "portableMatches";
24623
+ portableNotMatches: "portableNotMatches";
24624
+ }>;
24625
+ left: typeof trilean.ExpressionNodeSchema;
24626
+ right: typeof trilean.ExpressionNodeSchema;
24627
+ }, z.core.$strip>, z.ZodObject<{
24628
+ kind: z.ZodLiteral<"memberOf">;
24629
+ op: z.ZodEnum<{
24630
+ in: "in";
24631
+ notIn: "notIn";
24632
+ }>;
24633
+ operand: typeof trilean.ExpressionNodeSchema;
24634
+ candidates: z.ZodArray<typeof trilean.ExpressionNodeSchema>;
24635
+ }, z.core.$strip>, z.ZodObject<{
24636
+ kind: z.ZodLiteral<"exists">;
24637
+ operand: typeof trilean.ExpressionNodeSchema;
24638
+ }, z.core.$strip>, z.ZodObject<{
24639
+ kind: z.ZodLiteral<"some">;
24640
+ collection: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
24641
+ item: typeof trilean.PredicateNodeSchema;
24642
+ filter: z.ZodOptional<typeof trilean.PredicateNodeSchema>;
24643
+ }, z.core.$strip>, z.ZodObject<{
24644
+ kind: z.ZodLiteral<"every">;
24645
+ collection: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
24646
+ item: typeof trilean.PredicateNodeSchema;
24647
+ filter: z.ZodOptional<typeof trilean.PredicateNodeSchema>;
24648
+ }, z.core.$strip>, z.ZodObject<{
24649
+ kind: z.ZodLiteral<"treeReference">;
24650
+ key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
24651
+ }, z.core.$strip>], "kind">]>;
24652
+ }, z.core.$strict>]>>>;
24682
24653
  $schema: z.ZodOptional<z.ZodString>;
24683
24654
  extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
24684
24655
  categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
@@ -24726,13 +24697,13 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
24726
24697
  route: "route";
24727
24698
  account: "account";
24728
24699
  provider: "provider";
24729
- version: "version";
24730
- headroom: "headroom";
24731
24700
  duration: "duration";
24701
+ headroom: "headroom";
24732
24702
  project: "project";
24733
24703
  vcs: "vcs";
24734
24704
  effort: "effort";
24735
24705
  advisor: "advisor";
24706
+ version: "version";
24736
24707
  outputStyle: "outputStyle";
24737
24708
  cost: "cost";
24738
24709
  dailyCost: "dailyCost";
@@ -24743,10 +24714,10 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
24743
24714
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
24744
24715
  context: "context";
24745
24716
  quota: "quota";
24746
- environment: "environment";
24747
24717
  addedDirs: "addedDirs";
24748
24718
  gitFiles: "gitFiles";
24749
24719
  memory: "memory";
24720
+ environment: "environment";
24750
24721
  sessionTime: "sessionTime";
24751
24722
  promptCache: "promptCache";
24752
24723
  compactions: "compactions";
@@ -24769,10 +24740,10 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
24769
24740
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
24770
24741
  context: "context";
24771
24742
  quota: "quota";
24772
- environment: "environment";
24773
24743
  addedDirs: "addedDirs";
24774
24744
  gitFiles: "gitFiles";
24775
24745
  memory: "memory";
24746
+ environment: "environment";
24776
24747
  sessionTime: "sessionTime";
24777
24748
  promptCache: "promptCache";
24778
24749
  compactions: "compactions";
@@ -24786,10 +24757,10 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
24786
24757
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
24787
24758
  context: "context";
24788
24759
  quota: "quota";
24789
- environment: "environment";
24790
24760
  addedDirs: "addedDirs";
24791
24761
  gitFiles: "gitFiles";
24792
24762
  memory: "memory";
24763
+ environment: "environment";
24793
24764
  sessionTime: "sessionTime";
24794
24765
  promptCache: "promptCache";
24795
24766
  compactions: "compactions";
@@ -24848,10 +24819,10 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
24848
24819
  hidden: "hidden";
24849
24820
  }>>;
24850
24821
  value: z.ZodOptional<z.ZodEnum<{
24851
- remaining: "remaining";
24852
24822
  tokens: "tokens";
24853
24823
  both: "both";
24854
24824
  percent: "percent";
24825
+ remaining: "remaining";
24855
24826
  }>>;
24856
24827
  estimate: z.ZodOptional<z.ZodEnum<{
24857
24828
  never: "never";
@@ -24893,8 +24864,8 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
24893
24864
  }, z.core.$strict>>;
24894
24865
  usage: z.ZodOptional<z.ZodObject<{
24895
24866
  value: z.ZodOptional<z.ZodEnum<{
24896
- used: "used";
24897
24867
  remaining: "remaining";
24868
+ used: "used";
24898
24869
  }>>;
24899
24870
  bar: z.ZodOptional<z.ZodBoolean>;
24900
24871
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -25252,6 +25223,53 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
25252
25223
  }, z.core.$strict>>;
25253
25224
  }, z.core.$strict>>;
25254
25225
  }, 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>>;
25255
25273
  path: z.ZodString;
25256
25274
  configProfile: z.ZodOptional<z.ZodString>;
25257
25275
  identity: z.ZodOptional<z.ZodString>;
@@ -25415,53 +25433,6 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
25415
25433
  key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
25416
25434
  }, z.core.$strip>], "kind">]>;
25417
25435
  }, z.core.$strict>]>>>;
25418
- models: z.ZodOptional<z.ZodObject<{
25419
- pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
25420
- virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
25421
- mode: z.ZodEnum<{
25422
- ordered: "ordered";
25423
- "most-allowance": "most-allowance";
25424
- "soonest-reset": "soonest-reset";
25425
- spread: "spread";
25426
- adaptive: "adaptive";
25427
- "lowest-latency": "lowest-latency";
25428
- "highest-success": "highest-success";
25429
- cheapest: "cheapest";
25430
- }>;
25431
- members: z.ZodArray<z.ZodString>;
25432
- }, z.core.$strict>, z.ZodNull]>>>;
25433
- tiers: z.ZodOptional<z.ZodObject<{
25434
- fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
25435
- opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
25436
- sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
25437
- haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
25438
- }, z.core.$strict>>;
25439
- prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
25440
- input: z.ZodNumber;
25441
- output: z.ZodNumber;
25442
- }, z.core.$strict>, z.ZodNull]>>>;
25443
- hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
25444
- show: z.ZodOptional<z.ZodArray<z.ZodString>>;
25445
- same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
25446
- distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
25447
- families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
25448
- names: z.ZodOptional<z.ZodArray<z.ZodString>>;
25449
- mode: z.ZodOptional<z.ZodEnum<{
25450
- ordered: "ordered";
25451
- "most-allowance": "most-allowance";
25452
- "soonest-reset": "soonest-reset";
25453
- spread: "spread";
25454
- adaptive: "adaptive";
25455
- "lowest-latency": "lowest-latency";
25456
- "highest-success": "highest-success";
25457
- cheapest: "cheapest";
25458
- }>>;
25459
- context: z.ZodOptional<z.ZodNumber>;
25460
- vision: z.ZodOptional<z.ZodBoolean>;
25461
- tools: z.ZodOptional<z.ZodBoolean>;
25462
- thinking: z.ZodOptional<z.ZodBoolean>;
25463
- }, z.core.$strict>, z.ZodNull]>>>;
25464
- }, z.core.$strict>>;
25465
25436
  $schema: z.ZodOptional<z.ZodString>;
25466
25437
  extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
25467
25438
  categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
@@ -25509,13 +25480,13 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
25509
25480
  route: "route";
25510
25481
  account: "account";
25511
25482
  provider: "provider";
25512
- version: "version";
25513
- headroom: "headroom";
25514
25483
  duration: "duration";
25484
+ headroom: "headroom";
25515
25485
  project: "project";
25516
25486
  vcs: "vcs";
25517
25487
  effort: "effort";
25518
25488
  advisor: "advisor";
25489
+ version: "version";
25519
25490
  outputStyle: "outputStyle";
25520
25491
  cost: "cost";
25521
25492
  dailyCost: "dailyCost";
@@ -25526,10 +25497,10 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
25526
25497
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
25527
25498
  context: "context";
25528
25499
  quota: "quota";
25529
- environment: "environment";
25530
25500
  addedDirs: "addedDirs";
25531
25501
  gitFiles: "gitFiles";
25532
25502
  memory: "memory";
25503
+ environment: "environment";
25533
25504
  sessionTime: "sessionTime";
25534
25505
  promptCache: "promptCache";
25535
25506
  compactions: "compactions";
@@ -25552,10 +25523,10 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
25552
25523
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
25553
25524
  context: "context";
25554
25525
  quota: "quota";
25555
- environment: "environment";
25556
25526
  addedDirs: "addedDirs";
25557
25527
  gitFiles: "gitFiles";
25558
25528
  memory: "memory";
25529
+ environment: "environment";
25559
25530
  sessionTime: "sessionTime";
25560
25531
  promptCache: "promptCache";
25561
25532
  compactions: "compactions";
@@ -25569,10 +25540,10 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
25569
25540
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
25570
25541
  context: "context";
25571
25542
  quota: "quota";
25572
- environment: "environment";
25573
25543
  addedDirs: "addedDirs";
25574
25544
  gitFiles: "gitFiles";
25575
25545
  memory: "memory";
25546
+ environment: "environment";
25576
25547
  sessionTime: "sessionTime";
25577
25548
  promptCache: "promptCache";
25578
25549
  compactions: "compactions";
@@ -25631,10 +25602,10 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
25631
25602
  hidden: "hidden";
25632
25603
  }>>;
25633
25604
  value: z.ZodOptional<z.ZodEnum<{
25634
- remaining: "remaining";
25635
25605
  tokens: "tokens";
25636
25606
  both: "both";
25637
25607
  percent: "percent";
25608
+ remaining: "remaining";
25638
25609
  }>>;
25639
25610
  estimate: z.ZodOptional<z.ZodEnum<{
25640
25611
  never: "never";
@@ -25676,8 +25647,8 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
25676
25647
  }, z.core.$strict>>;
25677
25648
  usage: z.ZodOptional<z.ZodObject<{
25678
25649
  value: z.ZodOptional<z.ZodEnum<{
25679
- used: "used";
25680
25650
  remaining: "remaining";
25651
+ used: "used";
25681
25652
  }>>;
25682
25653
  bar: z.ZodOptional<z.ZodBoolean>;
25683
25654
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -26035,6 +26006,53 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
26035
26006
  }, z.core.$strict>>;
26036
26007
  }, z.core.$strict>>;
26037
26008
  }, 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>>;
26038
26056
  path: z.ZodString;
26039
26057
  configProfile: z.ZodOptional<z.ZodString>;
26040
26058
  identity: z.ZodOptional<z.ZodString>;
@@ -26372,9 +26390,11 @@ declare const DoctorFindingSchema: z.ZodObject<{
26372
26390
  "config-profile": "config-profile";
26373
26391
  identity: "identity";
26374
26392
  provider: "provider";
26393
+ keychain: "keychain";
26394
+ headroom: "headroom";
26395
+ models: "models";
26375
26396
  frontdoor: "frontdoor";
26376
26397
  pool: "pool";
26377
- keychain: "keychain";
26378
26398
  "ambient-credential": "ambient-credential";
26379
26399
  "binary-discovery": "binary-discovery";
26380
26400
  "claude-shim": "claude-shim";
@@ -26384,8 +26404,6 @@ declare const DoctorFindingSchema: z.ZodObject<{
26384
26404
  "directory-rules": "directory-rules";
26385
26405
  "categories-local": "categories-local";
26386
26406
  "active-identity": "active-identity";
26387
- headroom: "headroom";
26388
- models: "models";
26389
26407
  }>;
26390
26408
  subject: z.ZodOptional<z.ZodString>;
26391
26409
  severity: z.ZodEnum<{
@@ -26404,9 +26422,11 @@ declare const DoctorRunOutputSchema: z.ZodObject<{
26404
26422
  "config-profile": "config-profile";
26405
26423
  identity: "identity";
26406
26424
  provider: "provider";
26425
+ keychain: "keychain";
26426
+ headroom: "headroom";
26427
+ models: "models";
26407
26428
  frontdoor: "frontdoor";
26408
26429
  pool: "pool";
26409
- keychain: "keychain";
26410
26430
  "ambient-credential": "ambient-credential";
26411
26431
  "binary-discovery": "binary-discovery";
26412
26432
  "claude-shim": "claude-shim";
@@ -26416,8 +26436,6 @@ declare const DoctorRunOutputSchema: z.ZodObject<{
26416
26436
  "directory-rules": "directory-rules";
26417
26437
  "categories-local": "categories-local";
26418
26438
  "active-identity": "active-identity";
26419
- headroom: "headroom";
26420
- models: "models";
26421
26439
  }>;
26422
26440
  subject: z.ZodOptional<z.ZodString>;
26423
26441
  severity: z.ZodEnum<{
@@ -26438,9 +26456,9 @@ declare const UpdateCheckOutputSchema: z.ZodObject<{
26438
26456
  current: z.ZodString;
26439
26457
  latest: z.ZodString;
26440
26458
  action: z.ZodEnum<{
26459
+ updated: "updated";
26441
26460
  current: "current";
26442
26461
  available: "available";
26443
- updated: "updated";
26444
26462
  }>;
26445
26463
  }, z.core.$strict>;
26446
26464
  /** 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. */
@@ -26491,16 +26509,17 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
26491
26509
  identity: z.ZodOptional<z.ZodString>;
26492
26510
  identityId: z.ZodOptional<z.ZodString>;
26493
26511
  identitySource: z.ZodEnum<{
26512
+ env: "env";
26513
+ none: "none";
26494
26514
  "config-dir-escape-hatch": "config-dir-escape-hatch";
26495
26515
  argv: "argv";
26496
- env: "env";
26497
26516
  "directory-pin": "directory-pin";
26498
26517
  "active-identity-file": "active-identity-file";
26499
- none: "none";
26500
26518
  }>;
26501
26519
  pool: z.ZodOptional<z.ZodObject<{
26502
26520
  name: z.ZodString;
26503
26521
  reasons: z.ZodReadonly<z.ZodArray<z.ZodString>>;
26522
+ provider: z.ZodOptional<z.ZodString>;
26504
26523
  movedOff: z.ZodOptional<z.ZodObject<{
26505
26524
  identity: z.ZodString;
26506
26525
  reason: z.ZodString;
@@ -26549,13 +26568,13 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
26549
26568
  route: "route";
26550
26569
  account: "account";
26551
26570
  provider: "provider";
26552
- version: "version";
26553
- headroom: "headroom";
26554
26571
  duration: "duration";
26572
+ headroom: "headroom";
26555
26573
  project: "project";
26556
26574
  vcs: "vcs";
26557
26575
  effort: "effort";
26558
26576
  advisor: "advisor";
26577
+ version: "version";
26559
26578
  outputStyle: "outputStyle";
26560
26579
  cost: "cost";
26561
26580
  dailyCost: "dailyCost";
@@ -26566,10 +26585,10 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
26566
26585
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
26567
26586
  context: "context";
26568
26587
  quota: "quota";
26569
- environment: "environment";
26570
26588
  addedDirs: "addedDirs";
26571
26589
  gitFiles: "gitFiles";
26572
26590
  memory: "memory";
26591
+ environment: "environment";
26573
26592
  sessionTime: "sessionTime";
26574
26593
  promptCache: "promptCache";
26575
26594
  compactions: "compactions";
@@ -26592,10 +26611,10 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
26592
26611
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
26593
26612
  context: "context";
26594
26613
  quota: "quota";
26595
- environment: "environment";
26596
26614
  addedDirs: "addedDirs";
26597
26615
  gitFiles: "gitFiles";
26598
26616
  memory: "memory";
26617
+ environment: "environment";
26599
26618
  sessionTime: "sessionTime";
26600
26619
  promptCache: "promptCache";
26601
26620
  compactions: "compactions";
@@ -26609,10 +26628,10 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
26609
26628
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
26610
26629
  context: "context";
26611
26630
  quota: "quota";
26612
- environment: "environment";
26613
26631
  addedDirs: "addedDirs";
26614
26632
  gitFiles: "gitFiles";
26615
26633
  memory: "memory";
26634
+ environment: "environment";
26616
26635
  sessionTime: "sessionTime";
26617
26636
  promptCache: "promptCache";
26618
26637
  compactions: "compactions";
@@ -26671,10 +26690,10 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
26671
26690
  hidden: "hidden";
26672
26691
  }>>;
26673
26692
  value: z.ZodOptional<z.ZodEnum<{
26674
- remaining: "remaining";
26675
26693
  tokens: "tokens";
26676
26694
  both: "both";
26677
26695
  percent: "percent";
26696
+ remaining: "remaining";
26678
26697
  }>>;
26679
26698
  estimate: z.ZodOptional<z.ZodEnum<{
26680
26699
  never: "never";
@@ -26716,8 +26735,8 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
26716
26735
  }, z.core.$strict>>;
26717
26736
  usage: z.ZodOptional<z.ZodObject<{
26718
26737
  value: z.ZodOptional<z.ZodEnum<{
26719
- used: "used";
26720
26738
  remaining: "remaining";
26739
+ used: "used";
26721
26740
  }>>;
26722
26741
  bar: z.ZodOptional<z.ZodBoolean>;
26723
26742
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -27078,8 +27097,8 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
27078
27097
  claudeVersion: z.ZodOptional<z.ZodObject<{
27079
27098
  version: z.ZodString;
27080
27099
  source: z.ZodEnum<{
27081
- flag: "flag";
27082
27100
  environment: "environment";
27101
+ flag: "flag";
27083
27102
  cascade: "cascade";
27084
27103
  }>;
27085
27104
  }, z.core.$strict>>;
@@ -27714,6 +27733,10 @@ interface PoolMember {
27714
27733
  readonly nested?: NestedContribution;
27715
27734
  /** The member that represents this member's login in the ranking, when both hold the same login and so draw on one quota window. This member is then ineligible as a candidate of its own, since ranking it beside its representative would count one window twice and could fail over to a login that is limited too. */
27716
27735
  readonly sameLoginAs?: string;
27736
+ /** The provider this member's launch routes through, when it does not spend the member's own Claude account: the member is then assessed against that provider's slice of its snapshot and the records the front door logged for it, and sized by the provider's own quota level. Absent for a launch on the Claude account, which is read from the `anthropic` slice exactly as ever. */
27737
+ readonly provider?: string;
27738
+ /** Why the provider this member's launch spends could not be resolved (a provider or configuration profile file that fails validation, is in a former format or is not JSON), when that is the case: the member is then ranked as unknown with this reason, and picking it refuses the launch with the file's own error. */
27739
+ readonly providerError?: string;
27717
27740
  /** The member entry's policy condition, from the object form of a pool member: definite false skips the member as ineligible by policy, indeterminate demotes it to last within its class, naming the missing fact either way. */
27718
27741
  readonly policy?: WhenCondition;
27719
27742
  }
@@ -27757,6 +27780,8 @@ interface Candidate {
27757
27780
  /** When the exhausted plan window of a `pay-per-use` candidate that is only on extra usage because its plan ran out resets, so a launch can hold for it rather than spend. Absent for a candidate that bills by use with no plan allowance. */
27758
27781
  readonly planReturnsAtMs?: number;
27759
27782
  readonly plan: PlanClass;
27783
+ /** The provider the member was assessed against, when the launch spends one in place of the member's Claude account; absent when it was assessed on the Claude account. */
27784
+ readonly provider?: string;
27760
27785
  /** True when the member's policy condition could not be decided and it is ranked last within its class, naming the missing fact in its reasons. */
27761
27786
  readonly policyDemoted?: boolean;
27762
27787
  /** Human-readable facts behind the class and score, in the order they matter. */
@@ -27804,6 +27829,13 @@ declare function rankPool(input: RankPoolInput): PoolRanking;
27804
27829
  declare class PoolGraphError extends CliError {
27805
27830
  constructor(message: string);
27806
27831
  }
27832
+ /** A member whose launch cannot be resolved to a provider because a configuration file it reads is unreadable: the provider it names, when something still named one, and why the file could not be read. The member is ranked on what is known and reported with the reason, and the launch that picks it refuses with the file's own error. */
27833
+ interface UnreadableProvider {
27834
+ readonly named?: string;
27835
+ readonly reason: string;
27836
+ }
27837
+ /** The provider a launch of a member routes through, by the member's name: undefined when the launch spends the member's own Claude account, and an `UnreadableProvider` when the files that decide it cannot be read. */
27838
+ type ProviderOf = (identity: string) => string | UnreadableProvider | undefined;
27807
27839
  /**
27808
27840
  * The concrete identities the pool named `poolName` can launch as, in member order with a nested `pool:<name>` entry replaced by the identities of that pool at the entry's position, each identity once. It reads no usage and no identity file, so it lists every identity the pool graph names, whether or not it exists or is eligible: ranking is `rankPoolGraph`'s job.
27809
27841
  *
@@ -27811,8 +27843,33 @@ declare class PoolGraphError extends CliError {
27811
27843
  */
27812
27844
  declare function poolIdentities(pools: Readonly<Record<string, Pool>>, poolName: string): readonly string[];
27813
27845
 
27846
+ /** An assembled cascade input plus the global config it was built from, which the caller also needs for its own defaults. */
27847
+ interface LoadedCascade {
27848
+ readonly input: CascadeInput;
27849
+ readonly globalConfig?: GlobalConfig;
27850
+ }
27851
+
27852
+ /** What the provider of each pool member's launch from a directory is decided from, on this machine. */
27853
+ interface RealMemberProviderParams {
27854
+ readonly paths: LayoutPaths;
27855
+ /** The directory the launch would run in: its cascade selects the provider and the configuration profile. */
27856
+ readonly cwd: string;
27857
+ /** The environment the launch inherits, which can name a configuration profile. */
27858
+ readonly env: Readonly<Record<string, string | undefined>>;
27859
+ /** The launch's `--provider` flag: a provider name, `false` for `--no-provider`, undefined when neither was given. */
27860
+ readonly cliProvider?: string | false;
27861
+ /** The configuration profile the launch's flag names. */
27862
+ readonly cliFlagConfigProfile?: string;
27863
+ /** The cascade of `cwd`, when the caller has already loaded it. */
27864
+ readonly loaded?: LoadedCascade;
27865
+ }
27866
+ /**
27867
+ * `memberProviderResolver` over this machine's real files: the cascade of `params.cwd` is read once for its directory selections and again, per configuration profile, as a launch reads it for the identity it runs as. Used by every read-only report of what a pool launch would pick, so each ranks the pool on the quota the launch itself would spend.
27868
+ */
27869
+ declare function realMemberProviderResolver(params: Readonly<RealMemberProviderParams>): ProviderOf;
27870
+
27814
27871
  /**
27815
- * Ranks a pool exactly as a launch from `directory` would right now, without recording a pick. Shares `rankPoolGraph` with the launcher, so what this prints is what a launch does.
27872
+ * Ranks a pool exactly as a launch from `directory` would right now, without recording a pick. Shares `rankPoolGraph` with the launcher, so what this prints is what a launch does. `providerOf` names the provider a launch of each member routes through, so the report ranks each member on that provider's quota; without it every member is ranked on its Claude account.
27816
27873
  */
27817
27874
  declare function collectPoolPick(params: Readonly<{
27818
27875
  paths: LayoutPaths;
@@ -27822,6 +27879,7 @@ declare function collectPoolPick(params: Readonly<{
27822
27879
  pools: Readonly<Record<string, Pool>>;
27823
27880
  directory: string;
27824
27881
  nowMs: number;
27882
+ providerOf?: ProviderOf;
27825
27883
  }>): PoolPickReport;
27826
27884
 
27827
27885
  /**
@@ -28335,6 +28393,8 @@ interface RefreshPoolUsageParams {
28335
28393
  readonly log?: (line: string) => void;
28336
28394
  /** Refreshes by other means than Claude Code's usage report; the real one when absent. */
28337
28395
  readonly refresher?: AnthropicUsageRefresher;
28396
+ /** The provider each member's launch spends: a member that names one is not refreshed, since a pick for it reads that provider's quota, which is refreshed by the requests that pass the front door. Every member is refreshed on its Claude account when absent. */
28397
+ readonly providerOf?: ProviderOf;
28338
28398
  }
28339
28399
  /**
28340
28400
  * Refreshes, on demand, the recorded Anthropic usage of every member of the named pools (and of the pools they nest) whose record has gone stale, so a quota display or a launch the caller plans itself reads current figures. A member is stale once its record is older than one percent of the five-hour window; each is asked for its plan windows through Claude Code's usage report, which makes no model request. A failed fetch is logged and the member keeps its recorded state; this never throws for one.
@@ -28354,7 +28414,7 @@ interface RefreshLaunchPoolUsageOptions extends PrepareClaudeLaunchOptions {
28354
28414
  */
28355
28415
  declare function poolSelectedByLaunch(options: Pick<PrepareClaudeLaunchOptions, "argv" | "env" | "cwd" | "paths">): string | undefined;
28356
28416
  /**
28357
- * Refreshes the stale usage of the pool a launch would select (`poolSelectedByLaunch`), so the pick that launch makes ranks on current figures. Run it before `prepareClaudeLaunch`, which stays synchronous and ranks on whatever is recorded; `runClaudeLaunch` does. Does nothing when the launch selects no pool. See `refreshPoolUsage` for what a refresh asks, and for the Agent SDK requirement.
28417
+ * Refreshes the stale usage of the pool a launch would select (`poolSelectedByLaunch`), so the pick that launch makes ranks on current figures. A member whose launch spends a provider is left out, since the pick ranks it on that provider's quota. Run it before `prepareClaudeLaunch`, which stays synchronous and ranks on whatever is recorded; `runClaudeLaunch` does. Does nothing when the launch selects no pool. See `refreshPoolUsage` for what a refresh asks, and for the Agent SDK requirement.
28358
28418
  */
28359
28419
  declare function refreshLaunchPoolUsage(options: RefreshLaunchPoolUsageOptions): Promise<void>;
28360
28420
 
@@ -28377,7 +28437,7 @@ interface RefreshStalePoolMembersParams {
28377
28437
  readonly refresher: AnthropicUsageRefresher;
28378
28438
  }
28379
28439
  /**
28380
- * Refreshes the Anthropic usage of every member of the named pools (and of the pools they nest) whose recorded state is stale, so a pick ranks on current figures. A launch runs it before `prepareLaunch`, which stays synchronous because it is part of the library surface; the front door runs it on a timer. A member whose fetch fails keeps its recorded state, and nothing here refuses a launch. An identity named by several pools is fetched once.
28440
+ * Refreshes the Anthropic usage of every member of the named pools (and of the pools they nest) whose launch spends its Claude account and whose recorded state is stale, so a pick ranks on current figures. A launch runs it before `prepareLaunch`, which stays synchronous because it is part of the library surface; the front door runs it on a timer. A member whose fetch fails keeps its recorded state, and nothing here refuses a launch. An identity named by several pools is fetched once.
28381
28441
  */
28382
28442
  declare function refreshStalePoolMembers(params: RefreshStalePoolMembersParams): Promise<void>;
28383
28443
 
@@ -28390,5 +28450,5 @@ declare const OWN_CLI_FILE_NAME = "cli.cjs";
28390
28450
  */
28391
28451
  declare function agentShimCliPath(distDir?: string | undefined): string;
28392
28452
 
28393
- 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, 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 };
28394
- export type { AddDirectoryRuleOptions, AddProviderInput, AgentKind, AgentNode, AgentReadFs, AgentTreesApiDeps, AgentTreesApiRouter, AmbientCredentialDetection, AmbientCredentialGuardResult, AmbientCredentialVar, AnthropicUsageRefresher, BuildEntryFactsParams, CaMaterial, Candidate, CarryOverParams, CarryOverResult, CategoryMap, CheckReport, CheckReportJson, ClaudeLaunchResolution, CodexAccountRead, CodexApiClient, CodexApiDeps, CodexApiRouter, CodexAppServerConnection, CodexAppServerPort, CodexAppServerReadOptions, CodexRateLimitsRead, CollectCheckReportParams, CollectDoctorReportParams, CompiledRule, ConditionContext, ConfigApiDeps, ConfigApiRouter, ConfigProfile, ConnectCertStore, ConnectEffects, ConnectLimits, ConnectLocalSurface, ConnectServerConfig, ConnectServerHandle, ConnectTarget, ControlApiClient, ControlApiDeps, ControlApiRouter, Credential, CredentialSource, Decision, Diagnostic, DirectoryRule, DirectoryRules, DoctorReport, DoorApiClient, DoorApiContext, DoorApiDeps, DoorApiRouter, DoorEvent, DoorEventHub, DoorEventPublisher, DoorEventStream, DoorEventsApiDeps, DoorHealthEvent, DoorHealthPublisher, EffectiveWindow, EliminatedRule, EnsureFrontDoorPorts, EnsureHeadroomPorts, EntryFact, EntryFacts, EntryValue, EvaluateAmbientCredentialGuardParams, FlattenedCascade, FrontDoorControlMaterial, FrontDoorRcControl, FrontDoorSessionStatus, FrontDoorStatus, FrontDoorSupervisorPorts, GlobalConfig, HeadroomSupervisorConfig, Identity, IdentityCredentialChange, IdentityListEntry, IdentityListing, IdentityNameRead, IdentityRecord, IdentityRecordsPort, IdentitySession, InjectedCredential, LaunchApiDeps, LaunchApiRouter, LaunchDecision, LaunchEventPublisher, LaunchLifecycleEvent, LaunchPlan, LaunchPoolDecision, LaunchResolution, LaunchSelection, Layer, LayerId, LayoutPaths, LeafCert, LifecycleApiClient, LifecycleApiDeps, LifecycleApiRouter, LiveSessionRegistry, LiveSessionRegistryPorts, LiveTask, LiveTaskBook, LocatedSession, MergedAgentNode, MergedAgentTree, NestedContribution, OwnExecutableStat, PlanClass, Pool, PoolChange, PoolMember, PoolPickReport, PoolPolicy, PoolRanking, PortableConfig, PrepareClaudeLaunchOptions, PrepareLaunchParams, ProfileListEntry, Provider, ProviderListEntry, QuotaExpiringEvent, QuotaExpiringPublisher, RankPoolInput, RcAnswerDecision, RcAnswerDeps, RcApiClient, RcApiDeps, RcApiRouter, 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, 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 };
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 };