claude-use 11.88.1 → 11.89.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -297,32 +297,32 @@ declare const LaunchSchema: z.ZodObject<{
297
297
  }>>;
298
298
  layout: z.ZodOptional<z.ZodObject<{
299
299
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
300
+ identity: "identity";
300
301
  model: "model";
301
302
  account: "account";
302
- identity: "identity";
303
303
  provider: "provider";
304
- version: "version";
305
304
  headroom: "headroom";
306
- duration: "duration";
307
305
  route: "route";
308
306
  project: "project";
309
307
  vcs: "vcs";
310
308
  effort: "effort";
311
309
  advisor: "advisor";
310
+ version: "version";
312
311
  outputStyle: "outputStyle";
313
312
  cost: "cost";
314
313
  dailyCost: "dailyCost";
315
314
  sessionName: "sessionName";
315
+ duration: "duration";
316
316
  speed: "speed";
317
317
  extra: "extra";
318
318
  }>>>;
319
319
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
320
320
  context: "context";
321
321
  quota: "quota";
322
- environment: "environment";
323
322
  addedDirs: "addedDirs";
324
323
  gitFiles: "gitFiles";
325
324
  memory: "memory";
325
+ environment: "environment";
326
326
  sessionTime: "sessionTime";
327
327
  promptCache: "promptCache";
328
328
  compactions: "compactions";
@@ -345,10 +345,10 @@ declare const LaunchSchema: z.ZodObject<{
345
345
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
346
346
  context: "context";
347
347
  quota: "quota";
348
- environment: "environment";
349
348
  addedDirs: "addedDirs";
350
349
  gitFiles: "gitFiles";
351
350
  memory: "memory";
351
+ environment: "environment";
352
352
  sessionTime: "sessionTime";
353
353
  promptCache: "promptCache";
354
354
  compactions: "compactions";
@@ -362,10 +362,10 @@ declare const LaunchSchema: z.ZodObject<{
362
362
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
363
363
  context: "context";
364
364
  quota: "quota";
365
- environment: "environment";
366
365
  addedDirs: "addedDirs";
367
366
  gitFiles: "gitFiles";
368
367
  memory: "memory";
368
+ environment: "environment";
369
369
  sessionTime: "sessionTime";
370
370
  promptCache: "promptCache";
371
371
  compactions: "compactions";
@@ -424,10 +424,10 @@ declare const LaunchSchema: z.ZodObject<{
424
424
  hidden: "hidden";
425
425
  }>>;
426
426
  value: z.ZodOptional<z.ZodEnum<{
427
- remaining: "remaining";
428
427
  tokens: "tokens";
429
428
  both: "both";
430
429
  percent: "percent";
430
+ remaining: "remaining";
431
431
  }>>;
432
432
  estimate: z.ZodOptional<z.ZodEnum<{
433
433
  never: "never";
@@ -469,8 +469,8 @@ declare const LaunchSchema: z.ZodObject<{
469
469
  }, z.core.$strict>>;
470
470
  usage: z.ZodOptional<z.ZodObject<{
471
471
  value: z.ZodOptional<z.ZodEnum<{
472
- used: "used";
473
472
  remaining: "remaining";
473
+ used: "used";
474
474
  }>>;
475
475
  bar: z.ZodOptional<z.ZodBoolean>;
476
476
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -1527,32 +1527,32 @@ declare const ConfigProfileSchema: z.ZodObject<{
1527
1527
  }>>;
1528
1528
  layout: z.ZodOptional<z.ZodObject<{
1529
1529
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1530
+ identity: "identity";
1530
1531
  model: "model";
1531
1532
  account: "account";
1532
- identity: "identity";
1533
1533
  provider: "provider";
1534
- version: "version";
1535
1534
  headroom: "headroom";
1536
- duration: "duration";
1537
1535
  route: "route";
1538
1536
  project: "project";
1539
1537
  vcs: "vcs";
1540
1538
  effort: "effort";
1541
1539
  advisor: "advisor";
1540
+ version: "version";
1542
1541
  outputStyle: "outputStyle";
1543
1542
  cost: "cost";
1544
1543
  dailyCost: "dailyCost";
1545
1544
  sessionName: "sessionName";
1545
+ duration: "duration";
1546
1546
  speed: "speed";
1547
1547
  extra: "extra";
1548
1548
  }>>>;
1549
1549
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1550
1550
  context: "context";
1551
1551
  quota: "quota";
1552
- environment: "environment";
1553
1552
  addedDirs: "addedDirs";
1554
1553
  gitFiles: "gitFiles";
1555
1554
  memory: "memory";
1555
+ environment: "environment";
1556
1556
  sessionTime: "sessionTime";
1557
1557
  promptCache: "promptCache";
1558
1558
  compactions: "compactions";
@@ -1575,10 +1575,10 @@ declare const ConfigProfileSchema: z.ZodObject<{
1575
1575
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
1576
1576
  context: "context";
1577
1577
  quota: "quota";
1578
- environment: "environment";
1579
1578
  addedDirs: "addedDirs";
1580
1579
  gitFiles: "gitFiles";
1581
1580
  memory: "memory";
1581
+ environment: "environment";
1582
1582
  sessionTime: "sessionTime";
1583
1583
  promptCache: "promptCache";
1584
1584
  compactions: "compactions";
@@ -1592,10 +1592,10 @@ declare const ConfigProfileSchema: z.ZodObject<{
1592
1592
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1593
1593
  context: "context";
1594
1594
  quota: "quota";
1595
- environment: "environment";
1596
1595
  addedDirs: "addedDirs";
1597
1596
  gitFiles: "gitFiles";
1598
1597
  memory: "memory";
1598
+ environment: "environment";
1599
1599
  sessionTime: "sessionTime";
1600
1600
  promptCache: "promptCache";
1601
1601
  compactions: "compactions";
@@ -1654,10 +1654,10 @@ declare const ConfigProfileSchema: z.ZodObject<{
1654
1654
  hidden: "hidden";
1655
1655
  }>>;
1656
1656
  value: z.ZodOptional<z.ZodEnum<{
1657
- remaining: "remaining";
1658
1657
  tokens: "tokens";
1659
1658
  both: "both";
1660
1659
  percent: "percent";
1660
+ remaining: "remaining";
1661
1661
  }>>;
1662
1662
  estimate: z.ZodOptional<z.ZodEnum<{
1663
1663
  never: "never";
@@ -1699,8 +1699,8 @@ declare const ConfigProfileSchema: z.ZodObject<{
1699
1699
  }, z.core.$strict>>;
1700
1700
  usage: z.ZodOptional<z.ZodObject<{
1701
1701
  value: z.ZodOptional<z.ZodEnum<{
1702
- used: "used";
1703
1702
  remaining: "remaining";
1703
+ used: "used";
1704
1704
  }>>;
1705
1705
  bar: z.ZodOptional<z.ZodBoolean>;
1706
1706
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -2288,55 +2288,8 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2288
2288
  key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
2289
2289
  }, z.core.$strip>], "kind">]>;
2290
2290
  }, z.core.$strict>]>>>;
2291
- models: z.ZodOptional<z.ZodObject<{
2292
- pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
2293
- virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
2294
- mode: z.ZodEnum<{
2295
- ordered: "ordered";
2296
- "most-allowance": "most-allowance";
2297
- "soonest-reset": "soonest-reset";
2298
- spread: "spread";
2299
- adaptive: "adaptive";
2300
- "lowest-latency": "lowest-latency";
2301
- "highest-success": "highest-success";
2302
- cheapest: "cheapest";
2303
- }>;
2304
- members: z.ZodArray<z.ZodString>;
2305
- }, z.core.$strict>, z.ZodNull]>>>;
2306
- tiers: z.ZodOptional<z.ZodObject<{
2307
- fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
2308
- opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
2309
- sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
2310
- haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
2311
- }, z.core.$strict>>;
2312
- prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
2313
- input: z.ZodNumber;
2314
- output: z.ZodNumber;
2315
- }, z.core.$strict>, z.ZodNull]>>>;
2316
- hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
2317
- show: z.ZodOptional<z.ZodArray<z.ZodString>>;
2318
- same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
2319
- distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
2320
- families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
2321
- names: z.ZodOptional<z.ZodArray<z.ZodString>>;
2322
- mode: z.ZodOptional<z.ZodEnum<{
2323
- ordered: "ordered";
2324
- "most-allowance": "most-allowance";
2325
- "soonest-reset": "soonest-reset";
2326
- spread: "spread";
2327
- adaptive: "adaptive";
2328
- "lowest-latency": "lowest-latency";
2329
- "highest-success": "highest-success";
2330
- cheapest: "cheapest";
2331
- }>>;
2332
- context: z.ZodOptional<z.ZodNumber>;
2333
- vision: z.ZodOptional<z.ZodBoolean>;
2334
- tools: z.ZodOptional<z.ZodBoolean>;
2335
- thinking: z.ZodOptional<z.ZodBoolean>;
2336
- }, z.core.$strict>, z.ZodNull]>>>;
2337
- }, z.core.$strict>>;
2338
- $schema: z.ZodOptional<z.ZodString>;
2339
2291
  extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
2292
+ $schema: z.ZodOptional<z.ZodString>;
2340
2293
  categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
2341
2294
  all: z.ZodOptional<z.ZodBoolean>;
2342
2295
  runtime: z.ZodOptional<z.ZodBoolean>;
@@ -2377,32 +2330,32 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2377
2330
  }>>;
2378
2331
  layout: z.ZodOptional<z.ZodObject<{
2379
2332
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2333
+ identity: "identity";
2380
2334
  model: "model";
2381
2335
  account: "account";
2382
- identity: "identity";
2383
2336
  provider: "provider";
2384
- version: "version";
2385
2337
  headroom: "headroom";
2386
- duration: "duration";
2387
2338
  route: "route";
2388
2339
  project: "project";
2389
2340
  vcs: "vcs";
2390
2341
  effort: "effort";
2391
2342
  advisor: "advisor";
2343
+ version: "version";
2392
2344
  outputStyle: "outputStyle";
2393
2345
  cost: "cost";
2394
2346
  dailyCost: "dailyCost";
2395
2347
  sessionName: "sessionName";
2348
+ duration: "duration";
2396
2349
  speed: "speed";
2397
2350
  extra: "extra";
2398
2351
  }>>>;
2399
2352
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2400
2353
  context: "context";
2401
2354
  quota: "quota";
2402
- environment: "environment";
2403
2355
  addedDirs: "addedDirs";
2404
2356
  gitFiles: "gitFiles";
2405
2357
  memory: "memory";
2358
+ environment: "environment";
2406
2359
  sessionTime: "sessionTime";
2407
2360
  promptCache: "promptCache";
2408
2361
  compactions: "compactions";
@@ -2425,10 +2378,10 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2425
2378
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
2426
2379
  context: "context";
2427
2380
  quota: "quota";
2428
- environment: "environment";
2429
2381
  addedDirs: "addedDirs";
2430
2382
  gitFiles: "gitFiles";
2431
2383
  memory: "memory";
2384
+ environment: "environment";
2432
2385
  sessionTime: "sessionTime";
2433
2386
  promptCache: "promptCache";
2434
2387
  compactions: "compactions";
@@ -2442,10 +2395,10 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2442
2395
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2443
2396
  context: "context";
2444
2397
  quota: "quota";
2445
- environment: "environment";
2446
2398
  addedDirs: "addedDirs";
2447
2399
  gitFiles: "gitFiles";
2448
2400
  memory: "memory";
2401
+ environment: "environment";
2449
2402
  sessionTime: "sessionTime";
2450
2403
  promptCache: "promptCache";
2451
2404
  compactions: "compactions";
@@ -2504,10 +2457,10 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2504
2457
  hidden: "hidden";
2505
2458
  }>>;
2506
2459
  value: z.ZodOptional<z.ZodEnum<{
2507
- remaining: "remaining";
2508
2460
  tokens: "tokens";
2509
2461
  both: "both";
2510
2462
  percent: "percent";
2463
+ remaining: "remaining";
2511
2464
  }>>;
2512
2465
  estimate: z.ZodOptional<z.ZodEnum<{
2513
2466
  never: "never";
@@ -2549,8 +2502,8 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2549
2502
  }, z.core.$strict>>;
2550
2503
  usage: z.ZodOptional<z.ZodObject<{
2551
2504
  value: z.ZodOptional<z.ZodEnum<{
2552
- used: "used";
2553
2505
  remaining: "remaining";
2506
+ used: "used";
2554
2507
  }>>;
2555
2508
  bar: z.ZodOptional<z.ZodBoolean>;
2556
2509
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -2908,6 +2861,53 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2908
2861
  }, z.core.$strict>>;
2909
2862
  }, z.core.$strict>>;
2910
2863
  }, z.core.$strict>>;
2864
+ models: z.ZodOptional<z.ZodObject<{
2865
+ pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
2866
+ virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
2867
+ mode: z.ZodEnum<{
2868
+ ordered: "ordered";
2869
+ "most-allowance": "most-allowance";
2870
+ "soonest-reset": "soonest-reset";
2871
+ spread: "spread";
2872
+ adaptive: "adaptive";
2873
+ "lowest-latency": "lowest-latency";
2874
+ "highest-success": "highest-success";
2875
+ cheapest: "cheapest";
2876
+ }>;
2877
+ members: z.ZodArray<z.ZodString>;
2878
+ }, z.core.$strict>, z.ZodNull]>>>;
2879
+ tiers: z.ZodOptional<z.ZodObject<{
2880
+ fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
2881
+ opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
2882
+ sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
2883
+ haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
2884
+ }, z.core.$strict>>;
2885
+ prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
2886
+ input: z.ZodNumber;
2887
+ output: z.ZodNumber;
2888
+ }, z.core.$strict>, z.ZodNull]>>>;
2889
+ hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
2890
+ show: z.ZodOptional<z.ZodArray<z.ZodString>>;
2891
+ same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
2892
+ distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
2893
+ families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
2894
+ names: z.ZodOptional<z.ZodArray<z.ZodString>>;
2895
+ mode: z.ZodOptional<z.ZodEnum<{
2896
+ ordered: "ordered";
2897
+ "most-allowance": "most-allowance";
2898
+ "soonest-reset": "soonest-reset";
2899
+ spread: "spread";
2900
+ adaptive: "adaptive";
2901
+ "lowest-latency": "lowest-latency";
2902
+ "highest-success": "highest-success";
2903
+ cheapest: "cheapest";
2904
+ }>>;
2905
+ context: z.ZodOptional<z.ZodNumber>;
2906
+ vision: z.ZodOptional<z.ZodBoolean>;
2907
+ tools: z.ZodOptional<z.ZodBoolean>;
2908
+ thinking: z.ZodOptional<z.ZodBoolean>;
2909
+ }, z.core.$strict>, z.ZodNull]>>>;
2910
+ }, z.core.$strict>>;
2911
2911
  path: z.ZodString;
2912
2912
  configProfile: z.ZodOptional<z.ZodString>;
2913
2913
  identity: z.ZodOptional<z.ZodString>;
@@ -3064,55 +3064,8 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3064
3064
  key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
3065
3065
  }, z.core.$strip>], "kind">]>;
3066
3066
  }, z.core.$strict>]>>>;
3067
- models: z.ZodOptional<z.ZodObject<{
3068
- pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
3069
- virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
3070
- mode: z.ZodEnum<{
3071
- ordered: "ordered";
3072
- "most-allowance": "most-allowance";
3073
- "soonest-reset": "soonest-reset";
3074
- spread: "spread";
3075
- adaptive: "adaptive";
3076
- "lowest-latency": "lowest-latency";
3077
- "highest-success": "highest-success";
3078
- cheapest: "cheapest";
3079
- }>;
3080
- members: z.ZodArray<z.ZodString>;
3081
- }, z.core.$strict>, z.ZodNull]>>>;
3082
- tiers: z.ZodOptional<z.ZodObject<{
3083
- fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
3084
- opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
3085
- sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
3086
- haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
3087
- }, z.core.$strict>>;
3088
- prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
3089
- input: z.ZodNumber;
3090
- output: z.ZodNumber;
3091
- }, z.core.$strict>, z.ZodNull]>>>;
3092
- hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
3093
- show: z.ZodOptional<z.ZodArray<z.ZodString>>;
3094
- same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
3095
- distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
3096
- families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
3097
- names: z.ZodOptional<z.ZodArray<z.ZodString>>;
3098
- mode: z.ZodOptional<z.ZodEnum<{
3099
- ordered: "ordered";
3100
- "most-allowance": "most-allowance";
3101
- "soonest-reset": "soonest-reset";
3102
- spread: "spread";
3103
- adaptive: "adaptive";
3104
- "lowest-latency": "lowest-latency";
3105
- "highest-success": "highest-success";
3106
- cheapest: "cheapest";
3107
- }>>;
3108
- context: z.ZodOptional<z.ZodNumber>;
3109
- vision: z.ZodOptional<z.ZodBoolean>;
3110
- tools: z.ZodOptional<z.ZodBoolean>;
3111
- thinking: z.ZodOptional<z.ZodBoolean>;
3112
- }, z.core.$strict>, z.ZodNull]>>>;
3113
- }, z.core.$strict>>;
3114
- $schema: z.ZodOptional<z.ZodString>;
3115
3067
  extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
3068
+ $schema: z.ZodOptional<z.ZodString>;
3116
3069
  categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
3117
3070
  all: z.ZodOptional<z.ZodBoolean>;
3118
3071
  runtime: z.ZodOptional<z.ZodBoolean>;
@@ -3153,32 +3106,32 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3153
3106
  }>>;
3154
3107
  layout: z.ZodOptional<z.ZodObject<{
3155
3108
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3109
+ identity: "identity";
3156
3110
  model: "model";
3157
3111
  account: "account";
3158
- identity: "identity";
3159
3112
  provider: "provider";
3160
- version: "version";
3161
3113
  headroom: "headroom";
3162
- duration: "duration";
3163
3114
  route: "route";
3164
3115
  project: "project";
3165
3116
  vcs: "vcs";
3166
3117
  effort: "effort";
3167
3118
  advisor: "advisor";
3119
+ version: "version";
3168
3120
  outputStyle: "outputStyle";
3169
3121
  cost: "cost";
3170
3122
  dailyCost: "dailyCost";
3171
3123
  sessionName: "sessionName";
3124
+ duration: "duration";
3172
3125
  speed: "speed";
3173
3126
  extra: "extra";
3174
3127
  }>>>;
3175
3128
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3176
3129
  context: "context";
3177
3130
  quota: "quota";
3178
- environment: "environment";
3179
3131
  addedDirs: "addedDirs";
3180
3132
  gitFiles: "gitFiles";
3181
3133
  memory: "memory";
3134
+ environment: "environment";
3182
3135
  sessionTime: "sessionTime";
3183
3136
  promptCache: "promptCache";
3184
3137
  compactions: "compactions";
@@ -3201,10 +3154,10 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3201
3154
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
3202
3155
  context: "context";
3203
3156
  quota: "quota";
3204
- environment: "environment";
3205
3157
  addedDirs: "addedDirs";
3206
3158
  gitFiles: "gitFiles";
3207
3159
  memory: "memory";
3160
+ environment: "environment";
3208
3161
  sessionTime: "sessionTime";
3209
3162
  promptCache: "promptCache";
3210
3163
  compactions: "compactions";
@@ -3218,10 +3171,10 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3218
3171
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3219
3172
  context: "context";
3220
3173
  quota: "quota";
3221
- environment: "environment";
3222
3174
  addedDirs: "addedDirs";
3223
3175
  gitFiles: "gitFiles";
3224
3176
  memory: "memory";
3177
+ environment: "environment";
3225
3178
  sessionTime: "sessionTime";
3226
3179
  promptCache: "promptCache";
3227
3180
  compactions: "compactions";
@@ -3280,10 +3233,10 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3280
3233
  hidden: "hidden";
3281
3234
  }>>;
3282
3235
  value: z.ZodOptional<z.ZodEnum<{
3283
- remaining: "remaining";
3284
3236
  tokens: "tokens";
3285
3237
  both: "both";
3286
3238
  percent: "percent";
3239
+ remaining: "remaining";
3287
3240
  }>>;
3288
3241
  estimate: z.ZodOptional<z.ZodEnum<{
3289
3242
  never: "never";
@@ -3325,8 +3278,8 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3325
3278
  }, z.core.$strict>>;
3326
3279
  usage: z.ZodOptional<z.ZodObject<{
3327
3280
  value: z.ZodOptional<z.ZodEnum<{
3328
- used: "used";
3329
3281
  remaining: "remaining";
3282
+ used: "used";
3330
3283
  }>>;
3331
3284
  bar: z.ZodOptional<z.ZodBoolean>;
3332
3285
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -3684,6 +3637,53 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3684
3637
  }, z.core.$strict>>;
3685
3638
  }, z.core.$strict>>;
3686
3639
  }, z.core.$strict>>;
3640
+ models: z.ZodOptional<z.ZodObject<{
3641
+ pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
3642
+ virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
3643
+ mode: z.ZodEnum<{
3644
+ ordered: "ordered";
3645
+ "most-allowance": "most-allowance";
3646
+ "soonest-reset": "soonest-reset";
3647
+ spread: "spread";
3648
+ adaptive: "adaptive";
3649
+ "lowest-latency": "lowest-latency";
3650
+ "highest-success": "highest-success";
3651
+ cheapest: "cheapest";
3652
+ }>;
3653
+ members: z.ZodArray<z.ZodString>;
3654
+ }, z.core.$strict>, z.ZodNull]>>>;
3655
+ tiers: z.ZodOptional<z.ZodObject<{
3656
+ fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
3657
+ opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
3658
+ sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
3659
+ haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
3660
+ }, z.core.$strict>>;
3661
+ prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
3662
+ input: z.ZodNumber;
3663
+ output: z.ZodNumber;
3664
+ }, z.core.$strict>, z.ZodNull]>>>;
3665
+ hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
3666
+ show: z.ZodOptional<z.ZodArray<z.ZodString>>;
3667
+ same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
3668
+ distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
3669
+ families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
3670
+ names: z.ZodOptional<z.ZodArray<z.ZodString>>;
3671
+ mode: z.ZodOptional<z.ZodEnum<{
3672
+ ordered: "ordered";
3673
+ "most-allowance": "most-allowance";
3674
+ "soonest-reset": "soonest-reset";
3675
+ spread: "spread";
3676
+ adaptive: "adaptive";
3677
+ "lowest-latency": "lowest-latency";
3678
+ "highest-success": "highest-success";
3679
+ cheapest: "cheapest";
3680
+ }>>;
3681
+ context: z.ZodOptional<z.ZodNumber>;
3682
+ vision: z.ZodOptional<z.ZodBoolean>;
3683
+ tools: z.ZodOptional<z.ZodBoolean>;
3684
+ thinking: z.ZodOptional<z.ZodBoolean>;
3685
+ }, z.core.$strict>, z.ZodNull]>>>;
3686
+ }, z.core.$strict>>;
3687
3687
  path: z.ZodString;
3688
3688
  configProfile: z.ZodOptional<z.ZodString>;
3689
3689
  identity: z.ZodOptional<z.ZodString>;
@@ -3841,6 +3841,20 @@ declare const PortableConfigSchema: z.ZodObject<{
3841
3841
  key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
3842
3842
  }, z.core.$strip>], "kind">]>;
3843
3843
  }, z.core.$strict>]>>>;
3844
+ $schema: z.ZodOptional<z.ZodString>;
3845
+ categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
3846
+ all: z.ZodOptional<z.ZodBoolean>;
3847
+ runtime: z.ZodOptional<z.ZodBoolean>;
3848
+ history: z.ZodOptional<z.ZodBoolean>;
3849
+ knowledge: z.ZodOptional<z.ZodBoolean>;
3850
+ settings: z.ZodOptional<z.ZodBoolean>;
3851
+ }, z.core.$strict>, z.ZodTransform<Partial<Record<"runtime" | "history" | "knowledge" | "settings", boolean>>, {
3852
+ all?: boolean | undefined;
3853
+ runtime?: boolean | undefined;
3854
+ history?: boolean | undefined;
3855
+ knowledge?: boolean | undefined;
3856
+ settings?: boolean | undefined;
3857
+ }>>>;
3844
3858
  models: z.ZodOptional<z.ZodObject<{
3845
3859
  pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
3846
3860
  virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
@@ -3888,20 +3902,6 @@ declare const PortableConfigSchema: z.ZodObject<{
3888
3902
  thinking: z.ZodOptional<z.ZodBoolean>;
3889
3903
  }, z.core.$strict>, z.ZodNull]>>>;
3890
3904
  }, z.core.$strict>>;
3891
- $schema: z.ZodOptional<z.ZodString>;
3892
- categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
3893
- all: z.ZodOptional<z.ZodBoolean>;
3894
- runtime: z.ZodOptional<z.ZodBoolean>;
3895
- history: z.ZodOptional<z.ZodBoolean>;
3896
- knowledge: z.ZodOptional<z.ZodBoolean>;
3897
- settings: z.ZodOptional<z.ZodBoolean>;
3898
- }, z.core.$strict>, z.ZodTransform<Partial<Record<"runtime" | "history" | "knowledge" | "settings", boolean>>, {
3899
- all?: boolean | undefined;
3900
- runtime?: boolean | undefined;
3901
- history?: boolean | undefined;
3902
- knowledge?: boolean | undefined;
3903
- settings?: boolean | undefined;
3904
- }>>>;
3905
3905
  extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
