@wirecat/mail-cli 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (185) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/README.md +8 -4
  3. package/dist/bin/mail.js +2 -2
  4. package/dist/bundle/{all-profiles-GBFTKUHA.js → all-profiles-SI67TKZM.js} +6 -6
  5. package/dist/bundle/{anthropic-PTSCWUG6.js → anthropic-DALMLC3Y.js} +4 -4
  6. package/dist/bundle/{app-server-5VJ2WCKJ.js → app-server-XOH327Z2.js} +41 -41
  7. package/dist/bundle/{bun-2KRUBPIN.js → bun-ORL67CJ6.js} +2 -2
  8. package/dist/bundle/{bun-sqlite-ELSRSJBM.js → bun-sqlite-DGXFNFHI.js} +3 -3
  9. package/dist/bundle/{chunk-B337KHJ5.js → chunk-23IEVVL2.js} +1 -1
  10. package/dist/bundle/{chunk-PKU6V4EQ.js → chunk-2M4K7HYR.js} +16 -16
  11. package/dist/bundle/{chunk-RDSAI6DC.js → chunk-35KD2CI2.js} +349 -254
  12. package/dist/bundle/{chunk-J4C32YKH.js → chunk-3GZK5GTU.js} +1 -1
  13. package/dist/bundle/{chunk-OHV5RDFE.js → chunk-3TYEJRMZ.js} +3 -3
  14. package/dist/bundle/{chunk-AGX7NR3S.js → chunk-45KA5667.js} +12 -12
  15. package/dist/bundle/{chunk-YBJMBPL7.js → chunk-4NYWHINR.js} +5 -5
  16. package/dist/bundle/{chunk-JKLQHPED.js → chunk-4ULY3GDL.js} +9 -9
  17. package/dist/bundle/{chunk-O555ZEQR.js → chunk-5BSEGMNE.js} +3 -3
  18. package/dist/bundle/{chunk-ZPGLWMNH.js → chunk-5JEYIHS6.js} +3 -3
  19. package/dist/bundle/{chunk-56PI2BRH.js → chunk-6LK7KTWB.js} +1 -1
  20. package/dist/bundle/{chunk-ES4PWHBJ.js → chunk-6RMMAUUW.js} +26 -26
  21. package/dist/bundle/{chunk-TKJDGAHT.js → chunk-6XNPXAJU.js} +31 -25
  22. package/dist/bundle/{chunk-PBYDT3CG.js → chunk-73OJJGZE.js} +3 -2
  23. package/dist/bundle/{chunk-WGK4AIRL.js → chunk-7K6KJWTO.js} +11 -11
  24. package/dist/bundle/{chunk-FIQOBLHS.js → chunk-AP7V256W.js} +1 -1
  25. package/dist/bundle/{chunk-K5JUROGN.js → chunk-BEMLGWY4.js} +1 -1
  26. package/dist/bundle/{chunk-P5B7IFOG.js → chunk-BGUMGCUY.js} +1 -1
  27. package/dist/bundle/{chunk-NZB4WGQS.js → chunk-CAKBG5FC.js} +5 -5
  28. package/dist/bundle/{chunk-RAZOSYEO.js → chunk-DKQWTQVY.js} +22 -22
  29. package/dist/bundle/{chunk-TPNC5VCJ.js → chunk-DXGMPMFP.js} +4 -4
  30. package/dist/bundle/{chunk-5AQKM47C.js → chunk-E3DRM6YP.js} +2 -2
  31. package/dist/bundle/{chunk-JFJTDL22.js → chunk-EYT33MM3.js} +44 -44
  32. package/dist/bundle/{chunk-LWTG5UOF.js → chunk-FPOGVDLS.js} +2 -2
  33. package/dist/bundle/{chunk-5KHJUYHQ.js → chunk-FTFNWGIR.js} +6 -6
  34. package/dist/bundle/{chunk-4PKHZQIM.js → chunk-GJUUTUK4.js} +7 -7
  35. package/dist/bundle/{chunk-NOU6MWEM.js → chunk-HFJNEXU7.js} +1 -1
  36. package/dist/bundle/{chunk-M7V3GSJQ.js → chunk-HV3EIYX4.js} +1 -1
  37. package/dist/bundle/{chunk-H4VFIH5W.js → chunk-IYZHM3ZN.js} +2 -2
  38. package/dist/bundle/{chunk-DA46WQEA.js → chunk-JFMUI4H6.js} +1 -1
  39. package/dist/bundle/{chunk-VF24ZAPX.js → chunk-LZ5J3UXD.js} +3 -3
  40. package/dist/bundle/{chunk-Y7JKWQC2.js → chunk-M2JCUVCJ.js} +112 -93
  41. package/dist/bundle/{chunk-KUQYWIVR.js → chunk-MCJ7LKYR.js} +5 -5
  42. package/dist/bundle/{chunk-XERTHQ6D.js → chunk-MHQKHWCJ.js} +14 -14
  43. package/dist/bundle/{chunk-VEAP5RVI.js → chunk-MMXMVGA6.js} +6 -6
  44. package/dist/bundle/{chunk-PHPC72DP.js → chunk-NNIXREJH.js} +5 -5
  45. package/dist/bundle/{chunk-UAXBLHZK.js → chunk-OHTR4WFO.js} +2 -2
  46. package/dist/bundle/{chunk-SAZJDKEI.js → chunk-PDL4UREY.js} +6 -6
  47. package/dist/bundle/{chunk-JLRMSNPX.js → chunk-Q2C3VMSU.js} +2 -0
  48. package/dist/bundle/{chunk-JIQAFFPV.js → chunk-Q44AYEOB.js} +2 -2
  49. package/dist/bundle/{chunk-6MV2TBDB.js → chunk-R5MML3FC.js} +51 -47
  50. package/dist/bundle/{chunk-ZRYFEEXZ.js → chunk-RQVWZBW3.js} +2 -2
  51. package/dist/bundle/{chunk-3KY7DA5A.js → chunk-S4YUR4S3.js} +426 -336
  52. package/dist/bundle/{chunk-MD2J3POF.js → chunk-U6UJ3HRS.js} +7 -1
  53. package/dist/bundle/{chunk-XZGLY2LU.js → chunk-V4TDG4KF.js} +10 -10
  54. package/dist/bundle/{chunk-ZMMIIBTM.js → chunk-VBOMKZ4E.js} +42 -42
  55. package/dist/bundle/{chunk-NCWO2FNC.js → chunk-VKPWP3AK.js} +1 -1
  56. package/dist/bundle/{chunk-O7VK7CJX.js → chunk-VNJMO5F6.js} +2 -2
  57. package/dist/bundle/{chunk-J5MYH4L5.js → chunk-VSHJWTX5.js} +5 -5
  58. package/dist/bundle/{chunk-DV4RSEAH.js → chunk-XQJWMBDY.js} +5 -5
  59. package/dist/bundle/{chunk-JKA2AICL.js → chunk-ZKCNMW7G.js} +1 -1
  60. package/dist/bundle/{chunk-WCL3WBH5.js → chunk-ZKZABB4K.js} +1 -1
  61. package/dist/bundle/{chunk-BVIHT7KR.js → chunk-ZNGQ3NZ4.js} +8 -8
  62. package/dist/bundle/{command-contract-NZF4B5OR.js → command-contract-CB5BII3S.js} +14 -14
  63. package/dist/bundle/{decode-HVXDCQ63.js → decode-KOBURZIQ.js} +3 -3
  64. package/dist/bundle/{dist-43DZXMBL.js → dist-T7HMT675.js} +10 -10
  65. package/dist/bundle/{echarts-LZ74IXHG.js → echarts-LEWTQO6H.js} +2 -2
  66. package/dist/bundle/{embed-OQF5U2C6.js → embed-PUFE4BSQ.js} +4 -4
  67. package/dist/bundle/{embedder-OCWQAWKO.js → embedder-3G4BQQ6X.js} +7 -7
  68. package/dist/bundle/{first-run-MTZPUPGA.js → first-run-FLXOC53U.js} +7 -7
  69. package/dist/bundle/first-screen-VUZEDSQW.js +32 -0
  70. package/dist/bundle/{instructions-M6F4FP7U.js → instructions-HGSXDCBT.js} +1 -1
  71. package/dist/bundle/mail.js +3 -3
  72. package/dist/bundle/{node-NYBBFHGN.js → node-5Z7PS4F5.js} +2 -2
  73. package/dist/bundle/{node-sqlite-CWCNWO75.js → node-sqlite-OAW7APIX.js} +3 -3
  74. package/dist/bundle/{oauth-DVX45EME.js → oauth-ZFZWPAJN.js} +5 -5
  75. package/dist/bundle/{open-M7EQWWHL.js → open-ZQMBZVH4.js} +2 -2
  76. package/dist/bundle/{openai-63KRU5H2.js → openai-XT2RIXAK.js} +11 -11
  77. package/dist/bundle/{process-DV5GQIGM.js → process-VVEQIHPE.js} +1 -1
  78. package/dist/bundle/{program-EPR3QCMX.js → program-RD3BBDNY.js} +2391 -941
  79. package/dist/bundle/{prompt-EPWPWTB3.js → prompt-PU7GE4Z4.js} +3 -3
  80. package/dist/bundle/{recognize-R46KDXK4.js → recognize-AG4A3KUK.js} +2 -2
  81. package/dist/bundle/{remote-RENCYB5X.js → remote-D6TQ6T7F.js} +5 -5
  82. package/dist/bundle/{rerank-VHPC5O73.js → rerank-GO24HJPF.js} +5 -5
  83. package/dist/bundle/{serve-KCH3ORYO.js → serve-WCHJAH6G.js} +7 -7
  84. package/dist/bundle/server-5KJJ3D6P.js +63 -0
  85. package/dist/bundle/{server-HZVXSK7B.js → server-CAVNBG3P.js} +33 -33
  86. package/dist/bundle/{sqlite-runtime-XP7ZJCKJ.js → sqlite-runtime-ANXC4AW2.js} +3 -3
  87. package/dist/bundle/{state-GQ4MEQJ5.js → state-EGJ66A62.js} +4 -4
  88. package/dist/bundle/{store-WT7YTR3Y.js → store-OON7FCMQ.js} +12 -12
  89. package/dist/bundle/{store-CQNLNINW.js → store-SBFA444C.js} +10 -10
  90. package/dist/bundle/store-maintenance-command-UEOJLYMJ.js +52 -0
  91. package/dist/commands/attachments.js +2 -2
  92. package/dist/commands/attachments.js.map +1 -1
  93. package/dist/commands/context.d.ts +21 -6
  94. package/dist/commands/context.d.ts.map +1 -1
  95. package/dist/commands/context.js +47 -6
  96. package/dist/commands/context.js.map +1 -1
  97. package/dist/commands/drafts.d.ts.map +1 -1
  98. package/dist/commands/drafts.js +20 -16
  99. package/dist/commands/drafts.js.map +1 -1
  100. package/dist/commands/export.d.ts.map +1 -1
  101. package/dist/commands/export.js +10 -7
  102. package/dist/commands/export.js.map +1 -1
  103. package/dist/commands/messages.d.ts.map +1 -1
  104. package/dist/commands/messages.js +13 -9
  105. package/dist/commands/messages.js.map +1 -1
  106. package/dist/commands/read.d.ts.map +1 -1
  107. package/dist/commands/read.js +2 -1
  108. package/dist/commands/read.js.map +1 -1
  109. package/dist/commands/send.d.ts.map +1 -1
  110. package/dist/commands/send.js +5 -5
  111. package/dist/commands/send.js.map +1 -1
  112. package/dist/commands/session-start.d.ts.map +1 -1
  113. package/dist/commands/session-start.js +107 -10
  114. package/dist/commands/session-start.js.map +1 -1
  115. package/dist/commands/session.d.ts.map +1 -1
  116. package/dist/commands/session.js +72 -9
  117. package/dist/commands/session.js.map +1 -1
  118. package/dist/commands/stats.d.ts.map +1 -1
  119. package/dist/commands/stats.js +2 -3
  120. package/dist/commands/stats.js.map +1 -1
  121. package/dist/commands/status.js +2 -2
  122. package/dist/commands/status.js.map +1 -1
  123. package/dist/commands/sync.d.ts +0 -1
  124. package/dist/commands/sync.d.ts.map +1 -1
  125. package/dist/commands/sync.js +8 -15
  126. package/dist/commands/sync.js.map +1 -1
  127. package/dist/config.d.ts +3 -1
  128. package/dist/config.d.ts.map +1 -1
  129. package/dist/config.js +6 -1
  130. package/dist/config.js.map +1 -1
  131. package/dist/mail/backend.d.ts +23 -1
  132. package/dist/mail/backend.d.ts.map +1 -1
  133. package/dist/mail/backend.js +4 -1
  134. package/dist/mail/backend.js.map +1 -1
  135. package/dist/mail/compose.d.ts.map +1 -1
  136. package/dist/mail/compose.js +13 -25
  137. package/dist/mail/compose.js.map +1 -1
  138. package/dist/mail/doctor.d.ts +42 -0
  139. package/dist/mail/doctor.d.ts.map +1 -1
  140. package/dist/mail/doctor.js +76 -0
  141. package/dist/mail/doctor.js.map +1 -1
  142. package/dist/mail/drafts.d.ts.map +1 -1
  143. package/dist/mail/drafts.js +4 -4
  144. package/dist/mail/drafts.js.map +1 -1
  145. package/dist/mail/imap/connection.d.ts +6 -3
  146. package/dist/mail/imap/connection.d.ts.map +1 -1
  147. package/dist/mail/imap/connection.js +63 -16
  148. package/dist/mail/imap/connection.js.map +1 -1
  149. package/dist/mail/imap/index.d.ts +2 -2
  150. package/dist/mail/imap/index.d.ts.map +1 -1
  151. package/dist/mail/imap/index.js +3 -3
  152. package/dist/mail/imap/index.js.map +1 -1
  153. package/dist/mail/imap/search.d.ts.map +1 -1
  154. package/dist/mail/imap/search.js +10 -4
  155. package/dist/mail/imap/search.js.map +1 -1
  156. package/dist/mail/save.d.ts +2 -5
  157. package/dist/mail/save.d.ts.map +1 -1
  158. package/dist/mail/save.js +6 -27
  159. package/dist/mail/save.js.map +1 -1
  160. package/dist/mail/send.d.ts.map +1 -1
  161. package/dist/mail/send.js +1 -0
  162. package/dist/mail/send.js.map +1 -1
  163. package/dist/mail/smtp.d.ts +3 -3
  164. package/dist/mail/smtp.d.ts.map +1 -1
  165. package/dist/mail/smtp.js +72 -36
  166. package/dist/mail/smtp.js.map +1 -1
  167. package/dist/oauth.d.ts +74 -0
  168. package/dist/oauth.d.ts.map +1 -0
  169. package/dist/oauth.js +230 -0
  170. package/dist/oauth.js.map +1 -0
  171. package/dist/program.js +2 -2
  172. package/dist/program.js.map +1 -1
  173. package/dist/providers.d.ts +25 -3
  174. package/dist/providers.d.ts.map +1 -1
  175. package/dist/providers.js +32 -8
  176. package/dist/providers.js.map +1 -1
  177. package/dist/reasons.d.ts.map +1 -1
  178. package/dist/reasons.js +6 -0
  179. package/dist/reasons.js.map +1 -1
  180. package/dist/version.d.ts +1 -1
  181. package/dist/version.js +1 -1
  182. package/package.json +3 -4
  183. package/dist/bundle/first-screen-4PBS6QK5.js +0 -32
  184. package/dist/bundle/server-FMCPE2ZK.js +0 -63
  185. package/dist/bundle/store-maintenance-command-YYR42IT4.js +0 -52
