agent-yes 1.97.0 → 1.99.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.
- package/dist/SUPPORTED_CLIS-BGUPuqya.js +8 -0
- package/dist/{SUPPORTED_CLIS-eD-UlqO_.js → SUPPORTED_CLIS-eIjVu8HF.js} +2 -2
- package/dist/cli.js +3 -3
- package/dist/index.js +2 -2
- package/dist/serve-SQYFRbm3.js +554 -0
- package/dist/{share-DUhUA1Pi.js → share-BsCeIfQM.js} +21 -4
- package/dist/{subcommands-B4gXEu5I.js → subcommands-D3Z9cD9u.js} +1 -1
- package/dist/{subcommands-K242usI5.js → subcommands-z8Y8gcD_.js} +8 -3
- package/dist/{ts-BAc4Jcrw.js → ts-BECoCPV1.js} +2 -2
- package/dist/{versionChecker-MNvA73o9.js → versionChecker-pct2j3wR.js} +2 -2
- package/lab/ui/index.html +1645 -0
- package/lab/ui/room-client.js +520 -0
- package/package.json +4 -2
- package/ts/serve.ts +463 -311
- package/ts/share.ts +49 -17
- package/ts/subcommands.ts +6 -0
- package/dist/SUPPORTED_CLIS-CNO_pj9f.js +0 -8
- package/dist/serve-CKcbVPy6.js +0 -451
|
@@ -131,6 +131,7 @@ const SUBCOMMANDS = new Set([
|
|
|
131
131
|
"restart",
|
|
132
132
|
"note",
|
|
133
133
|
"serve",
|
|
134
|
+
"setup",
|
|
134
135
|
"remote",
|
|
135
136
|
"help"
|
|
136
137
|
]);
|
|
@@ -162,9 +163,13 @@ async function runSubcommand(argv) {
|
|
|
162
163
|
case "restart": return await cmdRestart(rest);
|
|
163
164
|
case "note": return await cmdNote(rest);
|
|
164
165
|
case "serve": {
|
|
165
|
-
const { cmdServe } = await import("./serve-
|
|
166
|
+
const { cmdServe } = await import("./serve-SQYFRbm3.js");
|
|
166
167
|
return cmdServe(rest);
|
|
167
168
|
}
|
|
169
|
+
case "setup": {
|
|
170
|
+
const { cmdSetup } = await import("./setup.ts");
|
|
171
|
+
return cmdSetup(rest);
|
|
172
|
+
}
|
|
168
173
|
case "remote": {
|
|
169
174
|
const { cmdRemote } = await import("./remotes-C9WMt5PY.js");
|
|
170
175
|
return cmdRemote(rest);
|
|
@@ -179,7 +184,7 @@ async function runSubcommand(argv) {
|
|
|
179
184
|
}
|
|
180
185
|
}
|
|
181
186
|
function cmdHelp() {
|
|
182
|
-
process.stdout.write("ay - agent-yes CLI\n\nManagement:\n ay ls [keyword] list running agents\n ay tail [-f] <keyword> stream output (Ctrl-C to stop)\n ay cat <keyword> full log\n ay head <keyword> first N lines\n ay send <keyword> <msg> send a message\n ay attach <keyword> interactive attach (detach: Ctrl-\\)\n ay stop <keyword> graceful shutdown (/exit for claude/codex)\n ay status <keyword> agent status snapshot\n\nRemote:\n ay serve [--port N] start HTTP API server (prints token)\n ay remote add <alias> http://<token>@<host>:<port>\n ay remote ls / rm <alias> manage saved remotes\n ay ls <token>@<host>:<port> connect inline (no alias needed)\n ay send <token>@<host>:<port>:<kw> <msg>\n\nRun an agent:\n ay [claude|codex|gemini|...] [options] -- [prompt]\n ay claude -- \"fix the bug in auth.ts\"\n ay claude --help full agent-runner options\n\nLabs (examples at https://github.com/snomiao/agent-yes/tree/main/lab):\n local-role-play/ designer + builder on one machine\n http-remote/ ay serve remote access demo\n p2p-pairing/ libp2p P2P (needs: cargo build --features swarm)\n");
|
|
187
|
+
process.stdout.write("ay - agent-yes CLI\n\nManagement:\n ay ls [keyword] list running agents\n ay tail [-f] <keyword> stream output (Ctrl-C to stop)\n ay cat <keyword> full log\n ay head <keyword> first N lines\n ay send <keyword> <msg> send a message\n ay attach <keyword> interactive attach (detach: Ctrl-\\)\n ay stop <keyword> graceful shutdown (/exit for claude/codex)\n ay status <keyword> agent status snapshot\n\nRemote:\n ay setup guided setup: pick a workspace, share to agent-yes.com\n ay serve [--port N] start HTTP API server (prints token)\n ay remote add <alias> http://<token>@<host>:<port>\n ay remote ls / rm <alias> manage saved remotes\n ay ls <token>@<host>:<port> connect inline (no alias needed)\n ay send <token>@<host>:<port>:<kw> <msg>\n\nRun an agent:\n ay [claude|codex|gemini|...] [options] -- [prompt]\n ay claude -- \"fix the bug in auth.ts\"\n ay claude --help full agent-runner options\n\nLabs (examples at https://github.com/snomiao/agent-yes/tree/main/lab):\n local-role-play/ designer + builder on one machine\n http-remote/ ay serve remote access demo\n p2p-pairing/ libp2p P2P (needs: cargo build --features swarm)\n");
|
|
183
188
|
return 0;
|
|
184
189
|
}
|
|
185
190
|
function matchKeyword(record, keyword) {
|
|
@@ -1447,4 +1452,4 @@ async function cmdStatus(rest) {
|
|
|
1447
1452
|
|
|
1448
1453
|
//#endregion
|
|
1449
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 };
|
|
1450
|
-
//# sourceMappingURL=subcommands-
|
|
1455
|
+
//# sourceMappingURL=subcommands-z8Y8gcD_.js.map
|
|
@@ -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-pct2j3wR.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-BECoCPV1.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.99.0";
|
|
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-pct2j3wR.js.map
|