@wirecat/bitrix24-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 (255) hide show
  1. package/CHANGELOG.md +130 -0
  2. package/README.md +84 -9
  3. package/dist/api-keys.d.ts +36 -9
  4. package/dist/api-keys.d.ts.map +1 -1
  5. package/dist/api-keys.js +139 -19
  6. package/dist/api-keys.js.map +1 -1
  7. package/dist/bin/b24.js +2 -2
  8. package/dist/bitrix/errors.js +1 -1
  9. package/dist/bitrix/errors.js.map +1 -1
  10. package/dist/bitrix/methods.d.ts.map +1 -1
  11. package/dist/bitrix/methods.js +7 -3
  12. package/dist/bitrix/methods.js.map +1 -1
  13. package/dist/bitrix/transport.d.ts +4 -7
  14. package/dist/bitrix/transport.d.ts.map +1 -1
  15. package/dist/bitrix/transport.js +29 -19
  16. package/dist/bitrix/transport.js.map +1 -1
  17. package/dist/body.d.ts +14 -0
  18. package/dist/body.d.ts.map +1 -0
  19. package/dist/body.js +44 -0
  20. package/dist/body.js.map +1 -0
  21. package/dist/bundle/{chunk-QIPTIUMJ.js → all-profiles-CANIDIDS.js} +12 -7
  22. package/dist/bundle/{anthropic-RHRAVHC2.js → anthropic-JUJB4DCF.js} +5 -5
  23. package/dist/bundle/{app-server-QIT6S7AZ.js → app-server-3V5Z4PTK.js} +68 -54
  24. package/dist/bundle/b24.js +18 -12
  25. package/dist/bundle/{bun-H6RSODZ3.js → bun-LKMV5TY7.js} +2 -2
  26. package/dist/bundle/{bun-sqlite-BO4LTQHX.js → bun-sqlite-S56EF74S.js} +3 -3
  27. package/dist/bundle/{chunk-D5S6QV6R.js → chunk-2I4KWS3H.js} +6 -6
  28. package/dist/bundle/chunk-36PO5NWY.js +147 -0
  29. package/dist/bundle/{chunk-ZIAQPTUS.js → chunk-42F7Q7V6.js} +3 -3
  30. package/dist/bundle/{chunk-6WY72XVQ.js → chunk-4D3K6GZW.js} +18 -4
  31. package/dist/bundle/chunk-5D4MJQ6X.js +22 -0
  32. package/dist/bundle/chunk-5JOPERVF.js +84 -0
  33. package/dist/bundle/chunk-6A4UPWDC.js +15 -0
  34. package/dist/bundle/{chunk-P33NDCDI.js → chunk-6MGWIZG4.js} +1 -1
  35. package/dist/bundle/{chunk-ZDQQCXFG.js → chunk-6YJTNZ7U.js} +13 -13
  36. package/dist/bundle/{chunk-MBDK4YXG.js → chunk-7FBFJ6B4.js} +4 -2
  37. package/dist/bundle/chunk-7VCMOTQP.js +55 -0
  38. package/dist/bundle/{chunk-P364PLIK.js → chunk-A5IMMGYU.js} +36 -34
  39. package/dist/bundle/{chunk-45AKJVKV.js → chunk-ASEHTBNK.js} +1 -1
  40. package/dist/bundle/{chunk-HGL63O5V.js → chunk-B6LPJYPQ.js} +2 -2
  41. package/dist/bundle/{chunk-LSPIOT6Z.js → chunk-BHEE2K6C.js} +7 -7
  42. package/dist/bundle/chunk-BYZQBE63.js +971 -0
  43. package/dist/bundle/{program-H3TGGRQ6.js → chunk-COKGNTDQ.js} +15761 -16685
  44. package/dist/bundle/{chunk-XJXONOB5.js → chunk-DVFYRQGE.js} +1 -1
  45. package/dist/bundle/{chunk-FLUEXJ4X.js → chunk-DVSIBZ3G.js} +1 -1
  46. package/dist/bundle/chunk-EJEIXC6Y.js +273 -0
  47. package/dist/bundle/chunk-EYTGCM44.js +130 -0
  48. package/dist/bundle/{chunk-IRV2PCQ2.js → chunk-EYYOKT23.js} +26 -26
  49. package/dist/bundle/{chunk-PH5FZX6E.js → chunk-FCWPIWSR.js} +2 -2
  50. package/dist/bundle/{chunk-YZ5LHE5Q.js → chunk-FSWRMQWX.js} +2 -2
  51. package/dist/bundle/{chunk-ADLS6FVG.js → chunk-FXBHOCJK.js} +1 -1
  52. package/dist/bundle/chunk-G5MW6RCM.js +723 -0
  53. package/dist/bundle/{chunk-VEWWAGTD.js → chunk-GLTKRLFT.js} +8 -8
  54. package/dist/bundle/chunk-GUUZQ7NE.js +581 -0
  55. package/dist/bundle/{chunk-QSNROIJL.js → chunk-H6RIPOOI.js} +42 -9
  56. package/dist/bundle/{chunk-H2ADPPSH.js → chunk-HGFNC4CR.js} +1819 -597
  57. package/dist/bundle/{chunk-7GRZAKBB.js → chunk-IERYD2N2.js} +6 -6
  58. package/dist/bundle/{chunk-N6FLBXZS.js → chunk-IGCLMEMB.js} +3 -3
  59. package/dist/bundle/{chunk-U5ACMCAQ.js → chunk-J7WCSZ2Q.js} +411 -919
  60. package/dist/bundle/{chunk-W5YAO5G5.js → chunk-JZYHQ4HB.js} +9 -4
  61. package/dist/bundle/{chunk-EVYSBZ3I.js → chunk-K4QM3X5F.js} +4 -4
  62. package/dist/bundle/{chunk-DTXERR44.js → chunk-KFSMY7SZ.js} +2 -2
  63. package/dist/bundle/{chunk-LRGYKOCP.js → chunk-KPEDH5T4.js} +1 -1
  64. package/dist/bundle/{chunk-XRFJWHY5.js → chunk-KUY7LII2.js} +4 -4
  65. package/dist/bundle/{chunk-QC53QBNC.js → chunk-LFXDHLFR.js} +3 -3
  66. package/dist/bundle/{chunk-CNNEA2M4.js → chunk-LGLT4JB6.js} +3 -3
  67. package/dist/bundle/{chunk-QGMDQ2PM.js → chunk-LM4OOBAW.js} +3 -3
  68. package/dist/bundle/chunk-M74BSKMA.js +234 -0
  69. package/dist/bundle/{chunk-2KCZ7BKW.js → chunk-MMMT6ORT.js} +11 -11
  70. package/dist/bundle/{chunk-WII44RXN.js → chunk-NGYD6QTE.js} +2 -2
  71. package/dist/bundle/{chunk-FOTREPNS.js → chunk-NO6QOPVT.js} +10 -19
  72. package/dist/bundle/chunk-O6XC7DZI.js +804 -0
  73. package/dist/bundle/chunk-OE3NFB53.js +64 -0
  74. package/dist/bundle/{chunk-XD4FRDSL.js → chunk-OUMFNB34.js} +13 -149
  75. package/dist/bundle/{chunk-ZGZT5S6B.js → chunk-P2RQTNVJ.js} +806 -850
  76. package/dist/bundle/{chunk-RRJNNPR4.js → chunk-PBIBGIZ7.js} +1 -1
  77. package/dist/bundle/{chunk-EXOOKUEA.js → chunk-Q6VQHTRW.js} +2 -2
  78. package/dist/bundle/{chunk-TE3FR6MI.js → chunk-QHBCNVUG.js} +5 -5
  79. package/dist/bundle/{chunk-SGRYYE4X.js → chunk-QNOXAQ6Y.js} +4 -4
  80. package/dist/bundle/{chunk-QQXH2OPB.js → chunk-R5F2O5GX.js} +15 -272
  81. package/dist/bundle/{chunk-SFRNX2TI.js → chunk-R5PBSKJL.js} +1 -1
  82. package/dist/bundle/{chunk-OTD2ZRXD.js → chunk-RS2BARUU.js} +4 -4
  83. package/dist/bundle/chunk-TG3DSPT5.js +14 -0
  84. package/dist/bundle/{chunk-BCF7P4FZ.js → chunk-U22JMKUO.js} +6 -125
  85. package/dist/bundle/chunk-U66Q5TVK.js +106 -0
  86. package/dist/bundle/{chunk-QMPN6WKD.js → chunk-UCHMQWON.js} +211 -89
  87. package/dist/bundle/{chunk-POC3V3AO.js → chunk-VMJS7FJZ.js} +526 -467
  88. package/dist/bundle/{chunk-FZL7F5NR.js → chunk-VMVAQHDC.js} +77 -615
  89. package/dist/bundle/{chunk-K3UIB6ZF.js → chunk-WWMCJFMT.js} +2 -2
  90. package/dist/bundle/{chunk-CXL33BFL.js → chunk-XTA5TN3H.js} +1 -1
  91. package/dist/bundle/{chunk-WTPMJYMD.js → chunk-XUHHBEA7.js} +652 -131
  92. package/dist/bundle/{chunk-WKRQ44EH.js → chunk-YDZHO4LT.js} +13 -13
  93. package/dist/bundle/{chunk-2SNUMZ7S.js → chunk-ZKINZFIT.js} +6 -6
  94. package/dist/bundle/{chunk-HAXNUIGQ.js → chunk-ZSQXSIFQ.js} +89 -39
  95. package/dist/bundle/{chunk-YYO7D2MO.js → chunk-ZZEHDIEG.js} +58 -54
  96. package/dist/bundle/command-contract-OQV6H7SR.js +36 -0
  97. package/dist/bundle/{decode-5ZPLTYV6.js → decode-QSTBX4MG.js} +3 -3
  98. package/dist/bundle/{echarts-J6LAPIX7.js → echarts-JZELFH2N.js} +2 -2
  99. package/dist/bundle/{embed-YG5LDHME.js → embed-4RIW2LVH.js} +4 -4
  100. package/dist/bundle/{embedder-7FNUA5OZ.js → embedder-SW7DTWSL.js} +7 -7
  101. package/dist/bundle/{first-run-JPZNWIJN.js → first-run-7AISOSOM.js} +8 -8
  102. package/dist/bundle/first-screen-NMHNFZ2B.js +34 -0
  103. package/dist/bundle/{instructions-AXWTQHMR.js → instructions-BZE5YUGG.js} +1 -1
  104. package/dist/bundle/{mcp-7F46P6AM.js → mcp-SDWHDJTY.js} +2 -2
  105. package/dist/bundle/{node-P4E63KXA.js → node-KM3CUABH.js} +9 -9
  106. package/dist/bundle/{node-CWKAIOEM.js → node-LTKZIO4U.js} +2 -2
  107. package/dist/bundle/{node-sqlite-LSEKVRDA.js → node-sqlite-HQ5PN2RH.js} +4 -4
  108. package/dist/bundle/{oauth-THYNLRLD.js → oauth-UH6FOZQL.js} +5 -5
  109. package/dist/bundle/{open-E47QYKFC.js → open-TSUP3XGL.js} +3 -3
  110. package/dist/bundle/{openai-EWSGC3BC.js → openai-GVEE52E3.js} +14 -14
  111. package/dist/bundle/{process-WKTEA3WE.js → process-AGXY76ZE.js} +1 -1
  112. package/dist/bundle/program-BI4A4HFJ.js +2247 -0
  113. package/dist/bundle/{prompt-CAQ7QR3U.js → prompt-NRSUY7FA.js} +3 -3
  114. package/dist/bundle/{recognize-6KGHNZC3.js → recognize-NPDPQ6PJ.js} +2 -2
  115. package/dist/bundle/{remote-3UO2WDC3.js → remote-HFASMVLB.js} +5 -5
  116. package/dist/bundle/{rerank-2JVDPZBX.js → rerank-TL6Z6F7K.js} +5 -5
  117. package/dist/bundle/{chunk-VL6SPMZV.js → serve-VB4DHDZQ.js} +8 -6
  118. package/dist/bundle/server-T5EDRPJI.js +68 -0
  119. package/dist/bundle/{chunk-ZEW4P6AH.js → server-Z6MW6C37.js} +50 -14
  120. package/dist/bundle/source-4IGO5J7E.js +237 -0
  121. package/dist/bundle/sqlite-runtime-YS4POY3W.js +17 -0
  122. package/dist/bundle/{state-7NH5G4XJ.js → state-ISZVVZGR.js} +4 -4
  123. package/dist/bundle/store-IZJBAKJV.js +58 -0
  124. package/dist/bundle/{store-7O4JQD2Z.js → store-L76MSQC3.js} +17 -12
  125. package/dist/bundle/store-PBTIB7BD.js +207 -0
  126. package/dist/bundle/store-maintenance-command-YFKII7TF.js +58 -0
  127. package/dist/bundle/writer-3O5EYMFE.js +214 -0
  128. package/dist/commands/api.d.ts.map +1 -1
  129. package/dist/commands/api.js +81 -30
  130. package/dist/commands/api.js.map +1 -1
  131. package/dist/commands/crm-shared.d.ts +4 -0
  132. package/dist/commands/crm-shared.d.ts.map +1 -0
  133. package/dist/commands/crm-shared.js +94 -0
  134. package/dist/commands/crm-shared.js.map +1 -0
  135. package/dist/commands/crm-writes.d.ts +0 -1
  136. package/dist/commands/crm-writes.d.ts.map +1 -1
  137. package/dist/commands/crm-writes.js +43 -88
  138. package/dist/commands/crm-writes.js.map +1 -1
  139. package/dist/commands/crm.d.ts.map +1 -1
  140. package/dist/commands/crm.js +30 -48
  141. package/dist/commands/crm.js.map +1 -1
  142. package/dist/commands/session.d.ts.map +1 -1
  143. package/dist/commands/session.js +1 -0
  144. package/dist/commands/session.js.map +1 -1
  145. package/dist/commands/write.d.ts +6 -6
  146. package/dist/commands/write.d.ts.map +1 -1
  147. package/dist/commands/write.js +11 -18
  148. package/dist/commands/write.js.map +1 -1
  149. package/dist/config.d.ts +0 -5
  150. package/dist/config.d.ts.map +1 -1
  151. package/dist/config.js +6 -8
  152. package/dist/config.js.map +1 -1
  153. package/dist/crm/capabilities.d.ts +7 -0
  154. package/dist/crm/capabilities.d.ts.map +1 -0
  155. package/dist/crm/capabilities.js +7 -0
  156. package/dist/crm/capabilities.js.map +1 -0
  157. package/dist/crm/conditions.d.ts +1 -1
  158. package/dist/crm/conditions.d.ts.map +1 -1
  159. package/dist/crm/conditions.js +4 -6
  160. package/dist/crm/conditions.js.map +1 -1
  161. package/dist/crm/custom-query.d.ts +19 -0
  162. package/dist/crm/custom-query.d.ts.map +1 -0
  163. package/dist/crm/custom-query.js +79 -0
  164. package/dist/crm/custom-query.js.map +1 -0
  165. package/dist/crm/deal.d.ts +4 -27
  166. package/dist/crm/deal.d.ts.map +1 -1
  167. package/dist/crm/deal.js +15 -48
  168. package/dist/crm/deal.js.map +1 -1
  169. package/dist/crm/fields.d.ts +20 -0
  170. package/dist/crm/fields.d.ts.map +1 -0
  171. package/dist/crm/fields.js +78 -0
  172. package/dist/crm/fields.js.map +1 -0
  173. package/dist/crm/items.d.ts +7 -1
  174. package/dist/crm/items.d.ts.map +1 -1
  175. package/dist/crm/items.js +21 -18
  176. package/dist/crm/items.js.map +1 -1
  177. package/dist/crm/lead.d.ts +5 -36
  178. package/dist/crm/lead.d.ts.map +1 -1
  179. package/dist/crm/lead.js +15 -61
  180. package/dist/crm/lead.js.map +1 -1
  181. package/dist/crm/organization.d.ts +1 -0
  182. package/dist/crm/organization.d.ts.map +1 -1
  183. package/dist/crm/person.d.ts +1 -0
  184. package/dist/crm/person.d.ts.map +1 -1
  185. package/dist/crm/pipelines.d.ts +5 -0
  186. package/dist/crm/pipelines.d.ts.map +1 -0
  187. package/dist/crm/pipelines.js +54 -0
  188. package/dist/crm/pipelines.js.map +1 -0
  189. package/dist/crm/product.d.ts.map +1 -1
  190. package/dist/crm/product.js +2 -2
  191. package/dist/crm/product.js.map +1 -1
  192. package/dist/crm/rest3-fields.d.ts +3 -0
  193. package/dist/crm/rest3-fields.d.ts.map +1 -0
  194. package/dist/crm/rest3-fields.js +38 -0
  195. package/dist/crm/rest3-fields.js.map +1 -0
  196. package/dist/crm/source.d.ts +15 -0
  197. package/dist/crm/source.d.ts.map +1 -0
  198. package/dist/crm/source.js +122 -0
  199. package/dist/crm/source.js.map +1 -0
  200. package/dist/crm/user.d.ts.map +1 -1
  201. package/dist/crm/user.js +2 -2
  202. package/dist/crm/user.js.map +1 -1
  203. package/dist/crm/values.d.ts +26 -5
  204. package/dist/crm/values.d.ts.map +1 -1
  205. package/dist/crm/values.js +40 -5
  206. package/dist/crm/values.js.map +1 -1
  207. package/dist/crm/writer.d.ts +9 -0
  208. package/dist/crm/writer.d.ts.map +1 -0
  209. package/dist/crm/writer.js +119 -0
  210. package/dist/crm/writer.js.map +1 -0
  211. package/dist/program.d.ts.map +1 -1
  212. package/dist/program.js +53 -5
  213. package/dist/program.js.map +1 -1
  214. package/dist/reasons.d.ts.map +1 -1
  215. package/dist/reasons.js +6 -1
  216. package/dist/reasons.js.map +1 -1
  217. package/dist/store.d.ts +15 -0
  218. package/dist/store.d.ts.map +1 -0
  219. package/dist/store.js +33 -0
  220. package/dist/store.js.map +1 -0
  221. package/dist/version.d.ts +1 -1
  222. package/dist/version.js +1 -1
  223. package/package.json +4 -6
  224. package/skills/bitrix24-cli/SKILL.md +16 -10
  225. package/dist/bundle/all-profiles-QJ444GSX.js +0 -24
  226. package/dist/bundle/chunk-XNHSPHUN.js +0 -48
  227. package/dist/bundle/command-contract-OKQOE6G4.js +0 -30
  228. package/dist/bundle/first-screen-VQM4MTS7.js +0 -28
  229. package/dist/bundle/mcp-5RSWNTHS.js +0 -160
  230. package/dist/bundle/mcp-J5R5A65I.js +0 -87
  231. package/dist/bundle/serve-ES7AG5IK.js +0 -19
  232. package/dist/bundle/server-5LE5LNUQ.js +0 -45
  233. package/dist/bundle/server-BU4VBM6S.js +0 -58
  234. package/dist/bundle/store-maintenance-command-UDVGEY2D.js +0 -47
  235. package/dist/commands/doctor.d.ts +0 -77
  236. package/dist/commands/doctor.d.ts.map +0 -1
  237. package/dist/commands/doctor.js +0 -74
  238. package/dist/commands/doctor.js.map +0 -1
  239. package/dist/commands/mcp.d.ts +0 -3
  240. package/dist/commands/mcp.d.ts.map +0 -1
  241. package/dist/commands/mcp.js +0 -97
  242. package/dist/commands/mcp.js.map +0 -1
  243. package/dist/crm/pipeline.d.ts +0 -17
  244. package/dist/crm/pipeline.d.ts.map +0 -1
  245. package/dist/crm/pipeline.js +0 -42
  246. package/dist/crm/pipeline.js.map +0 -1
  247. package/dist/crm/stage.d.ts +0 -20
  248. package/dist/crm/stage.d.ts.map +0 -1
  249. package/dist/crm/stage.js +0 -65
  250. package/dist/crm/stage.js.map +0 -1
  251. package/dist/mcp.d.ts +0 -29
  252. package/dist/mcp.d.ts.map +0 -1
  253. package/dist/mcp.js +0 -99
  254. package/dist/mcp.js.map +0 -1
  255. /package/dist/bundle/{chunk-4PDYYS5K.js → chunk-ZQ3GWKDQ.js} +0 -0
