@wirecat/zoom-cli 0.83.0 → 0.84.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 (481) hide show
  1. package/README.md +10 -10
  2. package/contracts/wirecat.json +34 -1
  3. package/dist/account-removal.d.ts +1 -1
  4. package/dist/account-removal.d.ts.map +1 -1
  5. package/dist/account-removal.js +1 -1
  6. package/dist/account-removal.js.map +1 -1
  7. package/dist/agent-skill.js +1 -1
  8. package/dist/agent-skill.js.map +1 -1
  9. package/dist/answer-entities.d.ts +1 -1
  10. package/dist/answer-entities.d.ts.map +1 -1
  11. package/dist/answer-entities.js +1 -1
  12. package/dist/answer-entities.js.map +1 -1
  13. package/dist/answer-output.d.ts +2 -2
  14. package/dist/answer-output.d.ts.map +1 -1
  15. package/dist/answer-output.js +1 -1
  16. package/dist/answer-output.js.map +1 -1
  17. package/dist/answer-policy.d.ts.map +1 -1
  18. package/dist/answer-policy.js +1 -2
  19. package/dist/answer-policy.js.map +1 -1
  20. package/dist/answers.js +1 -1
  21. package/dist/answers.js.map +1 -1
  22. package/dist/api.d.ts +2 -2
  23. package/dist/api.d.ts.map +1 -1
  24. package/dist/api.js +1 -1
  25. package/dist/api.js.map +1 -1
  26. package/dist/archive-commands.d.ts +1 -1
  27. package/dist/archive-commands.d.ts.map +1 -1
  28. package/dist/archive-commands.js +1 -2
  29. package/dist/archive-commands.js.map +1 -1
  30. package/dist/archive-import.d.ts +1 -1
  31. package/dist/archive-import.d.ts.map +1 -1
  32. package/dist/archive-import.js +1 -1
  33. package/dist/archive-import.js.map +1 -1
  34. package/dist/archive-transcripts.d.ts +1 -1
  35. package/dist/archive-transcripts.d.ts.map +1 -1
  36. package/dist/archive-transcripts.js +1 -2
  37. package/dist/archive-transcripts.js.map +1 -1
  38. package/dist/bin/main.js +3 -3
  39. package/dist/bin/main.js.map +1 -1
  40. package/dist/bin/zm.js +11 -11
  41. package/dist/bundle/answer-policy-OQQWAUHH.js +33 -0
  42. package/dist/bundle/chunk-3YDF76DP.js +922 -0
  43. package/dist/bundle/chunk-AEWYRB6F.js +8 -0
  44. package/dist/bundle/{chunk-OGTN2KVG.js → chunk-AF2Z6VOG.js} +4 -14
  45. package/dist/bundle/{chunk-26TW5RZ6.js → chunk-DAYBU7WR.js} +61 -94
  46. package/dist/bundle/{chunk-2DK5BBFF.js → chunk-JD63PEI3.js} +3 -8
  47. package/dist/bundle/{chunk-H6A4NWYJ.js → chunk-L5ZYKXAY.js} +114 -128
  48. package/dist/bundle/{chunk-R6IA5UQB.js → chunk-W4TDCCT3.js} +8 -2
  49. package/dist/bundle/{chunk-XEOZTA3H.js → chunk-W6YFWJDR.js} +2 -5
  50. package/dist/bundle/{chunk-434YFJAE.js → chunk-WSGD5Q6L.js} +3 -9
  51. package/dist/bundle/config-MP5YLHEY.js +29 -0
  52. package/dist/bundle/{folders-ROKVKSCT.js → folders-B2GKJOC2.js} +2 -7
  53. package/dist/bundle/{main-GCK3VYAA.js → main-YZPLPXB7.js} +19 -41
  54. package/dist/bundle/{output-file-RYIOIXMD.js → output-file-PKA7MJEP.js} +3 -11
  55. package/dist/bundle/{program-OYLVYA4Z.js → program-7JY6XJ6K.js} +642 -801
  56. package/dist/bundle/run-log-ML7ZCWXD.js +54 -0
  57. package/dist/bundle/store-connection-LQGKS3DN.js +21 -0
  58. package/dist/bundle/streaming-PRGWGNHY.js +12 -0
  59. package/dist/bundle/tokens-57RJVBK6.js +18 -0
  60. package/dist/bundle/zm.js +4 -161
  61. package/dist/bundle/{zoom-app-4F4YY4OI.js → zoom-app-EYJST6GF.js} +5 -13
  62. package/dist/chat-file.d.ts +1 -1
  63. package/dist/chat-file.d.ts.map +1 -1
  64. package/dist/commands.js +1 -1
  65. package/dist/commands.js.map +1 -1
  66. package/dist/config-issues.d.ts +1 -1
  67. package/dist/config-issues.d.ts.map +1 -1
  68. package/dist/config-issues.js +1 -1
  69. package/dist/config-issues.js.map +1 -1
  70. package/dist/config.d.ts +1 -2
  71. package/dist/config.d.ts.map +1 -1
  72. package/dist/config.js +1 -2
  73. package/dist/config.js.map +1 -1
  74. package/dist/contacts-commands.d.ts +1 -1
  75. package/dist/contacts-commands.d.ts.map +1 -1
  76. package/dist/contacts-commands.js +1 -1
  77. package/dist/contacts-commands.js.map +1 -1
  78. package/dist/contract-overrides.js +1 -1
  79. package/dist/contract-overrides.js.map +1 -1
  80. package/dist/errors.d.ts +1 -1
  81. package/dist/errors.d.ts.map +1 -1
  82. package/dist/execution.d.ts +1 -1
  83. package/dist/execution.d.ts.map +1 -1
  84. package/dist/execution.js +1 -1
  85. package/dist/execution.js.map +1 -1
  86. package/dist/files.d.ts +2 -2
  87. package/dist/files.d.ts.map +1 -1
  88. package/dist/files.js +1 -1
  89. package/dist/files.js.map +1 -1
  90. package/dist/first-screen.js +1 -1
  91. package/dist/first-screen.js.map +1 -1
  92. package/dist/identity.d.ts +1 -1
  93. package/dist/identity.d.ts.map +1 -1
  94. package/dist/identity.js +6 -0
  95. package/dist/identity.js.map +1 -1
  96. package/dist/ingestion-search-commands.d.ts +1 -1
  97. package/dist/ingestion-search-commands.d.ts.map +1 -1
  98. package/dist/ingestion-search-commands.js +1 -1
  99. package/dist/ingestion-search-commands.js.map +1 -1
  100. package/dist/local-transcription-commands.d.ts +1 -1
  101. package/dist/local-transcription-commands.d.ts.map +1 -1
  102. package/dist/local-transcription-commands.js +1 -2
  103. package/dist/local-transcription-commands.js.map +1 -1
  104. package/dist/local-transcription.d.ts +1 -2
  105. package/dist/local-transcription.d.ts.map +1 -1
  106. package/dist/local-transcription.js +3 -3
  107. package/dist/local-transcription.js.map +1 -1
  108. package/dist/meeting-commands.d.ts +1 -1
  109. package/dist/meeting-commands.d.ts.map +1 -1
  110. package/dist/meeting-commands.js +1 -2
  111. package/dist/meeting-commands.js.map +1 -1
  112. package/dist/meeting-communications-binding.d.ts +1 -2
  113. package/dist/meeting-communications-binding.d.ts.map +1 -1
  114. package/dist/meeting-communications-binding.js.map +1 -1
  115. package/dist/meeting-context-commands.d.ts +1 -1
  116. package/dist/meeting-context-commands.d.ts.map +1 -1
  117. package/dist/meeting-context-commands.js +1 -1
  118. package/dist/meeting-context-commands.js.map +1 -1
  119. package/dist/meeting-context.d.ts +2 -4
  120. package/dist/meeting-context.d.ts.map +1 -1
  121. package/dist/meeting-context.js +1 -1
  122. package/dist/meeting-context.js.map +1 -1
  123. package/dist/meeting-integration-commands.d.ts +1 -1
  124. package/dist/meeting-integration-commands.d.ts.map +1 -1
  125. package/dist/meeting-integration-commands.js +1 -2
  126. package/dist/meeting-integration-commands.js.map +1 -1
  127. package/dist/meeting-integration.d.ts +1 -1
  128. package/dist/meeting-integration.d.ts.map +1 -1
  129. package/dist/meeting-integration.js +1 -1
  130. package/dist/meeting-integration.js.map +1 -1
  131. package/dist/meeting-inventory.d.ts +1 -1
  132. package/dist/meeting-inventory.d.ts.map +1 -1
  133. package/dist/meeting-inventory.js +1 -1
  134. package/dist/meeting-inventory.js.map +1 -1
  135. package/dist/meeting-preparation.d.ts +1 -2
  136. package/dist/meeting-preparation.d.ts.map +1 -1
  137. package/dist/meeting-preparation.js +1 -1
  138. package/dist/meeting-preparation.js.map +1 -1
  139. package/dist/meeting-project-candidates.d.ts +1 -1
  140. package/dist/meeting-project-candidates.d.ts.map +1 -1
  141. package/dist/meeting-project-evidence-commands.d.ts +1 -1
  142. package/dist/meeting-project-evidence-commands.d.ts.map +1 -1
  143. package/dist/meeting-project-evidence-commands.js +1 -2
  144. package/dist/meeting-project-evidence-commands.js.map +1 -1
  145. package/dist/meeting-read-command-bindings.js +1 -1
  146. package/dist/meeting-read-command-bindings.js.map +1 -1
  147. package/dist/meeting-review-commands.d.ts +1 -3
  148. package/dist/meeting-review-commands.d.ts.map +1 -1
  149. package/dist/meeting-review-commands.js +1 -2
  150. package/dist/meeting-review-commands.js.map +1 -1
  151. package/dist/meeting-search-commands.d.ts +2 -3
  152. package/dist/meeting-search-commands.d.ts.map +1 -1
  153. package/dist/meeting-search-commands.js +2 -4
  154. package/dist/meeting-search-commands.js.map +1 -1
  155. package/dist/meeting-searches-commands.d.ts +1 -2
  156. package/dist/meeting-searches-commands.d.ts.map +1 -1
  157. package/dist/meeting-searches-commands.js +1 -2
  158. package/dist/meeting-searches-commands.js.map +1 -1
  159. package/dist/meeting-selection-options.d.ts +1 -1
  160. package/dist/meeting-selection-options.d.ts.map +1 -1
  161. package/dist/meeting-selection-options.js +1 -2
  162. package/dist/meeting-selection-options.js.map +1 -1
  163. package/dist/meeting-semantic-commands.d.ts +1 -2
  164. package/dist/meeting-semantic-commands.d.ts.map +1 -1
  165. package/dist/meeting-semantic-commands.js +1 -1
  166. package/dist/meeting-semantic-commands.js.map +1 -1
  167. package/dist/meeting-semantic.d.ts +2 -2
  168. package/dist/meeting-semantic.d.ts.map +1 -1
  169. package/dist/meeting-semantic.js +1 -1
  170. package/dist/meeting-semantic.js.map +1 -1
  171. package/dist/meeting-source.d.ts +1 -1
  172. package/dist/meeting-source.d.ts.map +1 -1
  173. package/dist/meeting-stats-commands.d.ts +1 -3
  174. package/dist/meeting-stats-commands.d.ts.map +1 -1
  175. package/dist/meeting-stats-commands.js +1 -2
  176. package/dist/meeting-stats-commands.js.map +1 -1
  177. package/dist/models-commands.d.ts +1 -1
  178. package/dist/models-commands.d.ts.map +1 -1
  179. package/dist/models-commands.js +1 -1
  180. package/dist/models-commands.js.map +1 -1
  181. package/dist/occurrence-schedule.d.ts +1 -1
  182. package/dist/occurrence-schedule.d.ts.map +1 -1
  183. package/dist/permissions.d.ts +1 -1
  184. package/dist/permissions.d.ts.map +1 -1
  185. package/dist/permissions.js +1 -2
  186. package/dist/permissions.js.map +1 -1
  187. package/dist/profile.js +1 -1
  188. package/dist/profile.js.map +1 -1
  189. package/dist/program-bindings.js +1 -1
  190. package/dist/program-bindings.js.map +1 -1
  191. package/dist/program.d.ts +1 -2
  192. package/dist/program.d.ts.map +1 -1
  193. package/dist/program.js +1 -1
  194. package/dist/program.js.map +1 -1
  195. package/dist/progress-commands.d.ts +1 -1
  196. package/dist/progress-commands.d.ts.map +1 -1
  197. package/dist/progress-commands.js +1 -2
  198. package/dist/progress-commands.js.map +1 -1
  199. package/dist/read-only.js +1 -1
  200. package/dist/read-only.js.map +1 -1
  201. package/dist/recording-archive.d.ts.map +1 -1
  202. package/dist/recording-archive.js +1 -2
  203. package/dist/recording-archive.js.map +1 -1
  204. package/dist/recording-manifest.js +1 -1
  205. package/dist/recording-manifest.js.map +1 -1
  206. package/dist/recording-partial-store.d.ts +2 -3
  207. package/dist/recording-partial-store.d.ts.map +1 -1
  208. package/dist/recording-partial-store.js +1 -1
  209. package/dist/recording-partial-store.js.map +1 -1
  210. package/dist/recording-promotion-store.d.ts +1 -2
  211. package/dist/recording-promotion-store.d.ts.map +1 -1
  212. package/dist/recording-promotion-store.js +1 -2
  213. package/dist/recording-promotion-store.js.map +1 -1
  214. package/dist/recording-schedule-commands.d.ts +1 -1
  215. package/dist/recording-schedule-commands.d.ts.map +1 -1
  216. package/dist/recording-schedule-commands.js +1 -1
  217. package/dist/recording-schedule-commands.js.map +1 -1
  218. package/dist/recording-schedule-store.js +1 -1
  219. package/dist/recording-schedule-store.js.map +1 -1
  220. package/dist/recording-schedule-systemd.js +1 -1
  221. package/dist/recording-schedule-systemd.js.map +1 -1
  222. package/dist/recording-schedule.d.ts +1 -1
  223. package/dist/recording-schedule.d.ts.map +1 -1
  224. package/dist/recording-schedule.js +1 -1
  225. package/dist/recording-schedule.js.map +1 -1
  226. package/dist/recording-sync-store.d.ts +1 -1
  227. package/dist/recording-sync-store.d.ts.map +1 -1
  228. package/dist/recording-sync-store.js +1 -2
  229. package/dist/recording-sync-store.js.map +1 -1
  230. package/dist/recording-sync.d.ts +1 -1
  231. package/dist/recording-sync.d.ts.map +1 -1
  232. package/dist/recording-sync.js +1 -1
  233. package/dist/recording-sync.js.map +1 -1
  234. package/dist/recording-writer-lease.d.ts +1 -1
  235. package/dist/recording-writer-lease.d.ts.map +1 -1
  236. package/dist/recording-writer-lease.js +1 -1
  237. package/dist/recording-writer-lease.js.map +1 -1
  238. package/dist/recordings.d.ts +1 -1
  239. package/dist/recordings.d.ts.map +1 -1
  240. package/dist/recordings.js.map +1 -1
  241. package/dist/remote-meetings.d.ts +19 -19
  242. package/dist/remote-meetings.d.ts.map +1 -1
  243. package/dist/remote-meetings.js +1 -1
  244. package/dist/remote-meetings.js.map +1 -1
  245. package/dist/request-events.d.ts +1 -1
  246. package/dist/request-events.d.ts.map +1 -1
  247. package/dist/request-events.js +1 -1
  248. package/dist/request-events.js.map +1 -1
  249. package/dist/run-log.d.ts +1 -1
  250. package/dist/run-log.d.ts.map +1 -1
  251. package/dist/run-log.js +1 -1
  252. package/dist/run-log.js.map +1 -1
  253. package/dist/run.d.ts +1 -1
  254. package/dist/run.d.ts.map +1 -1
  255. package/dist/run.js +1 -2
  256. package/dist/run.js.map +1 -1
  257. package/dist/series-inventory.d.ts +2 -2
  258. package/dist/series-inventory.js +1 -1
  259. package/dist/series-inventory.js.map +1 -1
  260. package/dist/setup-commands.d.ts +1 -1
  261. package/dist/setup-commands.d.ts.map +1 -1
  262. package/dist/setup-commands.js +1 -1
  263. package/dist/setup-commands.js.map +1 -1
  264. package/dist/store-commands.d.ts +1 -1
  265. package/dist/store-commands.d.ts.map +1 -1
  266. package/dist/store-commands.js +1 -2
  267. package/dist/store-commands.js.map +1 -1
  268. package/dist/store-connection.d.ts +1 -3
  269. package/dist/store-connection.d.ts.map +1 -1
  270. package/dist/store-connection.js +14 -14
  271. package/dist/store-connection.js.map +1 -1
  272. package/dist/sync-progress.d.ts +4 -4
  273. package/dist/sync-progress.d.ts.map +1 -1
  274. package/dist/sync-progress.js +1 -1
  275. package/dist/sync-progress.js.map +1 -1
  276. package/dist/tokens.d.ts +1 -1
  277. package/dist/tokens.d.ts.map +1 -1
  278. package/dist/tokens.js +1 -1
  279. package/dist/tokens.js.map +1 -1
  280. package/dist/unified-search.d.ts +1 -1
  281. package/dist/unified-search.d.ts.map +1 -1
  282. package/dist/upcoming-meetings.d.ts +2 -2
  283. package/dist/upcoming-meetings.js +1 -1
  284. package/dist/upcoming-meetings.js.map +1 -1
  285. package/dist/upgrade.d.ts.map +1 -1
  286. package/dist/upgrade.js +1 -2
  287. package/dist/upgrade.js.map +1 -1
  288. package/dist/version.d.ts +1 -1
  289. package/dist/version.js +1 -1
  290. package/dist/watch-commands.d.ts +1 -2
  291. package/dist/watch-commands.d.ts.map +1 -1
  292. package/dist/watch-commands.js +1 -2
  293. package/dist/watch-commands.js.map +1 -1
  294. package/dist/watch-service.d.ts +1 -1
  295. package/dist/watch-service.d.ts.map +1 -1
  296. package/dist/watch-service.js +1 -1
  297. package/dist/watch-service.js.map +1 -1
  298. package/dist/zoom-app.d.ts +2 -2
  299. package/dist/zoom-app.d.ts.map +1 -1
  300. package/dist/zoom-app.js +1 -1
  301. package/dist/zoom-app.js.map +1 -1
  302. package/dist/zoom-search-commands.d.ts +1 -1
  303. package/dist/zoom-search-commands.d.ts.map +1 -1
  304. package/dist/zoom-search-commands.js +1 -1
  305. package/dist/zoom-search-commands.js.map +1 -1
  306. package/dist/zoom-session.d.ts +1 -1
  307. package/dist/zoom-session.d.ts.map +1 -1
  308. package/dist/zoom-session.js +1 -1
  309. package/dist/zoom-session.js.map +1 -1
  310. package/package.json +3 -3
  311. package/scenarios/person-in-meetings.md +1 -1
  312. package/skills/zoom-cli/SKILL.md +1 -1
  313. package/skills/zoom-cli/references/people-and-projects.md +5 -5
  314. package/skills/zoom-cli/references/prepare.md +2 -2
  315. package/dist/bundle/agent-3HDWEZ5M.js +0 -47
  316. package/dist/bundle/all-profiles-RY2OMSDL.js +0 -321
  317. package/dist/bundle/answer-policy-IFVXPPGW.js +0 -131
  318. package/dist/bundle/anthropic-36VPSF7B.js +0 -91
  319. package/dist/bundle/app-server-ZVJVUGB7.js +0 -267
  320. package/dist/bundle/bun-F4M4KCNA.js +0 -169
  321. package/dist/bundle/bun-sqlite-IOPYIUA7.js +0 -76
  322. package/dist/bundle/chunk-2IBKKVVZ.js +0 -335
  323. package/dist/bundle/chunk-2S54TM4N.js +0 -230
  324. package/dist/bundle/chunk-3AQHKXVR.js +0 -161
  325. package/dist/bundle/chunk-3CW2C7ZA.js +0 -217
  326. package/dist/bundle/chunk-3KUEZK5Z.js +0 -73
  327. package/dist/bundle/chunk-3PXUQFHX.js +0 -2333
  328. package/dist/bundle/chunk-3QN5KDFZ.js +0 -3012
  329. package/dist/bundle/chunk-575JMTDR.js +0 -562
  330. package/dist/bundle/chunk-5B2LV4MS.js +0 -26
  331. package/dist/bundle/chunk-5WL5RHOO.js +0 -167
  332. package/dist/bundle/chunk-6C7ESL5N.js +0 -295
  333. package/dist/bundle/chunk-6E4KLYNP.js +0 -229
  334. package/dist/bundle/chunk-7JDXR75Q.js +0 -465
  335. package/dist/bundle/chunk-AK3H2C65.js +0 -1349
  336. package/dist/bundle/chunk-AQ5RIOUE.js +0 -633
  337. package/dist/bundle/chunk-AQLUAQXJ.js +0 -1259
  338. package/dist/bundle/chunk-ASTLGFTR.js +0 -12270
  339. package/dist/bundle/chunk-ATHBB7OU.js +0 -106
  340. package/dist/bundle/chunk-B2NM65RD.js +0 -80
  341. package/dist/bundle/chunk-B4KHDXJE.js +0 -64
  342. package/dist/bundle/chunk-BAFC7WNI.js +0 -276
  343. package/dist/bundle/chunk-BBGJQMRI.js +0 -34
  344. package/dist/bundle/chunk-BTLZYRIW.js +0 -1007
  345. package/dist/bundle/chunk-BZDS2X6Y.js +0 -5150
  346. package/dist/bundle/chunk-C7JPYWYQ.js +0 -77
  347. package/dist/bundle/chunk-CDQUW25G.js +0 -3752
  348. package/dist/bundle/chunk-CJWGJBHW.js +0 -1044
  349. package/dist/bundle/chunk-D72URWJE.js +0 -532
  350. package/dist/bundle/chunk-D7RCUODT.js +0 -185
  351. package/dist/bundle/chunk-DFDN6AUB.js +0 -21
  352. package/dist/bundle/chunk-DNCLQPOM.js +0 -7
  353. package/dist/bundle/chunk-DQJECJUE.js +0 -2257
  354. package/dist/bundle/chunk-E4JQ3MCW.js +0 -2338
  355. package/dist/bundle/chunk-E4ODYLEK.js +0 -209
  356. package/dist/bundle/chunk-EE45N67Q.js +0 -86
  357. package/dist/bundle/chunk-EEEU4MKK.js +0 -210
  358. package/dist/bundle/chunk-ESN3W2MZ.js +0 -2624
  359. package/dist/bundle/chunk-ETIZGA4P.js +0 -340
  360. package/dist/bundle/chunk-F44QK6CK.js +0 -52
  361. package/dist/bundle/chunk-FH2UFNH6.js +0 -54
  362. package/dist/bundle/chunk-FTH6WGYO.js +0 -24
  363. package/dist/bundle/chunk-FWACRG4X.js +0 -160
  364. package/dist/bundle/chunk-FXBHOCJK.js +0 -24600
  365. package/dist/bundle/chunk-G5SZL7G2.js +0 -150
  366. package/dist/bundle/chunk-G6CHEFAG.js +0 -108
  367. package/dist/bundle/chunk-GHJD7PE6.js +0 -1068
  368. package/dist/bundle/chunk-GZ7WBU5Y.js +0 -18
  369. package/dist/bundle/chunk-HKLRI2LB.js +0 -555
  370. package/dist/bundle/chunk-HMD4FZYY.js +0 -133
  371. package/dist/bundle/chunk-HO4JGD4Q.js +0 -16
  372. package/dist/bundle/chunk-HTQTIKWP.js +0 -928
  373. package/dist/bundle/chunk-HUAHLO6N.js +0 -29
  374. package/dist/bundle/chunk-IANKXHSE.js +0 -46
  375. package/dist/bundle/chunk-IQZXFWFI.js +0 -170
  376. package/dist/bundle/chunk-ISQ23VKV.js +0 -123
  377. package/dist/bundle/chunk-JEH33ZCD.js +0 -58
  378. package/dist/bundle/chunk-JUNQYWQ2.js +0 -228
  379. package/dist/bundle/chunk-JUXMVQWJ.js +0 -799
  380. package/dist/bundle/chunk-KHQDWYCG.js +0 -82
  381. package/dist/bundle/chunk-KYRYD4CR.js +0 -38
  382. package/dist/bundle/chunk-LBGT6W4R.js +0 -377
  383. package/dist/bundle/chunk-LN7HRYTH.js +0 -80
  384. package/dist/bundle/chunk-MEB7HBTM.js +0 -95
  385. package/dist/bundle/chunk-MEEFWYX3.js +0 -388
  386. package/dist/bundle/chunk-MNOAMJ6H.js +0 -94
  387. package/dist/bundle/chunk-MYHPXJDG.js +0 -142
  388. package/dist/bundle/chunk-NGI37RFW.js +0 -692
  389. package/dist/bundle/chunk-NZMWD7Y3.js +0 -68149
  390. package/dist/bundle/chunk-O6IECJRM.js +0 -54
  391. package/dist/bundle/chunk-OBWL3BUV.js +0 -800
  392. package/dist/bundle/chunk-OEEWVKJX.js +0 -53
  393. package/dist/bundle/chunk-OQYZ3W4K.js +0 -374
  394. package/dist/bundle/chunk-P3ZCTYGW.js +0 -101
  395. package/dist/bundle/chunk-PL5P7UKW.js +0 -25216
  396. package/dist/bundle/chunk-PVEBAHFU.js +0 -100
  397. package/dist/bundle/chunk-R2B6PUVI.js +0 -206
  398. package/dist/bundle/chunk-RLOH7RDN.js +0 -362
  399. package/dist/bundle/chunk-RQ4AXSCJ.js +0 -616
  400. package/dist/bundle/chunk-RYGTCRFZ.js +0 -140
  401. package/dist/bundle/chunk-S4PXWIE4.js +0 -408
  402. package/dist/bundle/chunk-SDZZYZLL.js +0 -58
  403. package/dist/bundle/chunk-SHQAYUK6.js +0 -1199
  404. package/dist/bundle/chunk-T3W4V4A6.js +0 -63
  405. package/dist/bundle/chunk-TCT5D2X2.js +0 -6848
  406. package/dist/bundle/chunk-TDWPOSPR.js +0 -198
  407. package/dist/bundle/chunk-TER3N27H.js +0 -353
  408. package/dist/bundle/chunk-TMTNP7QN.js +0 -214
  409. package/dist/bundle/chunk-TO5UEWXR.js +0 -288
  410. package/dist/bundle/chunk-TXDR6YSF.js +0 -23
  411. package/dist/bundle/chunk-TY7NDMFY.js +0 -46
  412. package/dist/bundle/chunk-UAWSINMC.js +0 -875
  413. package/dist/bundle/chunk-UBH7YF3C.js +0 -9354
  414. package/dist/bundle/chunk-UEAE3JUU.js +0 -46576
  415. package/dist/bundle/chunk-UHR363OD.js +0 -357
  416. package/dist/bundle/chunk-UM52A76S.js +0 -259
  417. package/dist/bundle/chunk-URP6BTHN.js +0 -624
  418. package/dist/bundle/chunk-UWQEAA6S.js +0 -13
  419. package/dist/bundle/chunk-VR7QZGRU.js +0 -185
  420. package/dist/bundle/chunk-VRH5PBSL.js +0 -755
  421. package/dist/bundle/chunk-VTLQTQKY.js +0 -1756
  422. package/dist/bundle/chunk-VTYNLTDW.js +0 -331
  423. package/dist/bundle/chunk-WY7XG6TE.js +0 -76
  424. package/dist/bundle/chunk-XH23ML2V.js +0 -195
  425. package/dist/bundle/chunk-XYF76A26.js +0 -27556
  426. package/dist/bundle/chunk-Y5E2WNWB.js +0 -35
  427. package/dist/bundle/chunk-ZDYJAEVB.js +0 -84
  428. package/dist/bundle/chunk-ZJ63HDBT.js +0 -71
  429. package/dist/bundle/chunk-ZT4ZPUIO.js +0 -218
  430. package/dist/bundle/chunk-ZVVMGPBJ.js +0 -50
  431. package/dist/bundle/cli-JK6PQSSN.js +0 -1270
  432. package/dist/bundle/command-contract-F3QNBKPX.js +0 -46
  433. package/dist/bundle/command-server-entry-DJLGN62J.js +0 -176
  434. package/dist/bundle/config-TYYMV3HV.js +0 -118
  435. package/dist/bundle/decode-ZZICNNFF.js +0 -31
  436. package/dist/bundle/dispatch-FKMIPCPQ.js +0 -412
  437. package/dist/bundle/dist-NQPF25XI.js +0 -322
  438. package/dist/bundle/dist-PAKDDIBT.js +0 -191
  439. package/dist/bundle/dist-XUFQCJXW.js +0 -7577
  440. package/dist/bundle/echarts-QMAA7HH5.js +0 -42501
  441. package/dist/bundle/embed-T64EUKUI.js +0 -38
  442. package/dist/bundle/embedder-ZEKISZXI.js +0 -111
  443. package/dist/bundle/failure-XTWBYI2A.js +0 -25
  444. package/dist/bundle/first-run-ZFNY4RRH.js +0 -29
  445. package/dist/bundle/first-screen-LPGCHRHZ.js +0 -47
  446. package/dist/bundle/instructions-4H7UREH2.js +0 -11
  447. package/dist/bundle/mcp-5HFPWC3W.js +0 -167
  448. package/dist/bundle/meeting-combined-7HDPOUPB.js +0 -28
  449. package/dist/bundle/meeting-model-MVUW7UPQ.js +0 -26
  450. package/dist/bundle/meeting-semantic-IF633WGX.js +0 -23
  451. package/dist/bundle/meetings-RY2AAPHV.js +0 -332
  452. package/dist/bundle/node-KM3CUABH.js +0 -2340
  453. package/dist/bundle/node-P3PUHKYH.js +0 -176
  454. package/dist/bundle/node-TLZSIHIJ.js +0 -21
  455. package/dist/bundle/node-sqlite-ASAZJNHE.js +0 -74
  456. package/dist/bundle/oauth-4U3OCK3W.js +0 -20
  457. package/dist/bundle/oauth-AJARLPSY.js +0 -46
  458. package/dist/bundle/open-SEJRY2ZI.js +0 -23
  459. package/dist/bundle/openai-FZDSC2AA.js +0 -28
  460. package/dist/bundle/process-AFIXYXWL.js +0 -91
  461. package/dist/bundle/prompt-BCRD64F4.js +0 -17
  462. package/dist/bundle/public-SVJILCNI.js +0 -206
  463. package/dist/bundle/recognize-25ITJWGX.js +0 -26
  464. package/dist/bundle/remote-5FBAJX7O.js +0 -32
  465. package/dist/bundle/rerank-2HGWWORY.js +0 -52
  466. package/dist/bundle/run-log-7HRF4Y47.js +0 -145
  467. package/dist/bundle/serve-RL35MSJD.js +0 -199
  468. package/dist/bundle/server-QUSBWACP.js +0 -229
  469. package/dist/bundle/server-SCK2SRDK.js +0 -96
  470. package/dist/bundle/services-BGRIQNDC.js +0 -609
  471. package/dist/bundle/speech-4W3ZMTFK.js +0 -89
  472. package/dist/bundle/sqlite-runtime-K3KLRZCV.js +0 -20
  473. package/dist/bundle/state-GYL4C74G.js +0 -36
  474. package/dist/bundle/store-27UQMNEO.js +0 -189
  475. package/dist/bundle/store-NLYH5SQX.js +0 -316
  476. package/dist/bundle/store-connection-CZILWRSR.js +0 -112
  477. package/dist/bundle/store-maintenance-command-Z3QLNSXJ.js +0 -84
  478. package/dist/bundle/streaming-73EKEGPF.js +0 -18
  479. package/dist/bundle/surface-CV3C4RV2.js +0 -82
  480. package/dist/bundle/tokens-PY3S22LY.js +0 -27
  481. /package/dist/bundle/{chunk-7ECP5ZQR.js → chunk-7O7XM37N.js} +0 -0
