agent-shim 14.0.4 → 14.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";
@@ -1286,8 +1286,8 @@ declare const ProviderSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1286
1286
  models: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
1287
1287
  degradeDownTiers: z.ZodOptional<z.ZodBoolean>;
1288
1288
  effort: z.ZodOptional<z.ZodEnum<{
1289
- none: "none";
1290
1289
  max: "max";
1290
+ none: "none";
1291
1291
  low: "low";
1292
1292
  medium: "medium";
1293
1293
  high: "high";
@@ -1533,13 +1533,13 @@ declare const ConfigProfileSchema: z.ZodObject<{
1533
1533
  route: "route";
1534
1534
  account: "account";
1535
1535
  provider: "provider";
1536
- version: "version";
1537
- headroom: "headroom";
1538
1536
  duration: "duration";
1537
+ headroom: "headroom";
1539
1538
  project: "project";
1540
1539
  vcs: "vcs";
1541
1540
  effort: "effort";
1542
1541
  advisor: "advisor";
1542
+ version: "version";
1543
1543
  outputStyle: "outputStyle";
1544
1544
  cost: "cost";
1545
1545
  dailyCost: "dailyCost";
@@ -1550,10 +1550,10 @@ declare const ConfigProfileSchema: z.ZodObject<{
1550
1550
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1551
1551
  context: "context";
1552
1552
  quota: "quota";
1553
- environment: "environment";
1554
1553
  addedDirs: "addedDirs";
1555
1554
  gitFiles: "gitFiles";
1556
1555
  memory: "memory";
1556
+ environment: "environment";
1557
1557
  sessionTime: "sessionTime";
1558
1558
  promptCache: "promptCache";
1559
1559
  compactions: "compactions";
@@ -1576,10 +1576,10 @@ declare const ConfigProfileSchema: z.ZodObject<{
1576
1576
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
1577
1577
  context: "context";
1578
1578
  quota: "quota";
1579
- environment: "environment";
1580
1579
  addedDirs: "addedDirs";
1581
1580
  gitFiles: "gitFiles";
1582
1581
  memory: "memory";
1582
+ environment: "environment";
1583
1583
  sessionTime: "sessionTime";
1584
1584
  promptCache: "promptCache";
1585
1585
  compactions: "compactions";
@@ -1593,10 +1593,10 @@ declare const ConfigProfileSchema: z.ZodObject<{
1593
1593
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1594
1594
  context: "context";
1595
1595
  quota: "quota";
1596
- environment: "environment";
1597
1596
  addedDirs: "addedDirs";
1598
1597
  gitFiles: "gitFiles";
1599
1598
  memory: "memory";
1599
+ environment: "environment";
1600
1600
  sessionTime: "sessionTime";
1601
1601
  promptCache: "promptCache";
1602
1602
  compactions: "compactions";
@@ -1655,10 +1655,10 @@ declare const ConfigProfileSchema: z.ZodObject<{
1655
1655
  hidden: "hidden";
1656
1656
  }>>;
1657
1657
  value: z.ZodOptional<z.ZodEnum<{
1658
- remaining: "remaining";
1659
1658
  tokens: "tokens";
1660
1659
  both: "both";
1661
1660
  percent: "percent";
1661
+ remaining: "remaining";
1662
1662
  }>>;
1663
1663
  estimate: z.ZodOptional<z.ZodEnum<{
1664
1664
  never: "never";
@@ -1700,8 +1700,8 @@ declare const ConfigProfileSchema: z.ZodObject<{
1700
1700
  }, z.core.$strict>>;
1701
1701
  usage: z.ZodOptional<z.ZodObject<{
1702
1702
  value: z.ZodOptional<z.ZodEnum<{
1703
- used: "used";
1704
1703
  remaining: "remaining";
1704
+ used: "used";
1705
1705
  }>>;
1706
1706
  bar: z.ZodOptional<z.ZodBoolean>;
1707
1707
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -2289,53 +2289,6 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2289
2289
  key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
2290
2290
  }, z.core.$strip>], "kind">]>;
2291
2291
  }, z.core.$strict>]>>>;
2292
- models: z.ZodOptional<z.ZodObject<{
2293
- pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
2294
- virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
2295
- mode: z.ZodEnum<{
2296
- ordered: "ordered";
2297
- "most-allowance": "most-allowance";
2298
- "soonest-reset": "soonest-reset";
2299
- spread: "spread";
2300
- adaptive: "adaptive";
2301
- "lowest-latency": "lowest-latency";
2302
- "highest-success": "highest-success";
2303
- cheapest: "cheapest";
2304
- }>;
2305
- members: z.ZodArray<z.ZodString>;
2306
- }, z.core.$strict>, z.ZodNull]>>>;
2307
- tiers: z.ZodOptional<z.ZodObject<{
2308
- fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
2309
- opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
2310
- sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
2311
- haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
2312
- }, z.core.$strict>>;
2313
- prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
2314
- input: z.ZodNumber;
2315
- output: z.ZodNumber;
2316
- }, z.core.$strict>, z.ZodNull]>>>;
2317
- hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
2318
- show: z.ZodOptional<z.ZodArray<z.ZodString>>;
2319
- same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
2320
- distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
2321
- families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
2322
- names: z.ZodOptional<z.ZodArray<z.ZodString>>;
2323
- mode: z.ZodOptional<z.ZodEnum<{
2324
- ordered: "ordered";
2325
- "most-allowance": "most-allowance";
2326
- "soonest-reset": "soonest-reset";
2327
- spread: "spread";
2328
- adaptive: "adaptive";
2329
- "lowest-latency": "lowest-latency";
2330
- "highest-success": "highest-success";
2331
- cheapest: "cheapest";
2332
- }>>;
2333
- context: z.ZodOptional<z.ZodNumber>;
2334
- vision: z.ZodOptional<z.ZodBoolean>;
2335
- tools: z.ZodOptional<z.ZodBoolean>;
2336
- thinking: z.ZodOptional<z.ZodBoolean>;
2337
- }, z.core.$strict>, z.ZodNull]>>>;
2338
- }, z.core.$strict>>;
2339
2292
  $schema: z.ZodOptional<z.ZodString>;
2340
2293
  extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
2341
2294
  categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
@@ -2383,13 +2336,13 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2383
2336
  route: "route";
2384
2337
  account: "account";
2385
2338
  provider: "provider";
2386
- version: "version";
2387
- headroom: "headroom";
2388
2339
  duration: "duration";
2340
+ headroom: "headroom";
2389
2341
  project: "project";
2390
2342
  vcs: "vcs";
2391
2343
  effort: "effort";
2392
2344
  advisor: "advisor";
2345
+ version: "version";
2393
2346
  outputStyle: "outputStyle";
2394
2347
  cost: "cost";
2395
2348
  dailyCost: "dailyCost";
@@ -2400,10 +2353,10 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2400
2353
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2401
2354
  context: "context";
2402
2355
  quota: "quota";
2403
- environment: "environment";
2404
2356
  addedDirs: "addedDirs";
2405
2357
  gitFiles: "gitFiles";
2406
2358
  memory: "memory";
2359
+ environment: "environment";
2407
2360
  sessionTime: "sessionTime";
2408
2361
  promptCache: "promptCache";
2409
2362
  compactions: "compactions";
@@ -2426,10 +2379,10 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2426
2379
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
2427
2380
  context: "context";
2428
2381
  quota: "quota";
2429
- environment: "environment";
2430
2382
  addedDirs: "addedDirs";
2431
2383
  gitFiles: "gitFiles";
2432
2384
  memory: "memory";
2385
+ environment: "environment";
2433
2386
  sessionTime: "sessionTime";
2434
2387
  promptCache: "promptCache";
2435
2388
  compactions: "compactions";
@@ -2443,10 +2396,10 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2443
2396
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2444
2397
  context: "context";
2445
2398
  quota: "quota";
2446
- environment: "environment";
2447
2399
  addedDirs: "addedDirs";
2448
2400
  gitFiles: "gitFiles";
2449
2401
  memory: "memory";
2402
+ environment: "environment";
2450
2403
  sessionTime: "sessionTime";
2451
2404
  promptCache: "promptCache";
2452
2405
  compactions: "compactions";
@@ -2505,10 +2458,10 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2505
2458
  hidden: "hidden";
2506
2459
  }>>;
2507
2460
  value: z.ZodOptional<z.ZodEnum<{
2508
- remaining: "remaining";
2509
2461
  tokens: "tokens";
2510
2462
  both: "both";
2511
2463
  percent: "percent";
2464
+ remaining: "remaining";
2512
2465
  }>>;
2513
2466
  estimate: z.ZodOptional<z.ZodEnum<{
2514
2467
  never: "never";
@@ -2550,8 +2503,8 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2550
2503
  }, z.core.$strict>>;
2551
2504
  usage: z.ZodOptional<z.ZodObject<{
2552
2505
  value: z.ZodOptional<z.ZodEnum<{
2553
- used: "used";
2554
2506
  remaining: "remaining";
2507
+ used: "used";
2555
2508
  }>>;
2556
2509
  bar: z.ZodOptional<z.ZodBoolean>;
2557
2510
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -2909,6 +2862,53 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2909
2862
  }, z.core.$strict>>;
2910
2863
  }, z.core.$strict>>;
2911
2864
  }, z.core.$strict>>;
2865
+ models: z.ZodOptional<z.ZodObject<{
2866
+ pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
2867
+ virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
2868
+ mode: z.ZodEnum<{
2869
+ ordered: "ordered";
2870
+ "most-allowance": "most-allowance";
2871
+ "soonest-reset": "soonest-reset";
2872
+ spread: "spread";
2873
+ adaptive: "adaptive";
2874
+ "lowest-latency": "lowest-latency";
2875
+ "highest-success": "highest-success";
2876
+ cheapest: "cheapest";
2877
+ }>;
2878
+ members: z.ZodArray<z.ZodString>;
2879
+ }, z.core.$strict>, z.ZodNull]>>>;
2880
+ tiers: z.ZodOptional<z.ZodObject<{
2881
+ fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
2882
+ opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
2883
+ sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
2884
+ haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
2885
+ }, z.core.$strict>>;
2886
+ prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
2887
+ input: z.ZodNumber;
2888
+ output: z.ZodNumber;
2889
+ }, z.core.$strict>, z.ZodNull]>>>;
2890
+ hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
2891
+ show: z.ZodOptional<z.ZodArray<z.ZodString>>;
2892
+ same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
2893
+ distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
2894
+ families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
2895
+ names: z.ZodOptional<z.ZodArray<z.ZodString>>;
2896
+ mode: z.ZodOptional<z.ZodEnum<{
2897
+ ordered: "ordered";
2898
+ "most-allowance": "most-allowance";
2899
+ "soonest-reset": "soonest-reset";
2900
+ spread: "spread";
2901
+ adaptive: "adaptive";
2902
+ "lowest-latency": "lowest-latency";
2903
+ "highest-success": "highest-success";
2904
+ cheapest: "cheapest";
2905
+ }>>;
2906
+ context: z.ZodOptional<z.ZodNumber>;
2907
+ vision: z.ZodOptional<z.ZodBoolean>;
2908
+ tools: z.ZodOptional<z.ZodBoolean>;
2909
+ thinking: z.ZodOptional<z.ZodBoolean>;
2910
+ }, z.core.$strict>, z.ZodNull]>>>;
2911
+ }, z.core.$strict>>;
2912
2912
  path: z.ZodString;
2913
2913
  configProfile: z.ZodOptional<z.ZodString>;
2914
2914
  identity: z.ZodOptional<z.ZodString>;
@@ -3065,53 +3065,6 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3065
3065
  key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
3066
3066
  }, z.core.$strip>], "kind">]>;
3067
3067
  }, z.core.$strict>]>>>;
3068
- models: z.ZodOptional<z.ZodObject<{
3069
- pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
3070
- virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
3071
- mode: z.ZodEnum<{
3072
- ordered: "ordered";
3073
- "most-allowance": "most-allowance";
3074
- "soonest-reset": "soonest-reset";
3075
- spread: "spread";
3076
- adaptive: "adaptive";
3077
- "lowest-latency": "lowest-latency";
3078
- "highest-success": "highest-success";
3079
- cheapest: "cheapest";
3080
- }>;
3081
- members: z.ZodArray<z.ZodString>;
3082
- }, z.core.$strict>, z.ZodNull]>>>;
3083
- tiers: z.ZodOptional<z.ZodObject<{
3084
- fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
3085
- opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
3086
- sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
3087
- haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
3088
- }, z.core.$strict>>;
3089
- prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
3090
- input: z.ZodNumber;
3091
- output: z.ZodNumber;
3092
- }, z.core.$strict>, z.ZodNull]>>>;
3093
- hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
3094
- show: z.ZodOptional<z.ZodArray<z.ZodString>>;
3095
- same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
3096
- distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
3097
- families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
3098
- names: z.ZodOptional<z.ZodArray<z.ZodString>>;
3099
- mode: z.ZodOptional<z.ZodEnum<{
3100
- ordered: "ordered";
3101
- "most-allowance": "most-allowance";
3102
- "soonest-reset": "soonest-reset";
3103
- spread: "spread";
3104
- adaptive: "adaptive";
3105
- "lowest-latency": "lowest-latency";
3106
- "highest-success": "highest-success";
3107
- cheapest: "cheapest";
3108
- }>>;
3109
- context: z.ZodOptional<z.ZodNumber>;
3110
- vision: z.ZodOptional<z.ZodBoolean>;
3111
- tools: z.ZodOptional<z.ZodBoolean>;
3112
- thinking: z.ZodOptional<z.ZodBoolean>;
3113
- }, z.core.$strict>, z.ZodNull]>>>;
3114
- }, z.core.$strict>>;
3115
3068
  $schema: z.ZodOptional<z.ZodString>;
3116
3069
  extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
3117
3070
  categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
@@ -3159,13 +3112,13 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3159
3112
  route: "route";
3160
3113
  account: "account";
3161
3114
  provider: "provider";
3162
- version: "version";
3163
- headroom: "headroom";
3164
3115
  duration: "duration";
3116
+ headroom: "headroom";
3165
3117
  project: "project";
3166
3118
  vcs: "vcs";
3167
3119
  effort: "effort";
3168
3120
  advisor: "advisor";
3121
+ version: "version";
3169
3122
  outputStyle: "outputStyle";
3170
3123
  cost: "cost";
3171
3124
  dailyCost: "dailyCost";
@@ -3176,10 +3129,10 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3176
3129
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3177
3130
  context: "context";
3178
3131
  quota: "quota";
3179
- environment: "environment";
3180
3132
  addedDirs: "addedDirs";
3181
3133
  gitFiles: "gitFiles";
3182
3134
  memory: "memory";
3135
+ environment: "environment";
3183
3136
  sessionTime: "sessionTime";
3184
3137
  promptCache: "promptCache";
3185
3138
  compactions: "compactions";
@@ -3202,10 +3155,10 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3202
3155
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
3203
3156
  context: "context";
3204
3157
  quota: "quota";
3205
- environment: "environment";
3206
3158
  addedDirs: "addedDirs";
3207
3159
  gitFiles: "gitFiles";
3208
3160
  memory: "memory";
3161
+ environment: "environment";
3209
3162
  sessionTime: "sessionTime";
3210
3163
  promptCache: "promptCache";
3211
3164
  compactions: "compactions";
@@ -3219,10 +3172,10 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3219
3172
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3220
3173
  context: "context";
3221
3174
  quota: "quota";
3222
- environment: "environment";
3223
3175
  addedDirs: "addedDirs";
3224
3176
  gitFiles: "gitFiles";
3225
3177
  memory: "memory";
3178
+ environment: "environment";
3226
3179
  sessionTime: "sessionTime";
3227
3180
  promptCache: "promptCache";
3228
3181
  compactions: "compactions";
@@ -3281,10 +3234,10 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3281
3234
  hidden: "hidden";
3282
3235
  }>>;
3283
3236
  value: z.ZodOptional<z.ZodEnum<{
3284
- remaining: "remaining";
3285
3237
  tokens: "tokens";
3286
3238
  both: "both";
3287
3239
  percent: "percent";
3240
+ remaining: "remaining";
3288
3241
  }>>;
3289
3242
  estimate: z.ZodOptional<z.ZodEnum<{
3290
3243
  never: "never";
@@ -3326,8 +3279,8 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3326
3279
  }, z.core.$strict>>;
3327
3280
  usage: z.ZodOptional<z.ZodObject<{
3328
3281
  value: z.ZodOptional<z.ZodEnum<{
3329
- used: "used";
3330
3282
  remaining: "remaining";
3283
+ used: "used";
3331
3284
  }>>;
3332
3285
  bar: z.ZodOptional<z.ZodBoolean>;
3333
3286
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -3685,6 +3638,53 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3685
3638
  }, z.core.$strict>>;
3686
3639
  }, z.core.$strict>>;
3687
3640
  }, z.core.$strict>>;
3641
+ models: z.ZodOptional<z.ZodObject<{
3642
+ pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
3643
+ virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
3644
+ mode: z.ZodEnum<{
3645
+ ordered: "ordered";
3646
+ "most-allowance": "most-allowance";
3647
+ "soonest-reset": "soonest-reset";
3648
+ spread: "spread";
3649
+ adaptive: "adaptive";
3650
+ "lowest-latency": "lowest-latency";
3651
+ "highest-success": "highest-success";
3652
+ cheapest: "cheapest";
3653
+ }>;
3654
+ members: z.ZodArray<z.ZodString>;
3655
+ }, z.core.$strict>, z.ZodNull]>>>;
3656
+ tiers: z.ZodOptional<z.ZodObject<{
3657
+ fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
3658
+ opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
3659
+ sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
3660
+ haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
3661
+ }, z.core.$strict>>;
3662
+ prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
3663
+ input: z.ZodNumber;
3664
+ output: z.ZodNumber;
3665
+ }, z.core.$strict>, z.ZodNull]>>>;
3666
+ hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
3667
+ show: z.ZodOptional<z.ZodArray<z.ZodString>>;
3668
+ same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
3669
+ distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
3670
+ families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
3671
+ names: z.ZodOptional<z.ZodArray<z.ZodString>>;
3672
+ mode: z.ZodOptional<z.ZodEnum<{
3673
+ ordered: "ordered";
3674
+ "most-allowance": "most-allowance";
3675
+ "soonest-reset": "soonest-reset";
3676
+ spread: "spread";
3677
+ adaptive: "adaptive";
3678
+ "lowest-latency": "lowest-latency";
3679
+ "highest-success": "highest-success";
3680
+ cheapest: "cheapest";
3681
+ }>>;
3682
+ context: z.ZodOptional<z.ZodNumber>;
3683
+ vision: z.ZodOptional<z.ZodBoolean>;
3684
+ tools: z.ZodOptional<z.ZodBoolean>;
3685
+ thinking: z.ZodOptional<z.ZodBoolean>;
3686
+ }, z.core.$strict>, z.ZodNull]>>>;
3687
+ }, z.core.$strict>>;
3688
3688
  path: z.ZodString;
3689
3689
  configProfile: z.ZodOptional<z.ZodString>;
3690
3690
  identity: z.ZodOptional<z.ZodString>;
@@ -3842,14 +3842,28 @@ declare const PortableConfigSchema: z.ZodObject<{
3842
3842
  key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
3843
3843
  }, z.core.$strip>], "kind">]>;
3844
3844
  }, z.core.$strict>]>>>;
3845
- models: z.ZodOptional<z.ZodObject<{
3846
- pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
3847
- virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
3848
- mode: z.ZodEnum<{
3849
- ordered: "ordered";
3850
- "most-allowance": "most-allowance";
3851
- "soonest-reset": "soonest-reset";
3852
- spread: "spread";
3845
+ $schema: z.ZodOptional<z.ZodString>;
3846
+ categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
3847
+ all: z.ZodOptional<z.ZodBoolean>;
3848
+ runtime: z.ZodOptional<z.ZodBoolean>;
3849
+ history: z.ZodOptional<z.ZodBoolean>;
3850
+ knowledge: z.ZodOptional<z.ZodBoolean>;
3851
+ settings: z.ZodOptional<z.ZodBoolean>;
3852
+ }, z.core.$strict>, z.ZodTransform<Partial<Record<"runtime" | "history" | "knowledge" | "settings", boolean>>, {
3853
+ all?: boolean | undefined;
3854
+ runtime?: boolean | undefined;
3855
+ history?: boolean | undefined;
3856
+ knowledge?: boolean | undefined;
3857
+ settings?: boolean | undefined;
3858
+ }>>>;
3859
+ models: z.ZodOptional<z.ZodObject<{
3860
+ pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
3861
+ virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
3862
+ mode: z.ZodEnum<{
3863
+ ordered: "ordered";
3864
+ "most-allowance": "most-allowance";
3865
+ "soonest-reset": "soonest-reset";
3866
+ spread: "spread";
3853
3867
  adaptive: "adaptive";
3854
3868
  "lowest-latency": "lowest-latency";
3855
3869
  "highest-success": "highest-success";
@@ -3889,20 +3903,6 @@ declare const PortableConfigSchema: z.ZodObject<{
3889
3903
  thinking: z.ZodOptional<z.ZodBoolean>;
3890
3904
  }, z.core.$strict>, z.ZodNull]>>>;
3891
3905
  }, z.core.$strict>>;
3892
- $schema: z.ZodOptional<z.ZodString>;
3893
- categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
3894
- all: z.ZodOptional<z.ZodBoolean>;
3895
- runtime: z.ZodOptional<z.ZodBoolean>;
3896
- history: z.ZodOptional<z.ZodBoolean>;
3897
- knowledge: z.ZodOptional<z.ZodBoolean>;
3898
- settings: z.ZodOptional<z.ZodBoolean>;
3899
- }, z.core.$strict>, z.ZodTransform<Partial<Record<"runtime" | "history" | "knowledge" | "settings", boolean>>, {
3900
- all?: boolean | undefined;
3901
- runtime?: boolean | undefined;
3902
- history?: boolean | undefined;
3903
- knowledge?: boolean | undefined;
3904
- settings?: boolean | undefined;
3905
- }>>>;
3906
3906
  extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