@@ -1,24 +1,5 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
- import {
4
- CHART_KINDS,
5
- CHART_SIZE,
6
- chartAnswer,
7
- chartPng,
8
- chartRenderer,
9
- chatChart,
10
- keepRefreshedRefs,
11
- refuseWriteBeforeConnecting,
12
- registerPrompts,
13
- stdinFieldOf,
14
- syncsFirst
15
- } from "./chunk-HAXNUIGQ.js";
16
- import {
17
- mcpUrlOf
18
- } from "./chunk-XNHSPHUN.js";
19
- import {
20
- answeredWire
21
- } from "./chunk-RRJNNPR4.js";
22
3
  import {
23
4
  BinaryResource,
24
5
  Picture,
@@ -39,21 +20,41 @@ import {
39
20
  tool,
40
21
  toolKey,
41
22
  toolsFromCommands
42
- } from "./chunk-QMPN6WKD.js";
23
+ } from "./chunk-UCHMQWON.js";
24
+ import {
25
+ CHART_KINDS,
26
+ CHART_SIZE,
27
+ chartAnswer,
28
+ chartPng,
29
+ chartRenderer,
30
+ chatChart,
31
+ keepRefreshedRefs,
32
+ mcpUrlOf,
33
+ refuseWriteBeforeConnecting,
34
+ registerPrompts,
35
+ stdinFieldOf,
36
+ syncsFirst
37
+ } from "./chunk-ZSQXSIFQ.js";
43
38
  import {
44
39
  agentJson,
45
40
  skillResource
46
- } from "./chunk-WKRQ44EH.js";
41
+ } from "./chunk-YDZHO4LT.js";
42
+ import {
43
+ answeredWire
44
+ } from "./chunk-PBIBGIZ7.js";
47
45
  import {
48
46
  StdioServerTransport,
49
47
  callerOf,
50
48
  callingAgent,
51
49
  serveStdio
52
- } from "./chunk-7GRZAKBB.js";
50
+ } from "./chunk-IERYD2N2.js";
53
51
  import {
54
- connectedFor,
55
- guardFor
56
- } from "./chunk-FZL7F5NR.js";
52
+ McpServer,
53
+ ResourceTemplate
54
+ } from "./chunk-5D4AEUVA.js";
55
+ import {
56
+ connectedFor
57
+ } from "./chunk-VMVAQHDC.js";
57
58
  import {
58
59
  capability,
59
60
  dateWindow,
@@ -62,10 +63,13 @@ import {
62
63
  servicesFor,
63
64
  storedDeps,
64
65
  wholeList
65
- } from "./chunk-POC3V3AO.js";
66
+ } from "./chunk-VMJS7FJZ.js";
67
+ import {
68
+ guardFor
69
+ } from "./chunk-GUUZQ7NE.js";
66
70
  import {
67
71
  findCommand
68
- } from "./chunk-XRFJWHY5.js";
72
+ } from "./chunk-KUY7LII2.js";
69
73
  import {
70
74
  DEFAULT_OUTPUT_BYTES,
71
75
  changesAuthorityAt,
@@ -73,42 +77,42 @@ import {
73
77
  environmentOf,
74
78
  itemOf,
75
79
  judgedTargets,
76
- readOnlyLockOf,
77
80
  readsOverMcpAt,
78
81
  recalledAccount,
79
82
  rootOf2 as rootOf,
80
83
  sealed,
81
- snakeKeys,
84
+ snakeKeys
85
+ } from "./chunk-J7WCSZ2Q.js";
86
+ import {
87
+ readOnlyLockOf,
82
88
  typedCommand
83
- } from "./chunk-U5ACMCAQ.js";
89
+ } from "./chunk-G5MW6RCM.js";
84
90
  import {
85
- isCliFailure,
86
91
  withCaller
87
- } from "./chunk-FOTREPNS.js";
92
+ } from "./chunk-NO6QOPVT.js";
88
93
  import {
89
- instructions
90
- } from "./chunk-FLUEXJ4X.js";
91
- import {
92
- McpServer,
93
- ResourceTemplate
94
- } from "./chunk-5D4AEUVA.js";
94
+ isCliFailure
95
+ } from "./chunk-5D4MJQ6X.js";
95
96
  import {
96
97
  mcpHttpMarker
97
- } from "./chunk-OTD2ZRXD.js";
98
+ } from "./chunk-RS2BARUU.js";
99
+ import {
100
+ instructions
101
+ } from "./chunk-DVSIBZ3G.js";
98
102
  import {
99
103
  warmEmbedders
100
- } from "./chunk-2SNUMZ7S.js";
104
+ } from "./chunk-ZKINZFIT.js";
101
105
  import {
102
106
  levelFor,
103
107
  readKeysForCommand
104
- } from "./chunk-XD4FRDSL.js";
108
+ } from "./chunk-OUMFNB34.js";
105
109
  import {
106
110
  openStore,
107
111
  pdfPreviewLimits
108
- } from "./chunk-H2ADPPSH.js";
112
+ } from "./chunk-HGFNC4CR.js";
109
113
  import {
110
114
  timezoneOf
111
- } from "./chunk-ZGZT5S6B.js";
115
+ } from "./chunk-P2RQTNVJ.js";
112
116
  import {
113
117
  CliError,
114
118
  description,
@@ -126,15 +130,15 @@ import {
126
130
  strictObject,
127
131
  string,
128
132
  visibleControls
129
- } from "./chunk-IRV2PCQ2.js";
133
+ } from "./chunk-EYYOKT23.js";
130
134
  import {
131
135
  __name
132
136
  } from "./chunk-ZVVMGPBJ.js";
