claude-yes 1.151.0 → 1.151.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.
@@ -1,8 +1,8 @@
1
- import { t as CLIS_CONFIG } from "./ts-C1_ppO89.js";
1
+ import { t as CLIS_CONFIG } from "./ts-Bbb1IaDh.js";
2
2
 
3
3
  //#region ts/SUPPORTED_CLIS.ts
4
4
  const SUPPORTED_CLIS = Object.keys(CLIS_CONFIG);
5
5
 
6
6
  //#endregion
7
7
  export { SUPPORTED_CLIS as t };
8
- //# sourceMappingURL=SUPPORTED_CLIS-DLTCkxyO.js.map
8
+ //# sourceMappingURL=SUPPORTED_CLIS-CKqnbe_-.js.map
@@ -0,0 +1,8 @@
1
+ import "./ts-Bbb1IaDh.js";
2
+ import "./logger-CDIsZ-Pp.js";
3
+ import "./versionChecker-D-05ZcrY.js";
4
+ import "./pidStore-fqXqTKkh.js";
5
+ import "./globalPidIndex-DlmmJlO8.js";
6
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-CKqnbe_-.js";
7
+
8
+ export { SUPPORTED_CLIS };
package/dist/cli.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env bun
2
2
  import { t as invokedCliName } from "./invokedCli-uqM2YYA7.js";
3
3
  import { n as logger } from "./logger-CDIsZ-Pp.js";
4
- import { i as versionString, n as displayVersion, r as getInstalledPackage, t as checkAndAutoUpdate } from "./versionChecker-BvGC9SmN.js";
4
+ import { i as versionString, n as displayVersion, r as getInstalledPackage, t as checkAndAutoUpdate } from "./versionChecker-D-05ZcrY.js";
5
5
  import { argv } from "process";
6
6
  import { execFileSync, spawn } from "child_process";
7
7
  import ms from "ms";
@@ -410,16 +410,6 @@ function autoRebuildIfOutdated(binaryPath, verbose) {
410
410
  stdio: "inherit",
411
411
  timeout: 3e5
412
412
  });
413
- try {
414
- execFileSync("cargo", [
415
- "install",
416
- "--path",
417
- rsDir
418
- ], {
419
- stdio: "inherit",
420
- timeout: 6e4
421
- });
422
- } catch {}
423
413
  process.stderr.write(`\x1b[32m[rust] Rebuild complete\x1b[0m\n`);
424
414
  return true;