3907
3907
  launch: z.ZodOptional<z.ZodObject<{
3908
3908
  skipPermissions: z.ZodOptional<z.ZodBoolean>;
@@ -3935,13 +3935,13 @@ declare const PortableConfigSchema: z.ZodObject<{
3935
3935
  route: "route";
3936
3936
  account: "account";
3937
3937
  provider: "provider";
3938
- version: "version";
3939
- headroom: "headroom";
3940
3938
  duration: "duration";
3939
+ headroom: "headroom";
3941
3940
  project: "project";
3942
3941
  vcs: "vcs";
3943
3942
  effort: "effort";
3944
3943
  advisor: "advisor";
3944
+ version: "version";
3945
3945
  outputStyle: "outputStyle";
3946
3946
  cost: "cost";
3947
3947
  dailyCost: "dailyCost";
@@ -3952,10 +3952,10 @@ declare const PortableConfigSchema: z.ZodObject<{
3952
3952
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3953
3953
  context: "context";
3954
3954
  quota: "quota";
3955
- environment: "environment";
3956
3955
  addedDirs: "addedDirs";
3957
3956
  gitFiles: "gitFiles";
3958
3957
  memory: "memory";
3958
+ environment: "environment";
3959
3959
  sessionTime: "sessionTime";
3960
3960
  promptCache: "promptCache";
3961
3961
  compactions: "compactions";
@@ -3978,10 +3978,10 @@ declare const PortableConfigSchema: z.ZodObject<{
3978
3978
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
3979
3979
  context: "context";
3980
3980
  quota: "quota";
3981
- environment: "environment";
3982
3981
  addedDirs: "addedDirs";
3983
3982
  gitFiles: "gitFiles";
3984
3983
  memory: "memory";
3984
+ environment: "environment";
3985
3985
  sessionTime: "sessionTime";
3986
3986
  promptCache: "promptCache";
3987
3987
  compactions: "compactions";
@@ -3995,10 +3995,10 @@ declare const PortableConfigSchema: z.ZodObject<{
3995
3995
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3996
3996
  context: "context";
3997
3997
  quota: "quota";
3998
- environment: "environment";
3999
3998
  addedDirs: "addedDirs";
4000
3999
  gitFiles: "gitFiles";
4001
4000
  memory: "memory";
4001
+ environment: "environment";
4002
4002
  sessionTime: "sessionTime";
4003
4003
  promptCache: "promptCache";
4004
4004
  compactions: "compactions";
@@ -4057,10 +4057,10 @@ declare const PortableConfigSchema: z.ZodObject<{
4057
4057
  hidden: "hidden";
4058
4058
  }>>;
4059
4059
  value: z.ZodOptional<z.ZodEnum<{
4060
- remaining: "remaining";
4061
4060
  tokens: "tokens";
4062
4061
  both: "both";
4063
4062
  percent: "percent";
4063
+ remaining: "remaining";
4064
4064
  }>>;
4065
4065
  estimate: z.ZodOptional<z.ZodEnum<{
4066
4066
  never: "never";
@@ -4102,8 +4102,8 @@ declare const PortableConfigSchema: z.ZodObject<{
4102
4102
  }, z.core.$strict>>;
4103
4103
  usage: z.ZodOptional<z.ZodObject<{
4104
4104
  value: z.ZodOptional<z.ZodEnum<{
4105
- used: "used";
4106
4105
  remaining: "remaining";
4106
+ used: "used";
4107
4107
  }>>;
4108
4108
  bar: z.ZodOptional<z.ZodBoolean>;
4109
4109
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -4691,13 +4691,13 @@ declare const GlobalConfigSchema: z.ZodObject<{
4691
4691
  route: "route";
4692
4692
  account: "account";
4693
4693
  provider: "provider";
4694
- version: "version";
4695
- headroom: "headroom";
4696
4694
  duration: "duration";
4695
+ headroom: "headroom";
4697
4696
  project: "project";
4698
4697
  vcs: "vcs";
4699
4698
  effort: "effort";
4700
4699
  advisor: "advisor";
4700
+ version: "version";
4701
4701
  outputStyle: "outputStyle";
4702
4702
  cost: "cost";
4703
4703
  dailyCost: "dailyCost";
@@ -4708,10 +4708,10 @@ declare const GlobalConfigSchema: z.ZodObject<{
4708
4708
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4709
4709
  context: "context";
4710
4710
  quota: "quota";
4711
- environment: "environment";
4712
4711
  addedDirs: "addedDirs";
4713
4712
  gitFiles: "gitFiles";
4714
4713
  memory: "memory";
4714
+ environment: "environment";
4715
4715
  sessionTime: "sessionTime";
4716
4716
  promptCache: "promptCache";
4717
4717
  compactions: "compactions";
@@ -4734,10 +4734,10 @@ declare const GlobalConfigSchema: z.ZodObject<{
4734
4734
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
4735
4735
  context: "context";
4736
4736
  quota: "quota";
4737
- environment: "environment";
4738
4737
  addedDirs: "addedDirs";
4739
4738
  gitFiles: "gitFiles";
4740
4739
  memory: "memory";
4740
+ environment: "environment";
4741
4741
  sessionTime: "sessionTime";
4742
4742
  promptCache: "promptCache";
4743
4743
  compactions: "compactions";
@@ -4751,10 +4751,10 @@ declare const GlobalConfigSchema: z.ZodObject<{
4751
4751
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4752
4752
  context: "context";
4753
4753
  quota: "quota";
4754
- environment: "environment";
4755
4754
  addedDirs: "addedDirs";
4756
4755
  gitFiles: "gitFiles";
4757
4756
  memory: "memory";
4757
+ environment: "environment";
4758
4758
  sessionTime: "sessionTime";
4759
4759
  promptCache: "promptCache";
4760
4760
  compactions: "compactions";
@@ -4813,10 +4813,10 @@ declare const GlobalConfigSchema: z.ZodObject<{
4813
4813
  hidden: "hidden";
4814
4814
  }>>;
4815
4815
  value: z.ZodOptional<z.ZodEnum<{
4816
- remaining: "remaining";
4817
4816
  tokens: "tokens";
4818
4817
  both: "both";
4819
4818
  percent: "percent";
4819
+ remaining: "remaining";
4820
4820
  }>>;
4821
4821
  estimate: z.ZodOptional<z.ZodEnum<{
4822
4822
  never: "never";
@@ -4858,8 +4858,8 @@ declare const GlobalConfigSchema: z.ZodObject<{
4858
4858
  }, z.core.$strict>>;
4859
4859
  usage: z.ZodOptional<z.ZodObject<{
4860
4860
  value: z.ZodOptional<z.ZodEnum<{
4861
- used: "used";
4862
4861
  remaining: "remaining";
4862
+ used: "used";
4863
4863
  }>>;
4864
4864
  bar: z.ZodOptional<z.ZodBoolean>;
4865
4865
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -6012,6 +6012,8 @@ declare const FrontDoorSessionSchema: z.ZodObject<{
6012
6012
  }, z.core.$strict>>;
6013
6013
  }, z.core.$strict>;
6014
6014
  type FrontDoorSession = z.infer<typeof FrontDoorSessionSchema>;
6015
+ /** What names one launch: its launcher's pid and the time it registered. A launcher that registers again under its own pid (a relaunch after an account move, a `--resume`) writes a new start time, so per-launch state the door keeps never passes from one launch to the next, even when both carry the same session id. */
6016
+ type FrontDoorLaunch = Pick<FrontDoorSession, "pid" | "startedAt">;
6015
6017
  /**
6016
6018
  * The front-door supervisor's state.json under `<home>/frontdoor/`. Every field is optional because the file exists in stages, exactly like headroom's and the old codex daemon's: a fresh supervisor writes its own pid before the listener is up, and a shut-down front door leaves only the sticky `lastPort` and any `lastError` worth surfacing.
6017
6019
  */
@@ -7311,6 +7313,8 @@ interface SessionIdentity {
7311
7313
  readonly headroom: boolean;
7312
7314
  /** The project identity headroom scopes memory to, re-set on the headroom hop and sent nowhere else. */
7313
7315
  readonly projectId: string | undefined;
7316
+ /** The live launch whose capability the request presented, when the listener's admission identifies one. Two launches can carry one session id (`claude --resume` or `--continue` twice in one directory), so per-launch state is keyed on this, never on the session id. */
7317
+ readonly launch?: FrontDoorLaunch;
7314
7318
  }
7315
7319
  /** One request as a route sees it: the transport's own request and abort signal, plus what the identity step resolved. */
7316
7320
  interface RoutedRequest {
@@ -8540,6 +8544,189 @@ declare function createRcSessionCommands(deps: RcSessionCommandDeps): {
8540
8544
  /** The verbs as `createRcSessionCommands` builds them. */
8541
8545
  type RcSessionCommands = ReturnType<typeof createRcSessionCommands>;
8542
8546
 
8547
+ /** One routed request, appended to the usage log when its response has finished. */
8548
+ declare const UsageRecordSchema: z.ZodObject<{
8549
+ schemaVersion: z.ZodLiteral<1>;
8550
+ at: z.ZodISODateTime;
8551
+ identity: z.ZodOptional<z.ZodString>;
8552
+ provider: z.ZodString;
8553
+ sessionId: z.ZodOptional<z.ZodString>;
8554
+ clientSessionId: z.ZodOptional<z.ZodString>;
8555
+ project: z.ZodOptional<z.ZodString>;
8556
+ viaHeadroom: z.ZodOptional<z.ZodBoolean>;
8557
+ route: z.ZodString;
8558
+ method: z.ZodString;
8559
+ endpoint: z.ZodString;
8560
+ model: z.ZodOptional<z.ZodString>;
8561
+ requestedModel: z.ZodOptional<z.ZodString>;
8562
+ requestClass: z.ZodOptional<z.ZodEnum<{
8563
+ unknown: "unknown";
8564
+ main: "main";
8565
+ subagent: "subagent";
8566
+ workflow: "workflow";
8567
+ compaction: "compaction";
8568
+ auxiliary: "auxiliary";
8569
+ side_reply: "side_reply";
8570
+ }>>;
8571
+ candidateProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
8572
+ status: z.ZodNumber;
8573
+ latencyMs: z.ZodNumber;
8574
+ durationMs: z.ZodNumber;
8575
+ outcome: z.ZodEnum<{
8576
+ completed: "completed";
8577
+ aborted: "aborted";
8578
+ }>;
8579
+ usage: z.ZodOptional<z.ZodObject<{
8580
+ inputTokens: z.ZodOptional<z.ZodNumber>;
8581
+ outputTokens: z.ZodOptional<z.ZodNumber>;
8582
+ cacheCreationInputTokens: z.ZodOptional<z.ZodNumber>;
8583
+ cacheReadInputTokens: z.ZodOptional<z.ZodNumber>;
8584
+ }, z.core.$strict>>;
8585
+ rateLimitHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
8586
+ limit: z.ZodOptional<z.ZodObject<{
8587
+ kind: z.ZodEnum<{
8588
+ "rate-limited": "rate-limited";
8589
+ "quota-exhausted": "quota-exhausted";
8590
+ }>;
8591
+ retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
8592
+ resetAt: z.ZodOptional<z.ZodISODateTime>;
8593
+ window: z.ZodOptional<z.ZodString>;
8594
+ evidence: z.ZodArray<z.ZodString>;
8595
+ }, z.core.$strict>>;
8596
+ requestId: z.ZodOptional<z.ZodString>;
8597
+ }, z.core.$strict>;
8598
+ type UsageRecord = z.infer<typeof UsageRecordSchema>;
8599
+ /** One quota window from Anthropic's unified rate-limit headers. */
8600
+ declare const QuotaWindowSchema: z.ZodObject<{
8601
+ utilization: z.ZodOptional<z.ZodNumber>;
8602
+ resetsAt: z.ZodOptional<z.ZodISODateTime>;
8603
+ status: z.ZodOptional<z.ZodString>;
8604
+ graceUtilization: z.ZodOptional<z.ZodNumber>;
8605
+ }, z.core.$strict>;
8606
+ type QuotaWindow = z.infer<typeof QuotaWindowSchema>;
8607
+ /**
8608
+ * The account fields copied from an identity's stored Claude login (`oauthAccount` in the identity's `.claude.json`): who the account is and which plan and tier it is on. Never the token, which Claude Code keeps elsewhere. Each field is present only when the stored login has it; a setup-token identity has no profile scope and so none of them (see issue #44).
8609
+ */
8610
+ declare const AccountMetadataSchema: z.ZodObject<{
8611
+ accountUuid: z.ZodOptional<z.ZodString>;
8612
+ emailAddress: z.ZodOptional<z.ZodString>;
8613
+ displayName: z.ZodOptional<z.ZodString>;
8614
+ organizationUuid: z.ZodOptional<z.ZodString>;
8615
+ organizationName: z.ZodOptional<z.ZodString>;
8616
+ organizationType: z.ZodOptional<z.ZodString>;
8617
+ organizationRole: z.ZodOptional<z.ZodString>;
8618
+ workspaceRole: z.ZodOptional<z.ZodString>;
8619
+ billingType: z.ZodOptional<z.ZodString>;
8620
+ seatTier: z.ZodOptional<z.ZodString>;
8621
+ organizationRateLimitTier: z.ZodOptional<z.ZodString>;
8622
+ userRateLimitTier: z.ZodOptional<z.ZodString>;
8623
+ hasExtraUsageEnabled: z.ZodOptional<z.ZodBoolean>;
8624
+ subscriptionCreatedAt: z.ZodOptional<z.ZodString>;
8625
+ accountCreatedAt: z.ZodOptional<z.ZodString>;
8626
+ }, z.core.$strict>;
8627
+ type AccountMetadata = z.infer<typeof AccountMetadataSchema>;
8628
+ /**
8629
+ * The latest state for one identity, rewritten atomically after each recorded response: the snapshot file other tools read (`~/.agent-shim/usage/snapshots/<id>.json`, named and keyed in `identity` by the identity's id) without shelling out to `agent-shim`.
8630
+ */
8631
+ declare const UsageSnapshotSchema: z.ZodObject<{
8632
+ schemaVersion: z.ZodLiteral<1>;
8633
+ identity: z.ZodString;
8634
+ updatedAt: z.ZodISODateTime;
8635
+ account: z.ZodOptional<z.ZodObject<{
8636
+ accountUuid: z.ZodOptional<z.ZodString>;
8637
+ emailAddress: z.ZodOptional<z.ZodString>;
8638
+ displayName: z.ZodOptional<z.ZodString>;
8639
+ organizationUuid: z.ZodOptional<z.ZodString>;
8640
+ organizationName: z.ZodOptional<z.ZodString>;
8641
+ organizationType: z.ZodOptional<z.ZodString>;
8642
+ organizationRole: z.ZodOptional<z.ZodString>;
8643
+ workspaceRole: z.ZodOptional<z.ZodString>;
8644
+ billingType: z.ZodOptional<z.ZodString>;
8645
+ seatTier: z.ZodOptional<z.ZodString>;
8646
+ organizationRateLimitTier: z.ZodOptional<z.ZodString>;
8647
+ userRateLimitTier: z.ZodOptional<z.ZodString>;
8648
+ hasExtraUsageEnabled: z.ZodOptional<z.ZodBoolean>;
8649
+ subscriptionCreatedAt: z.ZodOptional<z.ZodString>;
8650
+ accountCreatedAt: z.ZodOptional<z.ZodString>;
8651
+ }, z.core.$strict>>;
8652
+ providers: z.ZodRecord<z.ZodString, z.ZodObject<{
8653
+ lastRequestAt: z.ZodOptional<z.ZodISODateTime>;
8654
+ lastStatus: z.ZodOptional<z.ZodNumber>;
8655
+ lastModel: z.ZodOptional<z.ZodString>;
8656
+ rateLimit: z.ZodOptional<z.ZodObject<{
8657
+ observedAt: z.ZodISODateTime;
8658
+ headers: z.ZodRecord<z.ZodString, z.ZodString>;
8659
+ unified: z.ZodOptional<z.ZodObject<{
8660
+ status: z.ZodOptional<z.ZodString>;
8661
+ fiveHour: z.ZodOptional<z.ZodObject<{
8662
+ utilization: z.ZodOptional<z.ZodNumber>;
8663
+ resetsAt: z.ZodOptional<z.ZodISODateTime>;
8664
+ status: z.ZodOptional<z.ZodString>;
8665
+ graceUtilization: z.ZodOptional<z.ZodNumber>;
8666
+ }, z.core.$strict>>;
8667
+ sevenDay: z.ZodOptional<z.ZodObject<{
8668
+ utilization: z.ZodOptional<z.ZodNumber>;
8669
+ resetsAt: z.ZodOptional<z.ZodISODateTime>;
8670
+ status: z.ZodOptional<z.ZodString>;
8671
+ graceUtilization: z.ZodOptional<z.ZodNumber>;
8672
+ }, z.core.$strict>>;
8673
+ sevenDayOverageIncluded: z.ZodOptional<z.ZodObject<{
8674
+ utilization: z.ZodOptional<z.ZodNumber>;
8675
+ resetsAt: z.ZodOptional<z.ZodISODateTime>;
8676
+ status: z.ZodOptional<z.ZodString>;
8677
+ graceUtilization: z.ZodOptional<z.ZodNumber>;
8678
+ }, z.core.$strict>>;
8679
+ representativeClaim: z.ZodOptional<z.ZodString>;
8680
+ resetAt: z.ZodOptional<z.ZodISODateTime>;
8681
+ overageStatus: z.ZodOptional<z.ZodString>;
8682
+ overageUtilization: z.ZodOptional<z.ZodNumber>;
8683
+ overageResetsAt: z.ZodOptional<z.ZodISODateTime>;
8684
+ overageDisabledReason: z.ZodOptional<z.ZodString>;
8685
+ overageInUse: z.ZodOptional<z.ZodBoolean>;
8686
+ extraUsageSpend: z.ZodOptional<z.ZodObject<{
8687
+ usedMinor: z.ZodNumber;
8688
+ limitMinor: z.ZodOptional<z.ZodNumber>;
8689
+ currency: z.ZodString;
8690
+ }, z.core.$strict>>;
8691
+ fallbackAvailable: z.ZodOptional<z.ZodBoolean>;
8692
+ }, z.core.$strict>>;
8693
+ planWindowsUnavailableAt: z.ZodOptional<z.ZodISODateTime>;
8694
+ }, z.core.$strict>>;
8695
+ lastLimit: z.ZodOptional<z.ZodObject<{
8696
+ kind: z.ZodEnum<{
8697
+ "rate-limited": "rate-limited";
8698
+ "quota-exhausted": "quota-exhausted";
8699
+ }>;
8700
+ retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
8701
+ resetAt: z.ZodOptional<z.ZodISODateTime>;
8702
+ window: z.ZodOptional<z.ZodString>;
8703
+ evidence: z.ZodArray<z.ZodString>;
8704
+ observedAt: z.ZodISODateTime;
8705
+ status: z.ZodNumber;
8706
+ }, z.core.$strict>>;
8707
+ quota: z.ZodOptional<z.ZodObject<{
8708
+ observedAt: z.ZodISODateTime;
8709
+ source: z.ZodString;
8710
+ level: z.ZodOptional<z.ZodString>;
8711
+ account: z.ZodOptional<z.ZodObject<{
8712
+ email: z.ZodOptional<z.ZodString>;
8713
+ accountId: z.ZodOptional<z.ZodString>;
8714
+ }, z.core.$strict>>;
8715
+ windows: z.ZodArray<z.ZodObject<{
8716
+ measures: z.ZodString;
8717
+ periodMs: z.ZodOptional<z.ZodNumber>;
8718
+ period: z.ZodOptional<z.ZodString>;
8719
+ utilization: z.ZodNumber;
8720
+ resetsAt: z.ZodOptional<z.ZodISODateTime>;
8721
+ limit: z.ZodOptional<z.ZodNumber>;
8722
+ used: z.ZodOptional<z.ZodNumber>;
8723
+ remaining: z.ZodOptional<z.ZodNumber>;
8724
+ }, z.core.$strict>>;
8725
+ }, z.core.$strict>>;
8726
+ }, z.core.$strict>>;
8727
+ }, z.core.$strict>;
8728
+ type UsageSnapshot = z.infer<typeof UsageSnapshotSchema>;
8729
+
8543
8730
  /**
8544
8731
  * A secondary pre-pipeline surface the listener answers under one path prefix: the typed Remote Control API. The listener owns only the dispatch (the prefix and the not-matched 404); the handle itself is whatever the door built, so this file stays independent of the API framework behind it.
8545
8732
  */
@@ -9078,12 +9265,12 @@ declare const CheckReportJsonSchema: z.ZodObject<{
9078
9265
  identity: z.ZodObject<{
9079
9266
  name: z.ZodNullable<z.ZodString>;
9080
9267
  source: z.ZodEnum<{
9268
+ env: "env";
9269
+ none: "none";
9081
9270
  "config-dir-escape-hatch": "config-dir-escape-hatch";
9082
9271
  argv: "argv";
9083
- env: "env";
9084
9272
  "directory-pin": "directory-pin";
9085
9273
  "active-identity-file": "active-identity-file";
9086
- none: "none";
9087
9274
  }>;
9088
9275
  }, z.core.$strict>;
9089
9276
  pool: z.ZodOptional<z.ZodObject<{
@@ -9162,11 +9349,11 @@ declare const CheckReportJsonSchema: z.ZodObject<{
9162
9349
  "category-default": "category-default";
9163
9350
  }>;
9164
9351
  category: z.ZodNullable<z.ZodEnum<{
9165
- secret: "secret";
9166
9352
  runtime: "runtime";
9167
9353
  history: "history";
9168
9354
  knowledge: "knowledge";
9169
9355
  settings: "settings";
9356
+ secret: "secret";
9170
9357
  }>>;
9171
9358
  rule: z.ZodOptional<z.ZodObject<{
9172
9359
  key: z.ZodString;
@@ -9366,8 +9553,8 @@ declare const CheckReportJsonSchema: z.ZodObject<{
9366
9553
  pinned: z.ZodOptional<z.ZodObject<{
9367
9554
  version: z.ZodString;
9368
9555
  source: z.ZodEnum<{
9369
- flag: "flag";
9370
9556
  environment: "environment";
9557
+ flag: "flag";
9371
9558
  cascade: "cascade";
9372
9559
  }>;
9373
9560
  installed: z.ZodBoolean;
@@ -9433,180 +9620,6 @@ declare const PoolPickReportSchema: z.ZodObject<{
9433
9620
  }, z.core.$strict>;
9434
9621
  type PoolPickReport = z.infer<typeof PoolPickReportSchema>;
9435
9622
 
9436
- /** One routed request, appended to the usage log when its response has finished. */
9437
- declare const UsageRecordSchema: z.ZodObject<{
9438
- schemaVersion: z.ZodLiteral<1>;
9439
- at: z.ZodISODateTime;
9440
- identity: z.ZodOptional<z.ZodString>;
9441
- provider: z.ZodString;
9442
- sessionId: z.ZodOptional<z.ZodString>;
9443
- clientSessionId: z.ZodOptional<z.ZodString>;
9444
- project: z.ZodOptional<z.ZodString>;
9445
- viaHeadroom: z.ZodOptional<z.ZodBoolean>;
9446
- route: z.ZodString;
9447
- method: z.ZodString;
9448
- endpoint: z.ZodString;
9449
- model: z.ZodOptional<z.ZodString>;
9450
- requestedModel: z.ZodOptional<z.ZodString>;
9451
- candidateProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
9452
- status: z.ZodNumber;
9453
- latencyMs: z.ZodNumber;
9454
- durationMs: z.ZodNumber;
9455
- outcome: z.ZodEnum<{
9456
- completed: "completed";
9457
- aborted: "aborted";
9458
- }>;
9459
- usage: z.ZodOptional<z.ZodObject<{
9460
- inputTokens: z.ZodOptional<z.ZodNumber>;
9461
- outputTokens: z.ZodOptional<z.ZodNumber>;
9462
- cacheCreationInputTokens: z.ZodOptional<z.ZodNumber>;
9463
- cacheReadInputTokens: z.ZodOptional<z.ZodNumber>;
9464
- }, z.core.$strict>>;
9465
- rateLimitHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
9466
- limit: z.ZodOptional<z.ZodObject<{
9467
- kind: z.ZodEnum<{
9468
- "rate-limited": "rate-limited";
9469
- "quota-exhausted": "quota-exhausted";
9470
- }>;
9471
- retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
9472
- resetAt: z.ZodOptional<z.ZodISODateTime>;
9473
- window: z.ZodOptional<z.ZodString>;
9474
- evidence: z.ZodArray<z.ZodString>;
9475
- }, z.core.$strict>>;
9476
- requestId: z.ZodOptional<z.ZodString>;
9477
- }, z.core.$strict>;
9478
- type UsageRecord = z.infer<typeof UsageRecordSchema>;
9479
- /** One quota window from Anthropic's unified rate-limit headers. */
9480
- declare const QuotaWindowSchema: z.ZodObject<{
9481
- utilization: z.ZodOptional<z.ZodNumber>;
9482
- resetsAt: z.ZodOptional<z.ZodISODateTime>;
9483
- status: z.ZodOptional<z.ZodString>;
9484
- graceUtilization: z.ZodOptional<z.ZodNumber>;
9485
- }, z.core.$strict>;
9486
- type QuotaWindow = z.infer<typeof QuotaWindowSchema>;
9487
- /**
9488
- * The account fields copied from an identity's stored Claude login (`oauthAccount` in the identity's `.claude.json`): who the account is and which plan and tier it is on. Never the token, which Claude Code keeps elsewhere. Each field is present only when the stored login has it; a setup-token identity has no profile scope and so none of them (see issue #44).
9489
- */
9490
- declare const AccountMetadataSchema: z.ZodObject<{
9491
- accountUuid: z.ZodOptional<z.ZodString>;
9492
- emailAddress: z.ZodOptional<z.ZodString>;
9493
- displayName: z.ZodOptional<z.ZodString>;
9494
- organizationUuid: z.ZodOptional<z.ZodString>;
9495
- organizationName: z.ZodOptional<z.ZodString>;
9496
- organizationType: z.ZodOptional<z.ZodString>;
9497
- organizationRole: z.ZodOptional<z.ZodString>;
9498
- workspaceRole: z.ZodOptional<z.ZodString>;
9499
- billingType: z.ZodOptional<z.ZodString>;
9500
- seatTier: z.ZodOptional<z.ZodString>;
9501
- organizationRateLimitTier: z.ZodOptional<z.ZodString>;
9502
- userRateLimitTier: z.ZodOptional<z.ZodString>;
9503
- hasExtraUsageEnabled: z.ZodOptional<z.ZodBoolean>;
9504
- subscriptionCreatedAt: z.ZodOptional<z.ZodString>;
9505
- accountCreatedAt: z.ZodOptional<z.ZodString>;
9506
- }, z.core.$strict>;
9507
- type AccountMetadata = z.infer<typeof AccountMetadataSchema>;
9508
- /**
9509
- * The latest state for one identity, rewritten atomically after each recorded response: the snapshot file other tools read (`~/.agent-shim/usage/snapshots/<id>.json`, named and keyed in `identity` by the identity's id) without shelling out to `agent-shim`.
9510
- */
9511
- declare const UsageSnapshotSchema: z.ZodObject<{
9512
- schemaVersion: z.ZodLiteral<1>;
9513
- identity: z.ZodString;
9514
- updatedAt: z.ZodISODateTime;
9515
- account: z.ZodOptional<z.ZodObject<{
9516
- accountUuid: z.ZodOptional<z.ZodString>;
9517
- emailAddress: z.ZodOptional<z.ZodString>;
9518
- displayName: z.ZodOptional<z.ZodString>;
9519
- organizationUuid: z.ZodOptional<z.ZodString>;
9520
- organizationName: z.ZodOptional<z.ZodString>;
9521
- organizationType: z.ZodOptional<z.ZodString>;
9522
- organizationRole: z.ZodOptional<z.ZodString>;
9523
- workspaceRole: z.ZodOptional<z.ZodString>;
9524
- billingType: z.ZodOptional<z.ZodString>;
9525
- seatTier: z.ZodOptional<z.ZodString>;
9526
- organizationRateLimitTier: z.ZodOptional<z.ZodString>;
9527
- userRateLimitTier: z.ZodOptional<z.ZodString>;
9528
- hasExtraUsageEnabled: z.ZodOptional<z.ZodBoolean>;
9529
- subscriptionCreatedAt: z.ZodOptional<z.ZodString>;
9530
- accountCreatedAt: z.ZodOptional<z.ZodString>;
9531
- }, z.core.$strict>>;
9532
- providers: z.ZodRecord<z.ZodString, z.ZodObject<{
9533
- lastRequestAt: z.ZodOptional<z.ZodISODateTime>;
9534
- lastStatus: z.ZodOptional<z.ZodNumber>;
9535
- lastModel: z.ZodOptional<z.ZodString>;
9536
- rateLimit: z.ZodOptional<z.ZodObject<{
9537
- observedAt: z.ZodISODateTime;
9538
- headers: z.ZodRecord<z.ZodString, z.ZodString>;
9539
- unified: z.ZodOptional<z.ZodObject<{
9540
- status: z.ZodOptional<z.ZodString>;
9541
- fiveHour: z.ZodOptional<z.ZodObject<{
9542
- utilization: z.ZodOptional<z.ZodNumber>;
9543
- resetsAt: z.ZodOptional<z.ZodISODateTime>;
9544
- status: z.ZodOptional<z.ZodString>;
9545
- graceUtilization: z.ZodOptional<z.ZodNumber>;
9546
- }, z.core.$strict>>;
9547
- sevenDay: z.ZodOptional<z.ZodObject<{
9548
- utilization: z.ZodOptional<z.ZodNumber>;
9549
- resetsAt: z.ZodOptional<z.ZodISODateTime>;
9550
- status: z.ZodOptional<z.ZodString>;
9551
- graceUtilization: z.ZodOptional<z.ZodNumber>;
9552
- }, z.core.$strict>>;
9553
- sevenDayOverageIncluded: z.ZodOptional<z.ZodObject<{
9554
- utilization: z.ZodOptional<z.ZodNumber>;
9555
- resetsAt: z.ZodOptional<z.ZodISODateTime>;
9556
- status: z.ZodOptional<z.ZodString>;
9557
- graceUtilization: z.ZodOptional<z.ZodNumber>;
9558
- }, z.core.$strict>>;
9559
- representativeClaim: z.ZodOptional<z.ZodString>;
9560
- resetAt: z.ZodOptional<z.ZodISODateTime>;
9561
- overageStatus: z.ZodOptional<z.ZodString>;
9562
- overageUtilization: z.ZodOptional<z.ZodNumber>;
9563
- overageResetsAt: z.ZodOptional<z.ZodISODateTime>;
9564
- overageDisabledReason: z.ZodOptional<z.ZodString>;
9565
- overageInUse: z.ZodOptional<z.ZodBoolean>;
9566
- extraUsageSpend: z.ZodOptional<z.ZodObject<{
9567
- usedMinor: z.ZodNumber;
9568
- limitMinor: z.ZodOptional<z.ZodNumber>;
9569
- currency: z.ZodString;
9570
- }, z.core.$strict>>;
9571
- fallbackAvailable: z.ZodOptional<z.ZodBoolean>;
9572
- }, z.core.$strict>>;
9573
- planWindowsUnavailableAt: z.ZodOptional<z.ZodISODateTime>;
9574
- }, z.core.$strict>>;
9575
- lastLimit: z.ZodOptional<z.ZodObject<{
9576
- kind: z.ZodEnum<{
9577
- "rate-limited": "rate-limited";
9578
- "quota-exhausted": "quota-exhausted";
9579
- }>;
9580
- retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
9581
- resetAt: z.ZodOptional<z.ZodISODateTime>;
9582
- window: z.ZodOptional<z.ZodString>;
9583
- evidence: z.ZodArray<z.ZodString>;
9584
- observedAt: z.ZodISODateTime;
9585
- status: z.ZodNumber;
9586
- }, z.core.$strict>>;
9587
- quota: z.ZodOptional<z.ZodObject<{
9588
- observedAt: z.ZodISODateTime;
9589
- source: z.ZodString;
9590
- level: z.ZodOptional<z.ZodString>;
9591
- account: z.ZodOptional<z.ZodObject<{
9592
- email: z.ZodOptional<z.ZodString>;
9593
- accountId: z.ZodOptional<z.ZodString>;
9594
- }, z.core.$strict>>;
9595
- windows: z.ZodArray<z.ZodObject<{
9596
- measures: z.ZodString;
9597
- periodMs: z.ZodOptional<z.ZodNumber>;
9598
- period: z.ZodOptional<z.ZodString>;
9599
- utilization: z.ZodNumber;
9600
- resetsAt: z.ZodOptional<z.ZodISODateTime>;
9601
- limit: z.ZodOptional<z.ZodNumber>;
9602
- used: z.ZodOptional<z.ZodNumber>;
9603
- remaining: z.ZodOptional<z.ZodNumber>;
9604
- }, z.core.$strict>>;
9605
- }, z.core.$strict>>;
9606
- }, z.core.$strict>>;
9607
- }, z.core.$strict>;
9608
- type UsageSnapshot = z.infer<typeof UsageSnapshotSchema>;
9609
-
9610
9623
  /**
9611
9624
  * The Zod schemas of the door's general control plane: the usage snapshots a remote consumer reads, the live rate-limit observations the event backbone files, the front door's own status and session registry, the check report over a path, and the doctor report, each one the input or output of a procedure in `controlApi.ts`. Like `rcSchemas.ts` this module is a plain Zod leaf (nothing here imports oRPC), and every shape it asserts is one the implementation already defines: the usage snapshot and front-door state schemas are the store's and the registry's own, the check report's is `checkReportSchema.ts`'s (`CheckReportJsonSchema`, imported straight by the procedure), and the doctor vocabulary is `doctorReport.ts`'s own, so contract and behaviour share one source and a drift fails the procedures' own validation rather than shipping silently.
9612
9625
  */
@@ -9857,9 +9870,11 @@ declare const DoctorFindingSchema: z.ZodObject<{
9857
9870
  "config-profile": "config-profile";
9858
9871
  identity: "identity";
9859
9872
  provider: "provider";
9873
+ keychain: "keychain";
9874
+ headroom: "headroom";
9875
+ models: "models";
9860
9876
  frontdoor: "frontdoor";
9861
9877
  pool: "pool";
9862
- keychain: "keychain";
9863
9878
  "ambient-credential": "ambient-credential";
9864
9879
  "binary-discovery": "binary-discovery";
9865
9880
  "claude-shim": "claude-shim";
@@ -9869,8 +9884,6 @@ declare const DoctorFindingSchema: z.ZodObject<{
9869
9884
  "directory-rules": "directory-rules";
9870
9885
  "categories-local": "categories-local";
9871
9886
  "active-identity": "active-identity";
9872
- headroom: "headroom";
9873
- models: "models";
9874
9887
  }>;
9875
9888
  subject: z.ZodOptional<z.ZodString>;
9876
9889
  severity: z.ZodEnum<{
@@ -9889,9 +9902,11 @@ declare const DoctorRunOutputSchema: z.ZodObject<{
9889
9902
  "config-profile": "config-profile";
9890
9903
  identity: "identity";
9891
9904
  provider: "provider";
9905
+ keychain: "keychain";
9906
+ headroom: "headroom";
9907
+ models: "models";
9892
9908
  frontdoor: "frontdoor";
9893
9909
  pool: "pool";
9894
- keychain: "keychain";
9895
9910
  "ambient-credential": "ambient-credential";
9896
9911
  "binary-discovery": "binary-discovery";
9897
9912
  "claude-shim": "claude-shim";
@@ -9901,8 +9916,6 @@ declare const DoctorRunOutputSchema: z.ZodObject<{
9901
9916
  "directory-rules": "directory-rules";
9902
9917
  "categories-local": "categories-local";
9903
9918
  "active-identity": "active-identity";
9904
- headroom: "headroom";
9905
- models: "models";
9906
9919
  }>;
9907
9920
  subject: z.ZodOptional<z.ZodString>;
9908
9921
  severity: z.ZodEnum<{
@@ -9923,9 +9936,9 @@ declare const UpdateCheckOutputSchema: z.ZodObject<{
9923
9936
  current: z.ZodString;
9924
9937
  latest: z.ZodString;
9925
9938
  action: z.ZodEnum<{
9939
+ updated: "updated";
9926
9940
  current: "current";
9927
9941
  available: "available";
9928
- updated: "updated";
9929
9942
  }>;
9930
9943
  }, z.core.$strict>;
9931
9944
  /** 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. */
@@ -10346,53 +10359,6 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10346
10359
  }, zod_v4_core.$strip>], "kind">]>;
10347
10360
  }, zod_v4_core.$strict>]>>>;
10348
10361
  description: zod.ZodOptional<zod.ZodString>;
10349
- models: zod.ZodOptional<zod.ZodObject<{
10350
- pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
10351
- virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
10352
- mode: zod.ZodEnum<{
10353
- ordered: "ordered";
10354
- "most-allowance": "most-allowance";
10355
- "soonest-reset": "soonest-reset";
10356
- spread: "spread";
10357
- adaptive: "adaptive";
10358
- "lowest-latency": "lowest-latency";
10359
- "highest-success": "highest-success";
10360
- cheapest: "cheapest";
10361
- }>;
10362
- members: zod.ZodArray<zod.ZodString>;
10363
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
10364
- tiers: zod.ZodOptional<zod.ZodObject<{
10365
- fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
10366
- opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
10367
- sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
10368
- haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
10369
- }, zod_v4_core.$strict>>;
10370
- prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
10371
- input: zod.ZodNumber;
10372
- output: zod.ZodNumber;
10373
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
10374
- hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
10375
- show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
10376
- same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
10377
- distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
10378
- families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
10379
- names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
10380
- mode: zod.ZodOptional<zod.ZodEnum<{
10381
- ordered: "ordered";
10382
- "most-allowance": "most-allowance";
10383
- "soonest-reset": "soonest-reset";
10384
- spread: "spread";
10385
- adaptive: "adaptive";
10386
- "lowest-latency": "lowest-latency";
10387
- "highest-success": "highest-success";
10388
- cheapest: "cheapest";
10389
- }>>;
10390
- context: zod.ZodOptional<zod.ZodNumber>;
10391
- vision: zod.ZodOptional<zod.ZodBoolean>;
10392
- tools: zod.ZodOptional<zod.ZodBoolean>;
10393
- thinking: zod.ZodOptional<zod.ZodBoolean>;
10394
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
10395
- }, zod_v4_core.$strict>>;
10396
10362
  extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
10397
10363
  categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
10398
10364
  all: zod.ZodOptional<zod.ZodBoolean>;
@@ -10439,13 +10405,13 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10439
10405
  route: "route";
10440
10406
  account: "account";
10441
10407
  provider: "provider";
10442
- version: "version";
10443
- headroom: "headroom";
10444
10408
  duration: "duration";
10409
+ headroom: "headroom";
10445
10410
  project: "project";
10446
10411
  vcs: "vcs";
10447
10412
  effort: "effort";
10448
10413
  advisor: "advisor";
10414
+ version: "version";
10449
10415
  outputStyle: "outputStyle";
10450
10416
  cost: "cost";
10451
10417
  dailyCost: "dailyCost";
@@ -10456,10 +10422,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10456
10422
  rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
10457
10423
  context: "context";
10458
10424
  quota: "quota";
10459
- environment: "environment";
10460
10425
  addedDirs: "addedDirs";
10461
10426
  gitFiles: "gitFiles";
10462
10427
  memory: "memory";
10428
+ environment: "environment";
10463
10429
  sessionTime: "sessionTime";
10464
10430
  promptCache: "promptCache";
10465
10431
  compactions: "compactions";
@@ -10482,10 +10448,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10482
10448
  merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
10483
10449
  context: "context";
10484
10450
  quota: "quota";
10485
- environment: "environment";
10486
10451
  addedDirs: "addedDirs";
10487
10452
  gitFiles: "gitFiles";
10488
10453
  memory: "memory";
10454
+ environment: "environment";
10489
10455
  sessionTime: "sessionTime";
10490
10456
  promptCache: "promptCache";
10491
10457
  compactions: "compactions";
@@ -10499,10 +10465,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10499
10465
  rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
10500
10466
  context: "context";
10501
10467
  quota: "quota";
10502
- environment: "environment";
10503
10468
  addedDirs: "addedDirs";
10504
10469
  gitFiles: "gitFiles";
10505
10470
  memory: "memory";
10471
+ environment: "environment";
10506
10472
  sessionTime: "sessionTime";
10507
10473
  promptCache: "promptCache";
10508
10474
  compactions: "compactions";
@@ -10561,10 +10527,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10561
10527
  hidden: "hidden";
10562
10528
  }>>;
10563
10529
  value: zod.ZodOptional<zod.ZodEnum<{
10564
- remaining: "remaining";
10565
10530
  tokens: "tokens";
10566
10531
  both: "both";
10567
10532
  percent: "percent";
10533
+ remaining: "remaining";
10568
10534
  }>>;
10569
10535
  estimate: zod.ZodOptional<zod.ZodEnum<{
10570
10536
  never: "never";
@@ -10606,8 +10572,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10606
10572
  }, zod_v4_core.$strict>>;
10607
10573
  usage: zod.ZodOptional<zod.ZodObject<{
10608
10574
  value: zod.ZodOptional<zod.ZodEnum<{
10609
- used: "used";
10610
10575
  remaining: "remaining";
10576
+ used: "used";
10611
10577
  }>>;
10612
10578
  bar: zod.ZodOptional<zod.ZodBoolean>;
10613
10579
  compact: zod.ZodOptional<zod.ZodBoolean>;
@@ -10965,6 +10931,53 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10965
10931
  }, zod_v4_core.$strict>>;
10966
10932
  }, zod_v4_core.$strict>>;
10967
10933
  }, zod_v4_core.$strict>>;
10934
+ models: zod.ZodOptional<zod.ZodObject<{
10935
+ pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
10936
+ virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
10937
+ mode: zod.ZodEnum<{
10938
+ ordered: "ordered";
10939
+ "most-allowance": "most-allowance";
10940
+ "soonest-reset": "soonest-reset";
10941
+ spread: "spread";
10942
+ adaptive: "adaptive";
10943
+ "lowest-latency": "lowest-latency";
10944
+ "highest-success": "highest-success";
10945
+ cheapest: "cheapest";
10946
+ }>;
10947
+ members: zod.ZodArray<zod.ZodString>;
10948
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
10949
+ tiers: zod.ZodOptional<zod.ZodObject<{
10950
+ fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
10951
+ opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
10952
+ sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
10953
+ haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
10954
+ }, zod_v4_core.$strict>>;
10955
+ prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
10956
+ input: zod.ZodNumber;
10957
+ output: zod.ZodNumber;
10958
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
10959
+ hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
10960
+ show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
10961
+ same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
10962
+ distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
10963
+ families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
10964
+ names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
10965
+ mode: zod.ZodOptional<zod.ZodEnum<{
10966
+ ordered: "ordered";
10967
+ "most-allowance": "most-allowance";
10968
+ "soonest-reset": "soonest-reset";
10969
+ spread: "spread";
10970
+ adaptive: "adaptive";
10971
+ "lowest-latency": "lowest-latency";
10972
+ "highest-success": "highest-success";
10973
+ cheapest: "cheapest";
10974
+ }>>;
10975
+ context: zod.ZodOptional<zod.ZodNumber>;
10976
+ vision: zod.ZodOptional<zod.ZodBoolean>;
10977
+ tools: zod.ZodOptional<zod.ZodBoolean>;
10978
+ thinking: zod.ZodOptional<zod.ZodBoolean>;
10979
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
10980
+ }, zod_v4_core.$strict>>;
10968
10981
  }, zod_v4_core.$strict>;
10969
10982
  }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
10970
10983
  set: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
@@ -11070,53 +11083,6 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11070
11083
  }, zod_v4_core.$strip>], "kind">]>;
11071
11084
  }, zod_v4_core.$strict>]>>>;
11072
11085
  description: zod.ZodOptional<zod.ZodString>;
11073
- models: zod.ZodOptional<zod.ZodObject<{
11074
- pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
11075
- virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
11076
- mode: zod.ZodEnum<{
11077
- ordered: "ordered";
11078
- "most-allowance": "most-allowance";
11079
- "soonest-reset": "soonest-reset";
11080
- spread: "spread";
11081
- adaptive: "adaptive";
11082
- "lowest-latency": "lowest-latency";
11083
- "highest-success": "highest-success";
11084
- cheapest: "cheapest";
11085
- }>;
11086
- members: zod.ZodArray<zod.ZodString>;
11087
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
11088
- tiers: zod.ZodOptional<zod.ZodObject<{
11089
- fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
11090
- opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
11091
- sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
11092
- haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
11093
- }, zod_v4_core.$strict>>;
11094
- prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
11095
- input: zod.ZodNumber;
11096
- output: zod.ZodNumber;
11097
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
11098
- hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
11099
- show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
11100
- same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
11101
- distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
11102
- families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
11103
- names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
11104
- mode: zod.ZodOptional<zod.ZodEnum<{
11105
- ordered: "ordered";
11106
- "most-allowance": "most-allowance";
11107
- "soonest-reset": "soonest-reset";
11108
- spread: "spread";
11109
- adaptive: "adaptive";
11110
- "lowest-latency": "lowest-latency";
11111
- "highest-success": "highest-success";
11112
- cheapest: "cheapest";
11113
- }>>;
11114
- context: zod.ZodOptional<zod.ZodNumber>;
11115
- vision: zod.ZodOptional<zod.ZodBoolean>;
11116
- tools: zod.ZodOptional<zod.ZodBoolean>;
11117
- thinking: zod.ZodOptional<zod.ZodBoolean>;
11118
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
11119
- }, zod_v4_core.$strict>>;
11120
11086
  extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
11121
11087
  categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
11122
11088
  all: zod.ZodOptional<zod.ZodBoolean>;
@@ -11163,13 +11129,13 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11163
11129
  route: "route";
11164
11130
  account: "account";
11165
11131
  provider: "provider";
11166
- version: "version";
11167
- headroom: "headroom";
11168
11132
  duration: "duration";
11133
+ headroom: "headroom";
11169
11134
  project: "project";
11170
11135
  vcs: "vcs";
11171
11136
  effort: "effort";
11172
11137
  advisor: "advisor";
11138
+ version: "version";
11173
11139
  outputStyle: "outputStyle";
11174
11140
  cost: "cost";
11175
11141
  dailyCost: "dailyCost";
@@ -11180,10 +11146,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11180
11146
  rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
11181
11147
  context: "context";
11182
11148
  quota: "quota";
11183
- environment: "environment";
11184
11149
  addedDirs: "addedDirs";
11185
11150
  gitFiles: "gitFiles";
11186
11151
  memory: "memory";
11152
+ environment: "environment";
11187
11153
  sessionTime: "sessionTime";
11188
11154
  promptCache: "promptCache";
11189
11155
  compactions: "compactions";
@@ -11206,10 +11172,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11206
11172
  merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
11207
11173
  context: "context";
11208
11174
  quota: "quota";
11209
- environment: "environment";
11210
11175
  addedDirs: "addedDirs";
11211
11176
  gitFiles: "gitFiles";
11212
11177
  memory: "memory";
11178
+ environment: "environment";
11213
11179
  sessionTime: "sessionTime";
11214
11180
  promptCache: "promptCache";
11215
11181
  compactions: "compactions";
@@ -11223,10 +11189,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11223
11189
  rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
11224
11190
  context: "context";
11225
11191
  quota: "quota";
11226
- environment: "environment";
11227
11192
  addedDirs: "addedDirs";
11228
11193
  gitFiles: "gitFiles";
11229
11194
  memory: "memory";
11195
+ environment: "environment";
11230
11196
  sessionTime: "sessionTime";
11231
11197
  promptCache: "promptCache";
11232
11198
  compactions: "compactions";
@@ -11285,10 +11251,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11285
11251
  hidden: "hidden";
11286
11252
  }>>;
11287
11253
  value: zod.ZodOptional<zod.ZodEnum<{
11288
- remaining: "remaining";
11289
11254
  tokens: "tokens";
11290
11255
  both: "both";
11291
11256
  percent: "percent";
11257
+ remaining: "remaining";
11292
11258
  }>>;
11293
11259
  estimate: zod.ZodOptional<zod.ZodEnum<{
11294
11260
  never: "never";
@@ -11330,8 +11296,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11330
11296
  }, zod_v4_core.$strict>>;
11331
11297
  usage: zod.ZodOptional<zod.ZodObject<{
11332
11298
  value: zod.ZodOptional<zod.ZodEnum<{
11333
- used: "used";
11334
11299
  remaining: "remaining";
11300
+ used: "used";
11335
11301
  }>>;
11336
11302
  bar: zod.ZodOptional<zod.ZodBoolean>;
11337
11303
  compact: zod.ZodOptional<zod.ZodBoolean>;
@@ -11689,6 +11655,53 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11689
11655
  }, zod_v4_core.$strict>>;
11690
11656
  }, zod_v4_core.$strict>>;
11691
11657
  }, zod_v4_core.$strict>>;
11658
+ models: zod.ZodOptional<zod.ZodObject<{
11659
+ pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
11660
+ virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
11661
+ mode: zod.ZodEnum<{
11662
+ ordered: "ordered";
11663
+ "most-allowance": "most-allowance";
11664
+ "soonest-reset": "soonest-reset";
11665
+ spread: "spread";
11666
+ adaptive: "adaptive";
11667
+ "lowest-latency": "lowest-latency";
11668
+ "highest-success": "highest-success";
11669
+ cheapest: "cheapest";
11670
+ }>;
11671
+ members: zod.ZodArray<zod.ZodString>;
11672
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
11673
+ tiers: zod.ZodOptional<zod.ZodObject<{
11674
+ fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
11675
+ opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
11676
+ sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
11677
+ haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
11678
+ }, zod_v4_core.$strict>>;
11679
+ prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
11680
+ input: zod.ZodNumber;
11681
+ output: zod.ZodNumber;
11682
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
11683
+ hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
11684
+ show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
11685
+ same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
11686
+ distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
11687
+ families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
11688
+ names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
11689
+ mode: zod.ZodOptional<zod.ZodEnum<{
11690
+ ordered: "ordered";
11691
+ "most-allowance": "most-allowance";
11692
+ "soonest-reset": "soonest-reset";
11693
+ spread: "spread";
11694
+ adaptive: "adaptive";
11695
+ "lowest-latency": "lowest-latency";
11696
+ "highest-success": "highest-success";
11697
+ cheapest: "cheapest";
11698
+ }>>;
11699
+ context: zod.ZodOptional<zod.ZodNumber>;
11700
+ vision: zod.ZodOptional<zod.ZodBoolean>;
11701
+ tools: zod.ZodOptional<zod.ZodBoolean>;
11702
+ thinking: zod.ZodOptional<zod.ZodBoolean>;
11703
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
11704
+ }, zod_v4_core.$strict>>;
11692
11705
  }, zod_v4_core.$strict>;
11693
11706
  }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
11694
11707
  remove: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
@@ -12269,53 +12282,6 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12269
12282
  key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
12270
12283
  }, zod_v4_core.$strip>], "kind">]>;