133
137
 
134
- // node_modules/.pnpm/@wirecat+cli-core@0.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/mcp/server.js
138
+ // node_modules/.pnpm/@wirecat+cli-core@0.601.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4fddd50439ae4e4f952967ea26554e7b/node_modules/@wirecat/cli-core/dist/mcp/server.js
135
139
  import { randomUUID } from "node:crypto";
136
140
 
137
- // node_modules/.pnpm/@wirecat+cli-core@0.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
141
+ // node_modules/.pnpm/@wirecat+cli-core@0.601.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4fddd50439ae4e4f952967ea26554e7b/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
138
142
  var agentLog = /* @__PURE__ */ __name((open) => {
139
143
  let held;
140
144
  return {
@@ -153,7 +157,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
153
157
  };
154
158
  }, "agentLog");
155
159
 
156
- // node_modules/.pnpm/@wirecat+cli-core@0.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/mcp/resources.js
160
+ // node_modules/.pnpm/@wirecat+cli-core@0.601.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4fddd50439ae4e4f952967ea26554e7b/node_modules/@wirecat/cli-core/dist/mcp/resources.js
157
161
  var LISTED = 100;
158
162
  var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
159
163
  server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
@@ -191,7 +195,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
191
195
  });
192
196
  }, "registerResources");
