agent-yes 1.299.0 → 1.300.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 +13 -2
- package/default.config.yaml +12 -0
- package/dist/{SUPPORTED_CLIS-BIlQQJa6.js → SUPPORTED_CLIS-BUn4zN_B.js} +3 -3
- package/dist/{SUPPORTED_CLIS-Ct9reIJH.js → SUPPORTED_CLIS-DWZDaH9f.js} +2 -2
- package/dist/{agentShare-uzFuaLUH.js → agentShare-DpJmCvJ2.js} +3 -3
- package/dist/{callback-DRrURxmb.js → callback-BW73zdcS.js} +3 -3
- package/dist/{callback-BxTZx3xJ.js → callback-DQrYImyf.js} +3 -3
- package/dist/cli.js +5 -5
- package/dist/{cmdPs-BGIWbeBM.js → cmdPs-DBt-LD-H.js} +3 -3
- package/dist/index.js +2 -2
- package/dist/{notifyDaemon-EEbnpoYp.js → notifyDaemon-BkuOBb_g.js} +3 -3
- package/dist/{parentPingLoop-C1XXpKK7.js → parentPingLoop-d0GZjqY9.js} +2 -2
- package/dist/{remotes-DrYe_nfw.js → remotes-B4v0Nowo.js} +64 -7
- package/dist/remotes-DnMQWaqQ.js +5 -0
- package/dist/{rustBinary-B7rq3nuz.js → rustBinary-CVjRaDmT.js} +2 -2
- package/dist/{rustBinary--pof-MTj.js → rustBinary-DdWIf051.js} +2 -2
- package/dist/{schedule-BFUe9-Mf.js → schedule-C0HWIN7Z.js} +4 -4
- package/dist/{serve-Q4dnZc5l.js → serve-DTQomE4j.js} +42 -28
- package/dist/{setup-aEuGSFjB.js → setup-BwZ3UlCM.js} +2 -2
- package/dist/{shareCmd-DkITELaM.js → shareCmd-Cx2kxthJ.js} +3 -3
- package/dist/subcommands-R1eJF51D.js +13 -0
- package/dist/{subcommands-CUWPMI_r.js → subcommands-sr1CIEeP.js} +766 -81
- package/dist/{terminal-CUn1_oPd.js → terminal-CHPcyJuv.js} +2 -2
- package/dist/{trayApp-BHwAJFzl.js → trayApp-CjUWDytD.js} +2 -2
- package/dist/trayApp-K6-U3syh.js +5 -0
- package/dist/{ts-oIxnyQbE.js → ts-tta7Z887.js} +3 -3
- package/dist/{versionChecker-DOgDaagD.js → versionChecker-qFzGUoUo.js} +2 -2
- package/dist/{widget-CuagzQwz.js → widget-BOUSiXVj.js} +3 -3
- package/dist/{ws-DcJBGzQP.js → ws-BV2o8Zce.js} +2 -2
- package/dist/{ws-ID7-zDiJ.js → ws-xxrH3pXD.js} +3 -3
- package/package.json +1 -1
- package/ts/composerGuard.spec.ts +279 -0
- package/ts/composerGuard.ts +366 -0
- package/ts/globalPidIndex.ts +7 -0
- package/ts/messageLog.ts +2 -0
- package/ts/needsInput.bun.spec.ts +36 -0
- package/ts/needsInput.spec.ts +36 -0
- package/ts/remotes.bun.spec.ts +125 -0
- package/ts/remotes.spec.ts +125 -0
- package/ts/remotes.ts +95 -5
- package/ts/serve.bun.spec.ts +50 -0
- package/ts/serve.spec.ts +57 -1
- package/ts/serve.ts +50 -9
- package/ts/subcommands.spec.ts +530 -50
- package/ts/subcommands.ts +657 -94
- package/ts/workDir.bun.spec.ts +90 -0
- package/ts/workDir.spec.ts +90 -0
- package/ts/workDir.ts +75 -0
- package/dist/remotes-BDMnvGI6.js +0 -5
- package/dist/subcommands-CuRZt3X6.js +0 -13
- package/dist/trayApp-ucuB_j5l.js +0 -5
|
@@ -243,7 +243,7 @@ shown first and needs a y at a [y/N] prompt.
|
|
|
243
243
|
Options:
|
|
244
244
|
--port N HTTP port (default: ${DEFAULT_SHARE_PORT}, or the daemon's)\n --path /ay tailscale mount path (default: ${DEFAULT_TS_PATH})\n -y, --yes approve the shown commands without prompting\n --json print {mode, url} as JSON\n\nThe URL carries this host's serve token: whoever holds it can read and steer\nevery agent here. Rotate: rm ~/.agent-yes/.serve-token && ay serve install\n`;
|
|
245
245
|
async function cmdShareStatus(mount) {
|
|
246
|
-
const { inspectServeDaemon } = await import("./serve-
|
|
246
|
+
const { inspectServeDaemon } = await import("./serve-DTQomE4j.js");
|
|
247
247
|
const [d, ts] = await Promise.all([inspectServeDaemon(), detectTailscale()]);
|
|
248
248
|
const line = (k, v) => process.stdout.write(`${k.padEnd(11)}${v}\n`);
|
|
249
249
|
if (d.args === null) {
|
|
@@ -287,7 +287,7 @@ async function cmdShare(rest) {
|
|
|
287
287
|
process.stderr.write(`ay share: unknown mode '${mode}' — one of ${SHARE_MODES.join(", ")}\n`);
|
|
288
288
|
return 1;
|
|
289
289
|
}
|
|
290
|
-
const { inspectServeDaemon, cmdServe } = await import("./serve-
|
|
290
|
+
const { inspectServeDaemon, cmdServe } = await import("./serve-DTQomE4j.js");
|
|
291
291
|
const [daemon, ts] = await Promise.all([inspectServeDaemon(), detectTailscale()]);
|
|
292
292
|
const lanIp = pickLanIp(networkInterfaces());
|
|
293
293
|
if (!mode) {
|
|
@@ -412,4 +412,4 @@ async function cmdShare(rest) {
|
|
|
412
412
|
|
|
413
413
|
//#endregion
|
|
414
414
|
export { cmdShare };
|
|
415
|
-
//# sourceMappingURL=shareCmd-
|
|
415
|
+
//# sourceMappingURL=shareCmd-Cx2kxthJ.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import "./logger-CDIsZ-Pp.js";
|
|
2
|
+
import "./JsonlStore-BqF7AQ6E.js";
|
|
3
|
+
import "./globalPidIndex-CRH9L9tn.js";
|
|
4
|
+
import "./pidStore-DXWqzTSz.js";
|
|
5
|
+
import "./messageLog-Brx3w6zT.js";
|
|
6
|
+
import "./e2e-z1xpwSAg.js";
|
|
7
|
+
import "./configShared-DKTgiz7K.js";
|
|
8
|
+
import { $ as renderRawLogLines, A as isExitRequest, B as matchKeyword, C as extractMenu, D as inspectSubmission, E as finalizedLines, F as isUnreachableWriteErrno, G as readComposerState, H as ownedCollapsedPaste, I as isUserTyping, J as readPtysize, K as readLogForRender, L as lastReadAt, M as isSlashCommand, N as isSubcommand, O as isAgentStuck, P as isUnknownManagerToken, Q as renderRawLog, R as lastStdinAt, S as extractBadges, T as extractTaskCounts, U as probeStdinReachable, V as menuSelectKeys, W as readAgentPtysize, X as recentReadEdges, Y as recentMessageEdges, Z as renderLogTailLines, _ as deriveLiveState, a as SEND_BODY_MAX_CHARS, at as sendPayloadCapError, b as envelopeAttribution, c as TYPING_WINDOW_MS, ct as stopTipForCli, d as cliDefaults, dt as writeKeysPaced, et as resolveOne, f as cmdHelp, ft as writeToIpc, g as cwdLabel, h as cursorAbs, i as READ_WINDOW_MS, it as runSubcommand, j as isPidAlive, k as isBareManagerInvocation, l as backoffWhileTyping, lt as submitAndConfirm, m as controlCodeFromName, n as MAX_RENDER_BYTES, nt as resolveResumeArgs, o as SEND_EXIT_QUEUED, ot as snapshotStatus, p as confirmStdinUnreachable, q as readNotes, r as READ_PAGE_DEFAULT, rt as restartHintLines, s as SEND_EXIT_UNREACHABLE, st as stdinActivityPath, t as GRACEFUL_EXIT_COMMANDS, tt as resolveReadWindow, u as buildEnvelope, ut as waitForLogQuiet, v as deriveLiveStatus, w as extractNeedsInput, x as envelopeCostFor, y as drainerLauncher, z as listRecords } from "./subcommands-sr1CIEeP.js";
|
|
9
|
+
import "./notifyStore-2SWKGwZI.js";
|
|
10
|
+
import "./webrtcLink-DFRyWNMs.js";
|
|
11
|
+
import "./remotes-B4v0Nowo.js";
|
|
12
|
+
|
|
13
|
+
export { READ_WINDOW_MS, cmdHelp, isBareManagerInvocation, isSubcommand, isUnknownManagerToken, lastReadAt, runSubcommand };
|