claude-yes 1.17.0 → 1.17.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.js CHANGED
@@ -5173,7 +5173,11 @@ async function claudeYes({
5173
5173
  const shellReady = new ReadyManager;
5174
5174
  const shellOutputStream = new TransformStream;
5175
5175
  const outputWriter = shellOutputStream.writable.getWriter();
5176
- const pty = process.versions.bun ? await import("bun-pty") : await import("node-pty");
5176
+ const pty = process.versions.bun ? await import("bun-pty").catch(() => {
5177
+ throw new Error("Please install bun-pty");
5178
+ }) : await import("node-pty").catch(() => {
5179
+ throw new Error("Please install node-pty");
5180
+ });
5177
5181
  const getPtyOptions = () => ({
5178
5182
  name: "xterm-color",
5179
5183
  cols: process.stdout.columns - PREFIXLENGTH,
@@ -11440,5 +11444,5 @@ var { exitCode, logs: logs2 } = await claudeYes({
11440
11444
  });
11441
11445
  process.exit(exitCode ?? 1);
11442
11446
 
11443
- //# debugId=3E12815BE75077F764756E2164756E21
11447
+ //# debugId=1D1D428D01E003D264756E2164756E21
11444
11448
  //# sourceMappingURL=cli.js.map