@wirecat/mail-cli 0.34.0 → 0.36.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 (155) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/README.md +4 -1
  3. package/contracts/wirecat.json +52 -2
  4. package/dist/bin/mail.js +2 -2
  5. package/dist/bundle/agent-MW7YWUIY.js +39 -0
  6. package/dist/bundle/{all-profiles-2KUKROHY.js → all-profiles-RS6OV3YO.js} +63 -21
  7. package/dist/bundle/{anthropic-E5KRCEVC.js → anthropic-PPQ7DTXN.js} +5 -5
  8. package/dist/bundle/{app-server-HIQ3QO5K.js → app-server-EBFBMFQC.js} +81 -71
  9. package/dist/bundle/{bun-KARJPE5D.js → bun-J7HAT7MW.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-NHGX6ZUN.js → bun-sqlite-PCSNAXIQ.js} +6 -6
  11. package/dist/bundle/{chunk-WYGDALB3.js → chunk-2RV4V55B.js} +18 -18
  12. package/dist/bundle/{chunk-QXYNDMA6.js → chunk-2UNZ3L2H.js} +6 -6
  13. package/dist/bundle/{chunk-DYQGEZA2.js → chunk-2VEFNFYZ.js} +3 -3
  14. package/dist/bundle/chunk-3BYKGMRM.js +338 -0
  15. package/dist/bundle/{chunk-PRDKEVUL.js → chunk-3NOXZZJV.js} +1 -1
  16. package/dist/bundle/{chunk-4VM3UCSO.js → chunk-3ZKNXKM7.js} +2 -2
  17. package/dist/bundle/{chunk-JVGVLRBA.js → chunk-42XY6D5C.js} +5 -5
  18. package/dist/bundle/{chunk-A2Y2RFNW.js → chunk-437UHSIO.js} +123 -6
  19. package/dist/bundle/{chunk-FNYWC6A3.js → chunk-4WSTWZUB.js} +3 -3
  20. package/dist/bundle/{chunk-V43KEZYA.js → chunk-5G4MDFZ2.js} +9 -60
  21. package/dist/bundle/{chunk-ZZEWQR43.js → chunk-5JEKBYIH.js} +14 -14
  22. package/dist/bundle/{chunk-CKVWAUBW.js → chunk-5TIWO6AR.js} +12 -12
  23. package/dist/bundle/{chunk-X6IGETU6.js → chunk-5VPLQS4S.js} +2 -2
  24. package/dist/bundle/chunk-645FQC4G.js +559 -0
  25. package/dist/bundle/{chunk-PA4GEJXQ.js → chunk-6FZPFNEU.js} +9 -9
  26. package/dist/bundle/{chunk-XWU3A7H6.js → chunk-6LJIENVT.js} +2 -2
  27. package/dist/bundle/{chunk-2GDLJKPT.js → chunk-6NDPOY4N.js} +1 -1
  28. package/dist/bundle/{chunk-QXLYLVEC.js → chunk-6PKMUKUF.js} +1 -1
  29. package/dist/bundle/{chunk-TZJC4AOK.js → chunk-6TT62IUW.js} +53 -33
  30. package/dist/bundle/chunk-6UYIWQLU.js +52 -0
  31. package/dist/bundle/{chunk-MGXYIVVJ.js → chunk-6VMJLOYO.js} +12 -12
  32. package/dist/bundle/{chunk-ZGZADWD7.js → chunk-774VG5WZ.js} +1 -1
  33. package/dist/bundle/chunk-AVR4FPYG.js +192 -0
  34. package/dist/bundle/{chunk-KF6O4RZO.js → chunk-BBQERXQX.js} +3 -3
  35. package/dist/bundle/{chunk-LOSYDRJU.js → chunk-C3JSQ7UJ.js} +53 -11
  36. package/dist/bundle/{chunk-OJ3BI2U4.js → chunk-CJHO6B3M.js} +34 -28
  37. package/dist/bundle/{chunk-VRGEDK4T.js → chunk-CJMZQ2MZ.js} +35 -12
  38. package/dist/bundle/{chunk-4SKE5GYA.js → chunk-CMOO4INK.js} +1 -1
  39. package/dist/bundle/{chunk-DZRP4UCK.js → chunk-DVJPEZGV.js} +30 -15
  40. package/dist/bundle/{chunk-H77ALM2Y.js → chunk-EGR3YUWD.js} +4 -4
  41. package/dist/bundle/{chunk-4VHK5UBM.js → chunk-GBZIWCEP.js} +3 -3
  42. package/dist/bundle/{chunk-2SCQ7Z4I.js → chunk-GCTHVCJU.js} +4 -4
  43. package/dist/bundle/{chunk-4URI6EAV.js → chunk-GEU3WR75.js} +3 -3
  44. package/dist/bundle/{chunk-OX5MCGXL.js → chunk-GI6DNX7Q.js} +63 -54
  45. package/dist/bundle/{chunk-KLI5FKZ2.js → chunk-HH34WRQE.js} +7 -7
  46. package/dist/bundle/chunk-HPSESLOZ.js +7 -0
  47. package/dist/bundle/{chunk-6LFRZDPV.js → chunk-IBOWSQ7X.js} +3 -4
  48. package/dist/bundle/{chunk-XIF75Z7D.js → chunk-JCILSTFK.js} +1 -1
  49. package/dist/bundle/{chunk-OOYRMTX5.js → chunk-KLPFPNZP.js} +12 -26
  50. package/dist/bundle/{chunk-6G4VQFVX.js → chunk-KP7JHJVP.js} +17 -17
  51. package/dist/bundle/chunk-KTVQIKU5.js +726 -0
  52. package/dist/bundle/{chunk-2VBEBPGX.js → chunk-KVFBSOCV.js} +9 -9
  53. package/dist/bundle/{chunk-KGYK3OI3.js → chunk-L4QLZDBZ.js} +43 -64
  54. package/dist/bundle/{chunk-R2GS3GBJ.js → chunk-LQQIYBHN.js} +100 -66
  55. package/dist/bundle/{chunk-I3MS74OF.js → chunk-MQ6DQRRI.js} +4 -4
  56. package/dist/bundle/{chunk-FORAOCZ3.js → chunk-MRWV5VNQ.js} +6 -6
  57. package/dist/bundle/{chunk-NJVJH5MH.js → chunk-MT3LYU4T.js} +3245 -1644
  58. package/dist/bundle/{chunk-5GANGHQI.js → chunk-NCY55XIT.js} +9 -9
  59. package/dist/bundle/{chunk-QFJC6POK.js → chunk-NJZR3OFK.js} +1 -1
  60. package/dist/bundle/chunk-NSH2UHJR.js +353 -0
  61. package/dist/bundle/chunk-NTUP5RCP.js +116 -0
  62. package/dist/bundle/chunk-NYR7PIAG.js +80 -0
  63. package/dist/bundle/{chunk-PC3N3LH3.js → chunk-NYYMMIVW.js} +3 -3
  64. package/dist/bundle/{chunk-NXERDBEK.js → chunk-OEL4DQTT.js} +4 -4
  65. package/dist/bundle/{chunk-RPNQXWRS.js → chunk-PF7ZNIVP.js} +2 -2
  66. package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
  67. package/dist/bundle/{chunk-QQGPV3QN.js → chunk-PMGAU6AP.js} +2 -2
  68. package/dist/bundle/{chunk-PVZMN3UZ.js → chunk-PMSZBUC7.js} +8 -8
  69. package/dist/bundle/{chunk-HH647UBC.js → chunk-PPIMXOBT.js} +104 -255
  70. package/dist/bundle/{chunk-YWX5X5RI.js → chunk-Q6TPXXOS.js} +19 -17
  71. package/dist/bundle/{chunk-Z6A6QPPW.js → chunk-QDNYJOWJ.js} +1 -1
  72. package/dist/bundle/{chunk-OG5QO5RR.js → chunk-QI2XGTFH.js} +8 -8
  73. package/dist/bundle/{chunk-T2EE5M7O.js → chunk-REWV37HQ.js} +144 -10
  74. package/dist/bundle/{chunk-LKTDW5LH.js → chunk-RJUVWJTA.js} +18 -8
  75. package/dist/bundle/{chunk-MDISZMK4.js → chunk-RMWS7IQ4.js} +4 -4
  76. package/dist/bundle/{chunk-VBVR6JRC.js → chunk-ROK7Z5LQ.js} +275 -174
  77. package/dist/bundle/{chunk-HRDCH2VB.js → chunk-SCJVKWMV.js} +3665 -3339
  78. package/dist/bundle/{chunk-NAENYLIO.js → chunk-SJNFPBPF.js} +2 -2
  79. package/dist/bundle/{chunk-6GGMFL7J.js → chunk-TV634B6T.js} +2 -100
  80. package/dist/bundle/{chunk-26DYRMXE.js → chunk-U3BO342P.js} +1 -1
  81. package/dist/bundle/{chunk-KNVTBDTE.js → chunk-U67XMAEE.js} +3 -3
  82. package/dist/bundle/chunk-V5I7QP4T.js +108 -0
  83. package/dist/bundle/{chunk-NI4GCP2T.js → chunk-VIDPFLFM.js} +2 -2
  84. package/dist/bundle/{chunk-AGZ7SNFF.js → chunk-VIJV474N.js} +1 -1
  85. package/dist/bundle/{chunk-QOQF2TX3.js → chunk-WNQECDIP.js} +338 -299
  86. package/dist/bundle/{chunk-SK3N4CK5.js → chunk-WPPPO427.js} +4 -4
  87. package/dist/bundle/{chunk-EZAX77SM.js → chunk-WZFGZBGD.js} +86 -75
  88. package/dist/bundle/{chunk-EGQJDEFY.js → chunk-XRVZMM5B.js} +158 -562
  89. package/dist/bundle/{chunk-NWD7AFOR.js → chunk-YPB5BEAD.js} +2 -2
  90. package/dist/bundle/{chunk-NHD5BOJU.js → chunk-ZRSLG3B3.js} +6 -6
  91. package/dist/bundle/{chunk-IMQ4CVZJ.js → chunk-ZV57PIPE.js} +2 -2
  92. package/dist/bundle/command-contract-WFTIRPL5.js +39 -0
  93. package/dist/bundle/{command-server-entry-NF45UPEV.js → command-server-entry-73RJELAV.js} +28 -28
  94. package/dist/bundle/{decode-DUZA3EHC.js → decode-7BUWBDPT.js} +5 -5
  95. package/dist/bundle/{dispatch-CDJZAMVP.js → dispatch-IBOMVWZA.js} +8 -8
  96. package/dist/bundle/{dist-RH7EMC4J.js → dist-MULVCVSR.js} +25 -23
  97. package/dist/bundle/dist-PAKDDIBT.js +191 -0
  98. package/dist/bundle/{echarts-GZHZBNRA.js → echarts-VLWFC322.js} +2 -2
  99. package/dist/bundle/{embed-VE3CSJN4.js → embed-W3VH4HPY.js} +6 -6
  100. package/dist/bundle/{embedder-DSJ77DX5.js → embedder-I7ERQZJV.js} +9 -9
  101. package/dist/bundle/{failure-YH6HAGFT.js → failure-QMAPSQ7X.js} +2 -2
  102. package/dist/bundle/{first-run-3L7HLYTI.js → first-run-LCVER6QN.js} +12 -12
  103. package/dist/bundle/first-screen-DCTHI4NQ.js +39 -0
  104. package/dist/bundle/{instructions-OZK3BLIO.js → instructions-BNCVLSYQ.js} +1 -1
  105. package/dist/bundle/mail.js +12 -12
  106. package/dist/bundle/{mcp-YUG4YR4R.js → mcp-Z2KZNCXB.js} +2 -2
  107. package/dist/bundle/meeting-combined-ITU7SZ7E.js +24 -0
  108. package/dist/bundle/{meeting-model-U7LW5WEN.js → meeting-model-BWLSTNXA.js} +11 -11
  109. package/dist/bundle/{meeting-semantic-64IOIQRR.js → meeting-semantic-ZIEHXN2R.js} +6 -6
  110. package/dist/bundle/{node-OS3VWBUZ.js → node-RYFTRSG4.js} +2 -2
  111. package/dist/bundle/{node-sqlite-RQ623VFA.js → node-sqlite-XCHVNTGQ.js} +7 -7
  112. package/dist/bundle/{oauth-CBPAG734.js → oauth-FNUJSKKJ.js} +8 -8
  113. package/dist/bundle/{open-H4DGOMBC.js → open-WVWSJ3WI.js} +5 -5
  114. package/dist/bundle/{openai-EMWRGR54.js → openai-QOUTYYTF.js} +15 -15
  115. package/dist/bundle/{process-3TOIYASI.js → process-W5KPID53.js} +1 -1
  116. package/dist/bundle/{program-WA6RGAJL.js → program-L5UANM3I.js} +3397 -2219
  117. package/dist/bundle/{prompt-22KNCMBI.js → prompt-JSBAPNJE.js} +5 -5
  118. package/dist/bundle/{recognize-UWD4RSCZ.js → recognize-FDX4SJ6Q.js} +4 -4
  119. package/dist/bundle/{remote-LJY7MF2E.js → remote-MYOXOQHM.js} +9 -9
  120. package/dist/bundle/{rerank-JJ6KNJFB.js → rerank-NY5MSZCR.js} +7 -7
  121. package/dist/bundle/{serve-3EPLJYVZ.js → serve-URI6NZA3.js} +10 -10
  122. package/dist/bundle/{server-5JOFO4V4.js → server-HQ25RHQM.js} +75 -64
  123. package/dist/bundle/server-UVYFU2JN.js +84 -0
  124. package/dist/bundle/{sqlite-runtime-MGJA5E27.js → sqlite-runtime-6UUPSSKG.js} +6 -6
  125. package/dist/bundle/{state-UCRDOWOP.js → state-NDDVFPCI.js} +6 -6
  126. package/dist/bundle/{store-265VRRQV.js → store-2RDOICVN.js} +28 -23
  127. package/dist/bundle/{store-HS272YSA.js → store-PKYWPKKR.js} +34 -21
  128. package/dist/bundle/store-maintenance-command-Y5XTO47X.js +71 -0
  129. package/dist/bundle/surface-3XKM3MQ2.js +70 -0
  130. package/dist/commands/read.d.ts +2 -2
  131. package/dist/commands/read.d.ts.map +1 -1
  132. package/dist/commands/read.js +5 -4
  133. package/dist/commands/read.js.map +1 -1
  134. package/dist/commands/session-start.js +1 -1
  135. package/dist/commands/session-start.js.map +1 -1
  136. package/dist/commands/sync.d.ts +2 -1
  137. package/dist/commands/sync.d.ts.map +1 -1
  138. package/dist/commands/sync.js +16 -9
  139. package/dist/commands/sync.js.map +1 -1
  140. package/dist/config.d.ts +5 -0
  141. package/dist/config.d.ts.map +1 -1
  142. package/dist/config.js +16 -1
  143. package/dist/config.js.map +1 -1
  144. package/dist/oauth.d.ts.map +1 -1
  145. package/dist/oauth.js +2 -1
  146. package/dist/oauth.js.map +1 -1
  147. package/dist/version.d.ts +1 -1
  148. package/dist/version.js +1 -1
  149. package/package.json +3 -3
  150. package/dist/bundle/chunk-FEBUZHU3.js +0 -2
  151. package/dist/bundle/command-contract-PZ7VOOXP.js +0 -39
  152. package/dist/bundle/first-screen-MY5KID77.js +0 -37
  153. package/dist/bundle/meeting-combined-RYMUPY54.js +0 -24
  154. package/dist/bundle/server-EOQNS7B7.js +0 -75
  155. package/dist/bundle/store-maintenance-command-IKZM5NRP.js +0 -66
