claude-yes 1.154.0 → 1.154.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.
@@ -74,6 +74,16 @@ clis:
74
74
  # gap across a line-wrap; `\s+`/`\s*` tolerate wraps inside the phrase.
75
75
  - pattern: 'API Error:[\s\S]{0,40}Response\s+stalled\s+mid-\s*stream'
76
76
  flags: i
77
+ # "API Error: Connection closed mid-response. The response above may be
78
+ # incomplete." — the HTTP/SSE connection dropped before the response
79
+ # finished. Same class as the stalled-mid-stream case (transient, the
80
+ # partial answer is already on screen), so retry with backoff instead of
81
+ # wedging. Same "API Error:" chrome anchor keeps an agent merely
82
+ # *discussing* a dropped connection from self-triggering a retry;
83
+ # `[\s\S]{0,40}` spans the prefix→phrase gap across a line-wrap and
84
+ # `\s+`/`\s*` tolerate wraps inside the phrase.
85
+ - pattern: 'API Error:[\s\S]{0,40}Connection\s+closed\s+mid-\s*response'
86
+ flags: i
77
87
  # Any 5xx API error (e.g. "API Error: 529 Overloaded", "API Error: 503 …",
78
88
  # or a 529 rendered as a raw JSON error blob) is server-side + transient —
79
89
  # retry with backoff regardless of the wording. Anchored to "API Error" so
@@ -1,8 +1,8 @@
1
- import { t as CLIS_CONFIG } from "./ts-U3AE4u72.js";
1
+ import { t as CLIS_CONFIG } from "./ts-CUeuWLV4.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-Dam11bMz.js.map
8
+ //# sourceMappingURL=SUPPORTED_CLIS-DrH6I9zq.js.map
@@ -0,0 +1,8 @@
1
+ import "./ts-CUeuWLV4.js";
2
+ import "./logger-CDIsZ-Pp.js";
3
+ import "./versionChecker-Z_ZU8BUp.js";
4
+ import "./pidStore-fqXqTKkh.js";
5
+ import "./globalPidIndex-DlmmJlO8.js";
6
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-DrH6I9zq.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-B-ToHoJ2.js";
4
+ import { i as versionString, n as displayVersion, r as getInstalledPackage, t as checkAndAutoUpdate } from "./versionChecker-Z_ZU8BUp.js";
5
5
  import { argv } from "process";
6
6
  import { execFileSync, spawn } from "child_process";
7
7
  import ms from "ms";
