claude-use 9.9.0 → 9.10.1

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.
package/dist/index.cjs CHANGED
@@ -2663,7 +2663,7 @@ var init_package = __esm({
2663
2663
  "package.json"() {
2664
2664
  package_default = {
2665
2665
  name: "claude-use",
2666
- version: "9.9.0",
2666
+ version: "9.10.1",
2667
2667
  description: "A profile manager and launcher for Claude Code that lets one person run multiple logins from one machine while controlling what gets shared between them.",
2668
2668
  license: "MIT",
2669
2669
  author: "Joseph Mearman <joseph@mearman.co.uk>",
@@ -5239,7 +5239,8 @@ function buildLayoutPaths(root) {
5239
5239
  usageDir: import_node_path22.default.join(root, "usage"),
5240
5240
  usageLogDir: import_node_path22.default.join(root, "usage", "log"),
5241
5241
  usageSnapshotsDir: import_node_path22.default.join(root, "usage", "snapshots"),
5242
- usagePicksFile: import_node_path22.default.join(root, "usage", "picks.json")
5242
+ usagePicksFile: import_node_path22.default.join(root, "usage", "picks.json"),
5243
+ mcpPermissionsFile: import_node_path22.default.join(root, "mcp", "permissions.json")
5243
5244
  };
5244
5245
  }
5245
5246
  function resolveLayoutPaths() {
package/dist/index.mjs CHANGED
@@ -2639,7 +2639,7 @@ var init_package = __esm({
2639
2639
  "package.json"() {
2640
2640
  package_default = {
2641
2641
  name: "claude-use",
2642
- version: "9.9.0",
2642
+ version: "9.10.1",
2643
2643
  description: "A profile manager and launcher for Claude Code that lets one person run multiple logins from one machine while controlling what gets shared between them.",
2644
2644
  license: "MIT",
2645
2645
  author: "Joseph Mearman <joseph@mearman.co.uk>",
@@ -5216,7 +5216,8 @@ function buildLayoutPaths(root) {
5216
5216
  usageDir: path22.join(root, "usage"),
5217
5217
  usageLogDir: path22.join(root, "usage", "log"),
5218
5218
  usageSnapshotsDir: path22.join(root, "usage", "snapshots"),
5219
- usagePicksFile: path22.join(root, "usage", "picks.json")
5219
+ usagePicksFile: path22.join(root, "usage", "picks.json"),
5220
+ mcpPermissionsFile: path22.join(root, "mcp", "permissions.json")
5220
5221
  };
5221
5222
  }
5222
5223
  function resolveLayoutPaths() {
@@ -366,8 +366,8 @@ declare const CredentialSchema: z.ZodObject<{
366
366
  literal: z.ZodString;
367
367
  }, z.core.$strict>]>>;
368
368
  target: z.ZodOptional<z.ZodEnum<{
369
- bearer: "bearer";
370
369
  apiKey: "apiKey";
370
+ bearer: "bearer";
371
371
  oauthToken: "oauthToken";
372
372
  }>>;
373
373
  cache: z.ZodOptional<z.ZodObject<{
@@ -441,8 +441,8 @@ declare const ProviderSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
441
441
  }>>;
442
442
  }, z.core.$strict>>;
443
443
  target: z.ZodOptional<z.ZodEnum<{
444
- bearer: "bearer";
445
444
  apiKey: "apiKey";
445
+ bearer: "bearer";
446
446
  }>>;
447
447
  }, z.core.$strict>;
448
448
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -557,8 +557,8 @@ declare const ProviderSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
557
557
  }>>;
558
558
  }, z.core.$strict>>;
559
559
  target: z.ZodOptional<z.ZodEnum<{
560
- bearer: "bearer";
561
560
  apiKey: "apiKey";
561
+ bearer: "bearer";
562
562
  }>>;
563
563
  }, z.core.$strict>;
564
564
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -1332,8 +1332,8 @@ declare const HeadroomGlobalConfigSchema: z.ZodObject<{
1332
1332
  targetRatio: z.ZodOptional<z.ZodNumber>;
1333
1333
  ccr: z.ZodOptional<z.ZodEnum<{
1334
1334
  default: "default";
1335
- none: "none";
1336
1335
  lossless: "lossless";
1336
+ none: "none";
1337
1337
  }>>;
1338
1338
  rolloutChannel: z.ZodOptional<z.ZodEnum<{
1339
1339
  beta: "beta";
@@ -1460,8 +1460,8 @@ declare const GlobalConfigSchema: z.ZodObject<{
1460
1460
  targetRatio: z.ZodOptional<z.ZodNumber>;
1461
1461
  ccr: z.ZodOptional<z.ZodEnum<{
1462
1462
  default: "default";
1463
- none: "none";
1464
1463
  lossless: "lossless";
1464
+ none: "none";
1465
1465
  }>>;
1466
1466
  rolloutChannel: z.ZodOptional<z.ZodEnum<{
1467
1467
  beta: "beta";
@@ -1596,8 +1596,8 @@ declare const IdentitySchema: z.ZodObject<{
1596
1596
  literal: z.ZodString;
1597
1597
  }, z.core.$strict>]>>;
1598
1598
  target: z.ZodOptional<z.ZodEnum<{
1599
- bearer: "bearer";
1600
1599
  apiKey: "apiKey";
1600
+ bearer: "bearer";
1601
1601
  oauthToken: "oauthToken";
1602
1602
  }>>;
1603
1603
  cache: z.ZodOptional<z.ZodObject<{
@@ -1707,6 +1707,8 @@ interface LayoutPaths {
1707
1707
  readonly usageLogDir: string;
1708
1708
  /** Directory of the latest-state snapshots, one `<identity>.json` per identity: the stable file other tools read. */
1709
1709
  readonly usageSnapshotsDir: string;
1710
+ /** Path to the file recording what the person has allowed the MCP server's agents to do (`agent-shim mcp permissions`), mode 0600 and written only by that command: the running server re-reads it on every request, so a change needs no restart. */
1711
+ readonly mcpPermissionsFile: string;
1710
1712
  /** The last identity picked from a pool for each directory, so a conversation stays on the account whose prompt cache is warm. */
1711
1713
  readonly usagePicksFile: string;
1712
1714
  }
@@ -3857,12 +3859,12 @@ declare const CheckReportJsonSchema: z.ZodObject<{
3857
3859
  identity: z.ZodObject<{
3858
3860
  name: z.ZodNullable<z.ZodString>;
3859
3861
  source: z.ZodEnum<{
3862
+ env: "env";
3863
+ none: "none";
3860
3864
  "config-dir-escape-hatch": "config-dir-escape-hatch";
3861
3865
  argv: "argv";
3862
- env: "env";
3863
3866
  "directory-pin": "directory-pin";
3864
3867
  "active-identity-file": "active-identity-file";
3865
- none: "none";
3866
3868
  }>;
3867
3869
  }, z.core.$strict>;
3868
3870
  pool: z.ZodOptional<z.ZodObject<{
@@ -3940,11 +3942,11 @@ declare const CheckReportJsonSchema: z.ZodObject<{
3940
3942
  "category-default": "category-default";
3941
3943
  }>;
3942
3944
  category: z.ZodNullable<z.ZodEnum<{
3943
- secret: "secret";
3944
3945
  runtime: "runtime";
3945
3946
  history: "history";
3946
3947
  knowledge: "knowledge";
3947
3948
  settings: "settings";
3949
+ secret: "secret";
3948
3950
  }>>;
3949
3951
  rule: z.ZodOptional<z.ZodObject<{
3950
3952
  key: z.ZodString;
@@ -4021,8 +4023,8 @@ declare const CheckReportJsonSchema: z.ZodObject<{
4021
4023
  name: z.ZodString;
4022
4024
  credential: z.ZodObject<{
4023
4025
  target: z.ZodEnum<{
4024
- bearer: "bearer";
4025
4026
  apiKey: "apiKey";
4027
+ bearer: "bearer";
4026
4028
  oauthToken: "oauthToken";
4027
4029
  }>;
4028
4030
  sources: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
@@ -4083,8 +4085,8 @@ declare const CheckReportJsonSchema: z.ZodObject<{
4083
4085
  }, z.core.$strict>]>>;
4084
4086
  identity: z.ZodOptional<z.ZodObject<{
4085
4087
  target: z.ZodEnum<{
4086
- bearer: "bearer";
4087
4088
  apiKey: "apiKey";
4089
+ bearer: "bearer";
4088
4090
  oauthToken: "oauthToken";
4089
4091
  }>;
4090
4092
  sources: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
@@ -5023,8 +5025,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
5023
5025
  allowAmbientCredential: zod.ZodBoolean;
5024
5026
  credential: zod.ZodOptional<zod.ZodObject<{
5025
5027
  target: zod.ZodEnum<{
5026
- bearer: "bearer";
5027
5028
  apiKey: "apiKey";
5029
+ bearer: "bearer";
5028
5030
  oauthToken: "oauthToken";
5029
5031
  }>;
5030
5032
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
@@ -5080,8 +5082,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
5080
5082
  literal: zod.ZodString;
5081
5083
  }, zod_v4_core.$strict>]>>>;
5082
5084
  target: zod.ZodOptional<zod.ZodEnum<{
5083
- bearer: "bearer";
5084
5085
  apiKey: "apiKey";
5086
+ bearer: "bearer";
5085
5087
  oauthToken: "oauthToken";
5086
5088
  }>>;
5087
5089
  cache: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodLiteral<false>, zod.ZodObject<{
@@ -5102,8 +5104,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
5102
5104
  allowAmbientCredential: zod.ZodBoolean;
5103
5105
  credential: zod.ZodOptional<zod.ZodObject<{
5104
5106
  target: zod.ZodEnum<{
5105
- bearer: "bearer";
5106
5107
  apiKey: "apiKey";
5108
+ bearer: "bearer";
5107
5109
  oauthToken: "oauthToken";
5108
5110
  }>;
5109
5111
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
@@ -5628,8 +5630,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
5628
5630
  literal: zod.ZodString;
5629
5631
  }, zod_v4_core.$strict>]>>>>;
5630
5632
  target: zod.ZodOptional<zod.ZodEnum<{
5631
- bearer: "bearer";
5632
5633
  apiKey: "apiKey";
5634
+ bearer: "bearer";
5633
5635
  }>>;
5634
5636
  cache: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodLiteral<false>, zod.ZodObject<{
5635
5637
  ttl: zod.ZodOptional<zod.ZodString>;
@@ -5691,8 +5693,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
5691
5693
  }, zod_v4_core.$strict>>;
5692
5694
  credential: zod.ZodObject<{
5693
5695
  target: zod.ZodEnum<{
5694
- bearer: "bearer";
5695
5696
  apiKey: "apiKey";
5697
+ bearer: "bearer";
5696
5698
  oauthToken: "oauthToken";
5697
5699
  }>;
5698
5700
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
@@ -5749,8 +5751,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
5749
5751
  literal: zod.ZodString;
5750
5752
  }, zod_v4_core.$strict>]>>>;
5751
5753
  target: zod.ZodOptional<zod.ZodEnum<{
5752
- bearer: "bearer";
5753
5754
  apiKey: "apiKey";
5755
+ bearer: "bearer";
5754
5756
  }>>;
5755
5757
  cache: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodLiteral<false>, zod.ZodObject<{
5756
5758
  ttl: zod.ZodOptional<zod.ZodString>;
@@ -5812,8 +5814,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
5812
5814
  }, zod_v4_core.$strict>>;
5813
5815
  credential: zod.ZodObject<{
5814
5816
  target: zod.ZodEnum<{
5815
- bearer: "bearer";
5816
5817
  apiKey: "apiKey";
5818
+ bearer: "bearer";
5817
5819
  oauthToken: "oauthToken";
5818
5820
  }>;
5819
5821
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
@@ -6438,9 +6440,9 @@ declare function createLifecycleApiRouter(deps: LifecycleApiDeps): {
6438
6440
  current: zod.ZodString;
6439
6441
  latest: zod.ZodString;
6440
6442
  action: zod.ZodEnum<{
6443
+ updated: "updated";
6441
6444
  current: "current";
6442
6445
  available: "available";
6443
- updated: "updated";
6444
6446
  }>;
6445
6447
  }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
6446
6448
  };
@@ -6687,12 +6689,12 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
6687
6689
  decision: zod.ZodObject<{
6688
6690
  identity: zod.ZodOptional<zod.ZodString>;
6689
6691
  identitySource: zod.ZodEnum<{
6692
+ env: "env";
6693
+ none: "none";
6690
6694
  "config-dir-escape-hatch": "config-dir-escape-hatch";
6691
6695
  argv: "argv";
6692
- env: "env";
6693
6696
  "directory-pin": "directory-pin";
6694
6697
  "active-identity-file": "active-identity-file";
6695
- none: "none";
6696
6698
  }>;
6697
6699
  pool: zod.ZodOptional<zod.ZodObject<{
6698
6700
  name: zod.ZodString;
@@ -6739,8 +6741,8 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
6739
6741
  name: zod.ZodString;
6740
6742
  summary: zod.ZodObject<{
6741
6743
  target: zod.ZodEnum<{
6742
- bearer: "bearer";
6743
6744
  apiKey: "apiKey";
6745
+ bearer: "bearer";
6744
6746
  oauthToken: "oauthToken";
6745
6747
  }>;
6746
6748
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
@@ -7066,12 +7068,12 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
7066
7068
  identity: zod.ZodObject<{
7067
7069
  name: zod.ZodNullable<zod.ZodString>;
7068
7070
  source: zod.ZodEnum<{
7071
+ env: "env";
7072
+ none: "none";
7069
7073
  "config-dir-escape-hatch": "config-dir-escape-hatch";
7070
7074
  argv: "argv";
7071
- env: "env";
7072
7075
  "directory-pin": "directory-pin";
7073
7076
  "active-identity-file": "active-identity-file";
7074
- none: "none";
7075
7077
  }>;
7076
7078
  }, zod_v4_core.$strict>;
7077
7079
  pool: zod.ZodOptional<zod.ZodObject<{
@@ -7149,11 +7151,11 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
7149
7151
  "category-default": "category-default";
7150
7152
  }>;
7151
7153
  category: zod.ZodNullable<zod.ZodEnum<{
7152
- secret: "secret";
7153
7154
  runtime: "runtime";
7154
7155
  history: "history";
7155
7156
  knowledge: "knowledge";
7156
7157
  settings: "settings";
7158
+ secret: "secret";
7157
7159
  }>>;
7158
7160
  rule: zod.ZodOptional<zod.ZodObject<{
7159
7161
  key: zod.ZodString;
@@ -7230,8 +7232,8 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
7230
7232
  name: zod.ZodString;
7231
7233
  credential: zod.ZodObject<{
7232
7234
  target: zod.ZodEnum<{
7233
- bearer: "bearer";
7234
7235
  apiKey: "apiKey";
7236
+ bearer: "bearer";
7235
7237
  oauthToken: "oauthToken";
7236
7238
  }>;
7237
7239
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
@@ -7292,8 +7294,8 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
7292
7294
  }, zod_v4_core.$strict>]>>;
7293
7295
  identity: zod.ZodOptional<zod.ZodObject<{
7294
7296
  target: zod.ZodEnum<{
7295
- bearer: "bearer";
7296
7297
  apiKey: "apiKey";
7298
+ bearer: "bearer";
7297
7299
  oauthToken: "oauthToken";
7298
7300
  }>;
7299
7301
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
@@ -7372,9 +7374,10 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
7372
7374
  "global-config": "global-config";
7373
7375
  "config-profile": "config-profile";
7374
7376
  identity: "identity";
7377
+ keychain: "keychain";
7375
7378
  provider: "provider";
7379
+ headroom: "headroom";
7376
7380
  pool: "pool";
7377
- keychain: "keychain";
7378
7381
  "ambient-credential": "ambient-credential";
7379
7382
  "binary-discovery": "binary-discovery";
7380
7383
  "claude-shim": "claude-shim";
@@ -7384,7 +7387,6 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
7384
7387
  "directory-rules": "directory-rules";
7385
7388
  "categories-local": "categories-local";
7386
7389
  "active-identity": "active-identity";
7387
- headroom: "headroom";
7388
7390
  }>;
7389
7391
  subject: zod.ZodOptional<zod.ZodString>;
7390
7392
  severity: zod.ZodEnum<{
@@ -7505,12 +7507,12 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
7505
7507
  decision: zod.ZodObject<{
7506
7508
  identity: zod.ZodOptional<zod.ZodString>;
7507
7509
  identitySource: zod.ZodEnum<{
7510
+ env: "env";
7511
+ none: "none";
7508
7512
  "config-dir-escape-hatch": "config-dir-escape-hatch";
7509
7513
  argv: "argv";
7510
- env: "env";
7511
7514
  "directory-pin": "directory-pin";
7512
7515
  "active-identity-file": "active-identity-file";
7513
- none: "none";
7514
7516
  }>;
7515
7517
  pool: zod.ZodOptional<zod.ZodObject<{
7516
7518
  name: zod.ZodString;
@@ -7557,8 +7559,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
7557
7559
  name: zod.ZodString;
7558
7560
  summary: zod.ZodObject<{
7559
7561
  target: zod.ZodEnum<{
7560
- bearer: "bearer";
7561
7562
  apiKey: "apiKey";
7563
+ bearer: "bearer";
7562
7564
  oauthToken: "oauthToken";
7563
7565
  }>;
7564
7566
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
@@ -7631,8 +7633,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
7631
7633
  allowAmbientCredential: zod.ZodBoolean;
7632
7634
  credential: zod.ZodOptional<zod.ZodObject<{
7633
7635
  target: zod.ZodEnum<{
7634
- bearer: "bearer";
7635
7636
  apiKey: "apiKey";
7637
+ bearer: "bearer";
7636
7638
  oauthToken: "oauthToken";
7637
7639
  }>;
7638
7640
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
@@ -7688,8 +7690,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
7688
7690
  literal: zod.ZodString;
7689
7691
  }, zod_v4_core.$strict>]>>>;
7690
7692
  target: zod.ZodOptional<zod.ZodEnum<{
7691
- bearer: "bearer";
7692
7693
  apiKey: "apiKey";
7694
+ bearer: "bearer";
7693
7695
  oauthToken: "oauthToken";
7694
7696
  }>>;
7695
7697
  cache: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodLiteral<false>, zod.ZodObject<{
@@ -7710,8 +7712,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
7710
7712
  allowAmbientCredential: zod.ZodBoolean;
7711
7713
  credential: zod.ZodOptional<zod.ZodObject<{
7712
7714
  target: zod.ZodEnum<{
7713
- bearer: "bearer";
7714
7715
  apiKey: "apiKey";
7716
+ bearer: "bearer";
7715
7717
  oauthToken: "oauthToken";
7716
7718
  }>;
7717
7719
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
@@ -8236,8 +8238,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
8236
8238
  literal: zod.ZodString;
8237
8239
  }, zod_v4_core.$strict>]>>>>;
8238
8240
  target: zod.ZodOptional<zod.ZodEnum<{
8239
- bearer: "bearer";
8240
8241
  apiKey: "apiKey";
8242
+ bearer: "bearer";
8241
8243
  }>>;
8242
8244
  cache: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodLiteral<false>, zod.ZodObject<{
8243
8245
  ttl: zod.ZodOptional<zod.ZodString>;
@@ -8299,8 +8301,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
8299
8301
  }, zod_v4_core.$strict>>;
8300
8302
  credential: zod.ZodObject<{
8301
8303
  target: zod.ZodEnum<{
8302
- bearer: "bearer";
8303
8304
  apiKey: "apiKey";
8305
+ bearer: "bearer";
8304
8306
  oauthToken: "oauthToken";
8305
8307
  }>;
8306
8308
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
@@ -8357,8 +8359,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
8357
8359
  literal: zod.ZodString;
8358
8360
  }, zod_v4_core.$strict>]>>>;
8359
8361
  target: zod.ZodOptional<zod.ZodEnum<{
8360
- bearer: "bearer";
8361
8362
  apiKey: "apiKey";
8363
+ bearer: "bearer";
8362
8364
  }>>;
8363
8365
  cache: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodLiteral<false>, zod.ZodObject<{
8364
8366
  ttl: zod.ZodOptional<zod.ZodString>;
@@ -8420,8 +8422,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
8420
8422
  }, zod_v4_core.$strict>>;
8421
8423
  credential: zod.ZodObject<{
8422
8424
  target: zod.ZodEnum<{
8423
- bearer: "bearer";
8424
8425
  apiKey: "apiKey";
8426
+ bearer: "bearer";
8425
8427
  oauthToken: "oauthToken";
8426
8428
  }>;
8427
8429
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
@@ -8847,9 +8849,9 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
8847
8849
  current: zod.ZodString;
8848
8850
  latest: zod.ZodString;
8849
8851
  action: zod.ZodEnum<{
8852
+ updated: "updated";
8850
8853
  current: "current";
8851
8854
  available: "available";
8852
- updated: "updated";
8853
8855
  }>;
8854
8856
  }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
8855
8857
  };
@@ -9036,12 +9038,12 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
9036
9038
  identity: zod.ZodObject<{
9037
9039
  name: zod.ZodNullable<zod.ZodString>;
9038
9040
  source: zod.ZodEnum<{
9041
+ env: "env";
9042
+ none: "none";
9039
9043
  "config-dir-escape-hatch": "config-dir-escape-hatch";
9040
9044
  argv: "argv";
9041
- env: "env";
9042
9045
  "directory-pin": "directory-pin";
9043
9046
  "active-identity-file": "active-identity-file";
9044
- none: "none";
9045
9047
  }>;
9046
9048
  }, zod_v4_core.$strict>;
9047
9049
  pool: zod.ZodOptional<zod.ZodObject<{
@@ -9119,11 +9121,11 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
9119
9121
  "category-default": "category-default";
9120
9122
  }>;
9121
9123
  category: zod.ZodNullable<zod.ZodEnum<{
9122
- secret: "secret";
9123
9124
  runtime: "runtime";
9124
9125
  history: "history";
9125
9126
  knowledge: "knowledge";
9126
9127
  settings: "settings";
9128
+ secret: "secret";
9127
9129
  }>>;
9128
9130
  rule: zod.ZodOptional<zod.ZodObject<{
9129
9131
  key: zod.ZodString;
@@ -9200,8 +9202,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
9200
9202
  name: zod.ZodString;
9201
9203
  credential: zod.ZodObject<{
9202
9204
  target: zod.ZodEnum<{
9203
- bearer: "bearer";
9204
9205
  apiKey: "apiKey";
9206
+ bearer: "bearer";
9205
9207
  oauthToken: "oauthToken";
9206
9208
  }>;
9207
9209
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
@@ -9262,8 +9264,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
9262
9264
  }, zod_v4_core.$strict>]>>;
9263
9265
  identity: zod.ZodOptional<zod.ZodObject<{
9264
9266
  target: zod.ZodEnum<{
9265
- bearer: "bearer";
9266
9267
  apiKey: "apiKey";
9268
+ bearer: "bearer";
9267
9269
  oauthToken: "oauthToken";
9268
9270
  }>;
9269
9271
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
@@ -9342,9 +9344,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
9342
9344
  "global-config": "global-config";
9343
9345
  "config-profile": "config-profile";
9344
9346
  identity: "identity";
9347
+ keychain: "keychain";
9345
9348
  provider: "provider";
9349
+ headroom: "headroom";
9346
9350
  pool: "pool";
9347
- keychain: "keychain";
9348
9351
  "ambient-credential": "ambient-credential";
9349
9352
  "binary-discovery": "binary-discovery";
9350
9353
  "claude-shim": "claude-shim";
@@ -9354,7 +9357,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
9354
9357
  "directory-rules": "directory-rules";
9355
9358
  "categories-local": "categories-local";
9356
9359
  "active-identity": "active-identity";
9357
- headroom: "headroom";
9358
9360
  }>;
9359
9361
  subject: zod.ZodOptional<zod.ZodString>;
9360
9362
  severity: zod.ZodEnum<{
@@ -9642,8 +9644,8 @@ declare function frontDoorApiFromState(paths: LayoutPaths, fsPort?: HeadroomFs):
9642
9644
  /** 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. */
9643
9645
  declare const CredentialSummarySchema: z.ZodObject<{
9644
9646
  target: z.ZodEnum<{
9645
- bearer: "bearer";
9646
9647
  apiKey: "apiKey";
9648
+ bearer: "bearer";
9647
9649
  oauthToken: "oauthToken";
9648
9650
  }>;
9649
9651
  sources: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -9687,8 +9689,8 @@ declare const ConfigIdentityAddOutputSchema: z.ZodObject<{
9687
9689
  allowAmbientCredential: z.ZodBoolean;
9688
9690
  credential: z.ZodOptional<z.ZodObject<{
9689
9691
  target: z.ZodEnum<{
9690
- bearer: "bearer";
9691
9692
  apiKey: "apiKey";
9693
+ bearer: "bearer";
9692
9694
  oauthToken: "oauthToken";
9693
9695
  }>;
9694
9696
  sources: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -9745,8 +9747,8 @@ declare const ConfigIdentitySetInputSchema: z.ZodObject<{
9745
9747
  literal: z.ZodString;
9746
9748
  }, z.core.$strict>]>>>;
9747
9749
  target: z.ZodOptional<z.ZodEnum<{
9748
- bearer: "bearer";
9749
9750
  apiKey: "apiKey";
9751
+ bearer: "bearer";
9750
9752
  oauthToken: "oauthToken";
9751
9753
  }>>;
9752
9754
  cache: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
@@ -9768,8 +9770,8 @@ declare const ConfigIdentitySetOutputSchema: z.ZodObject<{
9768
9770
  allowAmbientCredential: z.ZodBoolean;
9769
9771
  credential: z.ZodOptional<z.ZodObject<{
9770
9772
  target: z.ZodEnum<{
9771
- bearer: "bearer";
9772
9773
  apiKey: "apiKey";
9774
+ bearer: "bearer";
9773
9775
  oauthToken: "oauthToken";
9774
9776
  }>;
9775
9777
  sources: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -10292,8 +10294,8 @@ declare const ConfigProviderAddInputSchema: z.ZodObject<{
10292
10294
  literal: z.ZodString;
10293
10295
  }, z.core.$strict>]>>>>;
10294
10296
  target: z.ZodOptional<z.ZodEnum<{
10295
- bearer: "bearer";
10296
10297
  apiKey: "apiKey";
10298
+ bearer: "bearer";
10297
10299
  }>>;
10298
10300
  cache: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
10299
10301
  ttl: z.ZodOptional<z.ZodString>;
@@ -10356,8 +10358,8 @@ declare const ConfigProviderAddOutputSchema: z.ZodObject<{
10356
10358
  }, z.core.$strict>>;
10357
10359
  credential: z.ZodObject<{
10358
10360
  target: z.ZodEnum<{
10359
- bearer: "bearer";
10360
10361
  apiKey: "apiKey";
10362
+ bearer: "bearer";
10361
10363
  oauthToken: "oauthToken";
10362
10364
  }>;
10363
10365
  sources: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -10415,8 +10417,8 @@ declare const ConfigProviderSetInputSchema: z.ZodObject<{
10415
10417
  literal: z.ZodString;
10416
10418
  }, z.core.$strict>]>>>;
10417
10419
  target: z.ZodOptional<z.ZodEnum<{
10418
- bearer: "bearer";
10419
10420
  apiKey: "apiKey";
10421
+ bearer: "bearer";
10420
10422
  }>>;
10421
10423
  cache: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
10422
10424
  ttl: z.ZodOptional<z.ZodString>;
@@ -10479,8 +10481,8 @@ declare const ConfigProviderSetOutputSchema: z.ZodObject<{
10479
10481
  }, z.core.$strict>>;
10480
10482
  credential: z.ZodObject<{
10481
10483
  target: z.ZodEnum<{
10482
- bearer: "bearer";
10483
10484
  apiKey: "apiKey";
10485
+ bearer: "bearer";
10484
10486
  oauthToken: "oauthToken";
10485
10487
  }>;
10486
10488
  sources: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -11148,9 +11150,10 @@ declare const DoctorFindingSchema: z.ZodObject<{
11148
11150
  "global-config": "global-config";
11149
11151
  "config-profile": "config-profile";
11150
11152
  identity: "identity";
11153
+ keychain: "keychain";
11151
11154
  provider: "provider";
11155
+ headroom: "headroom";
11152
11156
  pool: "pool";
11153
- keychain: "keychain";
11154
11157
  "ambient-credential": "ambient-credential";
11155
11158
  "binary-discovery": "binary-discovery";
11156
11159
  "claude-shim": "claude-shim";
@@ -11160,7 +11163,6 @@ declare const DoctorFindingSchema: z.ZodObject<{
11160
11163
  "directory-rules": "directory-rules";
11161
11164
  "categories-local": "categories-local";
11162
11165
  "active-identity": "active-identity";
11163
- headroom: "headroom";
11164
11166
  }>;
11165
11167
  subject: z.ZodOptional<z.ZodString>;
11166
11168
  severity: z.ZodEnum<{
@@ -11178,9 +11180,10 @@ declare const DoctorRunOutputSchema: z.ZodObject<{
11178
11180
  "global-config": "global-config";
11179
11181
  "config-profile": "config-profile";
11180
11182
  identity: "identity";
11183
+ keychain: "keychain";
11181
11184
  provider: "provider";
11185
+ headroom: "headroom";
11182
11186
  pool: "pool";
11183
- keychain: "keychain";
11184
11187
  "ambient-credential": "ambient-credential";
11185
11188
  "binary-discovery": "binary-discovery";
11186
11189
  "claude-shim": "claude-shim";
@@ -11190,7 +11193,6 @@ declare const DoctorRunOutputSchema: z.ZodObject<{
11190
11193
  "directory-rules": "directory-rules";
11191
11194
  "categories-local": "categories-local";
11192
11195
  "active-identity": "active-identity";
11193
- headroom: "headroom";
11194
11196
  }>;
11195
11197
  subject: z.ZodOptional<z.ZodString>;
11196
11198
  severity: z.ZodEnum<{
@@ -11211,9 +11213,9 @@ declare const UpdateCheckOutputSchema: z.ZodObject<{
11211
11213
  current: z.ZodString;
11212
11214
  latest: z.ZodString;
11213
11215
  action: z.ZodEnum<{
11216
+ updated: "updated";
11214
11217
  current: "current";
11215
11218
  available: "available";
11216
- updated: "updated";
11217
11219
  }>;
11218
11220
  }, z.core.$strict>;
11219
11221
  /** 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. */
@@ -11263,12 +11265,12 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
11263
11265
  decision: z.ZodObject<{
11264
11266
  identity: z.ZodOptional<z.ZodString>;
11265
11267
  identitySource: z.ZodEnum<{
11268
+ env: "env";
11269
+ none: "none";
11266
11270
  "config-dir-escape-hatch": "config-dir-escape-hatch";
11267
11271
  argv: "argv";
11268
- env: "env";
11269
11272
  "directory-pin": "directory-pin";
11270
11273
  "active-identity-file": "active-identity-file";
11271
- none: "none";
11272
11274
  }>;
11273
11275
  pool: z.ZodOptional<z.ZodObject<{
11274
11276
  name: z.ZodString;
@@ -11315,8 +11317,8 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
11315
11317
  name: z.ZodString;
11316
11318
  summary: z.ZodObject<{
11317
11319
  target: z.ZodEnum<{
11318
- bearer: "bearer";
11319
11320
  apiKey: "apiKey";
11321
+ bearer: "bearer";
11320
11322
  oauthToken: "oauthToken";
11321
11323
  }>;
11322
11324
  sources: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-use",
3
- "version": "9.9.0",
3
+ "version": "9.10.1",
4
4
  "description": "A profile manager and launcher for Claude Code that lets one person run multiple logins from one machine while controlling what gets shared between them.",
5
5
  "license": "MIT",
6
6
  "author": "Joseph Mearman <joseph@mearman.co.uk>",