3906
3906
  launch: z.ZodOptional<z.ZodObject<{
3907
3907
  skipPermissions: z.ZodOptional<z.ZodBoolean>;
@@ -3929,32 +3929,32 @@ declare const PortableConfigSchema: z.ZodObject<{
3929
3929
  }>>;
3930
3930
  layout: z.ZodOptional<z.ZodObject<{
3931
3931
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3932
+ identity: "identity";
3932
3933
  model: "model";
3933
3934
  account: "account";
3934
- identity: "identity";
3935
3935
  provider: "provider";
3936
- version: "version";
3937
3936
  headroom: "headroom";
3938
- duration: "duration";
3939
3937
  route: "route";
3940
3938
  project: "project";
3941
3939
  vcs: "vcs";
3942
3940
  effort: "effort";
3943
3941
  advisor: "advisor";
3942
+ version: "version";
3944
3943
  outputStyle: "outputStyle";
3945
3944
  cost: "cost";
3946
3945
  dailyCost: "dailyCost";
3947
3946
  sessionName: "sessionName";
3947
+ duration: "duration";
3948
3948
  speed: "speed";
3949
3949
  extra: "extra";
3950
3950
  }>>>;
3951
3951
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3952
3952
  context: "context";
3953
3953
  quota: "quota";
3954
- environment: "environment";
3955
3954
  addedDirs: "addedDirs";
3956
3955
  gitFiles: "gitFiles";
3957
3956
  memory: "memory";
3957
+ environment: "environment";
3958
3958
  sessionTime: "sessionTime";
3959
3959
  promptCache: "promptCache";
3960
3960
  compactions: "compactions";
@@ -3977,10 +3977,10 @@ declare const PortableConfigSchema: z.ZodObject<{
3977
3977
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
3978
3978
  context: "context";
3979
3979
  quota: "quota";
3980
- environment: "environment";
3981
3980
  addedDirs: "addedDirs";
3982
3981
  gitFiles: "gitFiles";
3983
3982
  memory: "memory";
3983
+ environment: "environment";
3984
3984
  sessionTime: "sessionTime";
3985
3985
  promptCache: "promptCache";
3986
3986
  compactions: "compactions";
@@ -3994,10 +3994,10 @@ declare const PortableConfigSchema: z.ZodObject<{
3994
3994
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3995
3995
  context: "context";
3996
3996
  quota: "quota";
3997
- environment: "environment";
3998
3997
  addedDirs: "addedDirs";
3999
3998
  gitFiles: "gitFiles";
4000
3999
  memory: "memory";
4000
+ environment: "environment";
4001
4001
  sessionTime: "sessionTime";
4002
4002
  promptCache: "promptCache";
4003
4003
  compactions: "compactions";
@@ -4056,10 +4056,10 @@ declare const PortableConfigSchema: z.ZodObject<{
4056
4056
  hidden: "hidden";
4057
4057
  }>>;
4058
4058
  value: z.ZodOptional<z.ZodEnum<{
4059
- remaining: "remaining";
4060
4059
  tokens: "tokens";
4061
4060
  both: "both";
4062
4061
  percent: "percent";
4062
+ remaining: "remaining";
4063
4063
  }>>;
4064
4064
  estimate: z.ZodOptional<z.ZodEnum<{
4065
4065
  never: "never";
@@ -4101,8 +4101,8 @@ declare const PortableConfigSchema: z.ZodObject<{
4101
4101
  }, z.core.$strict>>;
4102
4102
  usage: z.ZodOptional<z.ZodObject<{
4103
4103
  value: z.ZodOptional<z.ZodEnum<{
4104
- used: "used";
4105
4104
  remaining: "remaining";
4105
+ used: "used";
4106
4106
  }>>;
4107
4107
  bar: z.ZodOptional<z.ZodBoolean>;
4108
4108
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -4685,32 +4685,32 @@ declare const GlobalConfigSchema: z.ZodObject<{
4685
4685
  }>>;
4686
4686
  layout: z.ZodOptional<z.ZodObject<{
4687
4687
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4688
+ identity: "identity";
4688
4689
  model: "model";
4689
4690
  account: "account";
4690
- identity: "identity";
4691
4691
  provider: "provider";
4692
- version: "version";
4693
4692
  headroom: "headroom";
4694
- duration: "duration";
4695
4693
  route: "route";
4696
4694
  project: "project";
4697
4695
  vcs: "vcs";
4698
4696
  effort: "effort";
4699
4697
  advisor: "advisor";
4698
+ version: "version";
4700
4699
  outputStyle: "outputStyle";
4701
4700
  cost: "cost";
4702
4701
  dailyCost: "dailyCost";
4703
4702
  sessionName: "sessionName";
4703
+ duration: "duration";
4704
4704
  speed: "speed";
4705
4705
  extra: "extra";
4706
4706
  }>>>;
4707
4707
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4708
4708
  context: "context";
4709
4709
  quota: "quota";
4710
- environment: "environment";
4711
4710
  addedDirs: "addedDirs";
4712
4711
  gitFiles: "gitFiles";
4713
4712
  memory: "memory";
4713
+ environment: "environment";
4714
4714
  sessionTime: "sessionTime";
4715
4715
  promptCache: "promptCache";
4716
4716
  compactions: "compactions";
@@ -4733,10 +4733,10 @@ declare const GlobalConfigSchema: z.ZodObject<{
4733
4733
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
4734
4734
  context: "context";
4735
4735
  quota: "quota";
4736
- environment: "environment";
4737
4736
  addedDirs: "addedDirs";
4738
4737
  gitFiles: "gitFiles";
4739
4738
  memory: "memory";
4739
+ environment: "environment";
4740
4740
  sessionTime: "sessionTime";
4741
4741
  promptCache: "promptCache";
4742
4742
  compactions: "compactions";
@@ -4750,10 +4750,10 @@ declare const GlobalConfigSchema: z.ZodObject<{
4750
4750
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4751
4751
  context: "context";
4752
4752
  quota: "quota";
4753
- environment: "environment";
4754
4753
  addedDirs: "addedDirs";
4755
4754
  gitFiles: "gitFiles";
4756
4755
  memory: "memory";
4756
+ environment: "environment";
4757
4757
  sessionTime: "sessionTime";
4758
4758
  promptCache: "promptCache";
4759
4759
  compactions: "compactions";
@@ -4812,10 +4812,10 @@ declare const GlobalConfigSchema: z.ZodObject<{
4812
4812
  hidden: "hidden";
4813
4813
  }>>;
4814
4814
  value: z.ZodOptional<z.ZodEnum<{
4815
- remaining: "remaining";
4816
4815
  tokens: "tokens";
4817
4816
  both: "both";
4818
4817
  percent: "percent";
4818
+ remaining: "remaining";
4819
4819
  }>>;
4820
4820
  estimate: z.ZodOptional<z.ZodEnum<{
4821
4821
  never: "never";
@@ -4857,8 +4857,8 @@ declare const GlobalConfigSchema: z.ZodObject<{
4857
4857
  }, z.core.$strict>>;
4858
4858
  usage: z.ZodOptional<z.ZodObject<{
4859
4859
  value: z.ZodOptional<z.ZodEnum<{
4860
- used: "used";
4861
4860
  remaining: "remaining";
4861
+ used: "used";
4862
4862
  }>>;
4863
4863
  bar: z.ZodOptional<z.ZodBoolean>;
4864
4864
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -5961,6 +5961,7 @@ declare const FrontDoorSessionSchema: z.ZodObject<{
5961
5961
  token: z.ZodString;
5962
5962
  supervisorPid: z.ZodOptional<z.ZodNumber>;
5963
5963
  sessionId: z.ZodOptional<z.ZodString>;
5964
+ identity: z.ZodOptional<z.ZodString>;
5964
5965
  models: z.ZodOptional<z.ZodObject<{
5965
5966
  pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
5966
5967
  virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -6035,6 +6036,8 @@ interface FrontDoorLiveness {
6035
6036
  /** What a launch records about itself in its registry entry beyond the token: the id its requests carry and, when it resolved one that differs from the global block, its models block. */
6036
6037
  interface FrontDoorSessionDetails {
6037
6038
  readonly sessionId: string;
6039
+ /** The id of the identity the launch runs as: what the door attributes the launch's requests to even when a request carries no identity header of its own (Remote Control's calls ride the capability the tunnel supplies). */
6040
+ readonly identity?: string;
6038
6041
  readonly models?: ModelsConfig;
6039
6042
  }
6040
6043
  /** A registered launch as status and the idle decision see it: the pid and start time, never the token, so nothing that prints or serialises a session can leak the capability. */
@@ -7379,6 +7382,16 @@ interface RcSessionStatus extends RcSessionSummary {
7379
7382
  readonly workerIdleSeconds: RcWorkerFact<number> | undefined;
7380
7383
  /** The session's control requests awaiting an answer, oldest-observed first. */
7381
7384
  readonly pending: readonly RcPendingRequestSummary[];
7385
+ /** The identity (login) the session runs as, when the door saw it on the session's own requests or the session's own registry named it. Absent when neither knows. */
7386
+ readonly identity?: string;
7387
+ /** The model the session last stated, when the door saw one. */
7388
+ readonly model?: string;
7389
+ /** The session's name as the Claude Code session registry holds it (see `rcSessionRegistry.ts`); the tracker never sets it. */
7390
+ readonly name?: string;
7391
+ /** The session process's id from the registry; the tracker never sets it. */
7392
+ readonly pid?: number;
7393
+ /** The session's working directory, from its init event or else the registry. */
7394
+ readonly cwd?: string;
7382
7395
  }
7383
7396
  /** One observed session as the control surface lists it: the identification and timing only, never the credential. */
7384
7397
  interface RcSessionSummary {
@@ -7393,6 +7406,8 @@ interface RcObservedRequest {
7393
7406
  readonly method?: string;
7394
7407
  readonly url?: string;
7395
7408
  readonly headers: Readonly<IncomingHttpHeaders>;
7409
+ /** The identity the launcher injected on this request, when the door's identity step read one; the headers above no longer carry it. */
7410
+ readonly identity?: string;
7396
7411
  }
7397
7412
  /** What one observed exchange drives, in arrival order: the request body chunks and their end (present only for the exchanges whose request payloads the tracker reads), then the response's head, each body chunk, and the end exactly once. */
7398
7413
  interface RcExchangeObserver {
@@ -7840,6 +7855,97 @@ declare function realRcStreamDial(target?: RcDialTarget): RcStreamDial;
7840
7855
  /** The real effects, dialling upstream from `ports` (the door's own range unless a test injects a private one). */
7841
7856
  declare function realConnectEffects(ports?: SourcePortRange): ConnectEffects;
7842
7857
 
7858
+ /**
7859
+ * The agent tree reader: pure over an injected filesystem, so the CLI, the library surface and tests read the same way, and nothing here writes. The layout it reads is documented in `docs/agent-transcripts.md`.
7860
+ */
7861
+ /** The filesystem reads the agent tree reader needs. */
7862
+ type AgentReadFs = Pick<FarmFs, "readFileUtf8" | "readdir" | "lstat">;
7863
+ /** One session found under a project: its directory name split into the session id and whether the entry is an archived copy (superseded by a resume, or orphaned) rather than the live session. */
7864
+ interface SessionRef {
7865
+ readonly project: string;
7866
+ readonly sessionId: string;
7867
+ readonly superseded: boolean;
7868
+ /** The directory (and transcript stem) name exactly as on disk, which differs from `sessionId` for an archived copy. */
7869
+ readonly entry: string;
7870
+ }
7871
+ /** Lists every session under every project: a transcript file, or a directory holding agents or workflow runs. Sorted by project then entry so output is stable. */
7872
+ declare function listSessions(fs: AgentReadFs, configDir: string): readonly SessionRef[];
7873
+ /** One session in a listing: the cheap facts read from directory listings and one stat, without parsing any agent. */
7874
+ interface SessionSummary extends SessionRef {
7875
+ /** How many agent meta files the session has, across its top-level agents and every workflow run. */
7876
+ readonly agentCount: number;
7877
+ /** How many workflow run records the session has. */
7878
+ readonly workflowRunCount: number;
7879
+ /** When the session's transcript was last written, as an ISO instant; absent when there is no transcript file. */
7880
+ readonly updatedAt?: string;
7881
+ }
7882
+ /** What a caller knows about a session that the disk does not record. */
7883
+ interface ReadSessionOptions {
7884
+ /** Task lists the session was pointed at with `CLAUDE_CODE_TASK_LIST_ID`, which is a property of the process environment and is written nowhere in the session's files. Each is read from `tasks/<id>` and its tasks carry the id as `taskList`. */
7885
+ readonly taskListIds?: readonly string[];
7886
+ }
7887
+ /** Summarises one session without reading any agent file: listings and one stat only, so it is cheap over every session an identity has. */
7888
+ declare function summariseSession(fs: AgentReadFs, configDir: string, ref: Readonly<SessionRef>): SessionSummary;
7889
+ /**
7890
+ * Reads one session's agents, task list and workflow runs. Every file that cannot be used is listed in `problems` with the reason; a missing directory is simply an empty section, because a session that never spawned an agent has none.
7891
+ */
7892
+ declare function readSessionAgentTree(fs: AgentReadFs, configDir: string, ref: SessionRef, options?: Readonly<ReadSessionOptions>): SessionAgentTree;
7893
+
7894
+ /** The reads the session commands and procedures make: the reader's own, plus resolving a path to the real location it points at, which is how identities sharing one history store are told from identities with their own. */
7895
+ interface SessionCommandFs extends AgentReadFs {
7896
+ /** The real path `candidate` resolves to, or undefined when nothing is there. */
7897
+ readonly realpath: (candidate: string) => string | undefined;
7898
+ }
7899
+ /** The real filesystem, for the commands and the door's sessions procedures. */
7900
+ declare const realSessionFs: SessionCommandFs;
7901
+
7902
+ /**
7903
+ * The reads the registry reader makes: directory listing, file reads, a stat that does not follow links (so only a regular file small enough to be an entry is ever read, and a FIFO or a link to an endless device named like an entry cannot block the read), and resolving the registry directory to the real location it points at, which is how identities that share one registry are told from identities with their own.
7904
+ */
7905
+ interface RcSessionRegistryFs extends Pick<SessionCommandFs, "readdir" | "readFileUtf8" | "realpath"> {
7906
+ /** What a path is, by a stat that does not follow links: whether it is a plain file (a FIFO, a socket, a device or a link is not) and its size in bytes; undefined when nothing is there. */
7907
+ readonly statEntry: (entryPath: string) => {
7908
+ readonly regular: boolean;
7909
+ readonly sizeBytes: number;
7910
+ } | undefined;
7911
+ }
7912
+ /** One identity whose registry is searched: its name and the configuration directory it launches sessions with. */
7913
+ interface RcRegistryIdentity {
7914
+ readonly name: string;
7915
+ readonly configDir: string;
7916
+ }
7917
+ /** What the registry says about one session, with every field the entry did not carry absent rather than blank. */
7918
+ interface RcRegisteredSession {
7919
+ /** The session process's id. */
7920
+ readonly pid: number;
7921
+ /** The Claude Code session's own id, the stem of its transcript and the join to everything on disk. */
7922
+ readonly localSessionId: string;
7923
+ /** The directory the session was started in. */
7924
+ readonly cwd?: string;
7925
+ /** The session's name, as the CLI shows it. */
7926
+ readonly name?: string;
7927
+ /** The identity whose own registry holds the entry. Absent when several identities share the registry (the default, since sessions are history and shared), because the entry then says nothing about which of them launched the session. */
7928
+ readonly identity?: string;
7929
+ }
7930
+ /** Everything the registry reader needs, injected so it runs against fakes. */
7931
+ interface RcSessionRegistryDeps {
7932
+ readonly fs: RcSessionRegistryFs;
7933
+ /** The identities to search, read on every call so one added after the door started is searched the moment it exists. */
7934
+ readonly identities: () => readonly RcRegistryIdentity[];
7935
+ /** Whether a process is alive: an entry whose process has exited is a file a crash left behind, and describes no session. */
7936
+ readonly isRunning: (pid: number) => boolean;
7937
+ }
7938
+ /**
7939
+ * Builds the registry reader: each call reads every identity's registry (a shared one once) and returns the live sessions it holds keyed by the door's `cse_` id. When a session has several live entries, as a resumed one can while its earlier file lingers, the most recently updated wins.
7940
+ */
7941
+ declare function createRcSessionRegistryReader(deps: RcSessionRegistryDeps): () => ReadonlyMap<string, RcRegisteredSession>;
7942
+ /**
7943
+ * Adds what the registry says to the statuses the door built from its own observations: the name and process id always, and the working directory and identity only where the door observed none (what the session itself stated, and the launching identity the door saw on its own requests, outrank a registry that is only a file on disk). A status whose session the registry does not hold is returned as it is.
7944
+ */
7945
+ declare function withRegisteredSessionFacts(statuses: readonly RcSessionStatus[], registry: ReadonlyMap<string, RcRegisteredSession>): readonly RcSessionStatus[];
7946
+ /** Wraps the tracker's status read so every answer carries the registry's facts; the registry is read only when there is a status to describe. */
7947
+ declare function rcStatusWithRegistry(statusOf: (sessionId?: string) => readonly RcSessionStatus[], readRegistry: () => ReadonlyMap<string, RcRegisteredSession>, identityNameOf: (id: string) => string | undefined): (sessionId?: string) => readonly RcSessionStatus[];
7948
+
7843
7949
  /**
7844
7950
  * The Remote Control control surface: the small HTTP namespace the serving door answers on its provider listener, next to `/healthz`, through which `agent-shim frontdoor rc` lists the observed sessions, reports each one's status and pending control requests, injects a prompt into one, answers one of its pending requests, and sends its own control requests into one (interrupt, set-model, set-permission-mode, and the wider client-half verb family: end-session, the usage and context queries, read-file, file-suggestions, keep-alive, and the mcp_* family).
7845
7951
  *
@@ -8092,6 +8198,11 @@ declare function createRcApiRouter(deps: RcApiDeps): {
8092
8198
  summary: zod.ZodString;
8093
8199
  observedAt: zod.ZodNumber;
8094
8200
  }, zod_v4_core.$strict>>>;
8201
+ identity: zod.ZodOptional<zod.ZodString>;
8202
+ model: zod.ZodOptional<zod.ZodString>;
8203
+ name: zod.ZodOptional<zod.ZodString>;
8204
+ pid: zod.ZodOptional<zod.ZodNumber>;
8205
+ cwd: zod.ZodOptional<zod.ZodString>;
8095
8206
  id: zod.ZodString;
8096
8207
  createdAt: zod.ZodNumber;
8097
8208
  lastSeenAt: zod.ZodNumber;
@@ -8424,12 +8535,12 @@ declare const CheckReportJsonSchema: z.ZodObject<{
8424
8535
  identity: z.ZodObject<{
8425
8536
  name: z.ZodNullable<z.ZodString>;
8426
8537
  source: z.ZodEnum<{
8538
+ env: "env";
8539
+ none: "none";
8427
8540
  "config-dir-escape-hatch": "config-dir-escape-hatch";
8428
8541
  argv: "argv";
8429
- env: "env";
8430
8542
  "directory-pin": "directory-pin";
8431
8543
  "active-identity-file": "active-identity-file";
8432
- none: "none";
8433
8544
  }>;
8434
8545
  }, z.core.$strict>;
8435
8546
  pool: z.ZodOptional<z.ZodObject<{
@@ -8507,11 +8618,11 @@ declare const CheckReportJsonSchema: z.ZodObject<{
8507
8618
  "category-default": "category-default";
8508
8619
  }>;
8509
8620
  category: z.ZodNullable<z.ZodEnum<{
8510
- secret: "secret";
8511
8621
  runtime: "runtime";
8512
8622
  history: "history";
8513
8623
  knowledge: "knowledge";
8514
8624
  settings: "settings";
8625
+ secret: "secret";
8515
8626
  }>>;
8516
8627
  rule: z.ZodOptional<z.ZodObject<{
8517
8628
  key: z.ZodString;
@@ -8711,8 +8822,8 @@ declare const CheckReportJsonSchema: z.ZodObject<{
8711
8822
  pinned: z.ZodOptional<z.ZodObject<{
8712
8823
  version: z.ZodString;
8713
8824
  source: z.ZodEnum<{
8714
- flag: "flag";
8715
8825
  environment: "environment";
8826
+ flag: "flag";
8716
8827
  cascade: "cascade";
8717
8828
  }>;
8718
8829
  installed: z.ZodBoolean;
@@ -10281,53 +10392,6 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10281
10392
  }, zod_v4_core.$strip>], "kind">]>;
10282
10393
  }, zod_v4_core.$strict>]>>>;
10283
10394
  description: zod.ZodOptional<zod.ZodString>;
10284
- models: zod.ZodOptional<zod.ZodObject<{
10285
- pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
10286
- virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
10287
- mode: zod.ZodEnum<{
10288
- ordered: "ordered";
10289
- "most-allowance": "most-allowance";
10290
- "soonest-reset": "soonest-reset";
10291
- spread: "spread";
10292
- adaptive: "adaptive";
10293
- "lowest-latency": "lowest-latency";
10294
- "highest-success": "highest-success";
10295
- cheapest: "cheapest";
10296
- }>;
10297
- members: zod.ZodArray<zod.ZodString>;
10298
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
10299
- tiers: zod.ZodOptional<zod.ZodObject<{
10300
- fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
10301
- opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
10302
- sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
10303
- haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
10304
- }, zod_v4_core.$strict>>;
10305
- prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
10306
- input: zod.ZodNumber;
10307
- output: zod.ZodNumber;
10308
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
10309
- hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
10310
- show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
10311
- same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
10312
- distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
10313
- families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
10314
- names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
10315
- mode: zod.ZodOptional<zod.ZodEnum<{
10316
- ordered: "ordered";
10317
- "most-allowance": "most-allowance";
10318
- "soonest-reset": "soonest-reset";
10319
- spread: "spread";
10320
- adaptive: "adaptive";
10321
- "lowest-latency": "lowest-latency";
10322
- "highest-success": "highest-success";
10323
- cheapest: "cheapest";
10324
- }>>;
10325
- context: zod.ZodOptional<zod.ZodNumber>;
10326
- vision: zod.ZodOptional<zod.ZodBoolean>;
10327
- tools: zod.ZodOptional<zod.ZodBoolean>;
10328
- thinking: zod.ZodOptional<zod.ZodBoolean>;
10329
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
10330
- }, zod_v4_core.$strict>>;
10331
10395
  extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
10332
10396
  categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
10333
10397
  all: zod.ZodOptional<zod.ZodBoolean>;
@@ -10369,32 +10433,32 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10369
10433
  }>>;
10370
10434
  layout: zod.ZodOptional<zod.ZodObject<{
10371
10435
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
10436
+ identity: "identity";
10372
10437
  model: "model";
10373
10438
  account: "account";
10374
- identity: "identity";
10375
10439
  provider: "provider";
10376
- version: "version";
10377
10440
  headroom: "headroom";
10378
- duration: "duration";
10379
10441
  route: "route";
10380
10442
  project: "project";
10381
10443
  vcs: "vcs";
10382
10444
  effort: "effort";
10383
10445
  advisor: "advisor";
10446
+ version: "version";
10384
10447
  outputStyle: "outputStyle";
10385
10448
  cost: "cost";
10386
10449
  dailyCost: "dailyCost";
10387
10450
  sessionName: "sessionName";
10451
+ duration: "duration";
10388
10452
  speed: "speed";
10389
10453
  extra: "extra";
10390
10454
  }>>>;
10391
10455
  rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
10392
10456
  context: "context";
10393
10457
  quota: "quota";
10394
- environment: "environment";
10395
10458
  addedDirs: "addedDirs";
10396
10459
  gitFiles: "gitFiles";
10397
10460
  memory: "memory";
10461
+ environment: "environment";
10398
10462
  sessionTime: "sessionTime";
10399
10463
  promptCache: "promptCache";
10400
10464
  compactions: "compactions";
@@ -10417,10 +10481,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10417
10481
  merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
10418
10482
  context: "context";
10419
10483
  quota: "quota";
10420
- environment: "environment";
10421
10484
  addedDirs: "addedDirs";
10422
10485
  gitFiles: "gitFiles";
10423
10486
  memory: "memory";
10487
+ environment: "environment";
10424
10488
  sessionTime: "sessionTime";
10425
10489
  promptCache: "promptCache";
10426
10490
  compactions: "compactions";
@@ -10434,10 +10498,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10434
10498
  rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
10435
10499
  context: "context";
10436
10500
  quota: "quota";
10437
- environment: "environment";
10438
10501
  addedDirs: "addedDirs";
10439
10502
  gitFiles: "gitFiles";
10440
10503
  memory: "memory";
10504
+ environment: "environment";
10441
10505
  sessionTime: "sessionTime";
10442
10506
  promptCache: "promptCache";
10443
10507
  compactions: "compactions";
@@ -10496,10 +10560,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10496
10560
  hidden: "hidden";
10497
10561
  }>>;
10498
10562
  value: zod.ZodOptional<zod.ZodEnum<{
10499
- remaining: "remaining";
10500
10563
  tokens: "tokens";
10501
10564
  both: "both";
10502
10565
  percent: "percent";
10566
+ remaining: "remaining";
10503
10567
  }>>;
10504
10568
  estimate: zod.ZodOptional<zod.ZodEnum<{
10505
10569
  never: "never";
@@ -10541,8 +10605,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10541
10605
  }, zod_v4_core.$strict>>;
10542
10606
  usage: zod.ZodOptional<zod.ZodObject<{
10543
10607
  value: zod.ZodOptional<zod.ZodEnum<{
10544
- used: "used";
10545
10608
  remaining: "remaining";
10609
+ used: "used";
10546
10610
  }>>;
10547
10611
  bar: zod.ZodOptional<zod.ZodBoolean>;
10548
10612
  compact: zod.ZodOptional<zod.ZodBoolean>;
@@ -10900,6 +10964,53 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10900
10964
  }, zod_v4_core.$strict>>;
10901
10965
  }, zod_v4_core.$strict>>;
10902
10966
  }, zod_v4_core.$strict>>;
10967
+ models: zod.ZodOptional<zod.ZodObject<{
10968
+ pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
10969
+ virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
10970
+ mode: zod.ZodEnum<{
10971
+ ordered: "ordered";
10972
+ "most-allowance": "most-allowance";
10973
+ "soonest-reset": "soonest-reset";
10974
+ spread: "spread";
10975
+ adaptive: "adaptive";
10976
+ "lowest-latency": "lowest-latency";
10977
+ "highest-success": "highest-success";
10978
+ cheapest: "cheapest";
10979
+ }>;
10980
+ members: zod.ZodArray<zod.ZodString>;
10981
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
10982
+ tiers: zod.ZodOptional<zod.ZodObject<{
10983
+ fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
10984
+ opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
10985
+ sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
10986
+ haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
10987
+ }, zod_v4_core.$strict>>;
10988
+ prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
10989
+ input: zod.ZodNumber;
10990
+ output: zod.ZodNumber;
10991
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
10992
+ hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
10993
+ show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
10994
+ same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
10995
+ distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
10996
+ families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
10997
+ names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
10998
+ mode: zod.ZodOptional<zod.ZodEnum<{
10999
+ ordered: "ordered";
11000
+ "most-allowance": "most-allowance";
11001
+ "soonest-reset": "soonest-reset";
11002
+ spread: "spread";
11003
+ adaptive: "adaptive";
11004
+ "lowest-latency": "lowest-latency";
11005
+ "highest-success": "highest-success";
11006
+ cheapest: "cheapest";
11007
+ }>>;
11008
+ context: zod.ZodOptional<zod.ZodNumber>;
11009
+ vision: zod.ZodOptional<zod.ZodBoolean>;
11010
+ tools: zod.ZodOptional<zod.ZodBoolean>;
11011
+ thinking: zod.ZodOptional<zod.ZodBoolean>;
11012
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
11013
+ }, zod_v4_core.$strict>>;
10903
11014
  }, zod_v4_core.$strict>;
10904
11015
  }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
10905
11016
  set: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
@@ -11005,53 +11116,6 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11005
11116
  }, zod_v4_core.$strip>], "kind">]>;
11006
11117
  }, zod_v4_core.$strict>]>>>;
11007
11118
  description: zod.ZodOptional<zod.ZodString>;
11008
- models: zod.ZodOptional<zod.ZodObject<{
11009
- pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
11010
- virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
11011
- mode: zod.ZodEnum<{
11012
- ordered: "ordered";
11013
- "most-allowance": "most-allowance";
11014
- "soonest-reset": "soonest-reset";
11015
- spread: "spread";
11016
- adaptive: "adaptive";
11017
- "lowest-latency": "lowest-latency";
11018
- "highest-success": "highest-success";
11019
- cheapest: "cheapest";
11020
- }>;
11021
- members: zod.ZodArray<zod.ZodString>;
11022
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
11023
- tiers: zod.ZodOptional<zod.ZodObject<{
11024
- fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
11025
- opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
11026
- sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
11027
- haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
11028
- }, zod_v4_core.$strict>>;
11029
- prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
11030
- input: zod.ZodNumber;
11031
- output: zod.ZodNumber;
11032
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
11033
- hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
11034
- show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
11035
- same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
11036
- distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
11037
- families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
11038
- names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
11039
- mode: zod.ZodOptional<zod.ZodEnum<{
11040
- ordered: "ordered";
11041
- "most-allowance": "most-allowance";
11042
- "soonest-reset": "soonest-reset";
11043
- spread: "spread";
11044
- adaptive: "adaptive";
11045
- "lowest-latency": "lowest-latency";
11046
- "highest-success": "highest-success";
11047
- cheapest: "cheapest";
11048
- }>>;
11049
- context: zod.ZodOptional<zod.ZodNumber>;
11050
- vision: zod.ZodOptional<zod.ZodBoolean>;
11051
- tools: zod.ZodOptional<zod.ZodBoolean>;
11052
- thinking: zod.ZodOptional<zod.ZodBoolean>;
11053
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
11054
- }, zod_v4_core.$strict>>;
11055
11119
  extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
11056
11120
  categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
11057
11121
  all: zod.ZodOptional<zod.ZodBoolean>;
@@ -11093,32 +11157,32 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11093
11157
  }>>;
11094
11158
  layout: zod.ZodOptional<zod.ZodObject<{
11095
11159
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
11160
+ identity: "identity";
11096
11161
  model: "model";
11097
11162
  account: "account";
11098
- identity: "identity";
11099
11163
  provider: "provider";
11100
- version: "version";
11101
11164
  headroom: "headroom";
11102
- duration: "duration";
11103
11165
  route: "route";
11104
11166
  project: "project";
11105
11167
  vcs: "vcs";
11106
11168
  effort: "effort";
11107
11169
  advisor: "advisor";
11170
+ version: "version";
11108
11171
  outputStyle: "outputStyle";
11109
11172
  cost: "cost";
11110
11173
  dailyCost: "dailyCost";
11111
11174
  sessionName: "sessionName";
11175
+ duration: "duration";
11112
11176
  speed: "speed";
11113
11177
  extra: "extra";
11114
11178
  }>>>;
11115
11179
  rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
11116
11180
  context: "context";
11117
11181
  quota: "quota";
11118
- environment: "environment";
11119
11182
  addedDirs: "addedDirs";
11120
11183
  gitFiles: "gitFiles";
11121
11184
  memory: "memory";
11185
+ environment: "environment";
11122
11186
  sessionTime: "sessionTime";
11123
11187
  promptCache: "promptCache";
11124
11188
  compactions: "compactions";
@@ -11141,10 +11205,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11141
11205
  merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
11142
11206
  context: "context";
11143
11207
  quota: "quota";
11144
- environment: "environment";
11145
11208
  addedDirs: "addedDirs";
11146
11209
  gitFiles: "gitFiles";
11147
11210
  memory: "memory";
11211
+ environment: "environment";
11148
11212
  sessionTime: "sessionTime";
11149
11213
  promptCache: "promptCache";
11150
11214
  compactions: "compactions";
@@ -11158,10 +11222,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11158
11222
  rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
11159
11223
  context: "context";
11160
11224
  quota: "quota";
11161
- environment: "environment";
11162
11225
  addedDirs: "addedDirs";
11163
11226
  gitFiles: "gitFiles";
11164
11227
  memory: "memory";
11228
+ environment: "environment";
11165
11229
  sessionTime: "sessionTime";
11166
11230
  promptCache: "promptCache";
11167
11231
  compactions: "compactions";
@@ -11220,10 +11284,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11220
11284
  hidden: "hidden";
11221
11285
  }>>;
11222
11286
  value: zod.ZodOptional<zod.ZodEnum<{
11223
- remaining: "remaining";
11224
11287
  tokens: "tokens";
11225
11288
  both: "both";
11226
11289
  percent: "percent";
11290
+ remaining: "remaining";
11227
11291
  }>>;
11228
11292
  estimate: zod.ZodOptional<zod.ZodEnum<{
11229
11293
  never: "never";
@@ -11265,8 +11329,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11265
11329
  }, zod_v4_core.$strict>>;
11266
11330
  usage: zod.ZodOptional<zod.ZodObject<{
11267
11331
  value: zod.ZodOptional<zod.ZodEnum<{
11268
- used: "used";
11269
11332
  remaining: "remaining";
11333
+ used: "used";
11270
11334
  }>>;
11271
11335
  bar: zod.ZodOptional<zod.ZodBoolean>;
11272
11336
  compact: zod.ZodOptional<zod.ZodBoolean>;
@@ -11624,6 +11688,53 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11624
11688
  }, zod_v4_core.$strict>>;
11625
11689
  }, zod_v4_core.$strict>>;
11626
11690
  }, zod_v4_core.$strict>>;
11691
+ models: zod.ZodOptional<zod.ZodObject<{
11692
+ pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
11693
+ virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
11694
+ mode: zod.ZodEnum<{
11695
+ ordered: "ordered";
11696
+ "most-allowance": "most-allowance";
11697
+ "soonest-reset": "soonest-reset";
11698
+ spread: "spread";
11699
+ adaptive: "adaptive";
11700
+ "lowest-latency": "lowest-latency";
11701
+ "highest-success": "highest-success";
11702
+ cheapest: "cheapest";
11703
+ }>;
11704
+ members: zod.ZodArray<zod.ZodString>;
11705
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
11706
+ tiers: zod.ZodOptional<zod.ZodObject<{
11707
+ fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
11708
+ opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
11709
+ sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
11710
+ haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
11711
+ }, zod_v4_core.$strict>>;
11712
+ prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
11713
+ input: zod.ZodNumber;
11714
+ output: zod.ZodNumber;
11715
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
11716
+ hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
11717
+ show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
11718
+ same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
11719
+ distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
11720
+ families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
11721
+ names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
11722
+ mode: zod.ZodOptional<zod.ZodEnum<{
11723
+ ordered: "ordered";
11724
+ "most-allowance": "most-allowance";
11725
+ "soonest-reset": "soonest-reset";
11726
+ spread: "spread";
11727
+ adaptive: "adaptive";
11728
+ "lowest-latency": "lowest-latency";
11729
+ "highest-success": "highest-success";
11730
+ cheapest: "cheapest";
11731
+ }>>;
11732
+ context: zod.ZodOptional<zod.ZodNumber>;
11733
+ vision: zod.ZodOptional<zod.ZodBoolean>;
11734
+ tools: zod.ZodOptional<zod.ZodBoolean>;
11735
+ thinking: zod.ZodOptional<zod.ZodBoolean>;
11736
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
11737
+ }, zod_v4_core.$strict>>;
11627
11738
  }, zod_v4_core.$strict>;
11628
11739
  }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
11629
11740
  remove: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
@@ -11861,8 +11972,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11861
11972
  add: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
11862
11973
  name: zod.ZodString;
11863
11974
  kind: zod.ZodOptional<zod.ZodEnum<{
11864
- codex: "codex";
11865
11975
  http: "http";
11976
+ codex: "codex";
11866
11977
  antigravity: "antigravity";
11867
11978
  router: "router";
11868
11979
  }>>;
@@ -11925,8 +12036,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11925
12036
  value: zod.ZodObject<{
11926
12037
  name: zod.ZodString;
11927
12038
  kind: zod.ZodEnum<{
11928
- codex: "codex";
11929
12039
  http: "http";
12040
+ codex: "codex";
11930
12041
  antigravity: "antigravity";
11931
12042
  router: "router";
11932
12043
  }>;
@@ -12048,8 +12159,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12048
12159
  value: zod.ZodObject<{
12049
12160
  name: zod.ZodString;
12050
12161
  kind: zod.ZodEnum<{
12051
- codex: "codex";
12052
12162
  http: "http";
12163
+ codex: "codex";
12053
12164
  antigravity: "antigravity";
12054
12165
  router: "router";
12055
12166
  }>;
@@ -12204,55 +12315,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12204
12315
  key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
12205
12316
  }, zod_v4_core.$strip>], "kind">]>;
12206
12317
  }, zod_v4_core.$strict>]>>>;
12207
- models: zod.ZodOptional<zod.ZodObject<{
12208
- pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
12209
- virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
12210
- mode: zod.ZodEnum<{
12211
- ordered: "ordered";
12212
- "most-allowance": "most-allowance";
12213
- "soonest-reset": "soonest-reset";
12214
- spread: "spread";
12215
- adaptive: "adaptive";
12216
- "lowest-latency": "lowest-latency";
12217
- "highest-success": "highest-success";
12218
- cheapest: "cheapest";
12219
- }>;
12220
- members: zod.ZodArray<zod.ZodString>;
12221
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
12222
- tiers: zod.ZodOptional<zod.ZodObject<{
12223
- fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
12224
- opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
12225
- sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
12226
- haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
12227
- }, zod_v4_core.$strict>>;
12228
- prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
12229
- input: zod.ZodNumber;
12230
- output: zod.ZodNumber;
12231
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
12232
- hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
12233
- show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
12234
- same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
12235
- distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
12236
- families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
12237
- names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
12238
- mode: zod.ZodOptional<zod.ZodEnum<{
12239
- ordered: "ordered";
12240
- "most-allowance": "most-allowance";
12241
- "soonest-reset": "soonest-reset";
12242
- spread: "spread";
12243
- adaptive: "adaptive";
12244
- "lowest-latency": "lowest-latency";
12245
- "highest-success": "highest-success";
12246
- cheapest: "cheapest";
12247
- }>>;
12248
- context: zod.ZodOptional<zod.ZodNumber>;
12249
- vision: zod.ZodOptional<zod.ZodBoolean>;
12250
- tools: zod.ZodOptional<zod.ZodBoolean>;
12251
- thinking: zod.ZodOptional<zod.ZodBoolean>;
12252
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
12253
- }, zod_v4_core.$strict>>;
12254
- $schema: zod.ZodOptional<zod.ZodString>;
12255
12318
  extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
12319
+ $schema: zod.ZodOptional<zod.ZodString>;
12256
12320
  categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
12257
12321
  all: zod.ZodOptional<zod.ZodBoolean>;
12258
12322
  runtime: zod.ZodOptional<zod.ZodBoolean>;
@@ -12293,32 +12357,32 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12293
12357
  }>>;
12294
12358
  layout: zod.ZodOptional<zod.ZodObject<{
12295
12359
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
12360
+ identity: "identity";
12296
12361
  model: "model";
12297
12362
  account: "account";
12298
- identity: "identity";
12299
12363
  provider: "provider";
12300
- version: "version";
12301
12364
  headroom: "headroom";
12302
- duration: "duration";
12303
12365
  route: "route";
12304
12366
  project: "project";
12305
12367
  vcs: "vcs";
12306
12368
  effort: "effort";
12307
12369
  advisor: "advisor";
12370
+ version: "version";
12308
12371
  outputStyle: "outputStyle";
12309
12372
  cost: "cost";
12310
12373
  dailyCost: "dailyCost";
12311
12374
  sessionName: "sessionName";
12375
+ duration: "duration";
12312
12376
  speed: "speed";
12313
12377
  extra: "extra";
12314
12378
  }>>>;
12315
12379
  rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
12316
12380
  context: "context";
12317
12381
  quota: "quota";
12318
- environment: "environment";
12319
12382
  addedDirs: "addedDirs";
12320
12383
  gitFiles: "gitFiles";
12321
12384
  memory: "memory";
12385
+ environment: "environment";
12322
12386
  sessionTime: "sessionTime";
12323
12387
  promptCache: "promptCache";
12324
12388
  compactions: "compactions";
@@ -12341,10 +12405,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12341
12405
  merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
12342
12406
  context: "context";
12343
12407
  quota: "quota";
12344
- environment: "environment";
12345
12408
  addedDirs: "addedDirs";
12346
12409
  gitFiles: "gitFiles";
12347
12410
  memory: "memory";
12411
+ environment: "environment";
12348
12412
  sessionTime: "sessionTime";
12349
12413
  promptCache: "promptCache";
12350
12414
  compactions: "compactions";
@@ -12358,10 +12422,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12358
12422
  rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
12359
12423
  context: "context";
12360
12424
  quota: "quota";
12361
- environment: "environment";
12362
12425
  addedDirs: "addedDirs";
12363
12426
  gitFiles: "gitFiles";
12364
12427
  memory: "memory";
12428
+ environment: "environment";
12365
12429
  sessionTime: "sessionTime";
12366
12430
  promptCache: "promptCache";
12367
12431
  compactions: "compactions";
@@ -12420,10 +12484,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12420
12484
  hidden: "hidden";
12421
12485
  }>>;
12422
12486
  value: zod.ZodOptional<zod.ZodEnum<{
12423
- remaining: "remaining";
12424
12487
  tokens: "tokens";
12425
12488
  both: "both";
12426
12489
  percent: "percent";
12490
+ remaining: "remaining";
12427
12491
  }>>;
12428
12492
  estimate: zod.ZodOptional<zod.ZodEnum<{
12429
12493
  never: "never";
@@ -12465,8 +12529,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12465
12529
  }, zod_v4_core.$strict>>;
12466
12530
  usage: zod.ZodOptional<zod.ZodObject<{
12467
12531
  value: zod.ZodOptional<zod.ZodEnum<{
12468
- used: "used";
12469
12532
  remaining: "remaining";
12533
+ used: "used";
12470
12534
  }>>;
12471
12535
  bar: zod.ZodOptional<zod.ZodBoolean>;
12472
12536
  compact: zod.ZodOptional<zod.ZodBoolean>;
@@ -12824,6 +12888,53 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12824
12888
  }, zod_v4_core.$strict>>;
12825
12889
  }, zod_v4_core.$strict>>;
12826
12890
  }, zod_v4_core.$strict>>;
12891
+ models: zod.ZodOptional<zod.ZodObject<{
12892
+ pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
12893
+ virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
12894
+ mode: zod.ZodEnum<{
12895
+ ordered: "ordered";
12896
+ "most-allowance": "most-allowance";
12897
+ "soonest-reset": "soonest-reset";
12898
+ spread: "spread";
12899
+ adaptive: "adaptive";
12900
+ "lowest-latency": "lowest-latency";
12901
+ "highest-success": "highest-success";
12902
+ cheapest: "cheapest";
12903
+ }>;
12904
+ members: zod.ZodArray<zod.ZodString>;
12905
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
12906
+ tiers: zod.ZodOptional<zod.ZodObject<{
12907
+ fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
12908
+ opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
12909
+ sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
12910
+ haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
12911
+ }, zod_v4_core.$strict>>;
12912
+ prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
12913
+ input: zod.ZodNumber;
12914
+ output: zod.ZodNumber;
12915
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
12916
+ hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
12917
+ show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
12918
+ same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
12919
+ distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
12920
+ families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
12921
+ names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
12922
+ mode: zod.ZodOptional<zod.ZodEnum<{
12923
+ ordered: "ordered";
12924
+ "most-allowance": "most-allowance";
12925
+ "soonest-reset": "soonest-reset";
12926
+ spread: "spread";
12927
+ adaptive: "adaptive";
12928
+ "lowest-latency": "lowest-latency";
12929
+ "highest-success": "highest-success";
12930
+ cheapest: "cheapest";
12931
+ }>>;
12932
+ context: zod.ZodOptional<zod.ZodNumber>;
12933
+ vision: zod.ZodOptional<zod.ZodBoolean>;
12934
+ tools: zod.ZodOptional<zod.ZodBoolean>;
12935
+ thinking: zod.ZodOptional<zod.ZodBoolean>;
12936
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
12937
+ }, zod_v4_core.$strict>>;
12827
12938
  path: zod.ZodString;
12828
12939
  configProfile: zod.ZodOptional<zod.ZodString>;
12829
12940
  identity: zod.ZodOptional<zod.ZodString>;
@@ -12985,55 +13096,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12985
13096
  key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
12986
13097
  }, zod_v4_core.$strip>], "kind">]>;
12987
13098
  }, zod_v4_core.$strict>]>>>;
12988
- models: zod.ZodOptional<zod.ZodObject<{
12989
- pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
12990
- virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
12991
- mode: zod.ZodEnum<{
12992
- ordered: "ordered";
12993
- "most-allowance": "most-allowance";
12994
- "soonest-reset": "soonest-reset";
12995
- spread: "spread";
12996
- adaptive: "adaptive";
12997
- "lowest-latency": "lowest-latency";
12998
- "highest-success": "highest-success";
12999
- cheapest: "cheapest";
13000
- }>;
13001
- members: zod.ZodArray<zod.ZodString>;
13002
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
13003
- tiers: zod.ZodOptional<zod.ZodObject<{
13004
- fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
13005
- opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
13006
- sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
13007
- haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
13008
- }, zod_v4_core.$strict>>;
13009
- prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
13010
- input: zod.ZodNumber;
13011
- output: zod.ZodNumber;
13012
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
13013
- hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
13014
- show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
13015
- same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
13016
- distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
13017
- families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
13018
- names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
13019
- mode: zod.ZodOptional<zod.ZodEnum<{
13020
- ordered: "ordered";
13021
- "most-allowance": "most-allowance";
13022
- "soonest-reset": "soonest-reset";
13023
- spread: "spread";
13024
- adaptive: "adaptive";
13025
- "lowest-latency": "lowest-latency";
13026
- "highest-success": "highest-success";
13027
- cheapest: "cheapest";
13028
- }>>;
13029
- context: zod.ZodOptional<zod.ZodNumber>;
13030
- vision: zod.ZodOptional<zod.ZodBoolean>;
13031
- tools: zod.ZodOptional<zod.ZodBoolean>;
13032
- thinking: zod.ZodOptional<zod.ZodBoolean>;
13033
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
13034
- }, zod_v4_core.$strict>>;
13035
- $schema: zod.ZodOptional<zod.ZodString>;
13036
13099
  extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
13100
+ $schema: zod.ZodOptional<zod.ZodString>;
13037
13101
  categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
13038
13102
  all: zod.ZodOptional<zod.ZodBoolean>;
13039
13103
  runtime: zod.ZodOptional<zod.ZodBoolean>;
@@ -13074,32 +13138,32 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
13074
13138
  }>>;
13075
13139
  layout: zod.ZodOptional<zod.ZodObject<{
13076
13140
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
13141
+ identity: "identity";
13077
13142
  model: "model";
13078
13143
  account: "account";
13079
- identity: "identity";
13080
13144
  provider: "provider";
13081
- version: "version";
13082
13145
  headroom: "headroom";
13083
- duration: "duration";
13084
13146
  route: "route";
13085
13147
  project: "project";
13086
13148
  vcs: "vcs";
13087
13149
  effort: "effort";
13088
13150
  advisor: "advisor";
13151
+ version: "version";
13089
13152
  outputStyle: "outputStyle";
13090
13153
  cost: "cost";
13091
13154
  dailyCost: "dailyCost";
13092
13155
  sessionName: "sessionName";
13156
+ duration: "duration";
13093
13157
  speed: "speed";
13094
13158
  extra: "extra";
13095
13159
  }>>>;
13096
13160
  rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
13097
13161
  context: "context";
13098
13162
  quota: "quota";
13099
- environment: "environment";
13100
13163
  addedDirs: "addedDirs";
13101
13164
  gitFiles: "gitFiles";
13102
13165
  memory: "memory";
13166
+ environment: "environment";
13103
13167
  sessionTime: "sessionTime";
13104
13168
  promptCache: "promptCache";
13105
13169
  compactions: "compactions";
@@ -13122,10 +13186,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
13122
13186
  merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
13123
13187
  context: "context";
13124
13188
  quota: "quota";
13125
- environment: "environment";
13126
13189
  addedDirs: "addedDirs";
13127
13190
  gitFiles: "gitFiles";
13128
13191
  memory: "memory";
13192
+ environment: "environment";
13129
13193
  sessionTime: "sessionTime";
13130
13194
  promptCache: "promptCache";
13131
13195
  compactions: "compactions";
@@ -13139,10 +13203,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
13139
13203
  rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
13140
13204
  context: "context";
13141
13205
  quota: "quota";
13142
- environment: "environment";
13143
13206
  addedDirs: "addedDirs";
13144
13207
  gitFiles: "gitFiles";
13145
13208
  memory: "memory";
13209
+ environment: "environment";
13146
13210
  sessionTime: "sessionTime";
13147
13211
  promptCache: "promptCache";
13148
13212
  compactions: "compactions";
@@ -13201,10 +13265,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
13201
13265
  hidden: "hidden";
13202
13266
  }>>;
13203
13267
  value: zod.ZodOptional<zod.ZodEnum<{
13204
- remaining: "remaining";
13205
13268
  tokens: "tokens";
13206
13269
  both: "both";
13207
13270
  percent: "percent";
13271
+ remaining: "remaining";
13208
13272
  }>>;
13209
13273
  estimate: zod.ZodOptional<zod.ZodEnum<{
13210
13274
  never: "never";
@@ -13246,8 +13310,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
13246
13310
  }, zod_v4_core.$strict>>;
13247
13311
  usage: zod.ZodOptional<zod.ZodObject<{
13248
13312
  value: zod.ZodOptional<zod.ZodEnum<{
13249
- used: "used";
13250
13313
  remaining: "remaining";
13314
+ used: "used";
13251
13315
  }>>;
13252
13316
  bar: zod.ZodOptional<zod.ZodBoolean>;
13253
13317
  compact: zod.ZodOptional<zod.ZodBoolean>;
@@ -13605,6 +13669,53 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
13605
13669
  }, zod_v4_core.$strict>>;
13606
13670
  }, zod_v4_core.$strict>>;
13607
13671
  }, zod_v4_core.$strict>>;
13672
+ models: zod.ZodOptional<zod.ZodObject<{
13673
+ pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
13674
+ virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
13675
+ mode: zod.ZodEnum<{
13676
+ ordered: "ordered";
13677
+ "most-allowance": "most-allowance";
13678
+ "soonest-reset": "soonest-reset";
13679
+ spread: "spread";
13680
+ adaptive: "adaptive";
13681
+ "lowest-latency": "lowest-latency";
13682
+ "highest-success": "highest-success";
13683
+ cheapest: "cheapest";
13684
+ }>;
13685
+ members: zod.ZodArray<zod.ZodString>;
13686
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
13687
+ tiers: zod.ZodOptional<zod.ZodObject<{
13688
+ fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
13689
+ opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
13690
+ sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
13691
+ haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
13692
+ }, zod_v4_core.$strict>>;
13693
+ prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
13694
+ input: zod.ZodNumber;
13695
+ output: zod.ZodNumber;
13696
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
13697
+ hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
13698
+ show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
13699
+ same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
13700
+ distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
13701
+ families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
13702
+ names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
13703
+ mode: zod.ZodOptional<zod.ZodEnum<{
13704
+ ordered: "ordered";
13705
+ "most-allowance": "most-allowance";
13706
+ "soonest-reset": "soonest-reset";
13707
+ spread: "spread";
13708
+ adaptive: "adaptive";
13709
+ "lowest-latency": "lowest-latency";
13710
+ "highest-success": "highest-success";
13711
+ cheapest: "cheapest";
13712
+ }>>;
13713
+ context: zod.ZodOptional<zod.ZodNumber>;
13714
+ vision: zod.ZodOptional<zod.ZodBoolean>;
13715
+ tools: zod.ZodOptional<zod.ZodBoolean>;
13716
+ thinking: zod.ZodOptional<zod.ZodBoolean>;
13717
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
13718
+ }, zod_v4_core.$strict>>;
13608
13719
  path: zod.ZodString;
13609
13720
  configProfile: zod.ZodOptional<zod.ZodString>;
13610
13721
  identity: zod.ZodOptional<zod.ZodString>;
@@ -14009,9 +14120,9 @@ declare function createLifecycleApiRouter(deps: LifecycleApiDeps): {
14009
14120
  current: z.ZodString;
14010
14121
  latest: z.ZodString;
14011
14122
  action: z.ZodEnum<{
14123
+ updated: "updated";
14012
14124
  current: "current";
14013
14125
  available: "available";
14014
- updated: "updated";
14015
14126
  }>;
14016
14127
  }, z.core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
14017
14128
  };
@@ -14047,32 +14158,32 @@ declare const StatuslineSchema: z.ZodObject<{
14047
14158
  }>>;
14048
14159
  layout: z.ZodOptional<z.ZodObject<{
14049
14160
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
14161
+ identity: "identity";
14050
14162
  model: "model";
14051
14163
  account: "account";
14052
- identity: "identity";
14053
14164
  provider: "provider";
14054
- version: "version";
14055
14165
  headroom: "headroom";
14056
- duration: "duration";
14057
14166
  route: "route";
14058
14167
  project: "project";
14059
14168
  vcs: "vcs";
14060
14169
  effort: "effort";
14061
14170
  advisor: "advisor";
14171
+ version: "version";
14062
14172
  outputStyle: "outputStyle";
14063
14173
  cost: "cost";
14064
14174
  dailyCost: "dailyCost";
14065
14175
  sessionName: "sessionName";
14176
+ duration: "duration";
14066
14177
  speed: "speed";
14067
14178
  extra: "extra";
14068
14179
  }>>>;
14069
14180
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
14070
14181
  context: "context";
14071
14182
  quota: "quota";
14072
- environment: "environment";
14073
14183
  addedDirs: "addedDirs";
14074
14184
  gitFiles: "gitFiles";
14075
14185
  memory: "memory";
14186
+ environment: "environment";
14076
14187
  sessionTime: "sessionTime";
14077
14188
  promptCache: "promptCache";
14078
14189
  compactions: "compactions";
@@ -14095,10 +14206,10 @@ declare const StatuslineSchema: z.ZodObject<{
14095
14206
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
14096
14207
  context: "context";
14097
14208
  quota: "quota";
14098
- environment: "environment";
14099
14209
  addedDirs: "addedDirs";
14100
14210
  gitFiles: "gitFiles";
14101
14211
  memory: "memory";
14212
+ environment: "environment";
14102
14213
  sessionTime: "sessionTime";
14103
14214
  promptCache: "promptCache";
14104
14215
  compactions: "compactions";
@@ -14112,10 +14223,10 @@ declare const StatuslineSchema: z.ZodObject<{
14112
14223
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
14113
14224
  context: "context";
14114
14225
  quota: "quota";
14115
- environment: "environment";
14116
14226
  addedDirs: "addedDirs";
14117
14227
  gitFiles: "gitFiles";
14118
14228
  memory: "memory";
14229
+ environment: "environment";
14119
14230
  sessionTime: "sessionTime";
14120
14231
  promptCache: "promptCache";
14121
14232
  compactions: "compactions";
@@ -14174,10 +14285,10 @@ declare const StatuslineSchema: z.ZodObject<{
14174
14285
  hidden: "hidden";
14175
14286
  }>>;
14176
14287
  value: z.ZodOptional<z.ZodEnum<{
14177
- remaining: "remaining";
14178
14288
  tokens: "tokens";
14179
14289
  both: "both";
14180
14290
  percent: "percent";
14291
+ remaining: "remaining";
14181
14292
  }>>;
14182
14293
  estimate: z.ZodOptional<z.ZodEnum<{
14183
14294
  never: "never";
@@ -14219,8 +14330,8 @@ declare const StatuslineSchema: z.ZodObject<{
14219
14330
  }, z.core.$strict>>;
14220
14331
  usage: z.ZodOptional<z.ZodObject<{
14221
14332
  value: z.ZodOptional<z.ZodEnum<{
14222
- used: "used";
14223
14333
  remaining: "remaining";
14334
+ used: "used";
14224
14335
  }>>;
14225
14336
  bar: z.ZodOptional<z.ZodBoolean>;
14226
14337
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -14862,12 +14973,12 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
14862
14973
  identity: zod.ZodOptional<zod.ZodString>;
14863
14974
  identityId: zod.ZodOptional<zod.ZodString>;
14864
14975
  identitySource: zod.ZodEnum<{
14976
+ env: "env";
14977
+ none: "none";
14865
14978
  "config-dir-escape-hatch": "config-dir-escape-hatch";
14866
14979
  argv: "argv";
14867
- env: "env";
14868
14980
  "directory-pin": "directory-pin";
14869
14981
  "active-identity-file": "active-identity-file";
14870
- none: "none";
14871
14982
  }>;
14872
14983
  pool: zod.ZodOptional<zod.ZodObject<{
14873
14984
  name: zod.ZodString;
@@ -14915,32 +15026,32 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
14915
15026
  }>>;
14916
15027
  layout: zod.ZodOptional<zod.ZodObject<{
14917
15028
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
15029
+ identity: "identity";
14918
15030
  model: "model";
14919
15031
  account: "account";
14920
- identity: "identity";
14921
15032
  provider: "provider";
14922
- version: "version";
14923
15033
  headroom: "headroom";
14924
- duration: "duration";
14925
15034
  route: "route";
14926
15035
  project: "project";
14927
15036
  vcs: "vcs";
14928
15037
  effort: "effort";
14929
15038
  advisor: "advisor";
15039
+ version: "version";
14930
15040
  outputStyle: "outputStyle";
14931
15041
  cost: "cost";
14932
15042
  dailyCost: "dailyCost";
14933
15043
  sessionName: "sessionName";
15044
+ duration: "duration";
14934
15045
  speed: "speed";
14935
15046
  extra: "extra";
14936
15047
  }>>>;
14937
15048
  rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
14938
15049
  context: "context";
14939
15050
  quota: "quota";
14940
- environment: "environment";
14941
15051
  addedDirs: "addedDirs";
14942
15052
  gitFiles: "gitFiles";
14943
15053
  memory: "memory";
15054
+ environment: "environment";
14944
15055
  sessionTime: "sessionTime";
14945
15056
  promptCache: "promptCache";
14946
15057
  compactions: "compactions";
@@ -14963,10 +15074,10 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
14963
15074
  merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
14964
15075
  context: "context";
14965
15076
  quota: "quota";
14966
- environment: "environment";
14967
15077
  addedDirs: "addedDirs";
14968
15078
  gitFiles: "gitFiles";
14969
15079
  memory: "memory";
15080
+ environment: "environment";
14970
15081
  sessionTime: "sessionTime";
14971
15082
  promptCache: "promptCache";
14972
15083
  compactions: "compactions";
@@ -14980,10 +15091,10 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
14980
15091
  rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
14981
15092
  context: "context";
14982
15093
  quota: "quota";
14983
- environment: "environment";
14984
15094
  addedDirs: "addedDirs";
14985
15095
  gitFiles: "gitFiles";
14986
15096
  memory: "memory";
15097
+ environment: "environment";
14987
15098
  sessionTime: "sessionTime";
14988
15099
  promptCache: "promptCache";
14989
15100
  compactions: "compactions";
@@ -15042,10 +15153,10 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
15042
15153
  hidden: "hidden";
15043
15154
  }>>;
15044
15155
  value: zod.ZodOptional<zod.ZodEnum<{
15045
- remaining: "remaining";
15046
15156
  tokens: "tokens";
15047
15157
  both: "both";
15048
15158
  percent: "percent";
15159
+ remaining: "remaining";
15049
15160
  }>>;
15050
15161
  estimate: zod.ZodOptional<zod.ZodEnum<{
15051
15162
  never: "never";
@@ -15087,8 +15198,8 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
15087
15198
  }, zod_v4_core.$strict>>;
15088
15199
  usage: zod.ZodOptional<zod.ZodObject<{
15089
15200
  value: zod.ZodOptional<zod.ZodEnum<{
15090
- used: "used";
15091
15201
  remaining: "remaining";
15202
+ used: "used";
15092
15203
  }>>;
15093
15204
  bar: zod.ZodOptional<zod.ZodBoolean>;
15094
15205
  compact: zod.ZodOptional<zod.ZodBoolean>;
@@ -15449,8 +15560,8 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
15449
15560
  claudeVersion: zod.ZodOptional<zod.ZodObject<{
15450
15561
  version: zod.ZodString;
15451
15562
  source: zod.ZodEnum<{
15452
- flag: "flag";
15453
15563
  environment: "environment";
15564
+ flag: "flag";
15454
15565
  cascade: "cascade";
15455
15566
  }>;
15456
15567
  }, zod_v4_core.$strict>>;
@@ -15508,42 +15619,6 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
15508
15619
  /** The launch router, as the merged mount's and the client's own types are derived from it. */
15509
15620
  type LaunchApiRouter = ReturnType<typeof createLaunchApiRouter>;
15510
15621
 
15511
- /**
15512
- * The agent tree reader: pure over an injected filesystem, so the CLI, the library surface and tests read the same way, and nothing here writes. The layout it reads is documented in `docs/agent-transcripts.md`.
15513
- */
15514
- /** The filesystem reads the agent tree reader needs. */
15515
- type AgentReadFs = Pick<FarmFs, "readFileUtf8" | "readdir" | "lstat">;
15516
- /** One session found under a project: its directory name split into the session id and whether the entry is an archived copy (superseded by a resume, or orphaned) rather than the live session. */
15517
- interface SessionRef {
15518
- readonly project: string;
15519
- readonly sessionId: string;
15520
- readonly superseded: boolean;
15521
- /** The directory (and transcript stem) name exactly as on disk, which differs from `sessionId` for an archived copy. */
15522
- readonly entry: string;
15523
- }
15524
- /** Lists every session under every project: a transcript file, or a directory holding agents or workflow runs. Sorted by project then entry so output is stable. */
15525
- declare function listSessions(fs: AgentReadFs, configDir: string): readonly SessionRef[];
15526
- /** One session in a listing: the cheap facts read from directory listings and one stat, without parsing any agent. */
15527
- interface SessionSummary extends SessionRef {
15528
- /** How many agent meta files the session has, across its top-level agents and every workflow run. */
15529
- readonly agentCount: number;
15530
- /** How many workflow run records the session has. */
15531
- readonly workflowRunCount: number;
15532
- /** When the session's transcript was last written, as an ISO instant; absent when there is no transcript file. */
15533
- readonly updatedAt?: string;
15534
- }
15535
- /** What a caller knows about a session that the disk does not record. */
15536
- interface ReadSessionOptions {
15537
- /** Task lists the session was pointed at with `CLAUDE_CODE_TASK_LIST_ID`, which is a property of the process environment and is written nowhere in the session's files. Each is read from `tasks/<id>` and its tasks carry the id as `taskList`. */
15538
- readonly taskListIds?: readonly string[];
15539
- }
15540
- /** Summarises one session without reading any agent file: listings and one stat only, so it is cheap over every session an identity has. */
15541
- declare function summariseSession(fs: AgentReadFs, configDir: string, ref: Readonly<SessionRef>): SessionSummary;
15542
- /**
15543
- * Reads one session's agents, task list and workflow runs. Every file that cannot be used is listed in `problems` with the reason; a missing directory is simply an empty section, because a session that never spawned an agent has none.
15544
- */
15545
- declare function readSessionAgentTree(fs: AgentReadFs, configDir: string, ref: SessionRef, options?: Readonly<ReadSessionOptions>): SessionAgentTree;
15546
-
15547
15622
  /**
15548
15623
  * A session's agents as a typed oRPC API: the sessions that spawned agents or ran workflows, and one session's agent tree, task list and workflow runs, read from the transcripts on disk. The same data `agent-shim session list` and `session show` print, so a consumer that is not the CLI (an MCP client, the library) asks the door for it.
15549
15624
  */
@@ -16106,12 +16181,12 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
16106
16181
  identity: zod.ZodObject<{
16107
16182
  name: zod.ZodNullable<zod.ZodString>;
16108
16183
  source: zod.ZodEnum<{
16184
+ env: "env";
16185
+ none: "none";
16109
16186
  "config-dir-escape-hatch": "config-dir-escape-hatch";
16110
16187
  argv: "argv";
16111
- env: "env";
16112
16188
  "directory-pin": "directory-pin";
16113
16189
  "active-identity-file": "active-identity-file";
16114
- none: "none";
16115
16190
  }>;
16116
16191
  }, zod_v4_core.$strict>;
16117
16192
  pool: zod.ZodOptional<zod.ZodObject<{
@@ -16189,11 +16264,11 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
16189
16264
  "category-default": "category-default";
16190
16265
  }>;
16191
16266
  category: zod.ZodNullable<zod.ZodEnum<{
16192
- secret: "secret";
16193
16267
  runtime: "runtime";
16194
16268
  history: "history";
16195
16269
  knowledge: "knowledge";
16196
16270
  settings: "settings";
16271
+ secret: "secret";
16197
16272
  }>>;
16198
16273
  rule: zod.ZodOptional<zod.ZodObject<{
16199
16274
  key: zod.ZodString;
@@ -16393,8 +16468,8 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
16393
16468
  pinned: zod.ZodOptional<zod.ZodObject<{
16394
16469
  version: zod.ZodString;
16395
16470
  source: zod.ZodEnum<{
16396
- flag: "flag";
16397
16471
  environment: "environment";
16472
+ flag: "flag";
16398
16473
  cascade: "cascade";
16399
16474
  }>;
16400
16475
  installed: zod.ZodBoolean;
@@ -16412,10 +16487,12 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
16412
16487
  "global-config": "global-config";
16413
16488
  "config-profile": "config-profile";
16414
16489
  identity: "identity";
16490
+ keychain: "keychain";
16415
16491
  provider: "provider";
16416
- frontdoor: "frontdoor";
16492
+ headroom: "headroom";
16493
+ models: "models";
16417
16494
  pool: "pool";
16418
- keychain: "keychain";
16495
+ frontdoor: "frontdoor";
16419
16496
  "ambient-credential": "ambient-credential";
16420
16497
  "binary-discovery": "binary-discovery";
16421
16498
  "claude-shim": "claude-shim";
@@ -16425,8 +16502,6 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
16425
16502
  "directory-rules": "directory-rules";
16426
16503
  "categories-local": "categories-local";
16427
16504
  "active-identity": "active-identity";
16428
- headroom: "headroom";
16429
- models: "models";
16430
16505
  }>;
16431
16506
  subject: zod.ZodOptional<zod.ZodString>;
16432
16507
  severity: zod.ZodEnum<{
@@ -16624,12 +16699,12 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
16624
16699
  identity: zod.ZodOptional<zod.ZodString>;
16625
16700
  identityId: zod.ZodOptional<zod.ZodString>;
16626
16701
  identitySource: zod.ZodEnum<{
16702
+ env: "env";
16703
+ none: "none";
16627
16704
  "config-dir-escape-hatch": "config-dir-escape-hatch";
16628
16705
  argv: "argv";
16629
- env: "env";
16630
16706
  "directory-pin": "directory-pin";
16631
16707
  "active-identity-file": "active-identity-file";
16632
- none: "none";
16633
16708
  }>;
16634
16709
  pool: zod.ZodOptional<zod.ZodObject<{
16635
16710
  name: zod.ZodString;
@@ -16677,32 +16752,32 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
16677
16752
  }>>;
16678
16753
  layout: zod.ZodOptional<zod.ZodObject<{
16679
16754
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
16755
+ identity: "identity";
16680
16756
  model: "model";
16681
16757
  account: "account";
16682
- identity: "identity";
16683
16758
  provider: "provider";
16684
- version: "version";
16685
16759
  headroom: "headroom";
16686
- duration: "duration";
16687
16760
  route: "route";
16688
16761
  project: "project";
16689
16762
  vcs: "vcs";
16690
16763
  effort: "effort";
16691
16764
  advisor: "advisor";
16765
+ version: "version";
16692
16766
  outputStyle: "outputStyle";
16693
16767
  cost: "cost";
16694
16768
  dailyCost: "dailyCost";
16695
16769
  sessionName: "sessionName";
16770
+ duration: "duration";
16696
16771
  speed: "speed";
16697
16772
  extra: "extra";
16698
16773
  }>>>;
16699
16774
  rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
16700
16775
  context: "context";
16701
16776
  quota: "quota";
16702
- environment: "environment";
16703
16777
  addedDirs: "addedDirs";
16704
16778
  gitFiles: "gitFiles";
16705
16779
  memory: "memory";
16780
+ environment: "environment";
16706
16781
  sessionTime: "sessionTime";
16707
16782
  promptCache: "promptCache";
16708
16783
  compactions: "compactions";
@@ -16725,10 +16800,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
16725
16800
  merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
16726
16801
  context: "context";
16727
16802
  quota: "quota";
16728
- environment: "environment";
16729
16803
  addedDirs: "addedDirs";
16730
16804
  gitFiles: "gitFiles";
16731
16805
  memory: "memory";
16806
+ environment: "environment";
16732
16807
  sessionTime: "sessionTime";
16733
16808
  promptCache: "promptCache";
16734
16809
  compactions: "compactions";
@@ -16742,10 +16817,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
16742
16817
  rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
16743
16818
  context: "context";
16744
16819
  quota: "quota";
16745
- environment: "environment";
16746
16820
  addedDirs: "addedDirs";
16747
16821
  gitFiles: "gitFiles";
16748
16822
  memory: "memory";
16823
+ environment: "environment";
16749
16824
  sessionTime: "sessionTime";
16750
16825
  promptCache: "promptCache";
16751
16826
  compactions: "compactions";
@@ -16804,10 +16879,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
16804
16879
  hidden: "hidden";
16805
16880
  }>>;
16806
16881
  value: zod.ZodOptional<zod.ZodEnum<{
16807
- remaining: "remaining";
16808
16882
  tokens: "tokens";
16809
16883
  both: "both";
16810
16884
  percent: "percent";
16885
+ remaining: "remaining";
16811
16886
  }>>;
16812
16887
  estimate: zod.ZodOptional<zod.ZodEnum<{
16813
16888
  never: "never";
@@ -16849,8 +16924,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
16849
16924
  }, zod_v4_core.$strict>>;
16850
16925
  usage: zod.ZodOptional<zod.ZodObject<{
16851
16926
  value: zod.ZodOptional<zod.ZodEnum<{
16852
- used: "used";
16853
16927
  remaining: "remaining";
16928
+ used: "used";
16854
16929
  }>>;
16855
16930
  bar: zod.ZodOptional<zod.ZodBoolean>;
16856
16931
  compact: zod.ZodOptional<zod.ZodBoolean>;
@@ -17211,8 +17286,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17211
17286
  claudeVersion: zod.ZodOptional<zod.ZodObject<{
17212
17287
  version: zod.ZodString;
17213
17288
  source: zod.ZodEnum<{
17214
- flag: "flag";
17215
17289
  environment: "environment";
17290
+ flag: "flag";
17216
17291
  cascade: "cascade";
17217
17292
  }>;
17218
17293
  }, zod_v4_core.$strict>>;
@@ -17560,53 +17635,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17560
17635
  }, zod_v4_core.$strip>], "kind">]>;
17561
17636
  }, zod_v4_core.$strict>]>>>;
17562
17637
  description: zod.ZodOptional<zod.ZodString>;
17563
- models: zod.ZodOptional<zod.ZodObject<{
17564
- pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
17565
- virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
17566
- mode: zod.ZodEnum<{
17567
- ordered: "ordered";
17568
- "most-allowance": "most-allowance";
17569
- "soonest-reset": "soonest-reset";
17570
- spread: "spread";
17571
- adaptive: "adaptive";
17572
- "lowest-latency": "lowest-latency";
17573
- "highest-success": "highest-success";
17574
- cheapest: "cheapest";
17575
- }>;
17576
- members: zod.ZodArray<zod.ZodString>;
17577
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
17578
- tiers: zod.ZodOptional<zod.ZodObject<{
17579
- fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
17580
- opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
17581
- sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
17582
- haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
17583
- }, zod_v4_core.$strict>>;
17584
- prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
17585
- input: zod.ZodNumber;
17586
- output: zod.ZodNumber;
17587
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
17588
- hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
17589
- show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
17590
- same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
17591
- distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
17592
- families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
17593
- names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
17594
- mode: zod.ZodOptional<zod.ZodEnum<{
17595
- ordered: "ordered";
17596
- "most-allowance": "most-allowance";
17597
- "soonest-reset": "soonest-reset";
17598
- spread: "spread";
17599
- adaptive: "adaptive";
17600
- "lowest-latency": "lowest-latency";
17601
- "highest-success": "highest-success";
17602
- cheapest: "cheapest";
17603
- }>>;
17604
- context: zod.ZodOptional<zod.ZodNumber>;
17605
- vision: zod.ZodOptional<zod.ZodBoolean>;
17606
- tools: zod.ZodOptional<zod.ZodBoolean>;
17607
- thinking: zod.ZodOptional<zod.ZodBoolean>;
17608
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
17609
- }, zod_v4_core.$strict>>;
17610
17638
  extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
17611
17639
  categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
17612
17640
  all: zod.ZodOptional<zod.ZodBoolean>;
@@ -17648,32 +17676,32 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17648
17676
  }>>;
17649
17677
  layout: zod.ZodOptional<zod.ZodObject<{
17650
17678
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
17679
+ identity: "identity";
17651
17680
  model: "model";
17652
17681
  account: "account";
17653
- identity: "identity";
17654
17682
  provider: "provider";
17655
- version: "version";
17656
17683
  headroom: "headroom";
17657
- duration: "duration";
17658
17684
  route: "route";
17659
17685
  project: "project";
17660
17686
  vcs: "vcs";
17661
17687
  effort: "effort";
17662
17688
  advisor: "advisor";
17689
+ version: "version";
17663
17690
  outputStyle: "outputStyle";
17664
17691
  cost: "cost";
17665
17692
  dailyCost: "dailyCost";
17666
17693
  sessionName: "sessionName";
17694
+ duration: "duration";
17667
17695
  speed: "speed";
17668
17696
  extra: "extra";
17669
17697
  }>>>;
17670
17698
  rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
17671
17699
  context: "context";
17672
17700
  quota: "quota";
17673
- environment: "environment";
17674
17701
  addedDirs: "addedDirs";
17675
17702
  gitFiles: "gitFiles";
17676
17703
  memory: "memory";
17704
+ environment: "environment";
17677
17705
  sessionTime: "sessionTime";
17678
17706
  promptCache: "promptCache";
17679
17707
  compactions: "compactions";
@@ -17696,10 +17724,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17696
17724
  merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
17697
17725
  context: "context";
17698
17726
  quota: "quota";
17699
- environment: "environment";
17700
17727
  addedDirs: "addedDirs";
17701
17728
  gitFiles: "gitFiles";
17702
17729
  memory: "memory";
17730
+ environment: "environment";
17703
17731
  sessionTime: "sessionTime";
17704
17732
  promptCache: "promptCache";
17705
17733
  compactions: "compactions";
@@ -17713,10 +17741,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17713
17741
  rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
17714
17742
  context: "context";
17715
17743
  quota: "quota";
17716
- environment: "environment";
17717
17744
  addedDirs: "addedDirs";
17718
17745
  gitFiles: "gitFiles";
17719
17746
  memory: "memory";
17747
+ environment: "environment";
17720
17748
  sessionTime: "sessionTime";
17721
17749
  promptCache: "promptCache";
17722
17750
  compactions: "compactions";
@@ -17775,10 +17803,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17775
17803
  hidden: "hidden";
17776
17804
  }>>;
17777
17805
  value: zod.ZodOptional<zod.ZodEnum<{
17778
- remaining: "remaining";
17779
17806
  tokens: "tokens";
17780
17807
  both: "both";
17781
17808
  percent: "percent";
17809
+ remaining: "remaining";
17782
17810
  }>>;
17783
17811
  estimate: zod.ZodOptional<zod.ZodEnum<{
17784
17812
  never: "never";
@@ -17820,8 +17848,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17820
17848
  }, zod_v4_core.$strict>>;
17821
17849
  usage: zod.ZodOptional<zod.ZodObject<{
17822
17850
  value: zod.ZodOptional<zod.ZodEnum<{
17823
- used: "used";
17824
17851
  remaining: "remaining";
17852
+ used: "used";
17825
17853
  }>>;
17826
17854
  bar: zod.ZodOptional<zod.ZodBoolean>;
17827
17855
  compact: zod.ZodOptional<zod.ZodBoolean>;
@@ -18179,12 +18207,59 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18179
18207
  }, zod_v4_core.$strict>>;
18180
18208
  }, zod_v4_core.$strict>>;
18181
18209
  }, zod_v4_core.$strict>>;
18182
- }, zod_v4_core.$strict>;
18183
- }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
18184
- set: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
18185
- name: zod.ZodString;
18186
- category: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodBoolean>>;
18187
- entry: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodBoolean>>;
18210
+ models: zod.ZodOptional<zod.ZodObject<{
18211
+ pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
18212
+ virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
18213
+ mode: zod.ZodEnum<{
18214
+ ordered: "ordered";
18215
+ "most-allowance": "most-allowance";
18216
+ "soonest-reset": "soonest-reset";
18217
+ spread: "spread";
18218
+ adaptive: "adaptive";
18219
+ "lowest-latency": "lowest-latency";
18220
+ "highest-success": "highest-success";
18221
+ cheapest: "cheapest";
18222
+ }>;
18223
+ members: zod.ZodArray<zod.ZodString>;
18224
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
18225
+ tiers: zod.ZodOptional<zod.ZodObject<{
18226
+ fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
18227
+ opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
18228
+ sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
18229
+ haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
18230
+ }, zod_v4_core.$strict>>;
18231
+ prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
18232
+ input: zod.ZodNumber;
18233
+ output: zod.ZodNumber;
18234
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
18235
+ hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
18236
+ show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
18237
+ same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
18238
+ distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
18239
+ families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
18240
+ names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
18241
+ mode: zod.ZodOptional<zod.ZodEnum<{
18242
+ ordered: "ordered";
18243
+ "most-allowance": "most-allowance";
18244
+ "soonest-reset": "soonest-reset";
18245
+ spread: "spread";
18246
+ adaptive: "adaptive";
18247
+ "lowest-latency": "lowest-latency";
18248
+ "highest-success": "highest-success";
18249
+ cheapest: "cheapest";
18250
+ }>>;
18251
+ context: zod.ZodOptional<zod.ZodNumber>;
18252
+ vision: zod.ZodOptional<zod.ZodBoolean>;
18253
+ tools: zod.ZodOptional<zod.ZodBoolean>;
18254
+ thinking: zod.ZodOptional<zod.ZodBoolean>;
18255
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
18256
+ }, zod_v4_core.$strict>>;
18257
+ }, zod_v4_core.$strict>;
18258
+ }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
18259
+ set: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
18260
+ name: zod.ZodString;
18261
+ category: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodBoolean>>;
18262
+ entry: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodBoolean>>;
18188
18263
  extends: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodArray<zod.ZodString>, zod.ZodLiteral<false>]>>;
18189
18264
  description: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodLiteral<false>]>>;
18190
18265
  launch: zod.ZodOptional<zod.ZodObject<{
@@ -18284,53 +18359,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18284
18359
  }, zod_v4_core.$strip>], "kind">]>;
