@wirecat/cli-memo 0.131.47 → 0.131.49

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 (163) hide show
  1. package/README.md +1 -1
  2. package/dist/bin/memo.js +2 -2
  3. package/dist/bundle/{all-profiles-75EGCXK3.js → all-profiles-3HADTQZA.js} +9 -9
  4. package/dist/bundle/{anthropic-PTAYBCPR.js → anthropic-RI4DWC3G.js} +6 -6
  5. package/dist/bundle/{app-server-YSUBXGGB.js → app-server-6EKWAYJI.js} +42 -42
  6. package/dist/bundle/auto-NKUBNWLS.js +86 -0
  7. package/dist/bundle/{bun-3AIG5ML4.js → bun-HUHQD76Z.js} +2 -2
  8. package/dist/bundle/{bun-sqlite-5FCGI6EO.js → bun-sqlite-RPSKGB4O.js} +5 -5
  9. package/dist/bundle/{chunk-3HPFTKDH.js → chunk-2HPYP3ZT.js} +4 -4
  10. package/dist/bundle/{chunk-KLBZJZD2.js → chunk-2OIGV355.js} +216 -143
  11. package/dist/bundle/{chunk-R44PUK7G.js → chunk-355PHJYX.js} +1 -1
  12. package/dist/bundle/{chunk-F4HMPMET.js → chunk-3BG5VYMV.js} +10 -10
  13. package/dist/bundle/{chunk-5N6HWFXN.js → chunk-4VQPPX47.js} +350 -295
  14. package/dist/bundle/{chunk-PGVADNDD.js → chunk-57LMWEDK.js} +3 -3
  15. package/dist/bundle/{chunk-ELKK5M66.js → chunk-5JVA43HX.js} +6 -6
  16. package/dist/bundle/{chunk-U35N3EC7.js → chunk-5RVL7GYA.js} +2 -2
  17. package/dist/bundle/{chunk-BNIWLVWG.js → chunk-6N6BVPVX.js} +18 -4
  18. package/dist/bundle/{chunk-JY34MQW4.js → chunk-7RNHFNHX.js} +4 -4
  19. package/dist/bundle/{chunk-HCZV537M.js → chunk-AKD62EUH.js} +2 -2
  20. package/dist/bundle/{chunk-RZ54DSVU.js → chunk-BXTDAGM4.js} +2 -2
  21. package/dist/bundle/{chunk-V3B5COFP.js → chunk-BYVASZVV.js} +5 -5
  22. package/dist/bundle/{chunk-DS4DOK75.js → chunk-D5KGXYG6.js} +33 -25
  23. package/dist/bundle/{chunk-4LWX2WOB.js → chunk-DJRBSOWH.js} +4 -4
  24. package/dist/bundle/{chunk-W2JVP7GK.js → chunk-DVA6MQWK.js} +1 -1
  25. package/dist/bundle/{chunk-SN63VOE6.js → chunk-EBNNONF5.js} +8 -8
  26. package/dist/bundle/{chunk-XRRPQCTS.js → chunk-EJDV5IIF.js} +1 -1
  27. package/dist/bundle/{chunk-ZKH6LC5P.js → chunk-FOM7WE2C.js} +9 -9
  28. package/dist/bundle/{chunk-GA3KFYEZ.js → chunk-GAKZOX2S.js} +20 -11
  29. package/dist/bundle/{chunk-IPMBB6W5.js → chunk-GIDZGGAD.js} +4 -4
  30. package/dist/bundle/{chunk-6TKWJKPS.js → chunk-GV6XJMUW.js} +12 -12
  31. package/dist/bundle/{chunk-EFQCDCLY.js → chunk-HCMXUHHF.js} +99 -74
  32. package/dist/bundle/{chunk-U75ANK5K.js → chunk-HXOAPH47.js} +1 -1
  33. package/dist/bundle/{chunk-J324GKJM.js → chunk-IXXBPSXO.js} +2 -2
  34. package/dist/bundle/{chunk-UFVGAFID.js → chunk-KVOHC4ZM.js} +22 -14
  35. package/dist/bundle/{chunk-N63KZFH4.js → chunk-LUPJB7ZD.js} +9 -9
  36. package/dist/bundle/{chunk-IPLPMD6H.js → chunk-LZWXGO3G.js} +2 -2
  37. package/dist/bundle/{chunk-6QNPOBR5.js → chunk-N6IHOYMT.js} +198 -81
  38. package/dist/bundle/{chunk-32QM6X5H.js → chunk-ND6D4A6H.js} +3 -3
  39. package/dist/bundle/{chunk-MCMEBL3C.js → chunk-NJDGZRF5.js} +31 -15
  40. package/dist/bundle/{chunk-25RDNYKZ.js → chunk-NTQUBSIJ.js} +6 -6
  41. package/dist/bundle/{chunk-I2RDACUF.js → chunk-O3KOW7RG.js} +8 -8
  42. package/dist/bundle/{chunk-2R2Z2VWL.js → chunk-O3ZOYXH3.js} +20 -20
  43. package/dist/bundle/{chunk-W3T45MMN.js → chunk-OQTBCPSG.js} +8 -8
  44. package/dist/bundle/{chunk-SYTYLLYO.js → chunk-OT23U5LT.js} +2 -2
  45. package/dist/bundle/{chunk-OSCRP52P.js → chunk-P2LMXIHL.js} +675 -400
  46. package/dist/bundle/{chunk-ZLIARJU4.js → chunk-P2TISY3R.js} +1 -1
  47. package/dist/bundle/{chunk-CID4MNRQ.js → chunk-P3ASN72F.js} +1 -1
  48. package/dist/bundle/{chunk-YMK35KVV.js → chunk-PEYCLVIO.js} +2 -2
  49. package/dist/bundle/{chunk-UE4GMPBY.js → chunk-PUTGTW6W.js} +1 -1
  50. package/dist/bundle/{chunk-G3YSCD77.js → chunk-PYRHU35W.js} +173 -156
  51. package/dist/bundle/{chunk-DDADFHR7.js → chunk-QCPUC3HW.js} +13 -13
  52. package/dist/bundle/{chunk-N5QQFDNV.js → chunk-QCRJNWJZ.js} +3 -3
  53. package/dist/bundle/{chunk-HVTW2M6T.js → chunk-QNM36ARO.js} +8 -2
  54. package/dist/bundle/{chunk-Y5CAKD4X.js → chunk-QOGYHU3Q.js} +4 -4
  55. package/dist/bundle/{chunk-MMJDQQFX.js → chunk-RKFKRCOH.js} +310 -279
  56. package/dist/bundle/{chunk-DMTLG2GD.js → chunk-RYMYE5PF.js} +8 -8
  57. package/dist/bundle/{chunk-MSBRZ5QD.js → chunk-S7F4ZDFU.js} +3 -3
  58. package/dist/bundle/{chunk-G4W42RGE.js → chunk-SSPSNSC5.js} +1 -1
  59. package/dist/bundle/{chunk-ILK5BCBB.js → chunk-TSUNLSIN.js} +2 -2
  60. package/dist/bundle/{chunk-6IVHND3S.js → chunk-UAR6UMFL.js} +5 -5
  61. package/dist/bundle/{chunk-HYEYRFWX.js → chunk-UDJTRFRV.js} +1 -1
  62. package/dist/bundle/{chunk-FSAMZHIM.js → chunk-UG4BO256.js} +6 -6
  63. package/dist/bundle/{chunk-LE7NROV6.js → chunk-UJLYVXP6.js} +34 -34
  64. package/dist/bundle/{chunk-EVZI54B5.js → chunk-V2DMJ6ES.js} +6 -6
  65. package/dist/bundle/{chunk-LER7G4XY.js → chunk-VW6BF6M7.js} +1 -1
  66. package/dist/bundle/{chunk-V6OYLCCM.js → chunk-W6JQNNJ5.js} +3 -3
  67. package/dist/bundle/{chunk-DWBTCOF2.js → chunk-WNW6VW27.js} +7 -7
  68. package/dist/bundle/{chunk-KWM7HLAI.js → chunk-XH6K2B5L.js} +4 -4
  69. package/dist/bundle/{chunk-GOFPCOEI.js → chunk-XXGBXCBQ.js} +11 -11
  70. package/dist/bundle/{chunk-GQLSVXS2.js → chunk-XZZFHQGM.js} +22 -22
  71. package/dist/bundle/{chunk-CODD5SXC.js → chunk-Y6VH7IRN.js} +29 -29
  72. package/dist/bundle/{chunk-Y4ZXDJQF.js → chunk-ZA7FKGB7.js} +2 -2
  73. package/dist/bundle/command-contract-MRLLZQ4M.js +32 -0
  74. package/dist/bundle/{decode-F2A2BLIA.js → decode-IYWZ3X7X.js} +5 -5
  75. package/dist/bundle/{dispatch-MLRETSNQ.js → dispatch-HCRXCPCF.js} +8 -8
  76. package/dist/bundle/{echarts-JL55HJCM.js → echarts-5LLJ6JXC.js} +2 -2
  77. package/dist/bundle/{embed-74KVORNN.js → embed-EGY2R4FN.js} +6 -6
  78. package/dist/bundle/{embedder-GACNPCZN.js → embedder-K2BGPWNX.js} +9 -9
  79. package/dist/bundle/{entry-7FI2H4RQ.js → entry-NMAZNDNU.js} +7 -7
  80. package/dist/bundle/{failure-UJBGB2GP.js → failure-G4DCTWFD.js} +2 -2
  81. package/dist/bundle/failure-SACX3WGX.js +66 -0
  82. package/dist/bundle/{first-run-D4VBIJ7H.js → first-run-QDCSWX3N.js} +11 -11
  83. package/dist/bundle/first-screen-YABO6OZ7.js +30 -0
  84. package/dist/bundle/{instructions-QNPIVGKX.js → instructions-P72XX4AK.js} +1 -1
  85. package/dist/bundle/{mcp-YMXA6IH6.js → mcp-M4QN2E7R.js} +2 -2
  86. package/dist/bundle/mcp-QRZ2HSON.js +90 -0
  87. package/dist/bundle/memo.js +16 -16
  88. package/dist/bundle/{node-SPFML2D5.js → node-ZB4RNICS.js} +2 -2
  89. package/dist/bundle/{node-sqlite-T3KILRCP.js → node-sqlite-7XJ4J4E5.js} +6 -6
  90. package/dist/bundle/{oauth-ZOGSHZF3.js → oauth-FMH3JIPT.js} +7 -7
  91. package/dist/bundle/{open-XXFVCGCA.js → open-PRCTOHHL.js} +5 -5
  92. package/dist/bundle/{openai-JRHZLFKD.js → openai-VW4W6SIO.js} +10 -10
  93. package/dist/bundle/{process-OGYYVVLG.js → process-XNN4WG6N.js} +1 -1
  94. package/dist/bundle/{program-EFCQACPD.js → program-OSHEAD76.js} +161 -89
  95. package/dist/bundle/{prompt-53D5WVD3.js → prompt-RT55UZGB.js} +5 -5
  96. package/dist/bundle/{recognize-7GYZKJCD.js → recognize-AQ2UXUC2.js} +4 -4
  97. package/dist/bundle/{remote-V5GUFZCG.js → remote-T3P5OWRR.js} +7 -7
  98. package/dist/bundle/{rerank-FUNVBYFI.js → rerank-743T3675.js} +7 -7
  99. package/dist/bundle/{serve-ZLUYFAXC.js → serve-BSKOU4FJ.js} +9 -9
  100. package/dist/bundle/{server-HJRMD3XD.js → server-7GH6JLM3.js} +57 -57
  101. package/dist/bundle/server-VMWVYGK7.js +48 -0
  102. package/dist/bundle/server-ZFHSK6TT.js +61 -0
  103. package/dist/bundle/{state-4P7H6KBM.js → state-MDMI3I2Z.js} +6 -6
  104. package/dist/bundle/{store-NILJK24C.js → store-I3DIZALN.js} +13 -13
  105. package/dist/bundle/store-maintenance-command-HZPQPOK7.js +48 -0
  106. package/dist/bundle/update-Y3UQ5DQJ.js +69 -0
  107. package/dist/doctor/command.d.ts +2 -0
  108. package/dist/doctor/command.d.ts.map +1 -1
  109. package/dist/examples.d.ts.map +1 -1
  110. package/dist/examples.js +1 -0
  111. package/dist/examples.js.map +1 -1
  112. package/dist/memories/memory.d.ts.map +1 -1
  113. package/dist/memories/memory.js +3 -1
  114. package/dist/memories/memory.js.map +1 -1
  115. package/dist/notes/folders-command.d.ts.map +1 -1
  116. package/dist/notes/folders-command.js +51 -1
  117. package/dist/notes/folders-command.js.map +1 -1
  118. package/dist/notes/folders.d.ts +1 -0
  119. package/dist/notes/folders.d.ts.map +1 -1
  120. package/dist/notes/folders.js +1 -0
  121. package/dist/notes/folders.js.map +1 -1
  122. package/dist/notes/import.d.ts +3 -1
  123. package/dist/notes/import.d.ts.map +1 -1
  124. package/dist/notes/import.js +8 -3
  125. package/dist/notes/import.js.map +1 -1
  126. package/dist/notes/state.d.ts +2 -0
  127. package/dist/notes/state.d.ts.map +1 -1
  128. package/dist/notes/state.js +3 -1
  129. package/dist/notes/state.js.map +1 -1
  130. package/dist/progress.d.ts +12 -0
  131. package/dist/progress.d.ts.map +1 -0
  132. package/dist/progress.js +19 -0
  133. package/dist/progress.js.map +1 -0
  134. package/dist/reasons.d.ts.map +1 -1
  135. package/dist/reasons.js +6 -0
  136. package/dist/reasons.js.map +1 -1
  137. package/dist/run/auto.d.ts +3 -0
  138. package/dist/run/auto.d.ts.map +1 -1
  139. package/dist/run/auto.js +16 -4
  140. package/dist/run/auto.js.map +1 -1
  141. package/dist/run/import.d.ts.map +1 -1
  142. package/dist/run/import.js +7 -1
  143. package/dist/run/import.js.map +1 -1
  144. package/dist/search/answers.d.ts.map +1 -1
  145. package/dist/search/answers.js +7 -2
  146. package/dist/search/answers.js.map +1 -1
  147. package/dist/search/search.d.ts.map +1 -1
  148. package/dist/search/search.js +4 -3
  149. package/dist/search/search.js.map +1 -1
  150. package/dist/version.d.ts +1 -1
  151. package/dist/version.js +1 -1
  152. package/package.json +4 -4
  153. package/dist/bundle/auto-GB35FRTV.js +0 -86
  154. package/dist/bundle/command-contract-YYILWWYQ.js +0 -32
  155. package/dist/bundle/failure-AHPPXHAW.js +0 -66
  156. package/dist/bundle/first-screen-D7Q2U7VP.js +0 -30
  157. package/dist/bundle/mcp-AFXHH33V.js +0 -90
  158. package/dist/bundle/server-4OJC7ZWM.js +0 -61
  159. package/dist/bundle/server-CGUUZBLB.js +0 -48
  160. package/dist/bundle/store-maintenance-command-VP7CIBSS.js +0 -48
  161. package/dist/bundle/update-NPK4DT2E.js +0 -69
  162. /package/dist/bundle/{chunk-AT5Y62SD.js → chunk-CDFNOKPG.js} +0 -0
  163. /package/dist/bundle/{chunk-JPGEFBRW.js → chunk-VOXIGICJ.js} +0 -0
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
8
8
  var botInstructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => [
9
9
  `The owner's ${name} bot "${profile}", through the official Bot API \u2014 not the owner's personal account. What it writes, people see as the bot.`,
10
10
  "Use these tools to read the chats this bot is in, find a message or a person, and \u2014 when the profile allows \u2014 write as the bot.",
@@ -3,32 +3,32 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  SAMPLE_RATE,
5
5
  toModelRate
6
- } from "./chunk-BNIWLVWG.js";
6
+ } from "./chunk-6N6BVPVX.js";
7
7
  import {
8
8
  OPENAI_URL
9
- } from "./chunk-N5QQFDNV.js";
9
+ } from "./chunk-QCRJNWJZ.js";
10
10
  import {
11
11
  OPENAI_TRANSCRIBE_MODEL,
12
12
  VAD,
13
13
  filesPresent,
14
14
  modelsDirectory,
15
15
  vadPath
16
- } from "./chunk-UFVGAFID.js";
16
+ } from "./chunk-KVOHC4ZM.js";
17
17
  import {
18
18
  DEFAULT_RETRY,
19
19
  backoffMs
20
- } from "./chunk-2R2Z2VWL.js";
20
+ } from "./chunk-O3ZOYXH3.js";
21
21
  import {
22
22
  CliError
23
- } from "./chunk-RZ54DSVU.js";
23
+ } from "./chunk-BXTDAGM4.js";
24
24
  import {
25
25
  __name
26
26
  } from "./chunk-ZVVMGPBJ.js";