package/CHANGELOG.md CHANGED
@@ -2,6 +2,48 @@
2
2
 
3
3
  Notable changes to `@wirecat/mail-cli`. One section per version, newest first.
4
4
 
5
+ ## 0.7.0 — 01.11.2026
6
+
7
+ ### Changed — may break callers
8
+
9
+ - **`drafts delete` takes `--allow-dangerous`, not `--yes`**, because a draft deleted this way does not come back
10
+ (WC-PERM-9). Only the owner passes it; an agent over MCP gets a preview.
11
+
12
+ ### Added
13
+
14
+ - **`messages export --output` refuses credential folders** and the WireCat apps' folders, as `attachments download`
15
+ does.
16
+ - **Outlook.com and Microsoft 365 sign in with OAuth.** `mail <profile> session start --address <you>@outlook.com`
17
+ shows what it will ask for, opens Microsoft's page in the browser, logs in to IMAP with the new token, and only then
18
+ saves the profile and the tokens (keyring entry `oauth:microsoft:<profile>`). Sync and `messages send` use the token
19
+ over IMAP and SMTP (XOAUTH2), refreshing it as needed; a token the server refuses is refreshed once, then the error
20
+ `mail.oauth-refused` asks for a new sign-in. `session status` shows the app, scopes and expiry, never a token;
21
+ `session end` forgets the sign-in and names where Microsoft lists the app. `--no-browser` prints the link only.
22
+ - **`microsoft_client_id`**: the Microsoft app to sign in with, set by you once (`config set --defaults`); an agent
23
+ over MCP cannot change it. WireCat's own app is not registered yet, so for now this is required;
24
+ [register a Microsoft app](docs/oauth-microsoft.md) gives the steps.
25
+ - **Gmail over OAuth with your own Google app**: `session start --client-file <Desktop client JSON>`
26
+ (or, on a profile switched with `config set auth oauth`, `MAIL_GOOGLE_CLIENT_ID` and `MAIL_GOOGLE_CLIENT_SECRET`),
27
+ for an account that cannot make an app password. The signed-in address must match the profile's. Gmail profiles
28
+ keep app passwords unless switched.
29
+ [Gmail with your own Google app](docs/oauth-google.md) gives the steps: a Google project just for mail, published
30
+ without verification. `session end --revoke` asks Google to revoke it, which ends every sign-in of that project.
31
+ - **`mail doctor` lists each OAuth profile** with its app and last sign-in, from disk only, and warns from day 6 that
32
+ a Google app left in Testing ends its sign-ins on day 7.
33
+ - `session status` and `session list` answer `auth` too.
34
+
35
+ ### Fixed
36
+
37
+ - **An agent over MCP can attach several files**: `--file` of `messages send` and `messages forward` is a list there.
38
+ - **Sending a message no longer shortens the archive's coverage** to the last 10 minutes, which memo reported until
39
+ the next full sync.
40
+ - **`attachments list` and `download` show every attachment**, not the first 50, and `drafts update` keeps them all.
41
+ - **Attachments are saved through cli-core's atomic write**, which also syncs the file and the folder to disk.
42
+ - The `memo mail delete` command is named as it is now, in the docs and the help of `messages delete --rules`.
43
+ - **Microsoft 365 is its own provider**, found by its MX record, and sends through `smtp.office365.com:587`
44
+ ([Microsoft](https://learn.microsoft.com/en-us/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-microsoft-365-or-office-365));
45
+ Outlook.com keeps `smtp-mail.outlook.com`.
46
+
5
47
  ## 0.6.0 — 01.11.2026
6
48
 
7
49
  ### Added
package/README.md CHANGED
@@ -93,7 +93,7 @@ as data, never as instructions.
93
93
  search in memo finds a person's mail and messages together.
94
94
  - **Changes you can undo.** `messages delete` goes to Trash, and every change run keeps a record that
95
95
  `messages restore` plays back. What is lost for good is named so and previewed first: `drafts delete`, and
96
- `folders delete` of a folder that holds mail, which only the owner can run. The profile's permissions,
96
+ `folders delete` of a folder that holds mail, which only the owner can run (`--allow-dangerous`). The profile's permissions,
97
97
  `MAIL_READ_ONLY=1` and a preview before every deletion stand between an agent and the mailbox, and an agent over
98
98
  MCP mails only you until you allow more.
99
99
  - **It works with the mailbox you have.** Yandex, Gmail, iCloud, Mail.ru, Fastmail and other servers with IMAP and
@@ -108,8 +108,10 @@ profiles.
108
108
 
109
109
  `mail` signs in with an app password, a password made only for this program, which the OS keyring keeps. For a domain
110
110
  it does not know, `session start` looks for the server through the MX record, Thunderbird's ISPDB and the domain's
111
- autoconfig file; `--provider` or `--host` skips that. **Outlook and Microsoft 365 are not supported yet**: Microsoft
112
- accepts only OAuth for IMAP, and `mail` does not do OAuth yet.
111
+ autoconfig file; `--provider` or `--host` skips that. Outlook.com and Microsoft 365 accept only OAuth, so for them
112
+ `session start` opens Microsoft's sign-in page in the browser instead of asking for a password, and keeps the tokens in
113
+ the same keyring. Until WireCat's Microsoft app is registered, this needs an app of your own, set once with
114
+ `mail config set --defaults microsoft_client_id <id>` ([register a Microsoft app](https://github.com/WireCatLabs/mail-cli/blob/main/docs/oauth-microsoft.md)).
113
115
 
114
116
  ## Settings and permissions
115
117
 
@@ -129,7 +131,9 @@ mail ya config show # every setting and where it came
129
131
  `folders delete --allow-dangerous` of a folder that holds mail (outside Gmail, its mail is gone).
130
132
  Undoing `messages copy` outside Gmail removes the copy for good, never the original.
131
133
  - Text and headers only: the text of attachments is stored, not the files, nor the original message.
132
- - No OAuth yet, so no Outlook or Microsoft 365, and no Google Workspace domain that turns app passwords off.
134
+ - Gmail over OAuth needs a Google app of your own
135
+ ([steps](https://github.com/WireCatLabs/mail-cli/blob/main/docs/oauth-google.md)); `mail` ships no Google app for
136
+ mail.
133
137
  - Gmail caps IMAP downloads at 2,500 MB a day; a new Yandex app password can take 2 to 3 hours to work.
134
138
  - Search reads the store and asks the mail server for mail `sync` has not read yet; `--backend archive` keeps to
135
139
  the store.
package/dist/bin/mail.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.6.0\n")
12
+ process.stdout.write("0.7.0\n")
13
13
  } else {
14
14
  // Before the bundle compiles: the bundle's own call comes after its chunks.
15
15
  module.enableCompileCache()
@@ -29,7 +29,7 @@ if (
29
29
  })
30
30
  }
31
31
  const running = import("../bundle/mail.js")
32
- const chunks = ["../bundle/all-profiles-GBFTKUHA.js","../bundle/anthropic-PTSCWUG6.js","../bundle/app-server-5VJ2WCKJ.js","../bundle/bun-2KRUBPIN.js","../bundle/bun-sqlite-ELSRSJBM.js","../bundle/decode-HVXDCQ63.js","../bundle/dispatch-GDAH4JHS.js","../bundle/dist-43DZXMBL.js","../bundle/dist-HFUVURJG.js","../bundle/echarts-LZ74IXHG.js","../bundle/embed-OQF5U2C6.js","../bundle/embedder-OCWQAWKO.js","../bundle/failure-6COJAO7T.js","../bundle/first-screen-4PBS6QK5.js","../bundle/instructions-M6F4FP7U.js","../bundle/mcp-GAPDLFWA.js","../bundle/node-KM3CUABH.js","../bundle/node-NYBBFHGN.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-CWCNWO75.js","../bundle/oauth-DVX45EME.js","../bundle/open-M7EQWWHL.js","../bundle/openai-63KRU5H2.js","../bundle/process-DV5GQIGM.js","../bundle/program-EPR3QCMX.js","../bundle/prompt-EPWPWTB3.js","../bundle/recognize-R46KDXK4.js","../bundle/remote-RENCYB5X.js","../bundle/rerank-VHPC5O73.js","../bundle/serve-KCH3ORYO.js","../bundle/server-FMCPE2ZK.js","../bundle/server-HZVXSK7B.js","../bundle/sqlite-runtime-XP7ZJCKJ.js","../bundle/state-GQ4MEQJ5.js","../bundle/store-CQNLNINW.js","../bundle/store-WT7YTR3Y.js","../bundle/store-maintenance-command-YYR42IT4.js"]
32
+ const chunks = ["../bundle/all-profiles-SI67TKZM.js","../bundle/anthropic-DALMLC3Y.js","../bundle/app-server-XOH327Z2.js","../bundle/bun-ORL67CJ6.js","../bundle/bun-sqlite-DGXFNFHI.js","../bundle/decode-KOBURZIQ.js","../bundle/dispatch-GDAH4JHS.js","../bundle/dist-HFUVURJG.js","../bundle/dist-T7HMT675.js","../bundle/echarts-LEWTQO6H.js","../bundle/embed-PUFE4BSQ.js","../bundle/embedder-3G4BQQ6X.js","../bundle/failure-6COJAO7T.js","../bundle/first-screen-VUZEDSQW.js","../bundle/instructions-HGSXDCBT.js","../bundle/mcp-GAPDLFWA.js","../bundle/node-5Z7PS4F5.js","../bundle/node-KM3CUABH.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-OAW7APIX.js","../bundle/oauth-ZFZWPAJN.js","../bundle/open-ZQMBZVH4.js","../bundle/openai-XT2RIXAK.js","../bundle/process-VVEQIHPE.js","../bundle/program-RD3BBDNY.js","../bundle/prompt-PU7GE4Z4.js","../bundle/recognize-AG4A3KUK.js","../bundle/remote-D6TQ6T7F.js","../bundle/rerank-GO24HJPF.js","../bundle/serve-WCHJAH6G.js","../bundle/server-5KJJ3D6P.js","../bundle/server-CAVNBG3P.js","../bundle/sqlite-runtime-ANXC4AW2.js","../bundle/state-EGJ66A62.js","../bundle/store-OON7FCMQ.js","../bundle/store-SBFA444C.js","../bundle/store-maintenance-command-UEOJLYMJ.js"]
33
33
  // After the server answers its first request, so it starts no later.
34
34
  if (serves) setTimeout(() => void Promise.allSettled(chunks.map((chunk) => import(chunk))), 2000).unref()
35
35
  await running
@@ -2,20 +2,20 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  answeredWire
5
- } from "./chunk-J4C32YKH.js";
5
+ } from "./chunk-3GZK5GTU.js";
6
6
  import {
7
7
  CALLER_META_KEY,
8
8
  PROXY_CLIENT_NAME,
9
9
  StdioServerTransport,
10
10
  callerOf,
11
11
  serveStdio
12
- } from "./chunk-O7VK7CJX.js";
12
+ } from "./chunk-VNJMO5F6.js";
13
13
  import {
14
14
  McpServer
15
15
  } from "./chunk-5D4AEUVA.js";
16
- import "./chunk-BVIHT7KR.js";
16
+ import "./chunk-ZNGQ3NZ4.js";
17
17
  import "./chunk-WJWLHLQ7.js";
18
- import "./chunk-JLRMSNPX.js";
18
+ import "./chunk-Q2C3VMSU.js";
19
19
  import "./chunk-NXJLC2WK.js";
20
20
  import "./chunk-Y5E2WNWB.js";
21
21
  import "./chunk-BM445GYF.js";
@@ -23,7 +23,7 @@ import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
27
27
  import { spawn } from "node:child_process";
28
28
  import { randomUUID } from "node:crypto";
29
29
  var PROTOCOL = "2025-06-18";
@@ -257,7 +257,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
257
257
  }, "serveAllProfilesOverStdio");
