@wirecat/notion-cli 0.4.0 → 0.5.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 (153) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/bin/notion.js +2 -2
  3. package/dist/bundle/{all-profiles-4IONYZB6.js → all-profiles-V37KCXH3.js} +9 -9
  4. package/dist/bundle/{anthropic-OXF74J4P.js → anthropic-Q4S3BYXD.js} +5 -5
  5. package/dist/bundle/{app-server-M2VF6ABM.js → app-server-43SR3ACI.js} +54 -54
  6. package/dist/bundle/{bun-DLA6QRLL.js → bun-M3J2QTR3.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-F4BYLW3F.js → bun-sqlite-EJ3W2PSV.js} +6 -6
  8. package/dist/bundle/{chunk-7NGFGFE5.js → chunk-2FJNMADN.js} +7 -7
  9. package/dist/bundle/{chunk-RMJMID5D.js → chunk-3RL2MIUF.js} +8 -8
  10. package/dist/bundle/{chunk-GCCPFKSU.js → chunk-5P5TXU2K.js} +462 -392
  11. package/dist/bundle/{chunk-L62XTC7N.js → chunk-6EOZTUHT.js} +10 -10
  12. package/dist/bundle/{chunk-4TQVZXOV.js → chunk-AT5I34AN.js} +3 -3
  13. package/dist/bundle/{chunk-FIHXADRF.js → chunk-B3FSLAIU.js} +4 -4
  14. package/dist/bundle/{chunk-7NVPM55S.js → chunk-BBSFQ3PU.js} +1262 -1048
  15. package/dist/bundle/{chunk-JIRRF6BM.js → chunk-BNEE35WD.js} +4 -4
  16. package/dist/bundle/{chunk-HTKSCSJU.js → chunk-BWLBSQSU.js} +3 -3
  17. package/dist/bundle/{chunk-T5UNSFES.js → chunk-C32AKHTY.js} +8 -8
  18. package/dist/bundle/{chunk-GK4GLPG2.js → chunk-CDK5E45T.js} +3 -3
  19. package/dist/bundle/{chunk-NO2LIHWA.js → chunk-CWXOXIWS.js} +1 -1
  20. package/dist/bundle/{chunk-LIQMUDIZ.js → chunk-DB2XKHI4.js} +2 -2
  21. package/dist/bundle/{chunk-Z53LYX4M.js → chunk-DBEQI5YM.js} +3 -3
  22. package/dist/bundle/{chunk-2MHMKNWD.js → chunk-DFCHHR5M.js} +1 -1
  23. package/dist/bundle/{chunk-OI5DWZJG.js → chunk-DO7BLXO3.js} +3 -3
  24. package/dist/bundle/{chunk-5UA2TYMI.js → chunk-DSP36YHQ.js} +2 -2
  25. package/dist/bundle/{chunk-WZEEEQGC.js → chunk-E2AFUJDR.js} +3 -3
  26. package/dist/bundle/{chunk-YFWLHTNO.js → chunk-E5WLE7BM.js} +1 -1
  27. package/dist/bundle/{chunk-P3P6DA6K.js → chunk-ECC2UX7X.js} +6 -6
  28. package/dist/bundle/{chunk-GSNE7OB4.js → chunk-ECEZOLOD.js} +4 -4
  29. package/dist/bundle/{chunk-CIVXTBJY.js → chunk-FBZI4Z3Z.js} +41 -41
  30. package/dist/bundle/{chunk-5XP4KQ2F.js → chunk-FKA7DOCK.js} +1 -1
  31. package/dist/bundle/chunk-FPUGMDJV.js +7 -0
  32. package/dist/bundle/{chunk-OCDJ4FFA.js → chunk-G2MJYXZG.js} +3 -3
  33. package/dist/bundle/{chunk-5LBJNTEJ.js → chunk-GCZ6MAEN.js} +6 -6
  34. package/dist/bundle/{chunk-M2EEIYBU.js → chunk-GTY6N5KZ.js} +2 -2
  35. package/dist/bundle/{chunk-TJCPTRYD.js → chunk-H3E2PZ5Y.js} +7 -7
  36. package/dist/bundle/{chunk-FSJHASRQ.js → chunk-HHVFIXDO.js} +304 -265
  37. package/dist/bundle/{chunk-6JBLIQQN.js → chunk-HZRQLAHO.js} +1 -1
  38. package/dist/bundle/{chunk-WU3XHGOB.js → chunk-J3NKZ6MO.js} +17 -15
  39. package/dist/bundle/{chunk-QX3TPFEX.js → chunk-JCKWQGCD.js} +36 -36
  40. package/dist/bundle/{chunk-4KUJTSHG.js → chunk-KHWOLBHQ.js} +2 -2
  41. package/dist/bundle/{chunk-R6SDRSZK.js → chunk-KHZ2RGXI.js} +33 -32
  42. package/dist/bundle/{chunk-SGBS5QCU.js → chunk-LBYGJKXW.js} +4 -4
  43. package/dist/bundle/{chunk-EY6S7FV3.js → chunk-MNRMKWCN.js} +6 -6
  44. package/dist/bundle/{chunk-TFNRCCGR.js → chunk-N2XADGL4.js} +3 -3
  45. package/dist/bundle/{chunk-IJMFG7HB.js → chunk-NA6QLHBZ.js} +7 -7
  46. package/dist/bundle/{chunk-TXONV3HW.js → chunk-NE43YXKL.js} +2 -2
  47. package/dist/bundle/{chunk-TZ2QJ53V.js → chunk-NHHJHXMQ.js} +2 -2
  48. package/dist/bundle/{chunk-K5I64ZVI.js → chunk-NTG657MI.js} +8 -8
  49. package/dist/bundle/{chunk-YAPDU3SV.js → chunk-O3DYRCIT.js} +1 -1
  50. package/dist/bundle/{chunk-KL3P5TQK.js → chunk-O5YB7FQD.js} +4 -4
  51. package/dist/bundle/{chunk-WHJWURZB.js → chunk-ONZVPE24.js} +5 -5
  52. package/dist/bundle/{chunk-7NF3V5L2.js → chunk-P5BHKKBI.js} +4 -4
  53. package/dist/bundle/{chunk-GBFEEHQC.js → chunk-PAW6RRCW.js} +11 -26
  54. package/dist/bundle/{chunk-D6RCRBDH.js → chunk-PPHBRESD.js} +2 -2
  55. package/dist/bundle/{chunk-MRA62W5K.js → chunk-PWRRDDMZ.js} +182 -170
  56. package/dist/bundle/{chunk-COH7OEER.js → chunk-QIG55MZH.js} +12 -12
  57. package/dist/bundle/{chunk-L6H7PY4X.js → chunk-QWYMXFKM.js} +3 -3
  58. package/dist/bundle/{chunk-M6DGZ2O6.js → chunk-QYXWRKNA.js} +7 -7
  59. package/dist/bundle/{chunk-JODE2XED.js → chunk-RIGE67FR.js} +24 -24
  60. package/dist/bundle/{chunk-ZC6ZQQ55.js → chunk-RJMQGG3P.js} +30 -30
  61. package/dist/bundle/{chunk-BEPFGITI.js → chunk-TD2JZ25O.js} +59 -56
  62. package/dist/bundle/{chunk-EQPAZ33O.js → chunk-TDNURSU6.js} +17 -17
  63. package/dist/bundle/{chunk-6GN7KU7X.js → chunk-TOSCB4SO.js} +14 -8
  64. package/dist/bundle/{chunk-Y5LAJWR5.js → chunk-TP7GDWVF.js} +1 -1
  65. package/dist/bundle/{chunk-UROEWCOG.js → chunk-UZSBGECU.js} +3 -3
  66. package/dist/bundle/{chunk-7YZPBAQX.js → chunk-W53EJOFQ.js} +1 -1
  67. package/dist/bundle/{chunk-AYU5TFDU.js → chunk-W5JZMXGW.js} +29 -20
  68. package/dist/bundle/{chunk-UKE3CGHK.js → chunk-W7HM2VGO.js} +1 -1
  69. package/dist/bundle/{chunk-FEMHUSGO.js → chunk-WE4UFASG.js} +1 -1
  70. package/dist/bundle/{chunk-XCTOCVMW.js → chunk-WPP76PSX.js} +14 -14
  71. package/dist/bundle/{chunk-YGCI3DHS.js → chunk-X2M6NIQG.js} +1 -1
  72. package/dist/bundle/{chunk-CDGZZNGY.js → chunk-XUPN2EHR.js} +21 -7
  73. package/dist/bundle/command-contract-TVRFW2IX.js +38 -0
  74. package/dist/bundle/{command-server-entry-2SORMVRM.js → command-server-entry-LJ627ZUA.js} +26 -26
  75. package/dist/bundle/{decode-5O7IEFPN.js → decode-PX2LZ5Y2.js} +5 -5
  76. package/dist/bundle/{dispatch-YHQX6FEJ.js → dispatch-KOISQ5QJ.js} +8 -8
  77. package/dist/bundle/{echarts-ARLMVQC7.js → echarts-FVTUDXDU.js} +2 -2
  78. package/dist/bundle/{embed-FUDUKQ3K.js → embed-CCSDK43I.js} +6 -6
  79. package/dist/bundle/{embedder-HDRV7GX3.js → embedder-VHI4DHB7.js} +9 -9
  80. package/dist/bundle/{failure-JHXICWIL.js → failure-FZ6VYKEQ.js} +2 -2
  81. package/dist/bundle/{first-run-BGEFTXOE.js → first-run-7JKE5AHN.js} +12 -12
  82. package/dist/bundle/first-screen-ZROHOEYJ.js +38 -0
  83. package/dist/bundle/{instructions-MEFIKCDI.js → instructions-HET7BCYK.js} +1 -1
  84. package/dist/bundle/{mcp-VMS6PBCU.js → mcp-RGNRW77S.js} +2 -2
  85. package/dist/bundle/meeting-combined-SSTOJUIJ.js +24 -0
  86. package/dist/bundle/{meeting-model-REZVYGQW.js → meeting-model-K7TPS4S5.js} +12 -12
  87. package/dist/bundle/{meeting-semantic-R4CSLVRG.js → meeting-semantic-UD26T37N.js} +6 -6
  88. package/dist/bundle/{node-MAQALPLA.js → node-CXZIFHZC.js} +2 -2
  89. package/dist/bundle/{node-sqlite-J7IJYNBO.js → node-sqlite-ME7KMORI.js} +7 -7
  90. package/dist/bundle/notion.js +13 -13
  91. package/dist/bundle/{oauth-AMV4YGJD.js → oauth-XBTROXHB.js} +7 -7
  92. package/dist/bundle/{open-AB27MTGR.js → open-HA6D3SXR.js} +5 -5
  93. package/dist/bundle/{openai-D77MU5XV.js → openai-H5AJPZBX.js} +16 -16
  94. package/dist/bundle/{process-SIOWTRJ6.js → process-5RUXWGYS.js} +1 -1
  95. package/dist/bundle/{program-7K34KI27.js → program-F3NBTZ7J.js} +1459 -829
  96. package/dist/bundle/{prompt-W77YDHA6.js → prompt-6XSUOLHK.js} +5 -5
  97. package/dist/bundle/{recognize-3JAXQQ36.js → recognize-2Y7AUVGG.js} +4 -4
  98. package/dist/bundle/{remote-PSOJXCXO.js → remote-KCABPXQ3.js} +10 -10
  99. package/dist/bundle/{rerank-EE44ZTGL.js → rerank-BTN7LUVA.js} +7 -7
  100. package/dist/bundle/{schemas-LBYUMBC6.js → schemas-VVLTLMXS.js} +1 -1
  101. package/dist/bundle/{serve-XJMGAMFW.js → serve-CYEMVRFC.js} +9 -9
  102. package/dist/bundle/server-UC2FNNXX.js +72 -0
  103. package/dist/bundle/{server-ASU6CP5R.js → server-WFIICGMI.js} +46 -46
  104. package/dist/bundle/{services-PT4PA4J6.js → services-L4W6ZWDG.js} +41 -41
  105. package/dist/bundle/{sqlite-runtime-YHXRTVXE.js → sqlite-runtime-IKMYLRQC.js} +6 -6
  106. package/dist/bundle/{state-T6ZKFWGD.js → state-LMUP636P.js} +6 -6
  107. package/dist/bundle/{store-3MUCZEI3.js → store-A2QZFBOX.js} +19 -17
  108. package/dist/bundle/{store-E5EE25FY.js → store-W2JC2JP4.js} +19 -19
  109. package/dist/bundle/store-maintenance-command-LRGQJPSZ.js +63 -0
  110. package/dist/commands/library.d.ts.map +1 -1
  111. package/dist/commands/library.js +9 -4
  112. package/dist/commands/library.js.map +1 -1
  113. package/dist/generated/manifest.d.ts +4 -1
  114. package/dist/generated/manifest.d.ts.map +1 -1
  115. package/dist/generated/manifest.js +20 -0
  116. package/dist/generated/manifest.js.map +1 -1
  117. package/dist/knowledge.d.ts +1 -0
  118. package/dist/knowledge.d.ts.map +1 -1
  119. package/dist/knowledge.js +68 -2
  120. package/dist/knowledge.js.map +1 -1
  121. package/dist/library.d.ts +4 -1
  122. package/dist/library.d.ts.map +1 -1
  123. package/dist/library.js +11 -0
  124. package/dist/library.js.map +1 -1
  125. package/dist/notion/port.d.ts.map +1 -1
  126. package/dist/notion/port.js +1 -0
  127. package/dist/notion/port.js.map +1 -1
  128. package/dist/notion/reads.d.ts +13 -1
  129. package/dist/notion/reads.d.ts.map +1 -1
  130. package/dist/notion/reads.js +1 -1
  131. package/dist/program.d.ts.map +1 -1
  132. package/dist/program.js +17 -2
  133. package/dist/program.js.map +1 -1
  134. package/dist/sync/files.d.ts +7 -0
  135. package/dist/sync/files.d.ts.map +1 -1
  136. package/dist/sync/files.js.map +1 -1
  137. package/dist/sync/source.d.ts +1 -1
  138. package/dist/sync/source.d.ts.map +1 -1
  139. package/dist/sync/source.js +10 -21
  140. package/dist/sync/source.js.map +1 -1
  141. package/dist/sync/users.d.ts +9 -0
  142. package/dist/sync/users.d.ts.map +1 -0
  143. package/dist/sync/users.js +76 -0
  144. package/dist/sync/users.js.map +1 -0
  145. package/dist/version.d.ts +1 -1
  146. package/dist/version.js +1 -1
  147. package/package.json +3 -3
  148. package/dist/bundle/chunk-SHTHNBHG.js +0 -2
  149. package/dist/bundle/command-contract-UBXS6NHI.js +0 -38
  150. package/dist/bundle/first-screen-F5F3VS6Y.js +0 -38
  151. package/dist/bundle/meeting-combined-HNSS3FQY.js +0 -24
  152. package/dist/bundle/server-WSPQ5EOA.js +0 -72
  153. package/dist/bundle/store-maintenance-command-ZZ55BBBG.js +0 -63
