@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
@@ -2,9 +2,9 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  readSecret
5
- } from "./chunk-ZIAQPTUS.js";
6
- import "./chunk-EXOOKUEA.js";
7
- import "./chunk-IRV2PCQ2.js";
5
+ } from "./chunk-42F7Q7V6.js";
6
+ import "./chunk-Q6VQHTRW.js";
7
+ import "./chunk-EYYOKT23.js";
8
8
  import "./chunk-Y5E2WNWB.js";
9
9
  import "./chunk-ZVVMGPBJ.js";
10
10
  export {
@@ -8,8 +8,8 @@ import {
8
8
  openRecognizer,
9
9
  openSpeechCutter,
10
10
  toModelRate
11
- } from "./chunk-6WY72XVQ.js";
12
- import "./chunk-IRV2PCQ2.js";
11
+ } from "./chunk-4D3K6GZW.js";
12
+ import "./chunk-EYYOKT23.js";
13
13
  import "./chunk-Y5E2WNWB.js";
14
14
  import "./chunk-ZVVMGPBJ.js";
15
15
  export {
@@ -8,11 +8,11 @@ import {
8
8
  openRemote,
9
9
  remoteKey,
10
10
  remoteModel
11
- } from "./chunk-QGMDQ2PM.js";
12
- import "./chunk-2SNUMZ7S.js";
13
- import "./chunk-SGRYYE4X.js";
14
- import "./chunk-DTXERR44.js";
15
- import "./chunk-IRV2PCQ2.js";
11
+ } from "./chunk-LM4OOBAW.js";
12
+ import "./chunk-ZKINZFIT.js";
13
+ import "./chunk-QNOXAQ6Y.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 {
@@ -4,16 +4,16 @@ import {
4
4
  defaultThreads,
5
5
  loadModel,
6
6
  truncated
7
- } from "./chunk-2SNUMZ7S.js";
8
- import "./chunk-SGRYYE4X.js";
9
- import "./chunk-DTXERR44.js";
10
- import "./chunk-IRV2PCQ2.js";
7
+ } from "./chunk-ZKINZFIT.js";
8
+ import "./chunk-QNOXAQ6Y.js";
9
+ import "./chunk-KFSMY7SZ.js";
10
+ import "./chunk-EYYOKT23.js";
11
11
  import "./chunk-Y5E2WNWB.js";
12
12
  import {
13
13
  __name
14
14
  } from "./chunk-ZVVMGPBJ.js";
15
15
 
16
- // 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/rerank.js
16
+ // 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/rerank.js
17
17
  var openReranker = /* @__PURE__ */ __name(async (model, directory, { threads = defaultThreads() } = {}) => {
18
18
  const { ort, tokenizer, session } = await loadModel(model, directory, threads);
19
19
  const typeIds = session.inputNames.includes("token_type_ids");
@@ -2,10 +2,10 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  listen
5
- } from "./chunk-P33NDCDI.js";
5
+ } from "./chunk-6MGWIZG4.js";
6
6
  import {
7
7
  ownerLogin
8
- } from "./chunk-HGL63O5V.js";
8
+ } from "./chunk-B6LPJYPQ.js";
9
9
  import {
10
10
  WebStandardStreamableHTTPServerTransport,
11
11
  createMcpHandler,
@@ -20,15 +20,18 @@ import {
20
20
  calledTools,
21
21
  httpActivityFile,
22
22
  httpLock
23
- } from "./chunk-OTD2ZRXD.js";
23
+ } from "./chunk-RS2BARUU.js";
24
+ import "./chunk-IGCLMEMB.js";
25
+ import "./chunk-DVFYRQGE.js";
24
26
  import {
25
27
  CliError
26
- } from "./chunk-IRV2PCQ2.js";
28
+ } from "./chunk-EYYOKT23.js";
29
+ import "./chunk-Y5E2WNWB.js";
27
30
  import {
28
31
  __name
29
32
  } from "./chunk-ZVVMGPBJ.js";
30
33
 
31
- // 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/http/serve.js
34
+ // 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/http/serve.js
32
35
  import { randomUUID } from "node:crypto";
33
36
  var MCP_PATH = "/mcp";
34
37
  var AS_METADATA = "/.well-known/oauth-authorization-server";