@@ -481,7 +481,7 @@ function buildRustArgs(argv, cliFromScript, supportedClis) {
481
481
  const rawArg = process.argv[2];
482
482
  const managerCommands = !invokedCliName(process.argv);
483
483
  const isHelpFlag = rawArg === "-h" || rawArg === "--help";
484
- const { isSubcommand, runSubcommand, cmdHelp } = await import("./subcommands-DLvC6kto.js");
484
+ const { isSubcommand, runSubcommand, cmdHelp } = await import("./subcommands-JGstR1vy.js");
485
485
  if (isHelpFlag && process.argv.length === 3) {
486
486
  cmdHelp(managerCommands);
487
487
  process.exit(0);
@@ -514,7 +514,7 @@ if (config.useRust) {
514
514
  }
515
515
  }
516
516
  if (rustBinary) {
517
- const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-CmM_zBrM.js");
517
+ const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-DzFU0jmz.js");
518
518
  const rustArgs = buildRustArgs(process.argv, config.cli, SUPPORTED_CLIS);
519
519
  if (config.verbose) {
520
520
  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-U3AE4u72.js";
1
+ import { a as removeControlCharacters, i as AgentContext, n as agentYes, r as config, t as CLIS_CONFIG } from "./ts-CUeuWLV4.js";
2
2
  import "./logger-CDIsZ-Pp.js";
3
- import "./versionChecker-B-ToHoJ2.js";
3
+ import "./versionChecker-Z_ZU8BUp.js";
4
4
  import "./pidStore-fqXqTKkh.js";
5
5
  import "./globalPidIndex-DlmmJlO8.js";
6
6
 
@@ -1,9 +1,9 @@
1
- import "./ts-U3AE4u72.js";
1
+ import "./ts-CUeuWLV4.js";
2
2
  import "./logger-CDIsZ-Pp.js";
3
- import "./versionChecker-B-ToHoJ2.js";
3
+ import "./versionChecker-Z_ZU8BUp.js";
4
4
  import "./pidStore-fqXqTKkh.js";
5
5
  import "./globalPidIndex-DlmmJlO8.js";
6
- import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-Dam11bMz.js";
6
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-DrH6I9zq.js";
7
7
  import { i as resolveSpawnCwd } from "./workspaceConfig-DT3cCBZK.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-BPFBe7R5.js.map
144
+ //# sourceMappingURL=schedule-C08WyBm5.js.map
@@ -1,16 +1,16 @@
1
- import "./ts-U3AE4u72.js";
1
+ import "./ts-CUeuWLV4.js";
2
2
  import "./logger-CDIsZ-Pp.js";
3
- import { r as getInstalledPackage } from "./versionChecker-B-ToHoJ2.js";
3
+ import { r as getInstalledPackage } from "./versionChecker-Z_ZU8BUp.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-CEyhl0WH.js";
8
- import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-Dam11bMz.js";
8
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-DrH6I9zq.js";
9
9
  import "./e2e-Bfw7qL9O.js";
10
10
  import "./webrtcLink-CBZkZ-LT.js";
11
11
  import "./remotes-DBCvpp3B.js";
12
12
  import { i as resolveSpawnCwd, r as isProvisionAllowed, t as getProvisionRoot } from "./workspaceConfig-DT3cCBZK.js";
13
- import { E 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, w as snapshotStatus } from "./subcommands-C4tMi9NX.js";
13
+ import { E 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, w as snapshotStatus } from "./subcommands-D3ESmRDW.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";
@@ -1272,4 +1272,4 @@ Options:
1272
1272
 
1273
1273
  //#endregion
1274
1274
  export { cmdServe };
1275
- //# sourceMappingURL=serve-BYc2J-2F.js.map
1275
+ //# sourceMappingURL=serve-BQ5q0pco.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-BYc2J-2F.js");
35
+ const { cmdServe } = await import("./serve-BQ5q0pco.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-D9emVJYz.js.map
45
+ //# sourceMappingURL=setup-BaP3-d3q.js.map
@@ -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-BYc2J-2F.js");
557
+ const { cmdServe } = await import("./serve-BQ5q0pco.js");
558
558
  return cmdServe(rest);
559
559
  }
560
560
  case "setup": {
561
- const { cmdSetup } = await import("./setup-D9emVJYz.js");
561
+ const { cmdSetup } = await import("./setup-BaP3-d3q.js");
562
562
  return cmdSetup(rest);
563
563
  }
564
564
  case "schedule": {
565
- const { cmdSchedule } = await import("./schedule-BPFBe7R5.js");
565
+ const { cmdSchedule } = await import("./schedule-C08WyBm5.js");
566
566
  return cmdSchedule(rest);
567
567
  }
568
568
  case "remote": {
@@ -2710,4 +2710,4 @@ async function cmdResultSet(rest) {
2710
2710
 
2711
2711
  //#endregion
2712
2712
  export { runSubcommand as C, writeToIpc as E, resolveResumeArgs as S, stopTipForCli 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, snapshotStatus as w, resolveReadWindow as x, renderRawLogLines as y };
2713
- //# sourceMappingURL=subcommands-C4tMi9NX.js.map
2713
+ //# sourceMappingURL=subcommands-D3ESmRDW.js.map
@@ -4,6 +4,6 @@ import "./configShared-CEyhl0WH.js";
4
4
  import "./e2e-Bfw7qL9O.js";
5
5
  import "./webrtcLink-CBZkZ-LT.js";
6
6
  import "./remotes-DBCvpp3B.js";
7
- import { C as runSubcommand, E as writeToIpc, S as resolveResumeArgs, T as stopTipForCli, _ 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 snapshotStatus, x as resolveReadWindow, y as renderRawLogLines } from "./subcommands-C4tMi9NX.js";
7
+ import { C as runSubcommand, E as writeToIpc, S as resolveResumeArgs, T as stopTipForCli, _ 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 snapshotStatus, x as resolveReadWindow, y as renderRawLogLines } from "./subcommands-D3ESmRDW.js";
8
8
 
9
9
  export { cmdHelp, isSubcommand, runSubcommand };
@@ -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-B-ToHoJ2.js";
2
+ import { r as getInstalledPackage } from "./versionChecker-Z_ZU8BUp.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-U3AE4u72.js.map
1805
+ //# sourceMappingURL=ts-CUeuWLV4.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.154.0";
10
+ var version = "1.154.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-B-ToHoJ2.js.map
218
+ //# sourceMappingURL=versionChecker-Z_ZU8BUp.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-yes",
3
- "version": "1.154.0",
3
+ "version": "1.154.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",
@@ -1,8 +0,0 @@
1
- import "./ts-U3AE4u72.js";
2
- import "./logger-CDIsZ-Pp.js";
3
- import "./versionChecker-B-ToHoJ2.js";
4
- import "./pidStore-fqXqTKkh.js";
5
- import "./globalPidIndex-DlmmJlO8.js";
6
- import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-Dam11bMz.js";
7
-
8
- export { SUPPORTED_CLIS };