193
197
 
194
- // node_modules/.pnpm/@wirecat+cli-core@0.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/mcp/session.js
198
+ // node_modules/.pnpm/@wirecat+cli-core@0.601.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4fddd50439ae4e4f952967ea26554e7b/node_modules/@wirecat/cli-core/dist/mcp/session.js
195
199
  var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
196
200
  var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
197
201
  var MessengerSession = class {
@@ -266,7 +270,7 @@ var MessengerSession = class {
266
270
  }
267
271
  };
268
272
 
269
- // node_modules/.pnpm/@wirecat+cli-core@0.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
273
+ // node_modules/.pnpm/@wirecat+cli-core@0.601.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4fddd50439ae4e4f952967ea26554e7b/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
270
274
  var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
271
275
  const _command = messenger.app.command;
272
276
  return {
@@ -320,7 +324,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
320
324
  };
321
325
  }, "attachmentsTools");
322
326
 
323
- // node_modules/.pnpm/@wirecat+cli-core@0.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
327
+ // node_modules/.pnpm/@wirecat+cli-core@0.601.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4fddd50439ae4e4f952967ea26554e7b/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
324
328
  var PHOTO_LIMIT = 512 * 1024;
325
329
  var IMAGE_TYPES = [
326
330
  ["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
@@ -374,7 +378,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
374
378
  return new Uint8Array(Buffer.concat(chunks));
375
379
  }, "readUpTo");