@@ -1,267 +0,0 @@
1
- import { createRequire as __bundleRequire } from "node:module";
2
- const require = __bundleRequire(import.meta.url);
3
- import {
4
- PER_RUN,
5
- envelope
6
- } from "./chunk-OBWL3BUV.js";
7
- import {
8
- mcpUrlOf
9
- } from "./chunk-AK3H2C65.js";
10
- import {
11
- skillResources
12
- } from "./chunk-MEEFWYX3.js";
13
- import {
14
- StdioServerTransport,
15
- answeredWire,
16
- serveStdio
17
- } from "./chunk-AQ5RIOUE.js";
18
- import {
19
- runCommandForAgent,
20
- toolsFromCommands
21
- } from "./chunk-CDQUW25G.js";
22
- import "./chunk-F44QK6CK.js";
23
- import {
24
- appInstructions
25
- } from "./chunk-OEEWVKJX.js";
26
- import {
27
- answered,
28
- failed,
29
- registerCommands
30
- } from "./chunk-575JMTDR.js";
31
- import {
32
- agentJson
33
- } from "./chunk-E4ODYLEK.js";
34
- import "./chunk-G6CHEFAG.js";
35
- import {
36
- mcpHttpMarker
37
- } from "./chunk-3AQHKXVR.js";
38
- import {
39
- McpServer
40
- } from "./chunk-PL5P7UKW.js";
41
- import "./chunk-AQLUAQXJ.js";
42
- import "./chunk-TER3N27H.js";
43
- import "./chunk-ETIZGA4P.js";
44
- import "./chunk-ZDYJAEVB.js";
45
- import "./chunk-EE45N67Q.js";
46
- import "./chunk-UEAE3JUU.js";
47
- import "./chunk-6E4KLYNP.js";
48
- import "./chunk-5B2LV4MS.js";
49
- import "./chunk-S4PXWIE4.js";
50
- import "./chunk-VRH5PBSL.js";
51
- import "./chunk-OQYZ3W4K.js";
52
- import "./chunk-IQZXFWFI.js";
53
- import "./chunk-ISQ23VKV.js";
54
- import "./chunk-HUAHLO6N.js";
55
- import "./chunk-MYHPXJDG.js";
56
- import "./chunk-TY7NDMFY.js";
57
- import "./chunk-CJWGJBHW.js";
58
- import "./chunk-NGI37RFW.js";
59
- import "./chunk-WY7XG6TE.js";
60
- import "./chunk-7ECP5ZQR.js";
61
- import "./chunk-GHJD7PE6.js";
62
- import "./chunk-UM52A76S.js";
63
- import "./chunk-D7RCUODT.js";
64
- import "./chunk-BTLZYRIW.js";
65
- import "./chunk-GZ7WBU5Y.js";
66
- import "./chunk-HMD4FZYY.js";
67
- import {
68
- DEFAULT_OUTPUT_BYTES,
69
- changesAuthorityAt,
70
- describeProgram,
71
- environmentOf,
72
- fetchesOnlyAt,
73
- judgedTargets,
74
- readsOverMcpAt,
75
- rootOf2 as rootOf
76
- } from "./chunk-ASTLGFTR.js";
77
- import "./chunk-P3ZCTYGW.js";
78
- import {
79
- readOnlyLockOf
80
- } from "./chunk-ZJ63HDBT.js";
81
- import "./chunk-RLOH7RDN.js";
82
- import "./chunk-T3W4V4A6.js";
83
- import "./chunk-JEH33ZCD.js";
84
- import "./chunk-RQ4AXSCJ.js";
85
- import "./chunk-B4KHDXJE.js";
86
- import "./chunk-2IBKKVVZ.js";
87
- import "./chunk-3KUEZK5Z.js";
88
- import "./chunk-VTYNLTDW.js";
89
- import "./chunk-BAFC7WNI.js";
90
- import "./chunk-KHQDWYCG.js";
91
- import "./chunk-NZMWD7Y3.js";
92
- import "./chunk-LN7HRYTH.js";
93
- import "./chunk-VTLQTQKY.js";
94
- import "./chunk-3PXUQFHX.js";
95
- import "./chunk-DQJECJUE.js";
96
- import "./chunk-FWACRG4X.js";
97
- import "./chunk-HO4JGD4Q.js";
98
- import "./chunk-URP6BTHN.js";
99
- import "./chunk-HKLRI2LB.js";
100
- import "./chunk-B2NM65RD.js";
101
- import "./chunk-G5SZL7G2.js";
102
- import "./chunk-LBGT6W4R.js";
103
- import "./chunk-MNOAMJ6H.js";
104
- import "./chunk-7JDXR75Q.js";
105
- import "./chunk-SHQAYUK6.js";
106
- import "./chunk-TCT5D2X2.js";
107
- import "./chunk-TXDR6YSF.js";
108
- import "./chunk-D72URWJE.js";
109
- import "./chunk-FH2UFNH6.js";
110
- import "./chunk-MEB7HBTM.js";
111
- import "./chunk-KYRYD4CR.js";
112
- import "./chunk-BZDS2X6Y.js";
113
- import "./chunk-UAWSINMC.js";
114
- import "./chunk-DNCLQPOM.js";
115
- import "./chunk-3QN5KDFZ.js";
116
- import {
117
- mcpErrorResult
118
- } from "./chunk-ESN3W2MZ.js";
119
- import "./chunk-Y5E2WNWB.js";
120
- import {
121
- CliError
122
- } from "./chunk-IANKXHSE.js";
123
- import "./chunk-BBGJQMRI.js";
124
- import {
125
- __name
126
- } from "./chunk-ZVVMGPBJ.js";
127
-
128
- // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
129
- var EXCLUDED = [["mcp"]];
130
- var aliasesOf = /* @__PURE__ */ __name((root, path) => {
131
- let at = root;
132
- for (const name of path)
133
- at = at?.commands.find((child) => child.name() === name);
134
- const aliases = at?.aliases() ?? [];
135
- return aliases.length > 0 ? { aliases } : {};
136
- }, "aliasesOf");
137
- var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
138
- const { app } = options;
139
- const root = rootOf(command);
140
- const environment = environmentOf(command);
141
- if (!environment.runCommand)
142
- throw new Error("the MCP server runs inside run(), which hands it the program");
143
- const program = { run: environment.runCommand, commands: describeProgram(root) };
144
- const flags = command.optsWithGlobals();
145
- const overrides = flags.permission ?? [];
146
- const { settings } = context;
147
- const levels = /* @__PURE__ */ __name(() => options.resolveSettings(flags, { env: context.env }).permissions, "levels");
148
- const readOnly = /* @__PURE__ */ __name(() => readOnlyLockOf(app, context.env) !== void 0, "readOnly");
149
- const authority = changesAuthorityAt(root);
150
- const fetches = fetchesOnlyAt(root);
151
- const targets = judgedTargets(root);
152
- const passed = Object.fromEntries(Object.entries(environment).filter(([key]) => !PER_RUN.has(key)));
153
- const tools = toolsFromCommands(program.commands, {
154
- includeUnavailable: true,
155
- exclude: EXCLUDED,
156
- levels: settings.permissions,
157
- currentLevels: levels,
158
- readOnly: readOnly(),
159
- authority,
160
- fetchOnly: readsOverMcpAt(root),
161
- fetches,
162
- permissions: options.permissions
163
- });
164
- const availability = /* @__PURE__ */ __name((one) => () => {
165
- const permitted = one.availability?.() ?? { available: true };
166
- if (!permitted.available)
167
- return permitted;
168
- return options.availability?.(one.path, settings.profile) ?? permitted;
169
- }, "availability");
170
- const commands = Object.fromEntries(tools.map((one) => [
171
- one.command,
172
- {
173
- title: one.title,
174
- description: one.description,
175
- ...one.keywords ? { keywords: one.keywords } : {},
176
- ...aliasesOf(root, one.path),
177
- writes: one.writes,
178
- availability: availability(one),
179
- input: one.input,
180
- run: /* @__PURE__ */ __name(async (input, ctx) => {
181
- const own = options.availability?.(one.path, settings.profile);
182
- if (own && !own.available)
183
- return failed(new CliError("permission_error", `${one.command}: ${own.reason ?? "unavailable for this profile"}`, {
184
- ...own.permission ? { permission: own.permission } : {}
185
- }), app.errors);
186
- const traceparent = ctx?.mcpReq?._meta?.traceparent;
187
- const env = typeof traceparent === "string" ? { ...context.env, TRACEPARENT: traceparent } : context.env;
188
- const answer = await runCommandForAgent(program, one.path, input, {
189
- profile: settings.profile,
190
- readOnly: readOnly(),
191
- env,
192
- levels,
193
- overrides,
194
- authority,
195
- fetches,
196
- permissions: options.permissions,
197
- environment: passed
198
- });
199
- if ("error" in answer)
200
- return mcpErrorResult(JSON.parse(agentJson(answer.error)));
201
- try {
202
- return answered(envelope(one.command, answer.result), DEFAULT_OUTPUT_BYTES, targets);
203
- } catch (error) {
204
- return failed(error, app.errors);
205
- }
206
- }, "run")
207
- }
208
- ]));
209
- const skills = options.skill ? skillResources(app, options.skill) : [];
210
- const skill = skills[0];
211
- const build = /* @__PURE__ */ __name(() => {
212
- const server = new McpServer({ name: app.command, version: app.version }, {
213
- instructions: appInstructions({
214
- command: app.command,
215
- name: options.name,
216
- profile: settings.profile,
217
- untrusted: options.untrusted,
218
- ...skill ? { skill: skill.instruction } : {}
219
- })
220
- });
221
- registerCommands(server, app.command, commands, app.errors, void 0, app.messenger);
222
- for (const { uri, name, title, description, mimeType, read } of skills)
223
- server.registerResource(name, uri, { title, description, mimeType }, read);
224
- return server;
225
- }, "build");
226
- return { build, offered: Object.keys(commands) };
227
- }, "createAppServer");
228
- var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options) => {
229
- const { build } = createAppServer(command, context, options);
230
- const { stdin, stdout, signal } = environmentOf(command);
231
- const own = stdin && stdout && stdin !== process.stdin;
232
- const wire = answeredWire(own ? stdin : process.stdin, own ? stdout : process.stdout);
233
- const handle = serveStdio(build, {
234
- transport: new StdioServerTransport(wire.input, wire.output),
235
- onerror: /* @__PURE__ */ __name((error) => context.renderer.note(`mcp: ${error.message}`), "onerror")
236
- });
237
- await wire.finished(own ? signal : void 0);
238
- wire.release();
239
- await handle.close();
240
- }, "serveAppOverStdio");
241
- var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
242
- const { app } = options;
243
- const { build } = createAppServer(command, context, options);
244
- const { serveOverHttp } = await import("./serve-RL35MSJD.js");
245
- const listening = await serveOverHttp(build, {
246
- ...http,
247
- appName: app.command,
248
- reaches: `your ${options.name}`,
249
- onCode: /* @__PURE__ */ __name((code, expires) => context.renderer.note(context.env[mcpHttpMarker(app.envPrefix)] === void 0 ? `login code for a new browser app: ${code} (until ${expires.toTimeString().slice(0, 5)}; a new one after each login)` : `a new login code for a browser app: \`${app.command} ${context.settings.profile} mcp server status\``), "onCode"),
250
- onError: /* @__PURE__ */ __name((error) => context.renderer.note(`mcp: ${error.message}`), "onError")
251
- }).catch((error) => {
252
- if (error.code === "EADDRINUSE")
253
- throw new CliError("configuration_error", `port ${http.port} is in use \u2014 pass another with --port`);
254
- throw error;
255
- });
256
- context.renderer.note(`serving on ${listening.url.href} \u2014 point your tunnel at it; connectors use ${mcpUrlOf(http.publicUrl).href}`);
257
- await new Promise((resolve) => {
258
- process.once("SIGINT", resolve);
259
- process.once("SIGTERM", resolve);
260
- });
261
- await listening.close();
262
- }, "serveAppOverHttp");
263
- export {
264
- createAppServer,
265
- serveAppOverHttp,
266
- serveAppOverStdio
267
- };
@@ -1,169 +0,0 @@
1
- import { createRequire as __bundleRequire } from "node:module";
2
- const require = __bundleRequire(import.meta.url);
3
- import {
4
- DefaultLogger,
5
- DrizzleQueryError,
6
- NoopLogger,
7
- SQLiteAsyncDatabase,
8
- SQLiteAsyncPreparedQuery,
9
- SQLiteAsyncSession,
10
- SQLiteAsyncTransaction,
11
- SQLiteDialect,
12
- booleanFromInteger,
13
- bufferFromBytes,
14
- castToText,
15
- dateFromStoredMilliseconds,
16
- dateFromStoredSeconds,
17
- entityKind,
18
- jitCompatCheck,
19
- refineSqliteCodecs,
20
- sql
21
- } from "./chunk-TCT5D2X2.js";
22
- import {
23
- __name
24
- } from "./chunk-ZVVMGPBJ.js";
25
-
26
- // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
27
- import { Database } from "bun:sqlite";
28
- var bunSQLiteCodecs = refineSqliteCodecs({
29
- "integer:boolean": { normalize: booleanFromInteger },
30
- "integer:timestamp": { normalize: dateFromStoredSeconds },
31
- "integer:timestamp_ms": { normalize: dateFromStoredMilliseconds },
32
- "text:json": { normalize: JSON.parse },
33
- blob: { normalize: bufferFromBytes },
34
- "blob:json": {
35
- cast: castToText,
36
- normalize: JSON.parse
37
- },
38
- "blob:bigint": {
39
- cast: castToText,
40
- normalize: BigInt
41
- },
42
- numeric: {
43
- cast: castToText,
44
- normalize: String
45
- },
46
- "numeric:number": { normalize: Number },
47
- "numeric:bigint": {
48
- cast: castToText,
49
- normalize: BigInt
50
- }
51
- });
52
- var SQLiteBunSession = class extends SQLiteAsyncSession {
53
- static {
54
- __name(this, "SQLiteBunSession");
55
- }
56
- client;
57
- relations;
58
- options;
59
- static [entityKind] = "SQLiteBunSession";
60
- logger;
61
- constructor(client, dialect, relations, options = {}) {
62
- super(dialect, "sync");
63
- this.client = client;
64
- this.relations = relations;
65
- this.options = options;
66
- this.logger = options.logger ?? new NoopLogger();
67
- }
68
- exec(query) {
69
- this.client.exec(query);
70
- }
71
- prepareQuery(query, mode, _prepare, executeMethod, mapper, queryMetadata) {
72
- let stmt;
73
- try {
74
- stmt = this.client.query(query.sql);
75
- } catch (e) {
76
- throw new DrizzleQueryError(query.sql, this.options.paramsInErrors ? query.params : void 0, e);
77
- }
78
- return new SQLiteAsyncPreparedQuery("sync", executeMethod, {
79
- all: /* @__PURE__ */ __name((params) => {
80
- if (mode === "arrays") return stmt.values(...params);
81
- return stmt.all(...params);
82
- }, "all"),
83
- get: /* @__PURE__ */ __name((params) => {
84
- if (mode === "arrays") return stmt.values(...params)[0];
85
- return stmt.get(...params);
86
- }, "get"),
87
- run: /* @__PURE__ */ __name((params) => {
88
- return stmt.run(...params);
89
- }, "run")
90
- }, query, mapper, mode, this.logger, void 0, queryMetadata, void 0, this.options.paramsInErrors);
91
- }
92
- transaction(transaction, config = {}) {
93
- const tx = new SQLiteBunTransaction("sync", this.dialect, this, this.relations);
94
- let result;
95
- const nativeTx = this.client.transaction(() => {
96
- result = transaction(tx);
97
- });
98
- if (config.behavior === "concurrent") throw new Error("Concurrent transactions are not supported by driver");
99
- nativeTx[config.behavior ?? "deferred"]();
100
- return result;
101
- }
102
- };
103
- var SQLiteBunTransaction = class SQLiteBunTransaction2 extends SQLiteAsyncTransaction {
104
- static {
105
- __name(this, "SQLiteBunTransaction2");
106
- }
107
- static [entityKind] = "SQLiteBunTransaction";
108
- transaction(transaction) {
109
- const savepointName = `sp${this.nestedIndex}`;
110
- const tx = new SQLiteBunTransaction2("sync", this.dialect, this.session, this._.relations, this.nestedIndex + 1);
111
- this.session.run(sql.raw(`savepoint ${savepointName}`));
112
- try {
113
- const result = transaction(tx);
114
- this.session.run(sql.raw(`release savepoint ${savepointName}`));
115
- return result;
116
- } catch (err) {
117
- try {
118
- this.session.run(sql.raw(`rollback to savepoint ${savepointName}`));
119
- } catch {
120
- }
121
- throw err;
122
- }
123
- }
124
- };
125
- var SQLiteBunDatabase = class extends SQLiteAsyncDatabase {
126
- static {
127
- __name(this, "SQLiteBunDatabase");
128
- }
129
- static [entityKind] = "SQLiteBunDatabase";
130
- };
131
- function construct(client, config = {}) {
132
- const dialect = new SQLiteDialect({
133
- codecs: config.codecs ?? bunSQLiteCodecs,
134
- useJitMappers: jitCompatCheck(config.jit)
135
- });
136
- let logger;
137
- if (config.logger === true) logger = new DefaultLogger();
138
- else if (config.logger !== false) logger = config.logger;
139
- const relations = config.relations ?? {};
140
- const db = new SQLiteBunDatabase("sync", dialect, new SQLiteBunSession(client, dialect, relations, {
141
- logger,
142
- paramsInErrors: config.paramsInErrors
143
- }), relations);
144
- db.$client = client;
145
- return db;
146
- }
147
- __name(construct, "construct");
148
- function drizzle(...params) {
149
- if (params[0] === void 0 || typeof params[0] === "string") return construct(params[0] === void 0 ? new Database() : new Database(params[0]), params[1]);
150
- const { connection, client, ...DrizzleSQLiteConfig } = params[0];
151
- if (client) return construct(client, DrizzleSQLiteConfig);
152
- if (typeof connection === "object") {
153
- const { source, ...opts } = connection;
154
- const options = Object.values(opts).filter((v) => v !== void 0).length ? opts : void 0;
155
- return construct(new Database(source, options), DrizzleSQLiteConfig);
156
- }
157
- return construct(new Database(connection), DrizzleSQLiteConfig);
158
- }
159
- __name(drizzle, "drizzle");
160
- (function(_drizzle) {
161
- function mock(config) {
162
- return construct({}, config);
163
- }
164
- __name(mock, "mock");
165
- _drizzle.mock = mock;
166
- })(drizzle || (drizzle = {}));
167
- export {
168
- drizzle
169
- };
@@ -1,76 +0,0 @@
1
- import { createRequire as __bundleRequire } from "node:module";
2
- const require = __bundleRequire(import.meta.url);
3
- import {
4
- loadVectorExtension,
5
- vectorExtension
6
- } from "./chunk-SDZZYZLL.js";
7
- import {
8
- refuseOwnerStoreInTests
9
- } from "./chunk-FH2UFNH6.js";
10
- import "./chunk-3QN5KDFZ.js";
11
- import "./chunk-ESN3W2MZ.js";
12
- import {
13
- importFrom
14
- } from "./chunk-Y5E2WNWB.js";
15
- import "./chunk-IANKXHSE.js";
16
- import "./chunk-BBGJQMRI.js";
17
- import {
18
- __name
19
- } from "./chunk-ZVVMGPBJ.js";
20
-
21
- // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
22
- var customised = false;
23
- var ownLibrary = /* @__PURE__ */ __name(async () => {
24
- try {
25
- const { libraryFor } = await importFrom(new URL("store/drivers/bun-sqlite.js", import.meta.resolve("@wirecat/cli-core")).href, "@wirecat/cli-core-sqlite");
26
- return libraryFor();
27
- } catch {
28
- return void 0;
29
- }
30
- }, "ownLibrary");
31
- var bunDatabase = /* @__PURE__ */ __name(async () => {
32
- const specifier = "bun:sqlite";
33
- const { Database } = await importFrom(new URL("store/drivers/bun-sqlite.js", import.meta.resolve("@wirecat/cli-core")).href, specifier);
34
- if (process.platform === "darwin" && !customised) {
35
- customised = true;
36
- const library = await ownLibrary();
37
- if (library)
38
- Database.setCustomSQLite(library);
39
- }
40
- return Database;
41
- }, "bunDatabase");
42
- var openWithBunSqlite = /* @__PURE__ */ __name(async (path) => cacheOverBunSqlite(await bunClient(path)), "openWithBunSqlite");
43
- var bunClient = /* @__PURE__ */ __name(async (path, options) => {
44
- refuseOwnerStoreInTests(path);
45
- const Database = await bunDatabase();
46
- const extension = await vectorExtension();
47
- const client = options ? new Database(path, options) : new Database(path);
48
- try {
49
- loadVectorExtension(client, extension);
50
- return client;
51
- } catch (error) {
52
- client.close();
53
- throw error;
54
- }
55
- }, "bunClient");
56
- var cacheOverBunSqlite = /* @__PURE__ */ __name((database) => {
57
- return {
58
- exec: /* @__PURE__ */ __name((sql) => database.exec(sql), "exec"),
59
- prepare: /* @__PURE__ */ __name((sql) => {
60
- const statement = database.query(sql);
61
- return {
62
- run: /* @__PURE__ */ __name((...parameters) => ({ changes: Number(statement.run(...parameters).changes) }), "run"),
63
- // Bun answers null for no row; the seam promises undefined, and `!== undefined` checks rely on it.
64
- get: /* @__PURE__ */ __name((...parameters) => statement.get(...parameters) ?? void 0, "get"),
65
- all: /* @__PURE__ */ __name((...parameters) => statement.all(...parameters), "all")
66
- };
67
- }, "prepare"),
68
- close: /* @__PURE__ */ __name(() => database.close(), "close")
69
- };
70
- }, "cacheOverBunSqlite");
71
- export {
72
- bunClient,
73
- bunDatabase,
74
- cacheOverBunSqlite,
75
- openWithBunSqlite
76
- };