agent-yes 1.258.1 → 1.258.2

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.
Files changed (26) hide show
  1. package/dist/{SUPPORTED_CLIS-gXLHhZ-S.js → SUPPORTED_CLIS-B3WKb4vp.js} +3 -3
  2. package/dist/{SUPPORTED_CLIS-CPsMiUXL.js → SUPPORTED_CLIS-a2RZRGGX.js} +2 -2
  3. package/dist/{agentShare-xzm83xt8.js → agentShare-B7Kw7jsl.js} +2 -2
  4. package/dist/{callback-tmWAos4Y.js → callback-4rXZ89hg.js} +3 -3
  5. package/dist/{callback-C62Nh0Nz.js → callback-D8b4cqDL.js} +2 -2
  6. package/dist/cli.js +13 -10
  7. package/dist/index.js +2 -2
  8. package/dist/{notifyDaemon-BjBOMGUD.js → notifyDaemon-Cgt9NOpH.js} +2 -2
  9. package/dist/{rustBinary-3xArZcQ5.js → rustBinary-CTrWqcUg.js} +2 -2
  10. package/dist/{schedule-5STKhhml.js → schedule-CwYc6fmZ.js} +4 -4
  11. package/dist/{serve-3Mex6lpg.js → serve-BSqkv0ID.js} +15 -15
  12. package/dist/{setup-BZ3tYUXL.js → setup-GcSqhFuR.js} +2 -2
  13. package/dist/{subcommands-311K9VMn.js → subcommands-0PlB-s4J.js} +13 -13
  14. package/dist/{subcommands-DaNdDfdS.js → subcommands-JgqyhIMd.js} +1 -1
  15. package/dist/{terminal-1puHU7Cl.js → terminal-D9Ll04hy.js} +2 -2
  16. package/dist/trayApp-DTwdnJdq.js +5 -0
  17. package/dist/{trayApp-CHbvvV5Y.js → trayApp-pNVA4NUf.js} +2 -2
  18. package/dist/{ts-DtPPVkoi.js → ts-VhXG2C8W.js} +2 -2
  19. package/dist/{versionChecker-DL1w1hA0.js → versionChecker-Cgv9K3sr.js} +2 -2
  20. package/dist/{widget-D38Nymba.js → widget-C56RLLYV.js} +3 -3
  21. package/dist/{ws-CV0t0WxE.js → ws-DeVCKyoE.js} +2 -2
  22. package/dist/{ws-5wbArx1K.js → ws-RsKGmEKG.js} +2 -2
  23. package/package.json +1 -1
  24. package/ts/parseCliArgs.spec.ts +33 -4
  25. package/ts/parseCliArgs.ts +23 -3
  26. package/dist/trayApp-9x-F2Sy4.js +0 -5
@@ -1,11 +1,11 @@
1
1
  import "./logger-CDIsZ-Pp.js";
2
- import "./versionChecker-DL1w1hA0.js";
3
- import "./ts-DtPPVkoi.js";
2
+ import "./versionChecker-Cgv9K3sr.js";
3
+ import "./ts-VhXG2C8W.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-CPsMiUXL.js";
9
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-a2RZRGGX.js";
10
10
 
11
11
  export { SUPPORTED_CLIS };
@@ -1,8 +1,8 @@
1
- import { t as CLIS_CONFIG } from "./ts-DtPPVkoi.js";
1
+ import { t as CLIS_CONFIG } from "./ts-VhXG2C8W.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-CPsMiUXL.js.map
8
+ //# sourceMappingURL=SUPPORTED_CLIS-a2RZRGGX.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 { I as resolveOne } from "./subcommands-311K9VMn.js";
6
+ import { I as resolveOne } from "./subcommands-0PlB-s4J.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-xzm83xt8.js.map
232
+ //# sourceMappingURL=agentShare-B7Kw7jsl.js.map
@@ -1,5 +1,5 @@
1
1
  import { t as agentYesHome } from "./agentYesHome-CtmsY6I-.js";