258
258
  var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
259
259
  const { build, close } = allProfilesServer(options);
260
- const { serveOverHttp } = await import("./serve-KCH3ORYO.js");
260
+ const { serveOverHttp } = await import("./serve-WCHJAH6G.js");
261
261
  const listening = await serveOverHttp(build, {
262
262
  ...http,
263
263
  appName: options.command,
@@ -5,12 +5,12 @@ import {
5
5
  } from "./chunk-XQUUANA2.js";
6
6
  import {
7
7
  checkedOptions
8
- } from "./chunk-WCL3WBH5.js";
8
+ } from "./chunk-ZKZABB4K.js";
9
9
  import {
10
10
  messagesFor,
11
11
  systemFor
12
- } from "./chunk-JKA2AICL.js";
13
- import "./chunk-JLRMSNPX.js";
12
+ } from "./chunk-ZKCNMW7G.js";
13
+ import "./chunk-Q2C3VMSU.js";
14
14
  import {
15
15
  array,
16
16
  optional,
@@ -23,7 +23,7 @@ import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/models/anthropic.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/models/anthropic.js
27
27
  var options = strictObject({
28
28
  stop_sequences: optional(array(string()))
29
29
  });
@@ -3,43 +3,43 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PER_RUN,
5
5
  envelope
6
- } from "./chunk-ES4PWHBJ.js";
6
+ } from "./chunk-6RMMAUUW.js";
7
7
  import {
8
8
  answered,
9
9
  failed,
10
10
  registerCommands,
11
11
  runCommandForAgent,
12
12
  toolsFromCommands
13
- } from "./chunk-XERTHQ6D.js";
13
+ } from "./chunk-MHQKHWCJ.js";
14
14
  import {
15
15
  mcpUrlOf
16
- } from "./chunk-TKJDGAHT.js";
16
+ } from "./chunk-6XNPXAJU.js";
17
17
  import {
18
18
  agentJson,
19
19
  skillResource
20
- } from "./chunk-XZGLY2LU.js";
21
- import "./chunk-PBYDT3CG.js";
20
+ } from "./chunk-V4TDG4KF.js";
21
+ import "./chunk-73OJJGZE.js";
22
22
  import {
23
23
  appInstructions
24
- } from "./chunk-DA46WQEA.js";
24
+ } from "./chunk-JFMUI4H6.js";
25
25
  import {
26
26
  answeredWire
27
- } from "./chunk-J4C32YKH.js";
27
+ } from "./chunk-3GZK5GTU.js";
28
28
  import {
29
29
  StdioServerTransport,
30
30
  serveStdio
31
- } from "./chunk-O7VK7CJX.js";
31
+ } from "./chunk-VNJMO5F6.js";
32
32
  import {
33
33
  McpServer
34
34
  } from "./chunk-5D4AEUVA.js";
