@wirecat/cli-memo 0.131.20 → 0.131.21

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 (179) hide show
  1. package/README.md +2 -3
  2. package/dist/actions/command.d.ts +1 -1
  3. package/dist/actions/command.d.ts.map +1 -1
  4. package/dist/actions/command.js +12 -1
  5. package/dist/actions/command.js.map +1 -1
  6. package/dist/bin/memo.js +2 -2
  7. package/dist/bin/memo.js.map +1 -1
  8. package/dist/bundle/{all-profiles-MVF2XGZK.js → all-profiles-EZLU6CY7.js} +9 -7
  9. package/dist/bundle/{anthropic-OPFHMF2S.js → anthropic-XC34PJH5.js} +6 -4
  10. package/dist/bundle/{app-server-VHVC55S3.js → app-server-26YPLJ7M.js} +53 -48
  11. package/dist/bundle/auto-QHTPHGNA.js +86 -0
  12. package/dist/bundle/{bun-P6TMDZGU.js → bun-CKGKUKW5.js} +2 -2
  13. package/dist/bundle/{bun-sqlite-3G3NLK4O.js → bun-sqlite-S6KUSMTC.js} +5 -3
  14. package/dist/bundle/{chunk-XZWUBDBG.js → chunk-2NJUPIAO.js} +1 -1
  15. package/dist/bundle/{chunk-RFB5LOYR.js → chunk-2TBIVKBH.js} +8 -6
  16. package/dist/bundle/{chunk-3DVKC2XM.js → chunk-3V4WIGWC.js} +8 -19
  17. package/dist/bundle/{chunk-BMHSGZNE.js → chunk-5RBLNI6C.js} +4 -4
  18. package/dist/bundle/{chunk-LKYHSVQL.js → chunk-7F6FGMCC.js} +8 -8
  19. package/dist/bundle/{chunk-FMSA2X3E.js → chunk-7MLWSUEK.js} +1 -1
  20. package/dist/bundle/{chunk-3BMUVKC7.js → chunk-7NEWBM2O.js} +13 -9
  21. package/dist/bundle/{chunk-SO6VNTF6.js → chunk-AIIQ7YU4.js} +1 -1
  22. package/dist/bundle/{chunk-G7TF4E7B.js → chunk-B3YV6Z7Y.js} +8 -2
  23. package/dist/bundle/{chunk-IW3U6XXI.js → chunk-BB2MGFOZ.js} +6 -6
  24. package/dist/bundle/chunk-CCHHEMPM.js +71 -0
  25. package/dist/bundle/{chunk-6DG7VK3H.js → chunk-CCOYC6HL.js} +5 -5
  26. package/dist/bundle/{chunk-MXP4J6BJ.js → chunk-CDZZ2DZO.js} +70 -2517
  27. package/dist/bundle/{chunk-VUWUSGSN.js → chunk-CP5N3KH3.js} +4 -4
  28. package/dist/bundle/{chunk-NKTAEBCU.js → chunk-CRZSJHAK.js} +13 -9
  29. package/dist/bundle/{chunk-LPUFOWL3.js → chunk-D72URWJE.js} +1 -39
  30. package/dist/bundle/{chunk-BINR6MJ5.js → chunk-DNGHE2Q4.js} +1 -1
  31. package/dist/bundle/{chunk-KVVDRD7M.js → chunk-DZSWKA3K.js} +2 -2
  32. package/dist/bundle/{chunk-63XICXGM.js → chunk-E5FQ7U7L.js} +5 -3
  33. package/dist/bundle/{chunk-BPYQYZXA.js → chunk-EAYYWS67.js} +14 -12
  34. package/dist/bundle/chunk-EG2OMKWH.js +2423 -0
  35. package/dist/bundle/chunk-EW3XTUPB.js +166 -0
  36. package/dist/bundle/{chunk-KIEBEYKH.js → chunk-FFWK5NEZ.js} +10 -8
  37. package/dist/bundle/{chunk-3ORDQ62F.js → chunk-GV2FSWFS.js} +10 -8
  38. package/dist/bundle/chunk-ILHTNOIV.js +23 -0
  39. package/dist/bundle/{chunk-VQGVPDMH.js → chunk-INURBEAO.js} +20 -16
  40. package/dist/bundle/{chunk-OVFMY6ZP.js → chunk-IRDGD3QQ.js} +1 -1
  41. package/dist/bundle/{chunk-D6G23NFJ.js → chunk-J4GC33JU.js} +2 -2
  42. package/dist/bundle/{chunk-XWS4PTES.js → chunk-J55Z6EJ3.js} +363 -278
  43. package/dist/bundle/{chunk-TQNQS6TR.js → chunk-JJ3C5AYK.js} +64 -60
  44. package/dist/bundle/{chunk-LQJ4KHXK.js → chunk-JXH22ZGA.js} +15 -15
  45. package/dist/bundle/{chunk-5KUPVC5M.js → chunk-KUNA6MQZ.js} +2 -2
  46. package/dist/bundle/{chunk-LDVU22MF.js → chunk-LGNS4JVK.js} +8 -8
  47. package/dist/bundle/{chunk-57Q6NXQT.js → chunk-LR5EY5JY.js} +4 -4
  48. package/dist/bundle/{chunk-ZYM4M62Q.js → chunk-MCPDL5YU.js} +4 -4
  49. package/dist/bundle/{chunk-V7DZG62U.js → chunk-MHDLZCEO.js} +11 -9
  50. package/dist/bundle/{chunk-SHDZVM3B.js → chunk-NELE7AIX.js} +2 -2
  51. package/dist/bundle/{chunk-WRPRPVZF.js → chunk-NOG5O2NS.js} +44 -42
  52. package/dist/bundle/{chunk-FRB4UXJG.js → chunk-NWB5NAGB.js} +6 -6
  53. package/dist/bundle/{chunk-UC4IL2P7.js → chunk-OJRLTJRS.js} +1 -1
  54. package/dist/bundle/{chunk-OTHEM74Z.js → chunk-OUF6RCRZ.js} +6 -6
  55. package/dist/bundle/{chunk-JDJDNMCP.js → chunk-PF3ALSAV.js} +1 -1
  56. package/dist/bundle/{chunk-GJKM32WA.js → chunk-PO5C7VNC.js} +24 -22
  57. package/dist/bundle/chunk-PQLBPYJR.js +46 -0
  58. package/dist/bundle/{chunk-66YZUX2C.js → chunk-QMMUPDRK.js} +10 -10
  59. package/dist/bundle/{chunk-2MNEM2CH.js → chunk-R26CXR5Z.js} +9 -7
  60. package/dist/bundle/{chunk-F5CQ2NVA.js → chunk-RC7TIYUZ.js} +11 -9
  61. package/dist/bundle/{chunk-P22V2OLJ.js → chunk-RG6ITTLQ.js} +22 -16
  62. package/dist/bundle/{chunk-T557KUST.js → chunk-RHJC4PHV.js} +3 -3
  63. package/dist/bundle/{chunk-Z54GPSVH.js → chunk-RNXYDBQO.js} +186 -162
  64. package/dist/bundle/{chunk-YVECM7XA.js → chunk-SMDWUPXE.js} +4 -4
  65. package/dist/bundle/{chunk-KO455254.js → chunk-SXGAIQ5X.js} +13 -13
  66. package/dist/bundle/{chunk-EMKFG5BP.js → chunk-THGFFQCK.js} +3 -3
  67. package/dist/bundle/{chunk-2R25UBIH.js → chunk-TMNHNZVA.js} +26 -24
  68. package/dist/bundle/{chunk-WOIRWVDJ.js → chunk-UXCSNSUU.js} +563 -351
  69. package/dist/bundle/{chunk-EFKEG2BA.js → chunk-VECICKTE.js} +5 -5
  70. package/dist/bundle/{chunk-4MIPN37I.js → chunk-VQM3H422.js} +266 -176
  71. package/dist/bundle/chunk-VXHN3SWW.js +35 -0
  72. package/dist/bundle/{chunk-EL4ZKQUN.js → chunk-WEOFWTWZ.js} +6 -4
  73. package/dist/bundle/{chunk-LEUNYKL6.js → chunk-WUCQ56RP.js} +3 -3
  74. package/dist/bundle/{chunk-SJLVBJ2L.js → chunk-XA6YO24S.js} +2 -2
  75. package/dist/bundle/{chunk-36ULPM2W.js → chunk-XPRYBLTS.js} +6 -6
  76. package/dist/bundle/{chunk-2KOVYXWK.js → chunk-YAUDFROV.js} +1243 -743
  77. package/dist/bundle/{chunk-4G46QFK5.js → chunk-YUFUUQUO.js} +7 -5
  78. package/dist/bundle/{chunk-JHKTN6NL.js → chunk-ZCKU6WMX.js} +13 -11
  79. package/dist/bundle/{chunk-5XDYV2YT.js → chunk-ZD3STMY7.js} +1 -1
  80. package/dist/bundle/command-contract-TMVGYSQQ.js +32 -0
  81. package/dist/bundle/{decode-BUTF6VGO.js → decode-6XSZIZAA.js} +5 -3
  82. package/dist/bundle/dispatch-VUMQPYMA.js +411 -0
  83. package/dist/bundle/{echarts-KH3YOWMK.js → echarts-NGS4QG4E.js} +2 -2
  84. package/dist/bundle/{embed-WBVM7KQ2.js → embed-YNH5M6UL.js} +6 -4
  85. package/dist/bundle/{embedder-27HQIFHM.js → embedder-LLNK4JF4.js} +11 -9
  86. package/dist/bundle/{entry-K2WWMF2B.js → entry-DO6ZBFIS.js} +7 -5
  87. package/dist/bundle/failure-LHMJNFY6.js +66 -0
  88. package/dist/bundle/failure-Z2FXWIBY.js +24 -0
  89. package/dist/bundle/first-run-BXFQN6M5.js +27 -0
  90. package/dist/bundle/first-screen-56KZKY77.js +30 -0
  91. package/dist/bundle/{instructions-POJKHKRZ.js → instructions-4EJ4BBWD.js} +1 -1
  92. package/dist/bundle/mcp-A4HPKQK5.js +90 -0
  93. package/dist/bundle/{mcp-FUSDPAOL.js → mcp-MNI62HHE.js} +4 -2
  94. package/dist/bundle/memo.js +182 -39
  95. package/dist/bundle/{node-W245R2OP.js → node-QQXKQWNC.js} +2 -2
  96. package/dist/bundle/{node-sqlite-FUYOXFW5.js → node-sqlite-GJI2GMLW.js} +6 -4
  97. package/dist/bundle/{oauth-ATB3NWQA.js → oauth-Q5VGUPUR.js} +7 -5
  98. package/dist/bundle/{open-HEBEWCYB.js → open-NSXIYF3N.js} +5 -3
  99. package/dist/bundle/{openai-DN7NA2IU.js → openai-LHH7MSGQ.js} +10 -8
  100. package/dist/bundle/{process-QTIDOJMF.js → process-PI6XUJWP.js} +1 -1
  101. package/dist/bundle/{program-62ISSWCE.js → program-3ZTQ5FEM.js} +8288 -8293
  102. package/dist/bundle/{prompt-RQXVPJ4A.js → prompt-VFXA7IKL.js} +5 -3
  103. package/dist/bundle/{recognize-G7NIZ3IT.js → recognize-UWAARXOH.js} +4 -2
  104. package/dist/bundle/{remote-H452UBSK.js → remote-KGEVCB2Q.js} +7 -5
  105. package/dist/bundle/{rerank-77UYD2UD.js → rerank-SCBTCBPO.js} +7 -5
  106. package/dist/bundle/{serve-L6R4ODZV.js → serve-WPVKVR24.js} +9 -7
  107. package/dist/bundle/{server-NB3U4PPW.js → server-BMQBWBBN.js} +69 -63
  108. package/dist/bundle/server-NQK5EX7P.js +48 -0
  109. package/dist/bundle/server-UN43Y6BY.js +61 -0
  110. package/dist/bundle/{setup-ZGH5OZ7A.js → setup-FGSVWQ32.js} +47 -43
  111. package/dist/bundle/{state-KHMYDV4I.js → state-KGHS4C6J.js} +6 -4
  112. package/dist/bundle/{store-M7KGTLUG.js → store-VCVOIQES.js} +12 -10
  113. package/dist/bundle/store-maintenance-command-QTEWWDST.js +48 -0
  114. package/dist/bundle/update-XC6KAVCK.js +69 -0
  115. package/dist/config.d.ts +1 -1
  116. package/dist/config.d.ts.map +1 -1
  117. package/dist/config.js +2 -2
  118. package/dist/config.js.map +1 -1
  119. package/dist/contract-overrides/skill.d.ts.map +1 -1
  120. package/dist/contract-overrides/skill.js +14 -0
  121. package/dist/contract-overrides/skill.js.map +1 -1
  122. package/dist/examples.d.ts.map +1 -1
  123. package/dist/examples.js +26 -0
  124. package/dist/examples.js.map +1 -1
  125. package/dist/knowledge/project-actions-command.js +1 -1
  126. package/dist/knowledge/project-actions-command.js.map +1 -1
  127. package/dist/mail/command.d.ts.map +1 -1
  128. package/dist/mail/command.js +11 -1
  129. package/dist/mail/command.js.map +1 -1
  130. package/dist/mail/findings-command.d.ts +8 -0
  131. package/dist/mail/findings-command.d.ts.map +1 -0
  132. package/dist/mail/findings-command.js +80 -0
  133. package/dist/mail/findings-command.js.map +1 -0
  134. package/dist/mail/messages-command.d.ts.map +1 -1
  135. package/dist/mail/messages-command.js +27 -3
  136. package/dist/mail/messages-command.js.map +1 -1
  137. package/dist/mail/review-command.d.ts +12 -0
  138. package/dist/mail/review-command.d.ts.map +1 -0
  139. package/dist/mail/review-command.js +46 -0
  140. package/dist/mail/review-command.js.map +1 -0
  141. package/dist/mcp/catalogue.d.ts.map +1 -1
  142. package/dist/mcp/catalogue.js +1 -1
  143. package/dist/mcp/catalogue.js.map +1 -1
  144. package/dist/mcp/server.js +1 -1
  145. package/dist/mcp/server.js.map +1 -1
  146. package/dist/program.d.ts.map +1 -1
  147. package/dist/program.js +1 -1
  148. package/dist/program.js.map +1 -1
  149. package/dist/read-only.d.ts +1 -1
  150. package/dist/reasons.d.ts.map +1 -1
  151. package/dist/reasons.js +6 -0
  152. package/dist/reasons.js.map +1 -1
  153. package/dist/review/kinds.d.ts +0 -6
  154. package/dist/review/kinds.d.ts.map +1 -1
  155. package/dist/review/kinds.js +14 -45
  156. package/dist/review/kinds.js.map +1 -1
  157. package/dist/review/status.d.ts +1 -0
  158. package/dist/review/status.d.ts.map +1 -1
  159. package/dist/schedule/command.d.ts +3 -1
  160. package/dist/schedule/command.d.ts.map +1 -1
  161. package/dist/schedule/command.js +6 -1
  162. package/dist/schedule/command.js.map +1 -1
  163. package/dist/version.d.ts +1 -1
  164. package/dist/version.js +1 -1
  165. package/package.json +4 -3
  166. package/skills/cli-memo/SKILL.md +12 -4
  167. package/skills/mail-triage/SKILL.md +120 -0
  168. package/dist/bundle/auto-GDLRYDYK.js +0 -82
  169. package/dist/bundle/chunk-7J5HTZCM.js +0 -18
  170. package/dist/bundle/command-contract-NMJKYTS4.js +0 -30
  171. package/dist/bundle/failure-OJI6C5JA.js +0 -62
  172. package/dist/bundle/first-run-7P5N72VR.js +0 -23
  173. package/dist/bundle/first-screen-3GM5HC4Y.js +0 -28
  174. package/dist/bundle/mcp-YGWNSJUH.js +0 -86
  175. package/dist/bundle/server-SWUSQSRW.js +0 -44
  176. package/dist/bundle/server-W4IKTTUY.js +0 -57
  177. package/dist/bundle/store-maintenance-command-ZPN2ZUL4.js +0 -44
  178. package/dist/bundle/update-2IYA7RJU.js +0 -65
  179. /package/dist/bundle/{chunk-7YF2MSEC.js → chunk-YYQN5ES2.js} +0 -0
