@wirecat/notion-cli 0.2.0 → 0.3.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 (160) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/README.md +6 -2
  3. package/contracts/wirecat.json +48 -0
  4. package/dist/bin/notion.js +2 -2
  5. package/dist/bundle/{all-profiles-JGYLQZ5C.js → all-profiles-4IONYZB6.js} +10 -10
  6. package/dist/bundle/{anthropic-S2VSMIKQ.js → anthropic-OXF74J4P.js} +6 -6
  7. package/dist/bundle/{app-server-SASYDBCA.js → app-server-M2VF6ABM.js} +59 -59
  8. package/dist/bundle/{bun-LU5LP3JI.js → bun-DLA6QRLL.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-JBSINB4O.js → bun-sqlite-F4BYLW3F.js} +7 -7
  10. package/dist/bundle/{chunk-4HWJOU7N.js → chunk-2MHMKNWD.js} +1 -1
  11. package/dist/bundle/{chunk-SHJQ6JKG.js → chunk-4KUJTSHG.js} +2 -2
  12. package/dist/bundle/{chunk-SWAOWNKW.js → chunk-4TQVZXOV.js} +3 -3
  13. package/dist/bundle/{chunk-ODBZNSZ6.js → chunk-5LBJNTEJ.js} +6 -6
  14. package/dist/bundle/{chunk-SZOVLP44.js → chunk-5UA2TYMI.js} +2 -2
  15. package/dist/bundle/{chunk-22QQUKWA.js → chunk-5XP4KQ2F.js} +1 -1
  16. package/dist/bundle/{chunk-4IPURN72.js → chunk-6GN7KU7X.js} +9 -9
  17. package/dist/bundle/{chunk-X4TIMMKJ.js → chunk-6JBLIQQN.js} +1 -1
  18. package/dist/bundle/{chunk-4ZTVJHWU.js → chunk-7NF3V5L2.js} +4 -4
  19. package/dist/bundle/{chunk-OTV53F34.js → chunk-7NGFGFE5.js} +9 -60
  20. package/dist/bundle/{chunk-VBHETQVV.js → chunk-7NVPM55S.js} +1908 -1013
  21. package/dist/bundle/{chunk-Z56QFOBR.js → chunk-7YZPBAQX.js} +1 -1
  22. package/dist/bundle/{chunk-3AL7QUS3.js → chunk-AYU5TFDU.js} +20 -20
  23. package/dist/bundle/{chunk-FPY6EJ7B.js → chunk-BEPFGITI.js} +55 -55
  24. package/dist/bundle/{chunk-VCIALTEM.js → chunk-CBGBFAYJ.js} +12 -4
  25. package/dist/bundle/{chunk-NQWV4WQO.js → chunk-CDGZZNGY.js} +6 -6
  26. package/dist/bundle/{chunk-DH5PRHT4.js → chunk-CIVXTBJY.js} +13 -13
  27. package/dist/bundle/{chunk-B26TQZKZ.js → chunk-COH7OEER.js} +14 -13
  28. package/dist/bundle/{chunk-XF26XKTS.js → chunk-D6RCRBDH.js} +2 -2
  29. package/dist/bundle/{chunk-YMYUBZWT.js → chunk-EQPAZ33O.js} +17 -17
  30. package/dist/bundle/{chunk-LAYPFBOM.js → chunk-EY6S7FV3.js} +6 -6
  31. package/dist/bundle/chunk-FEMHUSGO.js +88 -0
  32. package/dist/bundle/{chunk-FWVBPRL4.js → chunk-FSJHASRQ.js} +79 -62
  33. package/dist/bundle/{chunk-TPX2M45D.js → chunk-GBFEEHQC.js} +10 -10
  34. package/dist/bundle/{chunk-5IYKVRH2.js → chunk-GCCPFKSU.js} +434 -343
  35. package/dist/bundle/{chunk-3Z4YTSRY.js → chunk-GK4GLPG2.js} +3 -3
  36. package/dist/bundle/{chunk-GZOUFX3C.js → chunk-GSNE7OB4.js} +4 -4
  37. package/dist/bundle/{chunk-TSDBSIFM.js → chunk-HTKSCSJU.js} +4 -4
  38. package/dist/bundle/{chunk-5NFK5EM2.js → chunk-IJMFG7HB.js} +7 -7
  39. package/dist/bundle/{chunk-D7QSEEYW.js → chunk-JIRRF6BM.js} +4 -4
  40. package/dist/bundle/{chunk-5RSC54NA.js → chunk-JODE2XED.js} +25 -25
  41. package/dist/bundle/{chunk-RV64YUQX.js → chunk-K5I64ZVI.js} +9 -9
  42. package/dist/bundle/{chunk-AOCUKEAX.js → chunk-KL3P5TQK.js} +4 -4
  43. package/dist/bundle/{chunk-2LWO3PDX.js → chunk-L62XTC7N.js} +11 -11
  44. package/dist/bundle/{chunk-LLG2POQ7.js → chunk-L6H7PY4X.js} +3 -3
  45. package/dist/bundle/{chunk-5RDNBG7D.js → chunk-LIQMUDIZ.js} +2 -2
  46. package/dist/bundle/{chunk-WF4D56CA.js → chunk-M2EEIYBU.js} +2 -2
  47. package/dist/bundle/{chunk-MZU2YFBZ.js → chunk-M6DGZ2O6.js} +8 -8
  48. package/dist/bundle/{chunk-FXEJY4OL.js → chunk-MRA62W5K.js} +233 -167
  49. package/dist/bundle/{chunk-XYIT2XB3.js → chunk-MVA5HVKL.js} +20 -0
  50. package/dist/bundle/{chunk-YVI5SQPY.js → chunk-NO2LIHWA.js} +1 -1
  51. package/dist/bundle/{chunk-WCSOH4JS.js → chunk-OCDJ4FFA.js} +4 -4
  52. package/dist/bundle/{chunk-2F4QQ7WB.js → chunk-OI5DWZJG.js} +3 -3
  53. package/dist/bundle/{chunk-EUIVXFLJ.js → chunk-P3P6DA6K.js} +6 -6
  54. package/dist/bundle/{chunk-MY742GAD.js → chunk-QX3TPFEX.js} +37 -37
  55. package/dist/bundle/{chunk-6RA3EABS.js → chunk-R6SDRSZK.js} +62 -32
  56. package/dist/bundle/{chunk-5QIQEUOG.js → chunk-RMJMID5D.js} +8 -8
  57. package/dist/bundle/{chunk-BNPTZ5ZB.js → chunk-SGBS5QCU.js} +4 -4
  58. package/dist/bundle/{chunk-YNTLT3Z3.js → chunk-T5UNSFES.js} +8 -8
  59. package/dist/bundle/{chunk-M7S2NDWB.js → chunk-TFNRCCGR.js} +4 -4
  60. package/dist/bundle/{chunk-B7ON6KPT.js → chunk-TJCPTRYD.js} +7 -7
  61. package/dist/bundle/{chunk-KM6WHPHI.js → chunk-TXONV3HW.js} +2 -2
  62. package/dist/bundle/{chunk-NOQ7B5N7.js → chunk-TZ2QJ53V.js} +2 -2
  63. package/dist/bundle/{chunk-KGERXYTV.js → chunk-UKE3CGHK.js} +1 -1
  64. package/dist/bundle/{chunk-6EVKHZKN.js → chunk-UROEWCOG.js} +3 -3
  65. package/dist/bundle/{chunk-WJHZMR2W.js → chunk-WHJWURZB.js} +6 -6
  66. package/dist/bundle/{chunk-G3EZFRSS.js → chunk-WU3XHGOB.js} +112 -42
  67. package/dist/bundle/{chunk-2F6VO5HA.js → chunk-WZEEEQGC.js} +3 -3
  68. package/dist/bundle/{chunk-M3KB25D3.js → chunk-XCTOCVMW.js} +14 -14
  69. package/dist/bundle/{chunk-FT3LN3HP.js → chunk-Y5LAJWR5.js} +1 -1
  70. package/dist/bundle/{chunk-ZZ32DXTH.js → chunk-YAPDU3SV.js} +1 -1
  71. package/dist/bundle/{chunk-HL52XXZX.js → chunk-YFWLHTNO.js} +1 -1
  72. package/dist/bundle/{chunk-P7CUM5IB.js → chunk-YGCI3DHS.js} +1 -1
  73. package/dist/bundle/{chunk-KCLOUUYF.js → chunk-Z53LYX4M.js} +3 -3
  74. package/dist/bundle/{chunk-ZKAEZXUP.js → chunk-ZC6ZQQ55.js} +36 -37
  75. package/dist/bundle/command-contract-UBXS6NHI.js +38 -0
  76. package/dist/bundle/{command-server-entry-UFSG7KRO.js → command-server-entry-2SORMVRM.js} +27 -27
  77. package/dist/bundle/{decode-7LLWTSPT.js → decode-5O7IEFPN.js} +6 -6
  78. package/dist/bundle/{dispatch-2GY6JIJH.js → dispatch-YHQX6FEJ.js} +8 -8
  79. package/dist/bundle/{echarts-BXX4OQWC.js → echarts-ARLMVQC7.js} +2 -2
  80. package/dist/bundle/{embed-JXFNBTKH.js → embed-FUDUKQ3K.js} +7 -7
  81. package/dist/bundle/{embedder-57YZ44KO.js → embedder-HDRV7GX3.js} +10 -10
  82. package/dist/bundle/{failure-MYT4HPE3.js → failure-JHXICWIL.js} +3 -3
  83. package/dist/bundle/first-run-BGEFTXOE.js +29 -0
  84. package/dist/bundle/first-screen-F5F3VS6Y.js +38 -0
  85. package/dist/bundle/{instructions-2VECIDXF.js → instructions-MEFIKCDI.js} +1 -1
  86. package/dist/bundle/{mcp-O6ACR2DX.js → mcp-VMS6PBCU.js} +2 -2
  87. package/dist/bundle/meeting-combined-HNSS3FQY.js +24 -0
  88. package/dist/bundle/meeting-model-REZVYGQW.js +26 -0
  89. package/dist/bundle/{meeting-semantic-ETN3A4BJ.js → meeting-semantic-R4CSLVRG.js} +7 -7
  90. package/dist/bundle/{node-MPEQSFI3.js → node-MAQALPLA.js} +2 -2
  91. package/dist/bundle/{node-sqlite-WA32MYSJ.js → node-sqlite-J7IJYNBO.js} +8 -8
  92. package/dist/bundle/notion.js +14 -14
  93. package/dist/bundle/{oauth-IAFZG3IR.js → oauth-AMV4YGJD.js} +8 -8
  94. package/dist/bundle/{open-M3JQUC5G.js → open-AB27MTGR.js} +6 -6
  95. package/dist/bundle/{openai-HXUEHUSD.js → openai-D77MU5XV.js} +17 -17
  96. package/dist/bundle/{process-F6TKXWWA.js → process-SIOWTRJ6.js} +1 -1
  97. package/dist/bundle/{program-Y7JAB6TG.js → program-QC5MX4ZJ.js} +2816 -1645
  98. package/dist/bundle/{prompt-IMUQLZD2.js → prompt-W77YDHA6.js} +6 -6
  99. package/dist/bundle/{recognize-2MZAYHAA.js → recognize-3JAXQQ36.js} +5 -5
  100. package/dist/bundle/{remote-OV4LB6VR.js → remote-PSOJXCXO.js} +11 -11
  101. package/dist/bundle/{rerank-ZIULUS34.js → rerank-EE44ZTGL.js} +8 -8
  102. package/dist/bundle/{schemas-DIVZS6TU.js → schemas-LBYUMBC6.js} +2 -2
  103. package/dist/bundle/{serve-YU7QBP6L.js → serve-XJMGAMFW.js} +10 -10
  104. package/dist/bundle/{server-LGMNONSB.js → server-ASU6CP5R.js} +51 -51
  105. package/dist/bundle/server-WSPQ5EOA.js +72 -0
  106. package/dist/bundle/{services-5WY4DCPJ.js → services-PT4PA4J6.js} +46 -39
  107. package/dist/bundle/{sqlite-runtime-5MXZDETH.js → sqlite-runtime-YHXRTVXE.js} +7 -7
  108. package/dist/bundle/{state-LWMZH2KI.js → state-T6ZKFWGD.js} +7 -7
  109. package/dist/bundle/{store-EPZYV4VW.js → store-3MUCZEI3.js} +20 -18
  110. package/dist/bundle/{store-QE6FEIZD.js → store-E5EE25FY.js} +24 -20
  111. package/dist/bundle/store-maintenance-command-ZZ55BBBG.js +63 -0
  112. package/dist/commands/api.d.ts.map +1 -1
  113. package/dist/commands/api.js +13 -4
  114. package/dist/commands/api.js.map +1 -1
  115. package/dist/commands/documents.d.ts +8 -0
  116. package/dist/commands/documents.d.ts.map +1 -1
  117. package/dist/commands/documents.js +173 -3
  118. package/dist/commands/documents.js.map +1 -1
  119. package/dist/commands/library.d.ts.map +1 -1
  120. package/dist/commands/library.js +3 -1
  121. package/dist/commands/library.js.map +1 -1
  122. package/dist/config.d.ts +19 -0
  123. package/dist/config.d.ts.map +1 -1
  124. package/dist/config.js +73 -5
  125. package/dist/config.js.map +1 -1
  126. package/dist/context.d.ts +3 -0
  127. package/dist/context.d.ts.map +1 -1
  128. package/dist/context.js +3 -0
  129. package/dist/context.js.map +1 -1
  130. package/dist/generated/types.d.ts +485 -375
  131. package/dist/generated/types.d.ts.map +1 -1
  132. package/dist/notion/errors.d.ts +5 -0
  133. package/dist/notion/errors.d.ts.map +1 -1
  134. package/dist/notion/errors.js +7 -0
  135. package/dist/notion/errors.js.map +1 -1
  136. package/dist/notion/writes.d.ts +40 -0
  137. package/dist/notion/writes.d.ts.map +1 -0
  138. package/dist/notion/writes.js +112 -0
  139. package/dist/notion/writes.js.map +1 -0
  140. package/dist/sync/cursor.d.ts +12 -0
  141. package/dist/sync/cursor.d.ts.map +1 -1
  142. package/dist/sync/files.d.ts +10 -0
  143. package/dist/sync/files.d.ts.map +1 -1
  144. package/dist/sync/files.js +19 -0
  145. package/dist/sync/files.js.map +1 -1
  146. package/dist/sync/source.d.ts.map +1 -1
  147. package/dist/sync/source.js +43 -25
  148. package/dist/sync/source.js.map +1 -1
  149. package/dist/version.d.ts +1 -1
  150. package/dist/version.js +1 -1
  151. package/package.json +3 -3
  152. package/skills/notion-cli/SKILL.md +6 -0
  153. package/dist/bundle/command-contract-JS5V27NX.js +0 -38
  154. package/dist/bundle/first-run-3PF7T74J.js +0 -29
  155. package/dist/bundle/first-screen-7BEROEQR.js +0 -36
  156. package/dist/bundle/meeting-combined-PPUQ3KBR.js +0 -24
  157. package/dist/bundle/meeting-model-ZNMYKMCD.js +0 -26
  158. package/dist/bundle/server-FKQET4ZO.js +0 -71
  159. package/dist/bundle/store-maintenance-command-ZUUUFCHL.js +0 -62
  160. /package/dist/bundle/{chunk-VKE77B3F.js → chunk-SHTHNBHG.js} +0 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,35 @@