376
380
 
377
- // node_modules/.pnpm/@wirecat+cli-core@0.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
381
+ // node_modules/.pnpm/@wirecat+cli-core@0.601.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4fddd50439ae4e4f952967ea26554e7b/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
378
382
  var statsTools = /* @__PURE__ */ __name((messenger) => ({
379
383
  stats_charts: tool({
380
384
  title: "A chart from a chat's statistics",
@@ -411,14 +415,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
411
415
  })
412
416
  }), "statsTools");
413
417
 
414
- // node_modules/.pnpm/@wirecat+cli-core@0.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/mcp/tools.js
418
+ // node_modules/.pnpm/@wirecat+cli-core@0.601.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4fddd50439ae4e4f952967ea26554e7b/node_modules/@wirecat/cli-core/dist/mcp/tools.js
415
419
  var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
416
420
  ...messagesPhotoTools(messenger),
417
421
  ...attachmentsTools(messenger),
418
422
  ...statsTools(messenger)
419
423
  }).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
420
424
 
421
- // node_modules/.pnpm/@wirecat+cli-core@0.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/mcp/server.js
425
+ // node_modules/.pnpm/@wirecat+cli-core@0.601.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4fddd50439ae4e4f952967ea26554e7b/node_modules/@wirecat/cli-core/dist/mcp/server.js
422
426
  var PER_RUN = /* @__PURE__ */ new Set([
423
427
  "streams",
424
428
  "stdin",
@@ -742,7 +746,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
742
746
  }, "serveOverStdio");
743
747
  var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
744
748
  const { session, embedders, build, log } = createServer(command, context, messenger, options);
745
- const { serveOverHttp } = await import("./serve-ES7AG5IK.js");
749
+ const { serveOverHttp } = await import("./serve-VB4DHDZQ.js");
746
750
  const appName = messenger.app.command;
747
751
  const appEnvPrefix = messenger.app.envPrefix;
