claude-use 11.86.5 → 11.87.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.
@@ -298,8 +298,8 @@ declare const LaunchSchema: z.ZodObject<{
298
298
  layout: z.ZodOptional<z.ZodObject<{
299
299
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
300
300
  model: "model";
301
- identity: "identity";
302
301
  account: "account";
302
+ identity: "identity";
303
303
  provider: "provider";
304
304
  version: "version";
305
305
  headroom: "headroom";
@@ -917,8 +917,8 @@ declare const CredentialSchema: z.ZodObject<{
917
917
  literal: z.ZodString;
918
918
  }, z.core.$strict>]>>;
919
919
  target: z.ZodOptional<z.ZodEnum<{
920
- bearer: "bearer";
921
920
  apiKey: "apiKey";
921
+ bearer: "bearer";
922
922
  oauthToken: "oauthToken";
923
923
  }>>;
924
924
  cache: z.ZodOptional<z.ZodObject<{
@@ -1052,8 +1052,8 @@ declare const ProviderSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1052
1052
  }>>;
1053
1053
  }, z.core.$strict>>;
1054
1054
  target: z.ZodOptional<z.ZodEnum<{
1055
- bearer: "bearer";
1056
1055
  apiKey: "apiKey";
1056
+ bearer: "bearer";
1057
1057
  }>>;
1058
1058
  }, z.core.$strict>;
1059
1059
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -1190,8 +1190,8 @@ declare const ProviderSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1190
1190
  }>>;
1191
1191
  }, z.core.$strict>>;
1192
1192
  target: z.ZodOptional<z.ZodEnum<{
1193
- bearer: "bearer";
1194
1193
  apiKey: "apiKey";
1194
+ bearer: "bearer";
1195
1195
  }>>;
1196
1196
  }, z.core.$strict>;
1197
1197
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -1260,8 +1260,8 @@ declare const ProviderSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1260
1260
  }>>;
1261
1261
  }, z.core.$strict>>;
1262
1262
  target: z.ZodOptional<z.ZodEnum<{
1263
- bearer: "bearer";
1264
1263
  apiKey: "apiKey";
1264
+ bearer: "bearer";
1265
1265
  }>>;
1266
1266
  }, z.core.$strict>;