2
2
 
3
3
  Notable changes to `@wirecat/notion-cli`. One section per version, newest first.
4
4
 
5
+ ## 0.3.0 — 16.11.2026
6
+
7
+ ### Added
8
+
9
+ - `documents create`, `documents update`, `documents delete` and `documents restore` write Notion pages. `create`
10
+ makes a page under another page from Markdown, `update` replaces a page's text, `delete` moves a page to Notion's
11
+ trash and asks first, and `restore` brings it back. An update that would delete a child page or database is refused
12
+ unless `--allow-deleting-content` is given, and then it asks as a delete does. Every write goes through the
13
+ profile's permissions and the write journal, answers with an `operation_id`, and is previewed with `--dry-run`.
14
+ A raw `api` call that deletes, trashes, erases or archives content, or removes a database property, now asks as
15
+ `documents delete` does, so `documents.delete` set to `deny` stops it too, also for an `agent-batch` call with a
16
+ delete in it. `--file` reads only a regular file, never a link, one under `/proc`, `/sys` or `/dev`, nor a
17
+ credential file. See
18
+ [Writes](docs/dev/DESIGN.md#writes).
19
+
20
+ ### Fixed
21
+
22
+ - The [install page](docs/installation.md#sign-in) shows how to sign in with `session start`.
23
+ - `bin/notion-live` reads the token from the keyring service that `NOTION_LIVE_KEYRING_SERVICE` names. When it is
24
+ unset, the service stays `notion-live`.
25
+ - A plain `sync` removes the rows of a data source that was taken out of its database. Before, they stayed in the
26
+ local copy until `sync --rescan`. When Notion will not show the database (403), the rows stay.
27
+
28
+ ### Security
29
+
30
+ - cli-core 0.680.0 and cli-base 0.106.0. cli-core now refuses files under `/proc`, `/sys` and `/dev` itself, so
31
+ `--file` uses its check instead of notion's own. `--file` still opens the file once, never through a link, and
32
+ checks the file it opened.
33
+
5
34
  ## 0.2.0 — 16.11.2026
6
35
 
7
36
  ### Added
package/README.md CHANGED
@@ -4,8 +4,8 @@
4
4
  MCP. It signs in with your own Notion token, kept in your system keyring.
5
5
 
6
6
  **Status: in development.** It signs in, reads live from Notion, and keeps a copy of your pages on your computer,
7
- searchable offline with the rest of WireCat. Next it searches database rows by their properties, then writes pages,
8
- and later keeps a folder of Markdown files in step with a Notion page tree. The order of work is in [docs/dev/DESIGN.md](docs/dev/DESIGN.md).
7
+ searchable offline with the rest of WireCat, and creates, changes and deletes pages. Next it searches database rows by
8
+ their properties, and later keeps a folder of Markdown files in step with a Notion page tree. The order of work is in [docs/dev/DESIGN.md](docs/dev/DESIGN.md).
9
9
 
10
10
  ## What it does now
11
11
 
@@ -20,6 +20,10 @@ and later keeps a folder of Markdown files in step with a Notion page tree. The
20
20
  - `notion personal search <words>` searches the copy offline, in Lucene syntax. `documents list|show|export|context`
21
21
  read it, `status` says how far the sync is, and `tags`, `notes`, `memories` and `facts` keep your own notes on a
22
22
  page. `memo search` and `search all` find the pages too.
23
+ - `notion personal documents create --parent <page> --file notes.md` makes a page from Markdown, `documents update
24
+ <page> --file page.md` replaces a page's text, `documents delete <page>` moves it to Notion's trash after asking, and
25
+ `documents restore <page>` brings it back. An update that would delete a child page or database needs
26
+ `--allow-deleting-content`; `--dry-run` shows what a write would do and sends nothing.
23
27
  - `notion personal databases list` lists the databases the token sees; `databases show <id or link>` gives each data
24
28
  source's id and its properties.
25
29
  - `notion doctor`, `notion personal mcp serve` and the other commands every WireCat CLI shares.
@@ -205,6 +205,54 @@
205
205
  "permission": "documents.get",
206
206
  "entity": "document_markdown"
207
207
  },
208
+ {
209
+ "path": [
210
+ "documents",
211
+ "create"
212
+ ],
213
+ "summary": "create a Notion page under another page",
214
+ "effects": {
215
+ "remote": "write",
216
+ "local": "write"
217
+ },
218
+ "permission": "documents.create"
219
+ },
220
+ {
221
+ "path": [
222
+ "documents",
223
+ "update"
224
+ ],
225
+ "summary": "replace a Notion page's text",
226
+ "effects": {
227
+ "remote": "write",
228
+ "local": "write"
229
+ },
230
+ "permission": "documents.update"
231
+ },
232
+ {
233
+ "path": [
234
+ "documents",
235
+ "delete"
236
+ ],
237
+ "summary": "move a Notion page to the trash",
238
+ "effects": {
239
+ "remote": "write",
240
+ "local": "write"
241
+ },
242
+ "permission": "documents.delete"
243
+ },
244
+ {
245
+ "path": [
246
+ "documents",
247
+ "restore"
248
+ ],
249
+ "summary": "bring a Notion page back from the trash",
250
+ "effects": {
251
+ "remote": "write",
252
+ "local": "write"
253
+ },
254
+ "permission": "documents.restore"
255
+ },
208
256
  {
209
257
  "path": [
210
258
  "documents",
@@ -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.2.0\n")
12
+ process.stdout.write("0.3.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-JGYLQZ5C.js","../bundle/anthropic-S2VSMIKQ.js","../bundle/app-server-SASYDBCA.js","../bundle/bun-LU5LP3JI.js","../bundle/bun-sqlite-JBSINB4O.js","../bundle/decode-7LLWTSPT.js","../bundle/definitions-M3U4UYHN.js","../bundle/dispatch-2GY6JIJH.js","../bundle/dist-ILNOLGYN.js","../bundle/echarts-BXX4OQWC.js","../bundle/embed-JXFNBTKH.js","../bundle/embedder-57YZ44KO.js","../bundle/failure-MYT4HPE3.js","../bundle/first-screen-7BEROEQR.js","../bundle/instructions-2VECIDXF.js","../bundle/mcp-O6ACR2DX.js","../bundle/meeting-combined-PPUQ3KBR.js","../bundle/meeting-model-ZNMYKMCD.js","../bundle/meeting-semantic-ETN3A4BJ.js","../bundle/node-KM3CUABH.js","../bundle/node-MPEQSFI3.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-WA32MYSJ.js","../bundle/oauth-IAFZG3IR.js","../bundle/open-M3JQUC5G.js","../bundle/openai-HXUEHUSD.js","../bundle/process-F6TKXWWA.js","../bundle/program-Y7JAB6TG.js","../bundle/prompt-IMUQLZD2.js","../bundle/recognize-2MZAYHAA.js","../bundle/remote-OV4LB6VR.js","../bundle/rerank-ZIULUS34.js","../bundle/schemas-DIVZS6TU.js","../bundle/serve-YU7QBP6L.js","../bundle/server-FKQET4ZO.js","../bundle/server-LGMNONSB.js","../bundle/services-5WY4DCPJ.js","../bundle/sqlite-runtime-5MXZDETH.js","../bundle/state-LWMZH2KI.js","../bundle/store-EPZYV4VW.js","../bundle/store-QE6FEIZD.js","../bundle/store-maintenance-command-ZUUUFCHL.js"]
31
+ const chunks = ["../bundle/all-profiles-4IONYZB6.js","../bundle/anthropic-OXF74J4P.js","../bundle/app-server-M2VF6ABM.js","../bundle/bun-DLA6QRLL.js","../bundle/bun-sqlite-F4BYLW3F.js","../bundle/decode-5O7IEFPN.js","../bundle/definitions-M3U4UYHN.js","../bundle/dispatch-YHQX6FEJ.js","../bundle/dist-ILNOLGYN.js","../bundle/echarts-ARLMVQC7.js","../bundle/embed-FUDUKQ3K.js","../bundle/embedder-HDRV7GX3.js","../bundle/failure-JHXICWIL.js","../bundle/first-screen-F5F3VS6Y.js","../bundle/instructions-MEFIKCDI.js","../bundle/mcp-VMS6PBCU.js","../bundle/meeting-combined-HNSS3FQY.js","../bundle/meeting-model-REZVYGQW.js","../bundle/meeting-semantic-R4CSLVRG.js","../bundle/node-KM3CUABH.js","../bundle/node-MAQALPLA.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-J7IJYNBO.js","../bundle/oauth-AMV4YGJD.js","../bundle/open-AB27MTGR.js","../bundle/openai-D77MU5XV.js","../bundle/process-SIOWTRJ6.js","../bundle/program-QC5MX4ZJ.js","../bundle/prompt-W77YDHA6.js","../bundle/recognize-3JAXQQ36.js","../bundle/remote-PSOJXCXO.js","../bundle/rerank-EE44ZTGL.js","../bundle/schemas-LBYUMBC6.js","../bundle/serve-XJMGAMFW.js","../bundle/server-ASU6CP5R.js","../bundle/server-WSPQ5EOA.js","../bundle/services-PT4PA4J6.js","../bundle/sqlite-runtime-YHXRTVXE.js","../bundle/state-T6ZKFWGD.js","../bundle/store-3MUCZEI3.js","../bundle/store-E5EE25FY.js","../bundle/store-maintenance-command-ZZ55BBBG.js"]
32
32
  if (((words) => words
33
33
  .filter((word) => !word.startsWith("-"))
34
34
  .slice(0, 2)
@@ -7,28 +7,28 @@ import {
7
7
  answeredWire,
8
8
  callerOf,
9
9
  serveStdio
10
- } from "./chunk-3Z4YTSRY.js";
10
+ } from "./chunk-GK4GLPG2.js";
11
11
  import {
12
12
  McpServer
13
13
  } from "./chunk-5D4AEUVA.js";
14
- import "./chunk-5NFK5EM2.js";
15
- import "./chunk-6EVKHZKN.js";
16
- import "./chunk-VKE77B3F.js";
17
- import "./chunk-3AL7QUS3.js";
14
+ import "./chunk-IJMFG7HB.js";
15
+ import "./chunk-UROEWCOG.js";
16
+ import "./chunk-SHTHNBHG.js";
17
+ import "./chunk-AYU5TFDU.js";
18
18
  import {
19
19
  errorObjectOf,
20
20
  mcpErrorResult
21
- } from "./chunk-4IPURN72.js";
22
- import "./chunk-XYIT2XB3.js";
21
+ } from "./chunk-6GN7KU7X.js";
22
+ import "./chunk-MVA5HVKL.js";
23
23
  import "./chunk-Y5E2WNWB.js";
24
24
  import {
25
25
  CliError
26
- } from "./chunk-5RDNBG7D.js";
26
+ } from "./chunk-LIQMUDIZ.js";
27
27
  import {
28
28
  __name
29
29
  } from "./chunk-ZVVMGPBJ.js";
30
30
 
31
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
31
+ // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
32
32
  import { spawn } from "node:child_process";
33
33
  import { randomUUID } from "node:crypto";
34
34
  var PROTOCOL = "2025-06-18";
@@ -249,7 +249,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
249
249
  }, "serveAllProfilesOverStdio");
