@wirecat/drive-cli 0.51.0 → 0.52.1

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 (157) hide show
  1. package/README.md +2 -2
  2. package/dist/bin/drive.js +2 -2
  3. package/dist/bundle/{all-profiles-H3APJWSO.js → all-profiles-CYW6XBBS.js} +8 -8
  4. package/dist/bundle/{anthropic-P7DXFYFE.js → anthropic-KW6KU36Y.js} +5 -5
  5. package/dist/bundle/{app-server-IQUR7ZC2.js → app-server-TCJZ333E.js} +53 -52
  6. package/dist/bundle/{bun-LZUEW2ML.js → bun-7SYKSCLA.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-6LUE7UA6.js → bun-sqlite-RI7DR6RZ.js} +4 -4
  8. package/dist/bundle/{chunk-7ZNM6KXP.js → chunk-234MHU76.js} +7 -7
  9. package/dist/bundle/{chunk-U7DPS46V.js → chunk-2623YE5I.js} +107 -96
  10. package/dist/bundle/{chunk-UW7VXKKZ.js → chunk-2AUXBJRX.js} +19 -19
  11. package/dist/bundle/{chunk-OQVJQSEH.js → chunk-2UIMEMWU.js} +3 -3
  12. package/dist/bundle/{chunk-NO34DAIB.js → chunk-33NVQGUY.js} +6 -6
  13. package/dist/bundle/{chunk-D3UFQC7K.js → chunk-43QVYW3K.js} +49 -49
  14. package/dist/bundle/{chunk-POFLDSTX.js → chunk-54O62JWP.js} +10 -10
  15. package/dist/bundle/{chunk-HBRTKJ3J.js → chunk-5PLJKSG4.js} +7 -7
  16. package/dist/bundle/{chunk-PRBPVOW4.js → chunk-6DHQTUB2.js} +1 -1
  17. package/dist/bundle/{chunk-BVDAP3FQ.js → chunk-725OHXKR.js} +9 -9
  18. package/dist/bundle/chunk-7SH4JHYW.js +379 -0
  19. package/dist/bundle/{chunk-FCZ762RV.js → chunk-7XKAVMCF.js} +8 -8
  20. package/dist/bundle/{chunk-PNUS224S.js → chunk-7YMDL4JQ.js} +8 -6
  21. package/dist/bundle/{chunk-FV5WG4WU.js → chunk-A4UNTWAX.js} +29 -25
  22. package/dist/bundle/{chunk-I7EP3VPJ.js → chunk-ALJWBGD5.js} +1 -1
  23. package/dist/bundle/{chunk-U3OS6V6S.js → chunk-BBYD2FA3.js} +1 -1
  24. package/dist/bundle/{chunk-CX7HQ6KK.js → chunk-BSSCTWWK.js} +12 -12
  25. package/dist/bundle/{chunk-HYT3FJVB.js → chunk-C6Z25IBJ.js} +49 -24
  26. package/dist/bundle/{chunk-XCXUP76D.js → chunk-CB7SBYLO.js} +27 -27
  27. package/dist/bundle/{chunk-YXHMEFL7.js → chunk-CITFEQ6S.js} +1 -1
  28. package/dist/bundle/{chunk-Y73IZWRI.js → chunk-CKBHR7QO.js} +1 -1
  29. package/dist/bundle/{chunk-AKW5MNQP.js → chunk-CM7GAXGD.js} +5 -5
  30. package/dist/bundle/{chunk-OKSS7YUN.js → chunk-DLAFGSTN.js} +1 -1
  31. package/dist/bundle/{chunk-MPTD5P53.js → chunk-DO4PDQY5.js} +2 -2
  32. package/dist/bundle/{chunk-P3T2SZW2.js → chunk-EKFEY3KP.js} +2 -2
  33. package/dist/bundle/{chunk-ZKAAFY4C.js → chunk-F7UUZATI.js} +11 -11
  34. package/dist/bundle/{chunk-XBENRRBS.js → chunk-FCJAHD4R.js} +2 -2
  35. package/dist/bundle/{chunk-5C7RKU7O.js → chunk-FDWYPONW.js} +46 -34
  36. package/dist/bundle/{chunk-TVJU245P.js → chunk-FG4XXZZE.js} +2 -2
  37. package/dist/bundle/{chunk-BMI5VCR4.js → chunk-FJW3DDCF.js} +5 -5
  38. package/dist/bundle/{chunk-LZKPT7GY.js → chunk-G6QF5KWF.js} +35 -35
  39. package/dist/bundle/{chunk-K6JSVXDN.js → chunk-G7DCVJ4F.js} +5 -5
  40. package/dist/bundle/{chunk-J2S7QDOP.js → chunk-GJN5B5JK.js} +16 -16
  41. package/dist/bundle/{chunk-Q5CLTK5R.js → chunk-GR5GGZKH.js} +3 -3
  42. package/dist/bundle/{chunk-SZWQFR5X.js → chunk-GVCN3GLZ.js} +16 -4
  43. package/dist/bundle/{chunk-CT6Z6Z64.js → chunk-H47W2J6S.js} +523 -778
  44. package/dist/bundle/{chunk-HGWMX7BM.js → chunk-HQVJK5E7.js} +44 -22
  45. package/dist/bundle/{chunk-35IHF562.js → chunk-HX7Y2ASG.js} +350 -281
  46. package/dist/bundle/{chunk-7LYVWMKD.js → chunk-I7UH5CTA.js} +8 -8
  47. package/dist/bundle/{chunk-YVQJPLPU.js → chunk-IDUNJCFO.js} +2 -2
  48. package/dist/bundle/{chunk-WACVI3CS.js → chunk-IEXPOEEO.js} +24 -24
  49. package/dist/bundle/{chunk-6FXFYXTR.js → chunk-IWFBAWZK.js} +15 -15
  50. package/dist/bundle/{chunk-3KTDFSSK.js → chunk-JEOYFKUK.js} +2 -2
  51. package/dist/bundle/{chunk-4GFAOETW.js → chunk-KYVXMEBC.js} +3 -3
  52. package/dist/bundle/{chunk-PT6XDCOY.js → chunk-LJAX6YCF.js} +2 -2
  53. package/dist/bundle/{chunk-XXLTVVMT.js → chunk-LONV6HIK.js} +20 -20
  54. package/dist/bundle/{chunk-G75FZQAZ.js → chunk-NHBUTCNR.js} +10 -10
  55. package/dist/bundle/{chunk-OASIFIXM.js → chunk-NPSZPUK6.js} +2 -2
  56. package/dist/bundle/{chunk-Z3GWVRW3.js → chunk-NSIFQ5OP.js} +1 -1
  57. package/dist/bundle/{chunk-WX2NQO2D.js → chunk-NYOPEHEU.js} +1 -1
  58. package/dist/bundle/{chunk-TSZJXI4N.js → chunk-O6IOL6RX.js} +21 -21
  59. package/dist/bundle/{chunk-YLC4JVQZ.js → chunk-PAXKALHV.js} +5 -5
  60. package/dist/bundle/{chunk-AUW45JPI.js → chunk-PDGECM5D.js} +7 -7
  61. package/dist/bundle/{chunk-NRWDEBJB.js → chunk-PEOCBV2Z.js} +8 -8
  62. package/dist/bundle/{chunk-VCPS7Q2W.js → chunk-PQJYM5ES.js} +3 -3
  63. package/dist/bundle/{chunk-TEH76MZK.js → chunk-PQYVPCJ2.js} +26 -26
  64. package/dist/bundle/{chunk-WYWXOIGT.js → chunk-PSNHPFSK.js} +1 -1
  65. package/dist/bundle/{chunk-Y4YBW5S4.js → chunk-Q765VPZY.js} +2 -2
  66. package/dist/bundle/{chunk-D222O57O.js → chunk-QYUHS6DE.js} +6 -6
  67. package/dist/bundle/{chunk-YOABRW2M.js → chunk-R276546S.js} +1 -1
  68. package/dist/bundle/{chunk-SRIPLP7N.js → chunk-RNSP57TC.js} +4 -4
  69. package/dist/bundle/{chunk-VH4GVA2N.js → chunk-UR32UWTQ.js} +2 -2
  70. package/dist/bundle/{chunk-Z6KTSXE3.js → chunk-VJZST5RD.js} +2 -2
  71. package/dist/bundle/{chunk-LLMHJE5Q.js → chunk-VSOLLTYT.js} +2 -2
  72. package/dist/bundle/{chunk-PQGIV36R.js → chunk-VZ2I62HN.js} +2 -2
  73. package/dist/bundle/{chunk-DEVPGI27.js → chunk-W7IK7E4B.js} +17 -17
  74. package/dist/bundle/{chunk-NVHPYKYC.js → chunk-WBTVGFXI.js} +11 -11
  75. package/dist/bundle/{chunk-2TPENYCK.js → chunk-WLFUBNFX.js} +4 -4
  76. package/dist/bundle/{chunk-SRONUWOM.js → chunk-WQJBAWQP.js} +515 -344
  77. package/dist/bundle/{chunk-K3EK4MTU.js → chunk-WQRGA75U.js} +15 -3
  78. package/dist/bundle/{chunk-XE2GEE3E.js → chunk-WUX7AUOQ.js} +26 -26
  79. package/dist/bundle/{chunk-JI5KFKTL.js → chunk-XOLQSCMF.js} +6 -6
  80. package/dist/bundle/{chunk-EY4CUQW2.js → chunk-YKZ4IPLB.js} +26 -9
  81. package/dist/bundle/{chunk-GK2VUKQY.js → chunk-YNFELLNQ.js} +2 -2
  82. package/dist/bundle/{chunk-F3PPSIKI.js → chunk-YVPHJHIL.js} +3 -3
  83. package/dist/bundle/{chunk-4YG2FZ53.js → chunk-Z47LOJUS.js} +7 -7
  84. package/dist/bundle/{chunk-DDD3FS6G.js → chunk-ZDLIO76S.js} +2 -2
  85. package/dist/bundle/{chunk-UMY4IQE2.js → chunk-ZNZUZGSV.js} +54 -47
  86. package/dist/bundle/{chunk-UM4E2OFL.js → chunk-ZSXRDF6I.js} +1 -1
  87. package/dist/bundle/{chunk-N33EOINW.js → chunk-ZWSG7OCA.js} +4 -4
  88. package/dist/bundle/command-contract-I2YB5IXI.js +38 -0
  89. package/dist/bundle/{decode-4EENADOV.js → decode-EDN2ARXZ.js} +19 -17
  90. package/dist/bundle/drive.js +7 -7
  91. package/dist/bundle/{echarts-ZFC37XW7.js → echarts-GXY34GHA.js} +2 -2
  92. package/dist/bundle/{embed-UZMNP26C.js → embed-3GSQIQXE.js} +5 -5
  93. package/dist/bundle/{embedder-7VDWDBKF.js → embedder-6ULWRG3R.js} +8 -8
  94. package/dist/bundle/{entry-JJKCHVIK.js → entry-IPRJLFHO.js} +6 -6
  95. package/dist/bundle/failure-IXS2ZHA5.js +37 -0
  96. package/dist/bundle/{first-run-FJTEUJBF.js → first-run-FGHGWHC2.js} +9 -9
  97. package/dist/bundle/first-screen-M62KTPZG.js +36 -0
  98. package/dist/bundle/{google-JBJASYKY.js → google-BD3ZNFVJ.js} +9 -9
  99. package/dist/bundle/google-api-BDUWZMRV.js +83 -0
  100. package/dist/bundle/{identity-XE73ALJH.js → identity-U7IHZEMR.js} +2 -2
  101. package/dist/bundle/{instructions-Q4ASITKO.js → instructions-K5BEQM4C.js} +1 -1
  102. package/dist/bundle/{login-BD2WQT5F.js → login-7HRYPZMM.js} +71 -66
  103. package/dist/bundle/{mcp-G6U2Q63E.js → mcp-F67RATLF.js} +82 -81
  104. package/dist/bundle/mcp-JZSYPQA4.js +96 -0
  105. package/dist/bundle/{mcp-ZYZ4DFW2.js → mcp-WSGVVZWI.js} +2 -2
  106. package/dist/bundle/{node-CYM7VXFR.js → node-ZYWB7IET.js} +2 -2
  107. package/dist/bundle/{node-sqlite-RK4MHW57.js → node-sqlite-J3OODPYK.js} +4 -4
  108. package/dist/bundle/{oauth-CQXQRHJR.js → oauth-L4VTCBLF.js} +6 -6
  109. package/dist/bundle/{open-WSE4NBD2.js → open-SGUN7ZVF.js} +3 -3
  110. package/dist/bundle/openai-RLVISEDH.js +251 -0
  111. package/dist/bundle/{process-7HHZZZLA.js → process-ZXO2MWRJ.js} +1 -1
  112. package/dist/bundle/{program-ZMQYZNV5.js → program-YVLXSKZV.js} +104 -102
  113. package/dist/bundle/{prompt-YSBBQJGF.js → prompt-AUWTBLO7.js} +4 -4
  114. package/dist/bundle/{reasons-366PI7OV.js → reasons-J57GSRWN.js} +3 -3
  115. package/dist/bundle/{recognize-AZKGPCAS.js → recognize-ORX2UBQW.js} +5 -3
  116. package/dist/bundle/{remote-EYSK3XKD.js → remote-AGIJY73X.js} +6 -6
  117. package/dist/bundle/{rerank-LOW6VIDF.js → rerank-R6PE44M5.js} +6 -6
  118. package/dist/bundle/{serve-UJ52HGA7.js → serve-VOBAQHAQ.js} +8 -8
  119. package/dist/bundle/server-24PS4M7U.js +70 -0
  120. package/dist/bundle/server-G6HFZ2CK.js +57 -0
  121. package/dist/bundle/{services-B4QUSCFN.js → services-HZFTTZSF.js} +35 -28
  122. package/dist/bundle/{sqlite-runtime-GEURBVK5.js → sqlite-runtime-DTGPR2T2.js} +4 -4
  123. package/dist/bundle/{state-OJNSKOXO.js → state-WG3JKJM3.js} +5 -5
  124. package/dist/bundle/{store-62SBP45X.js → store-33VHIMEO.js} +14 -14
  125. package/dist/bundle/{store-FTS2HVVB.js → store-EV72MT5U.js} +16 -16
  126. package/dist/bundle/store-maintenance-command-ZTUEI4EC.js +58 -0
  127. package/dist/bundle/tokens-XMOGQFI6.js +102 -0
  128. package/dist/commands/session.d.ts.map +1 -1
  129. package/dist/commands/session.js +2 -1
  130. package/dist/commands/session.js.map +1 -1
  131. package/dist/knowledge-query.d.ts +1 -1
  132. package/dist/login.d.ts.map +1 -1
  133. package/dist/login.js +7 -3
  134. package/dist/login.js.map +1 -1
  135. package/dist/reasons.js +1 -1
  136. package/dist/reasons.js.map +1 -1
  137. package/dist/store.d.ts.map +1 -1
  138. package/dist/store.js +1 -0
  139. package/dist/store.js.map +1 -1
  140. package/dist/tokens.d.ts +0 -2
  141. package/dist/tokens.d.ts.map +1 -1
  142. package/dist/tokens.js +12 -13
  143. package/dist/tokens.js.map +1 -1
  144. package/dist/version.d.ts +1 -1
  145. package/dist/version.js +1 -1
  146. package/package.json +3 -3
  147. package/dist/bundle/command-contract-R6CGYG7L.js +0 -38
  148. package/dist/bundle/failure-VBQBKCD5.js +0 -37
  149. package/dist/bundle/first-screen-NSPQWNMQ.js +0 -36
  150. package/dist/bundle/google-api-2FKF4UUN.js +0 -82
  151. package/dist/bundle/mcp-H3XD47NW.js +0 -95
  152. package/dist/bundle/server-CA2VLY25.js +0 -56
  153. package/dist/bundle/server-TW75RDEP.js +0 -69
  154. package/dist/bundle/store-maintenance-command-FQMB3R4E.js +0 -57
  155. package/dist/bundle/tokens-JALZUGEM.js +0 -103
  156. /package/dist/bundle/{chunk-2WNDZFGG.js → chunk-62EDJKGP.js} +0 -0
  157. /package/dist/bundle/{chunk-UO5O3665.js → chunk-FQRJWVEB.js} +0 -0