@@ -3,12 +3,14 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  openBrowser,
5
5
  startCli
6
- } from "./chunk-JHKTN6NL.js";
7
- import "./chunk-SHDZVM3B.js";
8
- import "./chunk-OTHEM74Z.js";
9
- import "./chunk-XZWUBDBG.js";
10
- import "./chunk-MXP4J6BJ.js";
6
+ } from "./chunk-ZCKU6WMX.js";
7
+ import "./chunk-NELE7AIX.js";
8
+ import "./chunk-OUF6RCRZ.js";
9
+ import "./chunk-2NJUPIAO.js";
10
+ import "./chunk-CDZZ2DZO.js";
11
+ import "./chunk-EG2OMKWH.js";
11
12
  import "./chunk-Y5E2WNWB.js";
13
+ import "./chunk-CCHHEMPM.js";
12
14
  import "./chunk-ZVVMGPBJ.js";
13
15
  export {
14
16
  openBrowser,
@@ -0,0 +1,66 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ errorObject,
5
+ mcpFailure,
6
+ recognisable,
7
+ reportFailure,
8
+ throwParseFailures
9
+ } from "./chunk-YUFUUQUO.js";
10
+ import "./chunk-UXCSNSUU.js";
11
+ import "./chunk-ZD3STMY7.js";
12
+ import "./chunk-DNGHE2Q4.js";
13
+ import "./chunk-TMNHNZVA.js";
14
+ import "./chunk-XA6YO24S.js";
15
+ import "./chunk-RG6ITTLQ.js";
16
+ import "./chunk-JJ3C5AYK.js";
17
+ import "./chunk-PO5C7VNC.js";
18
+ import "./chunk-J55Z6EJ3.js";
19
+ import "./chunk-SXGAIQ5X.js";
20
+ import "./chunk-GV2FSWFS.js";
21
+ import "./chunk-HTQTIKWP.js";
22
+ import "./chunk-WEOFWTWZ.js";
23
+ import "./chunk-VQM3H422.js";
24
+ import "./chunk-RC7TIYUZ.js";
25
+ import "./chunk-EAYYWS67.js";
26
+ import "./chunk-3V4WIGWC.js";
27
+ import "./chunk-PQLBPYJR.js";
28
+ import "./chunk-SMDWUPXE.js";
29
+ import "./chunk-ZCKU6WMX.js";
30
+ import "./chunk-NELE7AIX.js";
31
+ import "./chunk-CP5N3KH3.js";
32
+ import "./chunk-RHJC4PHV.js";
33
+ import "./chunk-AIIQ7YU4.js";
34
+ import "./chunk-YAUDFROV.js";
35
+ import "./chunk-RNXYDBQO.js";
36
+ import "./chunk-PF3ALSAV.js";
37
+ import "./chunk-7F6FGMCC.js";
38
+ import "./chunk-2TBIVKBH.js";
39
+ import "./chunk-THGFFQCK.js";
40
+ import "./chunk-DZSWKA3K.js";
41
+ import "./chunk-E5FQ7U7L.js";
42
+ import "./chunk-KUNA6MQZ.js";
43
+ import "./chunk-WUCQ56RP.js";
44
+ import "./chunk-LGNS4JVK.js";
45
+ import "./chunk-LR5EY5JY.js";
46
+ import "./chunk-VXHN3SWW.js";
47
+ import "./chunk-BPGYTJNB.js";
48
+ import "./chunk-B3YV6Z7Y.js";
49
+ import "./chunk-ILHTNOIV.js";
50
+ import "./chunk-NUN6OGOV.js";
51
+ import "./chunk-D72URWJE.js";
52
+ import "./chunk-OUF6RCRZ.js";
53
+ import "./chunk-2NJUPIAO.js";
54
+ import "./chunk-CDZZ2DZO.js";
55
+ import "./chunk-EG2OMKWH.js";
56
+ import "./chunk-Y5E2WNWB.js";
57
+ import "./chunk-CCHHEMPM.js";
58
+ import "./chunk-7MLWSUEK.js";
59
+ import "./chunk-ZVVMGPBJ.js";
60
+ export {
61
+ errorObject,
62
+ mcpFailure,
63
+ recognisable,
64
+ reportFailure,
65
+ throwParseFailures
66
+ };
@@ -0,0 +1,24 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ catchCrashes,
5
+ errorObjectOf,
6
+ errorRecordOf,
7
+ exitCodeOfAnswer,
8
+ exitCodeOfError,
9
+ mcpErrorResult,
10
+ renderError,
11
+ retryOf
12
+ } from "./chunk-EG2OMKWH.js";
13
+ import "./chunk-CCHHEMPM.js";
14
+ import "./chunk-ZVVMGPBJ.js";
15
+ export {
16
+ catchCrashes,
17
+ errorObjectOf,
18
+ errorRecordOf,
19
+ exitCodeOfAnswer,
20
+ exitCodeOfError,
21
+ mcpErrorResult,
22
+ renderError,
23
+ retryOf
24
+ };
@@ -0,0 +1,27 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ askSetupQuestions,
5
+ asksAtStart,
6
+ setupAtStart,
7
+ systemLanguage
8
+ } from "./chunk-EAYYWS67.js";
9
+ import "./chunk-3V4WIGWC.js";
10
+ import "./chunk-PQLBPYJR.js";
11
+ import "./chunk-SMDWUPXE.js";
12
+ import "./chunk-7F6FGMCC.js";
13
+ import "./chunk-2TBIVKBH.js";
14
+ import "./chunk-VXHN3SWW.js";
15
+ import "./chunk-ILHTNOIV.js";
16
+ import "./chunk-D72URWJE.js";
17
+ import "./chunk-CDZZ2DZO.js";
18
+ import "./chunk-EG2OMKWH.js";
19
+ import "./chunk-Y5E2WNWB.js";
20
+ import "./chunk-CCHHEMPM.js";
21
+ import "./chunk-ZVVMGPBJ.js";
22
+ export {
23
+ askSetupQuestions,
24
+ asksAtStart,
25
+ setupAtStart,
26
+ systemLanguage
27
+ };
@@ -0,0 +1,30 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ WIRECAT_TOOLS,
5
+ firstScreen,
6
+ installHelp
7
+ } from "./chunk-GV2FSWFS.js";
8
+ import "./chunk-HTQTIKWP.js";
9
+ import "./chunk-WEOFWTWZ.js";
10
+ import "./chunk-VQM3H422.js";
11
+ import "./chunk-RC7TIYUZ.js";
12
+ import "./chunk-SMDWUPXE.js";
13
+ import "./chunk-NELE7AIX.js";
14
+ import "./chunk-AIIQ7YU4.js";
15
+ import "./chunk-RNXYDBQO.js";
16
+ import "./chunk-PF3ALSAV.js";
17
+ import "./chunk-2TBIVKBH.js";
18
+ import "./chunk-LR5EY5JY.js";
19
+ import "./chunk-VXHN3SWW.js";
20
+ import "./chunk-NUN6OGOV.js";
21
+ import "./chunk-CDZZ2DZO.js";
22
+ import "./chunk-EG2OMKWH.js";
23
+ import "./chunk-Y5E2WNWB.js";
24
+ import "./chunk-CCHHEMPM.js";
25
+ import "./chunk-ZVVMGPBJ.js";
26
+ export {
27
+ WIRECAT_TOOLS,
28
+ firstScreen,
29
+ installHelp
30
+ };
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  appInstructions,
5
5
  instructions