250
250
  var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
251
251
  const { build, close } = allProfilesServer(options);
252
- const { serveOverHttp } = await import("./serve-YU7QBP6L.js");
252
+ const { serveOverHttp } = await import("./serve-XJMGAMFW.js");
253
253
  const listening = await serveOverHttp(build, {
254
254
  ...http,
255
255
  appName: options.command,
@@ -8,9 +8,9 @@ import {
8
8
  checkedOptions,
9
9
  messagesFor,
10
10
  systemFor
11
- } from "./chunk-M7S2NDWB.js";
12
- import "./chunk-3AL7QUS3.js";
13
- import "./chunk-4IPURN72.js";
11
+ } from "./chunk-TFNRCCGR.js";
12
+ import "./chunk-AYU5TFDU.js";
13
+ import "./chunk-6GN7KU7X.js";
14
14
  import {
15
15
  array,
16
16
  literal,
@@ -20,14 +20,14 @@ import {
20
20
  strictObject,
21
21
  string,
22
22
  unknown
23
- } from "./chunk-XYIT2XB3.js";
23
+ } from "./chunk-MVA5HVKL.js";
24
24
  import "./chunk-Y5E2WNWB.js";
25
- import "./chunk-5RDNBG7D.js";
25
+ import "./chunk-LIQMUDIZ.js";
26
26
  import {
27
27
  __name
28
28
  } from "./chunk-ZVVMGPBJ.js";
29
29
 
30
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/models/anthropic.js
30
+ // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/models/anthropic.js
31
31
  var options = strictObject({
32
32
  stop_sequences: optional(array(string())),
33
33
  thinking: optional(strictObject({ type: picklist(["disabled", "adaptive"]) })),
@@ -3,49 +3,50 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PER_RUN,
5
5
  envelope
6
- } from "./chunk-ZKAEZXUP.js";
6
+ } from "./chunk-ZC6ZQQ55.js";
7
7
  import {
8
8
  mcpUrlOf
9
- } from "./chunk-5RSC54NA.js";
10
- import "./chunk-P7CUM5IB.js";
9
+ } from "./chunk-JODE2XED.js";
10
+ import "./chunk-YGCI3DHS.js";
11
11
  import {
12
12
  answered,
13
13
  failed,
14
14
  registerCommands,
15
15
  runCommandForAgent,
16
16
  toolsFromCommands
17
- } from "./chunk-6RA3EABS.js";
17
+ } from "./chunk-R6SDRSZK.js";
18
18
  import {
19
19
  agentJson,
20
- skillResource
21
- } from "./chunk-G3EZFRSS.js";
20
+ skillResources
21
+ } from "./chunk-WU3XHGOB.js";
22
22
  import {
23
23
  StdioServerTransport,
24
24
  answeredWire,
25
25
  serveStdio
26
- } from "./chunk-3Z4YTSRY.js";
27
- import "./chunk-M3KB25D3.js";
28
- import "./chunk-2LWO3PDX.js";
29
- import "./chunk-XF26XKTS.js";
26
+ } from "./chunk-GK4GLPG2.js";
27
+ import "./chunk-XCTOCVMW.js";
28
+ import "./chunk-L62XTC7N.js";
29
+ import "./chunk-D6RCRBDH.js";
30
30
  import {
31
31
  appInstructions
32
- } from "./chunk-22QQUKWA.js";
32
+ } from "./chunk-5XP4KQ2F.js";
33
33
  import {
34
34
  McpServer
35
35
  } from "./chunk-5D4AEUVA.js";
