agent-yes 1.239.0-beta.573.1 → 1.239.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.
Files changed (29) hide show
  1. package/dist/{SUPPORTED_CLIS-CcPZq4Za.js → SUPPORTED_CLIS-B1KpRTn6.js} +2 -2
  2. package/dist/{SUPPORTED_CLIS-CfPoYTTw.js → SUPPORTED_CLIS-BAjpiDmM.js} +3 -3
  3. package/dist/{agentShare-8d40Qu08.js → agentShare-6AJaJhF_.js} +2 -2
  4. package/dist/{browser-BRMyG4JA.js → browser-CEP6GcDq.js} +2 -2
  5. package/dist/{callback-uWJ2Gccg.js → callback-DWCY5gUu.js} +3 -3
  6. package/dist/{callback-Co6EA4S-.js → callback-FXxZhg1N.js} +2 -2
  7. package/dist/chunk-CNLfOXRf.js +43 -0
  8. package/dist/cli.js +5 -5
  9. package/dist/html2canvas-CWk6nh1H.js +6718 -0
  10. package/dist/index.js +2 -2
  11. package/dist/{notifyDaemon-BlZ63c5l.js → notifyDaemon-DrLqT7fy.js} +2 -2
  12. package/dist/{rustBinary-BJZK2jSu.js → rustBinary-BDoH3nyt.js} +2 -2
  13. package/dist/{schedule-B1uX0rj4.js → schedule-Br--S5qc.js} +4 -4
  14. package/dist/{serve-DiTzXDSN.js → serve-DyQ-oFbD.js} +13 -13
  15. package/dist/{setup-BS_9_kO0.js → setup-BEwSgz1-.js} +2 -2
  16. package/dist/{subcommands-DSVgYqGD.js → subcommands-CCsfQjn6.js} +1 -1
  17. package/dist/{subcommands-CnRojwPU.js → subcommands-CImOH-GZ.js} +11 -11
  18. package/dist/{terminal-BSrjOFd_.js → terminal-oxQ_KbyG.js} +2 -2
  19. package/dist/terminal.js +1 -1
  20. package/dist/{ts-D6xd1vcz.js → ts-Dg43iOPE.js} +3 -3
  21. package/dist/{versionChecker-CVzyTNsE.js → versionChecker-D8DinCka.js} +2 -2
  22. package/dist/{widget-BbWl5qHb.js → widget-CBPw56Wj.js} +5 -14
  23. package/dist/widget.js +4 -9
  24. package/dist/widgets.js +1 -1
  25. package/dist/{ws-DNmAqzPK.js → ws-RYCFiAx-.js} +2 -2
  26. package/package.json +2 -2
  27. package/ts/widget.ts +2 -15
  28. package/dist/chunk-cZBX9HZv.js +0 -20
  29. package/dist/html2canvas-pro.esm-BZqMtqU8.js +0 -10898
@@ -1,8 +1,8 @@
1
- import { t as CLIS_CONFIG } from "./ts-D6xd1vcz.js";
1
+ import { t as CLIS_CONFIG } from "./ts-Dg43iOPE.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-CcPZq4Za.js.map
8
+ //# sourceMappingURL=SUPPORTED_CLIS-B1KpRTn6.js.map
@@ -1,11 +1,11 @@
1
1
  import "./logger-CDIsZ-Pp.js";
2
- import "./versionChecker-CVzyTNsE.js";
3
- import "./ts-D6xd1vcz.js";
2
+ import "./versionChecker-D8DinCka.js";
3
+ import "./ts-Dg43iOPE.js";
4
4
  import "./todoAutomation-Buo457VO.js";
5
5
  import "./JsonlStore-CPGIR0Wy.js";
6
6
  import "./globalPidIndex-D9DOSd-c.js";
7
7
  import "./pidStore-6EZd5DUv.js";
8
8
  import "./messageLog-C-YIzhRj.js";
9
- import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-CcPZq4Za.js";
9
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-B1KpRTn6.js";
10
10
 
11
11
  export { SUPPORTED_CLIS };
@@ -3,7 +3,7 @@ import "./globalPidIndex-D9DOSd-c.js";
3
3
  import "./messageLog-C-YIzhRj.js";
4
4
  import "./e2e-CEIdJGZ7.js";
5
5
  import "./configShared-9wVlbPyC.js";
6
- import { P as resolveOne } from "./subcommands-CnRojwPU.js";
6
+ import { P as resolveOne } from "./subcommands-CImOH-GZ.js";
7
7
  import "./webrtcLink-BMYneHbu.js";
8
8
  import "./remotes-BxQnNxQv.js";