package/CHANGELOG.md CHANGED
@@ -2,6 +2,29 @@
2
2
 
3
3
  Notable changes to `@wirecat/notion-cli`. One section per version, newest first.
4
4
 
5
+ ## 0.5.0 — 17.11.2026
6
+
7
+ ### Fixed
8
+
9
+ - **A search hit from Notion names `notion` and the profile.** `memo search` and `search all` showed a Notion page as
10
+ `provider: notes` with the store's account number, and the tree label showed raw ids, because notion never said
11
+ which account its profile is. A sync now records it through cli-core's documents engine.
12
+ - **The workspace root and databases stay out of search.** They are catalog entries, not pages: word search, meaning
13
+ search and memo's digest showed them with an empty excerpt, and `documents show` could not open them.
14
+ - **An agent's `relationships add` is saved.** It is written unconfirmed for the owner, who confirms it by adding the
15
+ same relationship or rejects it by removing it. It used to write nothing.
16
+ - **A sync cut inside Notion's own pass says to sync again.** When a slow listing reached the deadline, its cursor
17
+ waited on the sync's pending plan, where notion did not look: the answer said `complete: false` with no step to run
18
+ next, and `status` gave a total as if the pass were planned. notion now reads that cursor too.
19
+ - cli-core 0.687.0 (was 0.680.0), cli-base 0.109.0 (was 0.106.0).
20
+ - Sync now saves a page's creator and last editor as people in the shared store, with their names and email addresses
21
+ from Notion, and links the page to them as `owner` and `last-editor`. An email address joins them to the person who
22
+ already has it, so a person's context shows the Notion pages they wrote or edited. This needs the connection's
23
+ capability to read user information including email addresses; without it the authors are kept by Notion id, and
24
+ `sync` and `doctor` say so. A page synced before this gets its authors when it next changes.
25
+ - `identities link <page> <notion-id> person:<uid>` works: it no longer fails because the Notion user was not in the
26
+ store, and it moves every synced page's link from that user to the person.
27
+
5
28
  ## 0.4.0 — 16.11.2026
