@ekkos/cli 1.0.33 → 1.0.34
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/commands/run.js +1 -5
- package/package.json +1 -1
package/dist/commands/run.js
CHANGED
|
@@ -54,10 +54,6 @@ const transcript_repair_1 = require("../capture/transcript-repair");
|
|
|
54
54
|
let pty = null;
|
|
55
55
|
let ptyLoadPromise = null;
|
|
56
56
|
async function loadPty() {
|
|
57
|
-
// node-pty uses native addons that don't load cleanly on Windows.
|
|
58
|
-
// All PTY code paths already guard with `!isWindows`, so skip the import entirely.
|
|
59
|
-
if (isWindows)
|
|
60
|
-
return null;
|
|
61
57
|
if (pty)
|
|
62
58
|
return pty;
|
|
63
59
|
if (!ptyLoadPromise) {
|
|
@@ -1049,7 +1045,7 @@ async function run(options) {
|
|
|
1049
1045
|
// Handler reference for early spawn (allows replacing buffer handler with real handler)
|
|
1050
1046
|
let earlyDataHandler = null;
|
|
1051
1047
|
// Start spawning Claude NOW (before animation) if PTY available
|
|
1052
|
-
if (usePty && pty
|
|
1048
|
+
if (usePty && pty) {
|
|
1053
1049
|
try {
|
|
1054
1050
|
earlySpawnedShell = pty.spawn(claudePath, earlyArgs, {
|
|
1055
1051
|
name: 'xterm-256color',
|