748
752
  const listening = await serveOverHttp(build, {
@@ -0,0 +1,36 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ SCHEMA_DIALECT,
5
+ commandContract,
6
+ commandPathOf,
7
+ findCommand,
8
+ outputOf
9
+ } from "./chunk-KUY7LII2.js";
10
+ import "./chunk-J7WCSZ2Q.js";
11
+ import "./chunk-G5MW6RCM.js";
12
+ import "./chunk-NO6QOPVT.js";
13
+ import "./chunk-5D4MJQ6X.js";
14
+ import "./chunk-LGLT4JB6.js";
15
+ import "./chunk-DVFYRQGE.js";
16
+ import "./chunk-QNOXAQ6Y.js";
17
+ import "./chunk-OE3NFB53.js";
18
+ import "./chunk-36PO5NWY.js";
19
+ import "./chunk-OUMFNB34.js";
20
+ import "./chunk-A5IMMGYU.js";
21
+ import "./chunk-QHBCNVUG.js";
22
+ import "./chunk-KFSMY7SZ.js";
23
+ import "./chunk-5JOPERVF.js";
24
+ import "./chunk-P2RQTNVJ.js";
25
+ import "./chunk-KPEDH5T4.js";
26
+ import "./chunk-ZQ3GWKDQ.js";
27
+ import "./chunk-EYYOKT23.js";
28
+ import "./chunk-Y5E2WNWB.js";
29
+ import "./chunk-ZVVMGPBJ.js";
30
+ export {
31
+ SCHEMA_DIALECT,
32
+ commandContract,
33
+ commandPathOf,
34
+ findCommand,
35
+ outputOf
36
+ };
@@ -3,10 +3,10 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  SAMPLE_RATE,
5
5
  decodeOgg
6
- } from "./chunk-6WY72XVQ.js";
6
+ } from "./chunk-4D3K6GZW.js";
7
7
  import {
8
8
  CliError
9
- } from "./chunk-IRV2PCQ2.js";
9
+ } from "./chunk-EYYOKT23.js";
10
10
  import {
11
11
  importFrom
12
12
  } from "./chunk-Y5E2WNWB.js";
@@ -14,7 +14,7 @@ import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/speech/decode.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.601.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4fddd50439ae4e4f952967ea26554e7b/node_modules/@wirecat/cli-core/dist/speech/decode.js
18
18
  import { spawn } from "node:child_process";
19
19
  import { mkdtemp, rm, writeFile } from "node:fs/promises";
20
20
  import { createRequire } from "node:module";
@@ -42399,7 +42399,7 @@ function install11(registers) {
42399
42399
  }
42400
42400
  __name(install11, "install");
42401
42401
 