12271
12284
  }, zod_v4_core.$strict>]>>>;
12272
- models: zod.ZodOptional<zod.ZodObject<{
12273
- pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
12274
- virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
12275
- mode: zod.ZodEnum<{
12276
- ordered: "ordered";
12277
- "most-allowance": "most-allowance";
12278
- "soonest-reset": "soonest-reset";
12279
- spread: "spread";
12280
- adaptive: "adaptive";
12281
- "lowest-latency": "lowest-latency";
12282
- "highest-success": "highest-success";
12283
- cheapest: "cheapest";
12284
- }>;
12285
- members: zod.ZodArray<zod.ZodString>;
12286
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
12287
- tiers: zod.ZodOptional<zod.ZodObject<{
12288
- fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
12289
- opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
12290
- sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
12291
- haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
12292
- }, zod_v4_core.$strict>>;
12293
- prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
12294
- input: zod.ZodNumber;
12295
- output: zod.ZodNumber;
12296
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
12297
- hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
12298
- show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
12299
- same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
12300
- distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
12301
- families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
12302
- names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
12303
- mode: zod.ZodOptional<zod.ZodEnum<{
12304
- ordered: "ordered";
12305
- "most-allowance": "most-allowance";
12306
- "soonest-reset": "soonest-reset";
12307
- spread: "spread";
12308
- adaptive: "adaptive";
12309
- "lowest-latency": "lowest-latency";
12310
- "highest-success": "highest-success";
12311
- cheapest: "cheapest";
12312
- }>>;
12313
- context: zod.ZodOptional<zod.ZodNumber>;
12314
- vision: zod.ZodOptional<zod.ZodBoolean>;
12315
- tools: zod.ZodOptional<zod.ZodBoolean>;
12316
- thinking: zod.ZodOptional<zod.ZodBoolean>;
12317
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
12318
- }, zod_v4_core.$strict>>;
12319
12285
  $schema: zod.ZodOptional<zod.ZodString>;