package/README.md CHANGED
@@ -60,8 +60,8 @@ Sign-in opens the system browser and receives Google's callback on a temporary l
60
60
  scope limits ingestion. Sync reads remote files. Optional remote management commands need a
61
61
  new sign-in with `session start --grant write`; history events need `session start --grant activity`.
62
62
 
63
- Credentials use the OS keyring. Without one, explicitly choose `--credential-storage file`;
64
- the shared helper writes an owner-only private file. Tokens never enter regular config, output
63
+ Credentials use the OS keyring. Where it fails, drive uses an owner-only private file without
64
+ asking and says so once; `--credential-storage file` chooses the file outright, not recommended. Tokens never enter regular config, output
65
65
  or diagnostics. `DRIVE_GOOGLE_CLIENT_ID` and `DRIVE_GOOGLE_CLIENT_SECRET` can provide application
66
66
  settings instead of the bundled application; `--client-file` takes priority. The included Desktop
67
67
  client identity is public application metadata, separate from private user tokens. If you create
package/dist/bin/drive.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.51.0\n")
12
+ process.stdout.write("0.52.1\n")
13
13
  } else {
14
14
  // Before the bundle compiles: the bundle's own call comes after its chunks.
15
15
  module.enableCompileCache()
@@ -29,7 +29,7 @@ if (
29
29
  })