42402
- // node_modules/.pnpm/@wirecat+cli-core@0.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/charts/echarts-option.js
42402
+ // node_modules/.pnpm/@wirecat+cli-core@0.601.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4fddd50439ae4e4f952967ea26554e7b/node_modules/@wirecat/cli-core/dist/charts/echarts-option.js
42403
42403
  var echartsOption = /* @__PURE__ */ __name((chart) => ({
42404
42404
  animation: false,
42405
42405
  backgroundColor: "#111827",
@@ -42447,7 +42447,7 @@ var echartsOption = /* @__PURE__ */ __name((chart) => ({
42447
42447
  } : {}
42448
42448
  }), "echartsOption");
42449
42449
 
42450
- // node_modules/.pnpm/@wirecat+cli-core@0.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/charts/echarts.js
42450
+ // node_modules/.pnpm/@wirecat+cli-core@0.601.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4fddd50439ae4e4f952967ea26554e7b/node_modules/@wirecat/cli-core/dist/charts/echarts.js
42451
42451
  use([install2, install, install6, install5, install10, install7, install11]);
42452
42452
  var echartsRenderer = {
42453
42453
  render: /* @__PURE__ */ __name(async (chart, size) => {
@@ -13,10 +13,10 @@ import {
13
13
  truncated,
14
14
  unit,
15
15
  warmEmbedders
16
- } from "./chunk-2SNUMZ7S.js";
17
- import "./chunk-SGRYYE4X.js";
18
- import "./chunk-DTXERR44.js";
19
- import "./chunk-IRV2PCQ2.js";
16
+ } from "./chunk-ZKINZFIT.js";
17
+ import "./chunk-QNOXAQ6Y.js";
18
+ import "./chunk-KFSMY7SZ.js";
19
+ import "./chunk-EYYOKT23.js";
20
20
  import "./chunk-Y5E2WNWB.js";
21
21
  import "./chunk-ZVVMGPBJ.js";
22
22
  export {
@@ -4,12 +4,12 @@ import {
4
4
  openSession,
5
5
  truncated,
6
6
  unit
7
- } from "./chunk-2SNUMZ7S.js";
8
- import "./chunk-SGRYYE4X.js";
9
- import "./chunk-DTXERR44.js";
7
+ } from "./chunk-ZKINZFIT.js";
8
+ import "./chunk-QNOXAQ6Y.js";
9
+ import "./chunk-KFSMY7SZ.js";
10
10
  import {
11
11
  CliError
12
- } from "./chunk-IRV2PCQ2.js";
12
+ } from "./chunk-EYYOKT23.js";
13
13
  import {
14
14
  importFrom
15
15
  } from "./chunk-Y5E2WNWB.js";
@@ -17,11 +17,11 @@ import {
17
17
  __name
18
18
  } from "./chunk-ZVVMGPBJ.js";
19
19
 
20
- // node_modules/.pnpm/@wirecat+cli-core@0.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
20
+ // node_modules/.pnpm/@wirecat+cli-core@0.601.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4fddd50439ae4e4f952967ea26554e7b/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
21
21
  import { readFileSync } from "node:fs";
22
22
  import { join } from "node:path";
23
23
 
24
- // node_modules/.pnpm/@wirecat+cli-core@0.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/images/picture/preprocess.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.601.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4fddd50439ae4e4f952967ea26554e7b/node_modules/@wirecat/cli-core/dist/images/picture/preprocess.js
25
25
  var SIZE = 224;
26
26
  var MEAN = [0.48145466, 0.4578275, 0.40821073];
27
27
  var STD = [0.26862954, 0.26130258, 0.27577711];
@@ -60,7 +60,7 @@ var preprocess = /* @__PURE__ */ __name(async (bytes, load = importCanvas) => {
60
60
  return pixels;
61
61
  }, "preprocess");
62
62
 
63
- // node_modules/.pnpm/@wirecat+cli-core@0.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
63
+ // node_modules/.pnpm/@wirecat+cli-core@0.601.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4fddd50439ae4e4f952967ea26554e7b/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
64
64
  var openPictureEmbedder = /* @__PURE__ */ __name(async (model, directory, { threads = 4, canvas } = {}) => {
65
65
  const { Tokenizer } = await importFrom(new URL("images/picture/embedder.js", import.meta.resolve("@wirecat/cli-core")).href, "@huggingface/tokenizers");
66
66
  const path = /* @__PURE__ */ __name((name) => join(directory, model.id, name), "path");
@@ -5,14 +5,14 @@ import {
5
5
  asksAtStart,
6
6
  setupAtStart,
7
7
  systemLanguage
8
- } from "./chunk-2KCZ7BKW.js";
9
- import "./chunk-EVYSBZ3I.js";
10
- import "./chunk-CXL33BFL.js";
11
- import "./chunk-CNNEA2M4.js";
12
- import "./chunk-VEWWAGTD.js";
13
- import "./chunk-TE3FR6MI.js";
14
- import "./chunk-DTXERR44.js";
15
- import "./chunk-IRV2PCQ2.js";
8
+ } from "./chunk-MMMT6ORT.js";
9
+ import "./chunk-K4QM3X5F.js";
10
+ import "./chunk-XTA5TN3H.js";
11
+ import "./chunk-LGLT4JB6.js";
12
+ import "./chunk-GLTKRLFT.js";
13
+ import "./chunk-QHBCNVUG.js";
14
+ import "./chunk-KFSMY7SZ.js";
15
+ import "./chunk-EYYOKT23.js";
16
16
  import "./chunk-Y5E2WNWB.js";
17
17
  import "./chunk-ZVVMGPBJ.js";
18
18
  export {
@@ -0,0 +1,34 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ WIRECAT_TOOLS,
5
+ firstScreen,
6
+ installHelp
7
+ } from "./chunk-BHEE2K6C.js";
8
+ import "./chunk-KUY7LII2.js";
9
+ import "./chunk-J7WCSZ2Q.js";
10
+ import "./chunk-G5MW6RCM.js";
11
+ import "./chunk-NO6QOPVT.js";
12
+ import "./chunk-5D4MJQ6X.js";
13
+ import "./chunk-LGLT4JB6.js";
14
+ import "./chunk-DVFYRQGE.js";
15
+ import "./chunk-QNOXAQ6Y.js";
16
+ import "./chunk-OE3NFB53.js";
17
+ import "./chunk-INFYLWUA.js";
18
+ import "./chunk-36PO5NWY.js";
19
+ import "./chunk-OUMFNB34.js";
20
+ import "./chunk-A5IMMGYU.js";
21
+ import "./chunk-QHBCNVUG.js";
22
+ import "./chunk-KFSMY7SZ.js";
23
+ import "./chunk-5JOPERVF.js";
24
+ import "./chunk-P2RQTNVJ.js";
25
+ import "./chunk-KPEDH5T4.js";
26
+ import "./chunk-ZQ3GWKDQ.js";
27
+ import "./chunk-EYYOKT23.js";
28
+ import "./chunk-Y5E2WNWB.js";
29
+ import "./chunk-ZVVMGPBJ.js";
30
+ export {
31
+ WIRECAT_TOOLS,
32
+ firstScreen,
33
+ installHelp
34
+ };
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  appInstructions,
5
5
  instructions
6
- } from "./chunk-FLUEXJ4X.js";
6
+ } from "./chunk-DVSIBZ3G.js";
7
7
  import "./chunk-ZVVMGPBJ.js";
8
8
  export {
9
9
  appInstructions,
@@ -4,13 +4,13 @@ import {
4
4
  executableEnvironment,
5
5
  executableOnPath,
6
6
  require_cross_spawn
7
- } from "./chunk-CXL33BFL.js";
7
+ } from "./chunk-XTA5TN3H.js";
8
8
  import {
9
9
  __name,
10
10
  __toESM
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/mcp/index.js
13
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/mcp/index.js
14
14
  var import_cross_spawn = __toESM(require_cross_spawn(), 1);
15
15
  var realRun = /* @__PURE__ */ __name((file, args) => {
16
16
  const result = import_cross_spawn.default.sync(executableOnPath(file, process.env), args, {
@@ -1,13 +1,5 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
- import {
4
- child_process,
5
- crypto,
6
- fs,
7
- path,
8
- stream,
9
- util
10
- } from "./chunk-DFDN6AUB.js";
11
3
  import {
12
4
  AnthropicError,
13
5
  DEFAULT_MEMORY_SYNC_INTERVAL_MS,
@@ -21,7 +13,15 @@ import {
21
13
  isStatus,
22
14
  loggerFor,
23
15
  promiseWithResolvers
24
- } from "./chunk-ADLS6FVG.js";
16
+ } from "./chunk-FXBHOCJK.js";
17
+ import {
18
+ child_process,
19
+ crypto,
20
+ fs,
21
+ path,
22
+ stream,
23
+ util
24
+ } from "./chunk-DFDN6AUB.js";
25
25
  import {
26
26
  __name
27
27
  } from "./chunk-ZVVMGPBJ.js";
@@ -18,12 +18,12 @@ import {
18
18
  jitCompatCheck,
19
19
  refineSqliteCodecs,
20
20
  sql
21
- } from "./chunk-SFRNX2TI.js";
21
+ } from "./chunk-R5PBSKJL.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/node.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.601.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4fddd50439ae4e4f952967ea26554e7b/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/node.js
27
27
  import { DatabaseSync } from "node:sqlite";
28
28
  var nodeSQLiteCodecs = refineSqliteCodecs({
29
29
  "integer:boolean": { normalize: booleanFromInteger },
@@ -3,18 +3,18 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  loadVectorExtension,
5
5
  vectorExtension
6
- } from "./chunk-WII44RXN.js";
6
+ } from "./chunk-NGYD6QTE.js";
7
7
  import {
8
8
  TIME_LIMIT_FUNCTION,
9
9
  beforeTimeLimit
10
- } from "./chunk-MBDK4YXG.js";
11
- import "./chunk-IRV2PCQ2.js";
10
+ } from "./chunk-7FBFJ6B4.js";
11
+ import "./chunk-EYYOKT23.js";
12
12
  import "./chunk-Y5E2WNWB.js";
13
13
  import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/store/drivers/node-sqlite.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.601.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4fddd50439ae4e4f952967ea26554e7b/node_modules/@wirecat/cli-core/dist/store/drivers/node-sqlite.js
18
18
  import { DatabaseSync } from "node:sqlite";
19
19
  var openWithNodeSqlite = /* @__PURE__ */ __name(async (path) => cacheOverNodeSqlite(await nodeClient(path)), "openWithNodeSqlite");
20
20
  var nodeClient = /* @__PURE__ */ __name(async (path, { readOnly = false } = {}) => {
@@ -3,12 +3,12 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  ownerLogin,
5
5
  revokeAll
6
- } from "./chunk-HGL63O5V.js";
6
+ } from "./chunk-B6LPJYPQ.js";
7
7
  import "./chunk-5D4AEUVA.js";
8
- import "./chunk-OTD2ZRXD.js";
9
- import "./chunk-N6FLBXZS.js";
10
- import "./chunk-XJXONOB5.js";
11
- import "./chunk-IRV2PCQ2.js";
8
+ import "./chunk-RS2BARUU.js";
9
+ import "./chunk-IGCLMEMB.js";
10
+ import "./chunk-DVFYRQGE.js";
11
+ import "./chunk-EYYOKT23.js";
12
12
  import "./chunk-Y5E2WNWB.js";
13
13
  import "./chunk-ZVVMGPBJ.js";
14
14
  export {
@@ -6,9 +6,9 @@ import {
6
6
  openCache,
7
7
  openFile,
8
8
  storeCapable
9
- } from "./chunk-D5S6QV6R.js";
10
- import "./chunk-MBDK4YXG.js";
11
- import "./chunk-IRV2PCQ2.js";
9
+ } from "./chunk-2I4KWS3H.js";
10
+ import "./chunk-7FBFJ6B4.js";
11
+ import "./chunk-EYYOKT23.js";
12
12
  import "./chunk-Y5E2WNWB.js";
13
13
  import "./chunk-ZVVMGPBJ.js";
14
14
  export {
@@ -1,39 +1,39 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
- import {
4
- providerWaitMs
5
- } from "./chunk-QC53QBNC.js";
6
3
  import {
7
4
  SAMPLE_RATE,
8
5
  toModelRate
9
- } from "./chunk-6WY72XVQ.js";
10
- import "./chunk-ZDQQCXFG.js";
6
+ } from "./chunk-4D3K6GZW.js";
7
+ import {
8
+ providerWaitMs
9
+ } from "./chunk-LFXDHLFR.js";
10
+ import "./chunk-6YJTNZ7U.js";
11
11
  import {
12
12
  OPENAI_URL
13
- } from "./chunk-QGMDQ2PM.js";
14
- import "./chunk-2SNUMZ7S.js";
13
+ } from "./chunk-LM4OOBAW.js";
14
+ import "./chunk-ZKINZFIT.js";
15
15
  import {
16
16
  OPENAI_TRANSCRIBE_MODEL,
17
17
  VAD,
18
18
  filesPresent,
19
19
  modelsDirectory,
20
20
  vadPath
21
- } from "./chunk-SGRYYE4X.js";
22
- import "./chunk-DTXERR44.js";
21
+ } from "./chunk-QNOXAQ6Y.js";
22
+ import "./chunk-KFSMY7SZ.js";
23
23
  import {
24
24
  CliError,
25
25
  DEFAULT_RETRY,
26
26
  backoffMs
27
- } from "./chunk-IRV2PCQ2.js";
27
+ } from "./chunk-EYYOKT23.js";
28
28
  import "./chunk-Y5E2WNWB.js";
29
29
  import {
30
30
  __name
31
31
  } from "./chunk-ZVVMGPBJ.js";
32
32
 
33
- // node_modules/.pnpm/@wirecat+cli-core@0.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/speech/openai.js
33
+ // node_modules/.pnpm/@wirecat+cli-core@0.601.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4fddd50439ae4e4f952967ea26554e7b/node_modules/@wirecat/cli-core/dist/speech/openai.js
34
34
  import { setTimeout as wait } from "node:timers/promises";
35
35
 
36
- // node_modules/.pnpm/@wirecat+cli-core@0.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/speech/wav.js
36
+ // node_modules/.pnpm/@wirecat+cli-core@0.601.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4fddd50439ae4e4f952967ea26554e7b/node_modules/@wirecat/cli-core/dist/speech/wav.js
37
37
  var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
38
38
  const bytes = Buffer.alloc(44 + samples.length * 2);
39
39
  bytes.write("RIFF", 0, "ascii");
@@ -54,7 +54,7 @@ var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
54
54
  return new Uint8Array(bytes.buffer, bytes.byteOffset, bytes.length);
55
55
  }, "encodeWav");
