claude-use 9.4.2 → 9.4.3

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/cli.cjs CHANGED
@@ -33224,7 +33224,7 @@ var init_package = __esm({
33224
33224
  "package.json"() {
33225
33225
  package_default = {
33226
33226
  name: "claude-use",
33227
- version: "9.4.2",
33227
+ version: "9.4.3",
33228
33228
  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.",
33229
33229
  license: "MIT",
33230
33230
  author: "Joseph Mearman <joseph@mearman.co.uk>",
@@ -117420,6 +117420,7 @@ function createRcStreamHub(deps) {
117420
117420
  };
117421
117421
  const runLoop = async (attachment) => {
117422
117422
  let retriedUnauthorized = false;
117423
+ let refusedAuthorization;
117423
117424
  for (; ; ) {
117424
117425
  if (attachment.isStopped()) {
117425
117426
  return;
@@ -117435,6 +117436,11 @@ function createRcStreamHub(deps) {
117435
117436
  }
117436
117437
  return;
117437
117438
  }
117439
+ if (refusedAuthorization !== void 0 && credential.authorization === refusedAuthorization) {
117440
+ await deps.sleep(deps.backoffMs);
117441
+ continue;
117442
+ }
117443
+ refusedAuthorization = void 0;
117438
117444
  let outcome;
117439
117445
  try {
117440
117446
  outcome = await attempt(attachment, credential);
@@ -117461,7 +117467,8 @@ function createRcStreamHub(deps) {
117461
117467
  retriedUnauthorized = true;
117462
117468
  continue;
117463
117469
  }
117464
- deps.log?.(`rc stream ${attachment.sessionId}: the client read stream refused the observed Authorization bearer past one retry; backing off`);
117470
+ deps.log?.(`rc stream ${attachment.sessionId}: the client read stream refused the observed Authorization bearer past one retry; waiting for a fresh one`);
117471
+ refusedAuthorization = credential.authorization;
117465
117472
  await deps.sleep(deps.backoffMs);
117466
117473
  retriedUnauthorized = false;
117467
117474
  }
package/dist/index.cjs CHANGED
@@ -2649,7 +2649,7 @@ var init_package = __esm({
2649
2649
  "package.json"() {
2650
2650
  package_default = {
2651
2651
  name: "claude-use",
2652
- version: "9.4.2",
2652
+ version: "9.4.3",
2653
2653
  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.",
2654
2654
  license: "MIT",
2655
2655
  author: "Joseph Mearman <joseph@mearman.co.uk>",
@@ -13611,6 +13611,7 @@ function createRcStreamHub(deps) {
13611
13611
  };
13612
13612
  const runLoop = async (attachment) => {
13613
13613
  let retriedUnauthorized = false;
13614
+ let refusedAuthorization;
13614
13615
  for (; ; ) {
13615
13616
  if (attachment.isStopped()) {
13616
13617
  return;
@@ -13626,6 +13627,11 @@ function createRcStreamHub(deps) {
13626
13627
  }
13627
13628
  return;
13628
13629
  }
13630
+ if (refusedAuthorization !== void 0 && credential.authorization === refusedAuthorization) {
13631
+ await deps.sleep(deps.backoffMs);
13632
+ continue;
13633
+ }
13634
+ refusedAuthorization = void 0;
13629
13635
  let outcome;
13630
13636
  try {
13631
13637
  outcome = await attempt(attachment, credential);
@@ -13652,7 +13658,8 @@ function createRcStreamHub(deps) {
13652
13658
  retriedUnauthorized = true;
13653
13659
  continue;
13654
13660
  }
13655
- deps.log?.(`rc stream ${attachment.sessionId}: the client read stream refused the observed Authorization bearer past one retry; backing off`);
13661
+ deps.log?.(`rc stream ${attachment.sessionId}: the client read stream refused the observed Authorization bearer past one retry; waiting for a fresh one`);
13662
+ refusedAuthorization = credential.authorization;
13656
13663
  await deps.sleep(deps.backoffMs);
13657
13664
  retriedUnauthorized = false;
13658
13665
  }
package/dist/index.mjs CHANGED
@@ -2625,7 +2625,7 @@ var init_package = __esm({
2625
2625
  "package.json"() {
2626
2626
  package_default = {
2627
2627
  name: "claude-use",
2628
- version: "9.4.2",
2628
+ version: "9.4.3",
2629
2629
  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.",
2630
2630
  license: "MIT",
2631
2631
  author: "Joseph Mearman <joseph@mearman.co.uk>",
@@ -13286,6 +13286,7 @@ function createRcStreamHub(deps) {
13286
13286
  };
13287
13287
  const runLoop = async (attachment) => {
13288
13288
  let retriedUnauthorized = false;
13289
+ let refusedAuthorization;
13289
13290
  for (; ; ) {
13290
13291
  if (attachment.isStopped()) {
13291
13292
  return;
@@ -13301,6 +13302,11 @@ function createRcStreamHub(deps) {
13301
13302
  }
13302
13303
  return;
13303
13304
  }
13305
+ if (refusedAuthorization !== void 0 && credential.authorization === refusedAuthorization) {
13306
+ await deps.sleep(deps.backoffMs);
13307
+ continue;
13308
+ }
13309
+ refusedAuthorization = void 0;
13304
13310
  let outcome;
13305
13311
  try {
13306
13312
  outcome = await attempt(attachment, credential);
@@ -13327,7 +13333,8 @@ function createRcStreamHub(deps) {
13327
13333
  retriedUnauthorized = true;
13328
13334
  continue;
13329
13335
  }
13330
- deps.log?.(`rc stream ${attachment.sessionId}: the client read stream refused the observed Authorization bearer past one retry; backing off`);
13336
+ deps.log?.(`rc stream ${attachment.sessionId}: the client read stream refused the observed Authorization bearer past one retry; waiting for a fresh one`);
13337
+ refusedAuthorization = credential.authorization;
13331
13338
  await deps.sleep(deps.backoffMs);
13332
13339
  retriedUnauthorized = false;
13333
13340
  }
@@ -5526,12 +5526,12 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
5526
5526
  identity: "identity";
5527
5527
  provider: "provider";
5528
5528
  pool: "pool";
5529
+ keychain: "keychain";
5529
5530
  "ambient-credential": "ambient-credential";
5530
5531
  "binary-discovery": "binary-discovery";
5531
5532
  "claude-shim": "claude-shim";
5532
5533
  "path-resolution": "path-resolution";
5533
5534
  "legacy-name": "legacy-name";
5534
- keychain: "keychain";
5535
5535
  "directory-rules": "directory-rules";
5536
5536
  "categories-local": "categories-local";
5537
5537
  "active-identity": "active-identity";
@@ -6134,12 +6134,12 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
6134
6134
  identity: "identity";
6135
6135
  provider: "provider";
6136
6136
  pool: "pool";
6137
+ keychain: "keychain";
6137
6138
  "ambient-credential": "ambient-credential";
6138
6139
  "binary-discovery": "binary-discovery";
6139
6140
  "claude-shim": "claude-shim";
6140
6141
  "path-resolution": "path-resolution";
6141
6142
  "legacy-name": "legacy-name";
6142
- keychain: "keychain";
6143
6143
  "directory-rules": "directory-rules";
6144
6144
  "categories-local": "categories-local";
6145
6145
  "active-identity": "active-identity";
@@ -6674,12 +6674,12 @@ declare const DoctorFindingSchema: z.ZodObject<{
6674
6674
  identity: "identity";
6675
6675
  provider: "provider";
6676
6676
  pool: "pool";
6677
+ keychain: "keychain";
6677
6678
  "ambient-credential": "ambient-credential";
6678
6679
  "binary-discovery": "binary-discovery";
6679
6680
  "claude-shim": "claude-shim";
6680
6681
  "path-resolution": "path-resolution";
6681
6682
  "legacy-name": "legacy-name";
6682
- keychain: "keychain";
6683
6683
  "directory-rules": "directory-rules";
6684
6684
  "categories-local": "categories-local";
6685
6685
  "active-identity": "active-identity";
@@ -6703,12 +6703,12 @@ declare const DoctorRunOutputSchema: z.ZodObject<{
6703
6703
  identity: "identity";
6704
6704
  provider: "provider";
6705
6705
  pool: "pool";
6706
+ keychain: "keychain";
6706
6707
  "ambient-credential": "ambient-credential";
6707
6708
  "binary-discovery": "binary-discovery";
6708
6709
  "claude-shim": "claude-shim";
6709
6710
  "path-resolution": "path-resolution";
6710
6711
  "legacy-name": "legacy-name";
6711
- keychain: "keychain";
6712
6712
  "directory-rules": "directory-rules";
6713
6713
  "categories-local": "categories-local";
6714
6714
  "active-identity": "active-identity";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-use",
3
- "version": "9.4.2",
3
+ "version": "9.4.3",
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>",