30
30
  }
31
31
  const running = import("../bundle/drive.js")
32
- const chunks = ["../bundle/all-profiles-H3APJWSO.js","../bundle/anthropic-P7DXFYFE.js","../bundle/app-server-IQUR7ZC2.js","../bundle/bun-LZUEW2ML.js","../bundle/bun-sqlite-6LUE7UA6.js","../bundle/command-contract-R6CGYG7L.js","../bundle/decode-4EENADOV.js","../bundle/dist-MWTMOYWT.js","../bundle/dist-PY3MVR3G.js","../bundle/echarts-ZFC37XW7.js","../bundle/embed-UZMNP26C.js","../bundle/embedder-7VDWDBKF.js","../bundle/entry-JJKCHVIK.js","../bundle/failure-VBQBKCD5.js","../bundle/first-run-FJTEUJBF.js","../bundle/first-screen-NSPQWNMQ.js","../bundle/google-JBJASYKY.js","../bundle/google-api-2FKF4UUN.js","../bundle/identity-XE73ALJH.js","../bundle/instructions-Q4ASITKO.js","../bundle/login-BD2WQT5F.js","../bundle/mcp-G6U2Q63E.js","../bundle/mcp-H3XD47NW.js","../bundle/mcp-ZYZ4DFW2.js","../bundle/mdast-util-from-markdown-FXEPSNER.js","../bundle/mdast-util-gfm-SZM5GBDF.js","../bundle/micromark-extension-gfm-GRL24TU6.js","../bundle/node-CYM7VXFR.js","../bundle/node-P4E63KXA.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-RK4MHW57.js","../bundle/oauth-CQXQRHJR.js","../bundle/open-WSE4NBD2.js","../bundle/process-7HHZZZLA.js","../bundle/program-ZMQYZNV5.js","../bundle/prompt-YSBBQJGF.js","../bundle/reasons-366PI7OV.js","../bundle/recognize-AZKGPCAS.js","../bundle/remote-EYSK3XKD.js","../bundle/rerank-LOW6VIDF.js","../bundle/serve-UJ52HGA7.js","../bundle/server-CA2VLY25.js","../bundle/server-TW75RDEP.js","../bundle/services-B4QUSCFN.js","../bundle/sqlite-runtime-GEURBVK5.js","../bundle/state-OJNSKOXO.js","../bundle/store-62SBP45X.js","../bundle/store-FTS2HVVB.js","../bundle/store-maintenance-command-FQMB3R4E.js","../bundle/terminal-TFCTWLOS.js","../bundle/tokens-JALZUGEM.js"]
32
+ const chunks = ["../bundle/all-profiles-CYW6XBBS.js","../bundle/anthropic-KW6KU36Y.js","../bundle/app-server-TCJZ333E.js","../bundle/bun-7SYKSCLA.js","../bundle/bun-sqlite-RI7DR6RZ.js","../bundle/command-contract-I2YB5IXI.js","../bundle/decode-EDN2ARXZ.js","../bundle/dist-MWTMOYWT.js","../bundle/dist-PY3MVR3G.js","../bundle/echarts-GXY34GHA.js","../bundle/embed-3GSQIQXE.js","../bundle/embedder-6ULWRG3R.js","../bundle/entry-IPRJLFHO.js","../bundle/failure-IXS2ZHA5.js","../bundle/first-run-FGHGWHC2.js","../bundle/first-screen-M62KTPZG.js","../bundle/google-BD3ZNFVJ.js","../bundle/google-api-BDUWZMRV.js","../bundle/identity-U7IHZEMR.js","../bundle/instructions-K5BEQM4C.js","../bundle/login-7HRYPZMM.js","../bundle/mcp-F67RATLF.js","../bundle/mcp-JZSYPQA4.js","../bundle/mcp-WSGVVZWI.js","../bundle/mdast-util-from-markdown-FXEPSNER.js","../bundle/mdast-util-gfm-SZM5GBDF.js","../bundle/micromark-extension-gfm-GRL24TU6.js","../bundle/node-P4E63KXA.js","../bundle/node-TLZSIHIJ.js","../bundle/node-ZYWB7IET.js","../bundle/node-sqlite-J3OODPYK.js","../bundle/oauth-L4VTCBLF.js","../bundle/open-SGUN7ZVF.js","../bundle/openai-RLVISEDH.js","../bundle/process-ZXO2MWRJ.js","../bundle/program-YVLXSKZV.js","../bundle/prompt-AUWTBLO7.js","../bundle/reasons-J57GSRWN.js","../bundle/recognize-ORX2UBQW.js","../bundle/remote-AGIJY73X.js","../bundle/rerank-R6PE44M5.js","../bundle/serve-VOBAQHAQ.js","../bundle/server-24PS4M7U.js","../bundle/server-G6HFZ2CK.js","../bundle/services-HZFTTZSF.js","../bundle/sqlite-runtime-DTGPR2T2.js","../bundle/state-WG3JKJM3.js","../bundle/store-33VHIMEO.js","../bundle/store-EV72MT5U.js","../bundle/store-maintenance-command-ZTUEI4EC.js","../bundle/terminal-TFCTWLOS.js","../bundle/tokens-XMOGQFI6.js"]
33
33
  // After the server answers its first request, so it starts no later.