27
27
 
28
- // node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/speech/openai.js
28
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/speech/openai.js
29
29
  import { setTimeout as wait } from "node:timers/promises";
30
30
 
31
- // node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/index.js
31
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/index.js
32
32
  var parseRetryAfter = /* @__PURE__ */ __name((header, now) => {
33
33
  if (!header)
34
34
  return void 0;
@@ -52,7 +52,7 @@ var parseRateLimitReset = /* @__PURE__ */ __name((header, now) => {
52
52
  }, "parseRateLimitReset");
53
53
  var providerWaitMs = /* @__PURE__ */ __name((headers, now) => parseRetryAfter(headers.get("retry-after"), now) ?? parseRateLimitReset(headers.get("x-ratelimit-reset"), now), "providerWaitMs");
54
54
 
55
- // node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/speech/wav.js
55
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/speech/wav.js
56
56
  var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
57
57
  const bytes = Buffer.alloc(44 + samples.length * 2);
58
58
  bytes.write("RIFF", 0, "ascii");
@@ -73,7 +73,7 @@ var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
73
73
  return new Uint8Array(bytes.buffer, bytes.byteOffset, bytes.length);
74
74
  }, "encodeWav");
75
75
 
76
- // node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/speech/openai.js
76
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/speech/openai.js
77
77
  var LONGEST_REQUEST_SECONDS = 600;
78
78
  var JOINED_SECONDS = 0.2;
79
79
  var PAD_SECONDS = 0.2;
@@ -195,7 +195,7 @@ var piecesOf = /* @__PURE__ */ __name((spans, limit) => {
195
195
  return pieces;
196
196
  }, "piecesOf");
197
197
  var openCutter = /* @__PURE__ */ __name(async (vadModel) => {
198
- const { openSpeechCutter } = await import("./recognize-7GYZKJCD.js");
198
+ const { openSpeechCutter } = await import("./recognize-AQ2UXUC2.js");
199
199
  return openSpeechCutter(vadModel);
200
200
  }, "openCutter");
201
201
  var checkKeywords = /* @__PURE__ */ __name((keywords = []) => {