agent-yes 1.202.0 → 1.203.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-C2KLyNR9.js +9 -0
- package/dist/{SUPPORTED_CLIS-Cc4YcXL_.js → SUPPORTED_CLIS-CME2rXAO.js} +2 -2
- package/dist/{agentShare-e4ErqbAZ.js → agentShare-LmDLDvCN.js} +2 -2
- package/dist/cli.js +4 -4
- package/dist/index.js +2 -2
- package/dist/{notifyDaemon-Bo-RiQ2N.js → notifyDaemon-CW7E0ON1.js} +2 -2
- package/dist/{rustBinary-Dd7-HOFy.js → rustBinary-5fGeqzPe.js} +2 -2
- package/dist/{schedule-Hu3krhNK.js → schedule-bPb_0xnY.js} +4 -4
- package/dist/{serve-D4B43UQC.js → serve-B9RuI_Hb.js} +12 -12
- package/dist/{setup-hUonzP6V.js → setup-CnzMLgtM.js} +2 -2
- package/dist/{subcommands-DQmW41_L.js → subcommands-cqz_xIKK.js} +1 -1
- package/dist/{subcommands-DbiyHGKA.js → subcommands-t8QPivG7.js} +7 -7
- package/dist/{ts--ZOQIaTr.js → ts-DVxj4HLs.js} +2 -2
- package/dist/{versionChecker-D2egG8Wk.js → versionChecker-mq5B0hM3.js} +2 -2
- package/dist/{ws-CygS4IEs.js → ws-BSyEbL--.js} +2 -2
- package/lab/ui/console-logic.js +11 -2
- package/lab/ui/index.html +1 -1
- package/package.json +1 -1
- package/dist/SUPPORTED_CLIS-ChdPabFX.js +0 -9
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import "./ts-DVxj4HLs.js";
|
|
2
|
+
import "./logger-CDIsZ-Pp.js";
|
|
3
|
+
import "./versionChecker-mq5B0hM3.js";
|
|
4
|
+
import "./pidStore-BIvsBQ8X.js";
|
|
5
|
+
import "./globalPidIndex-CoNr7tS8.js";
|
|
6
|
+
import "./messageLog-CxrKJj77.js";
|
|
7
|
+
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-CME2rXAO.js";
|
|
8
|
+
|
|
9
|
+
export { SUPPORTED_CLIS };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as CLIS_CONFIG } from "./ts
|
|
1
|
+
import { t as CLIS_CONFIG } from "./ts-DVxj4HLs.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-CME2rXAO.js.map
|
|
@@ -2,7 +2,7 @@ import "./logger-CDIsZ-Pp.js";
|
|
|
2
2
|
import "./globalPidIndex-CoNr7tS8.js";
|
|
3
3
|
import "./messageLog-CxrKJj77.js";
|
|
4
4
|
import "./configShared-aKTg-sa5.js";
|
|
5
|
-
import { M as resolveOne } from "./subcommands-
|
|
5
|
+
import { M as resolveOne } from "./subcommands-t8QPivG7.js";
|
|
6
6
|
import "./e2e-jb0Hp43q.js";
|
|
7
7
|
import "./webrtcLink-B7REGtK2.js";
|
|
8
8
|
import "./remotes-Cim0dBU7.js";
|
|
@@ -229,4 +229,4 @@ function transformEvent(rawEvent, agentId, forwarded) {
|
|
|
229
229
|
|
|
230
230
|
//#endregion
|
|
231
231
|
export { createScopedShare, listShares, revokeAllShares, revokeShare };
|
|
232
|
-
//# sourceMappingURL=agentShare-
|
|
232
|
+
//# sourceMappingURL=agentShare-LmDLDvCN.js.map
|
package/dist/cli.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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, t as checkAndAutoUpdate } from "./versionChecker-
|
|
5
|
-
import { n as getRustBinary } from "./rustBinary-
|
|
4
|
+
import { i as versionString, n as displayVersion, t as checkAndAutoUpdate } from "./versionChecker-mq5B0hM3.js";
|
|
5
|
+
import { n as getRustBinary } from "./rustBinary-5fGeqzPe.js";
|
|
6
6
|
import { argv } from "process";
|
|
7
7
|
import { spawn } from "child_process";
|
|
8
8
|
import ms from "ms";
|
|
@@ -285,7 +285,7 @@ function buildRustArgs(argv, cliFromScript, supportedClis) {
|
|
|
285
285
|
const rawArg = process.argv[2];
|
|
286
286
|
const managerCommands = !invokedCliName(process.argv);
|
|
287
287
|
const isHelpFlag = rawArg === "-h" || rawArg === "--help";
|
|
288
|
-
const { isSubcommand, runSubcommand, cmdHelp } = await import("./subcommands-
|
|
288
|
+
const { isSubcommand, runSubcommand, cmdHelp } = await import("./subcommands-cqz_xIKK.js");
|
|
289
289
|
if (isHelpFlag && process.argv.length === 3) {
|
|
290
290
|
await cmdHelp(managerCommands);
|
|
291
291
|
process.exit(0);
|
|
@@ -327,7 +327,7 @@ if (config.useRust) {
|
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
329
|
if (rustBinary) {
|
|
330
|
-
const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-
|
|
330
|
+
const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-C2KLyNR9.js");
|
|
331
331
|
const rustArgs = buildRustArgs(process.argv, config.cli, SUPPORTED_CLIS);
|
|
332
332
|
if (config.verbose) {
|
|
333
333
|
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-DVxj4HLs.js";
|
|
2
2
|
import "./logger-CDIsZ-Pp.js";
|
|
3
|
-
import "./versionChecker-
|
|
3
|
+
import "./versionChecker-mq5B0hM3.js";
|
|
4
4
|
import "./pidStore-BIvsBQ8X.js";
|
|
5
5
|
import "./globalPidIndex-CoNr7tS8.js";
|
|
6
6
|
import "./messageLog-CxrKJj77.js";
|
|
@@ -2,7 +2,7 @@ import { n as logger } from "./logger-CDIsZ-Pp.js";
|
|
|
2
2
|
import "./globalPidIndex-CoNr7tS8.js";
|
|
3
3
|
import "./messageLog-CxrKJj77.js";
|
|
4
4
|
import "./configShared-aKTg-sa5.js";
|
|
5
|
-
import { $ as notifyDir, G as gcInboxes, J as liveWatchers, K as hostId, Q as daemonLockOwnerPath, S as listRecords, W as appendEvent, X as shouldStealLock, Y as readInbox, Z as daemonLockDir, _ as isPidAlive, c as deriveLiveState, k as renderLogTailLines, q as listInboxParents } from "./subcommands-
|
|
5
|
+
import { $ as notifyDir, G as gcInboxes, J as liveWatchers, K as hostId, Q as daemonLockOwnerPath, S as listRecords, W as appendEvent, X as shouldStealLock, Y as readInbox, Z as daemonLockDir, _ as isPidAlive, c as deriveLiveState, k as renderLogTailLines, q as listInboxParents } from "./subcommands-t8QPivG7.js";
|
|
6
6
|
import "./e2e-jb0Hp43q.js";
|
|
7
7
|
import "./webrtcLink-B7REGtK2.js";
|
|
8
8
|
import "./remotes-Cim0dBU7.js";
|
|
@@ -589,4 +589,4 @@ async function ensureDaemon() {
|
|
|
589
589
|
|
|
590
590
|
//#endregion
|
|
591
591
|
export { daemonStatus, ensureDaemon, requestDaemonStop, runDaemon };
|
|
592
|
-
//# sourceMappingURL=notifyDaemon-
|
|
592
|
+
//# sourceMappingURL=notifyDaemon-CW7E0ON1.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as getInstalledPackage } from "./versionChecker-
|
|
1
|
+
import { r as getInstalledPackage } from "./versionChecker-mq5B0hM3.js";
|
|
2
2
|
import { execFileSync } from "child_process";
|
|
3
3
|
import { existsSync, mkdirSync, unlinkSync } from "fs";
|
|
4
4
|
import { chmod, copyFile } from "fs/promises";
|
|
@@ -225,4 +225,4 @@ async function getRustBinary(options = {}) {
|
|
|
225
225
|
|
|
226
226
|
//#endregion
|
|
227
227
|
export { getRustBinary as n, findSpawnHiddenLauncher as t };
|
|
228
|
-
//# sourceMappingURL=rustBinary-
|
|
228
|
+
//# sourceMappingURL=rustBinary-5fGeqzPe.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./ts
|
|
1
|
+
import "./ts-DVxj4HLs.js";
|
|
2
2
|
import "./logger-CDIsZ-Pp.js";
|
|
3
|
-
import "./versionChecker-
|
|
3
|
+
import "./versionChecker-mq5B0hM3.js";
|
|
4
4
|
import "./pidStore-BIvsBQ8X.js";
|
|
5
5
|
import "./globalPidIndex-CoNr7tS8.js";
|
|
6
6
|
import "./messageLog-CxrKJj77.js";
|
|
7
|
-
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-
|
|
7
|
+
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-CME2rXAO.js";
|
|
8
8
|
import { d as resolveSpawnCwd } from "./workspaceConfig-CjaRvTjf.js";
|
|
9
9
|
import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-CwNJuwH5.js";
|
|
10
10
|
import { createHash } from "node:crypto";
|
|
@@ -151,4 +151,4 @@ async function cmdSchedule(rest) {
|
|
|
151
151
|
|
|
152
152
|
//#endregion
|
|
153
153
|
export { cmdSchedule };
|
|
154
|
-
//# sourceMappingURL=schedule-
|
|
154
|
+
//# sourceMappingURL=schedule-bPb_0xnY.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import "./ts
|
|
1
|
+
import "./ts-DVxj4HLs.js";
|
|
2
2
|
import "./logger-CDIsZ-Pp.js";
|
|
3
|
-
import { r as getInstalledPackage } from "./versionChecker-
|
|
4
|
-
import { t as findSpawnHiddenLauncher } from "./rustBinary-
|
|
3
|
+
import { r as getInstalledPackage } from "./versionChecker-mq5B0hM3.js";
|
|
4
|
+
import { t as findSpawnHiddenLauncher } from "./rustBinary-5fGeqzPe.js";
|
|
5
5
|
import "./pidStore-BIvsBQ8X.js";
|
|
6
6
|
import { a as updateGlobalPidStatus } from "./globalPidIndex-CoNr7tS8.js";
|
|
7
7
|
import { r as recordInbox } from "./messageLog-CxrKJj77.js";
|
|
8
8
|
import { t as pgidForWrapper } from "./reaper-BUHCyxdF.js";
|
|
9
9
|
import "./configShared-aKTg-sa5.js";
|
|
10
|
-
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-
|
|
11
|
-
import { A as renderRawLog, D as recentMessageEdges, E as readPtysize, L as snapshotStatus, M as resolveOne, O as recentReadEdges, S as listRecords, T as readNotes, U as writeToIpc, b as isUserTyping, et as TYPING_BADGE, f as extractNeedsInput, k as renderLogTailLines, l as deriveLiveStatus, o as controlCodeFromName, p as extractTaskCounts, u as extractBadges } from "./subcommands-
|
|
10
|
+
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-CME2rXAO.js";
|
|
11
|
+
import { A as renderRawLog, D as recentMessageEdges, E as readPtysize, L as snapshotStatus, M as resolveOne, O as recentReadEdges, S as listRecords, T as readNotes, U as writeToIpc, b as isUserTyping, et as TYPING_BADGE, f as extractNeedsInput, k as renderLogTailLines, l as deriveLiveStatus, o as controlCodeFromName, p as extractTaskCounts, u as extractBadges } from "./subcommands-t8QPivG7.js";
|
|
12
12
|
import "./e2e-jb0Hp43q.js";
|
|
13
13
|
import "./webrtcLink-B7REGtK2.js";
|
|
14
14
|
import "./remotes-Cim0dBU7.js";
|
|
@@ -1442,7 +1442,7 @@ Options:
|
|
|
1442
1442
|
}
|
|
1443
1443
|
});
|
|
1444
1444
|
if (req.method === "GET" && p === "/api/ws") {
|
|
1445
|
-
const ws = await import("./ws-
|
|
1445
|
+
const ws = await import("./ws-BSyEbL--.js");
|
|
1446
1446
|
try {
|
|
1447
1447
|
await ws.loadProvision();
|
|
1448
1448
|
} catch (e) {
|
|
@@ -1462,7 +1462,7 @@ Options:
|
|
|
1462
1462
|
if (req.method === "GET" && p === "/api/ws/status") {
|
|
1463
1463
|
const dirRaw = url.searchParams.get("path");
|
|
1464
1464
|
if (!dirRaw) return new Response("missing ?path=<workspace dir>", { status: 400 });
|
|
1465
|
-
const ws = await import("./ws-
|
|
1465
|
+
const ws = await import("./ws-BSyEbL--.js");
|
|
1466
1466
|
let prov;
|
|
1467
1467
|
try {
|
|
1468
1468
|
prov = await ws.loadProvision();
|
|
@@ -2018,7 +2018,7 @@ Options:
|
|
|
2018
2018
|
const perm = body.perm ?? "r";
|
|
2019
2019
|
if (perm !== "r" && perm !== "rw") return new Response(`invalid perm ${perm} (want r or rw)`, { status: 400 });
|
|
2020
2020
|
try {
|
|
2021
|
-
const { createScopedShare } = await import("./agentShare-
|
|
2021
|
+
const { createScopedShare } = await import("./agentShare-LmDLDvCN.js");
|
|
2022
2022
|
const share = await createScopedShare({
|
|
2023
2023
|
agent: body.agent,
|
|
2024
2024
|
perm,
|
|
@@ -2033,12 +2033,12 @@ Options:
|
|
|
2033
2033
|
}
|
|
2034
2034
|
}
|
|
2035
2035
|
if (req.method === "GET" && p === "/api/shares") {
|
|
2036
|
-
const { listShares } = await import("./agentShare-
|
|
2036
|
+
const { listShares } = await import("./agentShare-LmDLDvCN.js");
|
|
2037
2037
|
return Response.json(listShares());
|
|
2038
2038
|
}
|
|
2039
2039
|
const revokeM = /^\/api\/share\/([^/]+)$/.exec(p);
|
|
2040
2040
|
if (req.method === "DELETE" && revokeM) {
|
|
2041
|
-
const { revokeShare } = await import("./agentShare-
|
|
2041
|
+
const { revokeShare } = await import("./agentShare-LmDLDvCN.js");
|
|
2042
2042
|
const ok = revokeShare(decodeURIComponent(revokeM[1]));
|
|
2043
2043
|
return new Response(ok ? "revoked" : "no such share", { status: ok ? 200 : 404 });
|
|
2044
2044
|
}
|
|
@@ -2220,7 +2220,7 @@ Options:
|
|
|
2220
2220
|
const shutdown = (resolve) => {
|
|
2221
2221
|
if (heartbeat) clearInterval(heartbeat);
|
|
2222
2222
|
closeShare?.();
|
|
2223
|
-
import("./agentShare-
|
|
2223
|
+
import("./agentShare-LmDLDvCN.js").then((m) => m.revokeAllShares()).catch(() => {});
|
|
2224
2224
|
server?.stop();
|
|
2225
2225
|
resolve();
|
|
2226
2226
|
};
|
|
@@ -2233,4 +2233,4 @@ Options:
|
|
|
2233
2233
|
|
|
2234
2234
|
//#endregion
|
|
2235
2235
|
export { cmdServe };
|
|
2236
|
-
//# sourceMappingURL=serve-
|
|
2236
|
+
//# sourceMappingURL=serve-B9RuI_Hb.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-
|
|
35
|
+
const { cmdServe } = await import("./serve-B9RuI_Hb.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-
|
|
45
|
+
//# sourceMappingURL=setup-CnzMLgtM.js.map
|
|
@@ -2,7 +2,7 @@ import "./logger-CDIsZ-Pp.js";
|
|
|
2
2
|
import "./globalPidIndex-CoNr7tS8.js";
|
|
3
3
|
import "./messageLog-CxrKJj77.js";
|
|
4
4
|
import "./configShared-aKTg-sa5.js";
|
|
5
|
-
import { A as renderRawLog, B as submitAndConfirm, C as matchKeyword, D as recentMessageEdges, E as readPtysize, F as restartHintLines, H as writeKeysPaced, I as runSubcommand, L as snapshotStatus, M as resolveOne, N as resolveReadWindow, O as recentReadEdges, P as resolveResumeArgs, R as stdinActivityPath, S as listRecords, T as readNotes, U as writeToIpc, V as waitForLogQuiet, _ as isPidAlive, a as cmdHelp, b as isUserTyping, c as deriveLiveState, d as extractMenu, f as extractNeedsInput, g as isExitRequest, h as isAgentStuck, i as backoffWhileTyping, j as renderRawLogLines, k as renderLogTailLines, l as deriveLiveStatus, m as finalizedLines, n as READ_PAGE_DEFAULT, o as controlCodeFromName, p as extractTaskCounts, r as TYPING_WINDOW_MS, s as cursorAbs, t as GRACEFUL_EXIT_COMMANDS, u as extractBadges, v as isSlashCommand, w as menuSelectKeys, x as lastStdinAt, y as isSubcommand, z as stopTipForCli } from "./subcommands-
|
|
5
|
+
import { A as renderRawLog, B as submitAndConfirm, C as matchKeyword, D as recentMessageEdges, E as readPtysize, F as restartHintLines, H as writeKeysPaced, I as runSubcommand, L as snapshotStatus, M as resolveOne, N as resolveReadWindow, O as recentReadEdges, P as resolveResumeArgs, R as stdinActivityPath, S as listRecords, T as readNotes, U as writeToIpc, V as waitForLogQuiet, _ as isPidAlive, a as cmdHelp, b as isUserTyping, c as deriveLiveState, d as extractMenu, f as extractNeedsInput, g as isExitRequest, h as isAgentStuck, i as backoffWhileTyping, j as renderRawLogLines, k as renderLogTailLines, l as deriveLiveStatus, m as finalizedLines, n as READ_PAGE_DEFAULT, o as controlCodeFromName, p as extractTaskCounts, r as TYPING_WINDOW_MS, s as cursorAbs, t as GRACEFUL_EXIT_COMMANDS, u as extractBadges, v as isSlashCommand, w as menuSelectKeys, x as lastStdinAt, y as isSubcommand, z as stopTipForCli } from "./subcommands-t8QPivG7.js";
|
|
6
6
|
import "./e2e-jb0Hp43q.js";
|
|
7
7
|
import "./webrtcLink-B7REGtK2.js";
|
|
8
8
|
import "./remotes-Cim0dBU7.js";
|
|
@@ -1226,19 +1226,19 @@ async function runSubcommand(argv) {
|
|
|
1226
1226
|
case "restart": return await cmdRestart(rest);
|
|
1227
1227
|
case "note": return await cmdNote(rest);
|
|
1228
1228
|
case "serve": {
|
|
1229
|
-
const { cmdServe } = await import("./serve-
|
|
1229
|
+
const { cmdServe } = await import("./serve-B9RuI_Hb.js");
|
|
1230
1230
|
return cmdServe(rest);
|
|
1231
1231
|
}
|
|
1232
1232
|
case "setup": {
|
|
1233
|
-
const { cmdSetup } = await import("./setup-
|
|
1233
|
+
const { cmdSetup } = await import("./setup-CnzMLgtM.js");
|
|
1234
1234
|
return cmdSetup(rest);
|
|
1235
1235
|
}
|
|
1236
1236
|
case "ws": {
|
|
1237
|
-
const { cmdWs } = await import("./ws-
|
|
1237
|
+
const { cmdWs } = await import("./ws-BSyEbL--.js");
|
|
1238
1238
|
return cmdWs(rest);
|
|
1239
1239
|
}
|
|
1240
1240
|
case "schedule": {
|
|
1241
|
-
const { cmdSchedule } = await import("./schedule-
|
|
1241
|
+
const { cmdSchedule } = await import("./schedule-bPb_0xnY.js");
|
|
1242
1242
|
return cmdSchedule(rest);
|
|
1243
1243
|
}
|
|
1244
1244
|
case "remote": {
|
|
@@ -4258,7 +4258,7 @@ async function cmdNotify(rest) {
|
|
|
4258
4258
|
}
|
|
4259
4259
|
const ensure = async () => {
|
|
4260
4260
|
if (!argv["ensure-daemon"]) return;
|
|
4261
|
-
const { ensureDaemon } = await import("./notifyDaemon-
|
|
4261
|
+
const { ensureDaemon } = await import("./notifyDaemon-CW7E0ON1.js");
|
|
4262
4262
|
await ensureDaemon().catch(() => null);
|
|
4263
4263
|
};
|
|
4264
4264
|
await heartbeatWatcher(parent, selfStartedAt);
|
|
@@ -4332,7 +4332,7 @@ async function cmdNotifyCursor(args) {
|
|
|
4332
4332
|
}
|
|
4333
4333
|
async function cmdNotifyd(rest) {
|
|
4334
4334
|
const sub = rest[0] ?? "status";
|
|
4335
|
-
const daemon = await import("./notifyDaemon-
|
|
4335
|
+
const daemon = await import("./notifyDaemon-CW7E0ON1.js");
|
|
4336
4336
|
switch (sub) {
|
|
4337
4337
|
case "run": return daemon.runDaemon();
|
|
4338
4338
|
case "once": return daemon.runDaemon({ once: true });
|
|
@@ -4359,4 +4359,4 @@ async function cmdNotifyd(rest) {
|
|
|
4359
4359
|
|
|
4360
4360
|
//#endregion
|
|
4361
4361
|
export { notifyDir as $, renderRawLog as A, submitAndConfirm as B, matchKeyword as C, recentMessageEdges as D, readPtysize as E, restartHintLines as F, gcInboxes as G, writeKeysPaced as H, runSubcommand as I, liveWatchers as J, hostId as K, snapshotStatus as L, resolveOne as M, resolveReadWindow as N, recentReadEdges as O, resolveResumeArgs as P, daemonLockOwnerPath as Q, stdinActivityPath as R, listRecords as S, readNotes as T, writeToIpc as U, waitForLogQuiet as V, appendEvent as W, shouldStealLock as X, readInbox as Y, daemonLockDir as Z, isPidAlive as _, cmdHelp as a, isUserTyping as b, deriveLiveState as c, extractMenu as d, TYPING_BADGE as et, extractNeedsInput as f, isExitRequest as g, isAgentStuck as h, backoffWhileTyping as i, renderRawLogLines as j, renderLogTailLines as k, deriveLiveStatus as l, finalizedLines as m, READ_PAGE_DEFAULT as n, controlCodeFromName as o, extractTaskCounts as p, listInboxParents as q, TYPING_WINDOW_MS as r, cursorAbs as s, GRACEFUL_EXIT_COMMANDS as t, extractBadges as u, isSlashCommand as v, menuSelectKeys as w, lastStdinAt as x, isSubcommand as y, stopTipForCli as z };
|
|
4362
|
-
//# sourceMappingURL=subcommands-
|
|
4362
|
+
//# sourceMappingURL=subcommands-t8QPivG7.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-
|
|
2
|
+
import { r as getInstalledPackage } from "./versionChecker-mq5B0hM3.js";
|
|
3
3
|
import { t as agentYesHome } from "./agentYesHome-CtHb5b71.js";
|
|
4
4
|
import { i as shouldUseLock, r as releaseLock, t as acquireLock } from "./runningLock-CNMl13dC.js";
|
|
5
5
|
import { t as PidStore } from "./pidStore-BIvsBQ8X.js";
|
|
@@ -1901,4 +1901,4 @@ function sleep(ms) {
|
|
|
1901
1901
|
|
|
1902
1902
|
//#endregion
|
|
1903
1903
|
export { removeControlCharacters as a, AgentContext as i, agentYes as n, config as r, CLIS_CONFIG as t };
|
|
1904
|
-
//# sourceMappingURL=ts
|
|
1904
|
+
//# sourceMappingURL=ts-DVxj4HLs.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.203.0";
|
|
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-
|
|
218
|
+
//# sourceMappingURL=versionChecker-mq5B0hM3.js.map
|
|
@@ -2,7 +2,7 @@ import "./logger-CDIsZ-Pp.js";
|
|
|
2
2
|
import "./globalPidIndex-CoNr7tS8.js";
|
|
3
3
|
import "./messageLog-CxrKJj77.js";
|
|
4
4
|
import "./configShared-aKTg-sa5.js";
|
|
5
|
-
import { S as listRecords } from "./subcommands-
|
|
5
|
+
import { S as listRecords } from "./subcommands-t8QPivG7.js";
|
|
6
6
|
import "./e2e-jb0Hp43q.js";
|
|
7
7
|
import "./webrtcLink-B7REGtK2.js";
|
|
8
8
|
import "./remotes-Cim0dBU7.js";
|
|
@@ -418,4 +418,4 @@ async function cmdWs(args) {
|
|
|
418
418
|
|
|
419
419
|
//#endregion
|
|
420
420
|
export { WS_JSON_SCHEMA, cmdWs, collectWorkspaces, isPathInside, loadProvision, workspaceStatus };
|
|
421
|
-
//# sourceMappingURL=ws-
|
|
421
|
+
//# sourceMappingURL=ws-BSyEbL--.js.map
|
package/lab/ui/console-logic.js
CHANGED
|
@@ -253,8 +253,10 @@ export function age(e, now = Date.now()) {
|
|
|
253
253
|
}
|
|
254
254
|
|
|
255
255
|
// Filter predicate: every space-separated token must match. A `key:value` token
|
|
256
|
-
// matches against the mnemonic tags (repo/wt/cli/host)
|
|
257
|
-
// case-insensitive substring search over
|
|
256
|
+
// matches against the mnemonic tags (repo/wt/cli/host) or the explicit keys
|
|
257
|
+
// below; a bare token is a case-insensitive substring search over
|
|
258
|
+
// title/prompt/cli/cwd/status plus the device label (user@host) and room, so
|
|
259
|
+
// typing a hostname or username narrows without needing a tag.
|
|
258
260
|
export function matches(e, toks) {
|
|
259
261
|
const hay =
|
|
260
262
|
(e.title || "") +
|
|
@@ -266,6 +268,10 @@ export function matches(e, toks) {
|
|
|
266
268
|
(e.cwd || "") +
|
|
267
269
|
" " +
|
|
268
270
|
e.status +
|
|
271
|
+
" " +
|
|
272
|
+
(e._host || "") +
|
|
273
|
+
" " +
|
|
274
|
+
(e._room || "") +
|
|
269
275
|
(e.git?.dirty ? " dirty" : "");
|
|
270
276
|
return toks.every((tok) => {
|
|
271
277
|
tok = tok.toLowerCase();
|
|
@@ -282,6 +288,9 @@ export function matches(e, toks) {
|
|
|
282
288
|
return String(e._host || "")
|
|
283
289
|
.toLowerCase()
|
|
284
290
|
.includes(v);
|
|
291
|
+
// user: matches just the username half of the device label ("sno@taka"
|
|
292
|
+
// → "sno"), unlike host:/device: which match the whole label.
|
|
293
|
+
if (k === "user") return deviceParts(e._host).user.toLowerCase().includes(v);
|
|
285
294
|
return tagsFor(e).some(([tk, tv]) => tk === k && tv.toLowerCase().includes(v));
|
|
286
295
|
}
|
|
287
296
|
return hay.toLowerCase().includes(tok);
|
package/lab/ui/index.html
CHANGED
|
@@ -5807,7 +5807,7 @@
|
|
|
5807
5807
|
<span class="dot idle"></span>
|
|
5808
5808
|
<div class="omni-main">
|
|
5809
5809
|
<div class="omni-title">${title}</div>
|
|
5810
|
-
<div class="omni-sub">sets the left panel filter · space = AND, tags like repo:/wt:/cli:/host
|
|
5810
|
+
<div class="omni-sub">sets the left panel filter · space = AND, tags like repo:/wt:/cli:/host:/user: — bare text also matches host & user</div>
|
|
5811
5811
|
</div></div>`;
|
|
5812
5812
|
}
|
|
5813
5813
|
if (r.kind === "wshint") {
|
package/package.json
CHANGED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import "./ts--ZOQIaTr.js";
|
|
2
|
-
import "./logger-CDIsZ-Pp.js";
|
|
3
|
-
import "./versionChecker-D2egG8Wk.js";
|
|
4
|
-
import "./pidStore-BIvsBQ8X.js";
|
|
5
|
-
import "./globalPidIndex-CoNr7tS8.js";
|
|
6
|
-
import "./messageLog-CxrKJj77.js";
|
|
7
|
-
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-Cc4YcXL_.js";
|
|
8
|
-
|
|
9
|
-
export { SUPPORTED_CLIS };
|