34
34
  if (serves) setTimeout(() => void Promise.allSettled(chunks.map((chunk) => import(chunk))), 2000).unref()
35
35
  await running
@@ -6,15 +6,15 @@ import {
6
6
  serveAllProfilesOverHttp,
7
7
  serveAllProfilesOverStdio,
8
8
  withProfile
9
- } from "./chunk-N33EOINW.js";
10
- import "./chunk-YXHMEFL7.js";
11
- import "./chunk-XBENRRBS.js";
9
+ } from "./chunk-ZWSG7OCA.js";
10
+ import "./chunk-CITFEQ6S.js";
11
+ import "./chunk-FCJAHD4R.js";
12
12
  import "./chunk-5FONRUG6.js";
13
- import "./chunk-NRWDEBJB.js";
14
- import "./chunk-LLMHJE5Q.js";
15
- import "./chunk-2WNDZFGG.js";
16
- import "./chunk-HGWMX7BM.js";
17
- import "./chunk-EY4CUQW2.js";
13
+ import "./chunk-PEOCBV2Z.js";
14
+ import "./chunk-VSOLLTYT.js";
15
+ import "./chunk-62EDJKGP.js";
16
+ import "./chunk-HQVJK5E7.js";
17
+ import "./chunk-YKZ4IPLB.js";
18
18
  import "./chunk-Y5E2WNWB.js";