6
29
 
7
30
  ### Added
@@ -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.4.0\n")
12
+ process.stdout.write("0.5.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-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-7K34KI27.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"]
31
+ const chunks = ["../bundle/all-profiles-V37KCXH3.js","../bundle/anthropic-Q4S3BYXD.js","../bundle/app-server-43SR3ACI.js","../bundle/bun-M3J2QTR3.js","../bundle/bun-sqlite-EJ3W2PSV.js","../bundle/decode-PX2LZ5Y2.js","../bundle/definitions-M3U4UYHN.js","../bundle/dispatch-KOISQ5QJ.js","../bundle/dist-ILNOLGYN.js","../bundle/echarts-FVTUDXDU.js","../bundle/embed-CCSDK43I.js","../bundle/embedder-VHI4DHB7.js","../bundle/failure-FZ6VYKEQ.js","../bundle/first-screen-ZROHOEYJ.js","../bundle/instructions-HET7BCYK.js","../bundle/mcp-RGNRW77S.js","../bundle/meeting-combined-SSTOJUIJ.js","../bundle/meeting-model-K7TPS4S5.js","../bundle/meeting-semantic-UD26T37N.js","../bundle/node-CXZIFHZC.js","../bundle/node-KM3CUABH.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-ME7KMORI.js","../bundle/oauth-XBTROXHB.js","../bundle/open-HA6D3SXR.js","../bundle/openai-H5AJPZBX.js","../bundle/process-5RUXWGYS.js","../bundle/program-F3NBTZ7J.js","../bundle/prompt-6XSUOLHK.js","../bundle/recognize-2Y7AUVGG.js","../bundle/remote-KCABPXQ3.js","../bundle/rerank-BTN7LUVA.js","../bundle/schemas-VVLTLMXS.js","../bundle/serve-CYEMVRFC.js","../bundle/server-UC2FNNXX.js","../bundle/server-WFIICGMI.js","../bundle/services-L4W6ZWDG.js","../bundle/sqlite-runtime-IKMYLRQC.js","../bundle/state-LMUP636P.js","../bundle/store-A2QZFBOX.js","../bundle/store-W2JC2JP4.js","../bundle/store-maintenance-command-LRGQJPSZ.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-GK4GLPG2.js";
10
+ } from "./chunk-CDK5E45T.js";
11
11
  import {
12
12
  McpServer
13
13
  } from "./chunk-5D4AEUVA.js";