35
- import "./chunk-RAZOSYEO.js";
36
- import "./chunk-3KY7DA5A.js";
37
- import "./chunk-AGX7NR3S.js";
38
- import "./chunk-5KHJUYHQ.js";
39
- import "./chunk-JKA2AICL.js";
40
- import "./chunk-P5B7IFOG.js";
41
- import "./chunk-PHPC72DP.js";
42
- import "./chunk-Y7JKWQC2.js";
35
+ import "./chunk-DKQWTQVY.js";
36
+ import "./chunk-S4YUR4S3.js";
37
+ import "./chunk-45KA5667.js";
38
+ import "./chunk-FTFNWGIR.js";
39
+ import "./chunk-ZKCNMW7G.js";
40
+ import "./chunk-BGUMGCUY.js";
41
+ import "./chunk-NNIXREJH.js";
42
+ import "./chunk-M2JCUVCJ.js";
43
43
  import {
44
44
  DEFAULT_OUTPUT_BYTES,
45
45
  changesAuthorityAt,
@@ -49,35 +49,35 @@ import {
49
49
  judgedTargets,
50
50
  readOnlyLockOf,
51
51
  rootOf2 as rootOf
52
- } from "./chunk-6MV2TBDB.js";
53
- import "./chunk-J5MYH4L5.js";
54
- import "./chunk-BVIHT7KR.js";
55
- import "./chunk-B337KHJ5.js";
52
+ } from "./chunk-R5MML3FC.js";
53
+ import "./chunk-VSHJWTX5.js";
54
+ import "./chunk-ZNGQ3NZ4.js";
55
+ import "./chunk-23IEVVL2.js";
56
56
  import "./chunk-QZBT6BOU.js";
