@wirecat/cli-memo 0.131.26 → 0.131.27

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 (105) hide show
  1. package/dist/bin/memo.js +2 -2
  2. package/dist/bundle/{all-profiles-VULFSNYE.js → all-profiles-647KYOE7.js} +5 -5
  3. package/dist/bundle/{anthropic-VXQ6ST2U.js → anthropic-NOWJG7LX.js} +3 -3
  4. package/dist/bundle/{app-server-HQPELIPY.js → app-server-4TSS6HOH.js} +35 -35
  5. package/dist/bundle/auto-SMKS3KCQ.js +86 -0
  6. package/dist/bundle/{bun-2NMWL5YB.js → bun-SWGUWWHN.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-CT544OXO.js → bun-sqlite-KUF25XNM.js} +2 -2
  8. package/dist/bundle/{chunk-Z3YGDBBS.js → chunk-277JL5QO.js} +2 -2
  9. package/dist/bundle/{chunk-TXANQZEG.js → chunk-2HRV2SUN.js} +2 -2
  10. package/dist/bundle/{chunk-KTDNFSXC.js → chunk-2KFZT2MK.js} +20 -20
  11. package/dist/bundle/{chunk-IUM5XZWV.js → chunk-3H63BAA7.js} +5 -5
  12. package/dist/bundle/{chunk-GJBK3M6X.js → chunk-3RTD2FXB.js} +4 -4
  13. package/dist/bundle/{chunk-H6O6IQND.js → chunk-4GTDOWNP.js} +3 -3
  14. package/dist/bundle/{chunk-KFDPW2AR.js → chunk-4PTLLGIF.js} +2 -2
  15. package/dist/bundle/{chunk-IJ34FAES.js → chunk-4XVTVA5Z.js} +11 -11
  16. package/dist/bundle/{chunk-QKQ7A4L7.js → chunk-6PO6LLZN.js} +43 -43
  17. package/dist/bundle/{chunk-WRZ7JDA2.js → chunk-7ABYQEQY.js} +5 -5
  18. package/dist/bundle/{chunk-TPFWNOPG.js → chunk-7HXD23I5.js} +4 -4
  19. package/dist/bundle/{chunk-7ISENDNK.js → chunk-7PP2OPRA.js} +10 -10
  20. package/dist/bundle/{chunk-PWA3RNXN.js → chunk-ALCQJ2D6.js} +256 -256
  21. package/dist/bundle/{chunk-MQAHMAJB.js → chunk-AQXN7AWH.js} +1 -1
  22. package/dist/bundle/{chunk-GOEHJK2R.js → chunk-AVYITNNS.js} +4 -4
  23. package/dist/bundle/{chunk-YFBKS5BW.js → chunk-D7UEU66D.js} +2 -2
  24. package/dist/bundle/{chunk-OYB3FUYQ.js → chunk-FTT5JNPN.js} +1 -1
  25. package/dist/bundle/{chunk-KMZRXGTF.js → chunk-FVBTAXCS.js} +1 -1
  26. package/dist/bundle/{chunk-DUHXWFCB.js → chunk-GZ2HIVBB.js} +4 -4
  27. package/dist/bundle/{chunk-VL3YCTZD.js → chunk-INCTLKHJ.js} +6 -6
  28. package/dist/bundle/{chunk-BO4FN4UB.js → chunk-IVYNJMBN.js} +2 -2
  29. package/dist/bundle/{chunk-CW3NJ764.js → chunk-JLYGDM36.js} +4 -4
  30. package/dist/bundle/{chunk-3ZJE5TIG.js → chunk-JQTPWAJM.js} +1 -1
  31. package/dist/bundle/{chunk-ARDUJR5Z.js → chunk-JRQUM4HZ.js} +1 -1
  32. package/dist/bundle/{chunk-4ENVJFRM.js → chunk-K2ZWI2KJ.js} +27 -27
  33. package/dist/bundle/{chunk-254TXVLA.js → chunk-KDIDLXLG.js} +1 -1
  34. package/dist/bundle/{chunk-7LMTWOTP.js → chunk-L57US5PR.js} +1 -1
  35. package/dist/bundle/{chunk-A4NZ2XOG.js → chunk-LAWSSPON.js} +7 -7
  36. package/dist/bundle/{chunk-CRC3AW6N.js → chunk-NA3MERUP.js} +2 -2
  37. package/dist/bundle/{chunk-2ND2XYME.js → chunk-NANQLIUH.js} +24 -16
  38. package/dist/bundle/{chunk-NH2JSH24.js → chunk-NBHAXVJA.js} +4 -4
  39. package/dist/bundle/{chunk-HN3EDDVX.js → chunk-NKS7MU3Z.js} +12 -12
  40. package/dist/bundle/{chunk-FHY664YS.js → chunk-OGWZPUAJ.js} +3 -3
  41. package/dist/bundle/{chunk-A6PITALJ.js → chunk-OQA75YT2.js} +1 -1
  42. package/dist/bundle/{chunk-UZXCBBDC.js → chunk-PNMBUOAD.js} +9 -9
  43. package/dist/bundle/{chunk-5FPQGUJA.js → chunk-QALA4JZO.js} +1 -1
  44. package/dist/bundle/{chunk-HVVBSM2C.js → chunk-QDXZCKBH.js} +245 -245
  45. package/dist/bundle/{chunk-6TJCRDNZ.js → chunk-QTKL3E4W.js} +3 -3
  46. package/dist/bundle/{chunk-BELLQAWL.js → chunk-RCGI5XSZ.js} +7 -7
  47. package/dist/bundle/{chunk-DKKWZMR7.js → chunk-RO44PMBO.js} +1 -1
  48. package/dist/bundle/{chunk-SY7M2DLJ.js → chunk-RXRKPXFI.js} +8 -8
  49. package/dist/bundle/{chunk-3CVDHJER.js → chunk-SASHDBYJ.js} +1 -1
  50. package/dist/bundle/{chunk-AGMYCYSG.js → chunk-T3T4LL6R.js} +150 -150
  51. package/dist/bundle/{chunk-LJZFMXDC.js → chunk-T5FFN7L2.js} +20 -20
  52. package/dist/bundle/{chunk-S3RBWUUA.js → chunk-UM5T2ENH.js} +5 -5
  53. package/dist/bundle/{chunk-XKGXVVYV.js → chunk-VTNQI5LA.js} +4 -4
  54. package/dist/bundle/{chunk-ZR3BPBS6.js → chunk-VUEIWP2Z.js} +7 -7
  55. package/dist/bundle/{chunk-QFW4MJIH.js → chunk-WQ7A4VOG.js} +51 -51
  56. package/dist/bundle/{chunk-NAM2Y63Z.js → chunk-WYUAAPPV.js} +2 -2
  57. package/dist/bundle/{chunk-M6O4DH5F.js → chunk-X3JNTSNP.js} +1 -1
  58. package/dist/bundle/{chunk-J57DDKF4.js → chunk-XA3WEWYH.js} +1 -1
  59. package/dist/bundle/{chunk-GPYGMETC.js → chunk-XPVDHJTX.js} +445 -300
  60. package/dist/bundle/{chunk-CUWI6JIX.js → chunk-YEO3ZQ5M.js} +5 -5
  61. package/dist/bundle/{chunk-TKVRZZE3.js → chunk-YMER5NPZ.js} +1 -1
  62. package/dist/bundle/{chunk-M4QN77GH.js → chunk-Z3GKXASH.js} +3 -3
  63. package/dist/bundle/{chunk-6PRRZC7Z.js → chunk-ZAEDCOUL.js} +1 -1
  64. package/dist/bundle/{chunk-LMN7SYX4.js → chunk-ZQKHD3GK.js} +1 -1
  65. package/dist/bundle/{command-contract-RQMIQKBS.js → command-contract-YC6GN4LE.js} +11 -11
  66. package/dist/bundle/{decode-7VB3CHK2.js → decode-JK4V5ELR.js} +2 -2
  67. package/dist/bundle/{echarts-45D6USAX.js → echarts-6ATB3IFR.js} +2 -2
  68. package/dist/bundle/{embed-KU2RGB24.js → embed-ILN7JTHX.js} +3 -3
  69. package/dist/bundle/{embedder-E7YZDZ5Y.js → embedder-AJTL34NF.js} +6 -6
  70. package/dist/bundle/{entry-N42HJMIN.js → entry-L4LM4I5G.js} +4 -4
  71. package/dist/bundle/failure-D2CAKLEH.js +66 -0
  72. package/dist/bundle/{first-run-Y5YNAAO3.js → first-run-TRHR3KN2.js} +5 -5
  73. package/dist/bundle/{first-screen-SNPGBQFZ.js → first-screen-NMXBV2SG.js} +12 -12
  74. package/dist/bundle/{instructions-6EFSPC7C.js → instructions-UMFMBSXN.js} +1 -1
  75. package/dist/bundle/{mcp-6Z7UKX7E.js → mcp-I6LDWXA6.js} +35 -35
  76. package/dist/bundle/memo.js +6 -6
  77. package/dist/bundle/{node-OXC26QXO.js → node-MFZOUE2C.js} +2 -2
  78. package/dist/bundle/{node-sqlite-FNTICDEN.js → node-sqlite-DRRK6O26.js} +3 -3
  79. package/dist/bundle/{oauth-4JFOFCBB.js → oauth-FZNU6S32.js} +4 -4
  80. package/dist/bundle/{open-WXFCCY7S.js → open-GZGUXW5N.js} +2 -2
  81. package/dist/bundle/{openai-TPQKQNM7.js → openai-KGGTVDRL.js} +7 -7
  82. package/dist/bundle/{process-YWPAOI6G.js → process-VDZ2QZQD.js} +1 -1
  83. package/dist/bundle/{program-WFUPN7XO.js → program-VEY6JNB2.js} +77 -77
  84. package/dist/bundle/{prompt-HJUH4EP4.js → prompt-TQ6WRJWG.js} +2 -2
  85. package/dist/bundle/{recognize-DAIRHALM.js → recognize-ZVSPBMV2.js} +1 -1
  86. package/dist/bundle/{remote-MJLWTLAX.js → remote-XYRV66J3.js} +4 -4
  87. package/dist/bundle/{rerank-VAK5HSJE.js → rerank-C3OK7FEJ.js} +4 -4
  88. package/dist/bundle/{serve-M2A66WOW.js → serve-DUV2FO4T.js} +6 -6
  89. package/dist/bundle/server-5NDIMIA5.js +48 -0
  90. package/dist/bundle/{server-NN2CBVSX.js → server-E5YAVN5F.js} +50 -50
  91. package/dist/bundle/server-VZ7LFLS6.js +61 -0
  92. package/dist/bundle/{state-6TBUXJOX.js → state-NLAZ7OYD.js} +3 -3
  93. package/dist/bundle/{store-TJCL3QBY.js → store-Y4BME65D.js} +9 -9
  94. package/dist/bundle/store-maintenance-command-BOITCFBL.js +48 -0
  95. package/dist/bundle/update-ZUYIFRFD.js +69 -0
  96. package/dist/version.d.ts +1 -1
  97. package/dist/version.js +1 -1
  98. package/package.json +2 -2
  99. package/dist/bundle/auto-3R4RFJGK.js +0 -86
  100. package/dist/bundle/failure-R355OCVE.js +0 -66
  101. package/dist/bundle/server-33FB7QXW.js +0 -48
  102. package/dist/bundle/server-AIPDQO57.js +0 -61
  103. package/dist/bundle/store-maintenance-command-NKJV5A3G.js +0 -48
  104. package/dist/bundle/update-OXR3SNM2.js +0 -69
  105. /package/dist/bundle/{chunk-DF7NE4ZG.js → chunk-DDUSDQJ6.js} +0 -0