@@ -187,7 +190,6 @@ var serveOverHttp = /* @__PURE__ */ __name(async (build, options) => {
187
190
  }, "close")
188
191
  };
189
192
  }, "serveOverHttp");
190
-
191
193
  export {
192
194
  MCP_PATH,
193
195
  serveOverHttp
@@ -0,0 +1,68 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ PER_RUN,
5
+ createServer,
6
+ envelope,
7
+ serveOverHttpUntilStopped,
8
+ serveOverStdio
9
+ } from "./chunk-ZZEHDIEG.js";
10
+ import "./chunk-UCHMQWON.js";
11
+ import "./chunk-ZSQXSIFQ.js";
12
+ import "./chunk-YDZHO4LT.js";
13
+ import "./chunk-PBIBGIZ7.js";
14
+ import "./chunk-IERYD2N2.js";
15
+ import "./chunk-5D4AEUVA.js";
16
+ import "./chunk-VMVAQHDC.js";
17
+ import "./chunk-VMJS7FJZ.js";
18
+ import "./chunk-6YJTNZ7U.js";
19
+ import "./chunk-GUUZQ7NE.js";
20
+ import "./chunk-6A4UPWDC.js";
21
+ import "./chunk-WWMCJFMT.js";
22
+ import "./chunk-KUY7LII2.js";
23
+ import "./chunk-J7WCSZ2Q.js";
24
+ import "./chunk-G5MW6RCM.js";
25
+ import "./chunk-NO6QOPVT.js";
26
+ import "./chunk-5D4MJQ6X.js";
27
+ import "./chunk-K4QM3X5F.js";
28
+ import "./chunk-XTA5TN3H.js";
29
+ import "./chunk-LGLT4JB6.js";
30
+ import "./chunk-RS2BARUU.js";
31
+ import "./chunk-IGCLMEMB.js";
32
+ import "./chunk-DVFYRQGE.js";
33
+ import "./chunk-DVSIBZ3G.js";
34
+ import "./chunk-LM4OOBAW.js";
35
+ import "./chunk-ZKINZFIT.js";
36
+ import "./chunk-QNOXAQ6Y.js";
37
+ import "./chunk-BYZQBE63.js";
38
+ import "./chunk-OE3NFB53.js";
39
+ import "./chunk-H6RIPOOI.js";
40
+ import "./chunk-U22JMKUO.js";
41
+ import "./chunk-EYTGCM44.js";
42
+ import "./chunk-36PO5NWY.js";
43
+ import "./chunk-OUMFNB34.js";
44
+ import "./chunk-Q6VQHTRW.js";
45
+ import "./chunk-HGFNC4CR.js";
46
+ import "./chunk-A5IMMGYU.js";
47
+ import "./chunk-GLTKRLFT.js";
48
+ import "./chunk-QHBCNVUG.js";
49
+ import "./chunk-KFSMY7SZ.js";
50
+ import "./chunk-EJEIXC6Y.js";
51
+ import "./chunk-R5F2O5GX.js";
52
+ import "./chunk-5JOPERVF.js";
53
+ import "./chunk-P2RQTNVJ.js";
54
+ import "./chunk-KPEDH5T4.js";
55
+ import "./chunk-ZQ3GWKDQ.js";
56
+ import "./chunk-2I4KWS3H.js";
57
+ import "./chunk-7FBFJ6B4.js";
58
+ import "./chunk-EYYOKT23.js";
59
+ import "./chunk-Y5E2WNWB.js";
60
+ import "./chunk-R5PBSKJL.js";
61
+ import "./chunk-ZVVMGPBJ.js";
62
+ export {
63
+ PER_RUN,
64
+ createServer,
65
+ envelope,
66
+ serveOverHttpUntilStopped,
67
+ serveOverStdio
68
+ };
@@ -2,45 +2,82 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  botInstructions
5
- } from "./chunk-45AKJVKV.js";
5
+ } from "./chunk-ASEHTBNK.js";
6
6
  import {
7
7
  answered,
8
8
  normal,
9
9
  registerCommands,
10
10
  runCommandForAgent,
11
11
  toolsFromCommands
12
- } from "./chunk-QMPN6WKD.js";
12
+ } from "./chunk-UCHMQWON.js";
13
13
  import {
14
14
  agentJson,
15
15
  skillResource
16
- } from "./chunk-WKRQ44EH.js";
16
+ } from "./chunk-YDZHO4LT.js";
17
17
  import {
18
18
  callerOf,
19
19
  serveStdio
20
- } from "./chunk-7GRZAKBB.js";
20
+ } from "./chunk-IERYD2N2.js";
21
+ import {
22
+ McpServer
23
+ } from "./chunk-5D4AEUVA.js";
21
24
  import {
22
25
  wholeList
23
- } from "./chunk-POC3V3AO.js";
26
+ } from "./chunk-VMJS7FJZ.js";
27
+ import "./chunk-6YJTNZ7U.js";
28
+ import "./chunk-6A4UPWDC.js";
29
+ import "./chunk-WWMCJFMT.js";
24
30
  import {
25
- MESSENGER_CHANGE_REFUSAL,
26
31
  changesMessenger,
27
32
  flatten,
28
- itemOf,
33
+ itemOf
34
+ } from "./chunk-J7WCSZ2Q.js";
35
+ import {
36
+ MESSENGER_CHANGE_REFUSAL,
29
37
  readOnlyLockOf,
30
38
  readOnlyRefusal
31
- } from "./chunk-U5ACMCAQ.js";
32
- import {
33
- McpServer
34
- } from "./chunk-5D4AEUVA.js";
39
+ } from "./chunk-G5MW6RCM.js";
40
+ import "./chunk-NO6QOPVT.js";
41
+ import "./chunk-5D4MJQ6X.js";
42
+ import "./chunk-K4QM3X5F.js";
43
+ import "./chunk-XTA5TN3H.js";
44
+ import "./chunk-LGLT4JB6.js";
45
+ import "./chunk-DVFYRQGE.js";
46
+ import "./chunk-LM4OOBAW.js";
47
+ import "./chunk-ZKINZFIT.js";
48
+ import "./chunk-QNOXAQ6Y.js";
49
+ import "./chunk-BYZQBE63.js";
50
+ import "./chunk-OE3NFB53.js";
51
+ import "./chunk-H6RIPOOI.js";
52
+ import "./chunk-U22JMKUO.js";
53
+ import "./chunk-EYTGCM44.js";
54
+ import "./chunk-36PO5NWY.js";
55
+ import "./chunk-OUMFNB34.js";
56
+ import "./chunk-Q6VQHTRW.js";
57
+ import "./chunk-HGFNC4CR.js";
58
+ import "./chunk-A5IMMGYU.js";
59
+ import "./chunk-GLTKRLFT.js";
60
+ import "./chunk-QHBCNVUG.js";
61
+ import "./chunk-KFSMY7SZ.js";
62
+ import "./chunk-EJEIXC6Y.js";
63
+ import "./chunk-R5F2O5GX.js";
64
+ import "./chunk-5JOPERVF.js";
65
+ import "./chunk-P2RQTNVJ.js";
66
+ import "./chunk-KPEDH5T4.js";
67
+ import "./chunk-ZQ3GWKDQ.js";
68
+ import "./chunk-2I4KWS3H.js";
69
+ import "./chunk-7FBFJ6B4.js";
35
70
  import {
36
71
  mcpErrorResult,
37
72
  object
38
- } from "./chunk-IRV2PCQ2.js";
73
+ } from "./chunk-EYYOKT23.js";
74
+ import "./chunk-Y5E2WNWB.js";
75
+ import "./chunk-R5PBSKJL.js";
39
76
  import {
40
77
  __name
41
78
  } from "./chunk-ZVVMGPBJ.js";
