@wirecat/amo-cli 0.3.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 (175) hide show
  1. package/CHANGELOG.md +52 -0
  2. package/README.md +8 -4
  3. package/contracts/wirecat.json +15 -14
  4. package/dist/amo/allow-list.d.ts +1 -1
  5. package/dist/amo/allow-list.d.ts.map +1 -1
  6. package/dist/amo/operation.d.ts +1 -1
  7. package/dist/amo/operation.d.ts.map +1 -1
  8. package/dist/bin/amo.js +2 -2
  9. package/dist/bundle/agent-EFMUK732.js +41 -0
  10. package/dist/bundle/{all-profiles-PPUN52SP.js → all-profiles-PIWUQWBA.js} +11 -11
  11. package/dist/bundle/amo.js +28 -28
  12. package/dist/bundle/{anthropic-RDNDT6ZP.js → anthropic-47CMXBPQ.js} +5 -5
  13. package/dist/bundle/{app-server-MMALJDBP.js → app-server-QRBQODF2.js} +70 -69
  14. package/dist/bundle/areas-QVHVU57Z.js +63 -0
  15. package/dist/bundle/{bun-Y4FRPURU.js → bun-OPDGMZZQ.js} +2 -2
  16. package/dist/bundle/{bun-sqlite-7NXJGZCO.js → bun-sqlite-7I4X7CZW.js} +6 -6
  17. package/dist/bundle/{chunk-OMH3WP7F.js → chunk-2JHVQMVC.js} +1 -1
  18. package/dist/bundle/{chunk-MPXKBF37.js → chunk-2XBDILVW.js} +1 -1
  19. package/dist/bundle/{chunk-XI75EKLG.js → chunk-3DEQUYEG.js} +9 -9
  20. package/dist/bundle/{chunk-TWZF7VO6.js → chunk-3GX6KM2E.js} +1666 -163
  21. package/dist/bundle/{chunk-E2DLRLJ5.js → chunk-3HC5F3P7.js} +1 -1
  22. package/dist/bundle/{chunk-D6UPCAPD.js → chunk-3PYE55JY.js} +1 -1
  23. package/dist/bundle/{chunk-UM6SDFB6.js → chunk-3YM4B2GT.js} +1 -1
  24. package/dist/bundle/{chunk-JTFAG3BX.js → chunk-43OW5NTG.js} +6 -6
  25. package/dist/bundle/{chunk-ZIFEIJRK.js → chunk-43PMSR33.js} +13 -9
  26. package/dist/bundle/{chunk-5DPMNYQT.js → chunk-4N7PP76S.js} +1 -1
  27. package/dist/bundle/{chunk-XM2G62YF.js → chunk-4VN7RI4I.js} +5 -7
  28. package/dist/bundle/{chunk-5POLHHDZ.js → chunk-57HFPNMF.js} +8 -8
  29. package/dist/bundle/{chunk-CQ472K6W.js → chunk-5UTB3ADZ.js} +11 -11
  30. package/dist/bundle/{chunk-3NDMVXGS.js → chunk-633NQY2R.js} +3 -3
  31. package/dist/bundle/{chunk-VPBSZ4HQ.js → chunk-63N46DJU.js} +220 -234
  32. package/dist/bundle/{chunk-SJZ52MZE.js → chunk-6D4VWSJD.js} +6 -6
  33. package/dist/bundle/{chunk-Q2YVY7IR.js → chunk-6JTHXWPE.js} +3 -3
  34. package/dist/bundle/{chunk-QQT7WUR4.js → chunk-6QGUK3H7.js} +4 -4
  35. package/dist/bundle/{chunk-AYR6FIXN.js → chunk-6WS6GJ4V.js} +2 -2
  36. package/dist/bundle/{chunk-N4A6E2LL.js → chunk-7IR2G5XY.js} +16 -16
  37. package/dist/bundle/{chunk-7Z6NYSAN.js → chunk-7IWIFVXH.js} +4 -4
  38. package/dist/bundle/{chunk-LOSOWTAZ.js → chunk-ABX7BBS4.js} +6 -6
  39. package/dist/bundle/{chunk-3YOZTGZ6.js → chunk-ADTI5RUO.js} +6 -6
  40. package/dist/bundle/{chunk-QHA33ZS6.js → chunk-AKRIUNYP.js} +7 -7
  41. package/dist/bundle/{chunk-KZDBO2FT.js → chunk-BIKOE2IW.js} +7 -7
  42. package/dist/bundle/{chunk-VY27K2SH.js → chunk-BVVMIAQ6.js} +769 -692
  43. package/dist/bundle/{chunk-SBQ5MFHM.js → chunk-CGW5R4UD.js} +7 -7
  44. package/dist/bundle/{chunk-UZLT6VSP.js → chunk-D4NE7EON.js} +3 -3
  45. package/dist/bundle/{chunk-L2ZQDTDU.js → chunk-DNCLQPOM.js} +1 -1
  46. package/dist/bundle/{chunk-VFU25P57.js → chunk-DPV53EZC.js} +4 -4
  47. package/dist/bundle/{chunk-KEOKH2OZ.js → chunk-DQ6S5TFZ.js} +185 -114
  48. package/dist/bundle/{chunk-5RXH35ZA.js → chunk-DSJ6EAOA.js} +61 -61
  49. package/dist/bundle/{chunk-HQH4YPO5.js → chunk-DVZ75WZJ.js} +157 -35
  50. package/dist/bundle/{chunk-VEGNZPQU.js → chunk-EHK73OSW.js} +38 -24
  51. package/dist/bundle/{chunk-IEAPNTHT.js → chunk-FNV5HLHX.js} +17 -17
  52. package/dist/bundle/{chunk-FPDTIQOK.js → chunk-FV4GQNIK.js} +2 -2
  53. package/dist/bundle/{chunk-7USADF2W.js → chunk-G2TU5RYY.js} +6 -6
  54. package/dist/bundle/{chunk-IDQ7BNCZ.js → chunk-GDK7ETSB.js} +12 -12
  55. package/dist/bundle/{chunk-B4ITT55D.js → chunk-GGMAIIVE.js} +1 -1
  56. package/dist/bundle/{chunk-NJ2LJKNH.js → chunk-GLYWZQY4.js} +3 -3
  57. package/dist/bundle/{chunk-XDT74W5P.js → chunk-H4AFNENN.js} +34 -29
  58. package/dist/bundle/{chunk-2YEDK2XV.js → chunk-HOF7GQWW.js} +4 -4
  59. package/dist/bundle/{chunk-H34RBRS3.js → chunk-HSPEU6S7.js} +8 -8
  60. package/dist/bundle/{chunk-VJHOBOJR.js → chunk-IA7LLLEI.js} +3 -3
  61. package/dist/bundle/{chunk-YSOGGUK3.js → chunk-IB55P46L.js} +6 -6
  62. package/dist/bundle/{chunk-PFZ7WG2B.js → chunk-IG2TJQJ7.js} +3 -3
  63. package/dist/bundle/{chunk-CUZISGWH.js → chunk-JG6LCSEX.js} +13 -13
  64. package/dist/bundle/{chunk-MMOEAH5G.js → chunk-JLXXUEAM.js} +2 -2
  65. package/dist/bundle/{chunk-3RP57VDS.js → chunk-JXT6GY4V.js} +174 -62
  66. package/dist/bundle/{chunk-7SBAHYZW.js → chunk-K7YY6SXR.js} +19 -15
  67. package/dist/bundle/{chunk-TCDER3G7.js → chunk-KEKXERBE.js} +14883 -11912
  68. package/dist/bundle/{chunk-JZ2AITOE.js → chunk-KZ2FIDI3.js} +3 -3
  69. package/dist/bundle/{chunk-ILUREFWJ.js → chunk-KZN2BG3P.js} +8 -8
  70. package/dist/bundle/{chunk-L3JDQNBC.js → chunk-LKH3UKLO.js} +4 -4
  71. package/dist/bundle/{chunk-UA7C57IB.js → chunk-LZPKBN3C.js} +2 -2
  72. package/dist/bundle/{chunk-FI2TP6TY.js → chunk-M6VZXAJC.js} +3 -3
  73. package/dist/bundle/{chunk-7VSYOMEH.js → chunk-MDEPJZYJ.js} +2 -2
  74. package/dist/bundle/{chunk-WBWVBEHH.js → chunk-NB7EOAUZ.js} +8 -1
  75. package/dist/bundle/{chunk-LYRICHEK.js → chunk-NISH4UXM.js} +2 -2
  76. package/dist/bundle/{chunk-VD7HD25M.js → chunk-NSKMNIY6.js} +9 -9
  77. package/dist/bundle/chunk-PPSAWFJD.js +1293 -0
  78. package/dist/bundle/{chunk-7E6QSIRQ.js → chunk-Q7ICVP25.js} +1 -1
  79. package/dist/bundle/{chunk-BKTLAXUK.js → chunk-QFOP3KUP.js} +8 -8
  80. package/dist/bundle/{chunk-ORFLQGWH.js → chunk-R53XXHEI.js} +4 -4
  81. package/dist/bundle/{chunk-UOPP6ORQ.js → chunk-RIMPFMZE.js} +28 -179
  82. package/dist/bundle/{chunk-MYMBPQPQ.js → chunk-RN6RT5CB.js} +4 -4
  83. package/dist/bundle/{chunk-BYVDMPLX.js → chunk-RRTMPSQR.js} +2 -2
  84. package/dist/bundle/{chunk-R23DRW2T.js → chunk-S4ZHQMNM.js} +5 -5
  85. package/dist/bundle/{chunk-GCUFGDKE.js → chunk-S6JG4YUH.js} +2 -2
  86. package/dist/bundle/{chunk-W4KY5JF5.js → chunk-TAVI73RW.js} +2 -2
  87. package/dist/bundle/{chunk-KTLCQ7GC.js → chunk-TLG6ECZ2.js} +2 -2
  88. package/dist/bundle/{chunk-V3ZWYMXT.js → chunk-TXDR6YSF.js} +1 -1
  89. package/dist/bundle/{chunk-KKXF6TSS.js → chunk-TY7NDMFY.js} +1 -1
  90. package/dist/bundle/{chunk-YVO2YGML.js → chunk-U5RJJ2EC.js} +8 -8
  91. package/dist/bundle/{chunk-I4QCJZW7.js → chunk-UDSL3MUU.js} +8 -8
  92. package/dist/bundle/{chunk-SJYVKR54.js → chunk-V2CNGXWX.js} +37 -37
  93. package/dist/bundle/{chunk-L72UALL5.js → chunk-VB7FZOYX.js} +1 -1
  94. package/dist/bundle/{chunk-T6D34X5S.js → chunk-VZ5PPYDG.js} +1 -1
  95. package/dist/bundle/{chunk-FPIUFSWK.js → chunk-W5JRXIG6.js} +826 -1619
  96. package/dist/bundle/{chunk-ELJGALVX.js → chunk-WIHN3ELW.js} +19 -19
  97. package/dist/bundle/chunk-WOPVBRPV.js +29 -0
  98. package/dist/bundle/{chunk-4MVTSMWP.js → chunk-WUFX4TKA.js} +2 -2
  99. package/dist/bundle/{chunk-GKP7CKW2.js → chunk-WXJYMMEL.js} +6 -6
  100. package/dist/bundle/{chunk-UT3ODJMI.js → chunk-XCCU2E3Z.js} +4 -4
  101. package/dist/bundle/{chunk-EHULZEXQ.js → chunk-XEQQJBBO.js} +1 -1
  102. package/dist/bundle/{chunk-EKNP326Q.js → chunk-XUT7DSM5.js} +2 -2
  103. package/dist/bundle/{chunk-4EYPFFTN.js → chunk-YWDFYQOU.js} +2 -2
  104. package/dist/bundle/{chunk-IYUWVMGP.js → chunk-ZLUIRFJX.js} +37 -18
  105. package/dist/bundle/{cli-GAO7LDDA.js → cli-3NXOSENF.js} +104 -105
  106. package/dist/bundle/command-contract-LNSAV5LA.js +39 -0
  107. package/dist/bundle/{command-server-entry-BCDJP7XE.js → command-server-entry-4ZQPNUL4.js} +28 -28
  108. package/dist/bundle/{decode-OY2GR442.js → decode-K7U7X5EL.js} +5 -5
  109. package/dist/bundle/{dispatch-JWEJCBTF.js → dispatch-56FECRCU.js} +8 -8
  110. package/dist/bundle/{echarts-AHEPEA5P.js → echarts-O3TNDAXJ.js} +2 -2
  111. package/dist/bundle/{embed-RVSUV54Z.js → embed-SWLVG73O.js} +6 -6
  112. package/dist/bundle/{embedder-GRZXZUXR.js → embedder-EJN75BPV.js} +9 -9
  113. package/dist/bundle/{failure-DDCSR54L.js → failure-WDSX6H3B.js} +2 -2
  114. package/dist/bundle/{first-run-G3WI4DH4.js → first-run-WPGUUC4Z.js} +12 -12
  115. package/dist/bundle/first-screen-JMNEUQ46.js +40 -0
  116. package/dist/bundle/{instructions-NWQC5IP4.js → instructions-AMH5RWVJ.js} +1 -1
  117. package/dist/bundle/{mcp-KGWT6TGO.js → mcp-5HFPWC3W.js} +2 -2
  118. package/dist/bundle/meeting-combined-5TKG2RYD.js +24 -0
  119. package/dist/bundle/{meeting-model-I6T5HIZ5.js → meeting-model-YXXNETKC.js} +11 -11
  120. package/dist/bundle/{meeting-semantic-47UA5JBF.js → meeting-semantic-U7EUB3ET.js} +6 -6
  121. package/dist/bundle/{node-7VXN7F4B.js → node-EGMCBAO7.js} +2 -2
  122. package/dist/bundle/{node-sqlite-BSEON57L.js → node-sqlite-YVOGMDSP.js} +7 -7
  123. package/dist/bundle/{oauth-V6UAT4YD.js → oauth-2SNRBIJM.js} +7 -7
  124. package/dist/bundle/{open-7LVAY7ZU.js → open-ABCPY5IH.js} +5 -5
  125. package/dist/bundle/{openai-OIEH342H.js → openai-4D6PXJR7.js} +15 -15
  126. package/dist/bundle/{process-PTUCNLZ7.js → process-SGHEN6MQ.js} +1 -1
  127. package/dist/bundle/{program-S5WY5IZP.js → program-CBDQBZZ3.js} +1319 -1079
  128. package/dist/bundle/{prompt-7XWTEQ62.js → prompt-2QUK5QST.js} +5 -5
  129. package/dist/bundle/{recognize-HGIAJXDR.js → recognize-QMQSJRIH.js} +4 -4
  130. package/dist/bundle/{remote-X4SVEMHS.js → remote-U7TC2BLZ.js} +9 -9
  131. package/dist/bundle/{rerank-QWM3DQMU.js → rerank-5UPVXGVV.js} +7 -7
  132. package/dist/bundle/{serve-VVG3TXYT.js → serve-VX6GUM6J.js} +9 -9
  133. package/dist/bundle/{server-EHYK62BJ.js → server-FOPC6DJ3.js} +62 -61
  134. package/dist/bundle/server-OIVNOMVK.js +87 -0
  135. package/dist/bundle/source-HWS5SJIV.js +46 -0
  136. package/dist/bundle/{sqlite-runtime-MCKXDNYC.js → sqlite-runtime-77NKDEXN.js} +6 -6
  137. package/dist/bundle/{state-MYNYQJCT.js → state-X2HU6GB2.js} +6 -6
  138. package/dist/bundle/{store-B7O3F3QB.js → store-2U4U6KL4.js} +22 -22
  139. package/dist/bundle/{store-FPIU2546.js → store-3CHPHFP7.js} +30 -24
  140. package/dist/bundle/store-Z3747L5F.js +34 -0
  141. package/dist/bundle/store-maintenance-command-UOSZJTVP.js +74 -0
  142. package/dist/bundle/surface-MUT72QON.js +73 -0
  143. package/dist/bundle/writer-RBKQ64ZM.js +48 -0
  144. package/dist/commands/account.d.ts +3 -2
  145. package/dist/commands/account.d.ts.map +1 -1
  146. package/dist/commands/account.js +38 -77
  147. package/dist/commands/account.js.map +1 -1
  148. package/dist/commands/crm-shared.d.ts.map +1 -1
  149. package/dist/commands/crm-shared.js +3 -1
  150. package/dist/commands/crm-shared.js.map +1 -1
  151. package/dist/commands/session.d.ts +0 -6
  152. package/dist/commands/session.d.ts.map +1 -1
  153. package/dist/commands/session.js +9 -34
  154. package/dist/commands/session.js.map +1 -1
  155. package/dist/program.d.ts.map +1 -1
  156. package/dist/program.js +0 -2
  157. package/dist/program.js.map +1 -1
  158. package/dist/reasons.d.ts.map +1 -1
  159. package/dist/reasons.js +0 -2
  160. package/dist/reasons.js.map +1 -1
  161. package/dist/version.d.ts +1 -1
  162. package/dist/version.js +1 -1
  163. package/package.json +4 -4
  164. package/skills/amo-cli/SKILL.md +6 -0
  165. package/dist/bundle/agent-FDNP27SW.js +0 -40
  166. package/dist/bundle/chunk-77FP6AWC.js +0 -1266
  167. package/dist/bundle/command-contract-RLIBGIDT.js +0 -39
  168. package/dist/bundle/first-screen-6MLCMW2U.js +0 -39
  169. package/dist/bundle/meeting-combined-SVTFVZNJ.js +0 -24
  170. package/dist/bundle/server-WRPTBVNW.js +0 -86
  171. package/dist/bundle/source-YISMYLBQ.js +0 -44
  172. package/dist/bundle/store-A7R2SZVD.js +0 -34
  173. package/dist/bundle/store-maintenance-command-D55FRTIK.js +0 -73
  174. package/dist/bundle/surface-3EX6IGHW.js +0 -72
  175. package/dist/bundle/writer-XDHZ54JD.js +0 -46