12320
12286
  extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
12321
12287
  categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
@@ -12363,13 +12329,13 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12363
12329
  route: "route";
12364
12330
  account: "account";
12365
12331
  provider: "provider";
12366
- version: "version";
12367
- headroom: "headroom";
12368
12332
  duration: "duration";
12333
+ headroom: "headroom";
12369
12334
  project: "project";
12370
12335
  vcs: "vcs";
12371
12336
  effort: "effort";
12372
12337
  advisor: "advisor";
12338
+ version: "version";
12373
12339
  outputStyle: "outputStyle";
12374
12340
  cost: "cost";
12375
12341
  dailyCost: "dailyCost";
@@ -12380,10 +12346,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12380
12346
  rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
12381
12347
  context: "context";
12382
12348
  quota: "quota";
12383
- environment: "environment";
12384
12349
  addedDirs: "addedDirs";
12385
12350
  gitFiles: "gitFiles";
12386
12351
  memory: "memory";
12352
+ environment: "environment";
12387
12353
  sessionTime: "sessionTime";
12388
12354
  promptCache: "promptCache";
12389
12355
  compactions: "compactions";
@@ -12406,10 +12372,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12406
12372
  merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
12407
12373
  context: "context";
12408
12374
  quota: "quota";
12409
- environment: "environment";
12410
12375
  addedDirs: "addedDirs";
12411
12376
  gitFiles: "gitFiles";
12412
12377
  memory: "memory";
12378
+ environment: "environment";
12413
12379
  sessionTime: "sessionTime";
12414
12380
  promptCache: "promptCache";
12415
12381
  compactions: "compactions";
@@ -12423,10 +12389,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12423
12389
  rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
12424
12390
  context: "context";
12425
12391
  quota: "quota";
12426
- environment: "environment";
12427
12392
  addedDirs: "addedDirs";
12428
12393
  gitFiles: "gitFiles";
12429
12394
  memory: "memory";
12395
+ environment: "environment";
12430
12396
  sessionTime: "sessionTime";
12431
12397
  promptCache: "promptCache";
12432
12398
  compactions: "compactions";
@@ -12485,10 +12451,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12485
12451
  hidden: "hidden";
12486
12452
  }>>;
12487
12453
  value: zod.ZodOptional<zod.ZodEnum<{
12488
- remaining: "remaining";
12489
12454
  tokens: "tokens";
12490
12455
  both: "both";
12491
12456
  percent: "percent";
12457
+ remaining: "remaining";
12492
12458
  }>>;
12493
12459
  estimate: zod.ZodOptional<zod.ZodEnum<{
12494
12460
  never: "never";
@@ -12530,8 +12496,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12530
12496
  }, zod_v4_core.$strict>>;
12531
12497
  usage: zod.ZodOptional<zod.ZodObject<{
12532
12498
  value: zod.ZodOptional<zod.ZodEnum<{
12533
- used: "used";
12534
12499
  remaining: "remaining";
12500
+ used: "used";
12535
12501
  }>>;
12536
12502
  bar: zod.ZodOptional<zod.ZodBoolean>;
12537
12503
  compact: zod.ZodOptional<zod.ZodBoolean>;
@@ -12889,6 +12855,53 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12889
12855
  }, zod_v4_core.$strict>>;
12890
12856
  }, zod_v4_core.$strict>>;
12891
12857
  }, zod_v4_core.$strict>>;
12858
+ models: zod.ZodOptional<zod.ZodObject<{
12859
+ pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
12860
+ virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
12861
+ mode: zod.ZodEnum<{
12862
+ ordered: "ordered";
12863
+ "most-allowance": "most-allowance";
12864
+ "soonest-reset": "soonest-reset";
12865
+ spread: "spread";
12866
+ adaptive: "adaptive";
12867
+ "lowest-latency": "lowest-latency";
12868
+ "highest-success": "highest-success";
12869
+ cheapest: "cheapest";
12870
+ }>;
12871
+ members: zod.ZodArray<zod.ZodString>;
12872
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
12873
+ tiers: zod.ZodOptional<zod.ZodObject<{
12874
+ fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
12875
+ opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
12876
+ sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
12877
+ haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
12878
+ }, zod_v4_core.$strict>>;
12879
+ prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
12880
+ input: zod.ZodNumber;
12881
+ output: zod.ZodNumber;
12882
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
12883
+ hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
12884
+ show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
12885
+ same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
12886
+ distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
12887
+ families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
12888
+ names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
12889
+ mode: zod.ZodOptional<zod.ZodEnum<{
12890
+ ordered: "ordered";
12891
+ "most-allowance": "most-allowance";
12892
+ "soonest-reset": "soonest-reset";
12893
+ spread: "spread";
12894
+ adaptive: "adaptive";
12895
+ "lowest-latency": "lowest-latency";
12896
+ "highest-success": "highest-success";
12897
+ cheapest: "cheapest";
12898
+ }>>;
12899
+ context: zod.ZodOptional<zod.ZodNumber>;
12900
+ vision: zod.ZodOptional<zod.ZodBoolean>;
12901
+ tools: zod.ZodOptional<zod.ZodBoolean>;
12902
+ thinking: zod.ZodOptional<zod.ZodBoolean>;
12903
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
12904
+ }, zod_v4_core.$strict>>;
12892
12905
  path: zod.ZodString;
12893
12906
  configProfile: zod.ZodOptional<zod.ZodString>;
12894
12907
  identity: zod.ZodOptional<zod.ZodString>;
@@ -13050,53 +13063,6 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
13050
13063
  key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
13051
13064
  }, zod_v4_core.$strip>], "kind">]>;
13052
13065
  }, zod_v4_core.$strict>]>>>;
13053
- models: zod.ZodOptional<zod.ZodObject<{
13054
- pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
13055
- virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
13056
- mode: zod.ZodEnum<{
13057
- ordered: "ordered";
13058
- "most-allowance": "most-allowance";
13059
- "soonest-reset": "soonest-reset";
13060
- spread: "spread";
13061
- adaptive: "adaptive";
13062
- "lowest-latency": "lowest-latency";
13063
- "highest-success": "highest-success";
13064
- cheapest: "cheapest";
13065
- }>;
13066
- members: zod.ZodArray<zod.ZodString>;
13067
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
13068
- tiers: zod.ZodOptional<zod.ZodObject<{
13069
- fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
13070
- opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
13071
- sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
13072
- haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
13073
- }, zod_v4_core.$strict>>;
13074
- prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
13075
- input: zod.ZodNumber;
13076
- output: zod.ZodNumber;
13077
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
13078
- hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
13079
- show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
13080
- same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
13081
- distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
13082
- families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
13083
- names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
13084
- mode: zod.ZodOptional<zod.ZodEnum<{
13085
- ordered: "ordered";
13086
- "most-allowance": "most-allowance";
13087
- "soonest-reset": "soonest-reset";
13088
- spread: "spread";
13089
- adaptive: "adaptive";
13090
- "lowest-latency": "lowest-latency";
13091
- "highest-success": "highest-success";
13092
- cheapest: "cheapest";
13093
- }>>;
13094
- context: zod.ZodOptional<zod.ZodNumber>;
13095
- vision: zod.ZodOptional<zod.ZodBoolean>;
13096
- tools: zod.ZodOptional<zod.ZodBoolean>;
13097
- thinking: zod.ZodOptional<zod.ZodBoolean>;
13098
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
13099
- }, zod_v4_core.$strict>>;
13100
13066
  $schema: zod.ZodOptional<zod.ZodString>;
13101
13067
  extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
13102
13068
  categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
@@ -13144,13 +13110,13 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
13144
13110
  route: "route";
13145
13111
  account: "account";
13146
13112
  provider: "provider";
13147
- version: "version";
13148
- headroom: "headroom";
13149
13113
  duration: "duration";
13114
+ headroom: "headroom";
13150
13115
  project: "project";
13151
13116
  vcs: "vcs";
13152
13117
  effort: "effort";
13153
13118
  advisor: "advisor";
13119
+ version: "version";
13154
13120
  outputStyle: "outputStyle";
13155
13121
  cost: "cost";
13156
13122
  dailyCost: "dailyCost";
@@ -13161,10 +13127,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
13161
13127
  rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
13162
13128
  context: "context";
13163
13129
  quota: "quota";
13164
- environment: "environment";
13165
13130
  addedDirs: "addedDirs";
13166
13131
  gitFiles: "gitFiles";
13167
13132
  memory: "memory";
13133
+ environment: "environment";
13168
13134
  sessionTime: "sessionTime";
13169
13135
  promptCache: "promptCache";
13170
13136
  compactions: "compactions";
@@ -13187,10 +13153,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
13187
13153
  merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
13188
13154
  context: "context";
13189
13155
  quota: "quota";
13190
- environment: "environment";
13191
13156
  addedDirs: "addedDirs";
13192
13157
  gitFiles: "gitFiles";
13193
13158
  memory: "memory";
13159
+ environment: "environment";
13194
13160
  sessionTime: "sessionTime";
13195
13161
  promptCache: "promptCache";
13196
13162
  compactions: "compactions";
@@ -13204,10 +13170,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
13204
13170
  rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
13205
13171
  context: "context";
13206
13172
  quota: "quota";
13207
- environment: "environment";
13208
13173
  addedDirs: "addedDirs";
13209
13174
  gitFiles: "gitFiles";
13210
13175
  memory: "memory";
13176
+ environment: "environment";
13211
13177
  sessionTime: "sessionTime";
13212
13178
  promptCache: "promptCache";
13213
13179
  compactions: "compactions";
@@ -13266,10 +13232,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
13266
13232
  hidden: "hidden";
13267
13233
  }>>;
13268
13234
  value: zod.ZodOptional<zod.ZodEnum<{
13269
- remaining: "remaining";
13270
13235
  tokens: "tokens";
13271
13236
  both: "both";
13272
13237
  percent: "percent";
13238
+ remaining: "remaining";
13273
13239
  }>>;
13274
13240
  estimate: zod.ZodOptional<zod.ZodEnum<{
13275
13241
  never: "never";
@@ -13311,8 +13277,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
13311
13277
  }, zod_v4_core.$strict>>;
13312
13278
  usage: zod.ZodOptional<zod.ZodObject<{
13313
13279
  value: zod.ZodOptional<zod.ZodEnum<{
13314
- used: "used";
13315
13280
  remaining: "remaining";
13281
+ used: "used";
13316
13282
  }>>;
13317
13283
  bar: zod.ZodOptional<zod.ZodBoolean>;
13318
13284
  compact: zod.ZodOptional<zod.ZodBoolean>;
@@ -13670,6 +13636,53 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
13670
13636
  }, zod_v4_core.$strict>>;
13671
13637
  }, zod_v4_core.$strict>>;
13672
13638
  }, zod_v4_core.$strict>>;
13639
+ models: zod.ZodOptional<zod.ZodObject<{
13640
+ pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
13641
+ virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
13642
+ mode: zod.ZodEnum<{
13643
+ ordered: "ordered";
13644
+ "most-allowance": "most-allowance";
13645
+ "soonest-reset": "soonest-reset";
13646
+ spread: "spread";
13647
+ adaptive: "adaptive";
13648
+ "lowest-latency": "lowest-latency";
13649
+ "highest-success": "highest-success";
13650
+ cheapest: "cheapest";
13651
+ }>;
13652
+ members: zod.ZodArray<zod.ZodString>;
13653
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
13654
+ tiers: zod.ZodOptional<zod.ZodObject<{
13655
+ fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
13656
+ opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
13657
+ sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
13658
+ haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
13659
+ }, zod_v4_core.$strict>>;
13660
+ prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
13661
+ input: zod.ZodNumber;
13662
+ output: zod.ZodNumber;
13663
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
13664
+ hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
13665
+ show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
13666
+ same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
13667
+ distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
13668
+ families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
13669
+ names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
13670
+ mode: zod.ZodOptional<zod.ZodEnum<{
13671
+ ordered: "ordered";
13672
+ "most-allowance": "most-allowance";
13673
+ "soonest-reset": "soonest-reset";
13674
+ spread: "spread";
13675
+ adaptive: "adaptive";
13676
+ "lowest-latency": "lowest-latency";
13677
+ "highest-success": "highest-success";
13678
+ cheapest: "cheapest";
13679
+ }>>;
13680
+ context: zod.ZodOptional<zod.ZodNumber>;
13681
+ vision: zod.ZodOptional<zod.ZodBoolean>;
13682
+ tools: zod.ZodOptional<zod.ZodBoolean>;
13683
+ thinking: zod.ZodOptional<zod.ZodBoolean>;
13684
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
13685
+ }, zod_v4_core.$strict>>;
13673
13686
  path: zod.ZodString;