6
- } from "./chunk-UC4IL2P7.js";
6
+ } from "./chunk-OJRLTJRS.js";
7
7
  import "./chunk-ZVVMGPBJ.js";
8
8
  export {
9
9
  appInstructions,
@@ -0,0 +1,90 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import "./chunk-YYQN5ES2.js";
4
+ import {
5
+ createBotServer
6
+ } from "./chunk-JXH22ZGA.js";
7
+ import "./chunk-ZD3STMY7.js";
8
+ import {
9
+ MCP_PATH,
10
+ serveOverHttp
11
+ } from "./chunk-QMMUPDRK.js";
12
+ import "./chunk-DNGHE2Q4.js";
13
+ import {
14
+ revokeAll
15
+ } from "./chunk-XPRYBLTS.js";
16
+ import {
17
+ registerCommands,
18
+ runCommandForAgent,
19
+ toolsFromCommands
20
+ } from "./chunk-INURBEAO.js";
21
+ import {
22
+ mcpUrlOf,
23
+ portOf,
24
+ publicUrlOf
25
+ } from "./chunk-XA6YO24S.js";
26
+ import "./chunk-RG6ITTLQ.js";
27
+ import {
28
+ allProfilesServer,
29
+ serveAllProfilesOverHttp,
30
+ serveAllProfilesOverStdio
31
+ } from "./chunk-5RBLNI6C.js";
32
+ import "./chunk-IRDGD3QQ.js";
33
+ import {
34
+ callingAgent
35
+ } from "./chunk-CCOYC6HL.js";
36
+ import "./chunk-MM5NVP7F.js";
37
+ import "./chunk-3X4JM3ZR.js";
38
+ import "./chunk-H3ZN4YLB.js";
39
+ import "./chunk-J55Z6EJ3.js";
40
+ import "./chunk-SXGAIQ5X.js";
41
+ import "./chunk-VQM3H422.js";
42
+ import "./chunk-RC7TIYUZ.js";
43
+ import "./chunk-3V4WIGWC.js";
44
+ import "./chunk-PQLBPYJR.js";
45
+ import "./chunk-SMDWUPXE.js";
46
+ import "./chunk-NELE7AIX.js";
47
+ import {
48
+ httpLockFile
49
+ } from "./chunk-CP5N3KH3.js";
50
+ import "./chunk-RHJC4PHV.js";
51
+ import "./chunk-AIIQ7YU4.js";
52
+ import "./chunk-YAUDFROV.js";
53
+ import "./chunk-RNXYDBQO.js";
54
+ import "./chunk-PF3ALSAV.js";
55
+ import "./chunk-7F6FGMCC.js";
56
+ import "./chunk-2TBIVKBH.js";
57
+ import "./chunk-DZSWKA3K.js";
58
+ import "./chunk-KUNA6MQZ.js";
59
+ import "./chunk-WUCQ56RP.js";
60
+ import "./chunk-LGNS4JVK.js";
61
+ import "./chunk-LR5EY5JY.js";
62
+ import "./chunk-VXHN3SWW.js";
63
+ import "./chunk-ILHTNOIV.js";
64
+ import "./chunk-NUN6OGOV.js";
65
+ import "./chunk-D72URWJE.js";
66
+ import "./chunk-OUF6RCRZ.js";
67
+ import "./chunk-2NJUPIAO.js";
68
+ import "./chunk-CDZZ2DZO.js";
69
+ import "./chunk-EG2OMKWH.js";
70
+ import "./chunk-Y5E2WNWB.js";
71
+ import "./chunk-CCHHEMPM.js";
72
+ import "./chunk-7MLWSUEK.js";
73
+ import "./chunk-ZVVMGPBJ.js";
74
+ export {
75
+ MCP_PATH,
76
+ allProfilesServer,
77
+ callingAgent,
78
+ createBotServer,
79
+ httpLockFile,
80
+ mcpUrlOf,
81
+ portOf,
82
+ publicUrlOf,
83
+ registerCommands,
84
+ revokeAll,
85
+ runCommandForAgent,
86
+ serveAllProfilesOverHttp,
87
+ serveAllProfilesOverStdio,
88
+ serveOverHttp,
89
+ toolsFromCommands
90
+ };
@@ -2,9 +2,11 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  executableEnvironment,
5
- executableOnPath,
5
+ executableOnPath
6
+ } from "./chunk-PQLBPYJR.js";
7
+ import {
6
8
  require_cross_spawn
7
- } from "./chunk-LPUFOWL3.js";
9
+ } from "./chunk-D72URWJE.js";
8
10
  import {
9
11
  __name,
10
12
  __toESM
@@ -6,57 +6,200 @@ import {
6
6
  } from "./chunk-BPGYTJNB.js";
7
7
  import {
8
8
  APP
9
- } from "./chunk-G7TF4E7B.js";
9
+ } from "./chunk-B3YV6Z7Y.js";
10
+ import {
11
+ installerOf
12
+ } from "./chunk-ILHTNOIV.js";
10
13
  import "./chunk-NUN6OGOV.js";