36
- import "./chunk-5IYKVRH2.js";
37
- import "./chunk-DH5PRHT4.js";
38
- import "./chunk-WCSOH4JS.js";
39
- import "./chunk-YVI5SQPY.js";
40
- import "./chunk-M7S2NDWB.js";
41
- import "./chunk-EUIVXFLJ.js";
42
- import "./chunk-TPX2M45D.js";
43
- import "./chunk-LLG2POQ7.js";
36
+ import "./chunk-GCCPFKSU.js";
37
+ import "./chunk-CIVXTBJY.js";
38
+ import "./chunk-FEMHUSGO.js";
39
+ import "./chunk-OCDJ4FFA.js";
40
+ import "./chunk-NO2LIHWA.js";
41
+ import "./chunk-TFNRCCGR.js";
42
+ import "./chunk-P3P6DA6K.js";
43
+ import "./chunk-GBFEEHQC.js";
44
+ import "./chunk-L6H7PY4X.js";
44
45
  import {
45
46
  mcpHttpMarker
46
- } from "./chunk-BNPTZ5ZB.js";
47
- import "./chunk-2F4QQ7WB.js";
48
- import "./chunk-AOCUKEAX.js";
47
+ } from "./chunk-SGBS5QCU.js";
48
+ import "./chunk-OI5DWZJG.js";
49
+ import "./chunk-KL3P5TQK.js";
49
50
  import {
50
51
  DEFAULT_OUTPUT_BYTES,
51
52
  changesAuthorityAt,
@@ -56,48 +57,48 @@ import {
56
57
  readOnlyLockOf,
57
58
  readsOverMcpAt,
58
59
  rootOf2 as rootOf
59
- } from "./chunk-FXEJY4OL.js";
60
- import "./chunk-5NFK5EM2.js";
61
- import "./chunk-SWAOWNKW.js";
62
- import "./chunk-WJHZMR2W.js";
63
- import "./chunk-Z56QFOBR.js";
64
- import "./chunk-YMYUBZWT.js";
65
- import "./chunk-TSDBSIFM.js";
66
- import "./chunk-VBHETQVV.js";
67
- import "./chunk-YNTLT3Z3.js";
68
- import "./chunk-MZU2YFBZ.js";
69
- import "./chunk-X4TIMMKJ.js";
70
- import "./chunk-MY742GAD.js";
71
- import "./chunk-6EVKHZKN.js";
72
- import "./chunk-SZOVLP44.js";
73
- import "./chunk-FWVBPRL4.js";
74
- import "./chunk-RV64YUQX.js";
75
- import "./chunk-2F6VO5HA.js";
76
- import "./chunk-B7ON6KPT.js";
77
- import "./chunk-ODBZNSZ6.js";
78
- import "./chunk-D7QSEEYW.js";
79
- import "./chunk-ZZ32DXTH.js";
80
- import "./chunk-VKE77B3F.js";
81
- import "./chunk-NQWV4WQO.js";
60
+ } from "./chunk-MRA62W5K.js";
61
+ import "./chunk-IJMFG7HB.js";
62
+ import "./chunk-4TQVZXOV.js";
63
+ import "./chunk-WHJWURZB.js";
64
+ import "./chunk-7YZPBAQX.js";
65
+ import "./chunk-EQPAZ33O.js";
66
+ import "./chunk-HTKSCSJU.js";
67
+ import "./chunk-7NVPM55S.js";
68
+ import "./chunk-T5UNSFES.js";
69
+ import "./chunk-M6DGZ2O6.js";
70
+ import "./chunk-6JBLIQQN.js";
71
+ import "./chunk-QX3TPFEX.js";
72
+ import "./chunk-UROEWCOG.js";
73
+ import "./chunk-5UA2TYMI.js";
74
+ import "./chunk-FSJHASRQ.js";
75
+ import "./chunk-K5I64ZVI.js";
76
+ import "./chunk-WZEEEQGC.js";
77
+ import "./chunk-TJCPTRYD.js";
78
+ import "./chunk-5LBJNTEJ.js";
79
+ import "./chunk-JIRRF6BM.js";
80
+ import "./chunk-YAPDU3SV.js";
81
+ import "./chunk-SHTHNBHG.js";
82
+ import "./chunk-CDGZZNGY.js";
82
83
  import "./chunk-D72URWJE.js";