@@ -3,29 +3,29 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  textModel,
5
5
  vectorModelKey
6
- } from "./chunk-YSOGGUK3.js";
6
+ } from "./chunk-IB55P46L.js";
7
7
  import {
8
8
  OPENAI_URL,
9
9
  openRemote,
10
10
  remoteKey,
11
11
  remoteModel
12
- } from "./chunk-XI75EKLG.js";
12
+ } from "./chunk-3DEQUYEG.js";
13
13
  import {
14
14
  endpointFetch
15
- } from "./chunk-7USADF2W.js";
15
+ } from "./chunk-G2TU5RYY.js";
16
16
  import {
17
17
  isTextModelInstalled,
18
18
  openEmbedder,
19
19
  textModelsDirectory
20
- } from "./chunk-3YOZTGZ6.js";
20
+ } from "./chunk-ADTI5RUO.js";
21
21
  import {
22
22
  CliError
23
- } from "./chunk-GCUFGDKE.js";
23
+ } from "./chunk-S6JG4YUH.js";
24
24
  import {
25
25
  __name
26
26
  } from "./chunk-ZVVMGPBJ.js";
27
27
 
28
- // node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/services/meeting-model.js
28
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/services/meeting-model.js
29
29
  var integer = /* @__PURE__ */ __name((value, name, max) => {
30
30
  if (!Number.isSafeInteger(value) || value < 1 || value > max)
31
31
  throw new CliError("validation_error", `Invalid ${name}`);
@@ -5,7 +5,7 @@ import {
5
5
  id,
6
6
  text,
7
7
  time
8
- } from "./chunk-77FP6AWC.js";
8
+ } from "./chunk-PPSAWFJD.js";
9
9
  import {
10
10
  array,
11
11
  nullable,
@@ -16,9 +16,9 @@ import {
16
16
  strictObject,
17
17
  string,
18
18
  unknown
19
- } from "./chunk-BKTLAXUK.js";
19
+ } from "./chunk-QFOP3KUP.js";
20
20
 
21
- // node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/note.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/note.js
22
22
  var link = {
23
23
  target_text: nullable(text),
24
24
  kind: text,
@@ -5,15 +5,15 @@ import {
5
5
  readLock,
6
6
  releaseLock,
7
7
  takeLock
8
- } from "./chunk-NJ2LJKNH.js";
8
+ } from "./chunk-GLYWZQY4.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
14
14
  import { existsSync as existsSync2, readFileSync as readFileSync2 } from "node:fs";
15
15
 
16
- // node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
17
17
  import { randomBytes } from "node:crypto";
18
18
  import { chmodSync, existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
19
19
  import { dirname } from "node:path";
@@ -86,7 +86,7 @@ var activityRecorder = /* @__PURE__ */ __name((path, now = Date.now) => {
86
86
  };
87
87
  }, "activityRecorder");
88
88
 
89
- // node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
89
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
90
90
  var ACCESS_SECONDS = 60 * 60;
91
91
  var REFRESH_SECONDS = 30 * 24 * 60 * 60;
92
92
  var readStored = /* @__PURE__ */ __name((path) => existsSync2(path) ? JSON.parse(readFileSync2(path, "utf8")) : { clients: [], tokens: [] }, "readStored");
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-GCUFGDKE.js";
5
+ } from "./chunk-S6JG4YUH.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/ports/messenger.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/ports/messenger.js
11
11
  var throughWrapper = /* @__PURE__ */ __name((inner, handled, wrap = (_, call) => call) => new Proxy(handled, {
12
12
  get: /* @__PURE__ */ __name((own, key) => {
13
13
  if (key in own)
@@ -5,16 +5,16 @@ import {
5
5
  UNTRUSTED_NEUTRAL,
6
6
  agentArguments,
7
7
  agentJson
8
- } from "./chunk-H34RBRS3.js";
8
+ } from "./chunk-HSPEU6S7.js";
9
9
  import {
10
10
  onlineDeps,
11
11
  refuseLacking,
12
12
  servicesFor,
13
13
  storeModeDeps
14
- } from "./chunk-VY27K2SH.js";
14
+ } from "./chunk-BVVMIAQ6.js";
15
15
  import {
16
16
  callerOf
17
- } from "./chunk-EKNP326Q.js";
17
+ } from "./chunk-XUT7DSM5.js";
18
18
  import {
19
19
  DEFAULT_OUTPUT_BYTES,
20
20
  ENTITIES,
@@ -27,35 +27,35 @@ import {
27
27
  refuseStoreChange,
28
28
  sealed,
29
29
  startRecording
30
- } from "./chunk-VPBSZ4HQ.js";
30
+ } from "./chunk-63N46DJU.js";
31
31
  import {
32
32
  currentCaller,
33
33
  keepsSuccess,
34
34
  runContextOf,
35
35
  withCaller
36
- } from "./chunk-SBQ5MFHM.js";
36
+ } from "./chunk-CGW5R4UD.js";
37
37
  import {
38
38
  inRun,
39
39
  newRunId
40
- } from "./chunk-77FP6AWC.js";
40
+ } from "./chunk-PPSAWFJD.js";
41
41
  import {
42
42
  storeDamaged
43
- } from "./chunk-MMOEAH5G.js";
43
+ } from "./chunk-JLXXUEAM.js";
44
44
  import {
45
45
  failureContext
46
- } from "./chunk-3RP57VDS.js";
46
+ } from "./chunk-JXT6GY4V.js";
47
47
  import {
48
48
  fetchesAt,
49
49
  keyForCommand,
50
50
  levelFor,
51
51
  readKeysForCommand
52
- } from "./chunk-KZDBO2FT.js";
52
+ } from "./chunk-BIKOE2IW.js";
53
53
  import {
54
54
  MAX_BUFFERED_INPUT
55
- } from "./chunk-4EYPFFTN.js";
55
+ } from "./chunk-YWDFYQOU.js";
56
56
  import {
57
57
  traceIdOf
58
- } from "./chunk-ELJGALVX.js";
58
+ } from "./chunk-WIHN3ELW.js";
59
59
  import {
60
60
  array,
61
61
  boolean,
@@ -82,19 +82,19 @@ import {
82
82
  toJsonSchema,
83
83
  toStandardJsonSchema,
84
84
  unknown
85
- } from "./chunk-BKTLAXUK.js";
85
+ } from "./chunk-QFOP3KUP.js";
86
86
  import {
87
87
  CliError,
88
88
  errorCodes
89
- } from "./chunk-GCUFGDKE.js";
89
+ } from "./chunk-S6JG4YUH.js";
90
90
  import {
91
91
  __name
92
92
  } from "./chunk-ZVVMGPBJ.js";