13674
13687
  configProfile: zod.ZodOptional<zod.ZodString>;
13675
13688
  identity: zod.ZodOptional<zod.ZodString>;
@@ -14074,9 +14087,9 @@ declare function createLifecycleApiRouter(deps: LifecycleApiDeps): {
14074
14087
  current: z.ZodString;
14075
14088
  latest: z.ZodString;
14076
14089
  action: z.ZodEnum<{
14090
+ updated: "updated";
14077
14091
  current: "current";
14078
14092
  available: "available";
14079
- updated: "updated";
14080
14093
  }>;
14081
14094
  }, z.core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
14082
14095
  };
@@ -14161,13 +14174,13 @@ declare const StatuslineSchema: z.ZodObject<{
14161
14174
  route: "route";
14162
14175
  account: "account";
14163
14176
  provider: "provider";
14164
- version: "version";
14165
- headroom: "headroom";
14166
14177
  duration: "duration";
14178
+ headroom: "headroom";
14167
14179
  project: "project";
14168
14180
  vcs: "vcs";
14169
14181
  effort: "effort";
14170
14182
  advisor: "advisor";
14183
+ version: "version";
14171
14184
  outputStyle: "outputStyle";
14172
14185
  cost: "cost";
14173
14186
  dailyCost: "dailyCost";
@@ -14178,10 +14191,10 @@ declare const StatuslineSchema: z.ZodObject<{
14178
14191
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
14179
14192
  context: "context";
14180
14193
  quota: "quota";
14181
- environment: "environment";
14182
14194
  addedDirs: "addedDirs";
14183
14195
  gitFiles: "gitFiles";
14184
14196
  memory: "memory";
14197
+ environment: "environment";
14185
14198
  sessionTime: "sessionTime";
14186
14199
  promptCache: "promptCache";
14187
14200
  compactions: "compactions";
@@ -14204,10 +14217,10 @@ declare const StatuslineSchema: z.ZodObject<{
14204
14217
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
14205
14218
  context: "context";
14206
14219
  quota: "quota";
14207
- environment: "environment";
14208
14220
  addedDirs: "addedDirs";
14209
14221
  gitFiles: "gitFiles";
14210
14222
  memory: "memory";
14223
+ environment: "environment";
14211
14224
  sessionTime: "sessionTime";
14212
14225
  promptCache: "promptCache";
14213
14226
  compactions: "compactions";
@@ -14221,10 +14234,10 @@ declare const StatuslineSchema: z.ZodObject<{
14221
14234
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
14222
14235
  context: "context";
14223
14236
  quota: "quota";
14224
- environment: "environment";
14225
14237
  addedDirs: "addedDirs";
14226
14238
  gitFiles: "gitFiles";
14227
14239
  memory: "memory";
14240
+ environment: "environment";
14228
14241
  sessionTime: "sessionTime";
14229
14242
  promptCache: "promptCache";
14230
14243
  compactions: "compactions";
@@ -14283,10 +14296,10 @@ declare const StatuslineSchema: z.ZodObject<{
14283
14296
  hidden: "hidden";
14284
14297
  }>>;
14285
14298
  value: z.ZodOptional<z.ZodEnum<{
14286
- remaining: "remaining";
14287
14299
  tokens: "tokens";
14288
14300
  both: "both";
14289
14301
  percent: "percent";
14302
+ remaining: "remaining";
14290
14303
  }>>;
14291
14304
  estimate: z.ZodOptional<z.ZodEnum<{
14292
14305
  never: "never";
@@ -14328,8 +14341,8 @@ declare const StatuslineSchema: z.ZodObject<{
14328
14341
  }, z.core.$strict>>;
14329
14342
  usage: z.ZodOptional<z.ZodObject<{
14330
14343
  value: z.ZodOptional<z.ZodEnum<{
14331
- used: "used";
14332
14344
  remaining: "remaining";
14345
+ used: "used";
14333
14346
  }>>;
14334
14347
  bar: z.ZodOptional<z.ZodBoolean>;
14335
14348
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -14999,12 +15012,12 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
14999
15012
  identity: zod.ZodOptional<zod.ZodString>;
15000
15013
  identityId: zod.ZodOptional<zod.ZodString>;
15001
15014
  identitySource: zod.ZodEnum<{
15015
+ env: "env";
15016
+ none: "none";
15002
15017
  "config-dir-escape-hatch": "config-dir-escape-hatch";
15003
15018
  argv: "argv";
15004
- env: "env";
15005
15019
  "directory-pin": "directory-pin";
15006
15020
  "active-identity-file": "active-identity-file";
15007
- none: "none";
15008
15021
  }>;
15009
15022
  pool: zod.ZodOptional<zod.ZodObject<{
15010
15023
  name: zod.ZodString;
@@ -15058,13 +15071,13 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
15058
15071
  route: "route";
15059
15072
  account: "account";
15060
15073
  provider: "provider";
15061
- version: "version";
15062
- headroom: "headroom";
15063
15074
  duration: "duration";
15075
+ headroom: "headroom";
15064
15076
  project: "project";
15065
15077
  vcs: "vcs";
15066
15078
  effort: "effort";
15067
15079
  advisor: "advisor";
15080
+ version: "version";
15068
15081
  outputStyle: "outputStyle";
15069
15082
  cost: "cost";
15070
15083
  dailyCost: "dailyCost";
@@ -15075,10 +15088,10 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
15075
15088
  rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
15076
15089
  context: "context";
15077
15090
  quota: "quota";
15078
- environment: "environment";
15079
15091
  addedDirs: "addedDirs";
15080
15092
  gitFiles: "gitFiles";
15081
15093
  memory: "memory";
15094
+ environment: "environment";
15082
15095
  sessionTime: "sessionTime";
15083
15096
  promptCache: "promptCache";
15084
15097
  compactions: "compactions";
@@ -15101,10 +15114,10 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
15101
15114
  merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
15102
15115
  context: "context";
15103
15116
  quota: "quota";
15104
- environment: "environment";
15105
15117
  addedDirs: "addedDirs";
15106
15118
  gitFiles: "gitFiles";
15107
15119
  memory: "memory";
15120
+ environment: "environment";
15108
15121
  sessionTime: "sessionTime";
15109
15122
  promptCache: "promptCache";
15110
15123
  compactions: "compactions";
@@ -15118,10 +15131,10 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
15118
15131
  rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
15119
15132
  context: "context";
15120
15133
  quota: "quota";
15121
- environment: "environment";
15122
15134
  addedDirs: "addedDirs";
15123
15135
  gitFiles: "gitFiles";
15124
15136
  memory: "memory";
15137
+ environment: "environment";
15125
15138
  sessionTime: "sessionTime";
15126
15139
  promptCache: "promptCache";
15127
15140
  compactions: "compactions";
@@ -15180,10 +15193,10 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
15180
15193
  hidden: "hidden";
15181
15194
  }>>;
15182
15195
  value: zod.ZodOptional<zod.ZodEnum<{
15183
- remaining: "remaining";
15184
15196
  tokens: "tokens";
15185
15197
  both: "both";
15186
15198
  percent: "percent";
15199
+ remaining: "remaining";
15187
15200
  }>>;
15188
15201
  estimate: zod.ZodOptional<zod.ZodEnum<{
15189
15202
  never: "never";
@@ -15225,8 +15238,8 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
15225
15238
  }, zod_v4_core.$strict>>;
15226
15239
  usage: zod.ZodOptional<zod.ZodObject<{
15227
15240
  value: zod.ZodOptional<zod.ZodEnum<{
15228
- used: "used";
15229
15241
  remaining: "remaining";
15242
+ used: "used";
15230
15243
  }>>;
15231
15244
  bar: zod.ZodOptional<zod.ZodBoolean>;
15232
15245
  compact: zod.ZodOptional<zod.ZodBoolean>;
@@ -15587,8 +15600,8 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
15587
15600
  claudeVersion: zod.ZodOptional<zod.ZodObject<{
15588
15601
  version: zod.ZodString;
15589
15602
  source: zod.ZodEnum<{
15590
- flag: "flag";
15591
15603
  environment: "environment";
15604
+ flag: "flag";
15592
15605
  cascade: "cascade";
15593
15606
  }>;
15594
15607
  }, zod_v4_core.$strict>>;
@@ -16214,12 +16227,12 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
16214
16227
  identity: z.ZodObject<{
16215
16228
  name: z.ZodNullable<z.ZodString>;
16216
16229
  source: z.ZodEnum<{
16230
+ env: "env";
16231
+ none: "none";
16217
16232
  "config-dir-escape-hatch": "config-dir-escape-hatch";
16218
16233
  argv: "argv";
16219
- env: "env";
16220
16234
  "directory-pin": "directory-pin";
16221
16235
  "active-identity-file": "active-identity-file";
16222
- none: "none";
16223
16236
  }>;
16224
16237
  }, z.core.$strict>;
16225
16238
  pool: z.ZodOptional<z.ZodObject<{
@@ -16298,11 +16311,11 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
16298
16311
  "category-default": "category-default";
16299
16312
  }>;
16300
16313
  category: z.ZodNullable<z.ZodEnum<{
16301
- secret: "secret";
16302
16314
  runtime: "runtime";
16303
16315
  history: "history";
16304
16316
  knowledge: "knowledge";
16305
16317
  settings: "settings";
16318
+ secret: "secret";
16306
16319
  }>>;
16307
16320
  rule: z.ZodOptional<z.ZodObject<{
16308
16321
  key: z.ZodString;
@@ -16502,8 +16515,8 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
16502
16515
  pinned: z.ZodOptional<z.ZodObject<{
16503
16516
  version: z.ZodString;
16504
16517
  source: z.ZodEnum<{
16505
- flag: "flag";
16506
16518
  environment: "environment";
16519
+ flag: "flag";
16507
16520
  cascade: "cascade";
16508
16521
  }>;
16509
16522
  installed: z.ZodBoolean;
@@ -16532,9 +16545,11 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
16532
16545
  "config-profile": "config-profile";
16533
16546
  identity: "identity";
16534
16547
  provider: "provider";
16548
+ keychain: "keychain";
16549
+ headroom: "headroom";
16550
+ models: "models";
16535
16551
  frontdoor: "frontdoor";
16536
16552
  pool: "pool";
16537
- keychain: "keychain";
16538
16553
  "ambient-credential": "ambient-credential";
16539
16554
  "binary-discovery": "binary-discovery";
16540
16555
  "claude-shim": "claude-shim";
@@ -16544,8 +16559,6 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
16544
16559
  "directory-rules": "directory-rules";
16545
16560
  "categories-local": "categories-local";
16546
16561
  "active-identity": "active-identity";
16547
- headroom: "headroom";
16548
- models: "models";
16549
16562
  }>;
16550
16563
  subject: z.ZodOptional<z.ZodString>;
16551
16564
  severity: z.ZodEnum<{
@@ -16744,12 +16757,12 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
16744
16757
  identity: z.ZodOptional<z.ZodString>;
16745
16758
  identityId: z.ZodOptional<z.ZodString>;
16746
16759
  identitySource: z.ZodEnum<{
16760
+ env: "env";
16761
+ none: "none";
16747
16762
  "config-dir-escape-hatch": "config-dir-escape-hatch";
16748
16763
  argv: "argv";
16749
- env: "env";
16750
16764
  "directory-pin": "directory-pin";
16751
16765
  "active-identity-file": "active-identity-file";
16752
- none: "none";
16753
16766
  }>;
16754
16767
  pool: z.ZodOptional<z.ZodObject<{
16755
16768
  name: z.ZodString;
@@ -16803,13 +16816,13 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
16803
16816
  route: "route";
16804
16817
  account: "account";
16805
16818
  provider: "provider";
16806
- version: "version";
16807
- headroom: "headroom";
16808
16819
  duration: "duration";
16820
+ headroom: "headroom";
16809
16821
  project: "project";
16810
16822
  vcs: "vcs";
16811
16823
  effort: "effort";
16812
16824
  advisor: "advisor";
16825
+ version: "version";
16813
16826
  outputStyle: "outputStyle";
16814
16827
  cost: "cost";
16815
16828
  dailyCost: "dailyCost";
@@ -16820,10 +16833,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
16820
16833
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
16821
16834
  context: "context";
16822
16835
  quota: "quota";
16823
- environment: "environment";
16824
16836
  addedDirs: "addedDirs";
16825
16837
  gitFiles: "gitFiles";
16826
16838
  memory: "memory";
16839
+ environment: "environment";
16827
16840
  sessionTime: "sessionTime";
16828
16841
  promptCache: "promptCache";
16829
16842
  compactions: "compactions";
@@ -16846,10 +16859,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
16846
16859
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
16847
16860
  context: "context";
16848
16861
  quota: "quota";
16849
- environment: "environment";
16850
16862
  addedDirs: "addedDirs";
16851
16863
  gitFiles: "gitFiles";
16852
16864
  memory: "memory";
16865
+ environment: "environment";
16853
16866
  sessionTime: "sessionTime";
16854
16867
  promptCache: "promptCache";
16855
16868
  compactions: "compactions";
@@ -16863,10 +16876,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
16863
16876
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
16864
16877
  context: "context";
16865
16878
  quota: "quota";
16866
- environment: "environment";
16867
16879
  addedDirs: "addedDirs";
16868
16880
  gitFiles: "gitFiles";
16869
16881
  memory: "memory";
16882
+ environment: "environment";
16870
16883
  sessionTime: "sessionTime";
16871
16884
  promptCache: "promptCache";
16872
16885
  compactions: "compactions";
@@ -16925,10 +16938,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
16925
16938
  hidden: "hidden";
16926
16939
  }>>;
16927
16940
  value: z.ZodOptional<z.ZodEnum<{
16928
- remaining: "remaining";
16929
16941
  tokens: "tokens";
16930
16942
  both: "both";
16931
16943
  percent: "percent";
16944
+ remaining: "remaining";
16932
16945
  }>>;
16933
16946
  estimate: z.ZodOptional<z.ZodEnum<{
16934
16947
  never: "never";
@@ -16970,8 +16983,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
16970
16983
  }, z.core.$strict>>;
16971
16984
  usage: z.ZodOptional<z.ZodObject<{
16972
16985
  value: z.ZodOptional<z.ZodEnum<{
16973
- used: "used";
16974
16986
  remaining: "remaining";
16987
+ used: "used";
16975
16988
  }>>;
16976
16989
  bar: z.ZodOptional<z.ZodBoolean>;
16977
16990
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -17332,8 +17345,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17332
17345
  claudeVersion: z.ZodOptional<z.ZodObject<{
17333
17346
  version: z.ZodString;
17334
17347
  source: z.ZodEnum<{
17335
- flag: "flag";
17336
17348
  environment: "environment";
17349
+ flag: "flag";
17337
17350
  cascade: "cascade";
17338
17351
  }>;
17339
17352
  }, z.core.$strict>>;
@@ -17689,53 +17702,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17689
17702
  }, z.core.$strip>], "kind">]>;
17690
17703
  }, z.core.$strict>]>>>;
17691
17704
  description: z.ZodOptional<z.ZodString>;
17692
- models: z.ZodOptional<z.ZodObject<{
17693
- pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
17694
- virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
17695
- mode: z.ZodEnum<{
17696
- ordered: "ordered";
17697
- "most-allowance": "most-allowance";
17698
- "soonest-reset": "soonest-reset";
17699
- spread: "spread";
17700
- adaptive: "adaptive";
17701
- "lowest-latency": "lowest-latency";
17702
- "highest-success": "highest-success";
17703
- cheapest: "cheapest";
17704
- }>;
17705
- members: z.ZodArray<z.ZodString>;
17706
- }, z.core.$strict>, z.ZodNull]>>>;
17707
- tiers: z.ZodOptional<z.ZodObject<{
17708
- fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
17709
- opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
17710
- sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
17711
- haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
17712
- }, z.core.$strict>>;
17713
- prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
17714
- input: z.ZodNumber;
17715
- output: z.ZodNumber;
17716
- }, z.core.$strict>, z.ZodNull]>>>;
17717
- hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
17718
- show: z.ZodOptional<z.ZodArray<z.ZodString>>;
17719
- same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
17720
- distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
17721
- families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
17722
- names: z.ZodOptional<z.ZodArray<z.ZodString>>;
17723
- mode: z.ZodOptional<z.ZodEnum<{
17724
- ordered: "ordered";
17725
- "most-allowance": "most-allowance";
17726
- "soonest-reset": "soonest-reset";
17727
- spread: "spread";
17728
- adaptive: "adaptive";
17729
- "lowest-latency": "lowest-latency";
17730
- "highest-success": "highest-success";
17731
- cheapest: "cheapest";
17732
- }>>;
17733
- context: z.ZodOptional<z.ZodNumber>;
17734
- vision: z.ZodOptional<z.ZodBoolean>;
17735
- tools: z.ZodOptional<z.ZodBoolean>;
17736
- thinking: z.ZodOptional<z.ZodBoolean>;
17737
- }, z.core.$strict>, z.ZodNull]>>>;
17738
- }, z.core.$strict>>;
17739
17705
  extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
17740
17706
  categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
17741
17707
  all: z.ZodOptional<z.ZodBoolean>;
@@ -17782,13 +17748,13 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17782
17748
  route: "route";
17783
17749
  account: "account";
17784
17750
  provider: "provider";
17785
- version: "version";
17786
- headroom: "headroom";
17787
17751
  duration: "duration";
17752
+ headroom: "headroom";
17788
17753
  project: "project";
17789
17754
  vcs: "vcs";
17790
17755
  effort: "effort";
17791
17756
  advisor: "advisor";
17757
+ version: "version";
17792
17758
  outputStyle: "outputStyle";
17793
17759
  cost: "cost";
17794
17760
  dailyCost: "dailyCost";
@@ -17799,10 +17765,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17799
17765
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
17800
17766
  context: "context";
17801
17767
  quota: "quota";
17802
- environment: "environment";
17803
17768
  addedDirs: "addedDirs";
17804
17769
  gitFiles: "gitFiles";
17805
17770
  memory: "memory";
17771
+ environment: "environment";
17806
17772
  sessionTime: "sessionTime";
17807
17773
  promptCache: "promptCache";
17808
17774
  compactions: "compactions";
@@ -17825,10 +17791,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17825
17791
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
17826
17792
  context: "context";
17827
17793
  quota: "quota";
17828
- environment: "environment";
17829
17794
  addedDirs: "addedDirs";
17830
17795
  gitFiles: "gitFiles";
17831
17796
  memory: "memory";
17797
+ environment: "environment";
17832
17798
  sessionTime: "sessionTime";
17833
17799
  promptCache: "promptCache";
17834
17800
  compactions: "compactions";
@@ -17842,10 +17808,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17842
17808
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
17843
17809
  context: "context";
17844
17810
  quota: "quota";
17845
- environment: "environment";
17846
17811
  addedDirs: "addedDirs";
17847
17812
  gitFiles: "gitFiles";
17848
17813
  memory: "memory";
17814
+ environment: "environment";
17849
17815
  sessionTime: "sessionTime";
17850
17816
  promptCache: "promptCache";
17851
17817
  compactions: "compactions";
@@ -17904,10 +17870,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17904
17870
  hidden: "hidden";
17905
17871
  }>>;
17906
17872
  value: z.ZodOptional<z.ZodEnum<{
17907
- remaining: "remaining";
17908
17873
  tokens: "tokens";
17909
17874
  both: "both";
17910
17875
  percent: "percent";
17876
+ remaining: "remaining";
17911
17877
  }>>;
17912
17878
  estimate: z.ZodOptional<z.ZodEnum<{
17913
17879
  never: "never";
@@ -17949,8 +17915,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17949
17915
  }, z.core.$strict>>;
17950
17916
  usage: z.ZodOptional<z.ZodObject<{
17951
17917
  value: z.ZodOptional<z.ZodEnum<{
17952
- used: "used";
17953
17918
  remaining: "remaining";
17919
+ used: "used";
17954
17920
  }>>;
17955
17921
  bar: z.ZodOptional<z.ZodBoolean>;
17956
17922
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -18308,6 +18274,53 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18308
18274
  }, z.core.$strict>>;
18309
18275
  }, z.core.$strict>>;
18310
18276
  }, z.core.$strict>>;
18277
+ models: z.ZodOptional<z.ZodObject<{
18278
+ pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
18279
+ virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
18280
+ mode: z.ZodEnum<{
18281
+ ordered: "ordered";
18282
+ "most-allowance": "most-allowance";
18283
+ "soonest-reset": "soonest-reset";
18284
+ spread: "spread";
18285
+ adaptive: "adaptive";
18286
+ "lowest-latency": "lowest-latency";
18287
+ "highest-success": "highest-success";
18288
+ cheapest: "cheapest";
18289
+ }>;
18290
+ members: z.ZodArray<z.ZodString>;
18291
+ }, z.core.$strict>, z.ZodNull]>>>;
18292
+ tiers: z.ZodOptional<z.ZodObject<{
18293
+ fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
18294
+ opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
18295
+ sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
18296
+ haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
18297
+ }, z.core.$strict>>;
18298
+ prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
18299
+ input: z.ZodNumber;
18300
+ output: z.ZodNumber;
18301
+ }, z.core.$strict>, z.ZodNull]>>>;
18302
+ hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
18303
+ show: z.ZodOptional<z.ZodArray<z.ZodString>>;
18304
+ same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
18305
+ distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
18306
+ families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
18307
+ names: z.ZodOptional<z.ZodArray<z.ZodString>>;
18308
+ mode: z.ZodOptional<z.ZodEnum<{
18309
+ ordered: "ordered";
18310
+ "most-allowance": "most-allowance";
18311
+ "soonest-reset": "soonest-reset";
18312
+ spread: "spread";
18313
+ adaptive: "adaptive";
18314
+ "lowest-latency": "lowest-latency";
18315
+ "highest-success": "highest-success";
18316
+ cheapest: "cheapest";
18317
+ }>>;
18318
+ context: z.ZodOptional<z.ZodNumber>;
18319
+ vision: z.ZodOptional<z.ZodBoolean>;
18320
+ tools: z.ZodOptional<z.ZodBoolean>;
18321
+ thinking: z.ZodOptional<z.ZodBoolean>;
18322
+ }, z.core.$strict>, z.ZodNull]>>>;
18323
+ }, z.core.$strict>>;
18311
18324
  }, z.core.$strict>;