42
79
 
43
- // 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/bot/server.js
80
+ // 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/bot/server.js
44
81
  import { randomUUID } from "node:crypto";
45
82
  var body = /* @__PURE__ */ __name((command, value) => Array.isArray(value) ? wholeList(`bot ${command}`, value) : value !== null && typeof value === "object" && ("item" in value || "items" in value) ? value : itemOf(value !== null && typeof value === "object" ? value : { value }), "body");
46
83
  var createBotServer = /* @__PURE__ */ __name((options) => {
@@ -151,7 +188,6 @@ var serveBotOverStdio = /* @__PURE__ */ __name(async (options, note) => {
151
188
  });
152
189
  await handle.close();
153
190
  }, "serveBotOverStdio");
154
-
155
191
  export {
156
192
  createBotServer,
157
193
  serveBotOverStdio
@@ -0,0 +1,237 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ LEAD,
5
+ LEAD_PIPELINE
6
+ } from "./chunk-7VCMOTQP.js";
7
+ import {
8
+ ORGANIZATION,
9
+ PERSON,
10
+ loadFields,
11
+ metadataOf
12
+ } from "./chunk-M74BSKMA.js";
13
+ import {
14
+ amountOf,
15
+ contacts,
16
+ customFields,
17
+ epoch,
18
+ fullName,
19
+ id,
20
+ ids,
21
+ number,
22
+ outcomeOf,
23
+ portalTime,
24
+ text
25
+ } from "./chunk-O6XC7DZI.js";
26
+ import "./chunk-GUUZQ7NE.js";
27
+ import "./chunk-6A4UPWDC.js";
28
+ import "./chunk-G5MW6RCM.js";
29
+ import "./chunk-5D4MJQ6X.js";
30
+ import "./chunk-TG3DSPT5.js";
31
+ import "./chunk-EYTGCM44.js";
32
+ import "./chunk-OUMFNB34.js";
33
+ import "./chunk-R5F2O5GX.js";
34
+ import "./chunk-P2RQTNVJ.js";
35
+ import "./chunk-ZQ3GWKDQ.js";
36
+ import {
37
+ CliError,
38
+ isCliError
39
+ } from "./chunk-EYYOKT23.js";
40
+ import "./chunk-Y5E2WNWB.js";
41
+ import {
42
+ __name
43
+ } from "./chunk-ZVVMGPBJ.js";
44
+
45
+ // dist/crm/deal.js
46
+ var fromBitrixDeal = /* @__PURE__ */ __name((raw, metadata) => ({
47
+ externalId: id(raw.id) ?? "",
48
+ title: text(raw.title) ?? "",
49
+ pipeline: text(raw.categoryId) ?? "0",
50
+ stage: text(raw.stageId) ?? "",
51
+ ...amountOf(raw.opportunity, raw.currencyId),
52
+ closeDate: text(raw.closeTime)?.slice(0, 10) ?? null,
53
+ organization: id(raw.companyId),
54
+ people: ids(raw.contactsId).map((externalId) => ({ externalId, role: "contact" })),
55
+ createdAt: epoch(raw.createdTime),
56
+ updatedAt: epoch(raw.updatedTime),
57
+ url: text(raw.url),
58
+ assignee: id(raw.assignedById),
59
+ ...metadata ? { metadata } : {}
60
+ }), "fromBitrixDeal");
61
+ var DEAL = {
62
+ type: "deal",
63
+ entityTypeId: 2,
64
+ word: "deal",
65
+ select: [
66
+ "id",
67
+ "title",
68
+ "categoryId",
69
+ "stageId",
70
+ "opportunity",
71
+ "currencyId",
72
+ "companyId",
73
+ "contactsId",
74
+ "closeTime",
75
+ "createdTime",
76
+ "updatedTime",
77
+ "url",
78
+ "assignedById"
79
+ ],
80
+ words: ["title"],
81
+ nameOf: /* @__PURE__ */ __name((deal) => deal.title, "nameOf"),
82
+ map: fromBitrixDeal
83
+ };
84
+
85
+ // dist/crm/pipelines.js
86
+ var directoryOf = /* @__PURE__ */ __name((pipeline) => pipeline === "0" ? "DEAL_STAGE" : `DEAL_STAGE_${pipeline}`, "directoryOf");
87
+ var stagesOf = /* @__PURE__ */ __name(async (portal, directory) => {
88
+ const rows = [];
89
+ for (let start = 0; ; ) {
90
+ const answer = await portal.call("crm.status.list", {
91
+ filter: { ENTITY_ID: directory },
92
+ order: { SORT: "ASC" },
93
+ start
94
+ });
95
+ if (Array.isArray(answer.result))
96
+ for (const row of answer.result)
97
+ rows.push(row);
98
+ if (answer.next === void 0 || answer.next <= start)
99
+ break;
100
+ start = answer.next;
101
+ }
102
+ return rows.flatMap((raw) => {
103
+ const externalId = text(raw.STATUS_ID);
104
+ if (externalId === null)
105
+ return [];
106
+ const extra = raw.EXTRA ?? {};
107
+ return [
108
+ {
109
+ externalId,
110
+ name: text(raw.NAME) ?? externalId,
111
+ position: number(raw.SORT) ?? 0,
112
+ outcome: outcomeOf(raw.SEMANTICS ?? extra.SEMANTICS)
113
+ }
114
+ ];
115
+ });
116
+ }, "stagesOf");
117
+ var bitrixPipelines = /* @__PURE__ */ __name(async (portal, kind) => {
118
+ if (kind === "lead")
119
+ return [{ ...LEAD_PIPELINE, stages: await stagesOf(portal, "STATUS") }];
120
+ const answer = await portal.call("crm.category.list", { entityTypeId: 2 });
121
+ const categories = answer.result?.categories;
122
+ const pipelines = [];
123
+ for (const raw of Array.isArray(categories) ? categories : []) {
124
+ const externalId = text(raw.id) ?? "0";
125
+ pipelines.push({
126
+ externalId,
127
+ name: text(raw.name) ?? `Pipeline ${externalId}`,
128
+ stages: await stagesOf(portal, directoryOf(externalId))
129
+ });
130
+ }
131
+ return pipelines;
132
+ }, "bitrixPipelines");
133
+
134
+ // dist/crm/source.js
135
+ var OVERLAP_MS = 10 * 6e4;
136
+ var PAGE = 500;
137
+ var TYPES = {
138
+ deal: DEAL,
139
+ lead: LEAD,
140
+ person: PERSON,
141
+ organization: ORGANIZATION
142
+ };
143
+ var toPerson = /* @__PURE__ */ __name((raw) => ({
144
+ externalId: id(raw.id) ?? "",
145
+ name: fullName(raw.name, raw.secondName, raw.lastName),
146
+ email: contacts(raw.email)[0]?.value ?? null,
147
+ phone: contacts(raw.phone)[0]?.value ?? null
148
+ }), "toPerson");
149
+ var toOrganization = /* @__PURE__ */ __name((raw, metadata) => ({
150
+ externalId: id(raw.id) ?? "",
151
+ name: text(raw.title) ?? "",
152
+ url: text(raw.url),
153
+ ...metadata ? { metadata } : {}
154
+ }), "toOrganization");
155
+ var rowsOf = /* @__PURE__ */ __name((result) => {
156
+ const items = result?.items;
157
+ return Array.isArray(items) ? items : [];
158
+ }, "rowsOf");
159
+ var pageOf = /* @__PURE__ */ __name((page, now) => {
160
+ const [after, started] = (page ?? "").split("@");
161
+ return { after: Number(after) || 0, started: Number(started) || now };
162
+ }, "pageOf");
163
+ var bitrixCrmSource = /* @__PURE__ */ __name((portal, now = Date.now) => {
164
+ const loaded = /* @__PURE__ */ new Map();
165
+ const fields = /* @__PURE__ */ __name((kind) => {
166
+ let found = loaded.get(kind);
167
+ if (!found) {
168
+ found = loadFields(portal(), TYPES[kind].type).catch((error) => {
169
+ if (isCliError(error) && error.code === "permission_error")
170
+ return [];
171
+ throw error;
172
+ });
173
+ loaded.set(kind, found);
174
+ }
175
+ return found;
176
+ }, "fields");
177
+ const custom = /* @__PURE__ */ __name(async (kind) => kind === "person" ? [] : await fields(kind), "custom");
178
+ const mapped = /* @__PURE__ */ __name((kind, raw, defined) => {
179
+ const values = customFields(raw);
180
+ const metadata = Object.keys(values).length ? metadataOf(values, defined) : void 0;
181
+ if (kind === "person")
182
+ return toPerson(raw);
183
+ if (kind === "organization")
184
+ return toOrganization(raw, metadata);
185
+ return TYPES[kind].map(raw, metadata);
186
+ }, "mapped");
187
+ const list = /* @__PURE__ */ __name((kind, select, filter) => portal().call(`crm.${TYPES[kind].type}.list`, {
188
+ select,
189
+ filter,
190
+ order: { id: "ASC" },
191
+ pagination: { limit: PAGE, offset: 0 }
192
+ }), "list");
193
+ return {
194
+ provider: "bitrix24",
195
+ traits: { kinds: ["organization", "person", "deal", "lead"], removedInChanges: false },
196
+ pipelines: /* @__PURE__ */ __name((kind) => bitrixPipelines(portal(), kind), "pipelines"),
197
+ async changes(kind, cursor, page) {
198
+ const since = cursor === null ? null : Date.parse(cursor);
199
+ if (since !== null && Number.isNaN(since))
200
+ return { reset: true };
201
+ const { after, started } = pageOf(page, now());
202
+ const defined = await custom(kind);
203
+ const filter = [
204
+ ...after ? [["id", ">", after]] : [],
205
+ ...since === null ? [] : [["updatedTime", ">=", portalTime(since - OVERLAP_MS)]]
206
+ ];
207
+ const rows = rowsOf((await list(kind, [...TYPES[kind].select, ...defined.map(({ code }) => code)], filter)).result);
208
+ const items = rows.map((raw) => mapped(kind, raw, defined));
209
+ const last = id(rows.at(-1)?.id);
210
+ if (last !== null)
211
+ return { items, nextPage: `${last}@${started}` };
212
+ return { items, cursor: new Date(started).toISOString() };
213
+ },
214
+ async ids(kind, page) {
215
+ const after = Number(page) || 0;
216
+ const rows = rowsOf((await list(kind, ["id"], after ? [["id", ">", after]] : [])).result);
217
+ const ids2 = rows.map((raw) => id(raw.id)).filter((one) => one !== null);
218
+ const last = ids2.at(-1);
219
+ return last === void 0 ? { ids: ids2 } : { ids: ids2, nextPage: last };
220
+ },
221
+ async item(kind, externalId) {
222
+ const defined = await custom(kind);
223
+ const answer = await portal().call(`crm.${TYPES[kind].type}.get`, {
224
+ id: Number(externalId),
225
+ select: [...TYPES[kind].select, ...defined.map(({ code }) => code)]
226
+ });
227
+ const raw = answer.result?.item;
228
+ if (!raw)
229
+ throw new CliError("not_found", `the portal has no ${kind} ${externalId}`);
230
+ return mapped(kind, raw, defined);
231
+ },
232
+ fields
233
+ };
234
+ }, "bitrixCrmSource");
235
+ export {
236
+ bitrixCrmSource
237
+ };
@@ -0,0 +1,17 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ ensureSqlite,
5
+ nodeRuntime,
6
+ relay
7
+ } from "./chunk-U66Q5TVK.js";
8
+ import "./chunk-2I4KWS3H.js";
9
+ import "./chunk-7FBFJ6B4.js";
10
+ import "./chunk-EYYOKT23.js";
11
+ import "./chunk-Y5E2WNWB.js";
12
+ import "./chunk-ZVVMGPBJ.js";
13
+ export {
14
+ ensureSqlite,
15
+ nodeRuntime,
16
+ relay
17
+ };
@@ -12,10 +12,10 @@ import {
12
12
  readHttpLock,
13
13
  readStored,
14
14
  signedInClients
15
- } from "./chunk-OTD2ZRXD.js";
16
- import "./chunk-N6FLBXZS.js";
17
- import "./chunk-XJXONOB5.js";
18
- import "./chunk-IRV2PCQ2.js";
15
+ } from "./chunk-RS2BARUU.js";
16
+ import "./chunk-IGCLMEMB.js";
17
+ import "./chunk-DVFYRQGE.js";
18
+ import "./chunk-EYYOKT23.js";
19
19
  import "./chunk-Y5E2WNWB.js";