93
93
 
94
- // node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/mcp/surface.js
94
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/surface.js
95
95
  import { randomUUID } from "node:crypto";
96
96
 
97
- // node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/mcp/tool.js
97
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/tool.js
98
98
  var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
99
99
  var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
100
100
  var message = pipe(
@@ -353,7 +353,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
353
353
  return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(storeDamaged(error), context))));
354
354
  }, "failed");
355
355
 
356
- // node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/mcp/surface.js
356
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/surface.js
357
357
  var MATCHES = 8;
358
358
  var ANSWER = answerSchema();
359
359
  var agentAnswer = /* @__PURE__ */ __name((prefix, writes) => {
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  changesMessenger
5
- } from "./chunk-VPBSZ4HQ.js";
5
+ } from "./chunk-63N46DJU.js";
6
6
  import {
7
7
  AUTHORITY_KEY,
8
8
  BOT_API_KEY,
@@ -12,15 +12,15 @@ import {
12
12
  keyForCommand,
13
13
  levelFor,
14
14
  readKeysForCommand
15
- } from "./chunk-KZDBO2FT.js";
15
+ } from "./chunk-BIKOE2IW.js";
16
16
  import {
17
17
  writes
18
- } from "./chunk-BKTLAXUK.js";
18
+ } from "./chunk-QFOP3KUP.js";
19
19
  import {
20
20
  __name
21
21
  } from "./chunk-ZVVMGPBJ.js";