18312
18325
  }, z.core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
18313
18326
  set: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, z.ZodObject<{
@@ -18390,76 +18403,29 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18390
18403
  kind: z.ZodLiteral<"memberOf">;
18391
18404
  op: z.ZodEnum<{
18392
18405
  in: "in";
18393
- notIn: "notIn";
18394
- }>;
18395
- operand: typeof trilean.ExpressionNodeSchema;
18396
- candidates: z.ZodArray<typeof trilean.ExpressionNodeSchema>;
18397
- }, z.core.$strip>, z.ZodObject<{
18398
- kind: z.ZodLiteral<"exists">;
18399
- operand: typeof trilean.ExpressionNodeSchema;
18400
- }, z.core.$strip>, z.ZodObject<{
18401
- kind: z.ZodLiteral<"some">;
18402
- collection: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
18403
- item: typeof trilean.PredicateNodeSchema;
18404
- filter: z.ZodOptional<typeof trilean.PredicateNodeSchema>;
18405
- }, z.core.$strip>, z.ZodObject<{
18406
- kind: z.ZodLiteral<"every">;
18407
- collection: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
18408
- item: typeof trilean.PredicateNodeSchema;
18409
- filter: z.ZodOptional<typeof trilean.PredicateNodeSchema>;
18410
- }, z.core.$strip>, z.ZodObject<{
18411
- kind: z.ZodLiteral<"treeReference">;
18412
- key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
18413
- }, z.core.$strip>], "kind">]>;
18414
- }, z.core.$strict>]>>>;
18415
- description: z.ZodOptional<z.ZodString>;
18416
- models: z.ZodOptional<z.ZodObject<{
18417
- pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
18418
- virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
18419
- mode: z.ZodEnum<{
18420
- ordered: "ordered";
18421
- "most-allowance": "most-allowance";
18422
- "soonest-reset": "soonest-reset";
18423
- spread: "spread";
18424
- adaptive: "adaptive";
18425
- "lowest-latency": "lowest-latency";
18426
- "highest-success": "highest-success";
18427
- cheapest: "cheapest";
18428
- }>;
18429
- members: z.ZodArray<z.ZodString>;
18430
- }, z.core.$strict>, z.ZodNull]>>>;
18431
- tiers: z.ZodOptional<z.ZodObject<{
18432
- fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
18433
- opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
18434
- sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
18435
- haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
18436
- }, z.core.$strict>>;
18437
- prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
18438
- input: z.ZodNumber;
18439
- output: z.ZodNumber;
18440
- }, z.core.$strict>, z.ZodNull]>>>;
18441
- hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
18442
- show: z.ZodOptional<z.ZodArray<z.ZodString>>;
18443
- same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
18444
- distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
18445
- families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
18446
- names: z.ZodOptional<z.ZodArray<z.ZodString>>;
18447
- mode: z.ZodOptional<z.ZodEnum<{
18448
- ordered: "ordered";
18449
- "most-allowance": "most-allowance";
18450
- "soonest-reset": "soonest-reset";
18451
- spread: "spread";
18452
- adaptive: "adaptive";
18453
- "lowest-latency": "lowest-latency";
18454
- "highest-success": "highest-success";
18455
- cheapest: "cheapest";
18456
- }>>;
18457
- context: z.ZodOptional<z.ZodNumber>;
18458
- vision: z.ZodOptional<z.ZodBoolean>;
18459
- tools: z.ZodOptional<z.ZodBoolean>;
18460
- thinking: z.ZodOptional<z.ZodBoolean>;
18461
- }, z.core.$strict>, z.ZodNull]>>>;
18462
- }, z.core.$strict>>;
18406
+ notIn: "notIn";
18407
+ }>;
18408
+ operand: typeof trilean.ExpressionNodeSchema;
18409
+ candidates: z.ZodArray<typeof trilean.ExpressionNodeSchema>;
18410
+ }, z.core.$strip>, z.ZodObject<{
18411
+ kind: z.ZodLiteral<"exists">;
18412
+ operand: typeof trilean.ExpressionNodeSchema;
18413
+ }, z.core.$strip>, z.ZodObject<{
18414
+ kind: z.ZodLiteral<"some">;
18415
+ collection: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
18416
+ item: typeof trilean.PredicateNodeSchema;
18417
+ filter: z.ZodOptional<typeof trilean.PredicateNodeSchema>;
18418
+ }, z.core.$strip>, z.ZodObject<{
18419
+ kind: z.ZodLiteral<"every">;
18420
+ collection: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
18421
+ item: typeof trilean.PredicateNodeSchema;
18422
+ filter: z.ZodOptional<typeof trilean.PredicateNodeSchema>;
18423
+ }, z.core.$strip>, z.ZodObject<{
18424
+ kind: z.ZodLiteral<"treeReference">;
18425
+ key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
18426
+ }, z.core.$strip>], "kind">]>;
18427
+ }, z.core.$strict>]>>>;
18428
+ description: z.ZodOptional<z.ZodString>;
18463
18429
  extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
18464
18430
  categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
18465
18431
  all: z.ZodOptional<z.ZodBoolean>;
@@ -18506,13 +18472,13 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18506
18472
  route: "route";
18507
18473
  account: "account";
18508
18474
  provider: "provider";
18509
- version: "version";
18510
- headroom: "headroom";
18511
18475
  duration: "duration";
18476
+ headroom: "headroom";
18512
18477
  project: "project";
18513
18478
  vcs: "vcs";
18514
18479
  effort: "effort";
18515
18480
  advisor: "advisor";
18481
+ version: "version";
18516
18482
  outputStyle: "outputStyle";
18517
18483
  cost: "cost";
18518
18484
  dailyCost: "dailyCost";
@@ -18523,10 +18489,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18523
18489
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
18524
18490
  context: "context";
18525
18491
  quota: "quota";
18526
- environment: "environment";
18527
18492
  addedDirs: "addedDirs";
18528
18493
  gitFiles: "gitFiles";
18529
18494
  memory: "memory";
18495
+ environment: "environment";
18530
18496
  sessionTime: "sessionTime";
18531
18497
  promptCache: "promptCache";
18532
18498
  compactions: "compactions";
@@ -18549,10 +18515,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18549
18515
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
18550
18516
  context: "context";
18551
18517
  quota: "quota";
18552
- environment: "environment";
18553
18518
  addedDirs: "addedDirs";
18554
18519
  gitFiles: "gitFiles";
18555
18520
  memory: "memory";
18521
+ environment: "environment";
18556
18522
  sessionTime: "sessionTime";
18557
18523
  promptCache: "promptCache";
18558
18524
  compactions: "compactions";
@@ -18566,10 +18532,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18566
18532
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
18567
18533
  context: "context";
18568
18534
  quota: "quota";
18569
- environment: "environment";
18570
18535
  addedDirs: "addedDirs";
18571
18536
  gitFiles: "gitFiles";
18572
18537
  memory: "memory";
18538
+ environment: "environment";
18573
18539
  sessionTime: "sessionTime";
18574
18540
  promptCache: "promptCache";
18575
18541
  compactions: "compactions";
@@ -18628,10 +18594,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18628
18594
  hidden: "hidden";
18629
18595
  }>>;
18630
18596
  value: z.ZodOptional<z.ZodEnum<{
18631
- remaining: "remaining";
18632
18597
  tokens: "tokens";
18633
18598
  both: "both";
18634
18599
  percent: "percent";
18600
+ remaining: "remaining";
18635
18601
  }>>;
18636
18602
  estimate: z.ZodOptional<z.ZodEnum<{
18637
18603
  never: "never";
@@ -18673,8 +18639,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18673
18639
  }, z.core.$strict>>;
18674
18640
  usage: z.ZodOptional<z.ZodObject<{
18675
18641
  value: z.ZodOptional<z.ZodEnum<{
18676
- used: "used";
18677
18642
  remaining: "remaining";
18643
+ used: "used";
18678
18644
  }>>;
18679
18645
  bar: z.ZodOptional<z.ZodBoolean>;
18680
18646
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -19032,6 +18998,53 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
19032
18998
  }, z.core.$strict>>;
19033
18999
  }, z.core.$strict>>;
19034
19000
  }, z.core.$strict>>;
19001
+ models: z.ZodOptional<z.ZodObject<{
19002
+ pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
19003
+ virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
19004
+ mode: z.ZodEnum<{
19005
+ ordered: "ordered";
19006
+ "most-allowance": "most-allowance";
19007
+ "soonest-reset": "soonest-reset";
19008
+ spread: "spread";
19009
+ adaptive: "adaptive";
19010
+ "lowest-latency": "lowest-latency";
19011
+ "highest-success": "highest-success";
19012
+ cheapest: "cheapest";
19013
+ }>;
19014
+ members: z.ZodArray<z.ZodString>;
19015
+ }, z.core.$strict>, z.ZodNull]>>>;
19016
+ tiers: z.ZodOptional<z.ZodObject<{
19017
+ fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
19018
+ opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
19019
+ sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
19020
+ haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
19021
+ }, z.core.$strict>>;
19022
+ prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
19023
+ input: z.ZodNumber;
19024
+ output: z.ZodNumber;
19025
+ }, z.core.$strict>, z.ZodNull]>>>;
19026
+ hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
19027
+ show: z.ZodOptional<z.ZodArray<z.ZodString>>;
19028
+ same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
19029
+ distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
19030
+ families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
19031
+ names: z.ZodOptional<z.ZodArray<z.ZodString>>;
19032
+ mode: z.ZodOptional<z.ZodEnum<{
19033
+ ordered: "ordered";
19034
+ "most-allowance": "most-allowance";
19035
+ "soonest-reset": "soonest-reset";
19036
+ spread: "spread";
19037
+ adaptive: "adaptive";
19038
+ "lowest-latency": "lowest-latency";
19039
+ "highest-success": "highest-success";
19040
+ cheapest: "cheapest";
19041
+ }>>;
19042
+ context: z.ZodOptional<z.ZodNumber>;
19043
+ vision: z.ZodOptional<z.ZodBoolean>;
19044
+ tools: z.ZodOptional<z.ZodBoolean>;
19045
+ thinking: z.ZodOptional<z.ZodBoolean>;
19046
+ }, z.core.$strict>, z.ZodNull]>>>;
19047
+ }, z.core.$strict>>;
19035
19048
  }, z.core.$strict>;
19036
19049
  }, z.core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
19037
19050
  remove: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, z.ZodObject<{
@@ -19612,53 +19625,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
19612
19625
  key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
19613
19626
  }, z.core.$strip>], "kind">]>;
19614
19627
  }, z.core.$strict>]>>>;
19615
- models: z.ZodOptional<z.ZodObject<{
19616
- pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
19617
- virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
19618
- mode: z.ZodEnum<{
19619
- ordered: "ordered";
19620
- "most-allowance": "most-allowance";
19621
- "soonest-reset": "soonest-reset";
19622
- spread: "spread";
19623
- adaptive: "adaptive";
19624
- "lowest-latency": "lowest-latency";
19625
- "highest-success": "highest-success";
19626
- cheapest: "cheapest";
19627
- }>;
19628
- members: z.ZodArray<z.ZodString>;
19629
- }, z.core.$strict>, z.ZodNull]>>>;
19630
- tiers: z.ZodOptional<z.ZodObject<{
19631
- fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
19632
- opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
19633
- sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
19634
- haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
19635
- }, z.core.$strict>>;
19636
- prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
19637
- input: z.ZodNumber;
19638
- output: z.ZodNumber;
19639
- }, z.core.$strict>, z.ZodNull]>>>;
19640
- hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
19641
- show: z.ZodOptional<z.ZodArray<z.ZodString>>;
19642
- same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
19643
- distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
19644
- families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
19645
- names: z.ZodOptional<z.ZodArray<z.ZodString>>;
19646
- mode: z.ZodOptional<z.ZodEnum<{
19647
- ordered: "ordered";
19648
- "most-allowance": "most-allowance";
19649
- "soonest-reset": "soonest-reset";
19650
- spread: "spread";
19651
- adaptive: "adaptive";
19652
- "lowest-latency": "lowest-latency";
19653
- "highest-success": "highest-success";
19654
- cheapest: "cheapest";
19655
- }>>;
19656
- context: z.ZodOptional<z.ZodNumber>;
19657
- vision: z.ZodOptional<z.ZodBoolean>;
19658
- tools: z.ZodOptional<z.ZodBoolean>;
19659
- thinking: z.ZodOptional<z.ZodBoolean>;
19660
- }, z.core.$strict>, z.ZodNull]>>>;
19661
- }, z.core.$strict>>;
19662
19628
  $schema: z.ZodOptional<z.ZodString>;
19663
19629
  extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
19664
19630
  categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
@@ -19706,13 +19672,13 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
19706
19672
  route: "route";
19707
19673
  account: "account";
19708
19674
  provider: "provider";
19709
- version: "version";
19710
- headroom: "headroom";
19711
19675
  duration: "duration";
19676
+ headroom: "headroom";
19712
19677
  project: "project";
19713
19678
  vcs: "vcs";
19714
19679
  effort: "effort";
19715
19680
  advisor: "advisor";
19681
+ version: "version";
19716
19682
  outputStyle: "outputStyle";
19717
19683
  cost: "cost";
19718
19684
  dailyCost: "dailyCost";
@@ -19723,10 +19689,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
19723
19689
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
19724
19690
  context: "context";
19725
19691
  quota: "quota";
19726
- environment: "environment";
19727
19692
  addedDirs: "addedDirs";
19728
19693
  gitFiles: "gitFiles";
19729
19694
  memory: "memory";
19695
+ environment: "environment";
19730
19696
  sessionTime: "sessionTime";
19731
19697
  promptCache: "promptCache";
19732
19698
  compactions: "compactions";
@@ -19749,10 +19715,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
19749
19715
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
19750
19716
  context: "context";
19751
19717
  quota: "quota";
19752
- environment: "environment";
19753
19718
  addedDirs: "addedDirs";
19754
19719
  gitFiles: "gitFiles";
19755
19720
  memory: "memory";
19721
+ environment: "environment";
19756
19722
  sessionTime: "sessionTime";
19757
19723
  promptCache: "promptCache";
19758
19724
  compactions: "compactions";
@@ -19766,10 +19732,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
19766
19732
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
19767
19733
  context: "context";
19768
19734
  quota: "quota";
19769
- environment: "environment";
19770
19735
  addedDirs: "addedDirs";
19771
19736
  gitFiles: "gitFiles";
19772
19737
  memory: "memory";
19738
+ environment: "environment";
19773
19739
  sessionTime: "sessionTime";
19774
19740
  promptCache: "promptCache";
19775
19741
  compactions: "compactions";
@@ -19828,10 +19794,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
19828
19794
  hidden: "hidden";
19829
19795
  }>>;
19830
19796
  value: z.ZodOptional<z.ZodEnum<{
19831
- remaining: "remaining";
19832
19797
  tokens: "tokens";
19833
19798
  both: "both";
19834
19799
  percent: "percent";
19800
+ remaining: "remaining";
19835
19801
  }>>;
19836
19802
  estimate: z.ZodOptional<z.ZodEnum<{
19837
19803
  never: "never";
@@ -19873,8 +19839,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
19873
19839
  }, z.core.$strict>>;
19874
19840
  usage: z.ZodOptional<z.ZodObject<{
19875
19841
  value: z.ZodOptional<z.ZodEnum<{
19876
- used: "used";
19877
19842
  remaining: "remaining";
19843
+ used: "used";
19878
19844
  }>>;
19879
19845
  bar: z.ZodOptional<z.ZodBoolean>;
19880
19846
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -20232,6 +20198,53 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20232
20198
  }, z.core.$strict>>;
20233
20199
  }, z.core.$strict>>;
20234
20200
  }, z.core.$strict>>;
20201
+ models: z.ZodOptional<z.ZodObject<{
20202
+ pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
20203
+ virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
20204
+ mode: z.ZodEnum<{
20205
+ ordered: "ordered";
20206
+ "most-allowance": "most-allowance";
20207
+ "soonest-reset": "soonest-reset";
20208
+ spread: "spread";
20209
+ adaptive: "adaptive";
20210
+ "lowest-latency": "lowest-latency";
20211
+ "highest-success": "highest-success";
20212
+ cheapest: "cheapest";
20213
+ }>;
20214
+ members: z.ZodArray<z.ZodString>;
20215
+ }, z.core.$strict>, z.ZodNull]>>>;
20216
+ tiers: z.ZodOptional<z.ZodObject<{
20217
+ fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
20218
+ opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
20219
+ sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
20220
+ haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
20221
+ }, z.core.$strict>>;
20222
+ prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
20223
+ input: z.ZodNumber;
20224
+ output: z.ZodNumber;
20225
+ }, z.core.$strict>, z.ZodNull]>>>;
20226
+ hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
20227
+ show: z.ZodOptional<z.ZodArray<z.ZodString>>;
20228
+ same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
20229
+ distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
20230
+ families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
20231
+ names: z.ZodOptional<z.ZodArray<z.ZodString>>;
20232
+ mode: z.ZodOptional<z.ZodEnum<{
20233
+ ordered: "ordered";
20234
+ "most-allowance": "most-allowance";
20235
+ "soonest-reset": "soonest-reset";
20236
+ spread: "spread";
20237
+ adaptive: "adaptive";
20238
+ "lowest-latency": "lowest-latency";
20239
+ "highest-success": "highest-success";
20240
+ cheapest: "cheapest";
20241
+ }>>;
20242
+ context: z.ZodOptional<z.ZodNumber>;
20243
+ vision: z.ZodOptional<z.ZodBoolean>;
20244
+ tools: z.ZodOptional<z.ZodBoolean>;
20245
+ thinking: z.ZodOptional<z.ZodBoolean>;
20246
+ }, z.core.$strict>, z.ZodNull]>>>;
20247
+ }, z.core.$strict>>;
20235
20248
  path: z.ZodString;
20236
20249
  configProfile: z.ZodOptional<z.ZodString>;
20237
20250
  identity: z.ZodOptional<z.ZodString>;
@@ -20393,53 +20406,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20393
20406
  key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
20394
20407
  }, z.core.$strip>], "kind">]>;
20395
20408
  }, z.core.$strict>]>>>;
20396
- models: z.ZodOptional<z.ZodObject<{
20397
- pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
20398
- virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
20399
- mode: z.ZodEnum<{
20400
- ordered: "ordered";
20401
- "most-allowance": "most-allowance";
20402
- "soonest-reset": "soonest-reset";
20403
- spread: "spread";
20404
- adaptive: "adaptive";
20405
- "lowest-latency": "lowest-latency";
20406
- "highest-success": "highest-success";
20407
- cheapest: "cheapest";
20408
- }>;
20409
- members: z.ZodArray<z.ZodString>;
20410
- }, z.core.$strict>, z.ZodNull]>>>;
20411
- tiers: z.ZodOptional<z.ZodObject<{
20412
- fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
20413
- opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
20414
- sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
20415
- haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
20416
- }, z.core.$strict>>;
20417
- prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
20418
- input: z.ZodNumber;
20419
- output: z.ZodNumber;
20420
- }, z.core.$strict>, z.ZodNull]>>>;
20421
- hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
20422
- show: z.ZodOptional<z.ZodArray<z.ZodString>>;
20423
- same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
20424
- distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
20425
- families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
20426
- names: z.ZodOptional<z.ZodArray<z.ZodString>>;
20427
- mode: z.ZodOptional<z.ZodEnum<{
20428
- ordered: "ordered";
20429
- "most-allowance": "most-allowance";
20430
- "soonest-reset": "soonest-reset";
20431
- spread: "spread";
20432
- adaptive: "adaptive";
20433
- "lowest-latency": "lowest-latency";
20434
- "highest-success": "highest-success";
20435
- cheapest: "cheapest";
20436
- }>>;
20437
- context: z.ZodOptional<z.ZodNumber>;
20438
- vision: z.ZodOptional<z.ZodBoolean>;
20439
- tools: z.ZodOptional<z.ZodBoolean>;
20440
- thinking: z.ZodOptional<z.ZodBoolean>;
20441
- }, z.core.$strict>, z.ZodNull]>>>;
20442
- }, z.core.$strict>>;
20443
20409
  $schema: z.ZodOptional<z.ZodString>;
20444
20410
  extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
20445
20411
  categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
@@ -20487,13 +20453,13 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20487
20453
  route: "route";
20488
20454
  account: "account";
20489
20455
  provider: "provider";
20490
- version: "version";
20491
- headroom: "headroom";
20492
20456
  duration: "duration";
20457
+ headroom: "headroom";
20493
20458
  project: "project";
20494
20459
  vcs: "vcs";
20495
20460
  effort: "effort";
20496
20461
  advisor: "advisor";
20462
+ version: "version";
20497
20463
  outputStyle: "outputStyle";
20498
20464
  cost: "cost";
20499
20465
  dailyCost: "dailyCost";
@@ -20504,10 +20470,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20504
20470
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
20505
20471
  context: "context";
20506
20472
  quota: "quota";
20507
- environment: "environment";
20508
20473
  addedDirs: "addedDirs";
20509
20474
  gitFiles: "gitFiles";
