agent-yes 1.102.0 → 1.103.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/README.md +22 -0
- package/dist/{SUPPORTED_CLIS-DZBdcl3r.js → SUPPORTED_CLIS-DFmnjlQ2.js} +2 -2
- package/dist/SUPPORTED_CLIS-JKUqcRQk.js +8 -0
- package/dist/cli.js +3 -3
- package/dist/index.js +2 -2
- package/dist/{serve-D_NsFccM.js → serve-DRobxqyW.js} +5 -5
- package/dist/{subcommands-2xkgzhhI.js → subcommands-30z6EnCN.js} +2 -2
- package/dist/{subcommands-Clfntx3R.js → subcommands-Kr8iG_pv.js} +1 -1
- package/dist/{ts-cYD43w4Z.js → ts-COKxpEy-.js} +2 -2
- package/dist/{versionChecker-DdMHudEv.js → versionChecker-DHw1FHwq.js} +2 -2
- package/lab/ui/index.html +46 -10
- package/package.json +1 -1
- package/dist/SUPPORTED_CLIS-C6FspQLb.js +0 -8
package/README.md
CHANGED
|
@@ -4,6 +4,28 @@ A wrapper tool that automates interactions with various AI CLI tools by automati
|
|
|
4
4
|
|
|
5
5
|
⚠️ **Important Security Warning**: Only run this on trusted repositories. This tool automatically responds to prompts and can execute commands without user confirmation. Be aware of potential prompt injection attacks where malicious code or instructions could be embedded in files or user inputs to manipulate the automated responses.
|
|
6
6
|
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
One-liner (installs Bun if needed, then the `ay` / `cy` / `claude-yes` … CLIs):
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
# macOS / Linux
|
|
13
|
+
curl -fsSL https://agent-yes.com/setup.sh | sh
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
```powershell
|
|
17
|
+
# Windows (works in both PowerShell and cmd)
|
|
18
|
+
powershell -c "irm https://agent-yes.com/setup.ps1 | iex"
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Or with a package manager you already have:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
bun add -g agent-yes # or: npm install -g agent-yes
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Then: `ay claude` (run an agent with auto-yes) · `ay serve share` (web console + shareable link) · live console at https://agent-yes.com
|
|
28
|
+
|
|
7
29
|
## Features
|
|
8
30
|
|
|
9
31
|
- **Multi-CLI Support**: Works with Claude, Gemini, Codex, Copilot, and Cursor CLI tools
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as CLIS_CONFIG } from "./ts-
|
|
1
|
+
import { t as CLIS_CONFIG } from "./ts-COKxpEy-.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-
|
|
8
|
+
//# sourceMappingURL=SUPPORTED_CLIS-DFmnjlQ2.js.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import "./ts-COKxpEy-.js";
|
|
2
|
+
import "./logger-B9h0djqx.js";
|
|
3
|
+
import "./versionChecker-DHw1FHwq.js";
|
|
4
|
+
import "./pidStore-DBjlqzo8.js";
|
|
5
|
+
import "./globalPidIndex-yVd3mbsV.js";
|
|
6
|
+
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-DFmnjlQ2.js";
|
|
7
|
+
|
|
8
|
+
export { SUPPORTED_CLIS };
|
package/dist/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
import { n as logger } from "./logger-B9h0djqx.js";
|
|
3
|
-
import { i as versionString, n as displayVersion, r as getInstalledPackage, t as checkAndAutoUpdate } from "./versionChecker-
|
|
3
|
+
import { i as versionString, n as displayVersion, r as getInstalledPackage, t as checkAndAutoUpdate } from "./versionChecker-DHw1FHwq.js";
|
|
4
4
|
import { argv } from "process";
|
|
5
5
|
import { execFileSync, spawn } from "child_process";
|
|
6
6
|
import ms from "ms";
|
|
@@ -482,7 +482,7 @@ function buildRustArgs(argv, cliFromScript, supportedClis) {
|
|
|
482
482
|
{
|
|
483
483
|
const rawArg = process.argv[2];
|
|
484
484
|
const isHelpFlag = rawArg === "-h" || rawArg === "--help";
|
|
485
|
-
const { isSubcommand, runSubcommand, cmdHelp } = await import("./subcommands-
|
|
485
|
+
const { isSubcommand, runSubcommand, cmdHelp } = await import("./subcommands-Kr8iG_pv.js");
|
|
486
486
|
if (isHelpFlag && process.argv.length === 3) {
|
|
487
487
|
cmdHelp();
|
|
488
488
|
process.exit(0);
|
|
@@ -515,7 +515,7 @@ if (config.useRust) {
|
|
|
515
515
|
}
|
|
516
516
|
}
|
|
517
517
|
if (rustBinary) {
|
|
518
|
-
const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-
|
|
518
|
+
const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-JKUqcRQk.js");
|
|
519
519
|
const rustArgs = buildRustArgs(process.argv, config.cli, SUPPORTED_CLIS);
|
|
520
520
|
if (config.verbose) {
|
|
521
521
|
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-
|
|
1
|
+
import { a as removeControlCharacters, i as AgentContext, n as agentYes, r as config, t as CLIS_CONFIG } from "./ts-COKxpEy-.js";
|
|
2
2
|
import "./logger-B9h0djqx.js";
|
|
3
|
-
import "./versionChecker-
|
|
3
|
+
import "./versionChecker-DHw1FHwq.js";
|
|
4
4
|
import "./pidStore-DBjlqzo8.js";
|
|
5
5
|
import "./globalPidIndex-yVd3mbsV.js";
|
|
6
6
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./ts-
|
|
1
|
+
import "./ts-COKxpEy-.js";
|
|
2
2
|
import "./logger-B9h0djqx.js";
|
|
3
|
-
import "./versionChecker-
|
|
3
|
+
import "./versionChecker-DHw1FHwq.js";
|
|
4
4
|
import "./pidStore-DBjlqzo8.js";
|
|
5
5
|
import "./globalPidIndex-yVd3mbsV.js";
|
|
6
|
-
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-
|
|
6
|
+
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-DFmnjlQ2.js";
|
|
7
7
|
import "./remotes-C3xPRtfg.js";
|
|
8
|
-
import { c as readNotes, f as snapshotStatus, l as renderRawLog, m as writeToIpc, o as listRecords, r as controlCodeFromName, u as resolveOne } from "./subcommands-
|
|
8
|
+
import { c as readNotes, f as snapshotStatus, l as renderRawLog, m as writeToIpc, o as listRecords, r as controlCodeFromName, u as resolveOne } from "./subcommands-30z6EnCN.js";
|
|
9
9
|
import yargs from "yargs";
|
|
10
10
|
import { mkdir, open, readFile, writeFile } from "fs/promises";
|
|
11
11
|
import { homedir } from "os";
|
|
@@ -552,4 +552,4 @@ Options:
|
|
|
552
552
|
|
|
553
553
|
//#endregion
|
|
554
554
|
export { cmdServe };
|
|
555
|
-
//# sourceMappingURL=serve-
|
|
555
|
+
//# sourceMappingURL=serve-DRobxqyW.js.map
|
|
@@ -163,7 +163,7 @@ async function runSubcommand(argv) {
|
|
|
163
163
|
case "restart": return await cmdRestart(rest);
|
|
164
164
|
case "note": return await cmdNote(rest);
|
|
165
165
|
case "serve": {
|
|
166
|
-
const { cmdServe } = await import("./serve-
|
|
166
|
+
const { cmdServe } = await import("./serve-DRobxqyW.js");
|
|
167
167
|
return cmdServe(rest);
|
|
168
168
|
}
|
|
169
169
|
case "setup": {
|
|
@@ -1452,4 +1452,4 @@ async function cmdStatus(rest) {
|
|
|
1452
1452
|
|
|
1453
1453
|
//#endregion
|
|
1454
1454
|
export { isSubcommand as a, readNotes as c, runSubcommand as d, snapshotStatus as f, isPidAlive as i, renderRawLog as l, writeToIpc as m, cmdHelp as n, listRecords as o, stopTipForCli as p, controlCodeFromName as r, matchKeyword as s, GRACEFUL_EXIT_COMMANDS as t, resolveOne as u };
|
|
1455
|
-
//# sourceMappingURL=subcommands-
|
|
1455
|
+
//# sourceMappingURL=subcommands-30z6EnCN.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./logger-B9h0djqx.js";
|
|
2
2
|
import "./globalPidIndex-yVd3mbsV.js";
|
|
3
3
|
import "./remotes-C3xPRtfg.js";
|
|
4
|
-
import { a as isSubcommand, c as readNotes, d as runSubcommand, f as snapshotStatus, i as isPidAlive, l as renderRawLog, m as writeToIpc, n as cmdHelp, o as listRecords, p as stopTipForCli, r as controlCodeFromName, s as matchKeyword, t as GRACEFUL_EXIT_COMMANDS, u as resolveOne } from "./subcommands-
|
|
4
|
+
import { a as isSubcommand, c as readNotes, d as runSubcommand, f as snapshotStatus, i as isPidAlive, l as renderRawLog, m as writeToIpc, n as cmdHelp, o as listRecords, p as stopTipForCli, r as controlCodeFromName, s as matchKeyword, t as GRACEFUL_EXIT_COMMANDS, u as resolveOne } from "./subcommands-30z6EnCN.js";
|
|
5
5
|
|
|
6
6
|
export { cmdHelp, isSubcommand, runSubcommand };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as logger, t as addTransport } from "./logger-B9h0djqx.js";
|
|
2
|
-
import { r as getInstalledPackage } from "./versionChecker-
|
|
2
|
+
import { r as getInstalledPackage } from "./versionChecker-DHw1FHwq.js";
|
|
3
3
|
import { n as agentYesHome, t as PidStore } from "./pidStore-DBjlqzo8.js";
|
|
4
4
|
import { i as shouldUseLock, r as releaseLock, t as acquireLock } from "./runningLock-CJxsoGdb.js";
|
|
5
5
|
import { i as readGlobalPids } from "./globalPidIndex-yVd3mbsV.js";
|
|
@@ -1714,4 +1714,4 @@ function sleep(ms) {
|
|
|
1714
1714
|
|
|
1715
1715
|
//#endregion
|
|
1716
1716
|
export { removeControlCharacters as a, AgentContext as i, agentYes as n, config as r, CLIS_CONFIG as t };
|
|
1717
|
-
//# sourceMappingURL=ts-
|
|
1717
|
+
//# sourceMappingURL=ts-COKxpEy-.js.map
|
|
@@ -7,7 +7,7 @@ import { fileURLToPath } from "url";
|
|
|
7
7
|
|
|
8
8
|
//#region package.json
|
|
9
9
|
var name = "agent-yes";
|
|
10
|
-
var version = "1.
|
|
10
|
+
var version = "1.103.1";
|
|
11
11
|
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region ts/versionChecker.ts
|
|
@@ -221,4 +221,4 @@ async function displayVersion() {
|
|
|
221
221
|
|
|
222
222
|
//#endregion
|
|
223
223
|
export { versionString as i, displayVersion as n, getInstalledPackage as r, checkAndAutoUpdate as t };
|
|
224
|
-
//# sourceMappingURL=versionChecker-
|
|
224
|
+
//# sourceMappingURL=versionChecker-DHw1FHwq.js.map
|
package/lab/ui/index.html
CHANGED
|
@@ -101,6 +101,23 @@
|
|
|
101
101
|
color: var(--muted);
|
|
102
102
|
font-size: 12.5px;
|
|
103
103
|
}
|
|
104
|
+
.install {
|
|
105
|
+
margin-top: 8px;
|
|
106
|
+
color: var(--muted);
|
|
107
|
+
font-size: 11.5px;
|
|
108
|
+
}
|
|
109
|
+
.install code {
|
|
110
|
+
cursor: pointer;
|
|
111
|
+
color: var(--green);
|
|
112
|
+
}
|
|
113
|
+
.install code:hover {
|
|
114
|
+
filter: brightness(1.25);
|
|
115
|
+
}
|
|
116
|
+
@media (max-width: 720px) {
|
|
117
|
+
.install .winhint {
|
|
118
|
+
display: none;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
104
121
|
.ibox {
|
|
105
122
|
display: flex;
|
|
106
123
|
align-items: center;
|
|
@@ -604,6 +621,16 @@
|
|
|
604
621
|
<div class="sub">
|
|
605
622
|
Live <code>ay ls</code> + per-agent tail & send. Backed by <code>ay serve</code>.
|
|
606
623
|
</div>
|
|
624
|
+
<div class="install" title="click to copy">
|
|
625
|
+
install:
|
|
626
|
+
<code class="copy">curl -fsSL https://agent-yes.com/setup.sh | sh</code>
|
|
627
|
+
<span class="winhint"
|
|
628
|
+
>· Windows:
|
|
629
|
+
<code class="copy"
|
|
630
|
+
>powershell -c "irm https://agent-yes.com/setup.ps1 | iex"</code
|
|
631
|
+
></span
|
|
632
|
+
>
|
|
633
|
+
</div>
|
|
607
634
|
<div class="ibox">
|
|
608
635
|
<span class="mag">⌕</span>
|
|
609
636
|
<input
|
|
@@ -1336,8 +1363,12 @@
|
|
|
1336
1363
|
: `<div class="empty2">no saved rooms — paste a share link below</div>`;
|
|
1337
1364
|
$("rooms").innerHTML = `<div class="rtitle">rooms · stored on this device</div>${items}
|
|
1338
1365
|
<div class="radd"><input id="roomin" placeholder="room:token or https://…/#room:token" /><button id="roomadd">add</button></div>
|
|
1366
|
+
<div class="rconnect">new here? install agent-yes (bun or npm, auto):
|
|
1367
|
+
<code id="cmdinstall" class="copy" title="click to copy">curl -fsSL https://agent-yes.com/setup.sh | sh</code>
|
|
1368
|
+
<span style="opacity:.6">Windows:</span>
|
|
1369
|
+
<code id="cmdinstallwin" class="copy" title="click to copy">powershell -c "irm https://agent-yes.com/setup.ps1 | iex"</code></div>
|
|
1339
1370
|
<div class="rconnect">share your own fleet — run this, then open the printed link:
|
|
1340
|
-
<code id="cmd" title="click to copy">
|
|
1371
|
+
<code id="cmd" class="copy" title="click to copy">ay serve share</code></div>
|
|
1341
1372
|
<div class="rconnect">or view a <b>codehost</b> room — paste <code>ch:<room-token></code> (or a
|
|
1342
1373
|
codehost.dev share link) above; every machine in the room shows its agents here.</div>`;
|
|
1343
1374
|
}
|
|
@@ -1373,15 +1404,20 @@
|
|
|
1373
1404
|
$("rooms").style.display = "none";
|
|
1374
1405
|
} else alert("expected room:token or a share link");
|
|
1375
1406
|
}
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1407
|
+
});
|
|
1408
|
+
|
|
1409
|
+
// Click-to-copy for any <code class="copy"> (install one-liners, share cmd…),
|
|
1410
|
+
// wherever it lives — header or the rooms panel.
|
|
1411
|
+
document.addEventListener("click", (ev) => {
|
|
1412
|
+
const c = ev.target.closest && ev.target.closest("code.copy");
|
|
1413
|
+
if (!c) return;
|
|
1414
|
+
navigator.clipboard?.writeText(c.textContent).then(() => {
|
|
1415
|
+
const o = c.textContent;
|
|
1416
|
+
c.textContent = "copied ✓";
|
|
1417
|
+
setTimeout(() => {
|
|
1418
|
+
c.textContent = o;
|
|
1419
|
+
}, 1000);
|
|
1420
|
+
});
|
|
1385
1421
|
});
|
|
1386
1422
|
|
|
1387
1423
|
// ---- launch: command-only URLs (#launch=<json>, NO token) ----
|
package/package.json
CHANGED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import "./ts-cYD43w4Z.js";
|
|
2
|
-
import "./logger-B9h0djqx.js";
|
|
3
|
-
import "./versionChecker-DdMHudEv.js";
|
|
4
|
-
import "./pidStore-DBjlqzo8.js";
|
|
5
|
-
import "./globalPidIndex-yVd3mbsV.js";
|
|
6
|
-
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-DZBdcl3r.js";
|
|
7
|
-
|
|
8
|
-
export { SUPPORTED_CLIS };
|