claude-use 11.21.0 → 11.21.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/cli.cjs CHANGED
@@ -34181,7 +34181,7 @@ var init_package = __esm({
34181
34181
  "package.json"() {
34182
34182
  package_default = {
34183
34183
  name: "claude-use",
34184
- version: "11.21.0",
34184
+ version: "11.21.1",
34185
34185
  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.",
34186
34186
  license: "MIT",
34187
34187
  author: "Joseph Mearman <joseph@mearman.co.uk>",
@@ -114729,11 +114729,12 @@ function watchedInstallEntry(resolvedOwnExecutablePath, siblingExists) {
114729
114729
  return siblingExists(sibling) ? sibling : resolvedOwnExecutablePath;
114730
114730
  }
114731
114731
  var AWAIT_PID_POLL_MS = 50;
114732
- async function awaitPidExit(pid, boundMs, ports) {
114733
- const deadline = ports.now() + boundMs;
114734
- while (ports.isRunning(pid) && ports.now() < deadline) {
114732
+ async function awaitPidExit(pid, ports) {
114733
+ const startedAt = ports.now();
114734
+ while (ports.isRunning(pid)) {
114735
114735
  await ports.sleep(AWAIT_PID_POLL_MS);
114736
114736
  }
114737
+ return ports.now() - startedAt;
114737
114738
  }
114738
114739
  var FRONTDOOR_SUPERVISOR_STILL_RUNNING = -1;
114739
114740
  var FRONTDOOR_POLL_MS = 1e3;
@@ -133592,7 +133593,8 @@ function registerFrontDoorCommand(program2, deps) {
133592
133593
  const awaited = Number(process.env[DOOR_AWAIT_PID_ENV]);
133593
133594
  Reflect.deleteProperty(process.env, DOOR_AWAIT_PID_ENV);
133594
133595
  if (Number.isInteger(awaited) && awaited > 0) {
133595
- await awaitPidExit(awaited, DOOR_STALL_BOUND_MS, supervisorPorts);
133596
+ const waitedMs = await awaitPidExit(awaited, supervisorPorts);
133597
+ supervisorPorts.log(`frontdoor ${String(ownPid)}: stalled door ${String(awaited)} released the sticky ports after ${String(waitedMs)}ms`);
133596
133598
  }
133597
133599
  declareThisProcessTheFrontDoor();
133598
133600
  deps.exit(await runFrontDoorSupervisor(idleShutdownMinutes, supervisorPorts));
package/dist/index.cjs CHANGED
@@ -2928,7 +2928,7 @@ var init_package = __esm({
2928
2928
  "package.json"() {
2929
2929
  package_default = {
2930
2930
  name: "claude-use",
2931
- version: "11.21.0",
2931
+ version: "11.21.1",
2932
2932
  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.",
2933
2933
  license: "MIT",
2934
2934
  author: "Joseph Mearman <joseph@mearman.co.uk>",
package/dist/index.mjs CHANGED
@@ -2904,7 +2904,7 @@ var init_package = __esm({
2904
2904
  "package.json"() {
2905
2905
  package_default = {
2906
2906
  name: "claude-use",
2907
- version: "11.21.0",
2907
+ version: "11.21.1",
2908
2908
  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.",
2909
2909
  license: "MIT",
2910
2910
  author: "Joseph Mearman <joseph@mearman.co.uk>",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-use",
3
- "version": "11.21.0",
3
+ "version": "11.21.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>",