2
- import { I as resolveOne } from "./subcommands-311K9VMn.js";
2
+ import { I as resolveOne } from "./subcommands-0PlB-s4J.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-3Mex6lpg.js");
75
+ const { resolveLocalServeUrl } = await import("./serve-BSqkv0ID.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-tmWAos4Y.js.map
190
+ //# sourceMappingURL=callback-4rXZ89hg.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-311K9VMn.js";
6
+ import "./subcommands-0PlB-s4J.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-tmWAos4Y.js";
10
+ import { i as loadOrCreateCallbackSecret, n as isCallbackRevoked, r as loadCallbackSecretReadOnly, t as cmdCallback } from "./callback-4rXZ89hg.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-DL1w1hA0.js";
5
- import { r as getRustBinary } from "./rustBinary-3xArZcQ5.js";
4
+ import { i as versionString, n as displayVersion, t as checkAndAutoUpdate } from "./versionChecker-Cgv9K3sr.js";
5
+ import { r as getRustBinary } from "./rustBinary-CTrWqcUg.js";
6
6
  import { argv } from "process";
7
7
  import { spawn } from "child_process";
8
8
  import ms from "ms";
@@ -137,10 +137,7 @@ function parseCliArgs(argv, supportedClis) {
137
137
  type: "boolean",
138
138
  description: "Show version number",
139
139
  alias: "v"
140
- }).parserConfiguration({
141
- "unknown-options-as-args": true,
142
- "halt-at-non-option": true
143
- }).parseSync();
140
+ }).parserConfiguration({ "unknown-options-as-args": true }).parseSync();
144
141
  const optionalIndex = (e) => 0 <= e ? e : void 0;
145
142
  const rawArgs = argv.slice(2);
146
143
  const cliArgIndex = optionalIndex(rawArgs.indexOf(String(parsedArgv._[0])));