19
19
  import "./chunk-ZVVMGPBJ.js";
20
20
  export {
@@ -2,27 +2,27 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  checkedOptions
5
- } from "./chunk-PT6XDCOY.js";
5
+ } from "./chunk-LJAX6YCF.js";
6
6
  import {
7
7
  messagesFor,
8
8
  systemFor
9
- } from "./chunk-PQGIV36R.js";
9
+ } from "./chunk-VZ2I62HN.js";
10
10
  import {
11
11
  Anthropic
12
12
  } from "./chunk-ADLS6FVG.js";
13
- import "./chunk-HGWMX7BM.js";
13
+ import "./chunk-HQVJK5E7.js";
14
14
  import {
15
15
  array,
16
16
  optional,
17
17
  strictObject,
18
18
  string
19
- } from "./chunk-EY4CUQW2.js";
19
+ } from "./chunk-YKZ4IPLB.js";
20
20
  import "./chunk-Y5E2WNWB.js";
21
21
  import {
22
22
  __name
23
23
  } from "./chunk-ZVVMGPBJ.js";
24
24
 
25
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/models/anthropic.js
25
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/models/anthropic.js
26
26
  var options = strictObject({
27
27
  stop_sequences: optional(array(string()))
28
28
  });
@@ -3,48 +3,49 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PER_RUN,
5
5
  envelope