9
9
  import { a as startShare } from "./share-BGl3wutJ.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-8d40Qu08.js.map
232
+ //# sourceMappingURL=agentShare-6AJaJhF_.js.map
@@ -1,4 +1,4 @@
1
- import { t as __commonJSMin } from "./chunk-cZBX9HZv.js";
1
+ import { t as __commonJSMin } from "./chunk-CNLfOXRf.js";
2
2
 
3
3
  //#region node_modules/@xterm/xterm/lib/xterm.js
4
4
  var require_xterm = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -13511,4 +13511,4 @@ const XTERM_CSS = `
13511
13511
 
13512
13512
  //#endregion
13513
13513
  export { AyTerminal as t };
13514
- //# sourceMappingURL=browser-BRMyG4JA.js.map
13514
+ //# sourceMappingURL=browser-CEP6GcDq.js.map
@@ -1,5 +1,5 @@
1
1
  import { t as agentYesHome } from "./agentYesHome-CtmsY6I-.js";
2
- import { P as resolveOne } from "./subcommands-CnRojwPU.js";
2
+ import { P as resolveOne } from "./subcommands-CImOH-GZ.js";
3
3
  import { a as mintCapability, o as parseExpires } from "./callbackCore-Dd28_cBM.js";
4
4
  import { randomBytes } from "node:crypto";
5
5
  import { mkdir, readFile, writeFile } from "node:fs/promises";
@@ -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-DiTzXDSN.js");
75
+ const { resolveLocalServeUrl } = await import("./serve-DyQ-oFbD.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-uWJ2Gccg.js.map
190
+ //# sourceMappingURL=callback-DWCY5gUu.js.map
@@ -3,10 +3,10 @@ import "./globalPidIndex-D9DOSd-c.js";
3
3
  import "./messageLog-C-YIzhRj.js";
4
4
  import "./e2e-CEIdJGZ7.js";
5
5
  import "./configShared-9wVlbPyC.js";
6
- import "./subcommands-CnRojwPU.js";
6
+ import "./subcommands-CImOH-GZ.js";
7
7
  import "./webrtcLink-BMYneHbu.js";
8
8
  import "./remotes-BxQnNxQv.js";
9
9
  import "./callbackCore-Dd28_cBM.js";
10
- import { i as loadOrCreateCallbackSecret, n as isCallbackRevoked, r as loadCallbackSecretReadOnly, t as cmdCallback } from "./callback-uWJ2Gccg.js";
10
+ import { i as loadOrCreateCallbackSecret, n as isCallbackRevoked, r as loadCallbackSecretReadOnly, t as cmdCallback } from "./callback-DWCY5gUu.js";
11
11
 
12
12
  export { cmdCallback };
@@ -0,0 +1,43 @@
1
+ //#region \0rolldown/runtime.js
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
9
+ var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
10
+ var __exportAll = (all, no_symbols) => {
11
+ let target = {};
12
+ for (var name in all) {
13
+ __defProp(target, name, {
14
+ get: all[name],
15
+ enumerable: true
16
+ });
17
+ }
18
+ if (!no_symbols) {
19
+ __defProp(target, Symbol.toStringTag, { value: "Module" });
20
+ }
21
+ return target;
22
+ };
23
+ var __copyProps = (to, from, except, desc) => {
24
+ if (from && typeof from === "object" || typeof from === "function") {
25
+ for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
26
+ key = keys[i];
27
+ if (!__hasOwnProp.call(to, key) && key !== except) {
28
+ __defProp(to, key, {
29
+ get: ((k) => from[k]).bind(null, key),
30
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
31
+ });
32
+ }
33
+ }
34
+ }
35
+ return to;
36
+ };
37
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
38
+ value: mod,
39
+ enumerable: true
40
+ }) : target, mod));
41
+
42
+ //#endregion
43
+ export { __toESM as i, __esmMin as n, __exportAll as r, __commonJSMin as t };
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-CVzyTNsE.js";
5
- import { n as getRustBinary } from "./rustBinary-BJZK2jSu.js";
4
+ import { i as versionString, n as displayVersion, t as checkAndAutoUpdate } from "./versionChecker-D8DinCka.js";
5
+ import { n as getRustBinary } from "./rustBinary-BDoH3nyt.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-DSVgYqGD.js");
288
+ const { isSubcommand, runSubcommand, cmdHelp, isUnknownManagerToken } = await import("./subcommands-CCsfQjn6.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-CfPoYTTw.js");
298
+ const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-BAjpiDmM.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-CfPoYTTw.js");
349
+ const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-BAjpiDmM.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}`);