14
- import "./chunk-IJMFG7HB.js";
15
- import "./chunk-UROEWCOG.js";
16
- import "./chunk-SHTHNBHG.js";
17
- import "./chunk-AYU5TFDU.js";
14
+ import "./chunk-NA6QLHBZ.js";
15
+ import "./chunk-UZSBGECU.js";
16
+ import "./chunk-FPUGMDJV.js";
17
+ import "./chunk-W5JZMXGW.js";
18
18
  import {
19
19
  errorObjectOf,
20
20
  mcpErrorResult
21
- } from "./chunk-6GN7KU7X.js";
21
+ } from "./chunk-TOSCB4SO.js";
22
22
  import "./chunk-MVA5HVKL.js";
23
23
  import "./chunk-Y5E2WNWB.js";
24
24
  import {
25
25
  CliError
26
- } from "./chunk-LIQMUDIZ.js";
26
+ } from "./chunk-DB2XKHI4.js";
27
27
  import {
28
28
  __name
29
29
  } from "./chunk-ZVVMGPBJ.js";
30
30
 
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
31
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/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-XJMGAMFW.js");
252
+ const { serveOverHttp } = await import("./serve-CYEMVRFC.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-TFNRCCGR.js";
12
- import "./chunk-AYU5TFDU.js";
13
- import "./chunk-6GN7KU7X.js";
11
+ } from "./chunk-N2XADGL4.js";
12
+ import "./chunk-W5JZMXGW.js";
13
+ import "./chunk-TOSCB4SO.js";
14
14
  import {
15
15
  array,
16
16
  literal,
@@ -22,12 +22,12 @@ import {
22
22
  unknown
23
23
  } from "./chunk-MVA5HVKL.js";
24
24
  import "./chunk-Y5E2WNWB.js";
25
- import "./chunk-LIQMUDIZ.js";
25
+ import "./chunk-DB2XKHI4.js";
26
26
  import {
27
27
  __name
28
28
  } from "./chunk-ZVVMGPBJ.js";
29
29
 
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
30
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/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,50 +3,50 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PER_RUN,
5
5
  envelope
6
- } from "./chunk-ZC6ZQQ55.js";
6
+ } from "./chunk-RJMQGG3P.js";
7
7
  import {
8
8
  mcpUrlOf
9
- } from "./chunk-JODE2XED.js";
10
- import "./chunk-YGCI3DHS.js";
9
+ } from "./chunk-RIGE67FR.js";
10
+ import "./chunk-X2M6NIQG.js";
11
11
  import {
12
12
  answered,
13
13
  failed,
14
14
  registerCommands,
15
15
  runCommandForAgent,
16
16
  toolsFromCommands
17
- } from "./chunk-R6SDRSZK.js";
17
+ } from "./chunk-KHZ2RGXI.js";
18
18
  import {
19
19
  agentJson,
20
20
  skillResources
21
- } from "./chunk-WU3XHGOB.js";
21
+ } from "./chunk-J3NKZ6MO.js";
22
22
  import {
23
23
  StdioServerTransport,
24
24
  answeredWire,
25
25
  serveStdio
26
- } from "./chunk-GK4GLPG2.js";
27
- import "./chunk-XCTOCVMW.js";
28
- import "./chunk-L62XTC7N.js";
29
- import "./chunk-D6RCRBDH.js";
26
+ } from "./chunk-CDK5E45T.js";
27
+ import "./chunk-WPP76PSX.js";
28
+ import "./chunk-6EOZTUHT.js";
29
+ import "./chunk-PPHBRESD.js";
30
30
  import {
31
31
  appInstructions
32
- } from "./chunk-5XP4KQ2F.js";
32
+ } from "./chunk-FKA7DOCK.js";
33
33
  import {
34
34
  McpServer
35
35
  } from "./chunk-5D4AEUVA.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";