83
- import "./chunk-WF4D56CA.js";
84
- import "./chunk-LAYPFBOM.js";
85
- import "./chunk-4HWJOU7N.js";
86
- import "./chunk-3AL7QUS3.js";
84
+ import "./chunk-M2EEIYBU.js";
85
+ import "./chunk-EY6S7FV3.js";
86
+ import "./chunk-2MHMKNWD.js";
87
+ import "./chunk-AYU5TFDU.js";
87
88
  import {
88
89
  mcpErrorResult
89
- } from "./chunk-4IPURN72.js";
90
- import "./chunk-XYIT2XB3.js";
90
+ } from "./chunk-6GN7KU7X.js";
91
+ import "./chunk-MVA5HVKL.js";
91
92
  import "./chunk-Y5E2WNWB.js";
92
93
  import {
93
94
  CliError
94
- } from "./chunk-5RDNBG7D.js";
95
- import "./chunk-FT3LN3HP.js";
95
+ } from "./chunk-LIQMUDIZ.js";
96
+ import "./chunk-Y5LAJWR5.js";
96
97
  import {
97
98
  __name
98
99
  } from "./chunk-ZVVMGPBJ.js";
99
100
 
100
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
101
+ // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
101
102
  var EXCLUDED = [["mcp"]];
102
103
  var aliasesOf = /* @__PURE__ */ __name((root, path) => {
103
104
  let at = root;
@@ -178,7 +179,8 @@ var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
178
179
  }, "run")