425
415
  } catch {
@@ -480,7 +470,7 @@ function buildRustArgs(argv, cliFromScript, supportedClis) {
480
470
  const rawArg = process.argv[2];
481
471
  const managerCommands = !invokedCliName(process.argv);
482
472
  const isHelpFlag = rawArg === "-h" || rawArg === "--help";
483
- const { isSubcommand, runSubcommand, cmdHelp } = await import("./subcommands-BRNq_oYW.js");
473
+ const { isSubcommand, runSubcommand, cmdHelp } = await import("./subcommands-8qtgnf0g.js");
484
474
  if (isHelpFlag && process.argv.length === 3) {
485
475
  cmdHelp(managerCommands);
486
476
  process.exit(0);
@@ -513,7 +503,7 @@ if (config.useRust) {
513
503
  }
514
504
  }
515
505
  if (rustBinary) {
516
- const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-k3QHErEI.js");
506
+ const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-VRQX4l7K.js");
517
507
  const rustArgs = buildRustArgs(process.argv, config.cli, SUPPORTED_CLIS);
518
508
  if (config.verbose) {
519
509
  console.log(`[rust] Using binary: ${rustBinary}`);
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { a as removeControlCharacters, i as AgentContext, n as agentYes, r as config, t as CLIS_CONFIG } from "./ts-C1_ppO89.js";
1
+ import { a as removeControlCharacters, i as AgentContext, n as agentYes, r as config, t as CLIS_CONFIG } from "./ts-Bbb1IaDh.js";
2
2
  import "./logger-CDIsZ-Pp.js";
3
- import "./versionChecker-BvGC9SmN.js";
3
+ import "./versionChecker-D-05ZcrY.js";
4
4
  import "./pidStore-fqXqTKkh.js";
5
5
  import "./globalPidIndex-DlmmJlO8.js";
6
6
 
@@ -1,9 +1,9 @@
1
- import "./ts-C1_ppO89.js";
1
+ import "./ts-Bbb1IaDh.js";
2
2
  import "./logger-CDIsZ-Pp.js";
3
- import "./versionChecker-BvGC9SmN.js";
3
+ import "./versionChecker-D-05ZcrY.js";
4
4
  import "./pidStore-fqXqTKkh.js";
5
5
  import "./globalPidIndex-DlmmJlO8.js";
6
- import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-DLTCkxyO.js";
6
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-CKqnbe_-.js";
7
7
  import { i as resolveSpawnCwd } from "./workspaceConfig-B9VX8tVO.js";
8
8
  import { createHash } from "node:crypto";
9
9
 
@@ -141,4 +141,4 @@ async function cmdSchedule(rest) {
141
141
 
142
142
  //#endregion
143
143
  export { cmdSchedule };
144
- //# sourceMappingURL=schedule-DeyoL8rw.js.map
144
+ //# sourceMappingURL=schedule-CHhOFoc_.js.map
@@ -1,16 +1,16 @@
1
- import "./ts-C1_ppO89.js";
1
+ import "./ts-Bbb1IaDh.js";
2
2
  import "./logger-CDIsZ-Pp.js";
3
- import { r as getInstalledPackage } from "./versionChecker-BvGC9SmN.js";
3
+ import { r as getInstalledPackage } from "./versionChecker-D-05ZcrY.js";
4
4
  import "./pidStore-fqXqTKkh.js";
5
5
  import { a as updateGlobalPidStatus } from "./globalPidIndex-DlmmJlO8.js";
6
6
  import { t as pgidForWrapper } from "./reaper-C-eWAxIj.js";
7
7
  import "./configShared-C1C04bbq.js";
8
- import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-DLTCkxyO.js";
8
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-CKqnbe_-.js";
9
9
  import "./e2e-ClOI_aqV.js";
10
10
  import "./webrtcLink-BWhuA74k.js";
11
11
  import "./remotes-qK6uozO4.js";
12
12
  import { i as resolveSpawnCwd, r as isProvisionAllowed, t as getProvisionRoot } from "./workspaceConfig-B9VX8tVO.js";
13
- import { C as snapshotStatus, T as writeToIpc, _ as readPtysize, b as resolveOne, c as extractTaskCounts, g as readNotes, i as controlCodeFromName, m as listRecords, o as deriveLiveStatus, v as renderRawLog } from "./subcommands-CUHrqQ1h.js";
13
+ import { C as snapshotStatus, T as writeToIpc, _ as readPtysize, b as resolveOne, c as extractTaskCounts, g as readNotes, i as controlCodeFromName, m as listRecords, o as deriveLiveStatus, v as renderRawLog } from "./subcommands-DmtX9Tyj.js";
14
14
  import yargs from "yargs";
15
15
  import { mkdir, open, readFile, stat, writeFile } from "fs/promises";
16
16
  import { homedir, hostname, userInfo } from "os";
@@ -1265,4 +1265,4 @@ Options:
1265
1265
 
1266
1266
  //#endregion
1267
1267
  export { cmdServe };
1268
- //# sourceMappingURL=serve-ClS-lrfi.js.map
1268
+ //# sourceMappingURL=serve-D95Tjt_c.js.map
@@ -32,7 +32,7 @@ async function cmdSetup(rest) {
32
32
  if (!existsSync(abs)) process.stderr.write(` note: that directory doesn't exist yet — create it, or agents spawned there will fail\n`);
33
33
  if (noShare) return 0;
34
34
  process.stdout.write(`\nsharing this machine to agent-yes.com…\n`);
35
- const { cmdServe } = await import("./serve-ClS-lrfi.js");
35
+ const { cmdServe } = await import("./serve-D95Tjt_c.js");
36
36
  return cmdServe([
37
37
  "install",
38
38
  "--share",
@@ -42,4 +42,4 @@ async function cmdSetup(rest) {
42
42
 
43
43
  //#endregion
44
44
  export { cmdSetup };
45
- //# sourceMappingURL=setup-D2MYNwa9.js.map
45
+ //# sourceMappingURL=setup-BU0hqKTl.js.map
@@ -4,6 +4,6 @@ import "./configShared-C1C04bbq.js";
4
4
  import "./e2e-ClOI_aqV.js";
5
5
  import "./webrtcLink-BWhuA74k.js";
6
6
  import "./remotes-qK6uozO4.js";
7
- import { C as snapshotStatus, S as runSubcommand, T as writeToIpc, _ as readPtysize, a as cursorAbs, b as resolveOne, c as extractTaskCounts, d as isExitRequest, f as isPidAlive, g as readNotes, h as matchKeyword, i as controlCodeFromName, l as finalizedLines, m as listRecords, n as READ_PAGE_DEFAULT, o as deriveLiveStatus, p as isSubcommand, r as cmdHelp, s as extractNeedsInput, t as GRACEFUL_EXIT_COMMANDS, u as isAgentStuck, v as renderRawLog, w as stopTipForCli, x as resolveReadWindow, y as renderRawLogLines } from "./subcommands-CUHrqQ1h.js";
7
+ import { C as snapshotStatus, S as runSubcommand, T as writeToIpc, _ as readPtysize, a as cursorAbs, b as resolveOne, c as extractTaskCounts, d as isExitRequest, f as isPidAlive, g as readNotes, h as matchKeyword, i as controlCodeFromName, l as finalizedLines, m as listRecords, n as READ_PAGE_DEFAULT, o as deriveLiveStatus, p as isSubcommand, r as cmdHelp, s as extractNeedsInput, t as GRACEFUL_EXIT_COMMANDS, u as isAgentStuck, v as renderRawLog, w as stopTipForCli, x as resolveReadWindow, y as renderRawLogLines } from "./subcommands-DmtX9Tyj.js";
8
8
 
9
9
  export { cmdHelp, isSubcommand, runSubcommand };
@@ -554,15 +554,15 @@ async function runSubcommand(argv) {
554
554
  case "restart": return await cmdRestart(rest);
555
555
  case "note": return await cmdNote(rest);
556
556
  case "serve": {
557
- const { cmdServe } = await import("./serve-ClS-lrfi.js");
557
+ const { cmdServe } = await import("./serve-D95Tjt_c.js");
558
558
  return cmdServe(rest);
559
559
  }
560
560
  case "setup": {
561
- const { cmdSetup } = await import("./setup-D2MYNwa9.js");
561
+ const { cmdSetup } = await import("./setup-BU0hqKTl.js");
562
562
  return cmdSetup(rest);
563
563
  }
564
564
  case "schedule": {
565
- const { cmdSchedule } = await import("./schedule-DeyoL8rw.js");
565
+ const { cmdSchedule } = await import("./schedule-CHhOFoc_.js");
566
566
  return cmdSchedule(rest);
567
567
  }
568
568
  case "remote": {
@@ -2619,4 +2619,4 @@ async function cmdResultSet(rest) {
2619
2619
 
2620
2620
  //#endregion
2621
2621
  export { snapshotStatus as C, runSubcommand as S, writeToIpc as T, readPtysize as _, cursorAbs as a, resolveOne as b, extractTaskCounts as c, isExitRequest as d, isPidAlive as f, readNotes as g, matchKeyword as h, controlCodeFromName as i, finalizedLines as l, listRecords as m, READ_PAGE_DEFAULT as n, deriveLiveStatus as o, isSubcommand as p, cmdHelp as r, extractNeedsInput as s, GRACEFUL_EXIT_COMMANDS as t, isAgentStuck as u, renderRawLog as v, stopTipForCli as w, resolveReadWindow as x, renderRawLogLines as y };
2622
- //# sourceMappingURL=subcommands-CUHrqQ1h.js.map
2622
+ //# sourceMappingURL=subcommands-DmtX9Tyj.js.map
@@ -1,5 +1,5 @@
1
1
  import { n as logger, t as addTransport } from "./logger-CDIsZ-Pp.js";
2
- import { r as getInstalledPackage } from "./versionChecker-BvGC9SmN.js";
2
+ import { r as getInstalledPackage } from "./versionChecker-D-05ZcrY.js";
3
3
  import { t as agentYesHome } from "./agentYesHome-_eJa3DaX.js";
4
4
  import { i as shouldUseLock, r as releaseLock, t as acquireLock } from "./runningLock-V4qvXgAw.js";
5
5
  import { t as PidStore } from "./pidStore-fqXqTKkh.js";
@@ -1802,4 +1802,4 @@ function sleep(ms) {
1802
1802
 
1803
1803
  //#endregion
1804
1804
  export { removeControlCharacters as a, AgentContext as i, agentYes as n, config as r, CLIS_CONFIG as t };
1805
- //# sourceMappingURL=ts-C1_ppO89.js.map
1805
+ //# sourceMappingURL=ts-Bbb1IaDh.js.map
@@ -7,7 +7,7 @@ import { fileURLToPath } from "url";
7
7
 
8
8
  //#region package.json
9
9
  var name = "claude-yes";
10
- var version = "1.151.0";
10
+ var version = "1.151.1";
11
11
 
12
12
  //#endregion
13
13
  //#region ts/versionChecker.ts
@@ -215,4 +215,4 @@ async function displayVersion() {
215
215
 
216
216
  //#endregion
217
217
  export { versionString as i, displayVersion as n, getInstalledPackage as r, checkAndAutoUpdate as t };
218
- //# sourceMappingURL=versionChecker-BvGC9SmN.js.map
218
+ //# sourceMappingURL=versionChecker-D-05ZcrY.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-yes",
3
- "version": "1.151.0",
3
+ "version": "1.151.1",
4
4
  "description": "A wrapper tool that automates interactions with various AI CLI tools by automatically handling common prompts and responses.",
5
5
  "keywords": [
6
6
  "ai",
package/ts/rustBinary.ts CHANGED
@@ -264,15 +264,10 @@ function autoRebuildIfOutdated(binaryPath: string, verbose: boolean): boolean {
264
264
  stdio: "inherit",
265
265
  timeout: 300_000, // 5 min max
266
266
  });
267
- // Also update ~/.cargo/bin so the system-wide binary stays current
268
- try {
269
- execFileSync("cargo", ["install", "--path", rsDir], {
270
- stdio: "inherit",
271
- timeout: 60_000,
272
- });
273
- } catch {
274
- // non-fatal: the target/ binary is already updated
275
- }
267
+ // Only the target/ binary is rebuilt we deliberately do NOT `cargo install`
268
+ // a system-wide `agent-yes`. The launcher is the single global command (it's
269
+ // what's linked onto PATH) and it spawns this binary from target/release via
270
+ // findRustBinary(); a cargo-installed `agent-yes` would shadow that launcher.
276
271
  process.stderr.write(`\x1b[32m[rust] Rebuild complete\x1b[0m\n`);
277
272
  return true;
278
273
  } catch {
@@ -1,8 +0,0 @@
1
- import "./ts-C1_ppO89.js";
2
- import "./logger-CDIsZ-Pp.js";
3
- import "./versionChecker-BvGC9SmN.js";
4
- import "./pidStore-fqXqTKkh.js";
5
- import "./globalPidIndex-DlmmJlO8.js";
6
- import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-DLTCkxyO.js";
7
-
8
- export { SUPPORTED_CLIS };