claude-use 11.65.4 → 11.65.6

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
@@ -29810,9 +29810,9 @@ function realFrontDoorLiveness(pids) {
29810
29810
  return { status: result.status, stdout: result.stdout, stderr: result.stderr, ...result.error === void 0 ? {} : { error: result.error } };
29811
29811
  });
29812
29812
  }
29813
- async function readProcessStates(pids) {
29813
+ async function readProcessStates(pids, timeoutMs) {
29814
29814
  return await new Promise((resolve3) => {
29815
- (0, import_node_child_process3.execFile)("ps", ["-o", "pid=,stat=", "-p", pids.map(String).join(",")], { encoding: "utf8", timeout: PS_TIMEOUT_MS }, (_error, stdout2) => {
29815
+ (0, import_node_child_process3.execFile)("ps", ["-o", "pid=,stat=", "-p", pids.map(String).join(",")], { encoding: "utf8", timeout: timeoutMs }, (_error, stdout2) => {
29816
29816
  const states = /* @__PURE__ */ new Map();
29817
29817
  for (const line of stdout2.split("\n")) {
29818
29818
  const [pidText, stat] = line.trim().split(/\s+/);
@@ -29824,12 +29824,12 @@ async function readProcessStates(pids) {
29824
29824
  });
29825
29825
  });
29826
29826
  }
29827
- async function realRunningAmong(pids) {
29827
+ async function realRunningAmong(pids, psTimeoutMs = PS_TIMEOUT_MS) {
29828
29828
  const existing = pids.filter(realIsProcessAlive);
29829
29829
  if (existing.length === 0) {
29830
29830
  return /* @__PURE__ */ new Set();
29831
29831
  }
29832
- const states = await readProcessStates(existing);
29832
+ const states = await readProcessStates(existing, psTimeoutMs);
29833
29833
  return new Set(existing.filter((pid) => states.get(pid)?.startsWith("Z") !== true));
29834
29834
  }
29835
29835
  async function realRunAsync(command, args) {
@@ -37172,7 +37172,7 @@ var init_package = __esm({
37172
37172
  "package.json"() {
37173
37173
  package_default = {
37174
37174
  name: "claude-use",
37175
- version: "11.65.4",
37175
+ version: "11.65.6",
37176
37176
  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.",
37177
37177
  license: "MIT",
37178
37178
  author: "Joseph Mearman <joseph@mearman.co.uk>",
package/dist/index.cjs CHANGED
@@ -4747,7 +4747,7 @@ var init_package = __esm({
4747
4747
  "package.json"() {
4748
4748
  package_default = {
4749
4749
  name: "claude-use",
4750
- version: "11.65.4",
4750
+ version: "11.65.6",
4751
4751
  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.",
4752
4752
  license: "MIT",
4753
4753
  author: "Joseph Mearman <joseph@mearman.co.uk>",
package/dist/index.mjs CHANGED
@@ -4723,7 +4723,7 @@ var init_package = __esm({
4723
4723
  "package.json"() {
4724
4724
  package_default = {
4725
4725
  name: "claude-use",
4726
- version: "11.65.4",
4726
+ version: "11.65.6",
4727
4727
  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.",
4728
4728
  license: "MIT",
4729
4729
  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.65.4",
3
+ "version": "11.65.6",
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>",