package/CHANGELOG.md CHANGED
@@ -2,6 +2,49 @@
2
2
 
3
3
  Notable changes to `@wirecat/mail-cli`. One section per version, newest first.
4
4
 
5
+ ## 0.36.0 — 19.11.2026
6
+
7
+ ### Added
8
+
9
+ - **`inbox` names each thread's sender and reports its run.** Each sorted thread in `inbox --json` carries
10
+ `sender: { name, address }`, the newest email's sender who is not you. `meta.model_run` says what the run did:
11
+ threads sent, sorted and left for the next run, the tokens counted, the cost when the model's price is known, and
12
+ the model and its address. When `inbox` must ask before mail goes to a model outside this computer, the refusal's
13
+ details carry the emails, threads, tokens, host, model and estimated cost, so WireCat Desktop can ask in your
14
+ language (cli-core 0.713.0, cli-base 0.125.0).
15
+
16
+ ### Fixed
17
+
18
+ - **`inbox` writes its one-line reason in your language.** It used each thread's language; it now uses the first of
19
+ `owner_languages` (`mail config set owner_languages ru,en`).
20
+ - **`session start --login` shows its value as `<name>`**, as every WireCat CLI with a sign-in user name does. Only
21
+ the help text changed.
22
+ - **Two first sign-ins at the same moment both keep their record.** The second could fail with `ENOENT` on
23
+ `sign-ins.json.lock`, because the state folder was made only after the lock was taken.
24
+
25
+ ## 0.35.0 — 19.11.2026
26
+
27
+ ### Added
28
+
29
+ - **`sync_since`: how far back `sync` reads, as a setting.** Before, `sync` read the last 30 days unless a run gave
30
+ `--since-time`, and WireCat Desktop had no way to read further back. The profile setting takes a window back from now
31
+ (`90d`, `12w`, `1y`) or a date (`2025-01-01`). The default stays `30d`. `--since-time` still wins for one run. Make
32
+ the window wider and the next `sync` reads the older mail too, with no `--rescan`. `config show` lists it, and
33
+ `config set sync_since 2x` is refused with the forms it takes. See [Settings](docs/configuration.md).
34
+ - **`inbox` sorts new mail with the AI model you chose**, with no agent: each thread that changed since the last run
35
+ goes under needs an answer, to read or can wait, with a one-line reason. A local Ollama works. It follows local
36
+ only and `memo models chats`, sends at most 40 emails a run, and runs on a schedule. `review` shows the verdict
37
+ as `email.inbox`. See [usage](docs/usage.md#inbox-new-mail-sorted-by-an-ai-model).
38
+
39
+ ### Changed — may break callers
40
+
41
+ - **The MCP Registry entry asks which profiles to serve.** It started `mcp serve --profiles all`, so a client that
42
+ installed the server from the registry reached every account on the computer without the owner choosing. Now
43
+ `--profiles` is a required argument with the example `personal`: the client asks for one profile, a
44
+ comma-separated list or `all`. Why: a CLI never picks an account for the owner
45
+ ([WC-MCP-9](https://github.com/WireCatLabs/cli-base/blob/main/docs/standards/mcp.md#wc-mcp-9--a-server-serves-the-profiles-it-is-told-with-one-connection-for-each)). Watch for: a client set up from the old entry keeps `--profiles all` until it is set up again; a
46
+ server added by hand or with `mcp config` does not change.
47
+
5
48
  ## 0.34.0 — 16.11.2026
6
49
 
7
50
  ### Changed — may break callers
package/README.md CHANGED
@@ -8,7 +8,10 @@
8
8
  and read it there, offline. It also organises the mailbox on the server: flags, folders, and deletion to Trash, each
9
9
  change one you can undo. It keeps drafts, and sends, replies and forwards over SMTP.
10
10
 
11
- [Documentation](https://github.com/WireCatLabs/mail-cli/blob/main/docs/index.md) · [Roadmap](https://github.com/WireCatLabs/mail-cli/blob/main/docs/roadmap.md) · [WireCat](https://wirecat.dev)
11
+ [Docs](https://wirecat.dev/en/docs/mail) ·
12
+ [Install](https://github.com/WireCatLabs/mail-cli/blob/main/docs/installation.md) ·
13
+ [Usage](https://github.com/WireCatLabs/mail-cli/blob/main/docs/usage.md) ·
14
+ [Discord](https://discord.gg/DebENqbRrJ)
12
15
 
13
16
  [![npm](https://img.shields.io/npm/v/@wirecat/mail-cli)](https://www.npmjs.com/package/@wirecat/mail-cli)
14
17
  [![CI](https://github.com/WireCatLabs/mail-cli/actions/workflows/ci.yml/badge.svg)](https://github.com/WireCatLabs/mail-cli/actions/workflows/ci.yml)
@@ -522,6 +522,18 @@
522
522
  },
523
523
  "permission": "conversations.show"
524
524
  },
525
+ {
526
+ "path": [
527
+ "inbox"
528
+ ],
529
+ "summary": "new mail sorted by the AI model: needs an answer, to read, can wait",
530
+ "effects": {
531
+ "remote": "read",
532
+ "local": "write"
533
+ },
534
+ "permission": "inbox",
535
+ "entity": "mail_inbox_thread"
536
+ },
525
537
  {
526
538
  "path": [
527
539
  "attachments",
@@ -945,7 +957,7 @@
945
957
  "schedule",
946
958
  "command"
947
959
  ],
948
- "summary": "run mail <args…> on a timer — reads save what they read, so this is how a…",
960
+ "summary": "run mail <args…> on a timer — reads save what they read, so this is how the…",
949
961
  "effects": {
950
962
  "remote": "none",
951
963
  "local": "write"
@@ -1320,6 +1332,44 @@
1320
1332
  "app": "mail-cli",
1321
1333
  "env": "MAIL"
1322
1334
  },
1323
- "settings": null
1335
+ "settings": null,
1336
+ "accountRemove": {
1337
+ "signOut": [
1338
+ "{profile}",
1339
+ "session",
1340
+ "end",
1341
+ "--record",
1342
+ "--json"
1343
+ ],
1344
+ "remove": {
1345
+ "minVersion": "0.0.0",
1346
+ "keepData": [
1347
+ "{profile}",
1348
+ "account",
1349
+ "remove",
1350
+ "--keep-data",
1351
+ "--record",
1352
+ "--json"
1353
+ ],
1354
+ "deleteData": [
1355
+ "{profile}",
1356
+ "account",
1357
+ "remove",
1358
+ "--delete-data",
1359
+ "--record",
1360
+ "--json"
1361
+ ],
1362
+ "dryRun": "--dry-run",
1363
+ "confirm": "--yes"
1364
+ },
1365
+ "removes": [
1366
+ "signIn"
1367
+ ],
1368
+ "keeps": [
1369
+ "settings",
1370
+ "data",
1371
+ "listed"
1372
+ ]
1373
+ }
1324
1374
  }
1325
1375
  }
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.34.0\n")
12
+ process.stdout.write("0.36.0\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-2KUKROHY.js","../bundle/anthropic-E5KRCEVC.js","../bundle/app-server-HIQ3QO5K.js","../bundle/bun-KARJPE5D.js","../bundle/bun-sqlite-NHGX6ZUN.js","../bundle/decode-DUZA3EHC.js","../bundle/dispatch-CDJZAMVP.js","../bundle/dist-HFUVURJG.js","../bundle/dist-RH7EMC4J.js","../bundle/echarts-GZHZBNRA.js","../bundle/embed-VE3CSJN4.js","../bundle/embedder-DSJ77DX5.js","../bundle/failure-YH6HAGFT.js","../bundle/first-screen-MY5KID77.js","../bundle/instructions-OZK3BLIO.js","../bundle/mcp-YUG4YR4R.js","../bundle/node-KM3CUABH.js","../bundle/node-OS3VWBUZ.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-RQ623VFA.js","../bundle/oauth-CBPAG734.js","../bundle/open-H4DGOMBC.js","../bundle/openai-EMWRGR54.js","../bundle/process-3TOIYASI.js","../bundle/program-WA6RGAJL.js","../bundle/prompt-22KNCMBI.js","../bundle/recognize-UWD4RSCZ.js","../bundle/remote-LJY7MF2E.js","../bundle/rerank-JJ6KNJFB.js","../bundle/serve-3EPLJYVZ.js","../bundle/server-5JOFO4V4.js","../bundle/server-EOQNS7B7.js","../bundle/sqlite-runtime-MGJA5E27.js","../bundle/state-UCRDOWOP.js","../bundle/store-265VRRQV.js","../bundle/store-HS272YSA.js","../bundle/store-maintenance-command-IKZM5NRP.js"]
31
+ const chunks = ["../bundle/agent-MW7YWUIY.js","../bundle/all-profiles-RS6OV3YO.js","../bundle/anthropic-PPQ7DTXN.js","../bundle/app-server-EBFBMFQC.js","../bundle/bun-J7HAT7MW.js","../bundle/bun-sqlite-PCSNAXIQ.js","../bundle/decode-7BUWBDPT.js","../bundle/dispatch-IBOMVWZA.js","../bundle/dist-HFUVURJG.js","../bundle/dist-MULVCVSR.js","../bundle/dist-PAKDDIBT.js","../bundle/echarts-VLWFC322.js","../bundle/embed-W3VH4HPY.js","../bundle/embedder-I7ERQZJV.js","../bundle/failure-QMAPSQ7X.js","../bundle/first-screen-DCTHI4NQ.js","../bundle/instructions-BNCVLSYQ.js","../bundle/mcp-Z2KZNCXB.js","../bundle/node-KM3CUABH.js","../bundle/node-RYFTRSG4.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-XCHVNTGQ.js","../bundle/oauth-FNUJSKKJ.js","../bundle/open-WVWSJ3WI.js","../bundle/openai-QOUTYYTF.js","../bundle/process-W5KPID53.js","../bundle/program-L5UANM3I.js","../bundle/prompt-JSBAPNJE.js","../bundle/recognize-FDX4SJ6Q.js","../bundle/remote-MYOXOQHM.js","../bundle/rerank-NY5MSZCR.js","../bundle/serve-URI6NZA3.js","../bundle/server-HQ25RHQM.js","../bundle/server-UVYFU2JN.js","../bundle/sqlite-runtime-6UUPSSKG.js","../bundle/state-NDDVFPCI.js","../bundle/store-2RDOICVN.js","../bundle/store-PKYWPKKR.js","../bundle/store-maintenance-command-Y5XTO47X.js","../bundle/surface-3XKM3MQ2.js"]
32
32
  if (((words) => words
33
33
  .filter((word) => !word.startsWith("-"))
34
34
  .slice(0, 2)
@@ -0,0 +1,39 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ runCommandForAgent,
5
+ toolsFromCommands
6
+ } from "./chunk-XRVZMM5B.js";
7
+ import "./chunk-6UYIWQLU.js";
8
+ import "./chunk-3BYKGMRM.js";
9
+ import "./chunk-V5I7QP4T.js";
10
+ import "./chunk-KTVQIKU5.js";
11
+ import "./chunk-PL5P7UKW.js";
12
+ import "./chunk-ROK7Z5LQ.js";
13
+ import "./chunk-RJUVWJTA.js";
14
+ import "./chunk-PMSZBUC7.js";
15
+ import "./chunk-BBQERXQX.js";
16
+ import "./chunk-MRWV5VNQ.js";
17
+ import "./chunk-3NOXZZJV.js";
18
+ import "./chunk-GEU3WR75.js";
19
+ import "./chunk-NYR7PIAG.js";
20
+ import "./chunk-6TT62IUW.js";
21
+ import "./chunk-5TIWO6AR.js";
22
+ import "./chunk-3ZKNXKM7.js";
23
+ import "./chunk-6PKMUKUF.js";
24
+ import "./chunk-6LJIENVT.js";
25
+ import "./chunk-WNQECDIP.js";
26
+ import "./chunk-REWV37HQ.js";
27
+ import "./chunk-HH34WRQE.js";
28
+ import "./chunk-GCTHVCJU.js";
29
+ import "./chunk-HPSESLOZ.js";
30
+ import "./chunk-VIDPFLFM.js";
31
+ import "./chunk-WZFGZBGD.js";
32
+ import "./chunk-C3JSQ7UJ.js";
33
+ import "./chunk-Y5E2WNWB.js";
34
+ import "./chunk-PMGAU6AP.js";
35
+ import "./chunk-ZVVMGPBJ.js";
36
+ export {
37
+ runCommandForAgent,
38
+ toolsFromCommands
39
+ };
@@ -1,34 +1,37 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
- CALLER_META_KEY,
5
- PROXY_CLIENT_NAME,
6
4
  StdioServerTransport,
7
5
  answeredWire,
8
- callerOf,
9
6
  serveStdio
10
- } from "./chunk-6GGMFL7J.js";
7
+ } from "./chunk-TV634B6T.js";
8
+ import {
9
+ CALLER_META_KEY,
10
+ PROXY_CLIENT_NAME,
11
+ callerOf
12
+ } from "./chunk-V5I7QP4T.js";
11
13
  import {
14
+ InMemoryTransport,
12
15
  McpServer
13
- } from "./chunk-5D4AEUVA.js";
14
- import "./chunk-PVZMN3UZ.js";
15
- import "./chunk-4VM3UCSO.js";
16
- import "./chunk-QXLYLVEC.js";
17
- import "./chunk-FEBUZHU3.js";
18
- import "./chunk-EZAX77SM.js";
16
+ } from "./chunk-PL5P7UKW.js";
17
+ import "./chunk-PMSZBUC7.js";
18
+ import "./chunk-3ZKNXKM7.js";
19
+ import "./chunk-6PKMUKUF.js";
20
+ import "./chunk-HPSESLOZ.js";
21
+ import "./chunk-WZFGZBGD.js";
19
22
  import {
20
23
  errorObjectOf,
21
24
  mcpErrorResult
22
- } from "./chunk-LOSYDRJU.js";
25
+ } from "./chunk-C3JSQ7UJ.js";
23
26
  import "./chunk-Y5E2WNWB.js";
24
27
  import {
25
28
  CliError
26
- } from "./chunk-QQGPV3QN.js";
29
+ } from "./chunk-PMGAU6AP.js";
27
30
  import {
28
31
  __name
29
32
  } from "./chunk-ZVVMGPBJ.js";
30
33
 
31
- // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
34
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
32
35
  import { spawn } from "node:child_process";
33
36
  import { randomUUID } from "node:crypto";
34
37
  var PROTOCOL = "2025-06-18";
@@ -169,13 +172,16 @@ var withProfile = /* @__PURE__ */ __name((tool, profiles, name, signedIn = () =>
169
172
  inputSchema: {
170
173
  ...tool.inputSchema,
171
174
  properties: {
172
- profile: {
175
+ profile: profiles.length === 0 ? (
176
+ // An empty enum matches nothing, and a directory that checks the schema refuses the tool.
177
+ {
178
+ type: "string",
179
+ description: `Which ${name} account, by its profile. None is set up on this computer yet.`
180
+ }
181
+ ) : {
173
182
  type: "string",
174
183
  enum: [...profiles],
175
- oneOf: profiles.map((profile) => ({
176
- const: profile,
177
- title: signedIn(profile) ? profile : `${profile} \u2014 not signed in`
178
- })),
184
+ oneOf: profiles.map((one) => ({ const: one, title: signedIn(one) ? one : `${one} \u2014 not signed in` })),
179
185
  description: `Which ${name} account, by its profile. If the owner did not name one, ask which \u2014 never guess.${states}`
180
186
  },
181
187
  ...schema.properties
@@ -198,9 +204,14 @@ var allProfilesServer = /* @__PURE__ */ __name((options) => {
198
204
  const signedIn = /* @__PURE__ */ __name((profile) => options.signedIn?.(profile) ?? true, "signedIn");
199
205
  const build = /* @__PURE__ */ __name(() => {
200
206
  const profiles = [...options.profiles()].sort();
201
- const server = new McpServer({ name: options.command, version: options.version }, { capabilities: { tools: {} }, instructions: options.instructions });
207
+ const server = new McpServer({ name: options.command, version: options.version }, {
208
+ capabilities: { tools: {} },
209
+ // Read per session, as the profiles are: clients cut the instructions short, so this line comes first.
210
+ instructions: profiles.length === 0 && options.setup ? `${options.setup.charAt(0).toUpperCase()}${options.setup.slice(1)}.
211
+ ${options.instructions}` : options.instructions
212
+ });
202
213
  server.server.setRequestHandler("tools/list", async () => ({
203
- tools: profiles.length === 0 ? [] : (await tools(profiles)).map((one) => withProfile(one, profiles, options.name, signedIn))
214
+ tools: (profiles.length === 0 ? await options.catalogue?.() ?? [] : await tools(profiles)).map((one) => withProfile(one, profiles, options.name, signedIn))
204
215
  }));
205
216
  const callers = {
206
217
  env: options.env ?? process.env,
@@ -210,6 +221,8 @@ var allProfilesServer = /* @__PURE__ */ __name((options) => {
210
221
  server.server.setRequestHandler("tools/call", async (request, ctx) => {
211
222
  const { name, arguments: given = {}, _meta } = request.params;
212
223
  const { profile, ...rest } = given;
224
+ if (profiles.length === 0)
225
+ return refusal("configuration_error", options.setup ?? `no ${options.command} profile on this computer yet.`);
213
226
  if (typeof profile !== "string" || !profiles.includes(profile))
214
227
  return refusal("validation_error", `${name} needs "profile", one of: ${profiles.join(", ")}. If the owner did not say which account, ask.`);
215
228
  if (!signedIn(profile))
@@ -231,6 +244,34 @@ var allProfilesServer = /* @__PURE__ */ __name((options) => {
231
244
  }, "build");
232
245
  return { build, close: /* @__PURE__ */ __name(() => children.close(), "close") };
233
246
  }, "allProfilesServer");
247
+ var listedTools = /* @__PURE__ */ __name(async (server) => {
248
+ const [own, other] = InMemoryTransport.createLinkedPair();
249
+ const answers = /* @__PURE__ */ new Map();
250
+ other.onmessage = (message) => {
251
+ const { id, result, error } = message;
252
+ if (typeof id === "number")
253
+ answers.get(id)?.(result, error);
254
+ };
255
+ const ask = /* @__PURE__ */ __name((id, method, params) => new Promise((resolve, reject) => {
256
+ answers.set(id, (result, error) => error || !result ? reject(new Error(error?.message ?? `${method} had no answer`)) : resolve(result));
257
+ void other.send({ jsonrpc: "2.0", id, method, params });
258
+ }), "ask");
259
+ await server.connect(own);
260
+ try {
261
+ await ask(1, "initialize", {
262
+ protocolVersion: PROTOCOL,
263
+ capabilities: {},
264
+ clientInfo: { name: PROXY_CLIENT_NAME, version: "1" }
265
+ });
266
+ await other.send({ jsonrpc: "2.0", method: "notifications/initialized" });
267
+ const answer = await ask(2, "tools/list", {});
268
+ if (!Array.isArray(answer.tools))
269
+ throw new Error("the catalogue server listed no tools");
270
+ return answer.tools;
271
+ } finally {
272
+ await server.close();
273
+ }
274
+ }, "listedTools");
234
275
  var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {}) => {
235
276
  const { build, close } = allProfilesServer(options);
236
277
  const own = io.stdin !== void 0 && io.stdin !== process.stdin;
@@ -249,7 +290,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
249
290
  }, "serveAllProfilesOverStdio");
250
291
  var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
251
292
  const { build, close } = allProfilesServer(options);
252
- const { serveOverHttp } = await import("./serve-3EPLJYVZ.js");
293
+ const { serveOverHttp } = await import("./serve-URI6NZA3.js");
253
294
  const listening = await serveOverHttp(build, {
254
295
  ...http,
255
296
  appName: options.command,
@@ -272,6 +313,7 @@ var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
272
313
  export {
273
314
  CHILD_IDLE_MS,
274
315
  allProfilesServer,
316
+ listedTools,
275
317
  serveAllProfilesOverHttp,
276
318
  serveAllProfilesOverStdio,
277
319
  withProfile
@@ -5,11 +5,11 @@ import {
5
5
  checkedOptions,
6
6
  messagesFor,
7
7
  systemFor
8
- } from "./chunk-I3MS74OF.js";
8
+ } from "./chunk-MQ6DQRRI.js";
9
9
  import {
10
10
  Anthropic
11
11
  } from "./chunk-XQUUANA2.js";
12
- import "./chunk-EZAX77SM.js";
12
+ import "./chunk-WZFGZBGD.js";
13
13
  import {
14
14
  array,
15
15
  literal,
@@ -19,14 +19,14 @@ import {
19
19
  strictObject,
20
20
  string,
21
21
  unknown
22
- } from "./chunk-LOSYDRJU.js";
22
+ } from "./chunk-C3JSQ7UJ.js";
23
23
  import "./chunk-Y5E2WNWB.js";
24
- import "./chunk-QQGPV3QN.js";
24
+ import "./chunk-PMGAU6AP.js";
25
25
  import {
26
26
  __name
27
27
  } from "./chunk-ZVVMGPBJ.js";
28
28
 
29
- // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/models/anthropic.js
29
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/models/anthropic.js
30
30
  var options = strictObject({
31
31
  stop_sequences: optional(array(string())),
32
32
  thinking: optional(strictObject({ type: picklist(["disabled", "adaptive"]) })),
@@ -3,49 +3,59 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PER_RUN,
5
5
  envelope
6
- } from "./chunk-OX5MCGXL.js";
6
+ } from "./chunk-GI6DNX7Q.js";
7
7
  import {
8
8
  mcpUrlOf
9
- } from "./chunk-OJ3BI2U4.js";
10
- import "./chunk-ZGZADWD7.js";
9
+ } from "./chunk-CJHO6B3M.js";
11
10
  import {
12
- answered,
13
- failed,
14
- registerCommands,
15
- runCommandForAgent,
16
- toolsFromCommands
17
- } from "./chunk-EGQJDEFY.js";
18
- import {
19
- agentJson,
20
- skillResource
21
- } from "./chunk-HH647UBC.js";
22
- import "./chunk-A2Y2RFNW.js";
11
+ skillResources
12
+ } from "./chunk-PPIMXOBT.js";
23
13
  import {
24
14
  StdioServerTransport,
25
15
  answeredWire,
26
16
  serveStdio
27
- } from "./chunk-6GGMFL7J.js";
28
- import "./chunk-YWX5X5RI.js";
29
- import "./chunk-HRDCH2VB.js";
30
- import "./chunk-DZRP4UCK.js";
31
- import "./chunk-2VBEBPGX.js";
32
- import "./chunk-SK3N4CK5.js";
33
- import "./chunk-Z6A6QPPW.js";
17
+ } from "./chunk-TV634B6T.js";
18
+ import "./chunk-774VG5WZ.js";
19
+ import "./chunk-Q6TPXXOS.js";
20
+ import "./chunk-NSH2UHJR.js";
21
+ import {
22
+ runCommandForAgent,
23
+ toolsFromCommands
24
+ } from "./chunk-XRVZMM5B.js";
25
+ import "./chunk-6UYIWQLU.js";
26
+ import "./chunk-3BYKGMRM.js";
34
27
  import {
35
28
  appInstructions
36
- } from "./chunk-XIF75Z7D.js";
29
+ } from "./chunk-JCILSTFK.js";
30
+ import {
31
+ answered,
32
+ failed,
33
+ registerCommands
34
+ } from "./chunk-645FQC4G.js";
35
+ import {
36
+ agentJson
37
+ } from "./chunk-AVR4FPYG.js";
38
+ import "./chunk-437UHSIO.js";
39
+ import "./chunk-SCJVKWMV.js";
40
+ import "./chunk-DVJPEZGV.js";
41
+ import "./chunk-KVFBSOCV.js";
42
+ import "./chunk-NTUP5RCP.js";
43
+ import "./chunk-WPPPO427.js";
44
+ import "./chunk-QDNYJOWJ.js";
45
+ import "./chunk-V5I7QP4T.js";
46
+ import "./chunk-KTVQIKU5.js";
37
47
  import {
38
48
  McpServer
39
- } from "./chunk-5D4AEUVA.js";
40
- import "./chunk-I3MS74OF.js";
41
- import "./chunk-QXYNDMA6.js";
42
- import "./chunk-OOYRMTX5.js";
43
- import "./chunk-4VHK5UBM.js";
49
+ } from "./chunk-PL5P7UKW.js";
50
+ import "./chunk-MQ6DQRRI.js";
51
+ import "./chunk-2UNZ3L2H.js";
52
+ import "./chunk-KLPFPNZP.js";
53
+ import "./chunk-GBZIWCEP.js";
44
54
  import {
45
55
  mcpHttpMarker
46
- } from "./chunk-NXERDBEK.js";
47
- import "./chunk-PC3N3LH3.js";
48
- import "./chunk-JVGVLRBA.js";
56
+ } from "./chunk-OEL4DQTT.js";
57
+ import "./chunk-NYYMMIVW.js";
58
+ import "./chunk-42XY6D5C.js";
49
59
  import {
50
60
  DEFAULT_OUTPUT_BYTES,
51
61
  changesAuthorityAt,
@@ -56,52 +66,53 @@ import {
56
66
  readOnlyLockOf,
57
67
  readsOverMcpAt,
58
68
  rootOf2 as rootOf
59
- } from "./chunk-VBVR6JRC.js";
60
- import "./chunk-LKTDW5LH.js";
61
- import "./chunk-PVZMN3UZ.js";
62
- import "./chunk-KF6O4RZO.js";
63
- import "./chunk-FORAOCZ3.js";
64
- import "./chunk-PRDKEVUL.js";
65
- import "./chunk-NWD7AFOR.js";
66
- import "./chunk-6G4VQFVX.js";
67
- import "./chunk-4URI6EAV.js";
68
- import "./chunk-NJVJH5MH.js";
69
- import "./chunk-WYGDALB3.js";
70
- import "./chunk-VRGEDK4T.js";
71
- import "./chunk-5GANGHQI.js";
72
- import "./chunk-KNVTBDTE.js";
73
- import "./chunk-26DYRMXE.js";
74
- import "./chunk-TZJC4AOK.js";
75
- import "./chunk-CKVWAUBW.js";
76
- import "./chunk-4VM3UCSO.js";
77
- import "./chunk-QXLYLVEC.js";
78
- import "./chunk-XWU3A7H6.js";
79
- import "./chunk-QOQF2TX3.js";
80
- import "./chunk-PA4GEJXQ.js";
81
- import "./chunk-T2EE5M7O.js";
82
- import "./chunk-KLI5FKZ2.js";
83
- import "./chunk-KGYK3OI3.js";
84
- import "./chunk-2SCQ7Z4I.js";
85
- import "./chunk-AGZ7SNFF.js";
86
- import "./chunk-FEBUZHU3.js";
69
+ } from "./chunk-ROK7Z5LQ.js";
70
+ import "./chunk-RJUVWJTA.js";
71
+ import "./chunk-PMSZBUC7.js";
72
+ import "./chunk-BBQERXQX.js";
73
+ import "./chunk-MRWV5VNQ.js";
74
+ import "./chunk-3NOXZZJV.js";
75
+ import "./chunk-YPB5BEAD.js";
76
+ import "./chunk-KP7JHJVP.js";
77
+ import "./chunk-GEU3WR75.js";
78
+ import "./chunk-MT3LYU4T.js";
79
+ import "./chunk-2RV4V55B.js";
80
+ import "./chunk-CJMZQ2MZ.js";
81
+ import "./chunk-NYR7PIAG.js";
82
+ import "./chunk-NCY55XIT.js";
83
+ import "./chunk-U67XMAEE.js";
84
+ import "./chunk-U3BO342P.js";
85
+ import "./chunk-6TT62IUW.js";
86
+ import "./chunk-5TIWO6AR.js";
87
+ import "./chunk-3ZKNXKM7.js";
88
+ import "./chunk-6PKMUKUF.js";
89
+ import "./chunk-6LJIENVT.js";
90
+ import "./chunk-WNQECDIP.js";
91
+ import "./chunk-6FZPFNEU.js";
92
+ import "./chunk-REWV37HQ.js";
93
+ import "./chunk-HH34WRQE.js";
94
+ import "./chunk-L4QLZDBZ.js";
95
+ import "./chunk-GCTHVCJU.js";
96
+ import "./chunk-VIJV474N.js";
97
+ import "./chunk-HPSESLOZ.js";
87
98
  import "./chunk-D72URWJE.js";
88
- import "./chunk-NI4GCP2T.js";
89
- import "./chunk-NHD5BOJU.js";
90
- import "./chunk-4SKE5GYA.js";
91
- import "./chunk-EZAX77SM.js";
99
+ import "./chunk-VIDPFLFM.js";
100
+ import "./chunk-ZRSLG3B3.js";
101
+ import "./chunk-CMOO4INK.js";
102
+ import "./chunk-WZFGZBGD.js";
92
103
  import {
93
104
  mcpErrorResult
94
- } from "./chunk-LOSYDRJU.js";
105
+ } from "./chunk-C3JSQ7UJ.js";
95
106
  import "./chunk-Y5E2WNWB.js";
96
107
  import {
97
108
  CliError
98
- } from "./chunk-QQGPV3QN.js";
99
- import "./chunk-2GDLJKPT.js";
109
+ } from "./chunk-PMGAU6AP.js";
110
+ import "./chunk-6NDPOY4N.js";
100
111
  import {
101
112
  __name
102
113
  } from "./chunk-ZVVMGPBJ.js";
103
114
 
104
- // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
115
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
105
116
  var EXCLUDED = [["mcp"]];
106
117
  var aliasesOf = /* @__PURE__ */ __name((root, path) => {
107
118
  let at = root;
@@ -182,7 +193,8 @@ var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
182
193
  }, "run")
183
194
  }
184
195
  ]));
185
- const skill = options.skill ? skillResource(app, options.skill) : void 0;
196
+ const skills = options.skill ? skillResources(app, options.skill) : [];
197
+ const skill = skills[0];
186
198
  const build = /* @__PURE__ */ __name(() => {
187
199
  const server = new McpServer({ name: app.command, version: app.version }, {
188
200
  instructions: appInstructions({
@@ -194,10 +206,8 @@ var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
194
206
  })
195
207
  });
196
208
  registerCommands(server, app.command, commands, app.errors, void 0, app.messenger);
197
- if (skill) {
198
- const { uri, name, title, description, mimeType, read } = skill;
209
+ for (const { uri, name, title, description, mimeType, read } of skills)
199
210
  server.registerResource(name, uri, { title, description, mimeType }, read);
200
- }
201
211
  return server;
202
212
  }, "build");
203
213
  return { build, offered: Object.keys(commands) };
@@ -218,7 +228,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
218
228
  var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
219
229
  const { app } = options;
220
230
  const { build } = createAppServer(command, context, options);
221
- const { serveOverHttp } = await import("./serve-3EPLJYVZ.js");
231
+ const { serveOverHttp } = await import("./serve-URI6NZA3.js");
222
232
  const listening = await serveOverHttp(build, {
223
233
  ...http,
224
234
  appName: app.command,
@@ -18,12 +18,12 @@ import {
18
18
  jitCompatCheck,
19
19
  refineSqliteCodecs,
20
20
  sql
21
- } from "./chunk-2GDLJKPT.js";
21
+ } from "./chunk-6NDPOY4N.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/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,21 +3,21 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  loadVectorExtension,
5
5
  vectorExtension
6
- } from "./chunk-X6IGETU6.js";
6
+ } from "./chunk-5VPLQS4S.js";
7
7
  import {
8
8
  refuseOwnerStoreInTests
9
- } from "./chunk-NI4GCP2T.js";
10
- import "./chunk-EZAX77SM.js";
11
- import "./chunk-LOSYDRJU.js";
9
+ } from "./chunk-VIDPFLFM.js";
10
+ import "./chunk-WZFGZBGD.js";
11
+ import "./chunk-C3JSQ7UJ.js";
12
12
  import {
13
13
  importFrom
14
14
  } from "./chunk-Y5E2WNWB.js";
15
- import "./chunk-QQGPV3QN.js";
15
+ import "./chunk-PMGAU6AP.js";
16
16
  import {
17
17
  __name
18
18
  } from "./chunk-ZVVMGPBJ.js";
19
19
 
20
- // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
20
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
21
21
  var customised = false;
22
22
  var ownLibrary = /* @__PURE__ */ __name(async () => {
23
23
  try {