20510
20475
  memory: "memory";
20476
+ environment: "environment";
20511
20477
  sessionTime: "sessionTime";
20512
20478
  promptCache: "promptCache";
20513
20479
  compactions: "compactions";
@@ -20530,10 +20496,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20530
20496
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
20531
20497
  context: "context";
20532
20498
  quota: "quota";
20533
- environment: "environment";
20534
20499
  addedDirs: "addedDirs";
20535
20500
  gitFiles: "gitFiles";
20536
20501
  memory: "memory";
20502
+ environment: "environment";
20537
20503
  sessionTime: "sessionTime";
20538
20504
  promptCache: "promptCache";
20539
20505
  compactions: "compactions";
@@ -20547,10 +20513,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20547
20513
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
20548
20514
  context: "context";
20549
20515
  quota: "quota";
20550
- environment: "environment";
20551
20516
  addedDirs: "addedDirs";
20552
20517
  gitFiles: "gitFiles";
20553
20518
  memory: "memory";
20519
+ environment: "environment";
20554
20520
  sessionTime: "sessionTime";
20555
20521
  promptCache: "promptCache";
20556
20522
  compactions: "compactions";
@@ -20609,10 +20575,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20609
20575
  hidden: "hidden";
20610
20576
  }>>;
20611
20577
  value: z.ZodOptional<z.ZodEnum<{
20612
- remaining: "remaining";
20613
20578
  tokens: "tokens";
20614
20579
  both: "both";
20615
20580
  percent: "percent";
20581
+ remaining: "remaining";
20616
20582
  }>>;
20617
20583
  estimate: z.ZodOptional<z.ZodEnum<{
20618
20584
  never: "never";
@@ -20654,8 +20620,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20654
20620
  }, z.core.$strict>>;
20655
20621
  usage: z.ZodOptional<z.ZodObject<{
20656
20622
  value: z.ZodOptional<z.ZodEnum<{
20657
- used: "used";
20658
20623
  remaining: "remaining";
20624
+ used: "used";
20659
20625
  }>>;
20660
20626
  bar: z.ZodOptional<z.ZodBoolean>;
20661
20627
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -21013,6 +20979,53 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21013
20979
  }, z.core.$strict>>;
21014
20980
  }, z.core.$strict>>;
21015
20981
  }, z.core.$strict>>;
20982
+ models: z.ZodOptional<z.ZodObject<{
20983
+ pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
20984
+ virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
20985
+ mode: z.ZodEnum<{
20986
+ ordered: "ordered";
20987
+ "most-allowance": "most-allowance";
20988
+ "soonest-reset": "soonest-reset";
20989
+ spread: "spread";
20990
+ adaptive: "adaptive";
20991
+ "lowest-latency": "lowest-latency";
20992
+ "highest-success": "highest-success";
20993
+ cheapest: "cheapest";
20994
+ }>;
20995
+ members: z.ZodArray<z.ZodString>;
20996
+ }, z.core.$strict>, z.ZodNull]>>>;
20997
+ tiers: z.ZodOptional<z.ZodObject<{
20998
+ fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
20999
+ opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
21000
+ sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
21001
+ haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
21002
+ }, z.core.$strict>>;
21003
+ prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
21004
+ input: z.ZodNumber;
21005
+ output: z.ZodNumber;
21006
+ }, z.core.$strict>, z.ZodNull]>>>;
21007
+ hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
21008
+ show: z.ZodOptional<z.ZodArray<z.ZodString>>;
21009
+ same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
21010
+ distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
21011
+ families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
21012
+ names: z.ZodOptional<z.ZodArray<z.ZodString>>;
21013
+ mode: z.ZodOptional<z.ZodEnum<{
21014
+ ordered: "ordered";
21015
+ "most-allowance": "most-allowance";
21016
+ "soonest-reset": "soonest-reset";
21017
+ spread: "spread";
21018
+ adaptive: "adaptive";
21019
+ "lowest-latency": "lowest-latency";
21020
+ "highest-success": "highest-success";
21021
+ cheapest: "cheapest";
21022
+ }>>;
21023
+ context: z.ZodOptional<z.ZodNumber>;
21024
+ vision: z.ZodOptional<z.ZodBoolean>;
21025
+ tools: z.ZodOptional<z.ZodBoolean>;
21026
+ thinking: z.ZodOptional<z.ZodBoolean>;
21027
+ }, z.core.$strict>, z.ZodNull]>>>;
21028
+ }, z.core.$strict>>;
21016
21029
  path: z.ZodString;
21017
21030
  configProfile: z.ZodOptional<z.ZodString>;
21018
21031
  identity: z.ZodOptional<z.ZodString>;
@@ -21105,9 +21118,9 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21105
21118
  current: z.ZodString;
21106
21119
  latest: z.ZodString;
21107
21120
  action: z.ZodEnum<{
21121
+ updated: "updated";
21108
21122
  current: "current";
21109
21123
  available: "available";
21110
- updated: "updated";
21111
21124
  }>;
21112
21125
  }, z.core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
21113
21126
  };
@@ -21310,12 +21323,12 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21310
21323
  identity: z.ZodObject<{
21311
21324
  name: z.ZodNullable<z.ZodString>;
21312
21325
  source: z.ZodEnum<{
21326
+ env: "env";
21327
+ none: "none";
21313
21328
  "config-dir-escape-hatch": "config-dir-escape-hatch";
21314
21329
  argv: "argv";
21315
- env: "env";
21316
21330
  "directory-pin": "directory-pin";
21317
21331
  "active-identity-file": "active-identity-file";
21318
- none: "none";
21319
21332
  }>;
21320
21333
  }, z.core.$strict>;
21321
21334
  pool: z.ZodOptional<z.ZodObject<{
@@ -21394,11 +21407,11 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21394
21407
  "category-default": "category-default";
21395
21408
  }>;
21396
21409
  category: z.ZodNullable<z.ZodEnum<{
21397
- secret: "secret";
21398
21410
  runtime: "runtime";
21399
21411
  history: "history";
21400
21412
  knowledge: "knowledge";
21401
21413
  settings: "settings";
21414
+ secret: "secret";
21402
21415
  }>>;
21403
21416
  rule: z.ZodOptional<z.ZodObject<{
21404
21417
  key: z.ZodString;
@@ -21598,8 +21611,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21598
21611
  pinned: z.ZodOptional<z.ZodObject<{
21599
21612
  version: z.ZodString;
21600
21613
  source: z.ZodEnum<{
21601
- flag: "flag";
21602
21614
  environment: "environment";
21615
+ flag: "flag";
21603
21616
  cascade: "cascade";
21604
21617
  }>;
21605
21618
  installed: z.ZodBoolean;
@@ -21628,9 +21641,11 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21628
21641
  "config-profile": "config-profile";
21629
21642
  identity: "identity";
21630
21643
  provider: "provider";
21644
+ keychain: "keychain";
21645
+ headroom: "headroom";
21646
+ models: "models";
21631
21647
  frontdoor: "frontdoor";
21632
21648
  pool: "pool";
21633
- keychain: "keychain";
21634
21649
  "ambient-credential": "ambient-credential";
21635
21650
  "binary-discovery": "binary-discovery";
21636
21651
  "claude-shim": "claude-shim";
@@ -21640,8 +21655,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21640
21655
  "directory-rules": "directory-rules";
21641
21656
  "categories-local": "categories-local";
21642
21657
  "active-identity": "active-identity";
21643
- headroom: "headroom";
21644
- models: "models";
21645
21658
  }>;
21646
21659
  subject: z.ZodOptional<z.ZodString>;
21647
21660
  severity: z.ZodEnum<{
@@ -22416,53 +22429,6 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
22416
22429
  }, z.core.$strip>], "kind">]>;
22417
22430
  }, z.core.$strict>]>>>;
22418
22431
  description: z.ZodOptional<z.ZodString>;
22419
- models: z.ZodOptional<z.ZodObject<{
22420
- pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
22421
- virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
22422
- mode: z.ZodEnum<{
22423
- ordered: "ordered";
22424
- "most-allowance": "most-allowance";
22425
- "soonest-reset": "soonest-reset";
22426
- spread: "spread";
22427
- adaptive: "adaptive";
22428
- "lowest-latency": "lowest-latency";
22429
- "highest-success": "highest-success";
22430
- cheapest: "cheapest";
22431
- }>;
22432
- members: z.ZodArray<z.ZodString>;
22433
- }, z.core.$strict>, z.ZodNull]>>>;
22434
- tiers: z.ZodOptional<z.ZodObject<{
22435
- fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
22436
- opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
22437
- sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
22438
- haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
22439
- }, z.core.$strict>>;
22440
- prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
22441
- input: z.ZodNumber;
22442
- output: z.ZodNumber;
22443
- }, z.core.$strict>, z.ZodNull]>>>;
22444
- hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
22445
- show: z.ZodOptional<z.ZodArray<z.ZodString>>;
22446
- same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
22447
- distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
22448
- families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
22449
- names: z.ZodOptional<z.ZodArray<z.ZodString>>;
22450
- mode: z.ZodOptional<z.ZodEnum<{
22451
- ordered: "ordered";
22452
- "most-allowance": "most-allowance";
22453
- "soonest-reset": "soonest-reset";
22454
- spread: "spread";
22455
- adaptive: "adaptive";
22456
- "lowest-latency": "lowest-latency";
22457
- "highest-success": "highest-success";
22458
- cheapest: "cheapest";
22459
- }>>;
22460
- context: z.ZodOptional<z.ZodNumber>;
22461
- vision: z.ZodOptional<z.ZodBoolean>;
22462
- tools: z.ZodOptional<z.ZodBoolean>;
22463
- thinking: z.ZodOptional<z.ZodBoolean>;
22464
- }, z.core.$strict>, z.ZodNull]>>>;
22465
- }, z.core.$strict>>;
22466
22432
  extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
22467
22433
  categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
22468
22434
  all: z.ZodOptional<z.ZodBoolean>;
@@ -22509,13 +22475,13 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
22509
22475
  route: "route";
22510
22476
  account: "account";
22511
22477
  provider: "provider";
22512
- version: "version";
22513
- headroom: "headroom";
22514
22478
  duration: "duration";
22479
+ headroom: "headroom";
22515
22480
  project: "project";
22516
22481
  vcs: "vcs";
22517
22482
  effort: "effort";
22518
22483
  advisor: "advisor";
22484
+ version: "version";
22519
22485
  outputStyle: "outputStyle";
22520
22486
  cost: "cost";
22521
22487
  dailyCost: "dailyCost";
@@ -22526,10 +22492,10 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
22526
22492
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
22527
22493
  context: "context";
22528
22494
  quota: "quota";
22529
- environment: "environment";
22530
22495
  addedDirs: "addedDirs";
22531
22496
  gitFiles: "gitFiles";
22532
22497
  memory: "memory";
22498
+ environment: "environment";
22533
22499
  sessionTime: "sessionTime";
22534
22500
  promptCache: "promptCache";
22535
22501
  compactions: "compactions";
@@ -22552,10 +22518,10 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
22552
22518
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
22553
22519
  context: "context";
22554
22520
  quota: "quota";
22555
- environment: "environment";
22556
22521
  addedDirs: "addedDirs";
22557
22522
  gitFiles: "gitFiles";
22558
22523
  memory: "memory";
22524
+ environment: "environment";
22559
22525
  sessionTime: "sessionTime";
22560
22526
  promptCache: "promptCache";
22561
22527
  compactions: "compactions";
@@ -22569,10 +22535,10 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
22569
22535
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
22570
22536
  context: "context";
22571
22537
  quota: "quota";
22572
- environment: "environment";
22573
22538
  addedDirs: "addedDirs";
22574
22539
  gitFiles: "gitFiles";
22575
22540
  memory: "memory";
22541
+ environment: "environment";
22576
22542
  sessionTime: "sessionTime";
22577
22543
  promptCache: "promptCache";
22578
22544
  compactions: "compactions";
@@ -22631,10 +22597,10 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
22631
22597
  hidden: "hidden";
22632
22598
  }>>;
22633
22599
  value: z.ZodOptional<z.ZodEnum<{
22634
- remaining: "remaining";
22635
22600
  tokens: "tokens";
22636
22601
  both: "both";
22637
22602
  percent: "percent";
22603
+ remaining: "remaining";
22638
22604
  }>>;
22639
22605
  estimate: z.ZodOptional<z.ZodEnum<{
22640
22606
  never: "never";
@@ -22676,8 +22642,8 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
22676
22642
  }, z.core.$strict>>;
22677
22643
  usage: z.ZodOptional<z.ZodObject<{
22678
22644
  value: z.ZodOptional<z.ZodEnum<{
22679
- used: "used";
22680
22645
  remaining: "remaining";
22646
+ used: "used";
22681
22647
  }>>;
22682
22648
  bar: z.ZodOptional<z.ZodBoolean>;
22683
22649
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -23035,6 +23001,53 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
23035
23001
  }, z.core.$strict>>;
23036
23002
  }, z.core.$strict>>;
23037
23003
  }, z.core.$strict>>;
23004
+ models: z.ZodOptional<z.ZodObject<{
23005
+ pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
23006
+ virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
23007
+ mode: z.ZodEnum<{
23008
+ ordered: "ordered";
23009
+ "most-allowance": "most-allowance";
23010
+ "soonest-reset": "soonest-reset";
23011
+ spread: "spread";
23012
+ adaptive: "adaptive";
23013
+ "lowest-latency": "lowest-latency";
23014
+ "highest-success": "highest-success";
23015
+ cheapest: "cheapest";
23016
+ }>;
23017
+ members: z.ZodArray<z.ZodString>;
23018
+ }, z.core.$strict>, z.ZodNull]>>>;
23019
+ tiers: z.ZodOptional<z.ZodObject<{
23020
+ fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
23021
+ opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
23022
+ sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
23023
+ haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
23024
+ }, z.core.$strict>>;
23025
+ prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
23026
+ input: z.ZodNumber;
23027
+ output: z.ZodNumber;
23028
+ }, z.core.$strict>, z.ZodNull]>>>;
23029
+ hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
23030
+ show: z.ZodOptional<z.ZodArray<z.ZodString>>;
23031
+ same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
23032
+ distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
23033
+ families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
23034
+ names: z.ZodOptional<z.ZodArray<z.ZodString>>;
23035
+ mode: z.ZodOptional<z.ZodEnum<{
23036
+ ordered: "ordered";
23037
+ "most-allowance": "most-allowance";
23038
+ "soonest-reset": "soonest-reset";
23039
+ spread: "spread";
23040
+ adaptive: "adaptive";
23041
+ "lowest-latency": "lowest-latency";
23042
+ "highest-success": "highest-success";
23043
+ cheapest: "cheapest";
23044
+ }>>;
23045
+ context: z.ZodOptional<z.ZodNumber>;
23046
+ vision: z.ZodOptional<z.ZodBoolean>;
23047
+ tools: z.ZodOptional<z.ZodBoolean>;
23048
+ thinking: z.ZodOptional<z.ZodBoolean>;
23049
+ }, z.core.$strict>, z.ZodNull]>>>;
23050
+ }, z.core.$strict>>;
23038
23051
  }, z.core.$strict>;
23039
23052
  }, z.core.$strict>;
23040
23053
  /** `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. */
@@ -23142,53 +23155,6 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
23142
23155
  }, z.core.$strip>], "kind">]>;
23143
23156
  }, z.core.$strict>]>>>;
23144
23157
  description: z.ZodOptional<z.ZodString>;
23145
- models: z.ZodOptional<z.ZodObject<{
23146
- pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
23147
- virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
23148
- mode: z.ZodEnum<{
23149
- ordered: "ordered";
23150
- "most-allowance": "most-allowance";
23151
- "soonest-reset": "soonest-reset";
23152
- spread: "spread";
23153
- adaptive: "adaptive";
23154
- "lowest-latency": "lowest-latency";
23155
- "highest-success": "highest-success";
23156
- cheapest: "cheapest";
23157
- }>;
23158
- members: z.ZodArray<z.ZodString>;
23159
- }, z.core.$strict>, z.ZodNull]>>>;
23160
- tiers: z.ZodOptional<z.ZodObject<{
23161
- fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
23162
- opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
23163
- sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
23164
- haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
23165
- }, z.core.$strict>>;
23166
- prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
23167
- input: z.ZodNumber;
23168
- output: z.ZodNumber;
23169
- }, z.core.$strict>, z.ZodNull]>>>;
23170
- hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
23171
- show: z.ZodOptional<z.ZodArray<z.ZodString>>;
23172
- same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
23173
- distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
23174
- families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
23175
- names: z.ZodOptional<z.ZodArray<z.ZodString>>;
23176
- mode: z.ZodOptional<z.ZodEnum<{
23177
- ordered: "ordered";
23178
- "most-allowance": "most-allowance";
23179
- "soonest-reset": "soonest-reset";
23180
- spread: "spread";
23181
- adaptive: "adaptive";
23182
- "lowest-latency": "lowest-latency";
23183
- "highest-success": "highest-success";
23184
- cheapest: "cheapest";
23185
- }>>;
23186
- context: z.ZodOptional<z.ZodNumber>;
23187
- vision: z.ZodOptional<z.ZodBoolean>;
23188
- tools: z.ZodOptional<z.ZodBoolean>;
23189
- thinking: z.ZodOptional<z.ZodBoolean>;
23190
- }, z.core.$strict>, z.ZodNull]>>>;
23191
- }, z.core.$strict>>;
23192
23158
  extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
23193
23159
  categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
23194
23160
  all: z.ZodOptional<z.ZodBoolean>;
@@ -23235,13 +23201,13 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
23235
23201
  route: "route";
23236
23202
  account: "account";
23237
23203
  provider: "provider";
23238
- version: "version";
23239
- headroom: "headroom";
23240
23204
  duration: "duration";
23205
+ headroom: "headroom";
23241
23206
  project: "project";
23242
23207
  vcs: "vcs";
23243
23208
  effort: "effort";
23244
23209
  advisor: "advisor";
23210
+ version: "version";
23245
23211
  outputStyle: "outputStyle";
23246
23212
  cost: "cost";
23247
23213
  dailyCost: "dailyCost";
@@ -23252,10 +23218,10 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
23252
23218
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
23253
23219
  context: "context";
23254
23220
  quota: "quota";
23255
- environment: "environment";
23256
23221
  addedDirs: "addedDirs";
23257
23222
  gitFiles: "gitFiles";
23258
23223
  memory: "memory";
23224
+ environment: "environment";
23259
23225
  sessionTime: "sessionTime";
23260
23226
  promptCache: "promptCache";
23261
23227
  compactions: "compactions";
@@ -23278,10 +23244,10 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
23278
23244
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
23279
23245
  context: "context";
23280
23246
  quota: "quota";
23281
- environment: "environment";
23282
23247
  addedDirs: "addedDirs";
23283
23248
  gitFiles: "gitFiles";
23284
23249
  memory: "memory";
23250
+ environment: "environment";
23285
23251
  sessionTime: "sessionTime";
23286
23252
  promptCache: "promptCache";
23287
23253
  compactions: "compactions";
@@ -23295,10 +23261,10 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
23295
23261
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
23296
23262
  context: "context";
23297
23263
  quota: "quota";
23298
- environment: "environment";
23299
23264
  addedDirs: "addedDirs";
23300
23265
  gitFiles: "gitFiles";
23301
23266
  memory: "memory";
23267
+ environment: "environment";
23302
23268
  sessionTime: "sessionTime";
23303
23269
  promptCache: "promptCache";
23304
23270
  compactions: "compactions";
@@ -23357,10 +23323,10 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
23357
23323
  hidden: "hidden";
23358
23324
  }>>;
23359
23325
  value: z.ZodOptional<z.ZodEnum<{
23360
- remaining: "remaining";
23361
23326
  tokens: "tokens";
23362
23327
  both: "both";
23363
23328
  percent: "percent";
23329
+ remaining: "remaining";
23364
23330
  }>>;
23365
23331
  estimate: z.ZodOptional<z.ZodEnum<{
23366
23332
  never: "never";
@@ -23402,8 +23368,8 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
23402
23368
  }, z.core.$strict>>;
23403
23369
  usage: z.ZodOptional<z.ZodObject<{
23404
23370
  value: z.ZodOptional<z.ZodEnum<{
23405
- used: "used";
23406
23371
  remaining: "remaining";
23372
+ used: "used";
23407
23373
  }>>;
23408
23374
  bar: z.ZodOptional<z.ZodBoolean>;
23409
23375
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -23761,6 +23727,53 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
23761
23727
  }, z.core.$strict>>;
23762
23728
  }, z.core.$strict>>;
23763
23729
  }, z.core.$strict>>;
23730
+ models: z.ZodOptional<z.ZodObject<{
23731
+ pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
23732
+ virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
23733
+ mode: z.ZodEnum<{
23734
+ ordered: "ordered";
23735
+ "most-allowance": "most-allowance";
23736
+ "soonest-reset": "soonest-reset";
23737
+ spread: "spread";
23738
+ adaptive: "adaptive";
23739
+ "lowest-latency": "lowest-latency";
23740
+ "highest-success": "highest-success";
23741
+ cheapest: "cheapest";
23742
+ }>;
23743
+ members: z.ZodArray<z.ZodString>;
23744
+ }, z.core.$strict>, z.ZodNull]>>>;
23745
+ tiers: z.ZodOptional<z.ZodObject<{
23746
+ fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
23747
+ opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
23748
+ sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
23749
+ haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
23750
+ }, z.core.$strict>>;
23751
+ prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
23752
+ input: z.ZodNumber;
23753
+ output: z.ZodNumber;
23754
+ }, z.core.$strict>, z.ZodNull]>>>;
23755
+ hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
23756
+ show: z.ZodOptional<z.ZodArray<z.ZodString>>;
23757
+ same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
23758
+ distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
23759
+ families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
23760
+ names: z.ZodOptional<z.ZodArray<z.ZodString>>;
23761
+ mode: z.ZodOptional<z.ZodEnum<{
23762
+ ordered: "ordered";
23763
+ "most-allowance": "most-allowance";
23764
+ "soonest-reset": "soonest-reset";
23765
+ spread: "spread";
23766
+ adaptive: "adaptive";
23767
+ "lowest-latency": "lowest-latency";
23768
+ "highest-success": "highest-success";
23769
+ cheapest: "cheapest";
23770
+ }>>;
23771
+ context: z.ZodOptional<z.ZodNumber>;
23772
+ vision: z.ZodOptional<z.ZodBoolean>;
23773
+ tools: z.ZodOptional<z.ZodBoolean>;
23774
+ thinking: z.ZodOptional<z.ZodBoolean>;
23775
+ }, z.core.$strict>, z.ZodNull]>>>;
23776
+ }, z.core.$strict>>;
23764
23777
  }, z.core.$strict>;