179
180
  }
180
181
  ]));
181
- const skill = options.skill ? skillResource(app, options.skill) : void 0;
182
+ const skills = options.skill ? skillResources(app, options.skill) : [];
183
+ const skill = skills[0];
182
184
  const build = /* @__PURE__ */ __name(() => {
183
185
  const server = new McpServer({ name: app.command, version: app.version }, {
184
186
  instructions: appInstructions({
@@ -190,10 +192,8 @@ var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
190
192
  })
191
193
  });
192
194
  registerCommands(server, app.command, commands, app.errors, void 0, app.messenger);
193
- if (skill) {
194
- const { uri, name, title, description, mimeType, read } = skill;
195
+ for (const { uri, name, title, description, mimeType, read } of skills)
195
196
  server.registerResource(name, uri, { title, description, mimeType }, read);
196
- }
197
197
  return server;
198
198
  }, "build");
199
199
  return { build, offered: Object.keys(commands) };
@@ -214,7 +214,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
214
214
  var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
215
215
  const { app } = options;
216
216
  const { build } = createAppServer(command, context, options);
217
- const { serveOverHttp } = await import("./serve-YU7QBP6L.js");
217
+ const { serveOverHttp } = await import("./serve-XJMGAMFW.js");
218
218
  const listening = await serveOverHttp(build, {
219
219
  ...http,
220
220
  appName: app.command,
@@ -18,12 +18,12 @@ import {
18
18
  jitCompatCheck,
19
19
  refineSqliteCodecs,
20
20
  sql
21
- } from "./chunk-FT3LN3HP.js";
21
+ } from "./chunk-Y5LAJWR5.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/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,22 +3,22 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  loadVectorExtension,
5
5
  vectorExtension
6
- } from "./chunk-NOQ7B5N7.js";
6
+ } from "./chunk-TZ2QJ53V.js";
7
7
  import {
8
8
  refuseOwnerStoreInTests
9
- } from "./chunk-WF4D56CA.js";
10
- import "./chunk-3AL7QUS3.js";
11
- import "./chunk-4IPURN72.js";
12
- import "./chunk-XYIT2XB3.js";
9
+ } from "./chunk-M2EEIYBU.js";
10
+ import "./chunk-AYU5TFDU.js";
11
+ import "./chunk-6GN7KU7X.js";
12
+ import "./chunk-MVA5HVKL.js";
13
13
  import {
14
14
  importFrom
15
15
  } from "./chunk-Y5E2WNWB.js";