@@ -4,10 +4,10 @@ import {
4
4
  readSharedSection,
5
5
  sharedConfigPath,
6
6
  writeSharedSection
7
- } from "./chunk-NH2JSH24.js";
7
+ } from "./chunk-NBHAXVJA.js";
8
8
  import {
9
9
  storePath
10
- } from "./chunk-MQAHMAJB.js";
10
+ } from "./chunk-AQXN7AWH.js";
11
11
  import {
12
12
  CliError
13
13
  } from "./chunk-EB2IULWB.js";
@@ -15,7 +15,7 @@ import {
15
15
  __name
16
16
  } from "./chunk-ZVVMGPBJ.js";
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
19
19
  var PERMISSION_ANSWERS = ["readonly", "allow"];
20
20
  var QUESTIONS = ["languages", "tools", "permissions"];
21
21
  var SECTION = "setup";
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  secretNamed,
5
5
  withoutSecrets
6
- } from "./chunk-J57DDKF4.js";
6
+ } from "./chunk-XA3WEWYH.js";
7
7
  import {
8
8
  isContentKey
9
9
  } from "./chunk-TZ7WDQPD.js";
@@ -14,18 +14,18 @@ import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/runs/run-context.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/runs/run-context.js
18
18
  import { AsyncLocalStorage } from "node:async_hooks";