23765
23778
  }, z.core.$strict>;
23766
23779
  declare const ConfigProfileRemoveInputSchema: z.ZodObject<{
@@ -24343,53 +24356,6 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
24343
24356
  key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
24344
24357
  }, z.core.$strip>], "kind">]>;
24345
24358
  }, z.core.$strict>]>>>;
24346
- models: z.ZodOptional<z.ZodObject<{
24347
- pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
24348
- virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
24349
- mode: z.ZodEnum<{
24350
- ordered: "ordered";
24351
- "most-allowance": "most-allowance";
24352
- "soonest-reset": "soonest-reset";
24353
- spread: "spread";
24354
- adaptive: "adaptive";
24355
- "lowest-latency": "lowest-latency";
24356
- "highest-success": "highest-success";
24357
- cheapest: "cheapest";
24358
- }>;
24359
- members: z.ZodArray<z.ZodString>;
24360
- }, z.core.$strict>, z.ZodNull]>>>;
24361
- tiers: z.ZodOptional<z.ZodObject<{
24362
- fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
24363
- opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
24364
- sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
24365
- haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
24366
- }, z.core.$strict>>;
24367
- prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
24368
- input: z.ZodNumber;
24369
- output: z.ZodNumber;
24370
- }, z.core.$strict>, z.ZodNull]>>>;
24371
- hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
24372
- show: z.ZodOptional<z.ZodArray<z.ZodString>>;
24373
- same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
24374
- distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
24375
- families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
24376
- names: z.ZodOptional<z.ZodArray<z.ZodString>>;
24377
- mode: z.ZodOptional<z.ZodEnum<{
24378
- ordered: "ordered";
24379
- "most-allowance": "most-allowance";
24380
- "soonest-reset": "soonest-reset";
24381
- spread: "spread";
24382
- adaptive: "adaptive";
24383
- "lowest-latency": "lowest-latency";
24384
- "highest-success": "highest-success";
24385
- cheapest: "cheapest";
24386
- }>>;
24387
- context: z.ZodOptional<z.ZodNumber>;
24388
- vision: z.ZodOptional<z.ZodBoolean>;
24389
- tools: z.ZodOptional<z.ZodBoolean>;
24390
- thinking: z.ZodOptional<z.ZodBoolean>;
24391
- }, z.core.$strict>, z.ZodNull]>>>;
24392
- }, z.core.$strict>>;
24393
24359
  $schema: z.ZodOptional<z.ZodString>;
24394
24360
  extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
24395
24361
  categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
@@ -24437,13 +24403,13 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
24437
24403
  route: "route";
24438
24404
  account: "account";
24439
24405
  provider: "provider";
24440
- version: "version";
24441
- headroom: "headroom";
24442
24406
  duration: "duration";
24407
+ headroom: "headroom";
24443
24408
  project: "project";
24444
24409
  vcs: "vcs";
24445
24410
  effort: "effort";
24446
24411
  advisor: "advisor";
24412
+ version: "version";
24447
24413
  outputStyle: "outputStyle";
24448
24414
  cost: "cost";
24449
24415
  dailyCost: "dailyCost";
@@ -24454,10 +24420,10 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
24454
24420
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
24455
24421
  context: "context";
24456
24422
  quota: "quota";
24457
- environment: "environment";
24458
24423
  addedDirs: "addedDirs";
24459
24424
  gitFiles: "gitFiles";
24460
24425
  memory: "memory";
24426
+ environment: "environment";
24461
24427
  sessionTime: "sessionTime";
24462
24428
  promptCache: "promptCache";
24463
24429
  compactions: "compactions";
@@ -24480,10 +24446,10 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
24480
24446
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
24481
24447
  context: "context";
24482
24448
  quota: "quota";
24483
- environment: "environment";
24484
24449
  addedDirs: "addedDirs";
24485
24450
  gitFiles: "gitFiles";
24486
24451
  memory: "memory";
24452
+ environment: "environment";
24487
24453
  sessionTime: "sessionTime";
24488
24454
  promptCache: "promptCache";
24489
24455
  compactions: "compactions";
@@ -24497,10 +24463,10 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
24497
24463
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
24498
24464
  context: "context";
24499
24465
  quota: "quota";
24500
- environment: "environment";
24501
24466
  addedDirs: "addedDirs";
24502
24467
  gitFiles: "gitFiles";
24503
24468
  memory: "memory";
24469
+ environment: "environment";
24504
24470
  sessionTime: "sessionTime";
24505
24471
  promptCache: "promptCache";
24506
24472
  compactions: "compactions";
@@ -24559,10 +24525,10 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
24559
24525
  hidden: "hidden";
24560
24526
  }>>;
24561
24527
  value: z.ZodOptional<z.ZodEnum<{
24562
- remaining: "remaining";
24563
24528
  tokens: "tokens";
24564
24529
  both: "both";
24565
24530
  percent: "percent";
24531
+ remaining: "remaining";
24566
24532
  }>>;
24567
24533
  estimate: z.ZodOptional<z.ZodEnum<{
24568
24534
  never: "never";
@@ -24604,8 +24570,8 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
24604
24570
  }, z.core.$strict>>;
24605
24571
  usage: z.ZodOptional<z.ZodObject<{
24606
24572
  value: z.ZodOptional<z.ZodEnum<{
24607
- used: "used";
24608
24573
  remaining: "remaining";
24574
+ used: "used";
24609
24575
  }>>;
24610
24576
  bar: z.ZodOptional<z.ZodBoolean>;
24611
24577
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -24963,6 +24929,53 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
24963
24929
  }, z.core.$strict>>;
24964
24930
  }, z.core.$strict>>;
24965
24931
  }, z.core.$strict>>;
24932
+ models: z.ZodOptional<z.ZodObject<{
24933
+ pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
24934
+ virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
24935
+ mode: z.ZodEnum<{
24936
+ ordered: "ordered";
24937
+ "most-allowance": "most-allowance";
24938
+ "soonest-reset": "soonest-reset";
24939
+ spread: "spread";
24940
+ adaptive: "adaptive";
24941
+ "lowest-latency": "lowest-latency";
24942
+ "highest-success": "highest-success";
24943
+ cheapest: "cheapest";
24944
+ }>;
24945
+ members: z.ZodArray<z.ZodString>;
24946
+ }, z.core.$strict>, z.ZodNull]>>>;
24947
+ tiers: z.ZodOptional<z.ZodObject<{
24948
+ fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
24949
+ opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
24950
+ sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
24951
+ haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
24952
+ }, z.core.$strict>>;
24953
+ prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
24954
+ input: z.ZodNumber;
24955
+ output: z.ZodNumber;
24956
+ }, z.core.$strict>, z.ZodNull]>>>;
24957
+ hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
24958
+ show: z.ZodOptional<z.ZodArray<z.ZodString>>;
24959
+ same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
24960
+ distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
24961
+ families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
24962
+ names: z.ZodOptional<z.ZodArray<z.ZodString>>;
24963
+ mode: z.ZodOptional<z.ZodEnum<{
24964
+ ordered: "ordered";
24965
+ "most-allowance": "most-allowance";
24966
+ "soonest-reset": "soonest-reset";
24967
+ spread: "spread";
24968
+ adaptive: "adaptive";
24969
+ "lowest-latency": "lowest-latency";
24970
+ "highest-success": "highest-success";
24971
+ cheapest: "cheapest";
24972
+ }>>;
24973
+ context: z.ZodOptional<z.ZodNumber>;
24974
+ vision: z.ZodOptional<z.ZodBoolean>;
24975
+ tools: z.ZodOptional<z.ZodBoolean>;
24976
+ thinking: z.ZodOptional<z.ZodBoolean>;
24977
+ }, z.core.$strict>, z.ZodNull]>>>;
24978
+ }, z.core.$strict>>;
24966
24979
  path: z.ZodString;
24967
24980
  configProfile: z.ZodOptional<z.ZodString>;
24968
24981
  identity: z.ZodOptional<z.ZodString>;
@@ -25126,53 +25139,6 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
25126
25139
  key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
25127
25140
  }, z.core.$strip>], "kind">]>;
25128
25141
  }, z.core.$strict>]>>>;
25129
- models: z.ZodOptional<z.ZodObject<{
25130
- pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
25131
- virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
25132
- mode: z.ZodEnum<{
25133
- ordered: "ordered";
25134
- "most-allowance": "most-allowance";
25135
- "soonest-reset": "soonest-reset";
25136
- spread: "spread";
25137
- adaptive: "adaptive";
25138
- "lowest-latency": "lowest-latency";
25139
- "highest-success": "highest-success";
25140
- cheapest: "cheapest";
25141
- }>;
25142
- members: z.ZodArray<z.ZodString>;
25143
- }, z.core.$strict>, z.ZodNull]>>>;
25144
- tiers: z.ZodOptional<z.ZodObject<{
25145
- fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
25146
- opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
25147
- sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
25148
- haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
25149
- }, z.core.$strict>>;
25150
- prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
25151
- input: z.ZodNumber;
25152
- output: z.ZodNumber;
25153
- }, z.core.$strict>, z.ZodNull]>>>;
25154
- hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
25155
- show: z.ZodOptional<z.ZodArray<z.ZodString>>;
25156
- same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
25157
- distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
25158
- families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
25159
- names: z.ZodOptional<z.ZodArray<z.ZodString>>;
25160
- mode: z.ZodOptional<z.ZodEnum<{
25161
- ordered: "ordered";
25162
- "most-allowance": "most-allowance";
25163
- "soonest-reset": "soonest-reset";
25164
- spread: "spread";
25165
- adaptive: "adaptive";
25166
- "lowest-latency": "lowest-latency";
25167
- "highest-success": "highest-success";
25168
- cheapest: "cheapest";
25169
- }>>;
25170
- context: z.ZodOptional<z.ZodNumber>;
25171
- vision: z.ZodOptional<z.ZodBoolean>;
25172
- tools: z.ZodOptional<z.ZodBoolean>;
25173
- thinking: z.ZodOptional<z.ZodBoolean>;
25174
- }, z.core.$strict>, z.ZodNull]>>>;
25175
- }, z.core.$strict>>;
25176
25142
  $schema: z.ZodOptional<z.ZodString>;
25177
25143
  extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
25178
25144
  categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
@@ -25220,13 +25186,13 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
25220
25186
  route: "route";
25221
25187
  account: "account";
25222
25188
  provider: "provider";
25223
- version: "version";
25224
- headroom: "headroom";
25225
25189
  duration: "duration";
25190
+ headroom: "headroom";
25226
25191
  project: "project";
25227
25192
  vcs: "vcs";
25228
25193
  effort: "effort";
25229
25194
  advisor: "advisor";
25195
+ version: "version";
25230
25196
  outputStyle: "outputStyle";
25231
25197
  cost: "cost";
25232
25198
  dailyCost: "dailyCost";
@@ -25237,10 +25203,10 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
25237
25203
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
25238
25204
  context: "context";
25239
25205
  quota: "quota";
25240
- environment: "environment";
25241
25206
  addedDirs: "addedDirs";
25242
25207
  gitFiles: "gitFiles";
25243
25208
  memory: "memory";
25209
+ environment: "environment";
25244
25210
  sessionTime: "sessionTime";
25245
25211
  promptCache: "promptCache";
25246
25212
  compactions: "compactions";
@@ -25263,10 +25229,10 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
25263
25229
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
25264
25230
  context: "context";
25265
25231
  quota: "quota";
25266
- environment: "environment";
25267
25232
  addedDirs: "addedDirs";
25268
25233
  gitFiles: "gitFiles";
25269
25234
  memory: "memory";
25235
+ environment: "environment";
25270
25236
  sessionTime: "sessionTime";
25271
25237
  promptCache: "promptCache";
25272
25238
  compactions: "compactions";
@@ -25280,10 +25246,10 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
25280
25246
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
25281
25247
  context: "context";
25282
25248
  quota: "quota";
25283
- environment: "environment";
25284
25249
  addedDirs: "addedDirs";
25285
25250
  gitFiles: "gitFiles";
25286
25251
  memory: "memory";
25252
+ environment: "environment";
25287
25253
  sessionTime: "sessionTime";
25288
25254
  promptCache: "promptCache";
25289
25255
  compactions: "compactions";
@@ -25342,10 +25308,10 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
25342
25308
  hidden: "hidden";
25343
25309
  }>>;
25344
25310
  value: z.ZodOptional<z.ZodEnum<{
25345
- remaining: "remaining";
25346
25311
  tokens: "tokens";
25347
25312
  both: "both";
25348
25313
  percent: "percent";
25314
+ remaining: "remaining";
25349
25315
  }>>;
25350
25316
  estimate: z.ZodOptional<z.ZodEnum<{
25351
25317
  never: "never";
@@ -25387,8 +25353,8 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
25387
25353
  }, z.core.$strict>>;
25388
25354
  usage: z.ZodOptional<z.ZodObject<{
25389
25355
  value: z.ZodOptional<z.ZodEnum<{
25390
- used: "used";
25391
25356
  remaining: "remaining";
25357
+ used: "used";
25392
25358
  }>>;
25393
25359
  bar: z.ZodOptional<z.ZodBoolean>;
25394
25360
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -25746,6 +25712,53 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
25746
25712
  }, z.core.$strict>>;
25747
25713
  }, z.core.$strict>>;
25748
25714
  }, z.core.$strict>>;
25715
+ models: z.ZodOptional<z.ZodObject<{
25716
+ pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
25717
+ virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
25718
+ mode: z.ZodEnum<{
25719
+ ordered: "ordered";
25720
+ "most-allowance": "most-allowance";
25721
+ "soonest-reset": "soonest-reset";
25722
+ spread: "spread";
25723
+ adaptive: "adaptive";
25724
+ "lowest-latency": "lowest-latency";
25725
+ "highest-success": "highest-success";
25726
+ cheapest: "cheapest";
25727
+ }>;
25728
+ members: z.ZodArray<z.ZodString>;
25729
+ }, z.core.$strict>, z.ZodNull]>>>;
25730
+ tiers: z.ZodOptional<z.ZodObject<{
25731
+ fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
25732
+ opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
25733
+ sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
25734
+ haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
25735
+ }, z.core.$strict>>;
25736
+ prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
25737
+ input: z.ZodNumber;
25738
+ output: z.ZodNumber;
25739
+ }, z.core.$strict>, z.ZodNull]>>>;
25740
+ hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
25741
+ show: z.ZodOptional<z.ZodArray<z.ZodString>>;
25742
+ same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
25743
+ distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
25744
+ families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
25745
+ names: z.ZodOptional<z.ZodArray<z.ZodString>>;
25746
+ mode: z.ZodOptional<z.ZodEnum<{
25747
+ ordered: "ordered";
25748
+ "most-allowance": "most-allowance";
25749
+ "soonest-reset": "soonest-reset";
25750
+ spread: "spread";
25751
+ adaptive: "adaptive";
25752
+ "lowest-latency": "lowest-latency";
25753
+ "highest-success": "highest-success";
25754
+ cheapest: "cheapest";
25755
+ }>>;
25756
+ context: z.ZodOptional<z.ZodNumber>;
25757
+ vision: z.ZodOptional<z.ZodBoolean>;
25758
+ tools: z.ZodOptional<z.ZodBoolean>;
25759
+ thinking: z.ZodOptional<z.ZodBoolean>;
25760
+ }, z.core.$strict>, z.ZodNull]>>>;
25761
+ }, z.core.$strict>>;
25749
25762
  path: z.ZodString;
25750
25763
  configProfile: z.ZodOptional<z.ZodString>;
25751
25764
  identity: z.ZodOptional<z.ZodString>;
@@ -25848,12 +25861,12 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
25848
25861
  identity: z.ZodOptional<z.ZodString>;
25849
25862
  identityId: z.ZodOptional<z.ZodString>;
25850
25863
  identitySource: z.ZodEnum<{
25864
+ env: "env";
25865
+ none: "none";
25851
25866
  "config-dir-escape-hatch": "config-dir-escape-hatch";
25852
25867
  argv: "argv";
25853
- env: "env";
25854
25868
  "directory-pin": "directory-pin";
25855
25869
  "active-identity-file": "active-identity-file";
25856
- none: "none";
25857
25870
  }>;
25858
25871
  pool: z.ZodOptional<z.ZodObject<{
25859
25872
  name: z.ZodString;
@@ -25907,13 +25920,13 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
25907
25920
  route: "route";
25908
25921
  account: "account";
25909
25922
  provider: "provider";
25910
- version: "version";
25911
- headroom: "headroom";
25912
25923
  duration: "duration";
25924
+ headroom: "headroom";
25913
25925
  project: "project";
25914
25926
  vcs: "vcs";
25915
25927
  effort: "effort";
25916
25928
  advisor: "advisor";
25929
+ version: "version";
25917
25930
  outputStyle: "outputStyle";
25918
25931
  cost: "cost";
25919
25932
  dailyCost: "dailyCost";
@@ -25924,10 +25937,10 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
25924
25937
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
25925
25938
  context: "context";
25926
25939
  quota: "quota";
25927
- environment: "environment";
25928
25940
  addedDirs: "addedDirs";
25929
25941
  gitFiles: "gitFiles";
25930
25942
  memory: "memory";
25943
+ environment: "environment";
25931
25944
  sessionTime: "sessionTime";
25932
25945
  promptCache: "promptCache";
25933
25946
  compactions: "compactions";
@@ -25950,10 +25963,10 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
25950
25963
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
25951
25964
  context: "context";
25952
25965
  quota: "quota";
25953
- environment: "environment";
25954
25966
  addedDirs: "addedDirs";
25955
25967
  gitFiles: "gitFiles";
25956
25968
  memory: "memory";
25969
+ environment: "environment";
25957
25970
  sessionTime: "sessionTime";
25958
25971
  promptCache: "promptCache";
25959
25972
  compactions: "compactions";
@@ -25967,10 +25980,10 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
25967
25980
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
25968
25981
  context: "context";
25969
25982
  quota: "quota";
25970
- environment: "environment";
25971
25983
  addedDirs: "addedDirs";
25972
25984
  gitFiles: "gitFiles";
25973
25985
  memory: "memory";
25986
+ environment: "environment";
25974
25987
  sessionTime: "sessionTime";
25975
25988
  promptCache: "promptCache";
25976
25989
  compactions: "compactions";
@@ -26029,10 +26042,10 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
26029
26042
  hidden: "hidden";
26030
26043
  }>>;
26031
26044
  value: z.ZodOptional<z.ZodEnum<{
26032
- remaining: "remaining";
26033
26045
  tokens: "tokens";
26034
26046
  both: "both";
26035
26047
  percent: "percent";
26048
+ remaining: "remaining";
26036
26049
  }>>;
26037
26050
  estimate: z.ZodOptional<z.ZodEnum<{
26038
26051
  never: "never";
@@ -26074,8 +26087,8 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
26074
26087
  }, z.core.$strict>>;
26075
26088
  usage: z.ZodOptional<z.ZodObject<{
26076
26089
  value: z.ZodOptional<z.ZodEnum<{
26077
- used: "used";
26078
26090
  remaining: "remaining";
26091
+ used: "used";
26079
26092
  }>>;
26080
26093
  bar: z.ZodOptional<z.ZodBoolean>;
26081
26094
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -26436,8 +26449,8 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
26436
26449
  claudeVersion: z.ZodOptional<z.ZodObject<{
26437
26450
  version: z.ZodString;
26438
26451
  source: z.ZodEnum<{
26439
- flag: "flag";
26440
26452
  environment: "environment";
26453
+ flag: "flag";
26441
26454
  cascade: "cascade";
26442
26455
  }>;
26443
26456
  }, z.core.$strict>>;
@@ -26836,6 +26849,10 @@ interface LiveSessionRegistry {
26836
26849
  * The models block the launch carrying `sessionId` resolved for itself, or undefined when no live launch carries that id or the launch added nothing to the global block. A session id the view does not hold is looked up as `admits` looks up a token (one listing, a stat per record, a read of only what is new or changed), so a launch is found on its first request and an unknown id costs no record read.
26837
26850
  */
26838
26851
  readonly modelsOf: (sessionId: string) => ModelsConfig | undefined;
26852
+ /** The live client session launch holding `token`, or undefined when none does or the record carries no session id (the door's own transparent-surface session, which every redirected client shares, is no launch of any one client's session); looked up as `identityOf` looks one up. A launch is named by its pid and start time (`FrontDoorLaunch`), and found by its capability, never by session id: a `--resume` or `--continue` carries the session id of a launch that may still be live, and the two hold different tokens. */
26853
+ readonly launchOfToken: (token: string) => FrontDoorLaunch | undefined;
26854
+ /** Whether `launch` is still registered, looked up as `modelsOf` looks one up: what bounds per-launch state the door keeps, which must live exactly as long as the launch it describes. */
26855
+ readonly holdsLaunch: (launch: Readonly<FrontDoorLaunch>) => boolean;
26839
26856
  /** Drops the launches `pids` from the view, for the records the caller has just removed (the tick's prune), so their capabilities are refused at once rather than at the next `rescan`. */
26840
26857
  readonly forget: (pids: readonly number[]) => void;
26841
26858
  }