16
- import "./chunk-5RDNBG7D.js";
16
+ import "./chunk-LIQMUDIZ.js";
17
17
  import {
18
18
  __name
19
19
  } from "./chunk-ZVVMGPBJ.js";
20
20
 
21
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
22
22
  var customised = false;
23
23
  var ownLibrary = /* @__PURE__ */ __name(async () => {
24
24
  try {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/store/driver.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/store/driver.js
8
8
  var TIME_LIMIT_FUNCTION = "wc_time_limit";
9
9
  var TimeLimitReached = class extends Error {
10
10
  static {
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CAPABILITY_STATEMENTS,
5
5
  storeCapable
6
- } from "./chunk-LAYPFBOM.js";
6
+ } from "./chunk-EY6S7FV3.js";
7
7
  import {
8
8
  importFrom
9
9
  } from "./chunk-Y5E2WNWB.js";
@@ -11,7 +11,7 @@ import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
15
15
  import { spawn, spawnSync } from "node:child_process";
16
16
  import { readFileSync } from "node:fs";
17
17
  import { dirname } from "node:path";
@@ -3,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  readSharedSection,
5
5
  writeSharedSection
6
- } from "./chunk-B7ON6KPT.js";
6
+ } from "./chunk-TJCPTRYD.js";
7
7
  import {
8
8
  CliError
9
- } from "./chunk-5RDNBG7D.js";
9
+ } from "./chunk-LIQMUDIZ.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
15
15
  var PERMISSION_ANSWERS = ["readonly", "allow"];