6
- } from "./chunk-LZKPT7GY.js";
7
- import "./chunk-FV5WG4WU.js";
6
+ } from "./chunk-G6QF5KWF.js";
7
+ import "./chunk-A4UNTWAX.js";
8
8
  import {
9
9
  mcpUrlOf
10
- } from "./chunk-MPTD5P53.js";
10
+ } from "./chunk-DO4PDQY5.js";
11
11
  import {
12
12
  answeredWire
13
- } from "./chunk-YXHMEFL7.js";
13
+ } from "./chunk-CITFEQ6S.js";
14
14
  import {
15
15
  answered,
16
16
  failed,
17
17
  registerCommands,
18
18
  runCommandForAgent,
19
19
  toolsFromCommands
20
- } from "./chunk-TEH76MZK.js";
20
+ } from "./chunk-PQYVPCJ2.js";
21
21
  import {
22
22
  agentJson,
23
23
  skillResource
24
- } from "./chunk-6FXFYXTR.js";
24
+ } from "./chunk-IWFBAWZK.js";
25
25
  import {
26
26
  StdioServerTransport,
27
27
  serveStdio
28
- } from "./chunk-XBENRRBS.js";
29
- import "./chunk-K3EK4MTU.js";
28
+ } from "./chunk-FCJAHD4R.js";
29
+ import "./chunk-WQRGA75U.js";
30
30
  import {
31
31
  appInstructions
32
- } from "./chunk-UM4E2OFL.js";
32
+ } from "./chunk-ZSXRDF6I.js";
33
33
  import {
34
34
  McpServer
35
35
  } from "./chunk-5FONRUG6.js";