18285
18360
  }, zod_v4_core.$strict>]>>>;
18286
18361
  description: zod.ZodOptional<zod.ZodString>;
18287
- models: zod.ZodOptional<zod.ZodObject<{
18288
- pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
18289
- virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
18290
- mode: zod.ZodEnum<{
18291
- ordered: "ordered";
18292
- "most-allowance": "most-allowance";
18293
- "soonest-reset": "soonest-reset";
18294
- spread: "spread";
18295
- adaptive: "adaptive";
18296
- "lowest-latency": "lowest-latency";
18297
- "highest-success": "highest-success";
18298
- cheapest: "cheapest";
18299
- }>;
18300
- members: zod.ZodArray<zod.ZodString>;
18301
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
18302
- tiers: zod.ZodOptional<zod.ZodObject<{
18303
- fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
18304
- opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
18305
- sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
18306
- haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
18307
- }, zod_v4_core.$strict>>;
18308
- prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
18309
- input: zod.ZodNumber;
18310
- output: zod.ZodNumber;
18311
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
18312
- hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
18313
- show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
18314
- same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
18315
- distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
18316
- families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
18317
- names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
18318
- mode: zod.ZodOptional<zod.ZodEnum<{
18319
- ordered: "ordered";
18320
- "most-allowance": "most-allowance";
18321
- "soonest-reset": "soonest-reset";
18322
- spread: "spread";
18323
- adaptive: "adaptive";
18324
- "lowest-latency": "lowest-latency";
18325
- "highest-success": "highest-success";
18326
- cheapest: "cheapest";
18327
- }>>;
18328
- context: zod.ZodOptional<zod.ZodNumber>;
18329
- vision: zod.ZodOptional<zod.ZodBoolean>;
18330
- tools: zod.ZodOptional<zod.ZodBoolean>;
18331
- thinking: zod.ZodOptional<zod.ZodBoolean>;
18332
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
18333
- }, zod_v4_core.$strict>>;
18334
18362
  extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