36
+ import "./chunk-5P5TXU2K.js";
37
+ import "./chunk-FBZI4Z3Z.js";
38
+ import "./chunk-WE4UFASG.js";
39
+ import "./chunk-G2MJYXZG.js";
40
+ import "./chunk-CWXOXIWS.js";
41
+ import "./chunk-N2XADGL4.js";
42
+ import "./chunk-ECC2UX7X.js";
43
+ import "./chunk-PAW6RRCW.js";
44
+ import "./chunk-QWYMXFKM.js";
45
45
  import {
46
46
  mcpHttpMarker
47
- } from "./chunk-SGBS5QCU.js";
48
- import "./chunk-OI5DWZJG.js";
49
- import "./chunk-KL3P5TQK.js";
47
+ } from "./chunk-LBYGJKXW.js";
48
+ import "./chunk-DO7BLXO3.js";
49
+ import "./chunk-O5YB7FQD.js";
50
50
  import {
51
51
  DEFAULT_OUTPUT_BYTES,
52
52
  changesAuthorityAt,
@@ -57,48 +57,48 @@ import {
57
57
  readOnlyLockOf,
58
58
  readsOverMcpAt,
59
59
  rootOf2 as rootOf
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";
60
+ } from "./chunk-PWRRDDMZ.js";
61
+ import "./chunk-NA6QLHBZ.js";
62
+ import "./chunk-AT5I34AN.js";
63
+ import "./chunk-ONZVPE24.js";
64
+ import "./chunk-W53EJOFQ.js";
65
+ import "./chunk-TDNURSU6.js";
66
+ import "./chunk-BWLBSQSU.js";
67
+ import "./chunk-BBSFQ3PU.js";
68
+ import "./chunk-C32AKHTY.js";
69
+ import "./chunk-QYXWRKNA.js";
70
+ import "./chunk-HZRQLAHO.js";
71
+ import "./chunk-JCKWQGCD.js";
72
+ import "./chunk-UZSBGECU.js";
73
+ import "./chunk-DSP36YHQ.js";
74
+ import "./chunk-HHVFIXDO.js";
75
+ import "./chunk-NTG657MI.js";
76
+ import "./chunk-E2AFUJDR.js";
77
+ import "./chunk-H3E2PZ5Y.js";
78
+ import "./chunk-GCZ6MAEN.js";
79
+ import "./chunk-BNEE35WD.js";
80
+ import "./chunk-O3DYRCIT.js";
81
+ import "./chunk-FPUGMDJV.js";
82
+ import "./chunk-XUPN2EHR.js";
83
83
  import "./chunk-D72URWJE.js";
84
- import "./chunk-M2EEIYBU.js";
85
- import "./chunk-EY6S7FV3.js";
86
- import "./chunk-2MHMKNWD.js";
87
- import "./chunk-AYU5TFDU.js";
84
+ import "./chunk-GTY6N5KZ.js";
85
+ import "./chunk-MNRMKWCN.js";
86
+ import "./chunk-DFCHHR5M.js";
87
+ import "./chunk-W5JZMXGW.js";
88
88
  import {
89
89
  mcpErrorResult
90
- } from "./chunk-6GN7KU7X.js";
90
+ } from "./chunk-TOSCB4SO.js";
91
91
  import "./chunk-MVA5HVKL.js";