57
- import "./chunk-H4VFIH5W.js";
57
+ import "./chunk-IYZHM3ZN.js";
58
58
  import {
59
59
  mcpHttpMarker
60
- } from "./chunk-TPNC5VCJ.js";
61
- import "./chunk-ZPGLWMNH.js";
62
- import "./chunk-56PI2BRH.js";
63
- import "./chunk-ZRYFEEXZ.js";
64
- import "./chunk-PKU6V4EQ.js";
65
- import "./chunk-O555ZEQR.js";
66
- import "./chunk-RDSAI6DC.js";
67
- import "./chunk-KUQYWIVR.js";
68
- import "./chunk-VEAP5RVI.js";
69
- import "./chunk-ZMMIIBTM.js";
70
- import "./chunk-4PKHZQIM.js";
71
- import "./chunk-YBJMBPL7.js";
72
- import "./chunk-DV4RSEAH.js";
73
- import "./chunk-FIQOBLHS.js";
60
+ } from "./chunk-DXGMPMFP.js";
61
+ import "./chunk-5JEYIHS6.js";
62
+ import "./chunk-6LK7KTWB.js";
63
+ import "./chunk-RQVWZBW3.js";
64
+ import "./chunk-2M4K7HYR.js";
65
+ import "./chunk-5BSEGMNE.js";
66
+ import "./chunk-35KD2CI2.js";
67
+ import "./chunk-MCJ7LKYR.js";
68
+ import "./chunk-MMXMVGA6.js";
69
+ import "./chunk-VBOMKZ4E.js";
70
+ import "./chunk-GJUUTUK4.js";
71
+ import "./chunk-4NYWHINR.js";
72
+ import "./chunk-XQJWMBDY.js";
73
+ import "./chunk-AP7V256W.js";
74
74
  import "./chunk-SQLCCKEL.js";