56
56
 
57
- // node_modules/.pnpm/@wirecat+cli-core@0.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/speech/openai.js
57
+ // node_modules/.pnpm/@wirecat+cli-core@0.601.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4fddd50439ae4e4f952967ea26554e7b/node_modules/@wirecat/cli-core/dist/speech/openai.js
58
58
  var LONGEST_REQUEST_SECONDS = 600;
59
59
  var JOINED_SECONDS = 0.2;
60
60
  var PAD_SECONDS = 0.2;
@@ -176,7 +176,7 @@ var piecesOf = /* @__PURE__ */ __name((spans, limit) => {
176
176
  return pieces;
177
177
  }, "piecesOf");
178
178
  var openCutter = /* @__PURE__ */ __name(async (vadModel) => {
179
- const { openSpeechCutter } = await import("./recognize-6KGHNZC3.js");
179
+ const { openSpeechCutter } = await import("./recognize-NPDPQ6PJ.js");
180
180
  return openSpeechCutter(vadModel);
181
181
  }, "openCutter");
182
182
  var checkKeywords = /* @__PURE__ */ __name((keywords = []) => {
@@ -5,7 +5,7 @@ import {
5
5
  __name
6
6
  } from "./chunk-ZVVMGPBJ.js";
7
7
 
8
- // node_modules/.pnpm/@wirecat+cli-core@0.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/embeddings/process.js
8
+ // node_modules/.pnpm/@wirecat+cli-core@0.601.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4fddd50439ae4e4f952967ea26554e7b/node_modules/@wirecat/cli-core/dist/embeddings/process.js
9
9
  import { spawn } from "node:child_process";
10
10
  import { createInterface } from "node:readline";
11
11
  import { fileURLToPath } from "node:url";