36
36
  import {
37
37
  mcpHttpMarker
38
- } from "./chunk-SRIPLP7N.js";
39
- import "./chunk-XCXUP76D.js";
40
- import "./chunk-UW7VXKKZ.js";
41
- import "./chunk-4GFAOETW.js";
42
- import "./chunk-CT6Z6Z64.js";
43
- import "./chunk-XE2GEE3E.js";
44
- import "./chunk-4YG2FZ53.js";
45
- import "./chunk-DEVPGI27.js";
46
- import "./chunk-HBRTKJ3J.js";
47
- import "./chunk-U7DPS46V.js";
38
+ } from "./chunk-RNSP57TC.js";
39
+ import "./chunk-CB7SBYLO.js";
40
+ import "./chunk-2AUXBJRX.js";
41
+ import "./chunk-KYVXMEBC.js";
42
+ import "./chunk-H47W2J6S.js";
43
+ import "./chunk-WUX7AUOQ.js";
44
+ import "./chunk-7SH4JHYW.js";
45
+ import "./chunk-Z47LOJUS.js";
46
+ import "./chunk-W7IK7E4B.js";
47
+ import "./chunk-5PLJKSG4.js";
48
+ import "./chunk-2623YE5I.js";
48
49
  import {
49
50
  DEFAULT_OUTPUT_BYTES,
50
51
  changesAuthorityAt,
@@ -52,52 +53,52 @@ import {
52
53
  fetchesOnlyAt,
53
54
  judgedTargets,
54
55
  rootOf2 as rootOf
55
- } from "./chunk-5C7RKU7O.js";
56
- import "./chunk-NRWDEBJB.js";
56
+ } from "./chunk-FDWYPONW.js";
57
+ import "./chunk-PEOCBV2Z.js";
57
58
  import {
58
59
  describeProgram
59
- } from "./chunk-BVDAP3FQ.js";
60
- import "./chunk-Z3GWVRW3.js";
61
- import "./chunk-XXLTVVMT.js";
62
- import "./chunk-LLMHJE5Q.js";
63
- import "./chunk-Y4YBW5S4.js";
64
- import "./chunk-SZWQFR5X.js";
65
- import "./chunk-PNUS224S.js";
66
- import "./chunk-OKSS7YUN.js";
67
- import "./chunk-2TPENYCK.js";
60
+ } from "./chunk-725OHXKR.js";
61
+ import "./chunk-NSIFQ5OP.js";
62
+ import "./chunk-LONV6HIK.js";
63
+ import "./chunk-VSOLLTYT.js";
64
+ import "./chunk-Q765VPZY.js";
65
+ import "./chunk-GVCN3GLZ.js";
66
+ import "./chunk-7YMDL4JQ.js";
67
+ import "./chunk-DLAFGSTN.js";
68
+ import "./chunk-WLFUBNFX.js";
68
69
  import {
69
70
  readOnlyLockOf
70
- } from "./chunk-DDD3FS6G.js";
71
- import "./chunk-VH4GVA2N.js";
72
- import "./chunk-PQGIV36R.js";
73
- import "./chunk-OQVJQSEH.js";
74
- import "./chunk-AKW5MNQP.js";
71
+ } from "./chunk-ZDLIO76S.js";
72
+ import "./chunk-UR32UWTQ.js";
73
+ import "./chunk-VZ2I62HN.js";
74
+ import "./chunk-2UIMEMWU.js";
75
+ import "./chunk-CM7GAXGD.js";
75
76
  import "./chunk-5DPV7X27.js";
76
- import "./chunk-CX7HQ6KK.js";
77
- import "./chunk-SRONUWOM.js";
78
- import "./chunk-3KTDFSSK.js";
79
- import "./chunk-7ZNM6KXP.js";
80
- import "./chunk-AUW45JPI.js";
81
- import "./chunk-UMY4IQE2.js";
82
- import "./chunk-G75FZQAZ.js";
83
- import "./chunk-2WNDZFGG.js";
84
- import "./chunk-FCZ762RV.js";
85
- import "./chunk-JI5KFKTL.js";
86
- import "./chunk-Z6KTSXE3.js";
87
- import "./chunk-NO34DAIB.js";
77
+ import "./chunk-BSSCTWWK.js";
78
+ import "./chunk-WQJBAWQP.js";
79
+ import "./chunk-JEOYFKUK.js";
80
+ import "./chunk-234MHU76.js";
81
+ import "./chunk-PDGECM5D.js";
82
+ import "./chunk-ZNZUZGSV.js";
83
+ import "./chunk-NHBUTCNR.js";
84
+ import "./chunk-62EDJKGP.js";
85
+ import "./chunk-7XKAVMCF.js";
86
+ import "./chunk-XOLQSCMF.js";
87
+ import "./chunk-VJZST5RD.js";
88
+ import "./chunk-33NVQGUY.js";
88
89
  import {
89
90
  mcpErrorResult
90
- } from "./chunk-HGWMX7BM.js";
91
+ } from "./chunk-HQVJK5E7.js";
91
92
  import {
92
93
  CliError
93
- } from "./chunk-EY4CUQW2.js";
94
+ } from "./chunk-YKZ4IPLB.js";
94
95
  import "./chunk-Y5E2WNWB.js";
