claude-use 11.22.0 → 11.24.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.
@@ -393,8 +393,8 @@ declare const AntigravityProviderConfigSchema: z.ZodObject<{
393
393
  models: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
394
394
  degradeDownTiers: z.ZodOptional<z.ZodBoolean>;
395
395
  effort: z.ZodOptional<z.ZodEnum<{
396
- max: "max";
397
396
  none: "none";
397
+ max: "max";
398
398
  low: "low";
399
399
  medium: "medium";
400
400
  high: "high";
@@ -660,8 +660,8 @@ declare const ProviderSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
660
660
  models: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
661
661
  degradeDownTiers: z.ZodOptional<z.ZodBoolean>;
662
662
  effort: z.ZodOptional<z.ZodEnum<{
663
- max: "max";
664
663
  none: "none";
664
+ max: "max";
665
665
  low: "low";
666
666
  medium: "medium";
667
667
  high: "high";
@@ -1435,8 +1435,8 @@ declare const HeadroomGlobalConfigSchema: z.ZodObject<{
1435
1435
  targetRatio: z.ZodOptional<z.ZodNumber>;
1436
1436
  ccr: z.ZodOptional<z.ZodEnum<{
1437
1437
  default: "default";
1438
- lossless: "lossless";
1439
1438
  none: "none";
1439
+ lossless: "lossless";
1440
1440
  }>>;
1441
1441
  rolloutChannel: z.ZodOptional<z.ZodEnum<{
1442
1442
  beta: "beta";
@@ -1563,8 +1563,8 @@ declare const GlobalConfigSchema: z.ZodObject<{
1563
1563
  targetRatio: z.ZodOptional<z.ZodNumber>;
1564
1564
  ccr: z.ZodOptional<z.ZodEnum<{
1565
1565
  default: "default";
1566
- lossless: "lossless";
1567
1566
  none: "none";
1567
+ lossless: "lossless";
1568
1568
  }>>;
1569
1569
  rolloutChannel: z.ZodOptional<z.ZodEnum<{
1570
1570
  beta: "beta";
@@ -4271,12 +4271,12 @@ declare const CheckReportJsonSchema: z.ZodObject<{
4271
4271
  identity: z.ZodObject<{
4272
4272
  name: z.ZodNullable<z.ZodString>;
4273
4273
  source: z.ZodEnum<{
4274
- env: "env";
4275
- none: "none";
4276
4274
  "config-dir-escape-hatch": "config-dir-escape-hatch";
4277
4275
  argv: "argv";
4276
+ env: "env";
4278
4277
  "directory-pin": "directory-pin";
4279
4278
  "active-identity-file": "active-identity-file";
4279
+ none: "none";
4280
4280
  }>;
4281
4281
  }, z.core.$strict>;
4282
4282
  pool: z.ZodOptional<z.ZodObject<{
@@ -4354,11 +4354,11 @@ declare const CheckReportJsonSchema: z.ZodObject<{
4354
4354
  "category-default": "category-default";
4355
4355
  }>;
4356
4356
  category: z.ZodNullable<z.ZodEnum<{
4357
+ secret: "secret";
4357
4358
  runtime: "runtime";
4358
4359
  history: "history";
4359
4360
  knowledge: "knowledge";
4360
4361
  settings: "settings";
4361
- secret: "secret";
4362
4362
  }>>;
4363
4363
  rule: z.ZodOptional<z.ZodObject<{
4364
4364
  key: z.ZodString;
@@ -7091,9 +7091,9 @@ declare function createLifecycleApiRouter(deps: LifecycleApiDeps): {
7091
7091
  current: zod.ZodString;
7092
7092
  latest: zod.ZodString;
7093
7093
  action: zod.ZodEnum<{
7094
- updated: "updated";
7095
7094
  current: "current";
7096
7095
  available: "available";
7096
+ updated: "updated";
7097
7097
  }>;
7098
7098
  }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
7099
7099
  };
@@ -7218,6 +7218,8 @@ interface PrepareLaunchParams {
7218
7218
  readonly supervised?: SupervisedLaunch;
7219
7219
  /** Wires the launch-time update check behind `update.mode`. Omitted by a caller that cannot resolve releases, re-invoke this binary, or write to the terminal; a mode of `notify` or `auto` with no port wired simply checks nothing. */
7220
7220
  readonly update?: UpdateLaunchPort;
7221
+ /** Whether an identity has a stored login Claude Code can use (a Keychain item or a credentials file). Absent when the caller cannot ask, in which case a launch assumes it does. */
7222
+ readonly hasStoredLogin?: (identity: string) => boolean;
7221
7223
  }
7222
7224
  /** Inputs to `runLauncher`: a launch's inputs plus the port that spawns the child. */
7223
7225
  interface RunLauncherParams extends PrepareLaunchParams {
@@ -7357,12 +7359,12 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
7357
7359
  decision: zod.ZodObject<{
7358
7360
  identity: zod.ZodOptional<zod.ZodString>;
7359
7361
  identitySource: zod.ZodEnum<{
7360
- env: "env";
7361
- none: "none";
7362
7362
  "config-dir-escape-hatch": "config-dir-escape-hatch";
7363
7363
  argv: "argv";
7364
+ env: "env";
7364
7365
  "directory-pin": "directory-pin";
7365
7366
  "active-identity-file": "active-identity-file";
7367
+ none: "none";
7366
7368
  }>;
7367
7369
  pool: zod.ZodOptional<zod.ZodObject<{
7368
7370
  name: zod.ZodString;
@@ -7961,12 +7963,12 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
7961
7963
  identity: zod.ZodObject<{
7962
7964
  name: zod.ZodNullable<zod.ZodString>;
7963
7965
  source: zod.ZodEnum<{
7964
- env: "env";
7965
- none: "none";
7966
7966
  "config-dir-escape-hatch": "config-dir-escape-hatch";
7967
7967
  argv: "argv";
7968
+ env: "env";
7968
7969
  "directory-pin": "directory-pin";
7969
7970
  "active-identity-file": "active-identity-file";
7971
+ none: "none";
7970
7972
  }>;
7971
7973
  }, zod_v4_core.$strict>;
7972
7974
  pool: zod.ZodOptional<zod.ZodObject<{
@@ -8044,11 +8046,11 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
8044
8046
  "category-default": "category-default";
8045
8047
  }>;
8046
8048
  category: zod.ZodNullable<zod.ZodEnum<{
8049
+ secret: "secret";
8047
8050
  runtime: "runtime";
8048
8051
  history: "history";
8049
8052
  knowledge: "knowledge";
8050
8053
  settings: "settings";
8051
- secret: "secret";
8052
8054
  }>>;
8053
8055
  rule: zod.ZodOptional<zod.ZodObject<{
8054
8056
  key: zod.ZodString;
@@ -8267,11 +8269,10 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
8267
8269
  "global-config": "global-config";
8268
8270
  "config-profile": "config-profile";
8269
8271
  identity: "identity";
8270
- keychain: "keychain";
8271
8272
  provider: "provider";
8272
- headroom: "headroom";
8273
8273
  frontdoor: "frontdoor";
8274
8274
  pool: "pool";
8275
+ keychain: "keychain";
8275
8276
  "ambient-credential": "ambient-credential";
8276
8277
  "binary-discovery": "binary-discovery";
8277
8278
  "claude-shim": "claude-shim";
@@ -8281,6 +8282,7 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
8281
8282
  "directory-rules": "directory-rules";
8282
8283
  "categories-local": "categories-local";
8283
8284
  "active-identity": "active-identity";
8285
+ headroom: "headroom";
8284
8286
  }>;
8285
8287
  subject: zod.ZodOptional<zod.ZodString>;
8286
8288
  severity: zod.ZodEnum<{
@@ -8473,12 +8475,12 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
8473
8475
  decision: zod.ZodObject<{
8474
8476
  identity: zod.ZodOptional<zod.ZodString>;
8475
8477
  identitySource: zod.ZodEnum<{
8476
- env: "env";
8477
- none: "none";
8478
8478
  "config-dir-escape-hatch": "config-dir-escape-hatch";
8479
8479
  argv: "argv";
8480
+ env: "env";
8480
8481
  "directory-pin": "directory-pin";
8481
8482
  "active-identity-file": "active-identity-file";
8483
+ none: "none";
8482
8484
  }>;
8483
8485
  pool: zod.ZodOptional<zod.ZodObject<{
8484
8486
  name: zod.ZodString;
@@ -9869,9 +9871,9 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
9869
9871
  current: zod.ZodString;
9870
9872
  latest: zod.ZodString;
9871
9873
  action: zod.ZodEnum<{
9872
- updated: "updated";
9873
9874
  current: "current";
9874
9875
  available: "available";
9876
+ updated: "updated";
9875
9877
  }>;
9876
9878
  }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
9877
9879
  };
@@ -10074,12 +10076,12 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
10074
10076
  identity: zod.ZodObject<{
10075
10077
  name: zod.ZodNullable<zod.ZodString>;
10076
10078
  source: zod.ZodEnum<{
10077
- env: "env";
10078
- none: "none";
10079
10079
  "config-dir-escape-hatch": "config-dir-escape-hatch";
10080
10080
  argv: "argv";
10081
+ env: "env";
10081
10082
  "directory-pin": "directory-pin";
10082
10083
  "active-identity-file": "active-identity-file";
10084
+ none: "none";
10083
10085
  }>;
10084
10086
  }, zod_v4_core.$strict>;
10085
10087
  pool: zod.ZodOptional<zod.ZodObject<{
@@ -10157,11 +10159,11 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
10157
10159
  "category-default": "category-default";
10158
10160
  }>;
10159
10161
  category: zod.ZodNullable<zod.ZodEnum<{
10162
+ secret: "secret";
10160
10163
  runtime: "runtime";
10161
10164
  history: "history";
10162
10165
  knowledge: "knowledge";
10163
10166
  settings: "settings";
10164
- secret: "secret";
10165
10167
  }>>;
10166
10168
  rule: zod.ZodOptional<zod.ZodObject<{
10167
10169
  key: zod.ZodString;
@@ -10380,11 +10382,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
10380
10382
  "global-config": "global-config";
10381
10383
  "config-profile": "config-profile";
10382
10384
  identity: "identity";
10383
- keychain: "keychain";
10384
10385
  provider: "provider";
10385
- headroom: "headroom";
10386
10386
  frontdoor: "frontdoor";
10387
10387
  pool: "pool";
10388
+ keychain: "keychain";
10388
10389
  "ambient-credential": "ambient-credential";
10389
10390
  "binary-discovery": "binary-discovery";
10390
10391
  "claude-shim": "claude-shim";
@@ -10394,6 +10395,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
10394
10395
  "directory-rules": "directory-rules";
10395
10396
  "categories-local": "categories-local";
10396
10397
  "active-identity": "active-identity";
10398
+ headroom: "headroom";
10397
10399
  }>;
10398
10400
  subject: zod.ZodOptional<zod.ZodString>;
10399
10401
  severity: zod.ZodEnum<{
@@ -12245,11 +12247,10 @@ declare const DoctorFindingSchema: z.ZodObject<{
12245
12247
  "global-config": "global-config";
12246
12248
  "config-profile": "config-profile";
12247
12249
  identity: "identity";
12248
- keychain: "keychain";
12249
12250
  provider: "provider";
12250
- headroom: "headroom";
12251
12251
  frontdoor: "frontdoor";
12252
12252
  pool: "pool";
12253
+ keychain: "keychain";
12253
12254
  "ambient-credential": "ambient-credential";
12254
12255
  "binary-discovery": "binary-discovery";
12255
12256
  "claude-shim": "claude-shim";
@@ -12259,6 +12260,7 @@ declare const DoctorFindingSchema: z.ZodObject<{
12259
12260
  "directory-rules": "directory-rules";
12260
12261
  "categories-local": "categories-local";
12261
12262
  "active-identity": "active-identity";
12263
+ headroom: "headroom";
12262
12264
  }>;
12263
12265
  subject: z.ZodOptional<z.ZodString>;
12264
12266
  severity: z.ZodEnum<{
@@ -12276,11 +12278,10 @@ declare const DoctorRunOutputSchema: z.ZodObject<{
12276
12278
  "global-config": "global-config";
12277
12279
  "config-profile": "config-profile";
12278
12280
  identity: "identity";
12279
- keychain: "keychain";
12280
12281
  provider: "provider";
12281
- headroom: "headroom";
12282
12282
  frontdoor: "frontdoor";
12283
12283
  pool: "pool";
12284
+ keychain: "keychain";
12284
12285
  "ambient-credential": "ambient-credential";
12285
12286
  "binary-discovery": "binary-discovery";
12286
12287
  "claude-shim": "claude-shim";
@@ -12290,6 +12291,7 @@ declare const DoctorRunOutputSchema: z.ZodObject<{
12290
12291
  "directory-rules": "directory-rules";
12291
12292
  "categories-local": "categories-local";
12292
12293
  "active-identity": "active-identity";
12294
+ headroom: "headroom";
12293
12295
  }>;
12294
12296
  subject: z.ZodOptional<z.ZodString>;
12295
12297
  severity: z.ZodEnum<{
@@ -12310,9 +12312,9 @@ declare const UpdateCheckOutputSchema: z.ZodObject<{
12310
12312
  current: z.ZodString;
12311
12313
  latest: z.ZodString;
12312
12314
  action: z.ZodEnum<{
12313
- updated: "updated";
12314
12315
  current: "current";
12315
12316
  available: "available";
12317
+ updated: "updated";
12316
12318
  }>;
12317
12319
  }, z.core.$strict>;
12318
12320
  /** 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. */
@@ -12362,12 +12364,12 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
12362
12364
  decision: z.ZodObject<{
12363
12365
  identity: z.ZodOptional<z.ZodString>;
12364
12366
  identitySource: z.ZodEnum<{
12365
- env: "env";
12366
- none: "none";
12367
12367
  "config-dir-escape-hatch": "config-dir-escape-hatch";
12368
12368
  argv: "argv";
12369
+ env: "env";
12369
12370
  "directory-pin": "directory-pin";
12370
12371
  "active-identity-file": "active-identity-file";
12372
+ none: "none";
12371
12373
  }>;
12372
12374
  pool: z.ZodOptional<z.ZodObject<{
12373
12375
  name: z.ZodString;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-use",
3
- "version": "11.22.0",
3
+ "version": "11.24.0",
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>",