18335
18363
  categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
18336
18364
  all: zod.ZodOptional<zod.ZodBoolean>;
@@ -18372,32 +18400,32 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18372
18400
  }>>;
18373
18401
  layout: zod.ZodOptional<zod.ZodObject<{
18374
18402
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
18403
+ identity: "identity";
18375
18404
  model: "model";
18376
18405
  account: "account";
18377
- identity: "identity";
18378
18406
  provider: "provider";
18379
- version: "version";
18380
18407
  headroom: "headroom";
18381
- duration: "duration";
18382
18408
  route: "route";
18383
18409
  project: "project";
18384
18410
  vcs: "vcs";
18385
18411
  effort: "effort";
18386
18412
  advisor: "advisor";
18413
+ version: "version";
18387
18414
  outputStyle: "outputStyle";
18388
18415
  cost: "cost";
18389
18416
  dailyCost: "dailyCost";
18390
18417
  sessionName: "sessionName";
18418
+ duration: "duration";
18391
18419
  speed: "speed";
18392
18420
  extra: "extra";
18393
18421
  }>>>;
18394
18422
  rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
18395
18423
  context: "context";
18396
18424
  quota: "quota";
18397
- environment: "environment";
18398
18425
  addedDirs: "addedDirs";
18399
18426
  gitFiles: "gitFiles";
18400
18427
  memory: "memory";
18428
+ environment: "environment";
18401
18429
  sessionTime: "sessionTime";
18402
18430
  promptCache: "promptCache";
18403
18431
  compactions: "compactions";
@@ -18420,10 +18448,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18420
18448
  merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
18421
18449
  context: "context";
18422
18450
  quota: "quota";
18423
- environment: "environment";
18424
18451
  addedDirs: "addedDirs";
18425
18452
  gitFiles: "gitFiles";
18426
18453
  memory: "memory";
18454
+ environment: "environment";
18427
18455
  sessionTime: "sessionTime";