22
22
 
23
- // node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/cli/command-availability.js
23
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/command-availability.js
24
24
  var commandAvailability = /* @__PURE__ */ __name((info, levels, keyOf, authority, readOnly = false, mcp = true, declared, fetches) => {
25
25
  const declaredKey = declared?.keyOf(info.path);
26
26
  const key = declared ? declaredKey : keyOf?.(info.path) ?? keyForCommand(info.path);
@@ -5,31 +5,31 @@ import {
5
5
  isNewer,
6
6
  readNoticeState,
7
7
  writeUpdateState
8
- } from "./chunk-2YEDK2XV.js";
8
+ } from "./chunk-HOF7GQWW.js";
9
9
  import {
10
10
  executableEnvironment,
11
11
  executableOnPath
12
- } from "./chunk-KKXF6TSS.js";
12
+ } from "./chunk-TY7NDMFY.js";
13
13
  import {
14
14
  Command,
15
15
  Option,
16
16
  annotate
17
- } from "./chunk-VPBSZ4HQ.js";
17
+ } from "./chunk-63N46DJU.js";
18
18
  import {
19
19
  require_cross_spawn
20
20
  } from "./chunk-D72URWJE.js";
21
21
  import {
22
22
  refuseOwnerHomeInTests
23
- } from "./chunk-ELJGALVX.js";
23
+ } from "./chunk-WIHN3ELW.js";
24
24
  import {
25
25
  CliError
26
- } from "./chunk-GCUFGDKE.js";
26
+ } from "./chunk-S6JG4YUH.js";
27
27
  import {
28
28
  __name,
29
29
  __toESM
30
30
  } from "./chunk-ZVVMGPBJ.js";