95
- import "./chunk-I7EP3VPJ.js";
96
+ import "./chunk-ALJWBGD5.js";
96
97
  import {
97
98
  __name
98
99
  } from "./chunk-ZVVMGPBJ.js";
99
100
 
100
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
101
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
101
102
  var EXCLUDED = [["mcp"]];
102
103
  var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
103
104
  const { app } = options;
@@ -212,7 +213,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
212
213
  var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
213
214
  const { app } = options;
214
215
  const { build } = createAppServer(command, context, options);
215
- const { serveOverHttp } = await import("./serve-UJ52HGA7.js");
216
+ const { serveOverHttp } = await import("./serve-VOBAQHAQ.js");
216
217
  const listening = await serveOverHttp(build, {
217
218
  ...http,
218
219
  appName: app.command,
@@ -18,12 +18,12 @@ import {
18
18
  jitCompatCheck,
19
19
  refineSqliteCodecs,
20
20
  sql
21
- } from "./chunk-I7EP3VPJ.js";
21
+ } from "./chunk-ALJWBGD5.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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,9 +3,9 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  loadVectorExtension,
5
5
  vectorExtension
6
- } from "./chunk-TVJU245P.js";
7
- import "./chunk-HGWMX7BM.js";
8
- import "./chunk-EY4CUQW2.js";
6
+ } from "./chunk-FG4XXZZE.js";
7
+ import "./chunk-HQVJK5E7.js";
8
+ import "./chunk-YKZ4IPLB.js";
9
9
  import {
10
10
  importFrom
11
11
  } from "./chunk-Y5E2WNWB.js";
@@ -13,7 +13,7 @@ import {
13
13
  __name
14
14
  } from "./chunk-ZVVMGPBJ.js";
15
15
 
16
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
17
17
  var customised = false;
18
18
  var ownLibrary = /* @__PURE__ */ __name(async () => {
19
19
  try {
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  singleLine
5
- } from "./chunk-HGWMX7BM.js";
5
+ } from "./chunk-HQVJK5E7.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-EY4CUQW2.js";
8
+ } from "./chunk-YKZ4IPLB.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/domain/providers.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/domain/providers.js
14
14
  var KINDS = ["messages", "mail", "notes", "documents", "meetings", "events"];
15
15
  var PROVIDERS = [
16
16
  { name: "telegram", kind: "messages", aliases: ["tg"] },
@@ -101,7 +101,7 @@ var providerNamed = /* @__PURE__ */ __name((word) => {
101
101
  var kindIn = /* @__PURE__ */ __name((provider) => isFolderProvider(provider) ? "notes" : registry.find(({ name }) => name === provider)?.kind, "kindIn");
102
102
  var kindOf = /* @__PURE__ */ __name((provider) => kindIn(provider) ?? "messages", "kindOf");
103
103
 
104
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/domain/locator.js
104
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/domain/locator.js
105
105
  var SCHEME = "msg:";
106
106
  var formatLocator = /* @__PURE__ */ __name(({ provider, account, chat, message }) => SCHEME + [provider, account, chat, message].map(encodeURIComponent).join("/"), "formatLocator");
107
107
  var isLocator = /* @__PURE__ */ __name((reference) => reference.trim().startsWith(SCHEME), "isLocator");
@@ -115,7 +115,7 @@ var parseLocator = /* @__PURE__ */ __name((reference) => {
115
115
  return { provider, account, chat, message };
116
116
  }, "parseLocator");
117
117
 
118
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/domain/references.js
118
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/domain/references.js
119
119
  var SIMPLE_REFERENCES = [
120
120
  "note",
121
121
  "document",
@@ -187,7 +187,7 @@ var folderPath = /* @__PURE__ */ __name((path) => {
187
187
  }, "folderPath");
188
188
  var canonicalReference = /* @__PURE__ */ __name((text) => formatReference(parseReference(text)), "canonicalReference");
189
189
 
190
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/domain/counters.js
190
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/domain/counters.js
191
191
  var COUNTER_FIELDS = ["views", "reactions", "comments"];
192
192
  var validCounter = /* @__PURE__ */ __name((value) => typeof value === "number" && Number.isFinite(value) && value >= 0, "validCounter");
193
193
  var counterObservationTime = /* @__PURE__ */ __name((observation, now) => {
@@ -206,7 +206,7 @@ var counterFreshness = /* @__PURE__ */ __name((states) => {
206
206
  return states.some((one) => one.freshness === "stale") ? "stale" : "fresh";
207
207
  }, "counterFreshness");
208
208
 
209
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/domain/rankings-options.js
209
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/domain/rankings-options.js
210
210
  var MESSAGE_MEASURES = ["views", "reactions", "forwards", "comments", "replies", "thread-size"];
211
211
  var AUTHOR_MEASURES = [
212
212
  "messages",