16
16
  var QUESTIONS = ["languages", "tools", "permissions"];
17
17
  var SECTION = "setup";
@@ -5,23 +5,23 @@ import {
5
5
  installFiles,
6
6
  megabytes,
7
7
  sharedModelsDirectory
8
- } from "./chunk-D7QSEEYW.js";
8
+ } from "./chunk-JIRRF6BM.js";
9
9
  import {
10
10
  importFrom
11
11
  } from "./chunk-Y5E2WNWB.js";
12
12
  import {
13
13
  CliError
14
- } from "./chunk-5RDNBG7D.js";
14
+ } from "./chunk-LIQMUDIZ.js";
15
15
  import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
18
18
 
19
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
20
20
  import { readFileSync as readFileSync2 } from "node:fs";
21
21
  import { availableParallelism } from "node:os";
22
22
  import { basename, join as join2 } from "node:path";
23
23
 
24
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
25
25
  import { createHash } from "node:crypto";
26
26
  import { copyFileSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
27
27
  import { join } from "node:path";
@@ -678,7 +678,7 @@ var Unzip = /* @__PURE__ */ (function() {
678
678
  return Unzip2;
679
679
  })();
680
680
 
681
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
681
+ // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
682
682
  var ONNX_RUNTIME_VERSION = "1.30.0";
683
683
  var release = /* @__PURE__ */ __name((name, sha256, bytes) => ({
684
684
  name,
@@ -858,7 +858,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
858
858
  return { ort, session: await ort.InferenceSession.create(bytes, options) };
859
859
  }, "openSession");
860
860
 
861
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
861
+ // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
862
862
  var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
863
863
  var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
864
864
  var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");
@@ -3,12 +3,12 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError,
5
5
  singleLine
6
- } from "./chunk-5RDNBG7D.js";
6
+ } from "./chunk-LIQMUDIZ.js";
7
7
  import {
8
8
  __name
9
9
  } from "./chunk-ZVVMGPBJ.js";
10
10
 
11
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/domain/tags.js
11
+ // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/domain/tags.js
12
12
  var TAG_TYPES = ["chat", "contact", "message", "task"];
13
13
  var TAG = /^[a-z0-9-]{1,32}$/;
14
14
  var tagOf = /* @__PURE__ */ __name((value) => {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
8
8
  var instructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => {
9
9
  const all = typeof profile !== "string";
10
10
  const offers = /* @__PURE__ */ __name((key) => all || writes.includes(key), "offers");