1267
1267
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -1528,8 +1528,8 @@ declare const ConfigProfileSchema: z.ZodObject<{
1528
1528
  layout: z.ZodOptional<z.ZodObject<{
1529
1529
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1530
1530
  model: "model";
1531
- identity: "identity";
1532
1531
  account: "account";
1532
+ identity: "identity";
1533
1533
  provider: "provider";
1534
1534
  version: "version";
1535
1535
  headroom: "headroom";
@@ -2378,8 +2378,8 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2378
2378
  layout: z.ZodOptional<z.ZodObject<{
2379
2379
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2380
2380
  model: "model";
2381
- identity: "identity";
2382
2381
  account: "account";
2382
+ identity: "identity";
2383
2383
  provider: "provider";
2384
2384
  version: "version";
2385
2385
  headroom: "headroom";
@@ -3154,8 +3154,8 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3154
3154
  layout: z.ZodOptional<z.ZodObject<{
3155
3155
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3156
3156
  model: "model";
3157
- identity: "identity";
3158
3157
  account: "account";
3158
+ identity: "identity";
3159
3159
  provider: "provider";
3160
3160
  version: "version";
3161
3161
  headroom: "headroom";
@@ -3930,8 +3930,8 @@ declare const PortableConfigSchema: z.ZodObject<{
3930
3930
  layout: z.ZodOptional<z.ZodObject<{
3931
3931
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3932
3932
  model: "model";
3933
- identity: "identity";
3934
3933
  account: "account";
3934
+ identity: "identity";
3935
3935
  provider: "provider";
3936
3936
  version: "version";
3937
3937
  headroom: "headroom";
@@ -4686,8 +4686,8 @@ declare const GlobalConfigSchema: z.ZodObject<{
4686
4686
  layout: z.ZodOptional<z.ZodObject<{
4687
4687
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4688
4688
  model: "model";
4689
- identity: "identity";
4690
4689
  account: "account";
4690
+ identity: "identity";
4691
4691
  provider: "provider";
4692
4692
  version: "version";
4693
4693
  headroom: "headroom";
@@ -5417,6 +5417,10 @@ type GlobalConfig = z.infer<typeof GlobalConfigSchema>;
5417
5417
  * An identity's own `identity.json`. `credential`, when present, authenticates the identity from a token instead of (or ahead of) its stored login: the launcher resolves it and exports it as its target (typically `oauthToken`, a `claude setup-token` token) in the child's environment only. Without it the identity uses the login stored in its own directory.
5418
5418
  */
5419
5419
  declare const IdentitySchema: z.ZodObject<{
5420
+ agent: z.ZodOptional<z.ZodEnum<{
5421
+ claude: "claude";
5422
+ codex: "codex";
5423
+ }>>;
5420
5424
  $schema: z.ZodOptional<z.ZodString>;
5421
5425
  name: z.ZodString;
5422
5426
  label: z.ZodOptional<z.ZodString>;
@@ -5447,8 +5451,8 @@ declare const IdentitySchema: z.ZodObject<{
5447
5451
  literal: z.ZodString;
5448
5452
  }, z.core.$strict>]>>;
5449
5453
  target: z.ZodOptional<z.ZodEnum<{
5450
- bearer: "bearer";
5451
5454
  apiKey: "apiKey";
5455
+ bearer: "bearer";
5452
5456
  oauthToken: "oauthToken";
5453
5457
  }>>;
5454
5458
  cache: z.ZodOptional<z.ZodObject<{
@@ -8171,6 +8175,14 @@ declare function readCodexRateLimits(port: CodexAppServerPort, options: Readonly
8171
8175
  /** The real app-server port: `codex app-server` as a child process speaking one JSON message per line on standard input and output, with `CODEX_HOME` set for it alone. */
8172
8176
  declare const realCodexAppServerPort: CodexAppServerPort;
8173
8177
 
8178
+ type CodexCredentialGuardResult = {
8179
+ readonly ok: true;
8180
+ } | {
8181
+ readonly ok: false;
8182
+ readonly variable: string;
8183
+ readonly message: string;
8184
+ };
8185
+
8174
8186
  /**
8175
8187
  * The Zod schema of `agent-shim check --json`'s output: one definition of the report's wire shape, so the JSON conversion (`checkReportToJson`, whose return type is this schema's inferred type, which makes the compiler prove the two agree) and every programmatic consumer of the report (the front door's `check.run` procedure above all) validate through the same source. A plain Zod leaf mirroring the shapes the report's own modules define; the vocabularies it switches on (layer kinds, decision routes, diagnostic codes and severities, decision sources) are imported as const arrays from those modules rather than restated here, so a vocabulary added there is a compile error here until this schema names it.
8176
8188
  */
@@ -8345,8 +8357,8 @@ declare const CheckReportJsonSchema: z.ZodObject<{
8345
8357
  name: z.ZodString;
8346
8358
  credential: z.ZodOptional<z.ZodObject<{
8347
8359
  target: z.ZodEnum<{
8348
- bearer: "bearer";
8349
8360
  apiKey: "apiKey";
8361
+ bearer: "bearer";
8350
8362
  oauthToken: "oauthToken";
8351
8363
  }>;
8352
8364
  sources: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
@@ -8407,8 +8419,8 @@ declare const CheckReportJsonSchema: z.ZodObject<{
8407
8419
  }, z.core.$strict>]>>;
8408
8420
  identity: z.ZodOptional<z.ZodObject<{
8409
8421
  target: z.ZodEnum<{
8410
- bearer: "bearer";
8411
8422
  apiKey: "apiKey";
8423
+ bearer: "bearer";
8412
8424
  oauthToken: "oauthToken";
8413
8425
  }>;
8414
8426
  sources: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
@@ -8799,6 +8811,7 @@ interface CredentialReport {
8799
8811
  }
8800
8812
  /** Inputs to `runCheck` — everything already loaded/injected, exactly like the resolver core and the launcher: nothing in this function touches a real filesystem, git repository, clock, or environment itself. */
8801
8813
  interface RunCheckParams {
8814
+ readonly agent?: "claude" | "codex";
8802
8815
  readonly cwd: string;
8803
8816
  readonly home: string;
8804
8817
  readonly claudeHome: string;
@@ -8848,7 +8861,7 @@ interface CheckReport {
8848
8861
  readonly resolved: ResolvedState;
8849
8862
  readonly decisionLines: readonly string[];
8850
8863
  readonly projectEncodingAmbiguities: readonly EncodingAmbiguity[];
8851
- readonly ambientCredential: AmbientCredentialGuardResult;
8864
+ readonly ambientCredential: AmbientCredentialGuardResult | CodexCredentialGuardResult;
8852
8865
  readonly keychain?: KeychainLookupResult;
8853
8866
  readonly settingsExposure: readonly SettingsExposureReport[];
8854
8867
  readonly credential: CredentialReport;
@@ -8881,6 +8894,7 @@ declare function checkReportToJson(report: CheckReport): CheckReportJson;
8881
8894
  declare function checkReportHasWarnings(report: CheckReport): boolean;
8882
8895
  /** What `collectCheckReport` needs from its caller. */
8883
8896
  interface CollectCheckReportParams {
8897
+ readonly agent?: "claude" | "codex";
8884
8898
  readonly paths: LayoutPaths;
8885
8899
  /** The directory a launch would run in; resolved against the working directory by the caller. */
8886
8900
  readonly cwd: string;
@@ -9187,6 +9201,7 @@ declare function readIdentity(paths: LayoutPaths, name: string): Identity | unde
9187
9201
  declare function readIdentityById(paths: LayoutPaths, id: string): Identity | undefined;
9188
9202
  /** How `addIdentity` reaches what it needs beyond the files: the identity names lock, and, for an add whose id was checked before the lock was taken (`requireIdentityAddable`), that id. */
9189
9203
  interface AddIdentityOptions {
9204
+ readonly agent?: "claude" | "codex";
9190
9205
  readonly namesLock?: IdentityNamesLockPorts;
9191
9206
  readonly checkedId?: string;
9192
9207
  }
@@ -9774,8 +9789,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
9774
9789
  allowAmbientCredential: zod.ZodBoolean;
9775
9790
  credential: zod.ZodOptional<zod.ZodObject<{
9776
9791
  target: zod.ZodEnum<{
9777
- bearer: "bearer";
9778
9792
  apiKey: "apiKey";
9793
+ bearer: "bearer";
9779
9794
  oauthToken: "oauthToken";
9780
9795
  }>;
9781
9796
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
@@ -9846,8 +9861,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
9846
9861
  literal: zod.ZodString;
9847
9862
  }, zod_v4_core.$strict>]>>>;
9848
9863
  target: zod.ZodOptional<zod.ZodEnum<{
9849
- bearer: "bearer";
9850
9864
  apiKey: "apiKey";
9865
+ bearer: "bearer";
9851
9866
  oauthToken: "oauthToken";
9852
9867
  }>>;
9853
9868
  cache: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodLiteral<false>, zod.ZodObject<{
@@ -9883,8 +9898,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
9883
9898
  allowAmbientCredential: zod.ZodBoolean;
9884
9899
  credential: zod.ZodOptional<zod.ZodObject<{
9885
9900
  target: zod.ZodEnum<{
9886
- bearer: "bearer";
9887
9901
  apiKey: "apiKey";
9902
+ bearer: "bearer";
9888
9903
  oauthToken: "oauthToken";
9889
9904
  }>;
9890
9905
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
@@ -10120,8 +10135,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10120
10135
  layout: zod.ZodOptional<zod.ZodObject<{
10121
10136
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
10122
10137
  model: "model";
10123
- identity: "identity";
10124
10138
  account: "account";
10139
+ identity: "identity";
10125
10140
  provider: "provider";
10126
10141
  version: "version";
10127
10142
  headroom: "headroom";
@@ -10844,8 +10859,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10844
10859
  layout: zod.ZodOptional<zod.ZodObject<{
10845
10860
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
10846
10861
  model: "model";
10847
- identity: "identity";
10848
10862
  account: "account";
10863
+ identity: "identity";
10849
10864
  provider: "provider";
10850
10865
  version: "version";
10851
10866
  headroom: "headroom";
@@ -11611,8 +11626,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11611
11626
  add: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
11612
11627
  name: zod.ZodString;
11613
11628
  kind: zod.ZodOptional<zod.ZodEnum<{
11614
- http: "http";
11615
11629
  codex: "codex";
11630
+ http: "http";
11616
11631
  antigravity: "antigravity";
11617
11632
  router: "router";
11618
11633
  }>>;
@@ -11638,8 +11653,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11638
11653
  literal: zod.ZodString;
11639
11654
  }, zod_v4_core.$strict>]>>>>;
11640
11655
  target: zod.ZodOptional<zod.ZodEnum<{
11641
- bearer: "bearer";
11642
11656
  apiKey: "apiKey";
11657
+ bearer: "bearer";
11643
11658
  }>>;
11644
11659
  cache: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodLiteral<false>, zod.ZodObject<{
11645
11660
  ttl: zod.ZodOptional<zod.ZodString>;
@@ -11675,8 +11690,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11675
11690
  value: zod.ZodObject<{
11676
11691
  name: zod.ZodString;
11677
11692
  kind: zod.ZodEnum<{
11678
- http: "http";
11679
11693
  codex: "codex";
11694
+ http: "http";
11680
11695
  antigravity: "antigravity";
11681
11696
  router: "router";
11682
11697
  }>;
@@ -11703,8 +11718,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11703
11718
  }, zod_v4_core.$strict>>;
11704
11719
  credential: zod.ZodOptional<zod.ZodObject<{
11705
11720
  target: zod.ZodEnum<{
11706
- bearer: "bearer";
11707
11721
  apiKey: "apiKey";
11722
+ bearer: "bearer";
11708
11723
  oauthToken: "oauthToken";
11709
11724
  }>;
11710
11725
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
@@ -11761,8 +11776,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11761
11776
  literal: zod.ZodString;
11762
11777
  }, zod_v4_core.$strict>]>>>;
11763
11778
  target: zod.ZodOptional<zod.ZodEnum<{
11764
- bearer: "bearer";
11765
11779
  apiKey: "apiKey";
11780
+ bearer: "bearer";
11766
11781
  }>>;
11767
11782
  cache: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodLiteral<false>, zod.ZodObject<{
11768
11783
  ttl: zod.ZodOptional<zod.ZodString>;
@@ -11798,8 +11813,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11798
11813
  value: zod.ZodObject<{
11799
11814
  name: zod.ZodString;
11800
11815
  kind: zod.ZodEnum<{
11801
- http: "http";
11802
11816
  codex: "codex";
11817
+ http: "http";
11803
11818
  antigravity: "antigravity";
11804
11819
  router: "router";
11805
11820
  }>;
@@ -11826,8 +11841,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11826
11841
  }, zod_v4_core.$strict>>;
11827
11842
  credential: zod.ZodOptional<zod.ZodObject<{
11828
11843
  target: zod.ZodEnum<{
11829
- bearer: "bearer";
11830
11844
  apiKey: "apiKey";
11845
+ bearer: "bearer";
11831
11846
  oauthToken: "oauthToken";
11832
11847
  }>;
11833
11848
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
@@ -12044,8 +12059,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12044
12059
  layout: zod.ZodOptional<zod.ZodObject<{
12045
12060
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
12046
12061
  model: "model";
12047
- identity: "identity";
12048
12062
  account: "account";
12063
+ identity: "identity";
12049
12064
  provider: "provider";
12050
12065
  version: "version";
12051
12066
  headroom: "headroom";
@@ -12825,8 +12840,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12825
12840
  layout: zod.ZodOptional<zod.ZodObject<{
12826
12841
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
12827
12842
  model: "model";
12828
- identity: "identity";
12829
12843
  account: "account";
12844
+ identity: "identity";
12830
12845
  provider: "provider";
12831
12846
  version: "version";
12832
12847
  headroom: "headroom";
@@ -13798,8 +13813,8 @@ declare const StatuslineSchema: z.ZodObject<{
13798
13813
  layout: z.ZodOptional<z.ZodObject<{
13799
13814
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
13800
13815
  model: "model";
13801
- identity: "identity";
13802
13816
  account: "account";
13817
+ identity: "identity";
13803
13818
  provider: "provider";
13804
13819
  version: "version";
13805
13820
  headroom: "headroom";
@@ -14662,8 +14677,8 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
14662
14677
  layout: zod.ZodOptional<zod.ZodObject<{
14663
14678
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
14664
14679
  model: "model";
14665
- identity: "identity";
14666
14680
  account: "account";
14681
+ identity: "identity";
14667
14682
  provider: "provider";
14668
14683
  version: "version";
14669
14684
  headroom: "headroom";
@@ -15210,8 +15225,8 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
15210
15225
  name: zod.ZodString;
15211
15226
  summary: zod.ZodObject<{
15212
15227
  target: zod.ZodEnum<{
15213
- bearer: "bearer";
15214
15228
  apiKey: "apiKey";
15229
+ bearer: "bearer";
15215
15230
  oauthToken: "oauthToken";
15216
15231
  }>;
15217
15232
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
@@ -15929,8 +15944,8 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
15929
15944
  name: zod.ZodString;
15930
15945
  credential: zod.ZodOptional<zod.ZodObject<{
15931
15946
  target: zod.ZodEnum<{
15932
- bearer: "bearer";
15933
15947
  apiKey: "apiKey";
15948
+ bearer: "bearer";
15934
15949
  oauthToken: "oauthToken";
15935
15950
  }>;
15936
15951
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
@@ -15991,8 +16006,8 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
15991
16006
  }, zod_v4_core.$strict>]>>;
15992
16007
  identity: zod.ZodOptional<zod.ZodObject<{
15993
16008
  target: zod.ZodEnum<{
15994
- bearer: "bearer";
15995
16009
  apiKey: "apiKey";
16010
+ bearer: "bearer";
15996
16011
  oauthToken: "oauthToken";
15997
16012
  }>;
15998
16013
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
@@ -16337,8 +16352,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
16337
16352
  layout: zod.ZodOptional<zod.ZodObject<{
16338
16353
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
16339
16354
  model: "model";
16340
- identity: "identity";
16341
16355
  account: "account";
16356
+ identity: "identity";
16342
16357
  provider: "provider";
16343
16358
  version: "version";
16344
16359
  headroom: "headroom";
@@ -16885,8 +16900,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
16885
16900
  name: zod.ZodString;
16886
16901
  summary: zod.ZodObject<{
16887
16902
  target: zod.ZodEnum<{
16888
- bearer: "bearer";
16889
16903
  apiKey: "apiKey";
16904
+ bearer: "bearer";
16890
16905
  oauthToken: "oauthToken";
16891
16906
  }>;
16892
16907
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
@@ -16962,8 +16977,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
16962
16977
  allowAmbientCredential: zod.ZodBoolean;
16963
16978
  credential: zod.ZodOptional<zod.ZodObject<{
16964
16979
  target: zod.ZodEnum<{
16965
- bearer: "bearer";
16966
16980
  apiKey: "apiKey";
16981
+ bearer: "bearer";
16967
16982
  oauthToken: "oauthToken";
16968
16983
  }>;
16969
16984
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
@@ -17034,8 +17049,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17034
17049
  literal: zod.ZodString;
17035
17050
  }, zod_v4_core.$strict>]>>>;
17036
17051
  target: zod.ZodOptional<zod.ZodEnum<{
17037
- bearer: "bearer";
17038
17052
  apiKey: "apiKey";
17053
+ bearer: "bearer";
17039
17054
  oauthToken: "oauthToken";
17040
17055
  }>>;
17041
17056
  cache: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodLiteral<false>, zod.ZodObject<{
@@ -17071,8 +17086,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17071
17086
  allowAmbientCredential: zod.ZodBoolean;
17072
17087
  credential: zod.ZodOptional<zod.ZodObject<{
17073
17088
  target: zod.ZodEnum<{
17074
- bearer: "bearer";
17075
17089
  apiKey: "apiKey";
17090
+ bearer: "bearer";
17076
17091
  oauthToken: "oauthToken";
17077
17092
  }>;
17078
17093
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
@@ -17308,8 +17323,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17308
17323
  layout: zod.ZodOptional<zod.ZodObject<{
17309
17324
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
17310
17325
  model: "model";
17311
- identity: "identity";
17312
17326
  account: "account";
17327
+ identity: "identity";
17313
17328
  provider: "provider";
17314
17329
  version: "version";
17315
17330
  headroom: "headroom";
@@ -18032,8 +18047,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18032
18047
  layout: zod.ZodOptional<zod.ZodObject<{
18033
18048
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
18034
18049
  model: "model";
18035
- identity: "identity";
18036
18050
  account: "account";
18051
+ identity: "identity";
18037
18052
  provider: "provider";
18038
18053
  version: "version";
18039
18054
  headroom: "headroom";
@@ -18799,8 +18814,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18799
18814
  add: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
18800
18815
  name: zod.ZodString;
18801
18816
  kind: zod.ZodOptional<zod.ZodEnum<{
18802
- http: "http";
18803
18817
  codex: "codex";
18818
+ http: "http";
18804
18819
  antigravity: "antigravity";
18805
18820
  router: "router";
18806
18821
  }>>;
@@ -18826,8 +18841,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18826
18841
  literal: zod.ZodString;
18827
18842
  }, zod_v4_core.$strict>]>>>>;
18828
18843
  target: zod.ZodOptional<zod.ZodEnum<{
18829
- bearer: "bearer";
18830
18844
  apiKey: "apiKey";
18845
+ bearer: "bearer";
18831
18846
  }>>;
18832
18847
  cache: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodLiteral<false>, zod.ZodObject<{
18833
18848
  ttl: zod.ZodOptional<zod.ZodString>;
@@ -18863,8 +18878,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18863
18878
  value: zod.ZodObject<{
18864
18879
  name: zod.ZodString;
18865
18880
  kind: zod.ZodEnum<{
18866
- http: "http";
18867
18881
  codex: "codex";
18882
+ http: "http";
18868
18883
  antigravity: "antigravity";
18869
18884
  router: "router";
18870
18885
  }>;
@@ -18891,8 +18906,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18891
18906
  }, zod_v4_core.$strict>>;
18892
18907
  credential: zod.ZodOptional<zod.ZodObject<{
18893
18908
  target: zod.ZodEnum<{
18894
- bearer: "bearer";
18895
18909
  apiKey: "apiKey";
18910
+ bearer: "bearer";
18896
18911
  oauthToken: "oauthToken";
18897
18912
  }>;
18898
18913
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
@@ -18949,8 +18964,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18949
18964
  literal: zod.ZodString;
18950
18965
  }, zod_v4_core.$strict>]>>>;
18951
18966
  target: zod.ZodOptional<zod.ZodEnum<{
18952
- bearer: "bearer";
18953
18967
  apiKey: "apiKey";
18968
+ bearer: "bearer";
18954
18969
  }>>;
18955
18970
  cache: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodLiteral<false>, zod.ZodObject<{
18956
18971
  ttl: zod.ZodOptional<zod.ZodString>;
@@ -18986,8 +19001,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18986
19001
  value: zod.ZodObject<{
18987
19002
  name: zod.ZodString;
18988
19003
  kind: zod.ZodEnum<{
18989
- http: "http";
18990
19004
  codex: "codex";
19005
+ http: "http";
18991
19006
  antigravity: "antigravity";
18992
19007
  router: "router";
18993
19008
  }>;
@@ -19014,8 +19029,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
19014
19029
  }, zod_v4_core.$strict>>;
19015
19030
  credential: zod.ZodOptional<zod.ZodObject<{
19016
19031
  target: zod.ZodEnum<{
19017
- bearer: "bearer";
19018
19032
  apiKey: "apiKey";
19033
+ bearer: "bearer";
19019
19034
  oauthToken: "oauthToken";
19020
19035
  }>;
19021
19036
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
@@ -19232,8 +19247,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
19232
19247
  layout: zod.ZodOptional<zod.ZodObject<{
19233
19248
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
19234
19249
  model: "model";
19235
- identity: "identity";
19236
19250
  account: "account";
19251
+ identity: "identity";
19237
19252
  provider: "provider";
19238
19253
  version: "version";
19239
19254
  headroom: "headroom";
@@ -20013,8 +20028,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20013
20028
  layout: zod.ZodOptional<zod.ZodObject<{
20014
20029
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
20015
20030
  model: "model";
20016
- identity: "identity";
20017
20031
  account: "account";
20032
+ identity: "identity";
20018
20033
  provider: "provider";
20019
20034
  version: "version";
20020
20035
  headroom: "headroom";
@@ -21004,8 +21019,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21004
21019
  name: zod.ZodString;
21005
21020
  credential: zod.ZodOptional<zod.ZodObject<{
21006
21021
  target: zod.ZodEnum<{
21007
- bearer: "bearer";
21008
21022
  apiKey: "apiKey";
21023
+ bearer: "bearer";
21009
21024
  oauthToken: "oauthToken";
21010
21025
  }>;
21011
21026
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
@@ -21066,8 +21081,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21066
21081
  }, zod_v4_core.$strict>]>>;
21067
21082
  identity: zod.ZodOptional<zod.ZodObject<{
21068
21083
  target: zod.ZodEnum<{
21069
- bearer: "bearer";
21070
21084
  apiKey: "apiKey";
21085
+ bearer: "bearer";
21071
21086
  oauthToken: "oauthToken";
21072
21087
  }>;
21073
21088
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
@@ -21448,8 +21463,8 @@ declare function frontDoorApiFromState(paths: LayoutPaths, fsPort?: HeadroomFs):
21448
21463
  /** A credential block as every response reports it: the effective target, each source's kind and its identifying detail, in order, and the cache setting. Never a value: a `literal` source reports only its kind. */
21449
21464
  declare const CredentialSummarySchema: z.ZodObject<{
21450
21465
  target: z.ZodEnum<{
21451
- bearer: "bearer";
21452
21466
  apiKey: "apiKey";
21467
+ bearer: "bearer";
21453
21468
  oauthToken: "oauthToken";
21454
21469
  }>;
21455
21470
  sources: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -21500,8 +21515,8 @@ declare const ConfigIdentityAddOutputSchema: z.ZodObject<{
21500
21515
  allowAmbientCredential: z.ZodBoolean;
21501
21516
  credential: z.ZodOptional<z.ZodObject<{
21502
21517
  target: z.ZodEnum<{
21503
- bearer: "bearer";
21504
21518
  apiKey: "apiKey";
21519
+ bearer: "bearer";
21505
21520
  oauthToken: "oauthToken";
21506
21521
  }>;
21507
21522
  sources: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -21573,8 +21588,8 @@ declare const ConfigIdentitySetInputSchema: z.ZodObject<{
21573
21588
  literal: z.ZodString;
21574
21589
  }, z.core.$strict>]>>>;
21575
21590
  target: z.ZodOptional<z.ZodEnum<{
21576
- bearer: "bearer";
21577
21591
  apiKey: "apiKey";
21592
+ bearer: "bearer";
21578
21593
  oauthToken: "oauthToken";
21579
21594
  }>>;
21580
21595
  cache: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
@@ -21611,8 +21626,8 @@ declare const ConfigIdentitySetOutputSchema: z.ZodObject<{
21611
21626
  allowAmbientCredential: z.ZodBoolean;
21612
21627
  credential: z.ZodOptional<z.ZodObject<{
21613
21628
  target: z.ZodEnum<{
21614
- bearer: "bearer";
21615
21629
  apiKey: "apiKey";
21630
+ bearer: "bearer";
21616
21631
  oauthToken: "oauthToken";
21617
21632
  }>;
21618
21633
  sources: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -21846,8 +21861,8 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
21846
21861
  layout: z.ZodOptional<z.ZodObject<{
21847
21862
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
21848
21863
  model: "model";
21849
- identity: "identity";
21850
21864
  account: "account";
21865
+ identity: "identity";
21851
21866
  provider: "provider";
21852
21867
  version: "version";
21853
21868
  headroom: "headroom";
@@ -22572,8 +22587,8 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
22572
22587
  layout: z.ZodOptional<z.ZodObject<{
22573
22588
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
22574
22589
  model: "model";
22575
- identity: "identity";
22576
22590
  account: "account";
22591
+ identity: "identity";
22577
22592
  provider: "provider";
22578
22593
  version: "version";
22579
22594
  headroom: "headroom";
@@ -23337,8 +23352,8 @@ declare const ConfigPoolUseOutputSchema: z.ZodObject<{
23337
23352
  declare const ConfigProviderAddInputSchema: z.ZodObject<{
23338
23353
  name: z.ZodString;
23339
23354
  kind: z.ZodOptional<z.ZodEnum<{
23340
- http: "http";
23341
23355
  codex: "codex";
23356
+ http: "http";
23342
23357
  antigravity: "antigravity";
23343
23358
  router: "router";
23344
23359
  }>>;
@@ -23364,8 +23379,8 @@ declare const ConfigProviderAddInputSchema: z.ZodObject<{
23364
23379
  literal: z.ZodString;
23365
23380
  }, z.core.$strict>]>>>>;
23366
23381
  target: z.ZodOptional<z.ZodEnum<{
23367
- bearer: "bearer";
23368
23382
  apiKey: "apiKey";
23383
+ bearer: "bearer";
23369
23384
  }>>;
23370
23385
  cache: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
23371
23386
  ttl: z.ZodOptional<z.ZodString>;
@@ -23402,8 +23417,8 @@ declare const ConfigProviderAddOutputSchema: z.ZodObject<{
23402
23417
  value: z.ZodObject<{
23403
23418
  name: z.ZodString;
23404
23419
  kind: z.ZodEnum<{
23405
- http: "http";
23406
23420
  codex: "codex";
23421
+ http: "http";
23407
23422
  antigravity: "antigravity";
23408
23423
  router: "router";
23409
23424
  }>;
@@ -23430,8 +23445,8 @@ declare const ConfigProviderAddOutputSchema: z.ZodObject<{
23430
23445
  }, z.core.$strict>>;
23431
23446
  credential: z.ZodOptional<z.ZodObject<{
23432
23447
  target: z.ZodEnum<{
23433
- bearer: "bearer";
23434
23448
  apiKey: "apiKey";
23449
+ bearer: "bearer";
23435
23450
  oauthToken: "oauthToken";
23436
23451
  }>;
23437
23452
  sources: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -23489,8 +23504,8 @@ declare const ConfigProviderSetInputSchema: z.ZodObject<{
23489
23504
  literal: z.ZodString;
23490
23505
  }, z.core.$strict>]>>>;
23491
23506
  target: z.ZodOptional<z.ZodEnum<{
23492
- bearer: "bearer";
23493
23507
  apiKey: "apiKey";
23508
+ bearer: "bearer";
23494
23509
  }>>;
23495
23510
  cache: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
23496
23511
  ttl: z.ZodOptional<z.ZodString>;
@@ -23527,8 +23542,8 @@ declare const ConfigProviderSetOutputSchema: z.ZodObject<{
23527
23542
  value: z.ZodObject<{
23528
23543
  name: z.ZodString;
23529
23544
  kind: z.ZodEnum<{
23530
- http: "http";
23531
23545
  codex: "codex";
23546
+ http: "http";
23532
23547
  antigravity: "antigravity";
23533
23548
  router: "router";
23534
23549
  }>;
@@ -23555,8 +23570,8 @@ declare const ConfigProviderSetOutputSchema: z.ZodObject<{
23555
23570
  }, z.core.$strict>>;
23556
23571
  credential: z.ZodOptional<z.ZodObject<{
23557
23572
  target: z.ZodEnum<{
23558
- bearer: "bearer";
23559
23573
  apiKey: "apiKey";
23574
+ bearer: "bearer";
23560
23575
  oauthToken: "oauthToken";
23561
23576
  }>;
23562
23577
  sources: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -23774,8 +23789,8 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
23774
23789
  layout: z.ZodOptional<z.ZodObject<{
23775
23790
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
23776
23791
  model: "model";
23777
- identity: "identity";
23778
23792
  account: "account";
23793
+ identity: "identity";
23779
23794
  provider: "provider";
23780
23795
  version: "version";
23781
23796
  headroom: "headroom";
@@ -24557,8 +24572,8 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
24557
24572
  layout: z.ZodOptional<z.ZodObject<{
24558
24573
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
24559
24574
  model: "model";
24560
- identity: "identity";
24561
24575
  account: "account";
24576
+ identity: "identity";
24562
24577
  provider: "provider";
24563
24578
  version: "version";
24564
24579
  headroom: "headroom";
@@ -25597,8 +25612,8 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
25597
25612
  layout: z.ZodOptional<z.ZodObject<{
25598
25613
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
25599
25614
  model: "model";
25600
- identity: "identity";
25601
25615
  account: "account";
25616
+ identity: "identity";
25602
25617
  provider: "provider";
25603
25618
  version: "version";
25604
25619
  headroom: "headroom";
@@ -26145,8 +26160,8 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
26145
26160
  name: z.ZodString;
26146
26161
  summary: z.ZodObject<{
26147
26162
  target: z.ZodEnum<{
26148
- bearer: "bearer";
26149
26163
  apiKey: "apiKey";
26164
+ bearer: "bearer";
26150
26165
  oauthToken: "oauthToken";
26151
26166
  }>;
26152
26167
  sources: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{