20
20
  import "./chunk-ZVVMGPBJ.js";
21
21
  export {
@@ -0,0 +1,58 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ IDENTITY
5
+ } from "./chunk-JZYHQ4HB.js";
6
+ import "./chunk-TG3DSPT5.js";
7
+ import "./chunk-H6RIPOOI.js";
8
+ import "./chunk-FCWPIWSR.js";
9
+ import "./chunk-U22JMKUO.js";
10
+ import "./chunk-EYTGCM44.js";
11
+ import "./chunk-INFYLWUA.js";
12
+ import "./chunk-36PO5NWY.js";
13
+ import "./chunk-OUMFNB34.js";
14
+ import "./chunk-42F7Q7V6.js";
15
+ import "./chunk-Q6VQHTRW.js";
16
+ import "./chunk-EJEIXC6Y.js";
17
+ import "./chunk-R5F2O5GX.js";
18
+ import "./chunk-5JOPERVF.js";
19
+ import "./chunk-P2RQTNVJ.js";
20
+ import "./chunk-KPEDH5T4.js";
21
+ import "./chunk-ZQ3GWKDQ.js";
22
+ import "./chunk-EYYOKT23.js";
23
+ import "./chunk-Y5E2WNWB.js";
24
+ import {
25
+ __name
26
+ } from "./chunk-ZVVMGPBJ.js";
27
+
28
+ // dist/store.js
29
+ var PROVIDER = {
30
+ name: "bitrix24",
31
+ kind: "crm",
32
+ aliases: ["b24"],
33
+ command: IDENTITY.command
34
+ };
35
+ var openB24Store = /* @__PURE__ */ __name(async (env, { readOnly = false } = {}) => {
36
+ const { ensureSqlite } = await import("./sqlite-runtime-YS4POY3W.js");
37
+ await ensureSqlite();
38
+ const { openStore, storePath } = await import("./store-PBTIB7BD.js");
39
+ const store = await openStore({
40
+ path: storePath(env),
41
+ env,
42
+ command: IDENTITY.command,
43
+ version: IDENTITY.version,
44
+ ...readOnly ? { readOnly } : {}
45
+ });
46
+ try {
47
+ if (!readOnly)
48
+ await store.accounts.registerProvider(PROVIDER);
49
+ return store;
50
+ } catch (error) {
51
+ await store.close();
52
+ throw error;
53
+ }
54
+ }, "openB24Store");
55
+ export {
56
+ PROVIDER,
57
+ openB24Store
58
+ };
@@ -39,6 +39,7 @@ import {
39
39
  resetNoteIndex,
40
40
  resetSearchIndex,
41
41
  resetStems,
42
+ rollBack,
42
43
  rowCounts,
43
44
  saveStorePhoneCountries,
44
45
  savedAgentClose,
@@ -55,19 +56,22 @@ import {
55
56
  threadConversation,
56
57
  titlePart,
57
58
  vectorIndexCounts
58
- } from "./chunk-H2ADPPSH.js";
59
- import "./chunk-P364PLIK.js";
60
- import "./chunk-VEWWAGTD.js";
61
- import "./chunk-TE3FR6MI.js";
62
- import "./chunk-DTXERR44.js";
63
- import "./chunk-QQXH2OPB.js";
64
- import "./chunk-ZGZT5S6B.js";
65
- import "./chunk-LRGYKOCP.js";
66
- import "./chunk-D5S6QV6R.js";
67
- import "./chunk-MBDK4YXG.js";
68
- import "./chunk-IRV2PCQ2.js";
59
+ } from "./chunk-HGFNC4CR.js";
60
+ import "./chunk-A5IMMGYU.js";
61
+ import "./chunk-GLTKRLFT.js";
62
+ import "./chunk-QHBCNVUG.js";
63
+ import "./chunk-KFSMY7SZ.js";
64
+ import "./chunk-EJEIXC6Y.js";
65
+ import "./chunk-R5F2O5GX.js";
66
+ import "./chunk-5JOPERVF.js";
67
+ import "./chunk-P2RQTNVJ.js";
68
+ import "./chunk-KPEDH5T4.js";
69
+ import "./chunk-ZQ3GWKDQ.js";
70
+ import "./chunk-2I4KWS3H.js";
71
+ import "./chunk-7FBFJ6B4.js";
72
+ import "./chunk-EYYOKT23.js";
69
73
  import "./chunk-Y5E2WNWB.js";
70
- import "./chunk-SFRNX2TI.js";
74
+ import "./chunk-R5PBSKJL.js";
71
75
  import "./chunk-ZVVMGPBJ.js";
72
76
  export {
73
77
  AGENDA_COLUMNS,
@@ -108,6 +112,7 @@ export {
108
112
  resetNoteIndex,
109
113
  resetSearchIndex,
110
114
  resetStems,
115
+ rollBack,
111
116
  rowCounts,
112
117
  saveStorePhoneCountries,
113
118
  savedAgentClose,