31
31
 
32
- // node_modules/.pnpm/@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/skill/index.js
32
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/skill/index.js
33
33
  import { existsSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
34
34
  import { homedir } from "node:os";
35
35
  import { basename, dirname, join, relative, resolve, sep } from "node:path";
@@ -5,23 +5,23 @@ import {
5
5
  installFiles,
6
6
  megabytes,
7
7
  sharedModelsDirectory
8
- } from "./chunk-UT3ODJMI.js";
8
+ } from "./chunk-XCCU2E3Z.js";
9
9
  import {
10
10
  importFrom
11
11
  } from "./chunk-Y5E2WNWB.js";
12
12
  import {
13
13
  CliError
14
- } from "./chunk-GCUFGDKE.js";
14
+ } from "./chunk-S6JG4YUH.js";
15
15
  import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
18
18
 
19
- // node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
681
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
682
682
  var ONNX_RUNTIME_VERSION = "1.30.0";
683
683
  var REGISTRY = "https://registry.npmjs.org";
684
684
  var wirecat = /* @__PURE__ */ __name((target, sha256, bytes, library) => ({
@@ -837,7 +837,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
837
837
  return { ort, session: await ort.InferenceSession.create(bytes, options) };
838
838
  }, "openSession");
839
839
 
840
- // node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
840
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
841
841
  var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
842
842
  var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
843
843
  var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");
@@ -2,24 +2,24 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  storePath
5
- } from "./chunk-KTLCQ7GC.js";
5
+ } from "./chunk-TLG6ECZ2.js";
6
6
  import {
7
7
  resolvePaths,
8
8
  writeSecurely
9
- } from "./chunk-ELJGALVX.js";
9
+ } from "./chunk-WIHN3ELW.js";
10
10
  import {
11
11
  CliError,
12
12
  singleLine
13
- } from "./chunk-GCUFGDKE.js";
13
+ } from "./chunk-S6JG4YUH.js";
14
14
  import {
15
15
  __name
16
16
  } from "./chunk-ZVVMGPBJ.js";
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/store/shared-config.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/store/shared-config.js
19
19
  import { existsSync, mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";
20
20
  import { dirname, join, resolve } from "node:path";
21
21
 
22
- // node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/domain/config-repair.js
22
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/config-repair.js
23
23
  var REPAIR_WORDS = {
24
24
  byte_order_mark: "an invisible byte-order mark at the start",
25
25
  comment: "a comment, which JSON does not allow",
@@ -303,7 +303,7 @@ var explainBrokenJson = /* @__PURE__ */ __name((text, result) => {
303
303
  return `line ${line}, column ${column}: ${why}${around(line)}; likely fix: ${fix ?? "correct that part by hand"}`;
304
304
  }, "explainBrokenJson");
305
305
 
306
- // node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
306
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
307
307
  var DEFAULT_TASK_CATEGORIES = [
308
308
  {
309
309
  name: "taxes",
@@ -1058,7 +1058,7 @@ var storedTaskCategories = /* @__PURE__ */ __name((json) => {
1058
1058
  }
1059
1059
  }, "storedTaskCategories");
1060
1060
 
1061
- // node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/store/shared-config.js
1061
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/store/shared-config.js
1062
1062
  var SECTION = "task_categories";
1063
1063
  var sharedConfigPath = /* @__PURE__ */ __name((store, env = process.env) => {
1064
1064
  const paths = resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env });
@@ -5,19 +5,19 @@ import {
5
5
  fieldsOf,
6
6
  processStreams,
7
7
  projectFields
8
- } from "./chunk-ELJGALVX.js";
8
+ } from "./chunk-WIHN3ELW.js";
9
9
  import {
10
10
  COMPACT_FLAG
11
- } from "./chunk-BKTLAXUK.js";
11
+ } from "./chunk-QFOP3KUP.js";
12
12
  import {
13
13
  CliError,
14
14
  singleLine
15
- } from "./chunk-GCUFGDKE.js";
15
+ } from "./chunk-S6JG4YUH.js";
16
16
  import {
17
17
  __name
18
18
  } from "./chunk-ZVVMGPBJ.js";
19
19
 
20
- // node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/sends/permissions.js
20
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/sends/permissions.js
21
21
  var LEVELS = ["deny", "readonly", "ask", "allow"];
22
22
  var DANGEROUS = /* @__PURE__ */ new Set([
23
23
  "messages.delete",
@@ -453,7 +453,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
453
453
  }
454
454
  }, "assertRetentionEvidenceRead");
455
455
 
456
- // node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
456
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
457
457
  var named = /* @__PURE__ */ __name((work) => {
458
458
  try {
459
459
  return work();
@@ -480,7 +480,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
480
480
  return projectFields(value, fields);
481
481
  }), "projectFields");
482
482
 
483
- // node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/output-detail.js
483
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/output-detail.js
484
484
  var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
485
485
  var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
486
486
  var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
@@ -516,7 +516,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
516
516
  return value;
517
517
  }, "atDetail");
518
518
 
519
- // node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/output.js
519
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/output.js
520
520
  var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
521
521
  const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
522
522
  if (other)