@zhongqian97-code/ecode 0.5.51 → 0.5.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/index.js CHANGED
@@ -923,6 +923,6 @@ Node.js 16/18 \u8BF7\u4F7F\u7528 --web \u6216 --pipe \u6A21\u5F0F\u3002
923
923
  );
924
924
  process.exit(1);
925
925
  }
926
- const { App, React, render } = await import("./ui-DG7FREBU.js");
926
+ const { App, React, render } = await import("./ui-A5WEKWOC.js");
927
927
  render(React.createElement(App, { config: finalConfig, version: VERSION, autoMode, registry, trustedSkillDirs, initialMessages }));
928
928
  }
@@ -2547,7 +2547,7 @@ function App({ config, version, autoMode = false, registry, trustedSkillDirs = [
2547
2547
  }, []);
2548
2548
  useEffect3(() => {
2549
2549
  if (!stdout || !stdin) return;
2550
- stdout.write("\x1B[?1003h\x1B[?1006h");
2550
+ stdout.write("\x1B[?1002h\x1B[?1006h");
2551
2551
  const origEmit = stdin.emit;
2552
2552
  stdin.emit = function(event, ...args) {
2553
2553
  if (event === "readable") {
@@ -2586,7 +2586,10 @@ function App({ config, version, autoMode = false, registry, trustedSkillDirs = [
2586
2586
  }
2587
2587
  }
2588
2588
  const remainder = s.slice(mouseLen);
2589
- if (remainder.length > 0) stdin.unshift(Buffer.from(remainder, "binary"));
2589
+ if (remainder.length > 0) {
2590
+ stdin.unshift(Buffer.from(remainder, "binary"));
2591
+ return origEmit.call(this, event, ...args);
2592
+ }
2590
2593
  return true;
2591
2594
  }
2592
2595
  stdin.unshift(chunk);
@@ -2596,7 +2599,7 @@ function App({ config, version, autoMode = false, registry, trustedSkillDirs = [
2596
2599
  };
2597
2600
  return () => {
2598
2601
  stdin.emit = origEmit;
2599
- stdout.write("\x1B[?1003l\x1B[?1006l");
2602
+ stdout.write("\x1B[?1002l\x1B[?1006l");
2600
2603
  };
2601
2604
  }, [stdout, stdin]);
2602
2605
  useEffect3(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhongqian97-code/ecode",
3
- "version": "0.5.51",
3
+ "version": "0.5.54",
4
4
  "description": "A minimal Claude Code clone with REPL interface and bash tool calling",
5
5
  "type": "module",
6
6
  "author": "zhongqian97-code",