@@ -164,7 +161,13 @@ function parseCliArgs(argv, supportedClis) {
164
161
  const result = [];
165
162
  for (let i = 0; i < allAfterCli.length; i++) {
166
163
  const arg = allAfterCli[i];
167
- if (arg.startsWith("-")) {
164
+ const [flag] = arg.split("=");
165
+ if (flag && yargsConsumed.has(flag) || flag?.startsWith("--no-") && yargsConsumed.has(`--${flag.slice(5)}`)) {
166
+ if (!arg.includes("=") && i + 1 < allAfterCli.length) {
167
+ const nextArg = allAfterCli[i + 1];
168
+ if (nextArg && !nextArg.startsWith("-")) i++;
169
+ }
170
+ } else if (arg.startsWith("-")) {
168
171
  result.push(arg);
169
172
  if (!arg.includes("=") && i + 1 < allAfterCli.length) {
170
173
  const nextArg = allAfterCli[i + 1];
@@ -285,7 +288,7 @@ function buildRustArgs(argv, cliFromScript, supportedClis) {
285
288
  const rawArg = process.argv[2];
286
289
  const managerCommands = !invokedCliName(process.argv);
287
290
  const isHelpFlag = rawArg === "-h" || rawArg === "--help";
288
- const { isSubcommand, runSubcommand, cmdHelp, isUnknownManagerToken } = await import("./subcommands-DaNdDfdS.js");
291
+ const { isSubcommand, runSubcommand, cmdHelp, isUnknownManagerToken } = await import("./subcommands-JgqyhIMd.js");
289
292
  if (isHelpFlag && process.argv.length === 3) {
290
293
  await cmdHelp(managerCommands);
291
294
  process.exit(0);
@@ -295,7 +298,7 @@ function buildRustArgs(argv, cliFromScript, supportedClis) {
295
298
  process.exit(code ?? 0);
296
299
  }
297
300
  {
298
- const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-gXLHhZ-S.js");
301
+ const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-B3WKb4vp.js");
299
302
  if (isUnknownManagerToken(rawArg, managerCommands, SUPPORTED_CLIS)) {
300
303
  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
304
  process.exit(1);
@@ -346,7 +349,7 @@ if (config.useRust) {
346
349
  }
347
350
  }
348
351
  if (rustBinary) {
349
- const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-gXLHhZ-S.js");
352
+ const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-B3WKb4vp.js");
350
353
  const rustArgs = buildRustArgs(process.argv, config.cli, SUPPORTED_CLIS);
351
354
  if (config.verbose) {
352
355
  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-DL1w1hA0.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-DtPPVkoi.js";
2
+ import "./versionChecker-Cgv9K3sr.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-VhXG2C8W.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-311K9VMn.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-0PlB-s4J.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-BjBOMGUD.js.map
839
+ //# sourceMappingURL=notifyDaemon-Cgt9NOpH.js.map
@@ -1,4 +1,4 @@
1
- import { r as getInstalledPackage } from "./versionChecker-DL1w1hA0.js";
1
+ import { r as getInstalledPackage } from "./versionChecker-Cgv9K3sr.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-3xArZcQ5.js.map
246
+ //# sourceMappingURL=rustBinary-CTrWqcUg.js.map
@@ -1,12 +1,12 @@
1
1
  import "./logger-CDIsZ-Pp.js";
2
- import "./versionChecker-DL1w1hA0.js";
3
- import "./ts-DtPPVkoi.js";
2
+ import "./versionChecker-Cgv9K3sr.js";
3
+ import "./ts-VhXG2C8W.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-CPsMiUXL.js";
9
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-a2RZRGGX.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-5STKhhml.js.map
156
+ //# sourceMappingURL=schedule-CwYc6fmZ.js.map
@@ -1,7 +1,7 @@
1
1
  import "./logger-CDIsZ-Pp.js";
2
- import { r as getInstalledPackage } from "./versionChecker-DL1w1hA0.js";
3
- import { t as findSpawnHiddenLauncher } from "./rustBinary-3xArZcQ5.js";
4
- import { c as permissionBadge, i as answerAsk, o as listAsks, u as CLAUDE_SESSION_PIN_ENV } from "./ts-DtPPVkoi.js";
2
+ import { r as getInstalledPackage } from "./versionChecker-Cgv9K3sr.js";
3
+ import { t as findSpawnHiddenLauncher } from "./rustBinary-CTrWqcUg.js";
4
+ import { c as permissionBadge, i as answerAsk, o as listAsks, u as CLAUDE_SESSION_PIN_ENV } from "./ts-VhXG2C8W.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-CPsMiUXL.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-311K9VMn.js";
14
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-a2RZRGGX.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-0PlB-s4J.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-tmWAos4Y.js";
19
+ import { n as isCallbackRevoked, r as loadCallbackSecretReadOnly } from "./callback-4rXZ89hg.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-CV0t0WxE.js";
22
+ import { i as importProvisionModule } from "./ws-DeVCKyoE.js";
23
23
  import { r as spawnRejectionReason } from "./spawnGate-D0E1uRP7.js";
24
- import { i as launchTray } from "./trayApp-CHbvvV5Y.js";
24
+ import { i as launchTray } from "./trayApp-pNVA4NUf.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-5wbArx1K.js");
2371
+ const ws = await import("./ws-RsKGmEKG.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-5wbArx1K.js");
2391
+ const ws = await import("./ws-RsKGmEKG.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-xzm83xt8.js");
3148
+ const { createScopedShare } = await import("./agentShare-B7Kw7jsl.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-xzm83xt8.js");
3163
+ const { listShares } = await import("./agentShare-B7Kw7jsl.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-xzm83xt8.js");
3168
+ const { revokeShare } = await import("./agentShare-B7Kw7jsl.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-xzm83xt8.js").then((m) => m.revokeAllShares()).catch(() => {});
3470
+ import("./agentShare-B7Kw7jsl.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-3Mex6lpg.js.map
3483
+ //# sourceMappingURL=serve-BSqkv0ID.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-3Mex6lpg.js");
35
+ const { cmdServe } = await import("./serve-BSqkv0ID.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-BZ3tYUXL.js.map
45
+ //# sourceMappingURL=setup-GcSqhFuR.js.map
@@ -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-1puHU7Cl.js");
1401
+ const { cmdTerm } = await import("./terminal-D9Ll04hy.js");
1402
1402
  return cmdTerm(rest);
1403
1403
  }
1404
1404
  case "widget": {
1405
- const { cmdWidget } = await import("./widget-D38Nymba.js");
1405
+ const { cmdWidget } = await import("./widget-C56RLLYV.js");
1406
1406
  return cmdWidget(rest);
1407
1407
  }
1408
1408
  case "mint": {
1409
- const { cmdMint } = await import("./widget-D38Nymba.js");
1409
+ const { cmdMint } = await import("./widget-C56RLLYV.js");
1410
1410
  return cmdMint(rest);
1411
1411
  }
1412
1412
  case "serve": {
1413
- const { cmdServe } = await import("./serve-3Mex6lpg.js");
1413
+ const { cmdServe } = await import("./serve-BSqkv0ID.js");
1414
1414
  return cmdServe(rest);
1415
1415
  }
1416
1416
  case "tray": {
1417
- const { cmdTray } = await import("./trayApp-9x-F2Sy4.js");
1417
+ const { cmdTray } = await import("./trayApp-DTwdnJdq.js");
1418
1418
  return cmdTray(rest);
1419
1419
  }
1420
1420
  case "setup": {
1421
- const { cmdSetup } = await import("./setup-BZ3tYUXL.js");
1421
+ const { cmdSetup } = await import("./setup-GcSqhFuR.js");
1422
1422
  return cmdSetup(rest);
1423
1423
  }
1424
1424
  case "ws": {
1425
- const { cmdWs } = await import("./ws-5wbArx1K.js");
1425
+ const { cmdWs } = await import("./ws-RsKGmEKG.js");
1426
1426
  return cmdWs(rest);
1427
1427
  }
1428
1428
  case "schedule": {
1429
- const { cmdSchedule } = await import("./schedule-5STKhhml.js");
1429
+ const { cmdSchedule } = await import("./schedule-CwYc6fmZ.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-C62Nh0Nz.js");
1441
+ const { cmdCallback } = await import("./callback-D8b4cqDL.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-3Mex6lpg.js");
3890
+ const { resolveDaemonHttpBase, loadTokenReadOnly } = await import("./serve-BSqkv0ID.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-BjBOMGUD.js");
4600
+ const { ensureDaemon } = await import("./notifyDaemon-Cgt9NOpH.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-BjBOMGUD.js");
4674
+ const daemon = await import("./notifyDaemon-Cgt9NOpH.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-311K9VMn.js.map
4701
+ //# sourceMappingURL=subcommands-0PlB-s4J.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-311K9VMn.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-0PlB-s4J.js";
7
7
  import "./webrtcLink-CS4D-3G1.js";
8
8
  import "./remotes-Dy4Rg8Yp.js";
9
9
 
@@ -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-3Mex6lpg.js");
101
+ const { mintScopedTermToken } = await import("./serve-BSqkv0ID.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-1puHU7Cl.js.map
138
+ //# sourceMappingURL=terminal-D9Ll04hy.js.map
@@ -0,0 +1,5 @@
1
+ import "./versionChecker-Cgv9K3sr.js";
2
+ import "./rustBinary-CTrWqcUg.js";
3
+ import { a as trayHiddenMarker, i as launchTray, n as hasDesktop, r as isTrayHidden, t as cmdTray } from "./trayApp-pNVA4NUf.js";
4
+
5
+ export { cmdTray };
@@ -1,4 +1,4 @@
1
- import { n as findTrayLauncher } from "./rustBinary-3xArZcQ5.js";
1
+ import { n as findTrayLauncher } from "./rustBinary-CTrWqcUg.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-CHbvvV5Y.js.map
100
+ //# sourceMappingURL=trayApp-pNVA4NUf.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-DL1w1hA0.js";
3
+ import { r as getInstalledPackage } from "./versionChecker-Cgv9K3sr.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-DtPPVkoi.js.map
2183
+ //# sourceMappingURL=ts-VhXG2C8W.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.1";
10
+ var version = "1.258.2";
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-DL1w1hA0.js.map
218
+ //# sourceMappingURL=versionChecker-Cgv9K3sr.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-3Mex6lpg.js");
31
+ const { resolveDaemonHttpBase, loadTokenReadOnly } = await import("./serve-BSqkv0ID.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-3Mex6lpg.js");
189
+ const { mintScopedTermToken } = await import("./serve-BSqkv0ID.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-D38Nymba.js.map
205
+ //# sourceMappingURL=widget-C56RLLYV.js.map
@@ -1,4 +1,4 @@
1
- import { w as listRecords } from "./subcommands-311K9VMn.js";
1
+ import { w as listRecords } from "./subcommands-0PlB-s4J.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-CV0t0WxE.js.map
429
+ //# sourceMappingURL=ws-DeVCKyoE.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-311K9VMn.js";
6
+ import "./subcommands-0PlB-s4J.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-CV0t0WxE.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-DeVCKyoE.js";
10
10
 
11
11
  export { WS_JSON_SCHEMA, cmdWs, collectWorkspaces, isPathInside, loadProvision, workspaceStatus };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-yes",
3
- "version": "1.258.1",
3
+ "version": "1.258.2",
4
4
  "description": "A wrapper tool that automates interactions with various AI CLI tools by automatically handling common prompts and responses.",
5
5
  "keywords": [
6
6
  "ai",
@@ -430,14 +430,43 @@ describe("CLI argument parsing", () => {
430
430
  expect(result.useStdinAppend).toBe(true);
431
431
  });
432
432
 
433
- it("respects --no-stdpush opt-out only when placed before the CLI positional", () => {
434
- // halt-at-non-option means agent-yes flags must precede the CLI positional.
433
+ it("respects --no-stdpush opt-out on either side of the CLI positional", () => {
434
+ // Usage promises `ay [cli] [agent-yes args] [agent-cli args]` agent-yes
435
+ // flags are consumed after the CLI name too (#349).
435
436
  const beforeCli = parseCliArgs(["node", "/path/to/ay", "--no-stdpush", "claude"]);
436
437
  const afterCli = parseCliArgs(["node", "/path/to/ay", "claude", "--no-stdpush"]);
437
438
 
438
439
  expect(beforeCli.useStdinAppend).toBe(false);
439
- expect(afterCli.useStdinAppend).toBe(true);
440
- expect(afterCli.cliArgs).toContain("--no-stdpush");
440
+ expect(afterCli.useStdinAppend).toBe(false);
441
+ expect(afterCli.cliArgs).not.toContain("--no-stdpush");
442
+ });
443
+
444
+ it("consumes agent-yes flags after the CLI name and forwards unknown flags (#349)", () => {
445
+ // The reporter's table: `ay claude --no-rust` / `--timeout=30s` were
446
+ // silently forwarded to the child instead of applying to agent-yes.
447
+ const noRust = parseCliArgs(["node", "/path/to/ay", "claude", "--no-rust"]);
448
+ expect(noRust.useRust).toBe(false);
449
+ expect(noRust.cliArgs).toEqual([]);
450
+
451
+ const timeout = parseCliArgs(["node", "/path/to/ay", "claude", "--timeout=30s"]);
452
+ expect(timeout.exitOnIdle).toBe(30000);
453
+ expect(timeout.cliArgs).toEqual([]);
454
+
455
+ // Separate-value form, mixed with prompt words and a child flag.
456
+ const mixed = parseCliArgs([
457
+ "node",
458
+ "/path/to/ay",
459
+ "claude",
460
+ "--timeout",
461
+ "30s",
462
+ "--model",
463
+ "opus",
464
+ "fix",
465
+ "bugs",
466
+ ]);
467
+ expect(mixed.exitOnIdle).toBe(30000);
468
+ expect(mixed.cliArgs).toEqual(["--model", "opus"]); // unknown → child
469
+ expect(mixed.prompt).toBe("fix bugs");
441
470
  });
442
471
 
443
472
  it("consumes --attach as an agent-yes flag before the CLI positional", () => {
@@ -184,8 +184,13 @@ export function parseCliArgs(argv: string[], supportedClis?: readonly string[])
184
184
  alias: "v",
185
185
  })
186
186
  .parserConfiguration({
187
+ // Unknown options (the wrapped CLI's flags, e.g. --model) stay in `_`
188
+ // untouched and are forwarded to the child below. Known agent-yes
189
+ // options are consumed WHEREVER they appear — the usage string promises
190
+ // `$0 [cli] [agent-yes args] [agent-cli args]`, and with the former
191
+ // "halt-at-non-option" everything after the cli positional was skipped,
192
+ // so `ay claude --timeout=30s` silently dropped the timeout (#349).
187
193
  "unknown-options-as-args": true,
188
- "halt-at-non-option": true,
189
194
  })
190
195
  .parseSync();
191
196
 
@@ -217,12 +222,27 @@ export function parseCliArgs(argv: string[], supportedClis?: readonly string[])
217
222
 
218
223
  const cliArgsForSpawn = (() => {
219
224
  if (parsedArgv._[0] && !cliName) {
220
- // Explicit CLI name provided as positional arg — separate flags from bare words
225
+ // Explicit CLI name provided as positional arg — flags agent-yes itself
226
+ // consumed are filtered out (same rule as the cli-bound branch below),
227
+ // remaining flags go to the child, bare words become prompt text.
221
228
  const allAfterCli = rawArgs.slice((cliArgIndex ?? 0) + 1, dashIndex ?? undefined);
222
229
  const result: string[] = [];
223
230
  for (let i = 0; i < allAfterCli.length; i++) {
224
231
  const arg = allAfterCli[i]!;
225
- if (arg.startsWith("-")) {
232
+ const [flag] = arg.split("=");
233
+ // Check both the flag itself and its --no- negation (yargs stores --no-x as key "x")
234
+ const isConsumed =
235
+ (flag && yargsConsumed.has(flag)) ||
236
+ (flag?.startsWith("--no-") && yargsConsumed.has(`--${flag.slice(5)}`));
237
+ if (isConsumed) {
238
+ // Skip consumed flag and its value if separate
239
+ if (!arg.includes("=") && i + 1 < allAfterCli.length) {
240
+ const nextArg = allAfterCli[i + 1];
241
+ if (nextArg && !nextArg.startsWith("-")) {
242
+ i++; // Skip value
243
+ }
244
+ }
245
+ } else if (arg.startsWith("-")) {
226
246
  result.push(arg);
227
247
  // Consume the next arg as the flag's value if separate (--flag value)
228
248
  if (!arg.includes("=") && i + 1 < allAfterCli.length) {
@@ -1,5 +0,0 @@
1
- import "./versionChecker-DL1w1hA0.js";
2
- import "./rustBinary-3xArZcQ5.js";
3
- import { a as trayHiddenMarker, i as launchTray, n as hasDesktop, r as isTrayHidden, t as cmdTray } from "./trayApp-CHbvvV5Y.js";
4
-
5
- export { cmdTray };