claude-yes 1.133.0 → 1.133.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-Bl0IyBFA.js";
1
+ import { t as CLIS_CONFIG } from "./ts-D_4N8xNF.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-DrXi-ZoG.js.map
8
+ //# sourceMappingURL=SUPPORTED_CLIS-CffqZtcC.js.map
@@ -0,0 +1,8 @@
1
+ import "./ts-D_4N8xNF.js";
2
+ import "./logger-CDIsZ-Pp.js";
3
+ import "./versionChecker-DHg-gsSi.js";
4
+ import "./pidStore-fqXqTKkh.js";
5
+ import "./globalPidIndex-DlmmJlO8.js";
6
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-CffqZtcC.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-zdFbz1ST.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-NEubo1N6.js";
4
+ import { i as versionString, n as displayVersion, r as getInstalledPackage, t as checkAndAutoUpdate } from "./versionChecker-DHg-gsSi.js";
5
5
  import { argv } from "process";
6
6
  import { execFileSync, spawn } from "child_process";
7
7
  import ms from "ms";
@@ -480,7 +480,7 @@ function buildRustArgs(argv, cliFromScript, supportedClis) {
480
480
  const rawArg = process.argv[2];
481
481
  const managerCommands = !invokedCliName(process.argv);
482
482
  const isHelpFlag = rawArg === "-h" || rawArg === "--help";
483
- const { isSubcommand, runSubcommand, cmdHelp } = await import("./subcommands-BF417PZx.js");
483
+ const { isSubcommand, runSubcommand, cmdHelp } = await import("./subcommands-BOpq1lzK.js");
484
484
  if (isHelpFlag && process.argv.length === 3) {
485
485
  cmdHelp(managerCommands);
486
486
  process.exit(0);
@@ -513,7 +513,7 @@ if (config.useRust) {
513
513
  }
514
514
  }
515
515
  if (rustBinary) {
516
- const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-K_KExe0m.js");
516
+ const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-DI4O_0OU.js");
517
517
  const rustArgs = buildRustArgs(process.argv, config.cli, SUPPORTED_CLIS);
518
518
  if (config.verbose) {
519
519
  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-Bl0IyBFA.js";
1
+ import { a as removeControlCharacters, i as AgentContext, n as agentYes, r as config, t as CLIS_CONFIG } from "./ts-D_4N8xNF.js";
2
2
  import "./logger-CDIsZ-Pp.js";
3
- import "./versionChecker-NEubo1N6.js";
3
+ import "./versionChecker-DHg-gsSi.js";
4
4
  import "./pidStore-fqXqTKkh.js";
5
5
  import "./globalPidIndex-DlmmJlO8.js";
6
6
 
@@ -1,9 +1,9 @@
1
- import "./ts-Bl0IyBFA.js";
1
+ import "./ts-D_4N8xNF.js";
2
2
  import "./logger-CDIsZ-Pp.js";
3
- import "./versionChecker-NEubo1N6.js";
3
+ import "./versionChecker-DHg-gsSi.js";
4
4
  import "./pidStore-fqXqTKkh.js";
5
5
  import "./globalPidIndex-DlmmJlO8.js";
6
- import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-DrXi-ZoG.js";
6
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-CffqZtcC.js";
7
7
  import { n as resolveSpawnCwd } from "./workspaceConfig-BCOqRBEW.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-CxWiM9Gh.js.map
144
+ //# sourceMappingURL=schedule-CJB2SS_5.js.map
@@ -1,13 +1,13 @@
1
- import "./ts-Bl0IyBFA.js";
1
+ import "./ts-D_4N8xNF.js";
2
2
  import "./logger-CDIsZ-Pp.js";
3
- import { r as getInstalledPackage } from "./versionChecker-NEubo1N6.js";
3
+ import { r as getInstalledPackage } from "./versionChecker-DHg-gsSi.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-DrXi-ZoG.js";
8
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-CffqZtcC.js";
9
9
  import "./remotes-PKKjfTI1.js";
10
- import { d as listRecords, g as resolveOne, i as controlCodeFromName, m as renderRawLog, p as readNotes, s as extractTaskCounts, x as writeToIpc, y as snapshotStatus } from "./subcommands-DkjG64ez.js";
10
+ import { d as listRecords, g as resolveOne, i as controlCodeFromName, m as renderRawLog, p as readNotes, s as extractTaskCounts, x as writeToIpc, y as snapshotStatus } from "./subcommands-BvL7qpUL.js";
11
11
  import yargs from "yargs";
12
12
  import { mkdir, open, readFile, stat, writeFile } from "fs/promises";
13
13
  import { homedir, hostname, userInfo } from "os";
@@ -1142,4 +1142,4 @@ Options:
1142
1142
 
1143
1143
  //#endregion
1144
1144
  export { cmdServe };
1145
- //# sourceMappingURL=serve-BVd4fj_7.js.map
1145
+ //# sourceMappingURL=serve-DNqpW389.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-BVd4fj_7.js");
35
+ const { cmdServe } = await import("./serve-DNqpW389.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-C8qDU1KQ.js.map
45
+ //# sourceMappingURL=setup-DKeEBsgH.js.map
@@ -2,6 +2,6 @@ import "./logger-CDIsZ-Pp.js";
2
2
  import "./globalPidIndex-DlmmJlO8.js";
3
3
  import "./configShared-C1C04bbq.js";
4
4
  import "./remotes-PKKjfTI1.js";
5
- import { _ as resolveReadWindow, a as cursorAbs, b as stopTipForCli, c as finalizedLines, d as listRecords, f as matchKeyword, g as resolveOne, h as renderRawLogLines, i as controlCodeFromName, l as isPidAlive, m as renderRawLog, n as READ_PAGE_DEFAULT, o as extractNeedsInput, p as readNotes, r as cmdHelp, s as extractTaskCounts, t as GRACEFUL_EXIT_COMMANDS, u as isSubcommand, v as runSubcommand, x as writeToIpc, y as snapshotStatus } from "./subcommands-DkjG64ez.js";
5
+ import { _ as resolveReadWindow, a as cursorAbs, b as stopTipForCli, c as finalizedLines, d as listRecords, f as matchKeyword, g as resolveOne, h as renderRawLogLines, i as controlCodeFromName, l as isPidAlive, m as renderRawLog, n as READ_PAGE_DEFAULT, o as extractNeedsInput, p as readNotes, r as cmdHelp, s as extractTaskCounts, t as GRACEFUL_EXIT_COMMANDS, u as isSubcommand, v as runSubcommand, x as writeToIpc, y as snapshotStatus } from "./subcommands-BvL7qpUL.js";
6
6
 
7
7
  export { cmdHelp, isSubcommand, runSubcommand };
@@ -533,15 +533,15 @@ async function runSubcommand(argv) {
533
533
  case "restart": return await cmdRestart(rest);
534
534
  case "note": return await cmdNote(rest);
535
535
  case "serve": {
536
- const { cmdServe } = await import("./serve-BVd4fj_7.js");
536
+ const { cmdServe } = await import("./serve-DNqpW389.js");
537
537
  return cmdServe(rest);
538
538
  }
539
539
  case "setup": {
540
- const { cmdSetup } = await import("./setup-C8qDU1KQ.js");
540
+ const { cmdSetup } = await import("./setup-DKeEBsgH.js");
541
541
  return cmdSetup(rest);
542
542
  }
543
543
  case "schedule": {
544
- const { cmdSchedule } = await import("./schedule-CxWiM9Gh.js");
544
+ const { cmdSchedule } = await import("./schedule-CJB2SS_5.js");
545
545
  return cmdSchedule(rest);
546
546
  }
547
547
  case "remote": {
@@ -2428,4 +2428,4 @@ async function cmdResultSet(rest) {
2428
2428
 
2429
2429
  //#endregion
2430
2430
  export { resolveReadWindow as _, cursorAbs as a, stopTipForCli as b, finalizedLines as c, listRecords as d, matchKeyword as f, resolveOne as g, renderRawLogLines as h, controlCodeFromName as i, isPidAlive as l, renderRawLog as m, READ_PAGE_DEFAULT as n, extractNeedsInput as o, readNotes as p, cmdHelp as r, extractTaskCounts as s, GRACEFUL_EXIT_COMMANDS as t, isSubcommand as u, runSubcommand as v, writeToIpc as x, snapshotStatus as y };
2431
- //# sourceMappingURL=subcommands-DkjG64ez.js.map
2431
+ //# sourceMappingURL=subcommands-BvL7qpUL.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-NEubo1N6.js";
2
+ import { r as getInstalledPackage } from "./versionChecker-DHg-gsSi.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";
@@ -1788,4 +1788,4 @@ function sleep(ms) {
1788
1788
 
1789
1789
  //#endregion
1790
1790
  export { removeControlCharacters as a, AgentContext as i, agentYes as n, config as r, CLIS_CONFIG as t };
1791
- //# sourceMappingURL=ts-Bl0IyBFA.js.map
1791
+ //# sourceMappingURL=ts-D_4N8xNF.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.133.0";
10
+ var version = "1.133.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-NEubo1N6.js.map
218
+ //# sourceMappingURL=versionChecker-DHg-gsSi.js.map
package/lab/ui/index.html CHANGED
@@ -1387,12 +1387,11 @@
1387
1387
  let es = null; // live-tail subscription closer
1388
1388
  let term = null; // xterm.js Terminal rendering the raw PTY stream
1389
1389
  let fit = null;
1390
- // Re-fit the open terminal and re-assert its size to the agent's PTY. Set per
1391
- // selection in select(); invoked on open AND whenever the tab is re-activated.
1392
- // A backgrounded tab can miss window resizes, and another viewer may have
1393
- // resized the shared PTY while we were away either leaves our stream
1394
- // rendering at the wrong width/height until something nudges it. null when no
1395
- // agent is open.
1390
+ // One-shot on OPEN (select): fit the terminal to our pane, then adopt — push
1391
+ // our size to the agent's PTY so its TUI reflows to match what we render.
1392
+ // Set per selection in select(); null when no agent is open. NOT re-run on
1393
+ // tab re-activation (that eager re-push fought a shared PTY and reflowed the
1394
+ // stream on every focus); the visibilitychange hook does a local re-fit only.
1396
1395
  let resyncTerm = null;
1397
1396
  // Terminal font size (px) — adjustable from the ⋯ menu, persisted across
1398
1397
  // reloads, applied live to the open terminal and used by every new one.
@@ -3883,11 +3882,19 @@
3883
3882
  if (document.visibilityState === "visible") {
3884
3883
  lastActivity = Date.now();
3885
3884
  loadList();
3886
- // Re-assert our viewport size to the open agent: while we were away the
3887
- // window may have resized (a hidden tab can miss it) or another viewer
3888
- // may have resized the shared PTY, so the stream could be rendering at
3889
- // the wrong width/height. fit + push-if-different brings it back.
3890
- resyncTerm?.();
3885
+ // Re-FIT our pane locally in case the window resized while this tab was
3886
+ // hidden (a backgrounded tab can miss window 'resize'). A genuine size
3887
+ // change then propagates to the agent via term.onResize pushSize.
3888
+ // We deliberately do NOT force-re-assert our size to the agent on every
3889
+ // focus: for a shared PTY (a user-spawned agent attached to a local
3890
+ // terminal of a different size) that re-push fights the local terminal
3891
+ // and reflows the stream on every tab switch — the glitch the eager
3892
+ // per-focus resync introduced. The one-shot adopt still runs on select.
3893
+ if (term && fit) {
3894
+ try {
3895
+ fit.fit();
3896
+ } catch {}
3897
+ }
3891
3898
  }
3892
3899
  });
3893
3900
  watchVersion();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-yes",
3
- "version": "1.133.0",
3
+ "version": "1.133.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-Bl0IyBFA.js";
2
- import "./logger-CDIsZ-Pp.js";
3
- import "./versionChecker-NEubo1N6.js";
4
- import "./pidStore-fqXqTKkh.js";
5
- import "./globalPidIndex-DlmmJlO8.js";
6
- import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-DrXi-ZoG.js";
7
-
8
- export { SUPPORTED_CLIS };