14
+ import {
15
+ DESCRIBE_FLAG,
16
+ DISPATCH_FLAG,
17
+ PROGRAM_PREFIX,
18
+ SHIM_FORMAT,
19
+ describeAnswer,
20
+ exists,
21
+ fileState,
22
+ shimFiles,
23
+ writeShim
24
+ } from "./chunk-EW3XTUPB.js";
25
+ import {
26
+ processStreams
27
+ } from "./chunk-CDZZ2DZO.js";
11
28
  import {
12
29
  errorObjectOf,
13
30
  exitCodeOfError,
14
- processStreams,
15
31
  renderError
16
- } from "./chunk-MXP4J6BJ.js";
32
+ } from "./chunk-EG2OMKWH.js";
17
33
  import "./chunk-Y5E2WNWB.js";
34
+ import "./chunk-CCHHEMPM.js";
18
35
  import {
19
36
  __name
20
37
  } from "./chunk-ZVVMGPBJ.js";
21
38
 
22
39
  // dist/bin/memo.js
23
40
  import { enableCompileCache } from "node:module";
24
- enableCompileCache();
25
- var { startCli } = await import("./entry-K2WWMF2B.js");
26
- var program;
27
- var failure;
28
- await startCli({
29
- app: APP,
30
- sqlite: true,
31
- interactive: interactiveOf,
32
- reasons: APP.errors.reasons,
33
- run: /* @__PURE__ */ __name(async (entry) => {
34
- failure = await import("./failure-OJI6C5JA.js");
35
- const { createProgram, refuseJoinedPath } = await import("./program-62ISSWCE.js");
36
- const { autoNotice, followInstall } = await import("./auto-GDLRYDYK.js");
37
- if (entry.args[0] !== "jobs") {
38
- const notice2 = autoNotice(entry.env);
39
- if (notice2)
40
- processStreams.diagnostic(notice2);
41
+
42
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/start.js
43
+ import { fileURLToPath } from "node:url";
44
+
45
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/launcher.js
46
+ import { readFileSync } from "node:fs";
47
+ import { basename, dirname, join, resolve } from "node:path";
48
+ var posix = /* @__PURE__ */ __name((path) => path.replaceAll("\\", "/"), "posix");
49
+ var pnpmHome = /* @__PURE__ */ __name((path, env) => {
50
+ const home = env.PNPM_HOME;
51
+ return home && path.startsWith(`${posix(home).replace(/\/+$/, "")}/`) ? home : void 0;
52
+ }, "pnpmHome");
53
+ var layoutFolders = /* @__PURE__ */ __name((script, env) => {
54
+ const path = posix(script);
55
+ const home = pnpmHome(path, env);
56
+ if (home)
57
+ return [join(home, "bin"), home];
58
+ switch (installerOf(script)) {
59
+ case "bun":
60
+ return [`${path.slice(0, path.indexOf("/install/global/node_modules/"))}/bin`];
61
+ case "npm": {
62
+ const root = path.slice(0, path.indexOf("/node_modules/"));
63
+ return [basename(root) === "lib" ? join(dirname(root), "bin") : root];
41
64
  }
42
- const { updateNotice } = await import("./update-2IYA7RJU.js");
43
- const notice = updateNotice(entry.args);
44
- program = createProgram({ signal: entry.signal });
45
- program.hook("preAction", (_root, command) => entry.atStart(command));
46
- failure.throwParseFailures(program);
47
- refuseJoinedPath(program, entry.args);
48
- await program.parseAsync(process.argv);
49
- await followInstall(entry.env).catch(() => void 0);
50
- const line = await notice;
51
- if (line && !process.exitCode)
52
- processStreams.diagnostic(line);
65
+ default:
66
+ return [];
67
+ }
68
+ }, "layoutFolders");
69
+ var binFolder = /* @__PURE__ */ __name(({ name, argv1, script, env, platform }) => {
70
+ if (!["npm", "pnpm", "bun"].includes(installerOf(script)) && !pnpmHome(posix(script), env))
53
71
  return void 0;
54
- }, "run"),
55
- fail: /* @__PURE__ */ __name((error, entry) => {
56
- if (failure)
57
- return failure.reportFailure(error, { args: entry.args, program, streams: processStreams, tty: entry.tty });
58
- const object = errorObjectOf(error);
59
- processStreams.diagnostic(renderError(object, { cli: APP.command, interactive: interactiveOf(entry.args, entry.tty) }));
60
- return exitCodeOfError(object);
61
- }, "fail")
72
+ const extensions = platform === "win32" ? [".cmd", ".exe"] : [""];
73
+ const candidates = [argv1 ? dirname(argv1) : void 0, ...layoutFolders(script, env)];
74
+ for (const dir of new Set(candidates)) {
75
+ if (dir === void 0 || basename(dir) === ".bin")
76
+ continue;
77
+ for (const extension of extensions) {
78
+ const program = `${PROGRAM_PREFIX}${name}${extension}`;
79
+ if (exists(join(dir, program)))
80
+ return { dir, program };
81
+ }
82
+ }
83
+ return void 0;
84
+ }, "binFolder");
85
+ var installed = /* @__PURE__ */ __name((dir, program) => {
86
+ if (!exists(join(dir, program)))
87
+ return false;
88
+ if (!program.toLowerCase().endsWith(".exe"))
89
+ return true;
90
+ let script;
91
+ try {
92
+ script = readFileSync(join(dir, `${program.slice(0, -4)}.bunx`)).toString("utf16le").split('"')[0] ?? "";
93
+ } catch {
94
+ return true;
95
+ }
96
+ if (script === "" || exists(resolve(dir, script)))
97
+ return true;
98
+ const at = posix(script).lastIndexOf("/install/global/node_modules/");
99
+ return at < 0 || exists(join(dirname(dir), posix(script).slice(at + 1)));
100
+ }, "installed");
101
+ var NAME = "wcat";
102
+ var ensureLauncher = /* @__PURE__ */ __name(({ dir, program, platform }) => {
103
+ try {
104
+ const mine = shimFiles("launcher", { dir, name: NAME, target: program, platform });
105
+ const states = mine.map((file) => fileState(file.path));
106
+ if (states.some((one) => one.state === "foreign"))
107
+ return "foreign";
108
+ const ours = states.flatMap((one) => one.state === "ours" ? [one] : []);
109
+ if (ours.some(({ mark }) => mark.format > SHIM_FORMAT))
110
+ return "newer";
111
+ if (ours.some(({ mark }) => mark.kind !== "launcher"))
112
+ return "foreign";
113
+ const current = ours.find(({ mark }) => installed(dir, mark.target))?.mark.target;
114
+ const wanted = shimFiles("launcher", { dir, name: NAME, target: current ?? program, platform });
115
+ const stale = wanted.filter((file, at) => {
116
+ const state = states[at];
117
+ return state?.state !== "ours" || state.text !== file.text;
118
+ });
119
+ if (stale.length === 0)
120
+ return "kept";
121
+ for (const file of stale)
122
+ writeShim(file);
123
+ return "written";
124
+ } catch {
125
+ return "failed";
126
+ }
127
+ }, "ensureLauncher");
128
+
129
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/start.js
130
+ var wcatStart = /* @__PURE__ */ __name(async (tool, io = {}) => {
131
+ const argv = io.argv ?? process.argv;
132
+ const env = io.env ?? process.env;
133
+ const platform = io.platform ?? process.platform;
134
+ const stdout = io.stdout ?? process.stdout;
135
+ const [first, ...rest] = argv.slice(2);
136
+ if (first === DESCRIBE_FLAG) {
137
+ stdout.write(`${JSON.stringify(describeAnswer(tool))}
138
+ `);
139
+ return { code: 0 };
140
+ }
141
+ if (first === DISPATCH_FLAG) {
142
+ const { runWcat } = await import("./dispatch-VUMQPYMA.js");
143
+ const code = await runWcat(rest, { env, platform, stdout, stderr: io.stderr ?? process.stderr, self: tool });
144
+ return { code };
145
+ }
146
+ const folder = binFolder({
147
+ name: tool.command,
148
+ argv1: argv[1],
149
+ script: io.script ?? fileURLToPath(new URL("wcat/start.js", import.meta.resolve("@wirecat/cli-base")).href),
150
+ env,
151
+ platform
152
+ });
153
+ return folder ? { launcher: ensureLauncher({ ...folder, platform }) } : {};
154
+ }, "wcatStart");
155
+
156
+ // dist/bin/memo.js
157
+ enableCompileCache();
158
+ var wcat = await wcatStart({
159
+ command: APP.command,
160
+ version: APP.version,
161
+ description: APP.description,
162
+ docs: "https://github.com/WireCatLabs/cli-memo#readme"
62
163
  });
164
+ if (wcat.code !== void 0) {
165
+ process.exitCode = wcat.code;
166
+ } else {
167
+ const { startCli } = await import("./entry-DO6ZBFIS.js");
168
+ let program;
169
+ let failure;
170
+ await startCli({
171
+ app: APP,
172
+ sqlite: true,
173
+ interactive: interactiveOf,
174
+ reasons: APP.errors.reasons,
175
+ run: /* @__PURE__ */ __name(async (entry) => {
176
+ failure = await import("./failure-LHMJNFY6.js");
177
+ const { createProgram, refuseJoinedPath } = await import("./program-3ZTQ5FEM.js");
178
+ const { autoNotice, followInstall } = await import("./auto-QHTPHGNA.js");
179
+ if (entry.args[0] !== "jobs") {
180
+ const notice2 = autoNotice(entry.env);
181
+ if (notice2)
182
+ processStreams.diagnostic(notice2);
183
+ }
184
+ const { updateNotice } = await import("./update-XC6KAVCK.js");
185
+ const notice = updateNotice(entry.args);
186
+ program = createProgram({ signal: entry.signal });
187
+ program.hook("preAction", (_root, command) => entry.atStart(command));
188
+ failure.throwParseFailures(program);
189
+ refuseJoinedPath(program, entry.args);
190
+ await program.parseAsync(process.argv);
191
+ await followInstall(entry.env).catch(() => void 0);
192
+ const line = await notice;
193
+ if (line && !process.exitCode)
194
+ processStreams.diagnostic(line);
195
+ return void 0;
196
+ }, "run"),
197
+ fail: /* @__PURE__ */ __name((error, entry) => {
198
+ if (failure)
199
+ return failure.reportFailure(error, { args: entry.args, program, streams: processStreams, tty: entry.tty });
200
+ const object = errorObjectOf(error);
201
+ processStreams.diagnostic(renderError(object, { cli: APP.command, interactive: interactiveOf(entry.args, entry.tty) }));
202
+ return exitCodeOfError(object);
203
+ }, "fail")
204
+ });
205
+ }
@@ -18,12 +18,12 @@ import {
18
18
  jitCompatCheck,
19
19
  refineSqliteCodecs,
20
20
  sql
21
- } from "./chunk-FMSA2X3E.js";
21
+ } from "./chunk-7MLWSUEK.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/node.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/node.js
27
27
  import { DatabaseSync } from "node:sqlite";
28
28
  var nodeSQLiteCodecs = refineSqliteCodecs({
29
29
  "integer:boolean": { normalize: booleanFromInteger },
@@ -3,18 +3,20 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  loadVectorExtension,
5
5
  vectorExtension
6
- } from "./chunk-ZYM4M62Q.js";
6
+ } from "./chunk-MCPDL5YU.js";
7
7
  import {
8
8
  TIME_LIMIT_FUNCTION,
9
9
  beforeTimeLimit
10
- } from "./chunk-XZWUBDBG.js";
11
- import "./chunk-MXP4J6BJ.js";
10
+ } from "./chunk-2NJUPIAO.js";
11
+ import "./chunk-CDZZ2DZO.js";
12
+ import "./chunk-EG2OMKWH.js";
12
13
  import "./chunk-Y5E2WNWB.js";
14
+ import "./chunk-CCHHEMPM.js";
13
15
  import {
14
16
  __name
15
17
  } from "./chunk-ZVVMGPBJ.js";
16
18
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/store/drivers/node-sqlite.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/store/drivers/node-sqlite.js
18
20
  import { DatabaseSync } from "node:sqlite";
19
21
  var openWithNodeSqlite = /* @__PURE__ */ __name(async (path) => cacheOverNodeSqlite(await nodeClient(path)), "openWithNodeSqlite");
20
22
  var nodeClient = /* @__PURE__ */ __name(async (path, { readOnly = false } = {}) => {
@@ -3,14 +3,16 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  ownerLogin,
5
5
  revokeAll
6
- } from "./chunk-36ULPM2W.js";
6
+ } from "./chunk-XPRYBLTS.js";
7
7
  import "./chunk-3X4JM3ZR.js";
8
- import "./chunk-VUWUSGSN.js";
9
- import "./chunk-T557KUST.js";
10
- import "./chunk-SO6VNTF6.js";
11
8
  import "./chunk-H3ZN4YLB.js";
12
- import "./chunk-MXP4J6BJ.js";
9
+ import "./chunk-CP5N3KH3.js";
10
+ import "./chunk-RHJC4PHV.js";
11
+ import "./chunk-AIIQ7YU4.js";
12
+ import "./chunk-CDZZ2DZO.js";
13
+ import "./chunk-EG2OMKWH.js";
13
14
  import "./chunk-Y5E2WNWB.js";
15
+ import "./chunk-CCHHEMPM.js";
14
16
  import "./chunk-ZVVMGPBJ.js";
15
17
  export {
16
18
  ownerLogin,
@@ -6,10 +6,12 @@ import {
6
6
  openCache,
7
7
  openFile,
8
8
  storeCapable
9
- } from "./chunk-OTHEM74Z.js";
10
- import "./chunk-XZWUBDBG.js";
11
- import "./chunk-MXP4J6BJ.js";
9
+ } from "./chunk-OUF6RCRZ.js";
10
+ import "./chunk-2NJUPIAO.js";
11
+ import "./chunk-CDZZ2DZO.js";
12
+ import "./chunk-EG2OMKWH.js";
12
13
  import "./chunk-Y5E2WNWB.js";
14
+ import "./chunk-CCHHEMPM.js";
13
15
  import "./chunk-ZVVMGPBJ.js";
14
16
  export {
15
17
  CAPABILITY_STATEMENTS,
@@ -4,15 +4,17 @@ import {
4
4
  LONGEST_REQUEST_SECONDS,
5
5
  piecesOf,
6
6
  transcribeOpenAI
7
- } from "./chunk-V7DZG62U.js";
8
- import "./chunk-IW3U6XXI.js";
9
- import "./chunk-KO455254.js";
10
- import "./chunk-LEUNYKL6.js";
11
- import "./chunk-LDVU22MF.js";
12
- import "./chunk-57Q6NXQT.js";
13
- import "./chunk-7J5HTZCM.js";
14
- import "./chunk-MXP4J6BJ.js";
7
+ } from "./chunk-MHDLZCEO.js";
8
+ import "./chunk-BB2MGFOZ.js";
9
+ import "./chunk-SXGAIQ5X.js";
10
+ import "./chunk-WUCQ56RP.js";
11
+ import "./chunk-LGNS4JVK.js";
12
+ import "./chunk-LR5EY5JY.js";
13
+ import "./chunk-VXHN3SWW.js";
14
+ import "./chunk-CDZZ2DZO.js";
15
+ import "./chunk-EG2OMKWH.js";
15
16
  import "./chunk-Y5E2WNWB.js";
17
+ import "./chunk-CCHHEMPM.js";
16
18
  import "./chunk-ZVVMGPBJ.js";
17
19
  export {
18
20
  LONGEST_REQUEST_SECONDS,
@@ -5,7 +5,7 @@ import {
5
5
  __name
6
6
  } from "./chunk-ZVVMGPBJ.js";
7
7
 
8
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/embeddings/process.js
8
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/embeddings/process.js
9
9
  import { spawn } from "node:child_process";
10
10
  import { createInterface } from "node:readline";
11
11
  import { fileURLToPath } from "node:url";