75
75
  import "./chunk-WJWLHLQ7.js";
76
76
  import "./chunk-D72URWJE.js";
77
- import "./chunk-NZB4WGQS.js";
78
- import "./chunk-OHV5RDFE.js";
79
- import "./chunk-JIQAFFPV.js";
80
- import "./chunk-JLRMSNPX.js";
77
+ import "./chunk-CAKBG5FC.js";
78
+ import "./chunk-3TYEJRMZ.js";
79
+ import "./chunk-Q44AYEOB.js";
80
+ import "./chunk-Q2C3VMSU.js";
81
81
  import {
82
82
  mcpErrorResult
83
83
  } from "./chunk-NXJLC2WK.js";
@@ -89,7 +89,7 @@ import {
89
89
  __name
90
90
  } from "./chunk-ZVVMGPBJ.js";
91
91
 
92
- // node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
92
+ // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
93
93
  var EXCLUDED = [["mcp"]];
94
94
  var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
95
95
  const { app } = options;
@@ -204,7 +204,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
204
204
  var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
205
205
  const { app } = options;
206
206
  const { build } = createAppServer(command, context, options);
207
- const { serveOverHttp } = await import("./serve-KCH3ORYO.js");
207
+ const { serveOverHttp } = await import("./serve-WCHJAH6G.js");
208
208
  const listening = await serveOverHttp(build, {
209
209
  ...http,
210
210
  appName: app.command,
@@ -18,12 +18,12 @@ import {
18
18
  jitCompatCheck,
19
19
  refineSqliteCodecs,
20
20
  sql
21
- } from "./chunk-FIQOBLHS.js";
21
+ } from "./chunk-AP7V256W.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/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,8 +3,8 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  loadVectorExtension,
5
5
  vectorExtension
6
- } from "./chunk-NCWO2FNC.js";
7
- import "./chunk-JLRMSNPX.js";
6
+ } from "./chunk-VKPWP3AK.js";
7
+ import "./chunk-Q2C3VMSU.js";
8
8
  import "./chunk-NXJLC2WK.js";
