agent-yes 1.56.0 → 1.57.0

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.
@@ -9794,6 +9794,11 @@ function tryCatch(catchFn, fn) {
9794
9794
  };
9795
9795
  }
9796
9796
 
9797
+ //#endregion
9798
+ //#region package.json
9799
+ var name = "agent-yes";
9800
+ var version = "1.57.0";
9801
+
9797
9802
  //#endregion
9798
9803
  //#region ts/pty-fix.ts
9799
9804
  var pty_fix_exports = /* @__PURE__ */ __exportAll({});
@@ -9962,7 +9967,7 @@ function spawnAgent(options) {
9962
9967
  let [bin, ...args] = [...parseCommandString(cliConf?.binary || cli), ...cliArgs];
9963
9968
  logger.debug(`Spawning ${bin} with args: ${JSON.stringify(args)}`);
9964
9969
  const spawned = pty.spawn(bin, args, ptyOptions);
9965
- logger.info(`[${cli}-yes] Spawned ${bin} with PID ${spawned.pid}`);
9970
+ logger.info(`[${cli}-yes] Spawned ${bin} with PID ${spawned.pid} (agent-yes v${version})`);
9966
9971
  return spawned;
9967
9972
  };
9968
9973
  return tryCatch((error, attempts, spawn, ...args) => {
@@ -10838,5 +10843,5 @@ function sleep(ms) {
10838
10843
  const SUPPORTED_CLIS = Object.keys(CLIS_CONFIG);
10839
10844
 
10840
10845
  //#endregion
10841
- export { AgentContext as a, config as i, CLIS_CONFIG as n, PidStore as o, agentYes as r, removeControlCharacters as s, SUPPORTED_CLIS as t };
10842
- //# sourceMappingURL=SUPPORTED_CLIS-BqLSl2Mv.js.map
10846
+ export { AgentContext as a, PidStore as c, config as i, removeControlCharacters as l, CLIS_CONFIG as n, name as o, agentYes as r, version as s, SUPPORTED_CLIS as t };
10847
+ //# sourceMappingURL=SUPPORTED_CLIS-DNBWqwwx.js.map
package/dist/cli.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env bun
2
2
  import { c as __toESM, i as __commonJSMin, r as require_ms, t as logger } from "./logger-DH1Rx9HI.js";
3
3
  import "./agent-yes.config-Dr2p5kBW.js";
4
- import { o as PidStore, t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-BqLSl2Mv.js";
4
+ import { c as PidStore, o as name, s as version, t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-DNBWqwwx.js";
5
5
  import { createRequire } from "node:module";
6
6
  import { argv } from "process";
7
7
  import { spawn } from "child_process";
@@ -4502,11 +4502,6 @@ function isYargsInstance(y) {
4502
4502
  //#region node_modules/yargs/index.mjs
4503
4503
  const Yargs = YargsFactory(esm_default);
4504
4504
 
4505
- //#endregion
4506
- //#region package.json
4507
- var name = "agent-yes";
4508
- var version = "1.56.0";
4509
-
4510
4505
  //#endregion
4511
4506
  //#region ts/parseCliArgs.ts
4512
4507
  /**
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import "./logger-DH1Rx9HI.js";
2
- import { a as AgentContext, i as config, n as CLIS_CONFIG, r as agentYes, s as removeControlCharacters } from "./SUPPORTED_CLIS-BqLSl2Mv.js";
2
+ import { a as AgentContext, i as config, l as removeControlCharacters, n as CLIS_CONFIG, r as agentYes } from "./SUPPORTED_CLIS-DNBWqwwx.js";
3
3
 
4
4
  export { AgentContext, CLIS_CONFIG, config, agentYes as default, removeControlCharacters };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-yes",
3
- "version": "1.56.0",
3
+ "version": "1.57.0",
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",