92
92
  import "./chunk-Y5E2WNWB.js";
93
93
  import {
94
94
  CliError
95
- } from "./chunk-LIQMUDIZ.js";
96
- import "./chunk-Y5LAJWR5.js";
95
+ } from "./chunk-DB2XKHI4.js";
96
+ import "./chunk-TP7GDWVF.js";
97
97
  import {
98
98
  __name
99
99
  } from "./chunk-ZVVMGPBJ.js";
100
100
 
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
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
102
102
  var EXCLUDED = [["mcp"]];
103
103
  var aliasesOf = /* @__PURE__ */ __name((root, path) => {
104
104
  let at = root;
@@ -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-XJMGAMFW.js");
217
+ const { serveOverHttp } = await import("./serve-CYEMVRFC.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-Y5LAJWR5.js";
21
+ } from "./chunk-TP7GDWVF.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
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
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/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-TZ2QJ53V.js";
6
+ } from "./chunk-NHHJHXMQ.js";
7
7
  import {
8
8
  refuseOwnerStoreInTests
9
- } from "./chunk-M2EEIYBU.js";
10
- import "./chunk-AYU5TFDU.js";
11
- import "./chunk-6GN7KU7X.js";
9
+ } from "./chunk-GTY6N5KZ.js";
10
+ import "./chunk-W5JZMXGW.js";
11
+ import "./chunk-TOSCB4SO.js";
12
12
  import "./chunk-MVA5HVKL.js";