9
9
  import {
10
10
  importFrom
@@ -14,7 +14,7 @@ import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/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 {
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  loadConfigFile,
12
12
  saveConfigFile
13
- } from "./chunk-JLRMSNPX.js";
13
+ } from "./chunk-Q2C3VMSU.js";
14
14
  import {
15
15
  number,
16
16
  object,
@@ -4,7 +4,7 @@ import {
4
4
  organization,
5
5
  project,
6
6
  reminder
7
- } from "./chunk-O555ZEQR.js";
7
+ } from "./chunk-5BSEGMNE.js";
8
8
  import {
9
9
  MIGRATIONS,
10
10
  SnapshotBudget,
@@ -28,19 +28,19 @@ import {
28
28
  tagMemberIds,
29
29
  thingOf,
30
30
  write
31
- } from "./chunk-RDSAI6DC.js";
31
+ } from "./chunk-35KD2CI2.js";
32
32
  import {
33
33
  filesAccountSql,
34
34
  folderProviderOf,
35
35
  folderProviderSql,
36
36
  isDocumentAccountProvider
37
- } from "./chunk-KUQYWIVR.js";
37
+ } from "./chunk-MCJ7LKYR.js";
38
38
  import {
39
39
  queryFieldsOf
40
- } from "./chunk-ZMMIIBTM.js";
40
+ } from "./chunk-VBOMKZ4E.js";
41
41
  import {
42
42
  fold
43
- } from "./chunk-4PKHZQIM.js";
43
+ } from "./chunk-GJUUTUK4.js";
44
44
  import {
45
45
  CliError
46
46
  } from "./chunk-BM445GYF.js";