18428
18456
  promptCache: "promptCache";
18429
18457
  compactions: "compactions";
@@ -18437,10 +18465,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18437
18465
  rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
18438
18466
  context: "context";
18439
18467
  quota: "quota";
18440
- environment: "environment";
18441
18468
  addedDirs: "addedDirs";
18442
18469
  gitFiles: "gitFiles";
18443
18470
  memory: "memory";
18471
+ environment: "environment";
18444
18472
  sessionTime: "sessionTime";
18445
18473
  promptCache: "promptCache";
18446
18474
  compactions: "compactions";
@@ -18499,10 +18527,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18499
18527
  hidden: "hidden";
18500
18528
  }>>;
18501
18529
  value: zod.ZodOptional<zod.ZodEnum<{
18502
- remaining: "remaining";
18503
18530
  tokens: "tokens";
18504
18531
  both: "both";
18505
18532
  percent: "percent";
18533
+ remaining: "remaining";
18506
18534
  }>>;
18507
18535
  estimate: zod.ZodOptional<zod.ZodEnum<{
18508
18536
  never: "never";
@@ -18544,8 +18572,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18544
18572
  }, zod_v4_core.$strict>>;
18545
18573
  usage: zod.ZodOptional<zod.ZodObject<{
18546
18574
  value: zod.ZodOptional<zod.ZodEnum<{
18547
- used: "used";
18548
18575
  remaining: "remaining";
18576
+ used: "used";
18549
18577
  }>>;
18550
18578
  bar: zod.ZodOptional<zod.ZodBoolean>;
18551
18579
  compact: zod.ZodOptional<zod.ZodBoolean>;
@@ -18903,6 +18931,53 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18903
18931
  }, zod_v4_core.$strict>>;
18904
18932
  }, zod_v4_core.$strict>>;
18905
18933
  }, zod_v4_core.$strict>>;
18934
+ models: zod.ZodOptional<zod.ZodObject<{
18935
+ pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
18936
+ virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
18937
+ mode: zod.ZodEnum<{
18938
+ ordered: "ordered";
18939
+ "most-allowance": "most-allowance";
18940
+ "soonest-reset": "soonest-reset";
18941
+ spread: "spread";
18942
+ adaptive: "adaptive";
18943
+ "lowest-latency": "lowest-latency";
18944
+ "highest-success": "highest-success";
18945
+ cheapest: "cheapest";
18946
+ }>;
18947
+ members: zod.ZodArray<zod.ZodString>;
18948
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
18949
+ tiers: zod.ZodOptional<zod.ZodObject<{
18950
+ fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
18951
+ opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
18952
+ sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
18953
+ haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
18954
+ }, zod_v4_core.$strict>>;
18955
+ prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
18956
+ input: zod.ZodNumber;
18957
+ output: zod.ZodNumber;
18958
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
18959
+ hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
18960
+ show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
18961
+ same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
18962
+ distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
18963
+ families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
18964
+ names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
18965
+ mode: zod.ZodOptional<zod.ZodEnum<{
18966
+ ordered: "ordered";
18967
+ "most-allowance": "most-allowance";
18968
+ "soonest-reset": "soonest-reset";
18969
+ spread: "spread";
18970
+ adaptive: "adaptive";
18971
+ "lowest-latency": "lowest-latency";
18972
+ "highest-success": "highest-success";
18973
+ cheapest: "cheapest";
18974
+ }>>;
18975
+ context: zod.ZodOptional<zod.ZodNumber>;
18976
+ vision: zod.ZodOptional<zod.ZodBoolean>;
18977
+ tools: zod.ZodOptional<zod.ZodBoolean>;
18978
+ thinking: zod.ZodOptional<zod.ZodBoolean>;
18979
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
18980
+ }, zod_v4_core.$strict>>;
18906
18981
  }, zod_v4_core.$strict>;
18907
18982
  }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
18908
18983
  remove: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
@@ -19140,8 +19215,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
19140
19215
  add: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
19141
19216
  name: zod.ZodString;
19142
19217
  kind: zod.ZodOptional<zod.ZodEnum<{
19143
- codex: "codex";
19144
19218
  http: "http";
19219
+ codex: "codex";
19145
19220
  antigravity: "antigravity";
19146
19221
  router: "router";
19147
19222
  }>>;
@@ -19204,8 +19279,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
19204
19279
  value: zod.ZodObject<{
19205
19280
  name: zod.ZodString;
19206
19281
  kind: zod.ZodEnum<{
19207
- codex: "codex";
19208
19282
  http: "http";
19283
+ codex: "codex";
19209
19284
  antigravity: "antigravity";
19210
19285
  router: "router";
19211
19286
  }>;
@@ -19327,8 +19402,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
19327
19402
  value: zod.ZodObject<{
19328
19403
  name: zod.ZodString;
19329
19404
  kind: zod.ZodEnum<{
19330
- codex: "codex";
19331
19405
  http: "http";
19406
+ codex: "codex";
19332
19407
  antigravity: "antigravity";
19333
19408
  router: "router";
19334
19409
  }>;
@@ -19483,55 +19558,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
19483
19558
  key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
19484
19559
  }, zod_v4_core.$strip>], "kind">]>;
19485
19560
  }, zod_v4_core.$strict>]>>>;
19486
- models: zod.ZodOptional<zod.ZodObject<{
19487
- pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
19488
- virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
19489
- mode: zod.ZodEnum<{
19490
- ordered: "ordered";
19491
- "most-allowance": "most-allowance";
19492
- "soonest-reset": "soonest-reset";
19493
- spread: "spread";
19494
- adaptive: "adaptive";
19495
- "lowest-latency": "lowest-latency";
19496
- "highest-success": "highest-success";
19497
- cheapest: "cheapest";
19498
- }>;
19499
- members: zod.ZodArray<zod.ZodString>;
19500
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
19501
- tiers: zod.ZodOptional<zod.ZodObject<{
19502
- fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
19503
- opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
19504
- sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
19505
- haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
19506
- }, zod_v4_core.$strict>>;
19507
- prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
19508
- input: zod.ZodNumber;
19509
- output: zod.ZodNumber;
19510
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
19511
- hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
19512
- show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
19513
- same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
19514
- distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
19515
- families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
19516
- names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
19517
- mode: zod.ZodOptional<zod.ZodEnum<{
19518
- ordered: "ordered";
19519
- "most-allowance": "most-allowance";
19520
- "soonest-reset": "soonest-reset";
19521
- spread: "spread";
19522
- adaptive: "adaptive";
19523
- "lowest-latency": "lowest-latency";
19524
- "highest-success": "highest-success";
19525
- cheapest: "cheapest";
19526
- }>>;
19527
- context: zod.ZodOptional<zod.ZodNumber>;
19528
- vision: zod.ZodOptional<zod.ZodBoolean>;
19529
- tools: zod.ZodOptional<zod.ZodBoolean>;
19530
- thinking: zod.ZodOptional<zod.ZodBoolean>;
19531
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
19532
- }, zod_v4_core.$strict>>;
19533
- $schema: zod.ZodOptional<zod.ZodString>;
19534
19561
  extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
19562
+ $schema: zod.ZodOptional<zod.ZodString>;
19535
19563
  categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
19536
19564
  all: zod.ZodOptional<zod.ZodBoolean>;
19537
19565
  runtime: zod.ZodOptional<zod.ZodBoolean>;
@@ -19572,32 +19600,32 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
19572
19600
  }>>;
19573
19601
  layout: zod.ZodOptional<zod.ZodObject<{
19574
19602
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
19603
+ identity: "identity";
19575
19604
  model: "model";
19576
19605
  account: "account";
19577
- identity: "identity";
19578
19606
  provider: "provider";
19579
- version: "version";
19580
19607
  headroom: "headroom";
19581
- duration: "duration";
19582
19608
  route: "route";
19583
19609
  project: "project";
19584
19610
  vcs: "vcs";
19585
19611
  effort: "effort";
19586
19612
  advisor: "advisor";
19613
+ version: "version";
19587
19614
  outputStyle: "outputStyle";
19588
19615
  cost: "cost";
19589
19616
  dailyCost: "dailyCost";
19590
19617
  sessionName: "sessionName";
19618
+ duration: "duration";
19591
19619
  speed: "speed";
19592
19620
  extra: "extra";
19593
19621
  }>>>;
19594
19622
  rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
19595
19623
  context: "context";
19596
19624
  quota: "quota";
19597
- environment: "environment";
19598
19625
  addedDirs: "addedDirs";
19599
19626
  gitFiles: "gitFiles";
19600
19627
  memory: "memory";
19628
+ environment: "environment";
19601
19629
  sessionTime: "sessionTime";
19602
19630
  promptCache: "promptCache";
19603
19631
  compactions: "compactions";
@@ -19620,10 +19648,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
19620
19648
  merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
19621
19649
  context: "context";
19622
19650
  quota: "quota";
19623
- environment: "environment";
19624
19651
  addedDirs: "addedDirs";
19625
19652
  gitFiles: "gitFiles";
19626
19653
  memory: "memory";
19654
+ environment: "environment";
19627
19655
  sessionTime: "sessionTime";
19628
19656
  promptCache: "promptCache";
19629
19657
  compactions: "compactions";
@@ -19637,10 +19665,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
19637
19665
  rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
19638
19666
  context: "context";
19639
19667
  quota: "quota";
19640
- environment: "environment";
19641
19668
  addedDirs: "addedDirs";
19642
19669
  gitFiles: "gitFiles";
19643
19670
  memory: "memory";
19671
+ environment: "environment";
19644
19672
  sessionTime: "sessionTime";
19645
19673
  promptCache: "promptCache";
19646
19674
  compactions: "compactions";
@@ -19699,10 +19727,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
19699
19727
  hidden: "hidden";
19700
19728
  }>>;
19701
19729
  value: zod.ZodOptional<zod.ZodEnum<{
19702
- remaining: "remaining";
19703
19730
  tokens: "tokens";
19704
19731
  both: "both";
19705
19732
  percent: "percent";
19733
+ remaining: "remaining";
19706
19734
  }>>;
19707
19735
  estimate: zod.ZodOptional<zod.ZodEnum<{
19708
19736
  never: "never";
@@ -19744,8 +19772,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
19744
19772
  }, zod_v4_core.$strict>>;
19745
19773
  usage: zod.ZodOptional<zod.ZodObject<{
19746
19774
  value: zod.ZodOptional<zod.ZodEnum<{
19747
- used: "used";
19748
19775
  remaining: "remaining";
19776
+ used: "used";
19749
19777
  }>>;
19750
19778
  bar: zod.ZodOptional<zod.ZodBoolean>;
19751
19779
  compact: zod.ZodOptional<zod.ZodBoolean>;
@@ -20103,28 +20131,75 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20103
20131
  }, zod_v4_core.$strict>>;
20104
20132
  }, zod_v4_core.$strict>>;
20105
20133
  }, zod_v4_core.$strict>>;
20106
- path: zod.ZodString;
20107
- configProfile: zod.ZodOptional<zod.ZodString>;
20108
- identity: zod.ZodOptional<zod.ZodString>;
20109
- when: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
20110
- newerThan: zod.ZodOptional<zod.ZodString>;
20111
- olderThan: zod.ZodOptional<zod.ZodString>;
20112
- maxSizeBytes: zod.ZodOptional<zod.ZodInt>;
20113
- branch: zod.ZodOptional<zod.ZodString>;
20114
- env: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
20115
- }, zod_v4_core.$strict>, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
20116
- kind: zod.ZodLiteral<"not">;
20117
- operand: typeof trilean.PredicateNodeSchema;
20118
- }, zod_v4_core.$strip>, zod.ZodObject<{
20119
- kind: zod.ZodLiteral<"and">;
20120
- left: typeof trilean.PredicateNodeSchema;
20121
- right: typeof trilean.PredicateNodeSchema;
20122
- }, zod_v4_core.$strip>, zod.ZodObject<{
20123
- kind: zod.ZodLiteral<"or">;
20124
- left: typeof trilean.PredicateNodeSchema;
20125
- right: typeof trilean.PredicateNodeSchema;
20126
- }, zod_v4_core.$strip>, zod.ZodObject<{
20127
- kind: zod.ZodLiteral<"allOf">;
20134
+ models: zod.ZodOptional<zod.ZodObject<{
20135
+ pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
20136
+ virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
20137
+ mode: zod.ZodEnum<{
20138
+ ordered: "ordered";
20139
+ "most-allowance": "most-allowance";
20140
+ "soonest-reset": "soonest-reset";
20141
+ spread: "spread";
20142
+ adaptive: "adaptive";
20143
+ "lowest-latency": "lowest-latency";
20144
+ "highest-success": "highest-success";
20145
+ cheapest: "cheapest";
20146
+ }>;
20147
+ members: zod.ZodArray<zod.ZodString>;
20148
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
20149
+ tiers: zod.ZodOptional<zod.ZodObject<{
20150
+ fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
20151
+ opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
20152
+ sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
20153
+ haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
20154
+ }, zod_v4_core.$strict>>;
20155
+ prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
20156
+ input: zod.ZodNumber;
20157
+ output: zod.ZodNumber;
20158
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
20159
+ hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
20160
+ show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
20161
+ same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
20162
+ distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
20163
+ families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
20164
+ names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
20165
+ mode: zod.ZodOptional<zod.ZodEnum<{
20166
+ ordered: "ordered";
20167
+ "most-allowance": "most-allowance";
20168
+ "soonest-reset": "soonest-reset";
20169
+ spread: "spread";
20170
+ adaptive: "adaptive";
20171
+ "lowest-latency": "lowest-latency";
20172
+ "highest-success": "highest-success";
20173
+ cheapest: "cheapest";
20174
+ }>>;
20175
+ context: zod.ZodOptional<zod.ZodNumber>;
20176
+ vision: zod.ZodOptional<zod.ZodBoolean>;
20177
+ tools: zod.ZodOptional<zod.ZodBoolean>;
20178
+ thinking: zod.ZodOptional<zod.ZodBoolean>;
20179
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
20180
+ }, zod_v4_core.$strict>>;
20181
+ path: zod.ZodString;
20182
+ configProfile: zod.ZodOptional<zod.ZodString>;
20183
+ identity: zod.ZodOptional<zod.ZodString>;
20184
+ when: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
20185
+ newerThan: zod.ZodOptional<zod.ZodString>;
20186
+ olderThan: zod.ZodOptional<zod.ZodString>;
20187
+ maxSizeBytes: zod.ZodOptional<zod.ZodInt>;
20188
+ branch: zod.ZodOptional<zod.ZodString>;
20189
+ env: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
20190
+ }, zod_v4_core.$strict>, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
20191
+ kind: zod.ZodLiteral<"not">;
20192
+ operand: typeof trilean.PredicateNodeSchema;
20193
+ }, zod_v4_core.$strip>, zod.ZodObject<{
20194
+ kind: zod.ZodLiteral<"and">;
20195
+ left: typeof trilean.PredicateNodeSchema;
20196
+ right: typeof trilean.PredicateNodeSchema;
20197
+ }, zod_v4_core.$strip>, zod.ZodObject<{
20198
+ kind: zod.ZodLiteral<"or">;
20199
+ left: typeof trilean.PredicateNodeSchema;
20200
+ right: typeof trilean.PredicateNodeSchema;
20201
+ }, zod_v4_core.$strip>, zod.ZodObject<{
20202
+ kind: zod.ZodLiteral<"allOf">;
20128
20203
  operands: zod.ZodArray<typeof trilean.PredicateNodeSchema>;
20129
20204
  }, zod_v4_core.$strip>, zod.ZodObject<{
20130
20205
  kind: zod.ZodLiteral<"anyOf">;
@@ -20264,55 +20339,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20264
20339
  key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
20265
20340
  }, zod_v4_core.$strip>], "kind">]>;
20266
20341
  }, zod_v4_core.$strict>]>>>;
20267
- models: zod.ZodOptional<zod.ZodObject<{
20268
- pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
20269
- virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
20270
- mode: zod.ZodEnum<{
20271
- ordered: "ordered";
20272
- "most-allowance": "most-allowance";
20273
- "soonest-reset": "soonest-reset";
20274
- spread: "spread";
20275
- adaptive: "adaptive";
20276
- "lowest-latency": "lowest-latency";
20277
- "highest-success": "highest-success";
20278
- cheapest: "cheapest";
20279
- }>;
20280
- members: zod.ZodArray<zod.ZodString>;
20281
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
20282
- tiers: zod.ZodOptional<zod.ZodObject<{
20283
- fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
20284
- opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
20285
- sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
20286
- haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
20287
- }, zod_v4_core.$strict>>;
20288
- prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
20289
- input: zod.ZodNumber;
20290
- output: zod.ZodNumber;
20291
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
20292
- hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
20293
- show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
20294
- same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
20295
- distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
20296
- families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
20297
- names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
20298
- mode: zod.ZodOptional<zod.ZodEnum<{
20299
- ordered: "ordered";
20300
- "most-allowance": "most-allowance";
20301
- "soonest-reset": "soonest-reset";
20302
- spread: "spread";
20303
- adaptive: "adaptive";
20304
- "lowest-latency": "lowest-latency";
20305
- "highest-success": "highest-success";
20306
- cheapest: "cheapest";
20307
- }>>;
20308
- context: zod.ZodOptional<zod.ZodNumber>;
20309
- vision: zod.ZodOptional<zod.ZodBoolean>;
20310
- tools: zod.ZodOptional<zod.ZodBoolean>;
20311
- thinking: zod.ZodOptional<zod.ZodBoolean>;
20312
- }, zod_v4_core.$strict>, zod.ZodNull]>>>;
20313
- }, zod_v4_core.$strict>>;
20314
- $schema: zod.ZodOptional<zod.ZodString>;
20315
20342
  extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
20343
+ $schema: zod.ZodOptional<zod.ZodString>;
20316
20344
  categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
20317
20345
  all: zod.ZodOptional<zod.ZodBoolean>;
20318
20346
  runtime: zod.ZodOptional<zod.ZodBoolean>;
@@ -20353,32 +20381,32 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20353
20381
  }>>;
20354
20382
  layout: zod.ZodOptional<zod.ZodObject<{
20355
20383
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
20384
+ identity: "identity";
20356
20385
  model: "model";
20357
20386
  account: "account";
20358
- identity: "identity";
20359
20387
  provider: "provider";
20360
- version: "version";
20361
20388
  headroom: "headroom";
20362
- duration: "duration";
20363
20389
  route: "route";
20364
20390
  project: "project";
20365
20391
  vcs: "vcs";
20366
20392
  effort: "effort";
20367
20393
  advisor: "advisor";
20394
+ version: "version";
20368
20395
  outputStyle: "outputStyle";
20369
20396
  cost: "cost";
20370
20397
  dailyCost: "dailyCost";
20371
20398
  sessionName: "sessionName";
20399
+ duration: "duration";
20372
20400
  speed: "speed";
20373
20401
  extra: "extra";
20374
20402
  }>>>;
20375
20403
  rows: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
20376
20404
  context: "context";
20377
20405
  quota: "quota";
20378
- environment: "environment";
20379
20406
  addedDirs: "addedDirs";
20380
20407
  gitFiles: "gitFiles";
20381
20408
  memory: "memory";
20409
+ environment: "environment";
20382
20410
  sessionTime: "sessionTime";
20383
20411
  promptCache: "promptCache";
20384
20412
  compactions: "compactions";
@@ -20401,10 +20429,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20401
20429
  merge: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodEnum<{
20402
20430
  context: "context";
20403
20431
  quota: "quota";
20404
- environment: "environment";
20405
20432
  addedDirs: "addedDirs";
20406
20433
  gitFiles: "gitFiles";
20407
20434
  memory: "memory";
20435
+ environment: "environment";
20408
20436
  sessionTime: "sessionTime";
20409
20437
  promptCache: "promptCache";
20410
20438
  compactions: "compactions";
@@ -20418,10 +20446,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20418
20446
  rightAlign: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
20419
20447
  context: "context";
20420
20448
  quota: "quota";
20421
- environment: "environment";
20422
20449
  addedDirs: "addedDirs";
20423
20450
  gitFiles: "gitFiles";
20424
20451
  memory: "memory";
20452
+ environment: "environment";
20425
20453
  sessionTime: "sessionTime";
20426
20454
  promptCache: "promptCache";
20427
20455
  compactions: "compactions";
@@ -20480,10 +20508,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20480
20508
  hidden: "hidden";
20481
20509
  }>>;
20482
20510
  value: zod.ZodOptional<zod.ZodEnum<{
20483
- remaining: "remaining";
20484
20511
  tokens: "tokens";
20485
20512
  both: "both";
20486
20513
  percent: "percent";
20514
+ remaining: "remaining";
20487
20515
  }>>;
20488
20516
  estimate: zod.ZodOptional<zod.ZodEnum<{
20489
20517
  never: "never";
@@ -20525,8 +20553,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20525
20553
  }, zod_v4_core.$strict>>;
20526
20554
  usage: zod.ZodOptional<zod.ZodObject<{
20527
20555
  value: zod.ZodOptional<zod.ZodEnum<{
20528
- used: "used";
20529
20556
  remaining: "remaining";
20557
+ used: "used";
20530
20558
  }>>;
20531
20559
  bar: zod.ZodOptional<zod.ZodBoolean>;
20532
20560
  compact: zod.ZodOptional<zod.ZodBoolean>;
@@ -20884,6 +20912,53 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20884
20912
  }, zod_v4_core.$strict>>;
20885
20913
  }, zod_v4_core.$strict>>;
20886
20914
  }, zod_v4_core.$strict>>;
20915
+ models: zod.ZodOptional<zod.ZodObject<{
20916
+ pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
20917
+ virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
20918
+ mode: zod.ZodEnum<{
20919
+ ordered: "ordered";
20920
+ "most-allowance": "most-allowance";
20921
+ "soonest-reset": "soonest-reset";
20922
+ spread: "spread";
20923
+ adaptive: "adaptive";
20924
+ "lowest-latency": "lowest-latency";
20925
+ "highest-success": "highest-success";
20926
+ cheapest: "cheapest";
20927
+ }>;
20928
+ members: zod.ZodArray<zod.ZodString>;
20929
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
20930
+ tiers: zod.ZodOptional<zod.ZodObject<{
20931
+ fable: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
20932
+ opus: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
20933
+ sonnet: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
20934
+ haiku: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
20935
+ }, zod_v4_core.$strict>>;
20936
+ prices: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
20937
+ input: zod.ZodNumber;
20938
+ output: zod.ZodNumber;
20939
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
20940
+ hide: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
20941
+ show: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
20942
+ same: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString>>>;
20943
+ distinct: zod.ZodOptional<zod.ZodArray<zod.ZodTuple<[zod.ZodString, zod.ZodString], null>>>;
20944
+ families: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
20945
+ names: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
20946
+ mode: zod.ZodOptional<zod.ZodEnum<{
20947
+ ordered: "ordered";
20948
+ "most-allowance": "most-allowance";
20949
+ "soonest-reset": "soonest-reset";
20950
+ spread: "spread";
20951
+ adaptive: "adaptive";
20952
+ "lowest-latency": "lowest-latency";
20953
+ "highest-success": "highest-success";
20954
+ cheapest: "cheapest";
20955
+ }>>;
20956
+ context: zod.ZodOptional<zod.ZodNumber>;
20957
+ vision: zod.ZodOptional<zod.ZodBoolean>;
20958
+ tools: zod.ZodOptional<zod.ZodBoolean>;
20959
+ thinking: zod.ZodOptional<zod.ZodBoolean>;
20960
+ }, zod_v4_core.$strict>, zod.ZodNull]>>>;
20961
+ }, zod_v4_core.$strict>>;
20887
20962
  path: zod.ZodString;
20888
20963
  configProfile: zod.ZodOptional<zod.ZodString>;
20889
20964
  identity: zod.ZodOptional<zod.ZodString>;
@@ -20976,9 +21051,9 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20976
21051
  current: zod.ZodString;
20977
21052
  latest: zod.ZodString;
20978
21053
  action: zod.ZodEnum<{
21054
+ updated: "updated";
20979
21055
  current: "current";
20980
21056
  available: "available";
20981
- updated: "updated";
20982
21057
  }>;
20983
21058
  }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
20984
21059
  };
@@ -21181,12 +21256,12 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21181
21256
  identity: zod.ZodObject<{
21182
21257
  name: zod.ZodNullable<zod.ZodString>;
21183
21258
  source: zod.ZodEnum<{
21259
+ env: "env";
21260
+ none: "none";
21184
21261
  "config-dir-escape-hatch": "config-dir-escape-hatch";
21185
21262
  argv: "argv";
21186
- env: "env";
21187
21263
  "directory-pin": "directory-pin";
21188
21264
  "active-identity-file": "active-identity-file";
21189
- none: "none";
21190
21265
  }>;
21191
21266
  }, zod_v4_core.$strict>;
21192
21267
  pool: zod.ZodOptional<zod.ZodObject<{
@@ -21264,11 +21339,11 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21264
21339
  "category-default": "category-default";
21265
21340
  }>;
21266
21341
  category: zod.ZodNullable<zod.ZodEnum<{
21267
- secret: "secret";
21268
21342
  runtime: "runtime";
21269
21343
  history: "history";
21270
21344
  knowledge: "knowledge";
21271
21345
  settings: "settings";
21346
+ secret: "secret";
21272
21347
  }>>;
21273
21348
  rule: zod.ZodOptional<zod.ZodObject<{
21274
21349
  key: zod.ZodString;
@@ -21468,8 +21543,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21468
21543
  pinned: zod.ZodOptional<zod.ZodObject<{
21469
21544
  version: zod.ZodString;
21470
21545
  source: zod.ZodEnum<{
21471
- flag: "flag";
21472
21546
  environment: "environment";
21547
+ flag: "flag";
21473
21548
  cascade: "cascade";
21474
21549
  }>;
21475
21550
  installed: zod.ZodBoolean;
@@ -21487,10 +21562,12 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21487
21562
  "global-config": "global-config";
21488
21563
  "config-profile": "config-profile";
21489
21564
  identity: "identity";
21565
+ keychain: "keychain";
21490
21566
  provider: "provider";
21491
- frontdoor: "frontdoor";
21567
+ headroom: "headroom";
21568
+ models: "models";
21492
21569
  pool: "pool";
21493
- keychain: "keychain";
21570
+ frontdoor: "frontdoor";
21494
21571
  "ambient-credential": "ambient-credential";
21495
21572
  "binary-discovery": "binary-discovery";
21496
21573
  "claude-shim": "claude-shim";
@@ -21500,8 +21577,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21500
21577
  "directory-rules": "directory-rules";
21501
21578
  "categories-local": "categories-local";
21502
21579
  "active-identity": "active-identity";
21503
- headroom: "headroom";
21504
- models: "models";
21505
21580
  }>;
21506
21581
  subject: zod.ZodOptional<zod.ZodString>;
21507
21582
  severity: zod.ZodEnum<{
@@ -21653,6 +21728,11 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21653
21728
  summary: zod.ZodString;
21654
21729
  observedAt: zod.ZodNumber;
21655
21730
  }, zod_v4_core.$strict>>>;
21731
+ identity: zod.ZodOptional<zod.ZodString>;
21732
+ model: zod.ZodOptional<zod.ZodString>;
21733
+ name: zod.ZodOptional<zod.ZodString>;
21734
+ pid: zod.ZodOptional<zod.ZodNumber>;
21735
+ cwd: zod.ZodOptional<zod.ZodString>;
21656
21736
  id: zod.ZodString;
21657
21737
  createdAt: zod.ZodNumber;
21658
21738
  lastSeenAt: zod.ZodNumber;
@@ -22165,53 +22245,6 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
22165
22245
  }, z.core.$strip>], "kind">]>;