13
13
  import {
14
14
  importFrom
15
15
  } from "./chunk-Y5E2WNWB.js";
16
- import "./chunk-LIQMUDIZ.js";
16
+ import "./chunk-DB2XKHI4.js";
17
17
  import {
18
18
  __name
19
19
  } from "./chunk-ZVVMGPBJ.js";
20
20
 
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
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/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 {
@@ -5,11 +5,11 @@ import {
5
5
  } from "./chunk-EH6ZEJGT.js";
6
6
  import {
7
7
  WIRECAT_TOOLS
8
- } from "./chunk-FEMHUSGO.js";
8
+ } from "./chunk-WE4UFASG.js";
9
9
  import {
10
10
  commandPathOf,
11
11
  outputOf
12
- } from "./chunk-KL3P5TQK.js";
12
+ } from "./chunk-O5YB7FQD.js";
13
13
  import {
14
14
  Command,
15
15
  Help,
@@ -20,18 +20,18 @@ import {
20
20
  environmentOf,
21
21
  metaOf,
22
22
  takesProfile
23
- } from "./chunk-MRA62W5K.js";
23
+ } from "./chunk-PWRRDDMZ.js";
24
24
  import {
25
25
  writes
26
- } from "./chunk-6GN7KU7X.js";
26
+ } from "./chunk-TOSCB4SO.js";
27
27
  import {
28
28
  CliError
29
- } from "./chunk-LIQMUDIZ.js";
29
+ } from "./chunk-DB2XKHI4.js";
30
30
  import {
31
31
  __name
32
32
  } from "./chunk-ZVVMGPBJ.js";
