@wirecat/cli-memo 0.131.24 → 0.131.25

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 (222) hide show
  1. package/README.md +9 -12
  2. package/dist/app.d.ts +1 -1
  3. package/dist/bin/memo.js +2 -2
  4. package/dist/bundle/{all-profiles-ZCJTYGOL.js → all-profiles-L2T7PQ7S.js} +9 -9
  5. package/dist/bundle/{anthropic-7WVLAKTX.js → anthropic-KWI2B4O2.js} +6 -6
  6. package/dist/bundle/{app-server-6G3SXEHO.js → app-server-GLDIS3HE.js} +42 -42
  7. package/dist/bundle/auto-QFG57LR6.js +86 -0
  8. package/dist/bundle/{bun-JVBDJKBB.js → bun-SMKYTOGI.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-P4I7NVMQ.js → bun-sqlite-PKY3JXMR.js} +5 -5
  10. package/dist/bundle/{chunk-IC2TL7RW.js → chunk-47EZNSMD.js} +2 -2
  11. package/dist/bundle/{chunk-LNXFM4FD.js → chunk-4AONXXP2.js} +45 -26
  12. package/dist/bundle/{chunk-UY2VH3QK.js → chunk-5ANNUWNM.js} +2 -2
  13. package/dist/bundle/{chunk-3U7OUQV2.js → chunk-5GMOYTJQ.js} +1 -1
  14. package/dist/bundle/{chunk-EKTZEF3Q.js → chunk-5JYB6QKS.js} +3 -15
  15. package/dist/bundle/{chunk-GQOXFZBX.js → chunk-5SKYUS4U.js} +278 -279
  16. package/dist/bundle/{chunk-ALGIPJ6L.js → chunk-6OP743NB.js} +2 -2
  17. package/dist/bundle/{chunk-VVEFQEWP.js → chunk-7Y6O4UQB.js} +22 -22
  18. package/dist/bundle/{chunk-Q6MFBH6Q.js → chunk-BNF2ZUNS.js} +9 -9
  19. package/dist/bundle/{chunk-AIVUS6WA.js → chunk-BX7DVBWD.js} +15 -12
  20. package/dist/bundle/{chunk-LWIMGWKB.js → chunk-D5ZV7PRP.js} +3 -3
  21. package/dist/bundle/{chunk-OQK2IKPB.js → chunk-E2WPSRCI.js} +1 -1
  22. package/dist/bundle/{chunk-CCHHEMPM.js → chunk-EB2IULWB.js} +3 -2
  23. package/dist/bundle/{chunk-ND3GBFEY.js → chunk-EEVUVWHW.js} +2 -2
  24. package/dist/bundle/{chunk-UVR6U55E.js → chunk-EFTJ4RTT.js} +6 -6
  25. package/dist/bundle/{chunk-ZOYGY2PN.js → chunk-ENU2556X.js} +3 -3
  26. package/dist/bundle/{chunk-EB7LKK4K.js → chunk-ERQHZZNF.js} +1 -1
  27. package/dist/bundle/{chunk-AWGV4VOA.js → chunk-FS3ABWVX.js} +12 -12
  28. package/dist/bundle/{chunk-JY4LVWGZ.js → chunk-G2BB5WY5.js} +15 -8
  29. package/dist/bundle/{chunk-ZLZE5P6M.js → chunk-H5QHU5LZ.js} +8 -8
  30. package/dist/bundle/{chunk-CM2H7NRC.js → chunk-I5LIEFQR.js} +4 -4
  31. package/dist/bundle/{chunk-JCCL7RGH.js → chunk-I7PL5WX2.js} +4 -4
  32. package/dist/bundle/{chunk-JDDVGGUV.js → chunk-IE27DJP3.js} +10 -10
  33. package/dist/bundle/{chunk-AIGMYGEL.js → chunk-ILUTSRU3.js} +1 -1
  34. package/dist/bundle/{chunk-UXCDBNAY.js → chunk-INA5WGY7.js} +2 -2
  35. package/dist/bundle/{chunk-RTESJ5O2.js → chunk-J7T6RSR5.js} +4 -4
  36. package/dist/bundle/{chunk-F2ED6KG6.js → chunk-JDDLDKC7.js} +3 -3
  37. package/dist/bundle/{chunk-EACY2ULS.js → chunk-JLBKAIVT.js} +306 -187
  38. package/dist/bundle/{chunk-5YCNCXL5.js → chunk-JVNSHN2J.js} +1 -1
  39. package/dist/bundle/{chunk-NAH473ZR.js → chunk-KFZGI7BU.js} +1 -1
  40. package/dist/bundle/{chunk-ILHTNOIV.js → chunk-KV4267S4.js} +1 -1
  41. package/dist/bundle/{chunk-MPVW7BQZ.js → chunk-LFNJ6CG6.js} +6 -6
  42. package/dist/bundle/chunk-MAUKGKRA.js +428 -0
  43. package/dist/bundle/{chunk-ZDOVR4PA.js → chunk-MWX7UJCL.js} +7 -7
  44. package/dist/bundle/{chunk-3KNXQZMO.js → chunk-MZS3LIMW.js} +29 -29
  45. package/dist/bundle/{chunk-UA2C4BCH.js → chunk-NFTWNCEL.js} +9 -9
  46. package/dist/bundle/{chunk-R2LJDDZP.js → chunk-OGMTUMB7.js} +4 -4
  47. package/dist/bundle/{chunk-CPJEQK4V.js → chunk-ON5SHKHB.js} +46 -46
  48. package/dist/bundle/{chunk-DIMX5AEE.js → chunk-PCT2CIYR.js} +5 -5
  49. package/dist/bundle/{chunk-GSEDSGJF.js → chunk-POXCMAM7.js} +403 -503
  50. package/dist/bundle/{chunk-GRXVN2X7.js → chunk-QA674BMY.js} +1 -1
  51. package/dist/bundle/{chunk-ITQBXFMC.js → chunk-QJJSMLBR.js} +3 -3
  52. package/dist/bundle/{chunk-BTQSFPIM.js → chunk-QOWGFGG3.js} +5 -5
  53. package/dist/bundle/{chunk-N5H6I7WQ.js → chunk-QYDCVWD4.js} +6 -6
  54. package/dist/bundle/{chunk-INTF3YPV.js → chunk-RKLZQVKL.js} +2 -2
  55. package/dist/bundle/{chunk-XF3LZ32F.js → chunk-RTII6JWI.js} +3 -3
  56. package/dist/bundle/{chunk-M43DAAZ7.js → chunk-SBMBBVXF.js} +1 -1
  57. package/dist/bundle/{chunk-SKTGBVYC.js → chunk-SW5YJCHC.js} +4 -4
  58. package/dist/bundle/{chunk-EGG3PGCM.js → chunk-T3R6QHD2.js} +2 -2
  59. package/dist/bundle/{chunk-T4LW6UYQ.js → chunk-TZ7WDQPD.js} +40 -34
  60. package/dist/bundle/{chunk-3MER7NE6.js → chunk-UQS6Y2A7.js} +4 -4
  61. package/dist/bundle/{chunk-ELKYINWL.js → chunk-UWUP3A5H.js} +13 -13
  62. package/dist/bundle/{chunk-KQSHIQSV.js → chunk-VGYXKQJE.js} +73 -74
  63. package/dist/bundle/{chunk-FXHN2UZW.js → chunk-VZ3K7IYC.js} +30 -17
  64. package/dist/bundle/{chunk-IJC6MFLP.js → chunk-WGHQXJHL.js} +10 -10
  65. package/dist/bundle/{chunk-R3LNQ3I4.js → chunk-WHVH72AD.js} +2 -2
  66. package/dist/bundle/{chunk-EW3XTUPB.js → chunk-XBIPSSKI.js} +4 -4
  67. package/dist/bundle/{chunk-2IRCJT4O.js → chunk-XFDE6AL4.js} +8 -8
  68. package/dist/bundle/{chunk-J6D34BFP.js → chunk-YMAS7U5X.js} +260 -262
  69. package/dist/bundle/{chunk-PQLBPYJR.js → chunk-YPF6OS37.js} +1 -1
  70. package/dist/bundle/{chunk-XSI5NYGB.js → chunk-ZKZT6PCF.js} +8 -8
  71. package/dist/bundle/{chunk-UPXUE27A.js → chunk-ZLB2CM7Z.js} +6 -6
  72. package/dist/bundle/{chunk-MROFZXAB.js → chunk-ZUV337F2.js} +22 -22
  73. package/dist/bundle/{chunk-VLPMB3UU.js → chunk-ZVEGLXYB.js} +4 -4
  74. package/dist/bundle/command-contract-47EKA67S.js +32 -0
  75. package/dist/bundle/{decode-YHX3DQG2.js → decode-EEDEXCHR.js} +5 -5
  76. package/dist/bundle/{dispatch-MELZFYOS.js → dispatch-CU5KGRQL.js} +8 -8
  77. package/dist/bundle/{echarts-FBVAP7BR.js → echarts-36MD3UZF.js} +2 -2
  78. package/dist/bundle/{embed-CQJ42S5C.js → embed-R6JZ4CDW.js} +6 -6
  79. package/dist/bundle/{embedder-EDXLEJ27.js → embedder-XUIOKCH6.js} +9 -9
  80. package/dist/bundle/{entry-HZEA7QFK.js → entry-WOAZRQ5F.js} +7 -7
  81. package/dist/bundle/failure-BHRE5S75.js +66 -0
  82. package/dist/bundle/{failure-RBNZBCZJ.js → failure-TUXXI6JT.js} +2 -2
  83. package/dist/bundle/{first-run-JZQN7R6M.js → first-run-3ZUSIFQJ.js} +11 -11
  84. package/dist/bundle/first-screen-WQ2IDXDP.js +30 -0
  85. package/dist/bundle/{instructions-NYVYNWVU.js → instructions-7VMPJMUM.js} +1 -1
  86. package/dist/bundle/mcp-I7LL7AJG.js +90 -0
  87. package/dist/bundle/{mcp-MNI62HHE.js → mcp-PPVOM4SE.js} +2 -2
  88. package/dist/bundle/memo.js +16 -16
  89. package/dist/bundle/{node-2QE6UPGS.js → node-SBHCG4ZC.js} +2 -2
  90. package/dist/bundle/{node-sqlite-SDHZJNY7.js → node-sqlite-EMKROM5U.js} +6 -6
  91. package/dist/bundle/{oauth-FFUJREKS.js → oauth-OJPTUA5K.js} +7 -7
  92. package/dist/bundle/{open-NT2GYX6N.js → open-XI2AVS5B.js} +5 -5
  93. package/dist/bundle/{openai-IQA2XR6Z.js → openai-NCYTRZB6.js} +10 -10
  94. package/dist/bundle/{process-HIEJXYW6.js → process-373B2EBA.js} +1 -1
  95. package/dist/bundle/{chunk-DMQ3342A.js → program-VW7IJ755.js} +9892 -2082
  96. package/dist/bundle/{prompt-IOZAME2R.js → prompt-L3KQBPNH.js} +5 -5
  97. package/dist/bundle/{recognize-2XOAZJ5N.js → recognize-GFWZX4F6.js} +4 -4
  98. package/dist/bundle/{remote-2LE7OTDA.js → remote-5IGAYQBB.js} +7 -7
  99. package/dist/bundle/{rerank-UKOVVZM6.js → rerank-6HWHGDFX.js} +7 -7
  100. package/dist/bundle/{serve-S2UHPEBP.js → serve-AA7RKEOM.js} +9 -9
  101. package/dist/bundle/server-MWUCYBJF.js +61 -0
  102. package/dist/bundle/server-XEY5AKKG.js +48 -0
  103. package/dist/bundle/{server-BG4WWQHY.js → server-Z6L4U6HO.js} +57 -57
  104. package/dist/bundle/{state-F5KT3CBD.js → state-3WTPOBXR.js} +6 -6
  105. package/dist/bundle/{store-WBUUS7FO.js → store-LNP5BXUL.js} +13 -13
  106. package/dist/bundle/store-maintenance-command-6HEGTKPL.js +48 -0
  107. package/dist/bundle/update-6GWVILUX.js +69 -0
  108. package/dist/config.d.ts +2 -28
  109. package/dist/config.d.ts.map +1 -1
  110. package/dist/config.js +2 -35
  111. package/dist/config.js.map +1 -1
  112. package/dist/doctor/command.d.ts +0 -12
  113. package/dist/doctor/command.d.ts.map +1 -1
  114. package/dist/doctor/command.js +19 -24
  115. package/dist/doctor/command.js.map +1 -1
  116. package/dist/examples.d.ts.map +1 -1
  117. package/dist/examples.js +1 -8
  118. package/dist/examples.js.map +1 -1
  119. package/dist/failure.d.ts +2 -2
  120. package/dist/mail/command.d.ts.map +1 -1
  121. package/dist/mail/command.js +2 -87
  122. package/dist/mail/command.js.map +1 -1
  123. package/dist/mail/findings-command.d.ts.map +1 -1
  124. package/dist/mail/findings-command.js +1 -1
  125. package/dist/mail/findings-command.js.map +1 -1
  126. package/dist/mail/moved.d.ts +1 -1
  127. package/dist/mail/moved.d.ts.map +1 -1
  128. package/dist/mail/moved.js +3 -0
  129. package/dist/mail/moved.js.map +1 -1
  130. package/dist/mail/review-command.d.ts +1 -1
  131. package/dist/mail/review-command.d.ts.map +1 -1
  132. package/dist/program.js +1 -1
  133. package/dist/program.js.map +1 -1
  134. package/dist/read-only.d.ts +1 -1
  135. package/dist/reasons.d.ts.map +1 -1
  136. package/dist/reasons.js +1 -13
  137. package/dist/reasons.js.map +1 -1
  138. package/dist/run/auto.js +3 -3
  139. package/dist/run/auto.js.map +1 -1
  140. package/dist/run/import.d.ts +2 -2
  141. package/dist/run/import.d.ts.map +1 -1
  142. package/dist/run/import.js +24 -121
  143. package/dist/run/import.js.map +1 -1
  144. package/dist/search/command.js +1 -1
  145. package/dist/store/source-list.d.ts +1 -6
  146. package/dist/store/source-list.d.ts.map +1 -1
  147. package/dist/store/source-list.js +11 -46
  148. package/dist/store/source-list.js.map +1 -1
  149. package/dist/tasks/command.js +1 -1
  150. package/dist/tasks/command.js.map +1 -1
  151. package/dist/version.d.ts +1 -1
  152. package/dist/version.js +1 -1
  153. package/package.json +3 -3
  154. package/scenarios/set-up.md +3 -3
  155. package/skills/cli-memo/SKILL.md +13 -21
  156. package/skills/mail-triage/SKILL.md +9 -5
  157. package/dist/bundle/auto-JWPM5654.js +0 -86
  158. package/dist/bundle/chunk-MLMSQK76.js +0 -103
  159. package/dist/bundle/command-contract-543RRFNU.js +0 -32
  160. package/dist/bundle/failure-62G7QSPX.js +0 -66
  161. package/dist/bundle/first-screen-56V3UOQE.js +0 -30
  162. package/dist/bundle/mcp-Y6IPYDS2.js +0 -90
  163. package/dist/bundle/program-DEMRKCZY.js +0 -10972
  164. package/dist/bundle/server-3YNOEPWU.js +0 -61
  165. package/dist/bundle/server-EZWQ5KP4.js +0 -48
  166. package/dist/bundle/setup-2X7ADKFH.js +0 -973
  167. package/dist/bundle/store-maintenance-command-KLST56XF.js +0 -48
  168. package/dist/bundle/update-WH4CGJGP.js +0 -69
  169. package/dist/mail/accounts.d.ts +0 -7
  170. package/dist/mail/accounts.d.ts.map +0 -1
  171. package/dist/mail/accounts.js +0 -28
  172. package/dist/mail/accounts.js.map +0 -1
  173. package/dist/mail/backfill-headers.d.ts +0 -11
  174. package/dist/mail/backfill-headers.d.ts.map +0 -1
  175. package/dist/mail/backfill-headers.js +0 -84
  176. package/dist/mail/backfill-headers.js.map +0 -1
  177. package/dist/mail/domain-age.d.ts +0 -26
  178. package/dist/mail/domain-age.d.ts.map +0 -1
  179. package/dist/mail/domain-age.js +0 -151
  180. package/dist/mail/domain-age.js.map +0 -1
  181. package/dist/mail/gmail.d.ts +0 -39
  182. package/dist/mail/gmail.d.ts.map +0 -1
  183. package/dist/mail/gmail.js +0 -325
  184. package/dist/mail/gmail.js.map +0 -1
  185. package/dist/mail/himalaya.d.ts +0 -22
  186. package/dist/mail/himalaya.d.ts.map +0 -1
  187. package/dist/mail/himalaya.js +0 -113
  188. package/dist/mail/himalaya.js.map +0 -1
  189. package/dist/mail/mbox.d.ts +0 -9
  190. package/dist/mail/mbox.d.ts.map +0 -1
  191. package/dist/mail/mbox.js +0 -230
  192. package/dist/mail/mbox.js.map +0 -1
  193. package/dist/mail/repair.d.ts +0 -7
  194. package/dist/mail/repair.d.ts.map +0 -1
  195. package/dist/mail/repair.js +0 -54
  196. package/dist/mail/repair.js.map +0 -1
  197. package/dist/mail/rule-store.d.ts +0 -12
  198. package/dist/mail/rule-store.d.ts.map +0 -1
  199. package/dist/mail/rule-store.js +0 -83
  200. package/dist/mail/rule-store.js.map +0 -1
  201. package/dist/mail/setup-command.d.ts +0 -4
  202. package/dist/mail/setup-command.d.ts.map +0 -1
  203. package/dist/mail/setup-command.js +0 -41
  204. package/dist/mail/setup-command.js.map +0 -1
  205. package/dist/mail/setup.d.ts +0 -19
  206. package/dist/mail/setup.d.ts.map +0 -1
  207. package/dist/mail/setup.js +0 -95
  208. package/dist/mail/setup.js.map +0 -1
  209. package/dist/mail/slices.d.ts +0 -6
  210. package/dist/mail/slices.d.ts.map +0 -1
  211. package/dist/mail/slices.js +0 -7
  212. package/dist/mail/slices.js.map +0 -1
  213. package/dist/mail/source.d.ts +0 -7
  214. package/dist/mail/source.d.ts.map +0 -1
  215. package/dist/mail/source.js +0 -119
  216. package/dist/mail/source.js.map +0 -1
  217. package/dist/mail/sync.d.ts +0 -21
  218. package/dist/mail/sync.d.ts.map +0 -1
  219. package/dist/mail/sync.js +0 -24
  220. package/dist/mail/sync.js.map +0 -1
  221. /package/dist/bundle/{chunk-CWOKGEL3.js → chunk-LU3WKZBA.js} +0 -0
  222. /package/dist/bundle/{chunk-NUN6OGOV.js → chunk-MNDLWYNQ.js} +0 -0