22166
22246
  }, z.core.$strict>]>>>;
22167
22247
  description: z.ZodOptional<z.ZodString>;
22168
- models: z.ZodOptional<z.ZodObject<{
22169
- pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
22170
- virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
22171
- mode: z.ZodEnum<{
22172
- ordered: "ordered";
22173
- "most-allowance": "most-allowance";
22174
- "soonest-reset": "soonest-reset";
22175
- spread: "spread";
22176
- adaptive: "adaptive";
22177
- "lowest-latency": "lowest-latency";
22178
- "highest-success": "highest-success";
22179
- cheapest: "cheapest";
22180
- }>;
22181
- members: z.ZodArray<z.ZodString>;
22182
- }, z.core.$strict>, z.ZodNull]>>>;
22183
- tiers: z.ZodOptional<z.ZodObject<{
22184
- fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
22185
- opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
22186
- sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
22187
- haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
22188
- }, z.core.$strict>>;
22189
- prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
22190
- input: z.ZodNumber;
22191
- output: z.ZodNumber;
22192
- }, z.core.$strict>, z.ZodNull]>>>;
22193
- hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
22194
- show: z.ZodOptional<z.ZodArray<z.ZodString>>;
22195
- same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
22196
- distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
22197
- families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
22198
- names: z.ZodOptional<z.ZodArray<z.ZodString>>;
22199
- mode: z.ZodOptional<z.ZodEnum<{
22200
- ordered: "ordered";
22201
- "most-allowance": "most-allowance";
22202
- "soonest-reset": "soonest-reset";
22203
- spread: "spread";
22204
- adaptive: "adaptive";
22205
- "lowest-latency": "lowest-latency";
22206
- "highest-success": "highest-success";
22207
- cheapest: "cheapest";
22208
- }>>;
22209
- context: z.ZodOptional<z.ZodNumber>;
22210
- vision: z.ZodOptional<z.ZodBoolean>;
22211
- tools: z.ZodOptional<z.ZodBoolean>;
22212
- thinking: z.ZodOptional<z.ZodBoolean>;
22213
- }, z.core.$strict>, z.ZodNull]>>>;
22214
- }, z.core.$strict>>;
22215
22248
  extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
22216
22249
  categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
22217
22250
  all: z.ZodOptional<z.ZodBoolean>;
@@ -22253,32 +22286,32 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
22253
22286
  }>>;
22254
22287
  layout: z.ZodOptional<z.ZodObject<{
22255
22288
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
22289
+ identity: "identity";
22256
22290
  model: "model";
22257
22291
  account: "account";
22258
- identity: "identity";
22259
22292
  provider: "provider";
22260
- version: "version";
22261
22293
  headroom: "headroom";
22262
- duration: "duration";
22263
22294
  route: "route";
22264
22295
  project: "project";
22265
22296
  vcs: "vcs";
22266
22297
  effort: "effort";
22267
22298
  advisor: "advisor";
22299
+ version: "version";
22268
22300
  outputStyle: "outputStyle";
22269
22301
  cost: "cost";
22270
22302
  dailyCost: "dailyCost";
22271
22303
  sessionName: "sessionName";
22304
+ duration: "duration";
22272
22305
  speed: "speed";
22273
22306
  extra: "extra";
22274
22307
  }>>>;
22275
22308
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
22276
22309
  context: "context";
22277
22310
  quota: "quota";
22278
- environment: "environment";
22279
22311
  addedDirs: "addedDirs";
22280
22312
  gitFiles: "gitFiles";
22281
22313
  memory: "memory";
22314
+ environment: "environment";
22282
22315
  sessionTime: "sessionTime";
22283
22316
  promptCache: "promptCache";
22284
22317
  compactions: "compactions";
@@ -22301,10 +22334,10 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
22301
22334
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
22302
22335
  context: "context";
22303
22336
  quota: "quota";
22304
- environment: "environment";
22305
22337
  addedDirs: "addedDirs";
22306
22338
  gitFiles: "gitFiles";
22307
22339
  memory: "memory";
22340
+ environment: "environment";
22308
22341
  sessionTime: "sessionTime";
22309
22342
  promptCache: "promptCache";
22310
22343
  compactions: "compactions";
@@ -22318,10 +22351,10 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
22318
22351
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
22319
22352
  context: "context";
22320
22353
  quota: "quota";
22321
- environment: "environment";
22322
22354
  addedDirs: "addedDirs";
22323
22355
  gitFiles: "gitFiles";
22324
22356
  memory: "memory";
22357
+ environment: "environment";
22325
22358
  sessionTime: "sessionTime";
22326
22359
  promptCache: "promptCache";
22327
22360
  compactions: "compactions";
@@ -22380,10 +22413,10 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
22380
22413
  hidden: "hidden";
22381
22414
  }>>;
22382
22415
  value: z.ZodOptional<z.ZodEnum<{
22383
- remaining: "remaining";
22384
22416
  tokens: "tokens";
22385
22417
  both: "both";
22386
22418
  percent: "percent";
22419
+ remaining: "remaining";
22387
22420
  }>>;
22388
22421
  estimate: z.ZodOptional<z.ZodEnum<{
22389
22422
  never: "never";
@@ -22425,8 +22458,8 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
22425
22458
  }, z.core.$strict>>;
22426
22459
  usage: z.ZodOptional<z.ZodObject<{
22427
22460
  value: z.ZodOptional<z.ZodEnum<{
22428
- used: "used";
22429
22461
  remaining: "remaining";
22462
+ used: "used";
22430
22463
  }>>;
22431
22464
  bar: z.ZodOptional<z.ZodBoolean>;
22432
22465
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -22784,6 +22817,53 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
22784
22817
  }, z.core.$strict>>;
22785
22818
  }, z.core.$strict>>;
22786
22819
  }, z.core.$strict>>;
22820
+ models: z.ZodOptional<z.ZodObject<{
22821
+ pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
22822
+ virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
22823
+ mode: z.ZodEnum<{
22824
+ ordered: "ordered";
22825
+ "most-allowance": "most-allowance";
22826
+ "soonest-reset": "soonest-reset";
22827
+ spread: "spread";
22828
+ adaptive: "adaptive";
22829
+ "lowest-latency": "lowest-latency";
22830
+ "highest-success": "highest-success";
22831
+ cheapest: "cheapest";
22832
+ }>;
22833
+ members: z.ZodArray<z.ZodString>;
22834
+ }, z.core.$strict>, z.ZodNull]>>>;
22835
+ tiers: z.ZodOptional<z.ZodObject<{
22836
+ fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
22837
+ opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
22838
+ sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
22839
+ haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
22840
+ }, z.core.$strict>>;
22841
+ prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
22842
+ input: z.ZodNumber;
22843
+ output: z.ZodNumber;
22844
+ }, z.core.$strict>, z.ZodNull]>>>;
22845
+ hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
22846
+ show: z.ZodOptional<z.ZodArray<z.ZodString>>;
22847
+ same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
22848
+ distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
22849
+ families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
22850
+ names: z.ZodOptional<z.ZodArray<z.ZodString>>;
22851
+ mode: z.ZodOptional<z.ZodEnum<{
22852
+ ordered: "ordered";
22853
+ "most-allowance": "most-allowance";
22854
+ "soonest-reset": "soonest-reset";
22855
+ spread: "spread";
22856
+ adaptive: "adaptive";
22857
+ "lowest-latency": "lowest-latency";
22858
+ "highest-success": "highest-success";
22859
+ cheapest: "cheapest";
22860
+ }>>;
22861
+ context: z.ZodOptional<z.ZodNumber>;
22862
+ vision: z.ZodOptional<z.ZodBoolean>;
22863
+ tools: z.ZodOptional<z.ZodBoolean>;
22864
+ thinking: z.ZodOptional<z.ZodBoolean>;
22865
+ }, z.core.$strict>, z.ZodNull]>>>;
22866
+ }, z.core.$strict>>;
22787
22867
  }, z.core.$strict>;
22788
22868
  }, z.core.$strict>;
22789
22869
  /** `category` and `entry` merge toggles into the profile's own maps; `extends` replaces the list (`false` clears it); `description` replaces the text (`false` clears it); `launch` merges the launch settings, each `provider` and `claudeVersion` clearable with `false`. At least one field must be present. */
@@ -22891,53 +22971,6 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
22891
22971
  }, z.core.$strip>], "kind">]>;
22892
22972
  }, z.core.$strict>]>>>;
22893
22973
  description: z.ZodOptional<z.ZodString>;
22894
- models: z.ZodOptional<z.ZodObject<{
22895
- pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
22896
- virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
22897
- mode: z.ZodEnum<{
22898
- ordered: "ordered";
22899
- "most-allowance": "most-allowance";
22900
- "soonest-reset": "soonest-reset";
22901
- spread: "spread";
22902
- adaptive: "adaptive";
22903
- "lowest-latency": "lowest-latency";
22904
- "highest-success": "highest-success";
22905
- cheapest: "cheapest";
22906
- }>;
22907
- members: z.ZodArray<z.ZodString>;
22908
- }, z.core.$strict>, z.ZodNull]>>>;
22909
- tiers: z.ZodOptional<z.ZodObject<{
22910
- fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
22911
- opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
22912
- sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
22913
- haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
22914
- }, z.core.$strict>>;
22915
- prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
22916
- input: z.ZodNumber;
22917
- output: z.ZodNumber;
22918
- }, z.core.$strict>, z.ZodNull]>>>;
22919
- hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
22920
- show: z.ZodOptional<z.ZodArray<z.ZodString>>;
22921
- same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
22922
- distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
22923
- families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
22924
- names: z.ZodOptional<z.ZodArray<z.ZodString>>;
22925
- mode: z.ZodOptional<z.ZodEnum<{
22926
- ordered: "ordered";
22927
- "most-allowance": "most-allowance";
22928
- "soonest-reset": "soonest-reset";
22929
- spread: "spread";
22930
- adaptive: "adaptive";
22931
- "lowest-latency": "lowest-latency";
22932
- "highest-success": "highest-success";
22933
- cheapest: "cheapest";
22934
- }>>;
22935
- context: z.ZodOptional<z.ZodNumber>;
22936
- vision: z.ZodOptional<z.ZodBoolean>;
22937
- tools: z.ZodOptional<z.ZodBoolean>;
22938
- thinking: z.ZodOptional<z.ZodBoolean>;
22939
- }, z.core.$strict>, z.ZodNull]>>>;
22940
- }, z.core.$strict>>;
22941
22974
  extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
22942
22975
  categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
22943
22976
  all: z.ZodOptional<z.ZodBoolean>;
@@ -22979,32 +23012,32 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
22979
23012
  }>>;
22980
23013
  layout: z.ZodOptional<z.ZodObject<{
22981
23014
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
23015
+ identity: "identity";
22982
23016
  model: "model";
22983
23017
  account: "account";
22984
- identity: "identity";
22985
23018
  provider: "provider";
22986
- version: "version";
22987
23019
  headroom: "headroom";
22988
- duration: "duration";
22989
23020
  route: "route";
22990
23021
  project: "project";
22991
23022
  vcs: "vcs";
22992
23023
  effort: "effort";
22993
23024
  advisor: "advisor";
23025
+ version: "version";
22994
23026
  outputStyle: "outputStyle";
22995
23027
  cost: "cost";
22996
23028
  dailyCost: "dailyCost";
22997
23029
  sessionName: "sessionName";
23030
+ duration: "duration";
22998
23031
  speed: "speed";
22999
23032
  extra: "extra";
23000
23033
  }>>>;
23001
23034
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
23002
23035
  context: "context";
23003
23036
  quota: "quota";
23004
- environment: "environment";
23005
23037
  addedDirs: "addedDirs";
23006
23038
  gitFiles: "gitFiles";
23007
23039
  memory: "memory";
23040
+ environment: "environment";
23008
23041
  sessionTime: "sessionTime";
23009
23042
  promptCache: "promptCache";
23010
23043
  compactions: "compactions";
@@ -23027,10 +23060,10 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
23027
23060
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
23028
23061
  context: "context";
23029
23062
  quota: "quota";
23030
- environment: "environment";
23031
23063
  addedDirs: "addedDirs";
23032
23064
  gitFiles: "gitFiles";
23033
23065
  memory: "memory";
23066
+ environment: "environment";
23034
23067
  sessionTime: "sessionTime";
23035
23068
  promptCache: "promptCache";
23036
23069
  compactions: "compactions";
@@ -23044,10 +23077,10 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
23044
23077
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
23045
23078
  context: "context";
23046
23079
  quota: "quota";
23047
- environment: "environment";
23048
23080
  addedDirs: "addedDirs";
23049
23081
  gitFiles: "gitFiles";
23050
23082
  memory: "memory";
23083
+ environment: "environment";
23051
23084
  sessionTime: "sessionTime";
23052
23085
  promptCache: "promptCache";
23053
23086
  compactions: "compactions";
@@ -23106,10 +23139,10 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
23106
23139
  hidden: "hidden";
23107
23140
  }>>;
23108
23141
  value: z.ZodOptional<z.ZodEnum<{
23109
- remaining: "remaining";
23110
23142
  tokens: "tokens";
23111
23143
  both: "both";
23112
23144
  percent: "percent";
23145
+ remaining: "remaining";
23113
23146
  }>>;
23114
23147
  estimate: z.ZodOptional<z.ZodEnum<{
23115
23148
  never: "never";
@@ -23151,8 +23184,8 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
23151
23184
  }, z.core.$strict>>;
23152
23185
  usage: z.ZodOptional<z.ZodObject<{
23153
23186
  value: z.ZodOptional<z.ZodEnum<{
23154
- used: "used";
23155
23187
  remaining: "remaining";
23188
+ used: "used";
23156
23189
  }>>;
23157
23190
  bar: z.ZodOptional<z.ZodBoolean>;
23158
23191
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -23510,6 +23543,53 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
23510
23543
  }, z.core.$strict>>;
23511
23544
  }, z.core.$strict>>;
23512
23545
  }, z.core.$strict>>;
23546
+ models: z.ZodOptional<z.ZodObject<{
23547
+ pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
23548
+ virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
23549
+ mode: z.ZodEnum<{
23550
+ ordered: "ordered";
23551
+ "most-allowance": "most-allowance";
23552
+ "soonest-reset": "soonest-reset";
23553
+ spread: "spread";
23554
+ adaptive: "adaptive";
23555
+ "lowest-latency": "lowest-latency";
23556
+ "highest-success": "highest-success";
23557
+ cheapest: "cheapest";
23558
+ }>;
23559
+ members: z.ZodArray<z.ZodString>;
23560
+ }, z.core.$strict>, z.ZodNull]>>>;
23561
+ tiers: z.ZodOptional<z.ZodObject<{
23562
+ fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
23563
+ opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
23564
+ sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
23565
+ haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
23566
+ }, z.core.$strict>>;
23567
+ prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
23568
+ input: z.ZodNumber;
23569
+ output: z.ZodNumber;
23570
+ }, z.core.$strict>, z.ZodNull]>>>;
23571
+ hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
23572
+ show: z.ZodOptional<z.ZodArray<z.ZodString>>;
23573
+ same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
23574
+ distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
23575
+ families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
23576
+ names: z.ZodOptional<z.ZodArray<z.ZodString>>;
23577
+ mode: z.ZodOptional<z.ZodEnum<{
23578
+ ordered: "ordered";
23579
+ "most-allowance": "most-allowance";
23580
+ "soonest-reset": "soonest-reset";
23581
+ spread: "spread";
23582
+ adaptive: "adaptive";
23583
+ "lowest-latency": "lowest-latency";
23584
+ "highest-success": "highest-success";
23585
+ cheapest: "cheapest";
23586
+ }>>;
23587
+ context: z.ZodOptional<z.ZodNumber>;
23588
+ vision: z.ZodOptional<z.ZodBoolean>;
23589
+ tools: z.ZodOptional<z.ZodBoolean>;
23590
+ thinking: z.ZodOptional<z.ZodBoolean>;
23591
+ }, z.core.$strict>, z.ZodNull]>>>;
23592
+ }, z.core.$strict>>;
23513
23593
  }, z.core.$strict>;
23514
23594
  }, z.core.$strict>;
23515
23595
  declare const ConfigProfileRemoveInputSchema: z.ZodObject<{
@@ -23745,8 +23825,8 @@ declare const ConfigPoolUseOutputSchema: z.ZodObject<{
23745
23825
  declare const ConfigProviderAddInputSchema: z.ZodObject<{
23746
23826
  name: z.ZodString;
23747
23827
  kind: z.ZodOptional<z.ZodEnum<{
23748
- codex: "codex";
23749
23828
  http: "http";
23829
+ codex: "codex";
23750
23830
  antigravity: "antigravity";
23751
23831
  router: "router";
23752
23832
  }>>;
@@ -23810,8 +23890,8 @@ declare const ConfigProviderAddOutputSchema: z.ZodObject<{
23810
23890
  value: z.ZodObject<{
23811
23891
  name: z.ZodString;
23812
23892
  kind: z.ZodEnum<{
23813
- codex: "codex";
23814
23893
  http: "http";
23894
+ codex: "codex";
23815
23895
  antigravity: "antigravity";
23816
23896
  router: "router";
23817
23897
  }>;
@@ -23935,8 +24015,8 @@ declare const ConfigProviderSetOutputSchema: z.ZodObject<{
23935
24015
  value: z.ZodObject<{
23936
24016
  name: z.ZodString;
23937
24017
  kind: z.ZodEnum<{
23938
- codex: "codex";
23939
24018
  http: "http";
24019
+ codex: "codex";
23940
24020
  antigravity: "antigravity";
23941
24021
  router: "router";
23942
24022
  }>;
@@ -24062,85 +24142,38 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
24062
24142
  matches: "matches";
24063
24143
  notMatches: "notMatches";
24064
24144
  portableMatches: "portableMatches";
24065
- portableNotMatches: "portableNotMatches";
24066
- }>;
24067
- left: typeof trilean.ExpressionNodeSchema;
24068
- right: typeof trilean.ExpressionNodeSchema;
24069
- }, z.core.$strip>, z.ZodObject<{
24070
- kind: z.ZodLiteral<"memberOf">;
24071
- op: z.ZodEnum<{
24072
- in: "in";
24073
- notIn: "notIn";
24074
- }>;
24075
- operand: typeof trilean.ExpressionNodeSchema;
24076
- candidates: z.ZodArray<typeof trilean.ExpressionNodeSchema>;
24077
- }, z.core.$strip>, z.ZodObject<{
24078
- kind: z.ZodLiteral<"exists">;
24079
- operand: typeof trilean.ExpressionNodeSchema;
24080
- }, z.core.$strip>, z.ZodObject<{
24081
- kind: z.ZodLiteral<"some">;
24082
- collection: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
24083
- item: typeof trilean.PredicateNodeSchema;
24084
- filter: z.ZodOptional<typeof trilean.PredicateNodeSchema>;
24085
- }, z.core.$strip>, z.ZodObject<{
24086
- kind: z.ZodLiteral<"every">;
24087
- collection: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
24088
- item: typeof trilean.PredicateNodeSchema;
24089
- filter: z.ZodOptional<typeof trilean.PredicateNodeSchema>;
24090
- }, z.core.$strip>, z.ZodObject<{
24091
- kind: z.ZodLiteral<"treeReference">;
24092
- key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
24093
- }, z.core.$strip>], "kind">]>;
24094
- }, z.core.$strict>]>>>;
24095
- models: z.ZodOptional<z.ZodObject<{
24096
- pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
24097
- virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
24098
- mode: z.ZodEnum<{
24099
- ordered: "ordered";
24100
- "most-allowance": "most-allowance";
24101
- "soonest-reset": "soonest-reset";
24102
- spread: "spread";
24103
- adaptive: "adaptive";
24104
- "lowest-latency": "lowest-latency";
24105
- "highest-success": "highest-success";
24106
- cheapest: "cheapest";
24107
- }>;
24108
- members: z.ZodArray<z.ZodString>;
24109
- }, z.core.$strict>, z.ZodNull]>>>;
24110
- tiers: z.ZodOptional<z.ZodObject<{
24111
- fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
24112
- opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
24113
- sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
24114
- haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
24115
- }, z.core.$strict>>;
24116
- prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
24117
- input: z.ZodNumber;
24118
- output: z.ZodNumber;
24119
- }, z.core.$strict>, z.ZodNull]>>>;
24120
- hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
24121
- show: z.ZodOptional<z.ZodArray<z.ZodString>>;
24122
- same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
24123
- distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
24124
- families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
24125
- names: z.ZodOptional<z.ZodArray<z.ZodString>>;
24126
- mode: z.ZodOptional<z.ZodEnum<{
24127
- ordered: "ordered";
24128
- "most-allowance": "most-allowance";
24129
- "soonest-reset": "soonest-reset";
24130
- spread: "spread";
24131
- adaptive: "adaptive";
24132
- "lowest-latency": "lowest-latency";
24133
- "highest-success": "highest-success";
24134
- cheapest: "cheapest";
24135
- }>>;
24136
- context: z.ZodOptional<z.ZodNumber>;
24137
- vision: z.ZodOptional<z.ZodBoolean>;
24138
- tools: z.ZodOptional<z.ZodBoolean>;
24139
- thinking: z.ZodOptional<z.ZodBoolean>;
24140
- }, z.core.$strict>, z.ZodNull]>>>;
24141
- }, z.core.$strict>>;
24142
- $schema: z.ZodOptional<z.ZodString>;
24145
+ portableNotMatches: "portableNotMatches";
24146
+ }>;
24147
+ left: typeof trilean.ExpressionNodeSchema;
24148
+ right: typeof trilean.ExpressionNodeSchema;
24149
+ }, z.core.$strip>, z.ZodObject<{
24150
+ kind: z.ZodLiteral<"memberOf">;
24151
+ op: z.ZodEnum<{
24152
+ in: "in";
24153
+ notIn: "notIn";
24154
+ }>;
24155
+ operand: typeof trilean.ExpressionNodeSchema;
24156
+ candidates: z.ZodArray<typeof trilean.ExpressionNodeSchema>;
24157
+ }, z.core.$strip>, z.ZodObject<{
24158
+ kind: z.ZodLiteral<"exists">;
24159
+ operand: typeof trilean.ExpressionNodeSchema;
24160
+ }, z.core.$strip>, z.ZodObject<{
24161
+ kind: z.ZodLiteral<"some">;
24162
+ collection: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
24163
+ item: typeof trilean.PredicateNodeSchema;
24164
+ filter: z.ZodOptional<typeof trilean.PredicateNodeSchema>;
24165
+ }, z.core.$strip>, z.ZodObject<{
24166
+ kind: z.ZodLiteral<"every">;
24167
+ collection: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
24168
+ item: typeof trilean.PredicateNodeSchema;
24169
+ filter: z.ZodOptional<typeof trilean.PredicateNodeSchema>;
24170
+ }, z.core.$strip>, z.ZodObject<{
24171
+ kind: z.ZodLiteral<"treeReference">;
24172
+ key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
24173
+ }, z.core.$strip>], "kind">]>;
24174
+ }, z.core.$strict>]>>>;
24143
24175
  extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
24176
+ $schema: z.ZodOptional<z.ZodString>;
24144
24177
  categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
24145
24178
  all: z.ZodOptional<z.ZodBoolean>;
24146
24179
  runtime: z.ZodOptional<z.ZodBoolean>;
@@ -24181,32 +24214,32 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
24181
24214
  }>>;
24182
24215
  layout: z.ZodOptional<z.ZodObject<{
24183
24216
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
24217
+ identity: "identity";
24184
24218
  model: "model";
24185
24219
  account: "account";
24186
- identity: "identity";
24187
24220
  provider: "provider";
24188
- version: "version";
24189
24221
  headroom: "headroom";
24190
- duration: "duration";
24191
24222
  route: "route";
24192
24223
  project: "project";
24193
24224
  vcs: "vcs";
24194
24225
  effort: "effort";
24195
24226
  advisor: "advisor";
24227
+ version: "version";
24196
24228
  outputStyle: "outputStyle";
24197
24229
  cost: "cost";
24198
24230
  dailyCost: "dailyCost";
24199
24231
  sessionName: "sessionName";
24232
+ duration: "duration";
24200
24233
  speed: "speed";
24201
24234
  extra: "extra";
24202
24235
  }>>>;
24203
24236
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
24204
24237
  context: "context";
24205
24238
  quota: "quota";
24206
- environment: "environment";
24207
24239
  addedDirs: "addedDirs";
24208
24240
  gitFiles: "gitFiles";
24209
24241
  memory: "memory";
24242
+ environment: "environment";
24210
24243
  sessionTime: "sessionTime";
24211
24244
  promptCache: "promptCache";
24212
24245
  compactions: "compactions";
@@ -24229,10 +24262,10 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
24229
24262
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
24230
24263
  context: "context";
24231
24264
  quota: "quota";
24232
- environment: "environment";
24233
24265
  addedDirs: "addedDirs";
24234
24266
  gitFiles: "gitFiles";
24235
24267
  memory: "memory";
24268
+ environment: "environment";
24236
24269
  sessionTime: "sessionTime";
24237
24270
  promptCache: "promptCache";
24238
24271
  compactions: "compactions";
@@ -24246,10 +24279,10 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
24246
24279
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
24247
24280
  context: "context";
24248
24281
  quota: "quota";
24249
- environment: "environment";
24250
24282
  addedDirs: "addedDirs";
24251
24283
  gitFiles: "gitFiles";
24252
24284
  memory: "memory";
24285
+ environment: "environment";
24253
24286
  sessionTime: "sessionTime";
24254
24287
  promptCache: "promptCache";
24255
24288
  compactions: "compactions";
@@ -24308,10 +24341,10 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
24308
24341
  hidden: "hidden";
24309
24342
  }>>;
24310
24343
  value: z.ZodOptional<z.ZodEnum<{
24311
- remaining: "remaining";
24312
24344
  tokens: "tokens";
24313
24345
  both: "both";
24314
24346
  percent: "percent";
24347
+ remaining: "remaining";
24315
24348
  }>>;
24316
24349
  estimate: z.ZodOptional<z.ZodEnum<{
24317
24350
  never: "never";
@@ -24353,8 +24386,8 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
24353
24386
  }, z.core.$strict>>;
24354
24387
  usage: z.ZodOptional<z.ZodObject<{
24355
24388
  value: z.ZodOptional<z.ZodEnum<{
24356
- used: "used";
24357
24389
  remaining: "remaining";
24390
+ used: "used";
24358
24391
  }>>;
24359
24392
  bar: z.ZodOptional<z.ZodBoolean>;
24360
24393
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -24712,6 +24745,53 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
24712
24745
  }, z.core.$strict>>;
24713
24746
  }, z.core.$strict>>;
24714
24747
  }, z.core.$strict>>;
