agent-yes 1.258.0-beta.614.1 → 1.258.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-BGowcXY5.js → SUPPORTED_CLIS-DTjWc_om.js} +2 -2
- package/dist/{SUPPORTED_CLIS-DhYbN-I8.js → SUPPORTED_CLIS-Dov9qOQf.js} +3 -3
- package/dist/{agentShare-BQYbHDC5.js → agentShare-n39adLst.js} +2 -2
- package/dist/{callback-B2pjIfY2.js → callback-irtAFEXY.js} +3 -3
- package/dist/{callback-CNWyibtV.js → callback-tnnB0ibj.js} +2 -2
- package/dist/cli.js +5 -5
- package/dist/index.js +2 -2
- package/dist/{notifyDaemon-U94fW5Ab.js → notifyDaemon-BKaX7tHT.js} +2 -2
- package/dist/{rustBinary-cO3yLQ-z.js → rustBinary-BjMf3hJs.js} +2 -2
- package/dist/{schedule-wpCp_LzI.js → schedule-D19dfoUv.js} +4 -4
- package/dist/{serve-DqTg5lde.js → serve-CrQavO4J.js} +15 -15
- package/dist/{setup-C5Al3uMq.js → setup-D1en_TN3.js} +2 -2
- package/dist/{subcommands-DqvN6bUP.js → subcommands-B7iBIPXn.js} +1 -1
- package/dist/{subcommands-DxAmzcyd.js → subcommands-bd-cHNKW.js} +13 -13
- package/dist/{terminal-DHAhIrwc.js → terminal-eRiT4Zbo.js} +2 -2
- package/dist/{trayApp-DZZOaodJ.js → trayApp-BBNKEQbP.js} +2 -2
- package/dist/trayApp-Cef9w_n4.js +5 -0
- package/dist/{ts-KfmgkgQc.js → ts-CvUvWb2n.js} +2 -2
- package/dist/{versionChecker-CDRP7GPL.js → versionChecker-BKFAk759.js} +2 -2
- package/dist/{widget-DmS7aY4u.js → widget-C1GqFymh.js} +3 -3
- package/dist/{ws-DPIjff0H.js → ws-CWPlW7ia.js} +2 -2
- package/dist/{ws-wp1lB_2o.js → ws-DgHuhAPq.js} +2 -2
- package/lab/ui/index.html +57 -12
- package/package.json +1 -1
- package/dist/trayApp-BC99AFl0.js +0 -5
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as CLIS_CONFIG } from "./ts-
|
|
1
|
+
import { t as CLIS_CONFIG } from "./ts-CvUvWb2n.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-DTjWc_om.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "./logger-CDIsZ-Pp.js";
|
|
2
|
-
import "./versionChecker-
|
|
3
|
-
import "./ts-
|
|
2
|
+
import "./versionChecker-BKFAk759.js";
|
|
3
|
+
import "./ts-CvUvWb2n.js";
|
|
4
4
|
import "./todoAutomation-BQRW614S.js";
|
|
5
5
|
import "./JsonlStore-CPGIR0Wy.js";
|
|
6
6
|
import "./globalPidIndex-Dq4KY2IV.js";
|
|
7
7
|
import "./pidStore-Cmcc8Oej.js";
|
|
8
8
|
import "./messageLog-BYFwioFY.js";
|
|
9
|
-
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-
|
|
9
|
+
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-DTjWc_om.js";
|
|
10
10
|
|
|
11
11
|
export { SUPPORTED_CLIS };
|
|
@@ -3,7 +3,7 @@ import "./globalPidIndex-Dq4KY2IV.js";
|
|
|
3
3
|
import "./messageLog-BYFwioFY.js";
|
|
4
4
|
import "./e2e-CUMZC53I.js";
|
|
5
5
|
import "./configShared-DtHMBCl7.js";
|
|
6
|
-
import { I as resolveOne } from "./subcommands-
|
|
6
|
+
import { I as resolveOne } from "./subcommands-bd-cHNKW.js";
|
|
7
7
|
import "./webrtcLink-CS4D-3G1.js";
|
|
8
8
|
import "./remotes-Dy4Rg8Yp.js";
|
|
9
9
|
import { a as startShare } from "./share-B-e_9WBx.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-n39adLst.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as agentYesHome } from "./agentYesHome-CtmsY6I-.js";
|
|
2
|
-
import { I as resolveOne } from "./subcommands-
|
|
2
|
+
import { I as resolveOne } from "./subcommands-bd-cHNKW.js";
|
|
3
3
|
import { a as mintCapability, o as parseExpires } from "./callbackCore-Cg3Ye0ZS.js";
|
|
4
4
|
import { randomBytes } from "node:crypto";
|
|
5
5
|
import { chmodSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
@@ -72,7 +72,7 @@ async function resolveBase(flag) {
|
|
|
72
72
|
if (flag) return flag;
|
|
73
73
|
if (process.env.AGENT_YES_CALLBACK_BASE) return process.env.AGENT_YES_CALLBACK_BASE;
|
|
74
74
|
try {
|
|
75
|
-
const { resolveLocalServeUrl } = await import("./serve-
|
|
75
|
+
const { resolveLocalServeUrl } = await import("./serve-CrQavO4J.js");
|
|
76
76
|
const url = await resolveLocalServeUrl();
|
|
77
77
|
if (url) return url;
|
|
78
78
|
} catch {}
|
|
@@ -187,4 +187,4 @@ async function cmdCallback(rest) {
|
|
|
187
187
|
|
|
188
188
|
//#endregion
|
|
189
189
|
export { loadOrCreateCallbackSecret as i, isCallbackRevoked as n, loadCallbackSecretReadOnly as r, cmdCallback as t };
|
|
190
|
-
//# sourceMappingURL=callback-
|
|
190
|
+
//# sourceMappingURL=callback-irtAFEXY.js.map
|
|
@@ -3,10 +3,10 @@ import "./globalPidIndex-Dq4KY2IV.js";
|
|
|
3
3
|
import "./messageLog-BYFwioFY.js";
|
|
4
4
|
import "./e2e-CUMZC53I.js";
|
|
5
5
|
import "./configShared-DtHMBCl7.js";
|
|
6
|
-
import "./subcommands-
|
|
6
|
+
import "./subcommands-bd-cHNKW.js";
|
|
7
7
|
import "./webrtcLink-CS4D-3G1.js";
|
|
8
8
|
import "./remotes-Dy4Rg8Yp.js";
|
|
9
9
|
import "./callbackCore-Cg3Ye0ZS.js";
|
|
10
|
-
import { i as loadOrCreateCallbackSecret, n as isCallbackRevoked, r as loadCallbackSecretReadOnly, t as cmdCallback } from "./callback-
|
|
10
|
+
import { i as loadOrCreateCallbackSecret, n as isCallbackRevoked, r as loadCallbackSecretReadOnly, t as cmdCallback } from "./callback-irtAFEXY.js";
|
|
11
11
|
|
|
12
12
|
export { cmdCallback };
|
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 { r as getRustBinary } from "./rustBinary-
|
|
4
|
+
import { i as versionString, n as displayVersion, t as checkAndAutoUpdate } from "./versionChecker-BKFAk759.js";
|
|
5
|
+
import { r as getRustBinary } from "./rustBinary-BjMf3hJs.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, isUnknownManagerToken } = await import("./subcommands-
|
|
288
|
+
const { isSubcommand, runSubcommand, cmdHelp, isUnknownManagerToken } = await import("./subcommands-B7iBIPXn.js");
|
|
289
289
|
if (isHelpFlag && process.argv.length === 3) {
|
|
290
290
|
await cmdHelp(managerCommands);
|
|
291
291
|
process.exit(0);
|
|
@@ -295,7 +295,7 @@ function buildRustArgs(argv, cliFromScript, supportedClis) {
|
|
|
295
295
|
process.exit(code ?? 0);
|
|
296
296
|
}
|
|
297
297
|
{
|
|
298
|
-
const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-
|
|
298
|
+
const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-Dov9qOQf.js");
|
|
299
299
|
if (isUnknownManagerToken(rawArg, managerCommands, SUPPORTED_CLIS)) {
|
|
300
300
|
process.stderr.write(`ay: unknown subcommand or CLI '${rawArg}'.\n See 'ay help' for subcommands. To run an agent, name a CLI:\n 'ay <cli> …' (e.g. 'ay claude …') or 'ay --cli <cli> …'.\n`);
|
|
301
301
|
process.exit(1);
|
|
@@ -346,7 +346,7 @@ if (config.useRust) {
|
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
348
|
if (rustBinary) {
|
|
349
|
-
const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-
|
|
349
|
+
const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-Dov9qOQf.js");
|
|
350
350
|
const rustArgs = buildRustArgs(process.argv, config.cli, SUPPORTED_CLIS);
|
|
351
351
|
if (config.verbose) {
|
|
352
352
|
console.log(`[rust] Using binary: ${rustBinary}`);
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./logger-CDIsZ-Pp.js";
|
|
2
|
-
import "./versionChecker-
|
|
3
|
-
import { a as hasTodoStore, i as answerAsk, l as AgentContext, n as agentYes, o as listAsks, r as config, s as listAsksForProject, t as CLIS_CONFIG } from "./ts-
|
|
2
|
+
import "./versionChecker-BKFAk759.js";
|
|
3
|
+
import { a as hasTodoStore, i as answerAsk, l as AgentContext, n as agentYes, o as listAsks, r as config, s as listAsksForProject, t as CLIS_CONFIG } from "./ts-CvUvWb2n.js";
|
|
4
4
|
import { _ as isKnownKind, a as renderTree, b as statesOf, c as monitorHint, d as openStore, f as DONE_STATE, g as initialState, h as canTransition, i as renderDigest, l as CycleError, m as ORPHANED_STATE, o as unblockedTasks, p as LIFECYCLES, r as openBlockers, s as describeBlock, t as reconcileTodos, u as TodoStore, v as nextStates, x as removeControlCharacters, y as requiredGate } from "./todoAutomation-BQRW614S.js";
|
|
5
5
|
import "./JsonlStore-CPGIR0Wy.js";
|
|
6
6
|
import "./globalPidIndex-Dq4KY2IV.js";
|
|
@@ -3,7 +3,7 @@ import "./globalPidIndex-Dq4KY2IV.js";
|
|
|
3
3
|
import "./messageLog-BYFwioFY.js";
|
|
4
4
|
import "./e2e-CUMZC53I.js";
|
|
5
5
|
import "./configShared-DtHMBCl7.js";
|
|
6
|
-
import { $ as liveWatchers, J as appendEvent, N as renderLogTailLines, Q as listInboxParents, X as hostId, Y as gcInboxes, et as readInbox, it as notifyDir, l as deriveLiveState, nt as daemonLockDir, rt as daemonLockOwnerPath, tt as shouldStealLock, v as isPidAlive, w as listRecords } from "./subcommands-
|
|
6
|
+
import { $ as liveWatchers, J as appendEvent, N as renderLogTailLines, Q as listInboxParents, X as hostId, Y as gcInboxes, et as readInbox, it as notifyDir, l as deriveLiveState, nt as daemonLockDir, rt as daemonLockOwnerPath, tt as shouldStealLock, v as isPidAlive, w as listRecords } from "./subcommands-bd-cHNKW.js";
|
|
7
7
|
import "./webrtcLink-CS4D-3G1.js";
|
|
8
8
|
import "./remotes-Dy4Rg8Yp.js";
|
|
9
9
|
import { mkdir, readFile, rename, rm, stat, writeFile } from "fs/promises";
|
|
@@ -836,4 +836,4 @@ async function ensureDaemon() {
|
|
|
836
836
|
|
|
837
837
|
//#endregion
|
|
838
838
|
export { daemonStatus, ensureDaemon, requestDaemonStop, runDaemon };
|
|
839
|
-
//# sourceMappingURL=notifyDaemon-
|
|
839
|
+
//# sourceMappingURL=notifyDaemon-BKaX7tHT.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as getInstalledPackage } from "./versionChecker-
|
|
1
|
+
import { r as getInstalledPackage } from "./versionChecker-BKFAk759.js";
|
|
2
2
|
import { execFileSync } from "child_process";
|
|
3
3
|
import { existsSync, mkdirSync, unlinkSync } from "fs";
|
|
4
4
|
import { chmod, copyFile } from "fs/promises";
|
|
@@ -243,4 +243,4 @@ async function getRustBinary(options = {}) {
|
|
|
243
243
|
|
|
244
244
|
//#endregion
|
|
245
245
|
export { findTrayLauncher as n, getRustBinary as r, findSpawnHiddenLauncher as t };
|
|
246
|
-
//# sourceMappingURL=rustBinary-
|
|
246
|
+
//# sourceMappingURL=rustBinary-BjMf3hJs.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "./logger-CDIsZ-Pp.js";
|
|
2
|
-
import "./versionChecker-
|
|
3
|
-
import "./ts-
|
|
2
|
+
import "./versionChecker-BKFAk759.js";
|
|
3
|
+
import "./ts-CvUvWb2n.js";
|
|
4
4
|
import "./todoAutomation-BQRW614S.js";
|
|
5
5
|
import "./JsonlStore-CPGIR0Wy.js";
|
|
6
6
|
import "./globalPidIndex-Dq4KY2IV.js";
|
|
7
7
|
import "./pidStore-Cmcc8Oej.js";
|
|
8
8
|
import "./messageLog-BYFwioFY.js";
|
|
9
|
-
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-
|
|
9
|
+
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-DTjWc_om.js";
|
|
10
10
|
import { f as resolveSpawnCwd } from "./workspaceConfig-Bxuk_MOq.js";
|
|
11
11
|
import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-vhOBffJ3.js";
|
|
12
12
|
import { createHash } from "node:crypto";
|
|
@@ -153,4 +153,4 @@ async function cmdSchedule(rest) {
|
|
|
153
153
|
|
|
154
154
|
//#endregion
|
|
155
155
|
export { cmdSchedule };
|
|
156
|
-
//# sourceMappingURL=schedule-
|
|
156
|
+
//# sourceMappingURL=schedule-D19dfoUv.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./logger-CDIsZ-Pp.js";
|
|
2
|
-
import { r as getInstalledPackage } from "./versionChecker-
|
|
3
|
-
import { t as findSpawnHiddenLauncher } from "./rustBinary-
|
|
4
|
-
import { c as permissionBadge, i as answerAsk, o as listAsks, u as CLAUDE_SESSION_PIN_ENV } from "./ts-
|
|
2
|
+
import { r as getInstalledPackage } from "./versionChecker-BKFAk759.js";
|
|
3
|
+
import { t as findSpawnHiddenLauncher } from "./rustBinary-BjMf3hJs.js";
|
|
4
|
+
import { c as permissionBadge, i as answerAsk, o as listAsks, u as CLAUDE_SESSION_PIN_ENV } from "./ts-CvUvWb2n.js";
|
|
5
5
|
import { t as agentYesHome$1 } from "./agentYesHome-CtmsY6I-.js";
|
|
6
6
|
import { x as removeControlCharacters } from "./todoAutomation-BQRW614S.js";
|
|
7
7
|
import "./JsonlStore-CPGIR0Wy.js";
|
|
@@ -11,17 +11,17 @@ import { r as recordInbox } from "./messageLog-BYFwioFY.js";
|
|
|
11
11
|
import { t as pgidForWrapper } from "./reaper-C4BvNylH.js";
|
|
12
12
|
import "./e2e-CUMZC53I.js";
|
|
13
13
|
import "./configShared-DtHMBCl7.js";
|
|
14
|
-
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-
|
|
15
|
-
import { A as readPtysize, F as renderRawLogLines, I as resolveOne, M as recentReadEdges, N as renderLogTailLines, O as readLogForRender, P as renderRawLog, S as isUserTyping, V as snapshotStatus, Z as isTransientLockMkdirError, at as TYPING_BADGE, d as extractBadges, j as recentMessageEdges, k as readNotes, m as extractTaskCounts, p as extractNeedsInput, q as writeToIpc, s as controlCodeFromName, u as deriveLiveStatus, w as listRecords } from "./subcommands-
|
|
14
|
+
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-DTjWc_om.js";
|
|
15
|
+
import { A as readPtysize, F as renderRawLogLines, I as resolveOne, M as recentReadEdges, N as renderLogTailLines, O as readLogForRender, P as renderRawLog, S as isUserTyping, V as snapshotStatus, Z as isTransientLockMkdirError, at as TYPING_BADGE, d as extractBadges, j as recentMessageEdges, k as readNotes, m as extractTaskCounts, p as extractNeedsInput, q as writeToIpc, s as controlCodeFromName, u as deriveLiveStatus, w as listRecords } from "./subcommands-bd-cHNKW.js";
|
|
16
16
|
import "./webrtcLink-CS4D-3G1.js";
|
|
17
17
|
import "./remotes-Dy4Rg8Yp.js";
|
|
18
18
|
import { i as frameVisitorMessage, s as verifyCapability, t as MAX_CALLBACK_MSG_BYTES } from "./callbackCore-Cg3Ye0ZS.js";
|
|
19
|
-
import { n as isCallbackRevoked, r as loadCallbackSecretReadOnly } from "./callback-
|
|
19
|
+
import { n as isCallbackRevoked, r as loadCallbackSecretReadOnly } from "./callback-irtAFEXY.js";
|
|
20
20
|
import { a as getProvisionRoot, d as isProvisionAllowed, f as resolveSpawnCwd, i as getProvisionHook, l as hasProvisionHook, o as getSpawnHook, t as allowsSkipPermissions, u as hasSpawnHook } from "./workspaceConfig-Bxuk_MOq.js";
|
|
21
21
|
import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-vhOBffJ3.js";
|
|
22
|
-
import { i as importProvisionModule } from "./ws-
|
|
22
|
+
import { i as importProvisionModule } from "./ws-DgHuhAPq.js";
|
|
23
23
|
import { r as spawnRejectionReason } from "./spawnGate-D0E1uRP7.js";
|
|
24
|
-
import { i as launchTray } from "./trayApp-
|
|
24
|
+
import { i as launchTray } from "./trayApp-BBNKEQbP.js";
|
|
25
25
|
import yargs from "yargs";
|
|
26
26
|
import { appendFile, mkdir, open, readFile, readdir, rename, rm, stat, unlink, writeFile } from "fs/promises";
|
|
27
27
|
import { arch, cpus, freemem, homedir, hostname, loadavg, platform, totalmem, uptime, userInfo } from "os";
|
|
@@ -2368,7 +2368,7 @@ Options:
|
|
|
2368
2368
|
}
|
|
2369
2369
|
});
|
|
2370
2370
|
if (req.method === "GET" && p === "/api/ws") {
|
|
2371
|
-
const ws = await import("./ws-
|
|
2371
|
+
const ws = await import("./ws-CWPlW7ia.js");
|
|
2372
2372
|
try {
|
|
2373
2373
|
await ws.loadProvision();
|
|
2374
2374
|
} catch (e) {
|
|
@@ -2388,7 +2388,7 @@ Options:
|
|
|
2388
2388
|
if (req.method === "GET" && p === "/api/ws/status") {
|
|
2389
2389
|
const dirRaw = url.searchParams.get("path");
|
|
2390
2390
|
if (!dirRaw) return new Response("missing ?path=<workspace dir>", { status: 400 });
|
|
2391
|
-
const ws = await import("./ws-
|
|
2391
|
+
const ws = await import("./ws-CWPlW7ia.js");
|
|
2392
2392
|
let prov;
|
|
2393
2393
|
try {
|
|
2394
2394
|
prov = await ws.loadProvision();
|
|
@@ -3145,7 +3145,7 @@ Options:
|
|
|
3145
3145
|
const perm = body.perm ?? "r";
|
|
3146
3146
|
if (perm !== "r" && perm !== "rw") return new Response(`invalid perm ${perm} (want r or rw)`, { status: 400 });
|
|
3147
3147
|
try {
|
|
3148
|
-
const { createScopedShare } = await import("./agentShare-
|
|
3148
|
+
const { createScopedShare } = await import("./agentShare-n39adLst.js");
|
|
3149
3149
|
const share = await createScopedShare({
|
|
3150
3150
|
agent: body.agent,
|
|
3151
3151
|
perm,
|
|
@@ -3160,12 +3160,12 @@ Options:
|
|
|
3160
3160
|
}
|
|
3161
3161
|
}
|
|
3162
3162
|
if (req.method === "GET" && p === "/api/shares") {
|
|
3163
|
-
const { listShares } = await import("./agentShare-
|
|
3163
|
+
const { listShares } = await import("./agentShare-n39adLst.js");
|
|
3164
3164
|
return Response.json(listShares());
|
|
3165
3165
|
}
|
|
3166
3166
|
const revokeM = /^\/api\/share\/([^/]+)$/.exec(p);
|
|
3167
3167
|
if (req.method === "DELETE" && revokeM) {
|
|
3168
|
-
const { revokeShare } = await import("./agentShare-
|
|
3168
|
+
const { revokeShare } = await import("./agentShare-n39adLst.js");
|
|
3169
3169
|
const ok = revokeShare(decodeURIComponent(revokeM[1]));
|
|
3170
3170
|
return new Response(ok ? "revoked" : "no such share", { status: ok ? 200 : 404 });
|
|
3171
3171
|
}
|
|
@@ -3467,7 +3467,7 @@ Options:
|
|
|
3467
3467
|
const shutdown = (resolve) => {
|
|
3468
3468
|
if (heartbeat) clearInterval(heartbeat);
|
|
3469
3469
|
closeShare?.();
|
|
3470
|
-
import("./agentShare-
|
|
3470
|
+
import("./agentShare-n39adLst.js").then((m) => m.revokeAllShares()).catch(() => {});
|
|
3471
3471
|
server?.stop();
|
|
3472
3472
|
Promise.resolve(releaseHostLock?.()).catch(() => {}).then(resolve);
|
|
3473
3473
|
};
|
|
@@ -3480,4 +3480,4 @@ Options:
|
|
|
3480
3480
|
|
|
3481
3481
|
//#endregion
|
|
3482
3482
|
export { cmdServe, loadTokenReadOnly, mintScopedTermToken, resolveDaemonHttpBase, resolveLocalServeUrl };
|
|
3483
|
-
//# sourceMappingURL=serve-
|
|
3483
|
+
//# sourceMappingURL=serve-CrQavO4J.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-CrQavO4J.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-D1en_TN3.js.map
|
|
@@ -3,7 +3,7 @@ import "./globalPidIndex-Dq4KY2IV.js";
|
|
|
3
3
|
import "./messageLog-BYFwioFY.js";
|
|
4
4
|
import "./e2e-CUMZC53I.js";
|
|
5
5
|
import "./configShared-DtHMBCl7.js";
|
|
6
|
-
import { A as readPtysize, B as runSubcommand, C as lastStdinAt, D as readAgentPtysize, E as menuSelectKeys, F as renderRawLogLines, G as waitForLogQuiet, H as stdinActivityPath, I as resolveOne, K as writeKeysPaced, L as resolveReadWindow, M as recentReadEdges, N as renderLogTailLines, O as readLogForRender, P as renderRawLog, R as resolveResumeArgs, S as isUserTyping, T as matchKeyword, U as stopTipForCli, V as snapshotStatus, W as submitAndConfirm, _ as isExitRequest, a as backoffWhileTyping, b as isSubcommand, c as cursorAbs, d as extractBadges, f as extractMenu, g as isAgentStuck, h as finalizedLines, i as TYPING_WINDOW_MS, j as recentMessageEdges, k as readNotes, l as deriveLiveState, m as extractTaskCounts, n as MAX_RENDER_BYTES, o as cmdHelp, p as extractNeedsInput, q as writeToIpc, r as READ_PAGE_DEFAULT, s as controlCodeFromName, t as GRACEFUL_EXIT_COMMANDS, u as deriveLiveStatus, v as isPidAlive, w as listRecords, x as isUnknownManagerToken, y as isSlashCommand, z as restartHintLines } from "./subcommands-
|
|
6
|
+
import { A as readPtysize, B as runSubcommand, C as lastStdinAt, D as readAgentPtysize, E as menuSelectKeys, F as renderRawLogLines, G as waitForLogQuiet, H as stdinActivityPath, I as resolveOne, K as writeKeysPaced, L as resolveReadWindow, M as recentReadEdges, N as renderLogTailLines, O as readLogForRender, P as renderRawLog, R as resolveResumeArgs, S as isUserTyping, T as matchKeyword, U as stopTipForCli, V as snapshotStatus, W as submitAndConfirm, _ as isExitRequest, a as backoffWhileTyping, b as isSubcommand, c as cursorAbs, d as extractBadges, f as extractMenu, g as isAgentStuck, h as finalizedLines, i as TYPING_WINDOW_MS, j as recentMessageEdges, k as readNotes, l as deriveLiveState, m as extractTaskCounts, n as MAX_RENDER_BYTES, o as cmdHelp, p as extractNeedsInput, q as writeToIpc, r as READ_PAGE_DEFAULT, s as controlCodeFromName, t as GRACEFUL_EXIT_COMMANDS, u as deriveLiveStatus, v as isPidAlive, w as listRecords, x as isUnknownManagerToken, y as isSlashCommand, z as restartHintLines } from "./subcommands-bd-cHNKW.js";
|
|
7
7
|
import "./webrtcLink-CS4D-3G1.js";
|
|
8
8
|
import "./remotes-Dy4Rg8Yp.js";
|
|
9
9
|
|
|
@@ -1398,35 +1398,35 @@ async function runSubcommand(argv) {
|
|
|
1398
1398
|
return cmdCh(rest);
|
|
1399
1399
|
}
|
|
1400
1400
|
case "term": {
|
|
1401
|
-
const { cmdTerm } = await import("./terminal-
|
|
1401
|
+
const { cmdTerm } = await import("./terminal-eRiT4Zbo.js");
|
|
1402
1402
|
return cmdTerm(rest);
|
|
1403
1403
|
}
|
|
1404
1404
|
case "widget": {
|
|
1405
|
-
const { cmdWidget } = await import("./widget-
|
|
1405
|
+
const { cmdWidget } = await import("./widget-C1GqFymh.js");
|
|
1406
1406
|
return cmdWidget(rest);
|
|
1407
1407
|
}
|
|
1408
1408
|
case "mint": {
|
|
1409
|
-
const { cmdMint } = await import("./widget-
|
|
1409
|
+
const { cmdMint } = await import("./widget-C1GqFymh.js");
|
|
1410
1410
|
return cmdMint(rest);
|
|
1411
1411
|
}
|
|
1412
1412
|
case "serve": {
|
|
1413
|
-
const { cmdServe } = await import("./serve-
|
|
1413
|
+
const { cmdServe } = await import("./serve-CrQavO4J.js");
|
|
1414
1414
|
return cmdServe(rest);
|
|
1415
1415
|
}
|
|
1416
1416
|
case "tray": {
|
|
1417
|
-
const { cmdTray } = await import("./trayApp-
|
|
1417
|
+
const { cmdTray } = await import("./trayApp-Cef9w_n4.js");
|
|
1418
1418
|
return cmdTray(rest);
|
|
1419
1419
|
}
|
|
1420
1420
|
case "setup": {
|
|
1421
|
-
const { cmdSetup } = await import("./setup-
|
|
1421
|
+
const { cmdSetup } = await import("./setup-D1en_TN3.js");
|
|
1422
1422
|
return cmdSetup(rest);
|
|
1423
1423
|
}
|
|
1424
1424
|
case "ws": {
|
|
1425
|
-
const { cmdWs } = await import("./ws-
|
|
1425
|
+
const { cmdWs } = await import("./ws-CWPlW7ia.js");
|
|
1426
1426
|
return cmdWs(rest);
|
|
1427
1427
|
}
|
|
1428
1428
|
case "schedule": {
|
|
1429
|
-
const { cmdSchedule } = await import("./schedule-
|
|
1429
|
+
const { cmdSchedule } = await import("./schedule-D19dfoUv.js");
|
|
1430
1430
|
return cmdSchedule(rest);
|
|
1431
1431
|
}
|
|
1432
1432
|
case "remote": {
|
|
@@ -1438,7 +1438,7 @@ async function runSubcommand(argv) {
|
|
|
1438
1438
|
return cmdExpose(rest);
|
|
1439
1439
|
}
|
|
1440
1440
|
case "callback": {
|
|
1441
|
-
const { cmdCallback } = await import("./callback-
|
|
1441
|
+
const { cmdCallback } = await import("./callback-tnnB0ibj.js");
|
|
1442
1442
|
return cmdCallback(rest);
|
|
1443
1443
|
}
|
|
1444
1444
|
case "reap":
|
|
@@ -3887,7 +3887,7 @@ async function cmdAttach(rest) {
|
|
|
3887
3887
|
const winsizeDir = path.join(ayHome, "winsize");
|
|
3888
3888
|
await mkdir(winsizeDir, { recursive: true });
|
|
3889
3889
|
const winsizePath = path.join(winsizeDir, String(record.pid));
|
|
3890
|
-
const { resolveDaemonHttpBase, loadTokenReadOnly } = await import("./serve-
|
|
3890
|
+
const { resolveDaemonHttpBase, loadTokenReadOnly } = await import("./serve-CrQavO4J.js");
|
|
3891
3891
|
const daemonBase = await resolveDaemonHttpBase().catch(() => null);
|
|
3892
3892
|
const daemonToken = daemonBase ? await loadTokenReadOnly().catch(() => null) ?? "" : "";
|
|
3893
3893
|
const capViewer = `attach:${process.pid}`;
|
|
@@ -4597,7 +4597,7 @@ async function cmdNotify(rest) {
|
|
|
4597
4597
|
}
|
|
4598
4598
|
const ensure = async () => {
|
|
4599
4599
|
if (!argv["ensure-daemon"]) return;
|
|
4600
|
-
const { ensureDaemon } = await import("./notifyDaemon-
|
|
4600
|
+
const { ensureDaemon } = await import("./notifyDaemon-BKaX7tHT.js");
|
|
4601
4601
|
await ensureDaemon().catch(() => null);
|
|
4602
4602
|
};
|
|
4603
4603
|
await heartbeatWatcher(parent, selfStartedAt);
|
|
@@ -4671,7 +4671,7 @@ async function cmdNotifyCursor(args) {
|
|
|
4671
4671
|
}
|
|
4672
4672
|
async function cmdNotifyd(rest) {
|
|
4673
4673
|
const sub = rest[0] ?? "status";
|
|
4674
|
-
const daemon = await import("./notifyDaemon-
|
|
4674
|
+
const daemon = await import("./notifyDaemon-BKaX7tHT.js");
|
|
4675
4675
|
switch (sub) {
|
|
4676
4676
|
case "run": return daemon.runDaemon();
|
|
4677
4677
|
case "once": return daemon.runDaemon({ once: true });
|
|
@@ -4698,4 +4698,4 @@ async function cmdNotifyd(rest) {
|
|
|
4698
4698
|
|
|
4699
4699
|
//#endregion
|
|
4700
4700
|
export { liveWatchers as $, readPtysize as A, runSubcommand as B, lastStdinAt as C, readAgentPtysize as D, menuSelectKeys as E, renderRawLogLines as F, waitForLogQuiet as G, stdinActivityPath as H, resolveOne as I, appendEvent as J, writeKeysPaced as K, resolveReadWindow as L, recentReadEdges as M, renderLogTailLines as N, readLogForRender as O, renderRawLog as P, listInboxParents as Q, resolveResumeArgs as R, isUserTyping as S, matchKeyword as T, stopTipForCli as U, snapshotStatus as V, submitAndConfirm as W, hostId as X, gcInboxes as Y, isTransientLockMkdirError as Z, isExitRequest as _, backoffWhileTyping as a, TYPING_BADGE as at, isSubcommand as b, cursorAbs as c, extractBadges as d, readInbox as et, extractMenu as f, isAgentStuck as g, finalizedLines as h, TYPING_WINDOW_MS as i, notifyDir as it, recentMessageEdges as j, readNotes as k, deriveLiveState as l, extractTaskCounts as m, MAX_RENDER_BYTES as n, daemonLockDir as nt, cmdHelp as o, extractNeedsInput as p, writeToIpc as q, READ_PAGE_DEFAULT as r, daemonLockOwnerPath as rt, controlCodeFromName as s, GRACEFUL_EXIT_COMMANDS as t, shouldStealLock as tt, deriveLiveStatus as u, isPidAlive as v, listRecords as w, isUnknownManagerToken as x, isSlashCommand as y, restartHintLines as z };
|
|
4701
|
-
//# sourceMappingURL=subcommands-
|
|
4701
|
+
//# sourceMappingURL=subcommands-bd-cHNKW.js.map
|
|
@@ -98,7 +98,7 @@ async function cmdTermMint(args) {
|
|
|
98
98
|
if (flags.ro && flags.interactive) throw new Error("--ro and --interactive are mutually exclusive");
|
|
99
99
|
const ttlSec = parseTtlSec(typeof flags.ttl === "string" ? flags.ttl : "15m");
|
|
100
100
|
const canSend = flags.interactive === true;
|
|
101
|
-
const { mintScopedTermToken } = await import("./serve-
|
|
101
|
+
const { mintScopedTermToken } = await import("./serve-CrQavO4J.js");
|
|
102
102
|
const r = await mintScopedTermToken(pid, {
|
|
103
103
|
ttlSec,
|
|
104
104
|
canSend
|
|
@@ -135,4 +135,4 @@ async function cmdTerm(args) {
|
|
|
135
135
|
|
|
136
136
|
//#endregion
|
|
137
137
|
export { cmdTerm };
|
|
138
|
-
//# sourceMappingURL=terminal-
|
|
138
|
+
//# sourceMappingURL=terminal-eRiT4Zbo.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as findTrayLauncher } from "./rustBinary-
|
|
1
|
+
import { n as findTrayLauncher } from "./rustBinary-BjMf3hJs.js";
|
|
2
2
|
import { t as agentYesHome } from "./agentYesHome-CtmsY6I-.js";
|
|
3
3
|
import { existsSync } from "node:fs";
|
|
4
4
|
import path from "node:path";
|
|
@@ -97,4 +97,4 @@ async function cmdTray(args) {
|
|
|
97
97
|
|
|
98
98
|
//#endregion
|
|
99
99
|
export { trayHiddenMarker as a, launchTray as i, hasDesktop as n, isTrayHidden as r, cmdTray as t };
|
|
100
|
-
//# sourceMappingURL=trayApp-
|
|
100
|
+
//# sourceMappingURL=trayApp-BBNKEQbP.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as __esmMin, r as __exportAll } from "./chunk-cZBX9HZv.js";
|
|
2
2
|
import { n as logger, t as addTransport } from "./logger-CDIsZ-Pp.js";
|
|
3
|
-
import { r as getInstalledPackage } from "./versionChecker-
|
|
3
|
+
import { r as getInstalledPackage } from "./versionChecker-BKFAk759.js";
|
|
4
4
|
import { t as agentYesHome } from "./agentYesHome-CtmsY6I-.js";
|
|
5
5
|
import { d as openStore, p as LIFECYCLES, x as removeControlCharacters } from "./todoAutomation-BQRW614S.js";
|
|
6
6
|
import { i as shouldUseLock, r as releaseLock, t as acquireLock } from "./runningLock-DBoONoM-.js";
|
|
@@ -2180,4 +2180,4 @@ function sleep(ms) {
|
|
|
2180
2180
|
|
|
2181
2181
|
//#endregion
|
|
2182
2182
|
export { hasTodoStore as a, permissionBadge as c, answerAsk as i, AgentContext as l, agentYes as n, listAsks as o, config as r, listAsksForProject as s, CLIS_CONFIG as t, CLAUDE_SESSION_PIN_ENV as u };
|
|
2183
|
-
//# sourceMappingURL=ts-
|
|
2183
|
+
//# sourceMappingURL=ts-CvUvWb2n.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.258.0
|
|
10
|
+
var version = "1.258.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-BKFAk759.js.map
|
|
@@ -28,7 +28,7 @@ function parseFlags(args, known) {
|
|
|
28
28
|
}
|
|
29
29
|
/** Resolve the local daemon base URL + token (flags override discovery). */
|
|
30
30
|
async function daemonTarget(flags) {
|
|
31
|
-
const { resolveDaemonHttpBase, loadTokenReadOnly } = await import("./serve-
|
|
31
|
+
const { resolveDaemonHttpBase, loadTokenReadOnly } = await import("./serve-CrQavO4J.js");
|
|
32
32
|
const base = typeof flags.base === "string" ? flags.base : await resolveDaemonHttpBase();
|
|
33
33
|
if (!base) throw new Error("no running ay serve daemon found — start `ay serve` or pass --base <url> (e.g. http://127.0.0.1:PORT)");
|
|
34
34
|
const token = typeof flags.token === "string" ? flags.token : await loadTokenReadOnly() ?? "";
|
|
@@ -186,7 +186,7 @@ async function cmdMint(args) {
|
|
|
186
186
|
const bad = caps.filter((c) => !KNOWN_CAPS.has(c));
|
|
187
187
|
if (bad.length) throw new Error(`unknown cap(s): ${bad.join(", ")} (valid: ${[...KNOWN_CAPS].join(", ")})`);
|
|
188
188
|
const ttlSec = parseTtlSec(typeof flags.ttl === "string" ? flags.ttl : "15m");
|
|
189
|
-
const { mintScopedTermToken } = await import("./serve-
|
|
189
|
+
const { mintScopedTermToken } = await import("./serve-CrQavO4J.js");
|
|
190
190
|
const r = await mintScopedTermToken(target, {
|
|
191
191
|
ttlSec,
|
|
192
192
|
caps
|
|
@@ -202,4 +202,4 @@ async function cmdMint(args) {
|
|
|
202
202
|
|
|
203
203
|
//#endregion
|
|
204
204
|
export { cmdMint, cmdWidget };
|
|
205
|
-
//# sourceMappingURL=widget-
|
|
205
|
+
//# sourceMappingURL=widget-C1GqFymh.js.map
|
|
@@ -3,9 +3,9 @@ import "./globalPidIndex-Dq4KY2IV.js";
|
|
|
3
3
|
import "./messageLog-BYFwioFY.js";
|
|
4
4
|
import "./e2e-CUMZC53I.js";
|
|
5
5
|
import "./configShared-DtHMBCl7.js";
|
|
6
|
-
import "./subcommands-
|
|
6
|
+
import "./subcommands-bd-cHNKW.js";
|
|
7
7
|
import "./webrtcLink-CS4D-3G1.js";
|
|
8
8
|
import "./remotes-Dy4Rg8Yp.js";
|
|
9
|
-
import { a as isPathInside, c as walkWorkspaces, i as importProvisionModule, l as workspaceStatus, n as cmdWs, o as loadProvision, r as collectWorkspaces, s as resolveOperand, t as WS_JSON_SCHEMA } from "./ws-
|
|
9
|
+
import { a as isPathInside, c as walkWorkspaces, i as importProvisionModule, l as workspaceStatus, n as cmdWs, o as loadProvision, r as collectWorkspaces, s as resolveOperand, t as WS_JSON_SCHEMA } from "./ws-DgHuhAPq.js";
|
|
10
10
|
|
|
11
11
|
export { WS_JSON_SCHEMA, cmdWs, collectWorkspaces, isPathInside, loadProvision, workspaceStatus };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { w as listRecords } from "./subcommands-
|
|
1
|
+
import { w as listRecords } from "./subcommands-bd-cHNKW.js";
|
|
2
2
|
import { a as getProvisionRoot } from "./workspaceConfig-Bxuk_MOq.js";
|
|
3
3
|
import { existsSync } from "fs";
|
|
4
4
|
import { lstat, opendir } from "fs/promises";
|
|
@@ -426,4 +426,4 @@ async function cmdWs(args) {
|
|
|
426
426
|
|
|
427
427
|
//#endregion
|
|
428
428
|
export { isPathInside as a, walkWorkspaces as c, importProvisionModule as i, workspaceStatus as l, cmdWs as n, loadProvision as o, collectWorkspaces as r, resolveOperand as s, WS_JSON_SCHEMA as t };
|
|
429
|
-
//# sourceMappingURL=ws-
|
|
429
|
+
//# sourceMappingURL=ws-DgHuhAPq.js.map
|
package/lab/ui/index.html
CHANGED
|
@@ -1365,6 +1365,35 @@
|
|
|
1365
1365
|
text-overflow: ellipsis;
|
|
1366
1366
|
white-space: nowrap;
|
|
1367
1367
|
}
|
|
1368
|
+
.rowcwd {
|
|
1369
|
+
display: flex;
|
|
1370
|
+
font-family: var(--mono);
|
|
1371
|
+
color: var(--muted);
|
|
1372
|
+
font-size: 11px;
|
|
1373
|
+
min-width: 0;
|
|
1374
|
+
}
|
|
1375
|
+
.rowcwd .tbranch {
|
|
1376
|
+
/* Invisible spacer matching the row's own tree-rail prefix, so the cwd
|
|
1377
|
+
line indents under the name column at any nesting depth instead of
|
|
1378
|
+
a magic constant that only lines up at depth 0. */
|
|
1379
|
+
visibility: hidden;
|
|
1380
|
+
}
|
|
1381
|
+
.rowcwd .rowcwd-lead {
|
|
1382
|
+
flex: none;
|
|
1383
|
+
}
|
|
1384
|
+
.rowcwd .rowcwd-path {
|
|
1385
|
+
flex: 1;
|
|
1386
|
+
min-width: 0;
|
|
1387
|
+
overflow: hidden;
|
|
1388
|
+
text-overflow: ellipsis;
|
|
1389
|
+
white-space: nowrap;
|
|
1390
|
+
/* Absolute paths share a long, boring prefix (/Users/x/ws/…) — the
|
|
1391
|
+
informative part is the tail, so ellipsize from the left/start
|
|
1392
|
+
instead of the (default) end. Characters stay in reading order
|
|
1393
|
+
(this only flips which end gets clipped, via the bidi algorithm). */
|
|
1394
|
+
direction: rtl;
|
|
1395
|
+
text-align: left;
|
|
1396
|
+
}
|
|
1368
1397
|
.rowtitle {
|
|
1369
1398
|
color: var(--fg);
|
|
1370
1399
|
font-size: 12.5px;
|
|
@@ -1381,14 +1410,19 @@
|
|
|
1381
1410
|
text-overflow: ellipsis;
|
|
1382
1411
|
white-space: nowrap;
|
|
1383
1412
|
}
|
|
1384
|
-
/* compact view:
|
|
1385
|
-
|
|
1386
|
-
here — a 2nd line per row costs half the list's density. */
|
|
1413
|
+
/* compact view: dot + cli + live title (or prompt), age — plus the agent's
|
|
1414
|
+
cwd as a 2nd line (.rowcwd) underneath. */
|
|
1387
1415
|
.row.crow {
|
|
1416
|
+
display: flex;
|
|
1417
|
+
flex-direction: column;
|
|
1418
|
+
gap: 2px;
|
|
1419
|
+
padding: 6px 18px;
|
|
1420
|
+
}
|
|
1421
|
+
.crow1 {
|
|
1388
1422
|
display: flex;
|
|
1389
1423
|
align-items: center;
|
|
1390
1424
|
gap: 8px;
|
|
1391
|
-
|
|
1425
|
+
min-width: 0;
|
|
1392
1426
|
}
|
|
1393
1427
|
/* Tree branch prefix for nested (sub)agents — monospace so the box-drawing
|
|
1394
1428
|
glyphs line up into continuous │ ├ └ rails across rows. */
|
|
@@ -1540,10 +1574,8 @@
|
|
|
1540
1574
|
overflow: hidden;
|
|
1541
1575
|
text-overflow: ellipsis;
|
|
1542
1576
|
white-space: nowrap;
|
|
1543
|
-
/*
|
|
1544
|
-
|
|
1545
|
-
instead of the (default) end. Characters stay in reading order
|
|
1546
|
-
(this only flips which end gets clipped, via the bidi algorithm). */
|
|
1577
|
+
/* Ellipsize the boring home/ws prefix, not the informative tail — see
|
|
1578
|
+
the matching comment on .rowcwd-path. */
|
|
1547
1579
|
direction: rtl;
|
|
1548
1580
|
text-align: left;
|
|
1549
1581
|
}
|
|
@@ -5700,6 +5732,7 @@ my.translate = async (text, lang) => {
|
|
|
5700
5732
|
const id = compactIdent(e, ctx, 3, r.parentEntry);
|
|
5701
5733
|
const cli = cliLabel(e);
|
|
5702
5734
|
return `<div class="row crow ${e._key === sel ? "sel" : ""}${rowFlags(e)}" data-key="${esc(e._key)}">
|
|
5735
|
+
<div class="crow1">
|
|
5703
5736
|
${r.branch ? `<span class="tbranch">${esc(r.branch)}</span>` : ""}
|
|
5704
5737
|
${pinMarkHtml(e)}
|
|
5705
5738
|
<span class="dot ${esc(e.status)}"></span>
|
|
@@ -5711,7 +5744,19 @@ my.translate = async (text, lang) => {
|
|
|
5711
5744
|
${badgeChipsHtml(e)}
|
|
5712
5745
|
${gitChipHtml(e)}
|
|
5713
5746
|
${peerChipHtml(e)}
|
|
5714
|
-
<span class="age">${age(e)}</span></div
|
|
5747
|
+
<span class="age">${age(e)}</span></div>
|
|
5748
|
+
${
|
|
5749
|
+
e.cwd
|
|
5750
|
+
? // The leading "/" sits right at the bidi paragraph edge of the
|
|
5751
|
+
// rtl-ellipsis trick below and gets reordered to the far end —
|
|
5752
|
+
// pin it outside that span so only the actual path direction-flips.
|
|
5753
|
+
(() => {
|
|
5754
|
+
const lead = e.cwd.startsWith("/") ? "/" : "";
|
|
5755
|
+
const rest = e.cwd.slice(lead.length);
|
|
5756
|
+
return `<div class="rowcwd" title="${esc(e.cwd)}">${r.branch ? `<span class="tbranch">${esc(r.branch)}</span>` : ""}<span class="rowcwd-lead">${esc(lead)}</span><span class="rowcwd-path">${esc(rest)}</span></div>`;
|
|
5757
|
+
})()
|
|
5758
|
+
: ""
|
|
5759
|
+
}</div>`;
|
|
5715
5760
|
})
|
|
5716
5761
|
.join("") || `<div class="empty">no match</div>`;
|
|
5717
5762
|
renderSendWires(); // rows were replaced — re-draw the overlay (see below)
|
|
@@ -5938,9 +5983,9 @@ my.translate = async (text, lang) => {
|
|
|
5938
5983
|
$("rname").textContent = rname;
|
|
5939
5984
|
refreshDocTitle(); // tab title follows the selected agent (name + status)
|
|
5940
5985
|
$("rpid").textContent = "pid " + e.pid;
|
|
5941
|
-
// Split off the leading "/" before the rtl-ellipsis path span
|
|
5942
|
-
//
|
|
5943
|
-
// far end of the line
|
|
5986
|
+
// Split off the leading "/" before the rtl-ellipsis path span (see the
|
|
5987
|
+
// matching .rowcwd-lead comment) — it sits at the bidi paragraph edge
|
|
5988
|
+
// and would otherwise get reordered to the far end of the line.
|
|
5944
5989
|
const cwd = e.cwd || "";
|
|
5945
5990
|
const cwdLead = cwd.startsWith("/") ? "/" : "";
|
|
5946
5991
|
$("rcwdlead").textContent = cwdLead;
|
package/package.json
CHANGED
package/dist/trayApp-BC99AFl0.js
DELETED