package/README.md CHANGED
@@ -130,7 +130,7 @@ More: [connect your AI agent](https://wirecat.dev/en/docs/agents) ·
130
130
  page, an email, a message.
131
131
  3. **Links, not guesses.** Notes link to people and records; identities are never merged because a name
132
132
  matches.
133
- 4. **Imports leave your sources untouched.** Memo never changes a mailbox; [Gmail cleanup](docs/mail.md#clean-up-gmail)
133
+ 4. **Imports leave your sources untouched.** Memo never changes a mailbox; [Gmail cleanup](docs/mail.md#commands-that-moved-to-mail)
134
134
  is a command of the separate `mail` program. Tags and your own notes live in the store.
135
135
  5. **Review and delegation are recorded.** Memories and outbound actions an agent suggests wait for
136
136
  your confirmation. Project decisions can be delegated or left to the owner. Memo never sends anything.
@@ -146,7 +146,7 @@ More: [security](https://github.com/WireCatLabs/cli-memo/blob/main/docs/security
146
146
  - **Folders of notes:** Obsidian or plain Markdown, with links, aliases and tags.
147
147
  - **Documents in them:** TXT, CSV/TSV, text-layer PDF, DOCX, XLSX, ODT/ODS, PPTX and EPUB, with the page,
148
148
  row or cell each passage came from.
149
- - **Mail:** Gmail or another IMAP account, synced by the [mail](https://github.com/WireCatLabs/mail-cli) CLI, text and headers only. The older Himalaya import still reads attachments and will be removed in a later version.
149
+ - **Mail:** Gmail or another IMAP account, synced by the [mail](https://github.com/WireCatLabs/mail-cli) CLI, text and headers only.
150
150
  - **Messages:** the tg, max and wa store, with the people linked across messengers and mail.
151
151
 
152
152
  You add your own notes about messages, people and projects, tags, tasks and reminders, organizations and
@@ -269,11 +269,9 @@ memo search mail 'mailbox:important budget'
269
269
  memo messages show <ref>
270
270
  ```
271
271
 
272
- Memo can still import mail itself through [Himalaya](https://github.com/pimalaya/himalaya). That older path works for
273
- now and will be removed in a later version. It reads attachments' text, and `memo sync` and the timer read every
274
- account in `mail.accounts` (`--source email:<name>` narrows it). `memo mail inspect`, `rules`, `delete` and `restore`
275
- work on those accounts. Set `"import": false` on an account that `mail` now syncs: memo's sync skips it and keeps
276
- its rules, delete, restore and inspect commands. To see how far a mailbox synced by `mail` is, run `mail <profile> status`.
272
+ Memo never opens a mailbox. Looking at a mailbox before a sync (`mail <profile> account inspect`), a Google Takeout
273
+ archive (`mail <profile> messages import`), rules and cleanup are commands of `mail`; `memo sync` and its timer only
274
+ prepare the stored mail for search by meaning. To see how far a mailbox synced, run `mail <profile> status`.
277
275
 
278
276
  More: [mail](https://github.com/WireCatLabs/cli-memo/blob/main/docs/mail.md) ·
279
277
  [mail on wirecat.dev](https://wirecat.dev/en/docs/memo/mail)
@@ -330,12 +328,11 @@ More: [keeping memo up to date](https://github.com/WireCatLabs/cli-memo/blob/mai
330
328
  ## Configuration
331
329
 
332
330
  `memo folders add` and `memo jobs start` write `~/.config/cli-memo/config.json` for you. By hand you set what
333
- to skip and where exported notes go; `memo mail add` adds an explicit Himalaya account (the older mail import):
331
+ to skip and where exported notes go:
334
332
 
335
333
  ```json
336
334
  {
337
- "notes": { "ignore": ["Journal/Private.md", "Archive"], "export": { "dir": "/path/to/vault/memo" } },
338
- "mail": { "accounts": [{ "name": "work", "address": "you@example.com" }] }
335
+ "notes": { "ignore": ["Journal/Private.md", "Archive"], "export": { "dir": "/path/to/vault/memo" } }
339
336
  }
340
337
  ```
341
338
 
@@ -344,7 +341,7 @@ More: [configuration](https://github.com/WireCatLabs/cli-memo/blob/main/docs/con
344
341
 
345
342
  ## Security
346
343
 
347
- - Imports read note folders and mailboxes without changing them or marking mail as read. Memo never sends mail or changes a mailbox; Gmail cleanup is a command of `mail`.
344
+ - Imports read note folders without changing them. Memo never opens a mailbox, sends mail or changes one; reading and cleaning up mail are commands of `mail`.
348
345
  - What memo adds — your notes, links, tags, tasks, memories — stays in the local store.
349
346
  - A note or mail deleted at the source loses its text in the store on the next import; a run that finds an
350
347
  unusually large share missing deletes nothing and says so.
@@ -406,7 +403,7 @@ repository's issues.
406
403
  | [Tags](https://github.com/WireCatLabs/cli-memo/blob/main/docs/tags.md) | Labels on any source |
407
404
  | [Search](https://github.com/WireCatLabs/cli-memo/blob/main/docs/search.md) | Search words, `search all`, `answers create` |
408
405
  | [People and projects](https://github.com/WireCatLabs/cli-memo/blob/main/docs/people.md) | Person context, linking, organizations, relationships |
409
- | [Mail](https://github.com/WireCatLabs/cli-memo/blob/main/docs/mail.md) | Bring mail in with `mail`, search it in memo, and the older Himalaya import |
406
+ | [Mail](https://github.com/WireCatLabs/cli-memo/blob/main/docs/mail.md) | Bring mail in with `mail`, search it in memo, an agent that proposes tasks from new mail |
410
407
  | [Tasks and reminders](https://github.com/WireCatLabs/cli-memo/blob/main/docs/tasks.md) | Tasks, dependencies and local reminders |
411
408
  | [Memories and facts](https://github.com/WireCatLabs/cli-memo/blob/main/docs/memories.md) | What agents and you record, and proposed actions |
412
409
  | [The MCP server](https://github.com/WireCatLabs/cli-memo/blob/main/docs/mcp.md) | Apps without a terminal, the agent log |
package/dist/app.d.ts CHANGED
@@ -9,7 +9,7 @@ export declare const APP: {
9
9
  errors: {
10
10
  reasons: {
11
11
  reason: string;
12
- code: "authentication_error" | "cancelled" | "configuration_error" | "confirmation_required" | "internal_error" | "invalid_response" | "network_error" | "not_found" | "outcome_unknown" | "permission_error" | "provider_error" | "provider_unavailable" | "rate_limited" | "timeout" | "validation_error";
12
+ code: "authentication_error" | "cancelled" | "configuration_error" | "confirmation_required" | "conflict" | "internal_error" | "invalid_response" | "network_error" | "not_found" | "outcome_unknown" | "permission_error" | "provider_error" | "provider_unavailable" | "rate_limited" | "timeout" | "validation_error";
13
13
  message: string;
14
14
  details: string[];
15
15
  step?: string | undefined;
package/dist/bin/memo.js CHANGED
@@ -9,7 +9,7 @@ if (
9
9
  (words[0] === "--version" || words[0] === "-V") &&
10
10
  !Object.keys(process.env).some((key) => key.endsWith("_TEST_ARGV_LOG"))
11
11
  ) {
12
- process.stdout.write("0.131.24\n")
12
+ process.stdout.write("0.131.25\n")
13
13
  } else {
14
14
  // Before the bundle compiles: the bundle's own call comes after its chunks.
15
15
  module.enableCompileCache()
@@ -28,7 +28,7 @@ if (
28
28
  : next(specifier, context),
29
29
  })
30
30
  }
31
- const chunks = ["../bundle/all-profiles-ZCJTYGOL.js","../bundle/anthropic-7WVLAKTX.js","../bundle/app-server-6G3SXEHO.js","../bundle/auto-JWPM5654.js","../bundle/bun-JVBDJKBB.js","../bundle/bun-sqlite-P4I7NVMQ.js","../bundle/command-contract-543RRFNU.js","../bundle/decode-YHX3DQG2.js","../bundle/dispatch-MELZFYOS.js","../bundle/dist-GZQWFMCL.js","../bundle/echarts-FBVAP7BR.js","../bundle/embed-CQJ42S5C.js","../bundle/embedder-EDXLEJ27.js","../bundle/entry-HZEA7QFK.js","../bundle/failure-62G7QSPX.js","../bundle/failure-RBNZBCZJ.js","../bundle/first-run-JZQN7R6M.js","../bundle/first-screen-56V3UOQE.js","../bundle/instructions-NYVYNWVU.js","../bundle/mcp-MNI62HHE.js","../bundle/mcp-Y6IPYDS2.js","../bundle/node-2QE6UPGS.js","../bundle/node-P4E63KXA.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-SDHZJNY7.js","../bundle/oauth-FFUJREKS.js","../bundle/open-NT2GYX6N.js","../bundle/openai-IQA2XR6Z.js","../bundle/process-HIEJXYW6.js","../bundle/program-DEMRKCZY.js","../bundle/prompt-IOZAME2R.js","../bundle/recognize-2XOAZJ5N.js","../bundle/remote-2LE7OTDA.js","../bundle/rerank-UKOVVZM6.js","../bundle/serve-S2UHPEBP.js","../bundle/server-3YNOEPWU.js","../bundle/server-BG4WWQHY.js","../bundle/server-EZWQ5KP4.js","../bundle/setup-2X7ADKFH.js","../bundle/state-F5KT3CBD.js","../bundle/stdio-FRV4R7LJ.js","../bundle/store-WBUUS7FO.js","../bundle/store-maintenance-command-KLST56XF.js","../bundle/update-WH4CGJGP.js"]
31
+ const chunks = ["../bundle/all-profiles-L2T7PQ7S.js","../bundle/anthropic-KWI2B4O2.js","../bundle/app-server-GLDIS3HE.js","../bundle/auto-QFG57LR6.js","../bundle/bun-SMKYTOGI.js","../bundle/bun-sqlite-PKY3JXMR.js","../bundle/command-contract-47EKA67S.js","../bundle/decode-EEDEXCHR.js","../bundle/dispatch-CU5KGRQL.js","../bundle/dist-GZQWFMCL.js","../bundle/echarts-36MD3UZF.js","../bundle/embed-R6JZ4CDW.js","../bundle/embedder-XUIOKCH6.js","../bundle/entry-WOAZRQ5F.js","../bundle/failure-BHRE5S75.js","../bundle/failure-TUXXI6JT.js","../bundle/first-run-3ZUSIFQJ.js","../bundle/first-screen-WQ2IDXDP.js","../bundle/instructions-7VMPJMUM.js","../bundle/mcp-I7LL7AJG.js","../bundle/mcp-PPVOM4SE.js","../bundle/node-P4E63KXA.js","../bundle/node-SBHCG4ZC.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-EMKROM5U.js","../bundle/oauth-OJPTUA5K.js","../bundle/open-XI2AVS5B.js","../bundle/openai-NCYTRZB6.js","../bundle/process-373B2EBA.js","../bundle/program-VW7IJ755.js","../bundle/prompt-L3KQBPNH.js","../bundle/recognize-GFWZX4F6.js","../bundle/remote-5IGAYQBB.js","../bundle/rerank-6HWHGDFX.js","../bundle/serve-AA7RKEOM.js","../bundle/server-MWUCYBJF.js","../bundle/server-XEY5AKKG.js","../bundle/server-Z6L4U6HO.js","../bundle/state-3WTPOBXR.js","../bundle/stdio-FRV4R7LJ.js","../bundle/store-LNP5BXUL.js","../bundle/store-maintenance-command-6HEGTKPL.js","../bundle/update-6GWVILUX.js"]
32
32
  if (((words) => words
33
33
  .filter((word) => !word.startsWith("-"))
34
34
  .slice(0, 2)
@@ -6,19 +6,19 @@ import {
6
6
  serveAllProfilesOverHttp,
7
7
  serveAllProfilesOverStdio,
8
8
  withProfile
9
- } from "./chunk-SKTGBVYC.js";
10
- import "./chunk-EB7LKK4K.js";
11
- import "./chunk-INTF3YPV.js";
9
+ } from "./chunk-SW5YJCHC.js";
10
+ import "./chunk-ERQHZZNF.js";
11
+ import "./chunk-RKLZQVKL.js";
12
12
  import "./chunk-MM5NVP7F.js";
13
13
  import "./chunk-3X4JM3ZR.js";
14
14
  import "./chunk-H3ZN4YLB.js";
15
- import "./chunk-UA2C4BCH.js";
16
- import "./chunk-GRXVN2X7.js";
17
- import "./chunk-NUN6OGOV.js";
18
- import "./chunk-T4LW6UYQ.js";
19
- import "./chunk-JY4LVWGZ.js";
15
+ import "./chunk-NFTWNCEL.js";
16
+ import "./chunk-QA674BMY.js";
17
+ import "./chunk-LU3WKZBA.js";
18
+ import "./chunk-TZ7WDQPD.js";
19
+ import "./chunk-G2BB5WY5.js";
20
20
  import "./chunk-Y5E2WNWB.js";
21
- import "./chunk-CCHHEMPM.js";
21
+ import "./chunk-EB2IULWB.js";
22
22
  import "./chunk-ZVVMGPBJ.js";
23
23
  export {
24
24
  CHILD_IDLE_MS,
@@ -2,28 +2,28 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  checkedOptions
5
- } from "./chunk-ZOYGY2PN.js";
5
+ } from "./chunk-ENU2556X.js";
6
6
  import {
7
7
  messagesFor,
8
8
  systemFor
9
- } from "./chunk-ALGIPJ6L.js";
9
+ } from "./chunk-6OP743NB.js";
10
10
  import {
11
11
  Anthropic
12
12
  } from "./chunk-ADLS6FVG.js";
13
- import "./chunk-T4LW6UYQ.js";
13
+ import "./chunk-TZ7WDQPD.js";
14
14
  import {
15
15
  array,
16
16
  optional,
17
17
  strictObject,
18
18
  string
19
- } from "./chunk-JY4LVWGZ.js";
19
+ } from "./chunk-G2BB5WY5.js";
20
20
  import "./chunk-Y5E2WNWB.js";
21
- import "./chunk-CCHHEMPM.js";
21
+ import "./chunk-EB2IULWB.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/models/anthropic.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/models/anthropic.js
27
27
  var options = strictObject({
28
28
  stop_sequences: optional(array(string()))
29
29
  });
@@ -3,29 +3,29 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PER_RUN,
5
5
  envelope
6
- } from "./chunk-3KNXQZMO.js";
6
+ } from "./chunk-MZS3LIMW.js";
7
7
  import {
8
8
  answered,
9
9
  failed,
10
10
  registerCommands,
11
11
  runCommandForAgent,
12
12
  toolsFromCommands
13
- } from "./chunk-LNXFM4FD.js";
14
- import "./chunk-MROFZXAB.js";
13
+ } from "./chunk-4AONXXP2.js";
14
+ import "./chunk-ZUV337F2.js";
15
15
  import {
16
16
  mcpUrlOf
17
- } from "./chunk-EGG3PGCM.js";
17
+ } from "./chunk-T3R6QHD2.js";
18
18
  import {
19
19
  agentJson,
20
20
  skillResource
21
- } from "./chunk-FXHN2UZW.js";
21
+ } from "./chunk-VZ3K7IYC.js";
22
22
  import {
23
23
  appInstructions
24
- } from "./chunk-NAH473ZR.js";
24
+ } from "./chunk-KFZGI7BU.js";
25
25
  import {
26
26
  answeredWire
27
- } from "./chunk-EB7LKK4K.js";
28
- import "./chunk-INTF3YPV.js";
27
+ } from "./chunk-ERQHZZNF.js";
28
+ import "./chunk-RKLZQVKL.js";
29
29
  import {
30
30
  StdioServerTransport,
31
31
  serveStdio
@@ -34,10 +34,10 @@ import "./chunk-3X4JM3ZR.js";
34
34
  import {
35
35
  McpServer
36
36
  } from "./chunk-H3ZN4YLB.js";
37
- import "./chunk-VVEFQEWP.js";
38
- import "./chunk-J6D34BFP.js";
39
- import "./chunk-ELKYINWL.js";
40
- import "./chunk-3MER7NE6.js";
37
+ import "./chunk-7Y6O4UQB.js";
38
+ import "./chunk-YMAS7U5X.js";
39
+ import "./chunk-UWUP3A5H.js";
40
+ import "./chunk-UQS6Y2A7.js";
41
41
  import {
42
42
  DEFAULT_OUTPUT_BYTES,
43
43
  changesAuthorityAt,
@@ -46,49 +46,49 @@ import {
46
46
  judgedTargets,
47
47
  readsOverMcpAt,
48
48
  rootOf2 as rootOf
49
- } from "./chunk-EACY2ULS.js";
50
- import "./chunk-UA2C4BCH.js";
51
- import "./chunk-JCCL7RGH.js";
52
- import "./chunk-PQLBPYJR.js";
53
- import "./chunk-CM2H7NRC.js";
49
+ } from "./chunk-JLBKAIVT.js";
50
+ import "./chunk-NFTWNCEL.js";
51
+ import "./chunk-I7PL5WX2.js";
52
+ import "./chunk-YPF6OS37.js";
53
+ import "./chunk-I5LIEFQR.js";
54
54
  import {
55
55
  readOnlyLockOf
56
- } from "./chunk-R3LNQ3I4.js";
56
+ } from "./chunk-WHVH72AD.js";
57
57
  import {
58
58
  mcpHttpMarker
59
- } from "./chunk-VLPMB3UU.js";
60
- import "./chunk-LWIMGWKB.js";
61
- import "./chunk-5YCNCXL5.js";
62
- import "./chunk-GQOXFZBX.js";
63
- import "./chunk-KQSHIQSV.js";
64
- import "./chunk-GRXVN2X7.js";
65
- import "./chunk-2IRCJT4O.js";
66
- import "./chunk-UPXUE27A.js";
67
- import "./chunk-ND3GBFEY.js";
68
- import "./chunk-ALGIPJ6L.js";
69
- import "./chunk-ITQBXFMC.js";
70
- import "./chunk-MPVW7BQZ.js";
71
- import "./chunk-RTESJ5O2.js";
72
- import "./chunk-UXCDBNAY.js";
73
- import "./chunk-ILHTNOIV.js";
74
- import "./chunk-NUN6OGOV.js";
59
+ } from "./chunk-ZVEGLXYB.js";
60
+ import "./chunk-D5ZV7PRP.js";
61
+ import "./chunk-JVNSHN2J.js";
62
+ import "./chunk-5SKYUS4U.js";
63
+ import "./chunk-VGYXKQJE.js";
64
+ import "./chunk-QA674BMY.js";
65
+ import "./chunk-XFDE6AL4.js";
66
+ import "./chunk-ZLB2CM7Z.js";
67
+ import "./chunk-EEVUVWHW.js";
68
+ import "./chunk-6OP743NB.js";
69
+ import "./chunk-QJJSMLBR.js";
70
+ import "./chunk-LFNJ6CG6.js";
71
+ import "./chunk-J7T6RSR5.js";
72
+ import "./chunk-INA5WGY7.js";
73
+ import "./chunk-KV4267S4.js";
74
+ import "./chunk-LU3WKZBA.js";
75
75
  import "./chunk-D72URWJE.js";
76
- import "./chunk-UVR6U55E.js";
77
- import "./chunk-AIGMYGEL.js";
78
- import "./chunk-T4LW6UYQ.js";
76
+ import "./chunk-EFTJ4RTT.js";
77
+ import "./chunk-ILUTSRU3.js";
78
+ import "./chunk-TZ7WDQPD.js";
79
79
  import {
80
80
  mcpErrorResult
81
- } from "./chunk-JY4LVWGZ.js";
81
+ } from "./chunk-G2BB5WY5.js";
82
82
  import "./chunk-Y5E2WNWB.js";
83
83
  import {
84
84
  CliError
85
- } from "./chunk-CCHHEMPM.js";
86
- import "./chunk-OQK2IKPB.js";
85
+ } from "./chunk-EB2IULWB.js";
86
+ import "./chunk-E2WPSRCI.js";
87
87
  import {
88
88
  __name
89
89
  } from "./chunk-ZVVMGPBJ.js";
90
90
 
91
- // node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
91
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
92
92
  var EXCLUDED = [["mcp"]];
93
93
  var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
94
94
  const { app } = options;
@@ -203,7 +203,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
203
203
  var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
204
204
  const { app } = options;
205
205
  const { build } = createAppServer(command, context, options);
206
- const { serveOverHttp } = await import("./serve-S2UHPEBP.js");
206
+ const { serveOverHttp } = await import("./serve-AA7RKEOM.js");
207
207
  const listening = await serveOverHttp(build, {
208
208
  ...http,
209
209
  appName: app.command,
@@ -0,0 +1,86 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ DEFAULT_EVERY,
5
+ PLACE_VARIABLES,
6
+ applyAuto,
7
+ autoCommand,
8
+ autoNotice,
9
+ autoState,
10
+ followInstall,
11
+ globalRoots,
12
+ interval,
13
+ lastAutoRun,
14
+ placesOf,
15
+ recordAutoRun,
16
+ serviceUnit,
17
+ timerUnit
18
+ } from "./chunk-IE27DJP3.js";
19
+ import "./chunk-MWX7UJCL.js";
20
+ import "./chunk-MAUKGKRA.js";
21
+ import "./chunk-QP3KNC5D.js";
22
+ import "./chunk-POXCMAM7.js";
23
+ import "./chunk-SBMBBVXF.js";
24
+ import "./chunk-5GMOYTJQ.js";
25
+ import "./chunk-ZUV337F2.js";
26
+ import "./chunk-T3R6QHD2.js";
27
+ import "./chunk-VZ3K7IYC.js";
28
+ import "./chunk-ON5SHKHB.js";
29
+ import "./chunk-7Y6O4UQB.js";
30
+ import "./chunk-YMAS7U5X.js";
31
+ import "./chunk-UWUP3A5H.js";
32
+ import "./chunk-ZKZT6PCF.js";
33
+ import "./chunk-HTQTIKWP.js";
34
+ import "./chunk-UQS6Y2A7.js";
35
+ import "./chunk-JLBKAIVT.js";
36
+ import "./chunk-NFTWNCEL.js";
37
+ import "./chunk-FS3ABWVX.js";
38
+ import "./chunk-I7PL5WX2.js";
39
+ import "./chunk-YPF6OS37.js";
40
+ import "./chunk-I5LIEFQR.js";
41
+ import "./chunk-BX7DVBWD.js";
42
+ import "./chunk-WHVH72AD.js";
43
+ import "./chunk-ZVEGLXYB.js";
44
+ import "./chunk-D5ZV7PRP.js";
45
+ import "./chunk-JVNSHN2J.js";
46
+ import "./chunk-5SKYUS4U.js";
47
+ import "./chunk-VGYXKQJE.js";
48
+ import "./chunk-QA674BMY.js";
49
+ import "./chunk-XFDE6AL4.js";
50
+ import "./chunk-ZLB2CM7Z.js";
51
+ import "./chunk-RTII6JWI.js";
52
+ import "./chunk-EEVUVWHW.js";
53
+ import "./chunk-ENU2556X.js";
54
+ import "./chunk-6OP743NB.js";
55
+ import "./chunk-QJJSMLBR.js";
56
+ import "./chunk-LFNJ6CG6.js";
57
+ import "./chunk-J7T6RSR5.js";
58
+ import "./chunk-INA5WGY7.js";
59
+ import "./chunk-5JYB6QKS.js";
60
+ import "./chunk-KV4267S4.js";
61
+ import "./chunk-LU3WKZBA.js";
62
+ import "./chunk-D72URWJE.js";
63
+ import "./chunk-EFTJ4RTT.js";
64
+ import "./chunk-ILUTSRU3.js";
65
+ import "./chunk-TZ7WDQPD.js";
66
+ import "./chunk-G2BB5WY5.js";
67
+ import "./chunk-Y5E2WNWB.js";
68
+ import "./chunk-EB2IULWB.js";
69
+ import "./chunk-E2WPSRCI.js";
70
+ import "./chunk-ZVVMGPBJ.js";
71
+ export {
72
+ DEFAULT_EVERY,
73
+ PLACE_VARIABLES,
74
+ applyAuto,
75
+ autoCommand,
76
+ autoNotice,
77
+ autoState,
78
+ followInstall,
79
+ globalRoots,
80
+ interval,
81
+ lastAutoRun,
82
+ placesOf,
83
+ recordAutoRun,
84
+ serviceUnit,
85
+ timerUnit
86
+ };
@@ -18,12 +18,12 @@ import {
18
18
  jitCompatCheck,
19
19
  refineSqliteCodecs,
20
20
  sql
21
- } from "./chunk-OQK2IKPB.js";
21
+ } from "./chunk-E2WPSRCI.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
27
27
  import { Database } from "bun:sqlite";
28
28
  var bunSQLiteCodecs = refineSqliteCodecs({
29
29
  "integer:boolean": { normalize: booleanFromInteger },
@@ -3,18 +3,18 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  loadVectorExtension,
5
5
  vectorExtension
6
- } from "./chunk-UY2VH3QK.js";
7
- import "./chunk-T4LW6UYQ.js";
8
- import "./chunk-JY4LVWGZ.js";
6
+ } from "./chunk-5ANNUWNM.js";
7
+ import "./chunk-TZ7WDQPD.js";
8
+ import "./chunk-G2BB5WY5.js";
9
9
  import {
10
10
  importFrom
11
11
  } from "./chunk-Y5E2WNWB.js";
12
- import "./chunk-CCHHEMPM.js";
12
+ import "./chunk-EB2IULWB.js";
13
13
  import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
18
18
  var customised = false;
19
19
  var ownLibrary = /* @__PURE__ */ __name(async () => {
20
20
  try {
@@ -8,12 +8,12 @@ import {
8
8
  ACCESS_SECONDS,
9
9
  REFRESH_SECONDS,
10
10
  readStored
11
- } from "./chunk-VLPMB3UU.js";
11
+ } from "./chunk-ZVEGLXYB.js";
12
12
  import {
13
13
  __name
14
14
  } from "./chunk-ZVVMGPBJ.js";
15
15
 
16
- // node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/mcp/http/oauth.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/mcp/http/oauth.js
17
17
  import { createHash, randomBytes, randomInt, timingSafeEqual } from "node:crypto";
18
18
  import { chmodSync, mkdirSync, renameSync, rmSync, writeFileSync } from "node:fs";
19
19
  import { dirname } from "node:path";