19
19
  import { createHash } from "node:crypto";
20
20
 
21
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
22
22
  import { homedir } from "node:os";
23
23
 
24
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/errors/failures.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/errors/failures.js
25
25
  var isCliFailure = /* @__PURE__ */ __name((value) => value instanceof Error && value.name === "CliError" && errorCodes.includes(value.code), "isCliFailure");
26
26
  var failureKey = /* @__PURE__ */ __name((error) => isCliFailure(error) ? error.code : error instanceof Error ? error.name : "error", "failureKey");
27
27
 
28
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/runs/events.js
28
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/runs/events.js
29
29
  var providerErrorKey = /* @__PURE__ */ __name((value) => typeof value === "string" && /^[A-Za-z][A-Za-z0-9._-]{0,63}$/.test(value) ? value : void 0, "providerErrorKey");
30
30
  var renderEvent = /* @__PURE__ */ __name((event) => {
31
31
  if (event.event === "warning") {
@@ -73,7 +73,7 @@ var MARK = { request: "\u2192", response: "\u2190", cache: "\u2022", warning: "!
73
73
  var age = /* @__PURE__ */ __name((ms) => ms < 1e3 ? `${ms}ms` : `${Math.round(ms / 1e3)}s`, "age");
74
74
  var size = /* @__PURE__ */ __name((bytes) => bytes < 1e3 ? `${bytes} B` : `${(bytes / 1e3).toFixed(1)} kB`, "size");
75
75
 
76
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
76
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
77
77
  var MESSAGE_AT_MOST = 500;
78
78
  var CAUSES_AT_MOST = 5;
79
79
  var FRAMES_AT_MOST = 15;
@@ -182,7 +182,7 @@ var redactText = /* @__PURE__ */ __name((text) => {
182
182
  return out.length > MESSAGE_AT_MOST ? `${out.slice(0, MESSAGE_AT_MOST)}\u2026` : out;
183
183
  }, "redactText");
184
184
 
185
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/runs/run-context.js
185
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/runs/run-context.js
186
186
  var REDACTED = "[redacted]";
187
187
  var keepsSuccess = /* @__PURE__ */ __name(({ record, fromFlag, env, caller, persistent = false }) => {
188
188
  if (!record)
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
11
11
  var MAX_BUFFERED_INPUT = 16 * 1024 * 1024;
12
12
  var MAX_SECRET_INPUT = 64 * 1024;
13
13
  var policies = /* @__PURE__ */ new WeakMap();
@@ -2,21 +2,21 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  botInstructions
5
- } from "./chunk-M6O4DH5F.js";
5
+ } from "./chunk-X3JNTSNP.js";
6
6
  import {
7
7
  answered,
8
8
  normal,
9
9
  registerCommands,
10
10
  runCommandForAgent,
11
11
  toolsFromCommands
12
- } from "./chunk-IJ34FAES.js";
12
+ } from "./chunk-4XVTVA5Z.js";
13
13
  import {
14
14
  agentJson,
15
15
  skillResource
16
- } from "./chunk-2ND2XYME.js";
16
+ } from "./chunk-NANQLIUH.js";
17
17
  import {
18
18
  callerOf
19
- } from "./chunk-KFDPW2AR.js";
19
+ } from "./chunk-4PTLLGIF.js";
20
20
  import {
21
21
  serveStdio
22
22
  } from "./chunk-MM5NVP7F.js";
@@ -25,17 +25,17 @@ import {
25
25
  } from "./chunk-H3ZN4YLB.js";
26
26
  import {
27
27
  wholeList
28
- } from "./chunk-PWA3RNXN.js";
28
+ } from "./chunk-ALCQJ2D6.js";
29
29
  import {
30
30
  changesMessenger,
31
31
  flatten,
32
32
  itemOf
33
- } from "./chunk-AGMYCYSG.js";
33
+ } from "./chunk-T3T4LL6R.js";
34
34
  import {
35
35
  MESSENGER_CHANGE_REFUSAL,
36
36
  readOnlyLockOf,
37
37
  readOnlyRefusal
38
- } from "./chunk-A6PITALJ.js";
38
+ } from "./chunk-OQA75YT2.js";
39
39
  import {
40
40
  mcpErrorResult,
41
41
  object
@@ -44,7 +44,7 @@ import {
44
44
  __name
45
45
  } from "./chunk-ZVVMGPBJ.js";
46
46
 
47
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/bot/server.js
47
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/mcp/bot/server.js
48
48
  import { randomUUID } from "node:crypto";
49
49
  var body = /* @__PURE__ */ __name((command, value) => Array.isArray(value) ? wholeList(`bot ${command}`, value) : value !== null && typeof value === "object" && ("item" in value || "items" in value) ? value : itemOf(value !== null && typeof value === "object" ? value : { value }), "body");
50
50
  var createBotServer = /* @__PURE__ */ __name((options) => {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/background/processes.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/background/processes.js
8
8
  import { execFileSync } from "node:child_process";
9
9
  import { readdirSync, readFileSync, readlinkSync } from "node:fs";
10
10
  var alive = /* @__PURE__ */ __name((pid) => {