33
33
 
34
- // 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/help/command-help.js
34
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
35
35
  var ARGUMENT_KINDS = {
36
36
  chat: "chat",
37
37
  chats: "chat",
@@ -224,7 +224,7 @@ var installCommandHelp = /* @__PURE__ */ __name((program, { profile = true } = {
224
224
  command.addHelpText("after", () => commandHelpText(command));
225
225
  }, "installCommandHelp");
226
226
 
227
- // 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/help/first-screen.js
227
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
228
228
  var WIDTH = 100;
229
229
  var widest = /* @__PURE__ */ __name((texts) => texts.reduce((most, text) => Math.max(most, text.length), 0), "widest");
230
230
  var block = /* @__PURE__ */ __name((title, rows, column) => rows.length === 0 ? [] : ["", `${title}:`, ...rows.map(([left, right]) => ` ${left.padEnd(column)}${right}`)], "block");
@@ -2,33 +2,33 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  stdinFieldOf
5
- } from "./chunk-YGCI3DHS.js";
5
+ } from "./chunk-X2M6NIQG.js";
6
6
  import {
7
7
  commandPathOf
8
- } from "./chunk-KL3P5TQK.js";
8
+ } from "./chunk-O5YB7FQD.js";
9
9
  import {
10
10
  commandServerRequest,
11
11
  metaOf
12
- } from "./chunk-MRA62W5K.js";
12
+ } from "./chunk-PWRRDDMZ.js";
13
13
  import {
14
14
  errorObjectOf,
15
15
  renderError
16
- } from "./chunk-6GN7KU7X.js";
16
+ } from "./chunk-TOSCB4SO.js";
17
17
  import {
18
18
  CliError
19
- } from "./chunk-LIQMUDIZ.js";
19
+ } from "./chunk-DB2XKHI4.js";
20
20
  import {
21
21
  __name
22
22
  } from "./chunk-ZVVMGPBJ.js";
23
23
 
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/cli/command-server.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/command-server.js
25
25
  import { createInterface } from "node:readline";
26
26
 
27
- // 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/command-server-argv.js
27
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/command-server-argv.js
28
28
  var COMMAND_SERVER_ARGV = ["commands", "--serve"];
29
29
  var isCommandServer = /* @__PURE__ */ __name((args) => args.length === COMMAND_SERVER_ARGV.length && COMMAND_SERVER_ARGV.every((word, at) => args[at] === word), "isCommandServer");
30
30
 
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/cli/command-server.js
31
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/command-server.js
32
32
  var COMMAND_SERVER_PROTOCOL = 1;
33
33
  var COMMAND_SERVER_IDLE_MS = 10 * 6e4;
34
34
  var COMMAND_SERVER_CONCURRENT = 8;