24748
+ models: z.ZodOptional<z.ZodObject<{
24749
+ pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
24750
+ virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
24751
+ mode: z.ZodEnum<{
24752
+ ordered: "ordered";
24753
+ "most-allowance": "most-allowance";
24754
+ "soonest-reset": "soonest-reset";
24755
+ spread: "spread";
24756
+ adaptive: "adaptive";
24757
+ "lowest-latency": "lowest-latency";
24758
+ "highest-success": "highest-success";
24759
+ cheapest: "cheapest";
24760
+ }>;
24761
+ members: z.ZodArray<z.ZodString>;
24762
+ }, z.core.$strict>, z.ZodNull]>>>;
24763
+ tiers: z.ZodOptional<z.ZodObject<{
24764
+ fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
24765
+ opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
24766
+ sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
24767
+ haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
24768
+ }, z.core.$strict>>;
24769
+ prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
24770
+ input: z.ZodNumber;
24771
+ output: z.ZodNumber;
24772
+ }, z.core.$strict>, z.ZodNull]>>>;
24773
+ hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
24774
+ show: z.ZodOptional<z.ZodArray<z.ZodString>>;
24775
+ same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
24776
+ distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
24777
+ families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
24778
+ names: z.ZodOptional<z.ZodArray<z.ZodString>>;
24779
+ mode: z.ZodOptional<z.ZodEnum<{
24780
+ ordered: "ordered";
24781
+ "most-allowance": "most-allowance";
24782
+ "soonest-reset": "soonest-reset";
24783
+ spread: "spread";
24784
+ adaptive: "adaptive";
24785
+ "lowest-latency": "lowest-latency";
24786
+ "highest-success": "highest-success";
24787
+ cheapest: "cheapest";
24788
+ }>>;
24789
+ context: z.ZodOptional<z.ZodNumber>;
24790
+ vision: z.ZodOptional<z.ZodBoolean>;
24791
+ tools: z.ZodOptional<z.ZodBoolean>;
24792
+ thinking: z.ZodOptional<z.ZodBoolean>;
24793
+ }, z.core.$strict>, z.ZodNull]>>>;
24794
+ }, z.core.$strict>>;
24715
24795
  path: z.ZodString;
24716
24796
  configProfile: z.ZodOptional<z.ZodString>;
24717
24797
  identity: z.ZodOptional<z.ZodString>;
@@ -24875,55 +24955,8 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
24875
24955
  key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
24876
24956
  }, z.core.$strip>], "kind">]>;
24877
24957
  }, z.core.$strict>]>>>;
24878
- models: z.ZodOptional<z.ZodObject<{
24879
- pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
24880
- virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
24881
- mode: z.ZodEnum<{
24882
- ordered: "ordered";
24883
- "most-allowance": "most-allowance";
24884
- "soonest-reset": "soonest-reset";
24885
- spread: "spread";
24886
- adaptive: "adaptive";
24887
- "lowest-latency": "lowest-latency";
24888
- "highest-success": "highest-success";
24889
- cheapest: "cheapest";
24890
- }>;
24891
- members: z.ZodArray<z.ZodString>;
24892
- }, z.core.$strict>, z.ZodNull]>>>;
24893
- tiers: z.ZodOptional<z.ZodObject<{
24894
- fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
24895
- opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
24896
- sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
24897
- haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
24898
- }, z.core.$strict>>;
24899
- prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
24900
- input: z.ZodNumber;
24901
- output: z.ZodNumber;
24902
- }, z.core.$strict>, z.ZodNull]>>>;
24903
- hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
24904
- show: z.ZodOptional<z.ZodArray<z.ZodString>>;
24905
- same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
24906
- distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
24907
- families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
24908
- names: z.ZodOptional<z.ZodArray<z.ZodString>>;
24909
- mode: z.ZodOptional<z.ZodEnum<{
24910
- ordered: "ordered";
24911
- "most-allowance": "most-allowance";
24912
- "soonest-reset": "soonest-reset";
24913
- spread: "spread";
24914
- adaptive: "adaptive";
24915
- "lowest-latency": "lowest-latency";
24916
- "highest-success": "highest-success";
24917
- cheapest: "cheapest";
24918
- }>>;
24919
- context: z.ZodOptional<z.ZodNumber>;
24920
- vision: z.ZodOptional<z.ZodBoolean>;
24921
- tools: z.ZodOptional<z.ZodBoolean>;
24922
- thinking: z.ZodOptional<z.ZodBoolean>;
24923
- }, z.core.$strict>, z.ZodNull]>>>;
24924
- }, z.core.$strict>>;
24925
- $schema: z.ZodOptional<z.ZodString>;
24926
24958
  extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
24959
+ $schema: z.ZodOptional<z.ZodString>;
24927
24960
  categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
24928
24961
  all: z.ZodOptional<z.ZodBoolean>;
24929
24962
  runtime: z.ZodOptional<z.ZodBoolean>;
@@ -24964,32 +24997,32 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
24964
24997
  }>>;
24965
24998
  layout: z.ZodOptional<z.ZodObject<{
24966
24999
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
25000
+ identity: "identity";
24967
25001
  model: "model";
24968
25002
  account: "account";
24969
- identity: "identity";
24970
25003
  provider: "provider";
24971
- version: "version";
24972
25004
  headroom: "headroom";
24973
- duration: "duration";
24974
25005
  route: "route";
24975
25006
  project: "project";
24976
25007
  vcs: "vcs";
24977
25008
  effort: "effort";
24978
25009
  advisor: "advisor";
25010
+ version: "version";
24979
25011
  outputStyle: "outputStyle";
24980
25012
  cost: "cost";
24981
25013
  dailyCost: "dailyCost";
24982
25014
  sessionName: "sessionName";
25015
+ duration: "duration";
24983
25016
  speed: "speed";
24984
25017
  extra: "extra";
24985
25018
  }>>>;
24986
25019
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
24987
25020
  context: "context";
24988
25021
  quota: "quota";
24989
- environment: "environment";
24990
25022
  addedDirs: "addedDirs";
24991
25023
  gitFiles: "gitFiles";
24992
25024
  memory: "memory";
25025
+ environment: "environment";
24993
25026
  sessionTime: "sessionTime";
24994
25027
  promptCache: "promptCache";
24995
25028
  compactions: "compactions";
@@ -25012,10 +25045,10 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
25012
25045
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
25013
25046
  context: "context";
25014
25047
  quota: "quota";
25015
- environment: "environment";
25016
25048
  addedDirs: "addedDirs";
25017
25049
  gitFiles: "gitFiles";
25018
25050
  memory: "memory";
25051
+ environment: "environment";
25019
25052
  sessionTime: "sessionTime";
25020
25053
  promptCache: "promptCache";
25021
25054
  compactions: "compactions";
@@ -25029,10 +25062,10 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
25029
25062
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
25030
25063
  context: "context";
25031
25064
  quota: "quota";
25032
- environment: "environment";
25033
25065
  addedDirs: "addedDirs";
25034
25066
  gitFiles: "gitFiles";
25035
25067
  memory: "memory";
25068
+ environment: "environment";
25036
25069
  sessionTime: "sessionTime";
25037
25070
  promptCache: "promptCache";
25038
25071
  compactions: "compactions";
@@ -25091,10 +25124,10 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
25091
25124
  hidden: "hidden";
25092
25125
  }>>;
25093
25126
  value: z.ZodOptional<z.ZodEnum<{
25094
- remaining: "remaining";
25095
25127
  tokens: "tokens";
25096
25128
  both: "both";
25097
25129
  percent: "percent";
25130
+ remaining: "remaining";
25098
25131
  }>>;
25099
25132
  estimate: z.ZodOptional<z.ZodEnum<{
25100
25133
  never: "never";
@@ -25136,8 +25169,8 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
25136
25169
  }, z.core.$strict>>;
25137
25170
  usage: z.ZodOptional<z.ZodObject<{
25138
25171
  value: z.ZodOptional<z.ZodEnum<{
25139
- used: "used";
25140
25172
  remaining: "remaining";
25173
+ used: "used";
25141
25174
  }>>;
25142
25175
  bar: z.ZodOptional<z.ZodBoolean>;
25143
25176
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -25495,6 +25528,53 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
25495
25528
  }, z.core.$strict>>;
25496
25529
  }, z.core.$strict>>;
25497
25530
  }, z.core.$strict>>;
25531
+ models: z.ZodOptional<z.ZodObject<{
25532
+ pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
25533
+ virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
25534
+ mode: z.ZodEnum<{
25535
+ ordered: "ordered";
25536
+ "most-allowance": "most-allowance";
25537
+ "soonest-reset": "soonest-reset";
25538
+ spread: "spread";
25539
+ adaptive: "adaptive";
25540
+ "lowest-latency": "lowest-latency";
25541
+ "highest-success": "highest-success";
25542
+ cheapest: "cheapest";
25543
+ }>;
25544
+ members: z.ZodArray<z.ZodString>;
25545
+ }, z.core.$strict>, z.ZodNull]>>>;
25546
+ tiers: z.ZodOptional<z.ZodObject<{
25547
+ fable: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
25548
+ opus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
25549
+ sonnet: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
25550
+ haiku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
25551
+ }, z.core.$strict>>;
25552
+ prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
25553
+ input: z.ZodNumber;
25554
+ output: z.ZodNumber;
25555
+ }, z.core.$strict>, z.ZodNull]>>>;
25556
+ hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
25557
+ show: z.ZodOptional<z.ZodArray<z.ZodString>>;
25558
+ same: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
25559
+ distinct: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
25560
+ families: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
25561
+ names: z.ZodOptional<z.ZodArray<z.ZodString>>;
25562
+ mode: z.ZodOptional<z.ZodEnum<{
25563
+ ordered: "ordered";
25564
+ "most-allowance": "most-allowance";
25565
+ "soonest-reset": "soonest-reset";
25566
+ spread: "spread";
25567
+ adaptive: "adaptive";
25568
+ "lowest-latency": "lowest-latency";
25569
+ "highest-success": "highest-success";
25570
+ cheapest: "cheapest";
25571
+ }>>;
25572
+ context: z.ZodOptional<z.ZodNumber>;
25573
+ vision: z.ZodOptional<z.ZodBoolean>;
25574
+ tools: z.ZodOptional<z.ZodBoolean>;
25575
+ thinking: z.ZodOptional<z.ZodBoolean>;
25576
+ }, z.core.$strict>, z.ZodNull]>>>;
25577
+ }, z.core.$strict>>;
25498
25578
  path: z.ZodString;
25499
25579
  configProfile: z.ZodOptional<z.ZodString>;
25500
25580
  identity: z.ZodOptional<z.ZodString>;