@@ -48,11 +48,11 @@ import {
48
48
  __name
49
49
  } from "./chunk-ZVVMGPBJ.js";
50
50
 
51
- // node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
51
+ // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
52
52
  import { realpathSync, statSync } from "node:fs";
53
53
  import { resolve } from "node:path";
54
54
 
55
- // node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/people.js
55
+ // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/people.js
56
56
  var planPeople = /* @__PURE__ */ __name((database, snapshot, mappings, bindings, conflicts) => {
57
57
  const creatable = /* @__PURE__ */ new Set();
58
58
  let people = 0, identities = 0;
@@ -115,11 +115,11 @@ var copyPeople = /* @__PURE__ */ __name((database, snapshot, mappings, now) => {
115
115
  }
116
116
  }, "copyPeople");
117
117
 
118
- // node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/store/document-transfer/digest.js
118
+ // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/store/document-transfer/digest.js
119
119
  import { createHash } from "node:crypto";
120
120
  var digest = /* @__PURE__ */ __name((value) => createHash("sha256").update(JSON.stringify(value)).digest("hex"), "digest");
121
121
 
122
- // node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/collection.js
122
+ // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/collection.js
123
123
  var documentsKeyOf = /* @__PURE__ */ __name((collection) => {
124
124
  const colon = collection.indexOf(":");
125
125
  const provider = collection.slice(0, colon);
@@ -163,7 +163,7 @@ var currentCollection = /* @__PURE__ */ __name((row) => {
163
163
  };
164
164
  }, "currentCollection");
165
165
 
166
- // node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/plan.js
166
+ // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/plan.js
167
167
  var planTransfer = /* @__PURE__ */ __name((database, snapshot, sourceKey, bindings) => {
168
168
  const mappings = /* @__PURE__ */ new Map();
169
169
  const missing = /* @__PURE__ */ new Set(), conflicts = /* @__PURE__ */ new Set();
@@ -330,7 +330,7 @@ var planTransfer = /* @__PURE__ */ __name((database, snapshot, sourceKey, bindin
330
330
  };
331
331
  }, "planTransfer");
332
332
 
333
- // node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
333
+ // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
334
334
  var TRANSFER_TABLES = { document: "documents", note: "notes", memory: "memories", fact: "facts" };
335
335
  var MAX_ENTITIES = 1e3;
336
336
  var MAX_AUXILIARY = 1e4;
@@ -492,7 +492,7 @@ var transferSnapshot = /* @__PURE__ */ __name((database, collection) => read(dat
492
492
  };
493
493
  }), "transferSnapshot");
494
494
 
495
- // node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/apply.js
495
+ // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/apply.js
496
496
  var providerHere = /* @__PURE__ */ __name(({ provider, name, settings }) => {
497
497
  if (provider !== "folder" || String(name ?? "").startsWith("google-drive:"))
498
498
  return provider ?? null;
@@ -664,7 +664,7 @@ var remapEntity = /* @__PURE__ */ __name((database, entity, id, mappings) => {
664
664
  database.prepare(`UPDATE ${TRANSFER_TABLES[entity.kind]} SET ${columns.join(",")} WHERE id=?`).run(...values, id);
665
665
  }, "remapEntity");
666
666
 
667
- // node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
667
+ // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
668
668
  var locations = /* @__PURE__ */ __name((options) => {
669
669
  for (const value of [options.source, options.destination, options.collection])
670
670
  if (typeof value !== "string" || !value.trim())
@@ -760,7 +760,7 @@ var applyDocumentTransfer = /* @__PURE__ */ __name(async (options) => {
760
760
  }
761
761
  }, "applyDocumentTransfer");
762
762
 
763
- // node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/store/knowledge-query.js
763
+ // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/store/knowledge-query.js
764
764
  var ORGANIZATIONS_QUERY = {
765
765
  entity: "organization",
766
766
  backend: "sql",
@@ -795,7 +795,7 @@ var REMINDERS_QUERY = {
795
795
  })
796
796
  };
797
797
 
798
- // node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/store/project-transfer/preview.js
798
+ // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/store/project-transfer/preview.js
799
799
  var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) => {
800
800
  if (!options || typeof options !== "object" || Array.isArray(options))
801
801
  throw new CliError("validation_error", "project preview options are required");
@@ -817,7 +817,7 @@ var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) =>
817
817
  }
818
818
  }, "previewProjectAnnotationSnapshot");
819
819
 
820
- // node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/store/project-transfer/snapshot.js
820
+ // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/store/project-transfer/snapshot.js
821
821
  var snapshotProjectAnnotations = /* @__PURE__ */ __name(async (options) => {
822
822
  if (!options || typeof options !== "object" || Array.isArray(options))
823
823
  throw new CliError("validation_error", "snapshot options are required");