@funnycode/myclaude 0.1.53 → 0.1.54

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/myclaude.js CHANGED
@@ -4,8 +4,8 @@
4
4
  // MACRO - build-time constants (injected by build.ts)
5
5
  // MACRO injected by build script
6
6
  globalThis.MACRO = {
7
- VERSION: "0.1.53",
8
- BUILD_TIME: "2026-06-29T12:58:46.443Z",
7
+ VERSION: "0.1.54",
8
+ BUILD_TIME: "2026-06-29T13:05:24.446Z",
9
9
  PACKAGE_URL: "@funnycode/myclaude",
10
10
  NATIVE_PACKAGE_URL: "@funnycode/myclaude",
11
11
  VERSION_CHANGELOG: '',
@@ -347605,7 +347605,7 @@ var init_bashProvider = __esm(() => {
347605
347605
  init_sessionEnvVars();
347606
347606
  init_tmuxSocket();
347607
347607
  init_windowsPaths();
347608
- BASH_SPAWN_SEMAPHORE = createSpawnSemaphore(getPlatform() === "windows" ? 8 : Infinity);
347608
+ BASH_SPAWN_SEMAPHORE = createSpawnSemaphore(getPlatform() === "windows" ? 4 : Infinity);
347609
347609
  });
347610
347610
 
347611
347611
  // src/utils/shell/powershellDetection.ts
@@ -347833,8 +347833,8 @@ async function exec3(command, abortSignal, shellType, options) {
347833
347833
  const shellArgs = isSandboxedPowerShell ? ["-c", commandString] : provider.getSpawnArgs(commandString);
347834
347834
  const envOverrides = await provider.getEnvironmentOverrides(command);
347835
347835
  const isGitBash = shellType === "bash" && getPlatform() === "windows" && !isSandboxedPowerShell;
347836
- const MAX_GITBASH_RETRIES = 3;
347837
- const GITBASH_RETRY_BASE_MS = 500;
347836
+ const MAX_GITBASH_RETRIES = 5;
347837
+ const GITBASH_RETRY_BASE_MS = 1000;
347838
347838
  function isGitBashPtyExhaustion(err2) {
347839
347839
  const msg = errorMessage(err2).toLowerCase();
347840
347840
  return msg.includes("no available terminals") || msg.includes("cannot fork") || msg.includes("resource temporarily unavailable");
@@ -565080,6 +565080,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
565080
565080
  const scheduleProactiveTick = undefined;
565081
565081
  subscribeToCommandQueue(() => {
565082
565082
  if (abortController && getCommandsByMaxPriority("now").length > 0) {
565083
+ logForDebugging("[print.ts] Interrupting turn due to priority command");
565083
565084
  abortController.abort("interrupt");
565084
565085
  }
565085
565086
  });
@@ -566245,6 +566246,7 @@ ${m2.text}
566245
566246
  structuredIO.injectControlResponse(response);
566246
566247
  },
566247
566248
  onInterrupt() {
566249
+ logForDebugging("[print.ts] Turn interrupted via bridge onInterrupt");
566248
566250
  abortController?.abort();
566249
566251
  },
566250
566252
  onSetModel(model) {
package/dist/myclaude.mjs CHANGED
@@ -4,8 +4,8 @@
4
4
  // MACRO - build-time constants (injected by build.ts)
5
5
  // MACRO injected by build script
6
6
  globalThis.MACRO = {
7
- VERSION: "0.1.53",
8
- BUILD_TIME: "2026-06-29T12:58:46.443Z",
7
+ VERSION: "0.1.54",
8
+ BUILD_TIME: "2026-06-29T13:05:24.446Z",
9
9
  PACKAGE_URL: "@funnycode/myclaude",
10
10
  NATIVE_PACKAGE_URL: "@funnycode/myclaude",
11
11
  VERSION_CHANGELOG: '',
@@ -347605,7 +347605,7 @@ var init_bashProvider = __esm(() => {
347605
347605
  init_sessionEnvVars();
347606
347606
  init_tmuxSocket();
347607
347607
  init_windowsPaths();
347608
- BASH_SPAWN_SEMAPHORE = createSpawnSemaphore(getPlatform() === "windows" ? 8 : Infinity);
347608
+ BASH_SPAWN_SEMAPHORE = createSpawnSemaphore(getPlatform() === "windows" ? 4 : Infinity);
347609
347609
  });
347610
347610
 
347611
347611
  // src/utils/shell/powershellDetection.ts
@@ -347833,8 +347833,8 @@ async function exec3(command, abortSignal, shellType, options) {
347833
347833
  const shellArgs = isSandboxedPowerShell ? ["-c", commandString] : provider.getSpawnArgs(commandString);
347834
347834
  const envOverrides = await provider.getEnvironmentOverrides(command);
347835
347835
  const isGitBash = shellType === "bash" && getPlatform() === "windows" && !isSandboxedPowerShell;
347836
- const MAX_GITBASH_RETRIES = 3;
347837
- const GITBASH_RETRY_BASE_MS = 500;
347836
+ const MAX_GITBASH_RETRIES = 5;
347837
+ const GITBASH_RETRY_BASE_MS = 1000;
347838
347838
  function isGitBashPtyExhaustion(err2) {
347839
347839
  const msg = errorMessage(err2).toLowerCase();
347840
347840
  return msg.includes("no available terminals") || msg.includes("cannot fork") || msg.includes("resource temporarily unavailable");
@@ -565080,6 +565080,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
565080
565080
  const scheduleProactiveTick = undefined;
565081
565081
  subscribeToCommandQueue(() => {
565082
565082
  if (abortController && getCommandsByMaxPriority("now").length > 0) {
565083
+ logForDebugging("[print.ts] Interrupting turn due to priority command");
565083
565084
  abortController.abort("interrupt");
565084
565085
  }
565085
565086
  });
@@ -566245,6 +566246,7 @@ ${m2.text}
566245
566246
  structuredIO.injectControlResponse(response);
566246
566247
  },
566247
566248
  onInterrupt() {
566249
+ logForDebugging("[print.ts] Turn interrupted via bridge onInterrupt");
566248
566250
  abortController?.abort();
566249
566251
  },
566250
566252
  onSetModel(model) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funnycode/myclaude",
3
- "version": "0.1.53",
3
+ "version": "0.1.54",
4
4
  "private": false,
5
5
  "description": "An open-source AI coding assistant in your terminal - powered by Claude",
6
6
  "license": "MIT",