@@ -25831,10 +25911,12 @@ declare const DoctorFindingSchema: z.ZodObject<{
25831
25911
  "global-config": "global-config";
25832
25912
  "config-profile": "config-profile";
25833
25913
  identity: "identity";
25914
+ keychain: "keychain";
25834
25915
  provider: "provider";
25835
- frontdoor: "frontdoor";
25916
+ headroom: "headroom";
25917
+ models: "models";
25836
25918
  pool: "pool";
25837
- keychain: "keychain";
25919
+ frontdoor: "frontdoor";
25838
25920
  "ambient-credential": "ambient-credential";
25839
25921
  "binary-discovery": "binary-discovery";
25840
25922
  "claude-shim": "claude-shim";
@@ -25844,8 +25926,6 @@ declare const DoctorFindingSchema: z.ZodObject<{
25844
25926
  "directory-rules": "directory-rules";
25845
25927
  "categories-local": "categories-local";
25846
25928
  "active-identity": "active-identity";
25847
- headroom: "headroom";
25848
- models: "models";
25849
25929
  }>;
25850
25930
  subject: z.ZodOptional<z.ZodString>;
25851
25931
  severity: z.ZodEnum<{
@@ -25863,10 +25943,12 @@ declare const DoctorRunOutputSchema: z.ZodObject<{
25863
25943
  "global-config": "global-config";
25864
25944
  "config-profile": "config-profile";
25865
25945
  identity: "identity";
25946
+ keychain: "keychain";
25866
25947
  provider: "provider";
25867
- frontdoor: "frontdoor";
25948
+ headroom: "headroom";
25949
+ models: "models";
25868
25950
  pool: "pool";
25869
- keychain: "keychain";
25951
+ frontdoor: "frontdoor";
25870
25952
  "ambient-credential": "ambient-credential";
25871
25953
  "binary-discovery": "binary-discovery";
25872
25954
  "claude-shim": "claude-shim";
@@ -25876,8 +25958,6 @@ declare const DoctorRunOutputSchema: z.ZodObject<{
25876
25958
  "directory-rules": "directory-rules";
25877
25959
  "categories-local": "categories-local";
25878
25960
  "active-identity": "active-identity";
25879
- headroom: "headroom";
25880
- models: "models";
25881
25961
  }>;
25882
25962
  subject: z.ZodOptional<z.ZodString>;
25883
25963
  severity: z.ZodEnum<{
@@ -25898,9 +25978,9 @@ declare const UpdateCheckOutputSchema: z.ZodObject<{
25898
25978
  current: z.ZodString;
25899
25979
  latest: z.ZodString;
25900
25980
  action: z.ZodEnum<{
25981
+ updated: "updated";
25901
25982
  current: "current";
25902
25983
  available: "available";
25903
- updated: "updated";
25904
25984
  }>;
25905
25985
  }, z.core.$strict>;
25906
25986
  /** The Sign in with ChatGPT login's state as `codex status` reports it: no sign-in yet, signed in (with who, whether the plan scope was granted, and when the access token lapses), or a file that cannot be read. */
@@ -25951,12 +26031,12 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
25951
26031
  identity: z.ZodOptional<z.ZodString>;
25952
26032
  identityId: z.ZodOptional<z.ZodString>;
25953
26033
  identitySource: z.ZodEnum<{
26034
+ env: "env";
26035
+ none: "none";
25954
26036
  "config-dir-escape-hatch": "config-dir-escape-hatch";
25955
26037
  argv: "argv";
25956
- env: "env";
25957
26038
  "directory-pin": "directory-pin";
25958
26039
  "active-identity-file": "active-identity-file";
25959
- none: "none";
25960
26040
  }>;
25961
26041
  pool: z.ZodOptional<z.ZodObject<{
25962
26042
  name: z.ZodString;
@@ -26004,32 +26084,32 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
26004
26084
  }>>;
26005
26085
  layout: z.ZodOptional<z.ZodObject<{
26006
26086
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
26087
+ identity: "identity";
26007
26088
  model: "model";
26008
26089
  account: "account";
26009
- identity: "identity";
26010
26090
  provider: "provider";
26011
- version: "version";
26012
26091
  headroom: "headroom";
26013
- duration: "duration";
26014
26092
  route: "route";
26015
26093
  project: "project";
26016
26094
  vcs: "vcs";
26017
26095
  effort: "effort";
26018
26096
  advisor: "advisor";
26097
+ version: "version";
26019
26098
  outputStyle: "outputStyle";
26020
26099
  cost: "cost";
26021
26100
  dailyCost: "dailyCost";
26022
26101
  sessionName: "sessionName";
26102
+ duration: "duration";
26023
26103
  speed: "speed";
26024
26104
  extra: "extra";
26025
26105
  }>>>;
26026
26106
  rows: z.ZodOptional<z.ZodArray<z.ZodEnum<{
26027
26107
  context: "context";
26028
26108
  quota: "quota";
26029
- environment: "environment";
26030
26109
  addedDirs: "addedDirs";
26031
26110
  gitFiles: "gitFiles";
26032
26111
  memory: "memory";
26112
+ environment: "environment";
26033
26113
  sessionTime: "sessionTime";
26034
26114
  promptCache: "promptCache";
26035
26115
  compactions: "compactions";
@@ -26052,10 +26132,10 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
26052
26132
  merge: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEnum<{
26053
26133
  context: "context";
26054
26134
  quota: "quota";
26055
- environment: "environment";
26056
26135
  addedDirs: "addedDirs";
26057
26136
  gitFiles: "gitFiles";
26058
26137
  memory: "memory";
26138
+ environment: "environment";
26059
26139
  sessionTime: "sessionTime";
26060
26140
  promptCache: "promptCache";
26061
26141
  compactions: "compactions";
@@ -26069,10 +26149,10 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
26069
26149
  rightAlign: z.ZodOptional<z.ZodArray<z.ZodEnum<{
26070
26150
  context: "context";
26071
26151
  quota: "quota";
26072
- environment: "environment";
26073
26152
  addedDirs: "addedDirs";
26074
26153
  gitFiles: "gitFiles";
26075
26154
  memory: "memory";
26155
+ environment: "environment";
26076
26156
  sessionTime: "sessionTime";
26077
26157
  promptCache: "promptCache";
26078
26158
  compactions: "compactions";
@@ -26131,10 +26211,10 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
26131
26211
  hidden: "hidden";
26132
26212
  }>>;
26133
26213
  value: z.ZodOptional<z.ZodEnum<{
26134
- remaining: "remaining";
26135
26214
  tokens: "tokens";
26136
26215
  both: "both";
26137
26216
  percent: "percent";
26217
+ remaining: "remaining";
26138
26218
  }>>;
26139
26219
  estimate: z.ZodOptional<z.ZodEnum<{
26140
26220
  never: "never";
@@ -26176,8 +26256,8 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
26176
26256
  }, z.core.$strict>>;
26177
26257
  usage: z.ZodOptional<z.ZodObject<{
26178
26258
  value: z.ZodOptional<z.ZodEnum<{
26179
- used: "used";
26180
26259
  remaining: "remaining";
26260
+ used: "used";
26181
26261
  }>>;
26182
26262
  bar: z.ZodOptional<z.ZodBoolean>;
26183
26263
  compact: z.ZodOptional<z.ZodBoolean>;
@@ -26538,8 +26618,8 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
26538
26618
  claudeVersion: z.ZodOptional<z.ZodObject<{
26539
26619
  version: z.ZodString;
26540
26620
  source: z.ZodEnum<{
26541
- flag: "flag";
26542
26621
  environment: "environment";
26622
+ flag: "flag";
26543
26623
  cascade: "cascade";
26544
26624
  }>;
26545
26625
  }, z.core.$strict>>;
@@ -26926,6 +27006,10 @@ interface LiveSessionRegistry {
26926
27006
  * A record removed by someone else is therefore noticed by a presented token the view does not hold, or by the next `rescan`, not by a request for a token it holds: a removed record's capability stays admissible until the next `rescan`. A rewrite that leaves a record's modification time and size unchanged is likewise first seen at the next `rescan`.
26927
27007
  */
26928
27008
  readonly admits: (token: string) => boolean;
27009
+ /**
27010
+ * The id of the identity the launch holding `token` runs as, or undefined when no live launch holds the token or the launch recorded none (a launch from before records carried it). For a token `admits` has already accepted, so the lookup is not itself a capability check; an unknown token triggers one reconcile, as in `admits`.
27011
+ */
27012
+ readonly identityOf: (token: string) => string | undefined;
26929
27013
  /**
26930
27014
  * Re-reads every record in the directory, replacing what the view holds, and returns the listing it saw (sorted by pid, malformed files skipped, no token in it). The supervisor's tick calls this as its listing, so the registry is read once per tick for both the idle decision and the capabilities.
26931
27015
  */
@@ -27278,14 +27362,6 @@ declare function collectPoolPick(params: Readonly<{
27278
27362
  nowMs: number;
27279
27363
  }>): PoolPickReport;
27280
27364
 
27281
- /** The reads the session commands and procedures make: the reader's own, plus resolving a path to the real location it points at, which is how identities sharing one history store are told from identities with their own. */
27282
- interface SessionCommandFs extends AgentReadFs {
27283
- /** The real path `candidate` resolves to, or undefined when nothing is there. */
27284
- readonly realpath: (candidate: string) => string | undefined;
27285
- }
27286
- /** The real filesystem, for the commands and the door's sessions procedures. */
27287
- declare const realSessionFs: SessionCommandFs;
27288
-
27289
27365
  /**
27290
27366
  * Finding and reading sessions across identities, pure over an injected filesystem: the logic the \`session\` commands and the door's \`sessions\` procedures share, free of command-line dependencies so the library surface can export it.
27291
27367
  */
@@ -27852,5 +27928,5 @@ declare const OWN_CLI_FILE_NAME = "cli.cjs";
27852
27928
  */
27853
27929
  declare function agentShimCliPath(distDir?: string | undefined): string;
27854
27930
 
27855
- export { AMBIENT_CREDENTIAL_VARS, AgentKindSchema, AgentMetaSchema, AgentNodeSchema, AgentTreesListInputSchema, AgentTreesListOutputSchema, AgentTreesShowInputSchema, AgentTreesShowOutputSchema, CHECK_CREDENTIAL_APPLIES, CODEX_APP_SERVER_GENERATED_AGAINST, CODEX_APP_SERVER_TIMEOUT_MS, CONNECT_INTERCEPT_HOST, CONNECT_INTERCEPT_HOSTS, CONNECT_LIMITS, CONTROL_PATH_PREFIX, CategoryClassificationOverlaySchema, CategoryClassificationSchema, CategoryMapSchema, CheckReportJsonSchema, CheckRunInputSchema, CliError, CodexAccountReadSchema, CodexAppServerProtocolError, CodexAppServerRequestError, CodexAppServerUnavailableError, CodexLogoutOutputSchema, CodexRateLimitsReadSchema, CodexSignInSchema, CodexStatusOutputSchema, ConfigIdentityAddInputSchema, ConfigIdentityAddOutputSchema, ConfigIdentityRemoveInputSchema, ConfigIdentityRemoveOutputSchema, ConfigIdentitySetInputSchema, ConfigIdentitySetOutputSchema, ConfigIdentityUseOutputSchema, ConfigNameInputSchema, ConfigPoolAddInputSchema, ConfigPoolAddOutputSchema, ConfigPoolRemoveInputSchema, ConfigPoolRemoveOutputSchema, ConfigPoolSetInputSchema, ConfigPoolSetOutputSchema, ConfigPoolUseOutputSchema, ConfigProfileAddInputSchema, ConfigProfileAddOutputSchema, ConfigProfileRemoveInputSchema, ConfigProfileRemoveOutputSchema, ConfigProfileSchema, ConfigProfileSetInputSchema, ConfigProfileSetOutputSchema, ConfigProfileUseOutputSchema, ConfigProviderAddInputSchema, ConfigProviderAddOutputSchema, ConfigProviderRemoveInputSchema, ConfigProviderRemoveOutputSchema, ConfigProviderSetInputSchema, ConfigProviderSetOutputSchema, ConfigRuleAddInputSchema, ConfigRuleAddOutputSchema, ConfigRuleRemoveInputSchema, ConfigRuleRemoveOutputSchema, ConfigRuleSetInputSchema, ConfigRuleSetOutputSchema, CredentialCacheSchema, CredentialSchema, CredentialSourceSchema, CredentialSummarySchema, DOOR_EVENT_BUFFER_EVENTS, DOOR_EVENT_SOURCE_RC, DOOR_HEALTH_EVENT_SOURCE, DirectoryRuleAlreadyExistsError, DirectoryRuleMissingTargetError, DirectoryRuleNotFoundError, DirectoryRuleSchema, DirectoryRulesSchema, DoctorFindingSchema, DoctorRunOutputSchema, DoorEventSchema, DoorEventSourceQuerySchema, DoorHealthEventSchema, DuplicateIdentityNameError, EXIT_FAILURE, EXIT_USAGE, EffectiveWindowSchema, EntryValueSchema, FARM_MANIFEST_FILENAME, FrontDoorControlMaterialError, FrontDoorNotServingError, FrontDoorRestartOutputSchema, FrontDoorSessionStatusSchema, FrontDoorSessionsOutputSchema, FrontDoorStartError, FrontDoorStateSchema, FrontDoorStatusOutputSchema, GlobalConfigSchema, HeadroomSocketTargetSchema, HeadroomStartError, IdentityAlreadyExistsError, IdentityNotFoundError, IdentitySchema, InvalidCategoryNameError, InvalidIdentityNameError, InvalidProviderNameError, LAUNCH_EVENT_SOURCE, LIVE_TASK_CAP, LaunchLifecycleEventSchema, LaunchRefusedError, LaunchResolveInputSchema, LaunchResolveOutputSchema, LegacyProviderFileError, LiveTaskSchema, MergedAgentNodeSchema, MergedAgentTreeSchema, OWN_CLI_FILE_NAME, PROMPT_CACHE_TTL_MS, PlanClassSchema, PoolGraphError, PoolNameSchema, PoolNotFoundError, PoolPickReportSchema, PoolSchema, PortableConfigSchema, ProfileAlreadyExistsError, ProfileNotFoundError, ProviderAlreadyExistsError, ProviderKindMismatchError, ProviderNotFoundError, ProviderSchema, QUOTA_EXPIRING_EVENT_SOURCE, QuotaExpiringEventSchema, RC_CONTEXT_USAGE_DETAILS, RC_IDLE_EXPIRY_MS, RC_ORPC_PATH_PREFIX, RC_PENDING_DEADLINE_MS, RC_PENDING_RETIRE_REASONS, RC_PERMISSION_MODES, RC_READ_FILE_ENCODINGS, RC_REQUEST_PARSE_CAP_BYTES, RC_SELF_HOST_ENV, RC_SELF_HOST_KEEPALIVE_MS, RC_SELF_HOST_RECORD_DIR, RC_SELF_HOST_RECORD_FILE, RC_SELF_HOST_RETENTION_MS, RC_SELF_HOST_SCOPE_LIST, RC_SELF_HOST_WORKER_JWT_TTL_SECONDS, RC_SESSIONS_PATH_PREFIX, RC_SESSION_END_REASONS, RC_SESSION_EVENT_LOG_CAPACITY, RC_STREAM_BACKOFF_MS, RC_WEB_FETCH_ALLOW_PRIVATE_ENV, RC_WEB_FETCH_DEADLINE_MS, RC_WEB_FETCH_MAX_BYTES, RC_WEB_FETCH_MAX_REDIRECTS, ROUTED_PATH_PREFIX, RcLiveRateLimitSchema, RcPermissionModeSchema, RcRateLimitInfoSchema, RcRateLimitWindowSchema, RcSessionEventCursorExpiredError, RcSessionEventSchema, RcSessionEventsPageInputSchema, RcSessionEventsReadInputSchema, RcSessionEventsReadOutputSchema, RcSessionEventsStreamInputSchema, RcSessionTransitionSchema, RcStreamEnvelopeSchema, RcStreamEventSchema, ResetRowSchema, ResetScheduleSchema, SessionAgentTreeSchema, SessionLookupError, SessionSummarySchema, TaskItemSchema, USAGE_EVENT_SOURCE, UpdateCheckOutputSchema, UsageChangeEventSchema, UsageError, UsageListOutputSchema, UsageLiveOutputSchema, UsageSnapshotError, UsageSnapshotSchema, UsageWindowsInputSchema, UsageWindowsOutputSchema, WhenSchema, WorkflowRunSchema, addDirectoryRule, addIdentity, addPool, addProvider, agentShimCliPath, answerRcControlRequest, applyAgentTaskEvent, authenticateRcSessionMcpServer, buildEntryFacts, buildLayoutPaths, buildRcControlRequestPayload, buildRcControlResponsePayload, buildRcEndSessionPayload, buildRcEventWriteBody, buildRcFileSuggestionsPayload, buildRcGetContextUsagePayload, buildRcGetUsagePayload, buildRcInterruptPayload, buildRcKeepAlivePayload, buildRcMarkReadBody, buildRcMcpAuthenticatePayload, buildRcMcpOAuthCallbackUrlPayload, buildRcMcpReconnectPayload, buildRcMcpStatusPayload, buildRcReadFilePayload, buildRcSetModelPayload, buildRcSetPermissionModePayload, buildRcUserMessagePayload, carryOver, changePool, checkReportHasWarnings, checkReportToJson, collectCheckReport, collectDoctorReport, collectFrontDoorStatus, collectPoolPick, collectResets, collectSessionList, createAgentTreesApiRouter, createCodexApiRouter, createConfigApiRouter, createControlApiRouter, createDoorApiNodeHandler, createDoorApiRouter, createDoorEventHub, createDoorHealthPublisher, createEventsApiRouter, createLaunchApiRouter, createLaunchEventPublisher, createLeafCache, createLifecycleApiRouter, createLiveSessionRegistry, createProfile, createQuotaExpiringPublisher, createRcApiNodeHandler, createRcApiRouter, createRcControlHandler, createRcCredentialStore, createRcEventFanout, createRcLiveUsage, createRcSelfHostSurface, createRcSessionEventLog, createRcSessionEventsApiRouter, createRcSessionTracker, createRcStreamHub, createSseParser, describeProviderEndpoint, detectAmbientCredential, doorApiAuth, doorApiNodeHandlerOf, effectiveWindow, endRcSession, ensureCa, ensureFrontDoor, ensureHeadroom, evaluateAmbientCredentialGuard, evaluateWhen, fetchThroughWebProxy, followRcSessionEvents, formatAmbientCredentialGuardMessage, formatCheckReport, formatDoctorReport, formatFrontDoorStatus, forwardableHeaders, frontDoorApiClient, frontDoorApiFromState, frontDoorApiLink, frontDoorRcApiClient, frontDoorRcControl, generateCa, getRcSessionContextUsage, getRcSessionMcpStatus, getRcSessionUsage, headroomSocketTarget, identityExists, identityIdOf, identityNameOf, identityRecords, injectRcUserMessage, interruptRcSession, isIdentityDirectoryName, isInterceptedHost, isPrivateAddress, isRcContextUsageDetail, isRcPermissionMode, isRcReadFileEncoding, lateRcEventDial, lateRcStreamDial, launchRequiredUpstreams, listDirectoryRules, listIdentities, listProfiles, listProviders, listSessions, listUsageSnapshots, locateSession, matchBranch, mergeLiveTasks, mintLeaf, mintRcSelfHostCredential, observingRoutedRoute, parseConnectTarget, parseRcStreamEnvelope, planOf, poolIdentities, poolSelectedByLaunch, prepareClaudeLaunch, prepareLaunch, profileExists, providerExists, rankPool, rcEventWriteResultFromAnswer, rcFanoutOnDoorHub, rcObserverAsPassthrough, rcRateLimitInfoOf, rcSelfHostFromEnv, rcWebFetchAllowsPrivateFromEnv, readActiveIdentity, readCodexAccount, readCodexRateLimits, readDirectoryRules, readFarmManifest, readFrontDoorControlMaterial, readGlobalConfig, readIdentity, readIdentityById, readIdentityRecords, readPools, readProfile, readProvider, readRcSelfHostRecord, readRcSessionFile, readSessionAgentTree, readUsageSnapshot, realCodexAppServerPort, realConnectCertStore, realConnectEffects, realRcControlTransport, realRcEventDial, realRcStreamDial, realRcWebFetch, realSessionFs, reconnectRcSessionMcpServer, recoverFarm, recoveryDiagnostics, refreshLaunchPoolUsage, refreshPoolUsage, refreshStalePoolMembers, removeDirectoryRule, removeIdentity, removePool, removeProfile, removeProvider, requirePool, resolveAgentShimHome, resolveClaudeHome, resolveClaudeLaunch, resolveDecisions, resolveLaunch, resolveLaunchSelection, resolveLayoutPaths, resolveSupervisorConfig, resyncFarm, runCheck, runClaudeLaunch, runDoctor, runFrontDoorSupervisor, runLaunchPlan, runLauncher, runSupervisor, sendRcKeepAlive, servedByPipeline, setAllowAmbientCredential, setDefaultConfigProfile, setGlobalDefaultProfile, setIdentityCredential, setProfileCategories, setProfileEntries, setProfileLaunchFlags, setProfileMetadata, setRcSessionModel, setRcSessionPermissionMode, showSession, snapshotPath, spawnClaude, startConnectServer, submitRcSessionMcpOAuthCallbackUrl, suggestRcSessionFiles, summariseSession, teleportRcSession, topLevelNames, updateDirectoryRule, updateProvider, useIdentity, watchedInstallEntry, writeDirectoryRules };
27856
- export type { AddDirectoryRuleOptions, AddProviderInput, AgentKind, AgentNode, AgentReadFs, AgentTreesApiDeps, AgentTreesApiRouter, AmbientCredentialDetection, AmbientCredentialGuardResult, AmbientCredentialVar, AnthropicUsageRefresher, BuildEntryFactsParams, CaMaterial, Candidate, CarryOverParams, CarryOverResult, CategoryMap, CheckReport, CheckReportJson, ClaudeLaunchResolution, CodexAccountRead, CodexApiClient, CodexApiDeps, CodexApiRouter, CodexAppServerConnection, CodexAppServerPort, CodexAppServerReadOptions, CodexRateLimitsRead, CollectCheckReportParams, CollectDoctorReportParams, CompiledRule, ConditionContext, ConfigApiDeps, ConfigApiRouter, ConfigProfile, ConnectCertStore, ConnectEffects, ConnectLimits, ConnectLocalSurface, ConnectServerConfig, ConnectServerHandle, ConnectTarget, ControlApiClient, ControlApiDeps, ControlApiRouter, Credential, CredentialSource, Decision, Diagnostic, DirectoryRule, DirectoryRules, DoctorReport, DoorApiClient, DoorApiContext, DoorApiDeps, DoorApiRouter, DoorEvent, DoorEventHub, DoorEventPublisher, DoorEventStream, DoorEventsApiDeps, DoorHealthEvent, DoorHealthPublisher, EffectiveWindow, EliminatedRule, EnsureFrontDoorPorts, EnsureHeadroomPorts, EntryFact, EntryFacts, EntryValue, EvaluateAmbientCredentialGuardParams, FlattenedCascade, FrontDoorControlMaterial, FrontDoorRcControl, FrontDoorSessionStatus, FrontDoorStatus, FrontDoorSupervisorPorts, GlobalConfig, HeadroomSupervisorConfig, Identity, IdentityCredentialChange, IdentityListEntry, IdentityListing, IdentityNameRead, IdentityRecord, IdentityRecordsPort, IdentitySession, InjectedCredential, LaunchApiDeps, LaunchApiRouter, LaunchDecision, LaunchEventPublisher, LaunchLifecycleEvent, LaunchPlan, LaunchPoolDecision, LaunchResolution, LaunchSelection, Layer, LayerId, LayoutPaths, LeafCert, LifecycleApiClient, LifecycleApiDeps, LifecycleApiRouter, LiveSessionRegistry, LiveSessionRegistryPorts, LiveTask, LiveTaskBook, LocatedSession, MergedAgentNode, MergedAgentTree, NestedContribution, OwnExecutableStat, PlanClass, Pool, PoolChange, PoolMember, PoolPickReport, PoolPolicy, PoolRanking, PortableConfig, PrepareClaudeLaunchOptions, PrepareLaunchParams, ProfileListEntry, Provider, ProviderListEntry, QuotaExpiringEvent, QuotaExpiringPublisher, RankPoolInput, RcAnswerDecision, RcAnswerDeps, RcApiClient, RcApiDeps, RcApiRouter, RcContextUsageDetail, RcControlAnswer, RcControlHandlerDeps, RcControlRequestDeps, RcControlTransport, RcCredentialStore, RcDialAnswer, RcDialTarget, RcEventDial, RcEventFanout, RcEventWriteResult, RcExchangeObserver, RcInjectDeps, RcLiveRateLimit, RcLiveUsage, RcLiveUsageDeps, RcObservedCredential, RcObservedRequest, RcPendingRequestSummary, RcPendingRetireReason, RcPermissionMode, RcPresenceAnswer, RcRateLimitInfo, RcRateLimitWindow, RcReadFileEncoding, RcReadFileOptions, RcSelfHostCredentialRecord, RcSelfHostDeps, RcSelfHostMintResult, RcSelfHostSurface, RcSessionEndReason, RcSessionEvent, RcSessionEventLog, RcSessionEventLogDeps, RcSessionEventsApiDeps, RcSessionEventsApiRouter, RcSessionEventsRead, RcSessionEventsReadInput, RcSessionStatus, RcSessionSummary, RcSessionTracker, RcSessionTrackerDeps, RcSessionTransition, RcStreamAnswer, RcStreamDial, RcStreamEnvelope, RcStreamEvent, RcStreamHub, RcStreamHubDeps, RcWebFetchDeps, RcWebFetchHop, RcWebFetchOutcome, RcWebFetcher, RcWorkerFact, RcWriteHeaders, ReadSessionOptions, RecoverFarmParams, RecoveryResult, RefreshLaunchPoolUsageOptions, RefreshPoolUsageParams, RefreshStalePoolMembersParams, ResetRow, ResetSchedule, ResolveClaudeLaunchOptions, ResolveDecisionsInput, ResolveLaunchSelectionParams, ResolvedState, ResyncFarmParams, ResyncFarmResult, RunCheckParams, RunClaudeLaunchOptions, RunDoctorParams, RunFrontDoorSupervisorOptions, RunLauncherParams, RunSupervisorOptions, SessionAgentTree, SessionCommandFs, SessionListFilters, SessionRef, SessionSummary, SessionView, SpawnClaudeParams, SseParsedEvent, StickyPick, SupervisorPorts, TaskItem, UnreadableIdentityListEntry, UpdateDirectoryRuleOptions, UpdateProviderInput, UsageChangeEvent, UsageReadFs, UsageSnapshot, WhenCondition, WhenEvaluation, WorkflowRun };
27931
+ export { AMBIENT_CREDENTIAL_VARS, AgentKindSchema, AgentMetaSchema, AgentNodeSchema, AgentTreesListInputSchema, AgentTreesListOutputSchema, AgentTreesShowInputSchema, AgentTreesShowOutputSchema, CHECK_CREDENTIAL_APPLIES, CODEX_APP_SERVER_GENERATED_AGAINST, CODEX_APP_SERVER_TIMEOUT_MS, CONNECT_INTERCEPT_HOST, CONNECT_INTERCEPT_HOSTS, CONNECT_LIMITS, CONTROL_PATH_PREFIX, CategoryClassificationOverlaySchema, CategoryClassificationSchema, CategoryMapSchema, CheckReportJsonSchema, CheckRunInputSchema, CliError, CodexAccountReadSchema, CodexAppServerProtocolError, CodexAppServerRequestError, CodexAppServerUnavailableError, CodexLogoutOutputSchema, CodexRateLimitsReadSchema, CodexSignInSchema, CodexStatusOutputSchema, ConfigIdentityAddInputSchema, ConfigIdentityAddOutputSchema, ConfigIdentityRemoveInputSchema, ConfigIdentityRemoveOutputSchema, ConfigIdentitySetInputSchema, ConfigIdentitySetOutputSchema, ConfigIdentityUseOutputSchema, ConfigNameInputSchema, ConfigPoolAddInputSchema, ConfigPoolAddOutputSchema, ConfigPoolRemoveInputSchema, ConfigPoolRemoveOutputSchema, ConfigPoolSetInputSchema, ConfigPoolSetOutputSchema, ConfigPoolUseOutputSchema, ConfigProfileAddInputSchema, ConfigProfileAddOutputSchema, ConfigProfileRemoveInputSchema, ConfigProfileRemoveOutputSchema, ConfigProfileSchema, ConfigProfileSetInputSchema, ConfigProfileSetOutputSchema, ConfigProfileUseOutputSchema, ConfigProviderAddInputSchema, ConfigProviderAddOutputSchema, ConfigProviderRemoveInputSchema, ConfigProviderRemoveOutputSchema, ConfigProviderSetInputSchema, ConfigProviderSetOutputSchema, ConfigRuleAddInputSchema, ConfigRuleAddOutputSchema, ConfigRuleRemoveInputSchema, ConfigRuleRemoveOutputSchema, ConfigRuleSetInputSchema, ConfigRuleSetOutputSchema, CredentialCacheSchema, CredentialSchema, CredentialSourceSchema, CredentialSummarySchema, DOOR_EVENT_BUFFER_EVENTS, DOOR_EVENT_SOURCE_RC, DOOR_HEALTH_EVENT_SOURCE, DirectoryRuleAlreadyExistsError, DirectoryRuleMissingTargetError, DirectoryRuleNotFoundError, DirectoryRuleSchema, DirectoryRulesSchema, DoctorFindingSchema, DoctorRunOutputSchema, DoorEventSchema, DoorEventSourceQuerySchema, DoorHealthEventSchema, DuplicateIdentityNameError, EXIT_FAILURE, EXIT_USAGE, EffectiveWindowSchema, EntryValueSchema, FARM_MANIFEST_FILENAME, FrontDoorControlMaterialError, FrontDoorNotServingError, FrontDoorRestartOutputSchema, FrontDoorSessionStatusSchema, FrontDoorSessionsOutputSchema, FrontDoorStartError, FrontDoorStateSchema, FrontDoorStatusOutputSchema, GlobalConfigSchema, HeadroomSocketTargetSchema, HeadroomStartError, IdentityAlreadyExistsError, IdentityNotFoundError, IdentitySchema, InvalidCategoryNameError, InvalidIdentityNameError, InvalidProviderNameError, LAUNCH_EVENT_SOURCE, LIVE_TASK_CAP, LaunchLifecycleEventSchema, LaunchRefusedError, LaunchResolveInputSchema, LaunchResolveOutputSchema, LegacyProviderFileError, LiveTaskSchema, MergedAgentNodeSchema, MergedAgentTreeSchema, OWN_CLI_FILE_NAME, PROMPT_CACHE_TTL_MS, PlanClassSchema, PoolGraphError, PoolNameSchema, PoolNotFoundError, PoolPickReportSchema, PoolSchema, PortableConfigSchema, ProfileAlreadyExistsError, ProfileNotFoundError, ProviderAlreadyExistsError, ProviderKindMismatchError, ProviderNotFoundError, ProviderSchema, QUOTA_EXPIRING_EVENT_SOURCE, QuotaExpiringEventSchema, RC_CONTEXT_USAGE_DETAILS, RC_IDLE_EXPIRY_MS, RC_ORPC_PATH_PREFIX, RC_PENDING_DEADLINE_MS, RC_PENDING_RETIRE_REASONS, RC_PERMISSION_MODES, RC_READ_FILE_ENCODINGS, RC_REQUEST_PARSE_CAP_BYTES, RC_SELF_HOST_ENV, RC_SELF_HOST_KEEPALIVE_MS, RC_SELF_HOST_RECORD_DIR, RC_SELF_HOST_RECORD_FILE, RC_SELF_HOST_RETENTION_MS, RC_SELF_HOST_SCOPE_LIST, RC_SELF_HOST_WORKER_JWT_TTL_SECONDS, RC_SESSIONS_PATH_PREFIX, RC_SESSION_END_REASONS, RC_SESSION_EVENT_LOG_CAPACITY, RC_STREAM_BACKOFF_MS, RC_WEB_FETCH_ALLOW_PRIVATE_ENV, RC_WEB_FETCH_DEADLINE_MS, RC_WEB_FETCH_MAX_BYTES, RC_WEB_FETCH_MAX_REDIRECTS, ROUTED_PATH_PREFIX, RcLiveRateLimitSchema, RcPermissionModeSchema, RcRateLimitInfoSchema, RcRateLimitWindowSchema, RcSessionEventCursorExpiredError, RcSessionEventSchema, RcSessionEventsPageInputSchema, RcSessionEventsReadInputSchema, RcSessionEventsReadOutputSchema, RcSessionEventsStreamInputSchema, RcSessionTransitionSchema, RcStreamEnvelopeSchema, RcStreamEventSchema, ResetRowSchema, ResetScheduleSchema, SessionAgentTreeSchema, SessionLookupError, SessionSummarySchema, TaskItemSchema, USAGE_EVENT_SOURCE, UpdateCheckOutputSchema, UsageChangeEventSchema, UsageError, UsageListOutputSchema, UsageLiveOutputSchema, UsageSnapshotError, UsageSnapshotSchema, UsageWindowsInputSchema, UsageWindowsOutputSchema, WhenSchema, WorkflowRunSchema, addDirectoryRule, addIdentity, addPool, addProvider, agentShimCliPath, answerRcControlRequest, applyAgentTaskEvent, authenticateRcSessionMcpServer, buildEntryFacts, buildLayoutPaths, buildRcControlRequestPayload, buildRcControlResponsePayload, buildRcEndSessionPayload, buildRcEventWriteBody, buildRcFileSuggestionsPayload, buildRcGetContextUsagePayload, buildRcGetUsagePayload, buildRcInterruptPayload, buildRcKeepAlivePayload, buildRcMarkReadBody, buildRcMcpAuthenticatePayload, buildRcMcpOAuthCallbackUrlPayload, buildRcMcpReconnectPayload, buildRcMcpStatusPayload, buildRcReadFilePayload, buildRcSetModelPayload, buildRcSetPermissionModePayload, buildRcUserMessagePayload, carryOver, changePool, checkReportHasWarnings, checkReportToJson, collectCheckReport, collectDoctorReport, collectFrontDoorStatus, collectPoolPick, collectResets, collectSessionList, createAgentTreesApiRouter, createCodexApiRouter, createConfigApiRouter, createControlApiRouter, createDoorApiNodeHandler, createDoorApiRouter, createDoorEventHub, createDoorHealthPublisher, createEventsApiRouter, createLaunchApiRouter, createLaunchEventPublisher, createLeafCache, createLifecycleApiRouter, createLiveSessionRegistry, createProfile, createQuotaExpiringPublisher, createRcApiNodeHandler, createRcApiRouter, createRcControlHandler, createRcCredentialStore, createRcEventFanout, createRcLiveUsage, createRcSelfHostSurface, createRcSessionEventLog, createRcSessionEventsApiRouter, createRcSessionRegistryReader, createRcSessionTracker, createRcStreamHub, createSseParser, describeProviderEndpoint, detectAmbientCredential, doorApiAuth, doorApiNodeHandlerOf, effectiveWindow, endRcSession, ensureCa, ensureFrontDoor, ensureHeadroom, evaluateAmbientCredentialGuard, evaluateWhen, fetchThroughWebProxy, followRcSessionEvents, formatAmbientCredentialGuardMessage, formatCheckReport, formatDoctorReport, formatFrontDoorStatus, forwardableHeaders, frontDoorApiClient, frontDoorApiFromState, frontDoorApiLink, frontDoorRcApiClient, frontDoorRcControl, generateCa, getRcSessionContextUsage, getRcSessionMcpStatus, getRcSessionUsage, headroomSocketTarget, identityExists, identityIdOf, identityNameOf, identityRecords, injectRcUserMessage, interruptRcSession, isIdentityDirectoryName, isInterceptedHost, isPrivateAddress, isRcContextUsageDetail, isRcPermissionMode, isRcReadFileEncoding, lateRcEventDial, lateRcStreamDial, launchRequiredUpstreams, listDirectoryRules, listIdentities, listProfiles, listProviders, listSessions, listUsageSnapshots, locateSession, matchBranch, mergeLiveTasks, mintLeaf, mintRcSelfHostCredential, observingRoutedRoute, parseConnectTarget, parseRcStreamEnvelope, planOf, poolIdentities, poolSelectedByLaunch, prepareClaudeLaunch, prepareLaunch, profileExists, providerExists, rankPool, rcEventWriteResultFromAnswer, rcFanoutOnDoorHub, rcObserverAsPassthrough, rcRateLimitInfoOf, rcSelfHostFromEnv, rcStatusWithRegistry, rcWebFetchAllowsPrivateFromEnv, readActiveIdentity, readCodexAccount, readCodexRateLimits, readDirectoryRules, readFarmManifest, readFrontDoorControlMaterial, readGlobalConfig, readIdentity, readIdentityById, readIdentityRecords, readPools, readProfile, readProvider, readRcSelfHostRecord, readRcSessionFile, readSessionAgentTree, readUsageSnapshot, realCodexAppServerPort, realConnectCertStore, realConnectEffects, realRcControlTransport, realRcEventDial, realRcStreamDial, realRcWebFetch, realSessionFs, reconnectRcSessionMcpServer, recoverFarm, recoveryDiagnostics, refreshLaunchPoolUsage, refreshPoolUsage, refreshStalePoolMembers, removeDirectoryRule, removeIdentity, removePool, removeProfile, removeProvider, requirePool, resolveAgentShimHome, resolveClaudeHome, resolveClaudeLaunch, resolveDecisions, resolveLaunch, resolveLaunchSelection, resolveLayoutPaths, resolveSupervisorConfig, resyncFarm, runCheck, runClaudeLaunch, runDoctor, runFrontDoorSupervisor, runLaunchPlan, runLauncher, runSupervisor, sendRcKeepAlive, servedByPipeline, setAllowAmbientCredential, setDefaultConfigProfile, setGlobalDefaultProfile, setIdentityCredential, setProfileCategories, setProfileEntries, setProfileLaunchFlags, setProfileMetadata, setRcSessionModel, setRcSessionPermissionMode, showSession, snapshotPath, spawnClaude, startConnectServer, submitRcSessionMcpOAuthCallbackUrl, suggestRcSessionFiles, summariseSession, teleportRcSession, topLevelNames, updateDirectoryRule, updateProvider, useIdentity, watchedInstallEntry, withRegisteredSessionFacts, writeDirectoryRules };
27932
+ export type { AddDirectoryRuleOptions, AddProviderInput, AgentKind, AgentNode, AgentReadFs, AgentTreesApiDeps, AgentTreesApiRouter, AmbientCredentialDetection, AmbientCredentialGuardResult, AmbientCredentialVar, AnthropicUsageRefresher, BuildEntryFactsParams, CaMaterial, Candidate, CarryOverParams, CarryOverResult, CategoryMap, CheckReport, CheckReportJson, ClaudeLaunchResolution, CodexAccountRead, CodexApiClient, CodexApiDeps, CodexApiRouter, CodexAppServerConnection, CodexAppServerPort, CodexAppServerReadOptions, CodexRateLimitsRead, CollectCheckReportParams, CollectDoctorReportParams, CompiledRule, ConditionContext, ConfigApiDeps, ConfigApiRouter, ConfigProfile, ConnectCertStore, ConnectEffects, ConnectLimits, ConnectLocalSurface, ConnectServerConfig, ConnectServerHandle, ConnectTarget, ControlApiClient, ControlApiDeps, ControlApiRouter, Credential, CredentialSource, Decision, Diagnostic, DirectoryRule, DirectoryRules, DoctorReport, DoorApiClient, DoorApiContext, DoorApiDeps, DoorApiRouter, DoorEvent, DoorEventHub, DoorEventPublisher, DoorEventStream, DoorEventsApiDeps, DoorHealthEvent, DoorHealthPublisher, EffectiveWindow, EliminatedRule, EnsureFrontDoorPorts, EnsureHeadroomPorts, EntryFact, EntryFacts, EntryValue, EvaluateAmbientCredentialGuardParams, FlattenedCascade, FrontDoorControlMaterial, FrontDoorRcControl, FrontDoorSessionStatus, FrontDoorStatus, FrontDoorSupervisorPorts, GlobalConfig, HeadroomSupervisorConfig, Identity, IdentityCredentialChange, IdentityListEntry, IdentityListing, IdentityNameRead, IdentityRecord, IdentityRecordsPort, IdentitySession, InjectedCredential, LaunchApiDeps, LaunchApiRouter, LaunchDecision, LaunchEventPublisher, LaunchLifecycleEvent, LaunchPlan, LaunchPoolDecision, LaunchResolution, LaunchSelection, Layer, LayerId, LayoutPaths, LeafCert, LifecycleApiClient, LifecycleApiDeps, LifecycleApiRouter, LiveSessionRegistry, LiveSessionRegistryPorts, LiveTask, LiveTaskBook, LocatedSession, MergedAgentNode, MergedAgentTree, NestedContribution, OwnExecutableStat, PlanClass, Pool, PoolChange, PoolMember, PoolPickReport, PoolPolicy, PoolRanking, PortableConfig, PrepareClaudeLaunchOptions, PrepareLaunchParams, ProfileListEntry, Provider, ProviderListEntry, QuotaExpiringEvent, QuotaExpiringPublisher, RankPoolInput, RcAnswerDecision, RcAnswerDeps, RcApiClient, RcApiDeps, RcApiRouter, RcContextUsageDetail, RcControlAnswer, RcControlHandlerDeps, RcControlRequestDeps, RcControlTransport, RcCredentialStore, RcDialAnswer, RcDialTarget, RcEventDial, RcEventFanout, RcEventWriteResult, RcExchangeObserver, RcInjectDeps, RcLiveRateLimit, RcLiveUsage, RcLiveUsageDeps, RcObservedCredential, RcObservedRequest, RcPendingRequestSummary, RcPendingRetireReason, RcPermissionMode, RcPresenceAnswer, RcRateLimitInfo, RcRateLimitWindow, RcReadFileEncoding, RcReadFileOptions, RcRegisteredSession, RcRegistryIdentity, RcSelfHostCredentialRecord, RcSelfHostDeps, RcSelfHostMintResult, RcSelfHostSurface, RcSessionEndReason, RcSessionEvent, RcSessionEventLog, RcSessionEventLogDeps, RcSessionEventsApiDeps, RcSessionEventsApiRouter, RcSessionEventsRead, RcSessionEventsReadInput, RcSessionRegistryDeps, RcSessionRegistryFs, RcSessionStatus, RcSessionSummary, RcSessionTracker, RcSessionTrackerDeps, RcSessionTransition, RcStreamAnswer, RcStreamDial, RcStreamEnvelope, RcStreamEvent, RcStreamHub, RcStreamHubDeps, RcWebFetchDeps, RcWebFetchHop, RcWebFetchOutcome, RcWebFetcher, RcWorkerFact, RcWriteHeaders, ReadSessionOptions, RecoverFarmParams, RecoveryResult, RefreshLaunchPoolUsageOptions, RefreshPoolUsageParams, RefreshStalePoolMembersParams, ResetRow, ResetSchedule, ResolveClaudeLaunchOptions, ResolveDecisionsInput, ResolveLaunchSelectionParams, ResolvedState, ResyncFarmParams, ResyncFarmResult, RunCheckParams, RunClaudeLaunchOptions, RunDoctorParams, RunFrontDoorSupervisorOptions, RunLauncherParams, RunSupervisorOptions, SessionAgentTree, SessionCommandFs, SessionListFilters, SessionRef, SessionSummary, SessionView, SpawnClaudeParams, SseParsedEvent, StickyPick, SupervisorPorts, TaskItem, UnreadableIdentityListEntry, UpdateDirectoryRuleOptions, UpdateProviderInput, UsageChangeEvent, UsageReadFs, UsageSnapshot, WhenCondition, WhenEvaluation, WorkflowRun };