@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,29 +0,0 @@
1
- import { createRequire as __bundleRequire } from "node:module";
2
- const require = __bundleRequire(import.meta.url);
3
- import {
4
- __name
5
- } from "./chunk-ZVVMGPBJ.js";
6
-
7
- // 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/cli/commander-internals.js
8
- var internals = /* @__PURE__ */ __name((command) => command, "internals");
9
- var hasOwnAction = /* @__PURE__ */ __name((command) => internals(command)._actionHandler != null, "hasOwnAction");
10
- var isHidden = /* @__PURE__ */ __name((command) => internals(command)._hidden === true, "isHidden");
11
- var hide = /* @__PURE__ */ __name((command) => {
12
- internals(command)._hidden = true;
13
- }, "hide");
14
- var helpOptionOf = /* @__PURE__ */ __name((command) => internals(command)._getHelpOption(), "helpOptionOf");
15
- var rejectUnknownOption = /* @__PURE__ */ __name((command, flag) => internals(command).unknownOption(flag), "rejectUnknownOption");
16
- var onUnknownOption = /* @__PURE__ */ __name((command, handle) => {
17
- const own = internals(command);
18
- const fallback = own.unknownOption.bind(command);
19
- own.unknownOption = (flag) => handle(flag, fallback);
20
- }, "onUnknownOption");
21
-
22
- export {
23
- hasOwnAction,
24
- isHidden,
25
- hide,
26
- helpOptionOf,
27
- rejectUnknownOption,
28
- onUnknownOption
29
- };
@@ -1,46 +0,0 @@
1
- import { createRequire as __bundleRequire } from "node:module";
2
- const require = __bundleRequire(import.meta.url);
3
- import {
4
- __name
5
- } from "./chunk-ZVVMGPBJ.js";
6
-
7
- // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/errors.js
8
- var errorCodes = [
9
- "validation_error",
10
- "configuration_error",
11
- "authentication_error",
12
- "permission_error",
13
- "not_found",
14
- "confirmation_required",
15
- "rate_limited",
16
- "timeout",
17
- "network_error",
18
- "provider_error",
19
- "provider_unavailable",
20
- "invalid_response",
21
- "outcome_unknown",
22
- "conflict",
23
- "cancelled"
24
- ];
25
- var BRAND = /* @__PURE__ */ Symbol.for("@wirecat/cli-base/CliError");
26
- var CliError = class extends Error {
27
- static {
28
- __name(this, "CliError");
29
- }
30
- code;
31
- details;
32
- constructor(code, message, details = {}) {
33
- super(message);
34
- this.name = "CliError";
35
- this.code = code;
36
- this.details = details;
37
- Object.defineProperty(this, BRAND, { value: true });
38
- }
39
- };
40
- var isCliError = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && value[BRAND] === true, "isCliError");
41
-
42
- export {
43
- errorCodes,
44
- CliError,
45
- isCliError
46
- };
@@ -1,170 +0,0 @@
1
- import { createRequire as __bundleRequire } from "node:module";
2
- const require = __bundleRequire(import.meta.url);
3
- import {
4
- formatMeetingReference
5
- } from "./chunk-BZDS2X6Y.js";
6
- import {
7
- CliError
8
- } from "./chunk-IANKXHSE.js";
9
- import {
10
- __name
11
- } from "./chunk-ZVVMGPBJ.js";
12
-
13
- // 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/services/meeting-semantic.js
14
- var positive = /* @__PURE__ */ __name((value, name, max) => {
15
- if (!Number.isSafeInteger(value) || value < 1 || value > max)
16
- throw new CliError("validation_error", `Invalid ${name}`);
17
- return value;
18
- }, "positive");
19
- var cancel = /* @__PURE__ */ __name((signal) => {
20
- if (signal?.aborted)
21
- throw new CliError("cancelled", "Meeting semantic operation was cancelled");
22
- }, "cancel");
23
- var account = /* @__PURE__ */ __name((accountId) => positive(accountId, "authorized meeting account", Number.MAX_SAFE_INTEGER), "account");
24
- var descriptor = /* @__PURE__ */ __name((model) => {
25
- if (!model || typeof model.key !== "string" || !model.key.trim() || model.key.length > 1e3 || typeof model.model !== "string" || !model.model.trim() || !["local", "remote"].includes(model.kind))
26
- throw new CliError("validation_error", "An explicit meeting embedding model is required");
27
- return { key: model.key, model: model.model, kind: model.kind, dims: positive(model.dims, "model dimensions", 8192) };
28
- }, "descriptor");
29
- var textBudget = /* @__PURE__ */ __name((options) => ({
30
- maxRows: positive(options.maxRows ?? 1e4, "transcript row budget", 1e5),
31
- maxTextBytes: positive(options.maxTextBytes ?? 4 * 1024 * 1024, "transcript text byte budget", 64 * 1024 * 1024)
32
- }), "textBudget");
33
- var validateVector = /* @__PURE__ */ __name((vector, dims) => {
34
- if (!(vector instanceof Float32Array) || vector.length !== dims || !vector.some((value) => value !== 0) || vector.some((value) => !Number.isFinite(value)))
35
- throw new CliError("invalid_response", "Meeting model returned an invalid vector");
36
- return vector;
37
- }, "validateVector");
38
- var readMeetingSemantic = /* @__PURE__ */ __name(async (store, accountId, query, embedder, options = {}) => {
39
- const accountIdSnapshot = account(accountId);
40
- const model = descriptor(embedder);
41
- if (typeof query !== "string" || !query.trim() || Buffer.byteLength(query, "utf8") > 64 * 1024)
42
- throw new CliError("validation_error", "Meeting semantic query requires 1\u201365536 UTF-8 bytes");
43
- const limit = positive(options.limit ?? 20, "semantic result limit", 1e3);
44
- const maxChunks = positive(options.maxChunks ?? 1e3, "semantic candidate budget", 1e4);
45
- const afterChunkId = options.afterChunkId === void 0 ? void 0 : positive(options.afterChunkId, "semantic candidate cursor", Number.MAX_SAFE_INTEGER);
46
- const budget = textBudget(options);
47
- const signal = options.signal;
48
- cancel(signal);
49
- const vectors = await embedder.embed([query], "query");
50
- cancel(signal);
51
- if (vectors.length !== 1)
52
- throw new CliError("invalid_response", "Meeting query model returned another vector count");
53
- const vector = validateVector(vectors[0], model.dims);
54
- const result = await store.nearest(model.key, vector, {
55
- accountId: accountIdSnapshot,
56
- limit,
57
- maxChunks,
58
- ...budget,
59
- ...afterChunkId === void 0 ? {} : { afterChunkId },
60
- ...signal ? { signal } : {}
61
- });
62
- cancel(signal);
63
- const items = result.items.map((hit) => {
64
- positive(hit.meetingId, "semantic meeting ID", Number.MAX_SAFE_INTEGER);
65
- positive(hit.transcriptId, "semantic transcript ID", Number.MAX_SAFE_INTEGER);
66
- if (!Number.isSafeInteger(hit.firstPosition) || hit.firstPosition < 0 || !Number.isSafeInteger(hit.lastPosition) || hit.lastPosition < hit.firstPosition || !Number.isFinite(hit.score))
67
- throw new CliError("invalid_response", "Meeting semantic hit contains invalid provenance");
68
- const ref = {
69
- type: "meeting",
70
- accountId: accountIdSnapshot,
71
- meetingId: hit.meetingId,
72
- transcriptId: hit.transcriptId
73
- };
74
- return {
75
- ...hit,
76
- reference: formatMeetingReference(ref),
77
- firstCueReference: formatMeetingReference({ ...ref, cuePosition: hit.firstPosition }),
78
- lastCueReference: formatMeetingReference({ ...ref, cuePosition: hit.lastPosition })
79
- };
80
- });
81
- return {
82
- ...result,
83
- accountId: accountIdSnapshot,
84
- model,
85
- items,
86
- coverage: {
87
- scope: "current-indexed-vectors",
88
- candidateScanComplete: result.complete,
89
- indexCompleteness: "unknown",
90
- archiveCompleteness: "unknown"
91
- }
92
- };
93
- }, "readMeetingSemantic");
94
- var proposeMeetingEmbedding = /* @__PURE__ */ __name(async (store, accountId, selected, options = {}) => {
95
- const accountIdSnapshot = account(accountId);
96
- const model = descriptor(selected);
97
- const signal = options.signal;
98
- cancel(signal);
99
- const status = await store.status({ accountId: accountIdSnapshot, model: model.key, ...signal ? { signal } : {} });
100
- cancel(signal);
101
- return {
102
- accountId: accountIdSnapshot,
103
- model,
104
- status,
105
- applied: false,
106
- scope: "existing-current-chunks",
107
- rebuildRequired: "explicit"
108
- };
109
- }, "proposeMeetingEmbedding");
110
- var applyMeetingEmbedding = /* @__PURE__ */ __name(async (store, accountId, embedder, options = {}) => {
111
- const accountIdSnapshot = account(accountId);
112
- const model = descriptor(embedder);
113
- const maxChunks = positive(options.maxChunks ?? 100, "embedding chunk budget", 1e3);
114
- const budget = textBudget(options);
115
- const maxVectorBytes = positive(options.maxVectorBytes ?? 8 * 1024 * 1024, "vector payload byte budget", 64 * 1024 * 1024);
116
- const afterHash = options.afterHash;
117
- if (afterHash !== void 0 && !/^[0-9a-f]{64}$/.test(afterHash))
118
- throw new CliError("validation_error", "Invalid embedding chunk cursor");
119
- const signal = options.signal;
120
- cancel(signal);
121
- const page = await store.chunksToEmbed(model.key, {
122
- accountId: accountIdSnapshot,
123
- limit: maxChunks,
124
- ...budget,
125
- ...afterHash === void 0 ? {} : { afterHash },
126
- ...signal ? { signal } : {}
127
- });
128
- cancel(signal);
129
- if (typeof page.hasMore !== "boolean" || page.nextHash !== void 0 && !/^[0-9a-f]{64}$/.test(page.nextHash) || page.hasMore && (page.items.length === 0 || page.nextHash === void 0))
130
- throw new CliError("invalid_response", "Meeting chunk page cannot advance");
131
- if (page.items.length > maxChunks || page.items.length * model.dims * 4 > maxVectorBytes)
132
- throw new CliError("validation_error", "Embedding batch exceeds its chunk or vector payload budget");
133
- const items = page.items.map(({ hash, text }) => ({ hash, text }));
134
- if (items.some(({ hash, text }) => !/^[0-9a-f]{64}$/.test(hash) || typeof text !== "string") || new Set(items.map(({ hash }) => hash)).size !== items.length)
135
- throw new CliError("invalid_response", "Meeting chunk page is invalid");
136
- if (items.reduce((bytes, item) => bytes + Buffer.byteLength(item.text, "utf8"), 0) > budget.maxTextBytes)
137
- throw new CliError("validation_error", "Embedding batch exceeds its text byte budget");
138
- if (!items.length)
139
- return {
140
- accountId: accountIdSnapshot,
141
- model,
142
- saved: 0,
143
- skipped: 0,
144
- hasMore: page.hasMore,
145
- ...page.nextHash === void 0 ? {} : { nextHash: page.nextHash }
146
- };
147
- const vectors = await embedder.embed(items.map(({ text }) => text), "passage");
148
- cancel(signal);
149
- if (vectors.length !== items.length)
150
- throw new CliError("invalid_response", "Meeting model returned another vector count");
151
- const rows = items.map(({ hash }, index) => ({ hash, vector: validateVector(vectors[index], model.dims) }));
152
- const saved = await store.saveCurrent(model.key, model.dims, rows, {
153
- accountId: accountIdSnapshot,
154
- ...signal ? { signal } : {}
155
- });
156
- return {
157
- accountId: accountIdSnapshot,
158
- model,
159
- ...saved,
160
- hasMore: page.hasMore,
161
- ...page.nextHash === void 0 ? {} : { nextHash: page.nextHash }
162
- };
163
- }, "applyMeetingEmbedding");
164
-
165
- export {
166
- validateVector,
167
- readMeetingSemantic,
168
- proposeMeetingEmbedding,
169
- applyMeetingEmbedding
170
- };
@@ -1,123 +0,0 @@
1
- import { createRequire as __bundleRequire } from "node:module";
2
- const require = __bundleRequire(import.meta.url);
3
-
4
- // 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/ports/wirecat-tools.js
5
- var WIRECAT_TOOLS = [
6
- {
7
- command: "tg",
8
- appName: "tg-cli",
9
- envPrefix: "TG",
10
- package: "@wirecat/tg-cli",
11
- does: "Telegram in the same local store: search, review and tasks offline"
12
- },
13
- {
14
- command: "max",
15
- appName: "max-cli",
16
- envPrefix: "MAX",
17
- package: "@wirecat/max-cli",
18
- does: "MAX in the same local store: search, review and tasks offline"
19
- },
20
- {
21
- command: "wa",
22
- appName: "whatsapp-cli",
23
- envPrefix: "WA",
24
- package: "@wirecat/whatsapp-cli",
25
- does: "WhatsApp in the same local store: search, review and tasks offline"
26
- },
27
- {
28
- command: "zm",
29
- appName: "zoom-cli",
30
- envPrefix: "ZM",
31
- package: "@wirecat/zoom-cli",
32
- does: "Zoom meetings: transcripts and summaries, searchable with your other WireCat data"
33
- },
34
- {
35
- command: "drive",
36
- appName: "drive-cli",
37
- envPrefix: "DRIVE",
38
- package: "@wirecat/drive-cli",
39
- does: "Google Drive and Docs as local text, searchable with your other WireCat data"
40
- },
41
- {
42
- command: "gcal",
43
- appName: "gcal-cli",
44
- envPrefix: "GCAL",
45
- package: "@wirecat/gcal-cli",
46
- does: "Google Calendar events, searchable with your other WireCat data"
47
- },
48
- {
49
- command: "memo",
50
- appName: "cli-memo",
51
- envPrefix: "MEMO",
52
- package: "@wirecat/cli-memo",
53
- shown: "memo context <person>",
54
- does: "one person across messengers, mail, notes and meetings"
55
- },
56
- {
57
- command: "mail",
58
- appName: "mail-cli",
59
- envPrefix: "MAIL",
60
- package: "@wirecat/mail-cli",
61
- does: "IMAP mail in the same local store: search your mailbox offline, next to your other WireCat data"
62
- },
63
- {
64
- command: "b24",
65
- appName: "bitrix24-cli",
66
- envPrefix: "B24",
67
- package: "@wirecat/bitrix24-cli",
68
- does: "Bitrix24 CRM: deals, leads and pipelines, searchable with your other WireCat data"
69
- },
70
- {
71
- command: "amo",
72
- appName: "amo-cli",
73
- envPrefix: "AMO",
74
- package: "@wirecat/amo-cli",
75
- does: "amoCRM and Kommo: deals, contacts and companies, searchable with your other WireCat data"
76
- },
77
- {
78
- command: "attio",
79
- appName: "attio-cli",
80
- envPrefix: "WCATTIO",
81
- package: "@wirecat/attio-cli",
82
- does: "Attio CRM: deals, people and companies, searchable with your other WireCat data"
83
- },
84
- {
85
- command: "pbx",
86
- appName: "asterisk-cli",
87
- envPrefix: "PBX",
88
- package: "@wirecat/asterisk-cli",
89
- does: "Asterisk PBX calls and recordings, searchable with your other WireCat data"
90
- },
91
- {
92
- command: "notion",
93
- appName: "notion-cli",
94
- envPrefix: "WCNOTION",
95
- package: "@wirecat/notion-cli",
96
- does: "Notion pages and databases as local text, searchable with your other WireCat data"
97
- },
98
- {
99
- command: "ydisk",
100
- appName: "yandex-disk-cli",
101
- envPrefix: "YDISK",
102
- package: "@wirecat/yandex-disk-cli",
103
- does: "Yandex Disk folders as local text, searchable with your other WireCat data"
104
- },
105
- {
106
- command: "wordpress",
107
- appName: "wordpress-cli",
108
- envPrefix: "WCWP",
109
- package: "@wirecat/wordpress-cli",
110
- does: "WordPress posts and pages, searchable with your other WireCat data"
111
- },
112
- {
113
- command: "linear",
114
- appName: "linear-cli",
115
- envPrefix: "WCLINEAR",
116
- package: "@wirecat/linear-cli",
117
- does: "Linear issues and projects, searchable with your other WireCat data"
118
- }
119
- ];
120
-
121
- export {
122
- WIRECAT_TOOLS
123
- };
@@ -1,58 +0,0 @@
1
- import { createRequire as __bundleRequire } from "node:module";
2
- const require = __bundleRequire(import.meta.url);
3
- import {
4
- readSharedSection,
5
- sharedConfigPath,
6
- writeSharedSection
7
- } from "./chunk-SHQAYUK6.js";
8
- import {
9
- storePath
10
- } from "./chunk-FH2UFNH6.js";
11
- import {
12
- CliError
13
- } from "./chunk-IANKXHSE.js";
14
- import {
15
- __name
16
- } from "./chunk-ZVVMGPBJ.js";
17
-
18
- // 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/cli/setup-answers.js
19
- var PERMISSION_ANSWERS = ["readonly", "allow"];
20
- var QUESTIONS = ["languages", "tools", "permissions"];
21
- var SECTION = "setup";
22
- var readSetupAnswers = /* @__PURE__ */ __name((path) => {
23
- const section = readSharedSection(path, SECTION);
24
- if (section === void 0)
25
- return {};
26
- const answers = section;
27
- if (section === null || typeof section !== "object" || Array.isArray(section) || answers.languages !== void 0 && answers.languages !== true || answers.tools !== void 0 && answers.tools !== true || answers.permissions !== void 0 && !PERMISSION_ANSWERS.includes(answers.permissions))
28
- throw new CliError("configuration_error", `${path}: ${SECTION} holds what setup asked \u2014 languages: true, tools: true, permissions: ${PERMISSION_ANSWERS.join(" | ")}`);
29
- return answers;
30
- }, "readSetupAnswers");
31
- var unanswered = /* @__PURE__ */ __name((answers) => QUESTIONS.filter((question) => answers[question] === void 0), "unanswered");
32
- var writeSetupAnswers = /* @__PURE__ */ __name((path, answers) => {
33
- let kept = {};
34
- try {
35
- kept = readSetupAnswers(path);
36
- } catch (error) {
37
- if (!(error instanceof CliError) || !error.message.includes(`${SECTION} holds`))
38
- throw error;
39
- }
40
- writeSharedSection(path, SECTION, { ...kept, ...answers });
41
- }, "writeSetupAnswers");
42
- var permissionCeiling = /* @__PURE__ */ __name((path) => {
43
- try {
44
- return readSetupAnswers(path).permissions === "readonly" ? "readonly" : void 0;
45
- } catch {
46
- return void 0;
47
- }
48
- }, "permissionCeiling");
49
- var setupPermissionCeiling = /* @__PURE__ */ __name((env = process.env) => permissionCeiling(sharedConfigPath(storePath(env), env)), "setupPermissionCeiling");
50
-
51
- export {
52
- QUESTIONS,
53
- readSetupAnswers,
54
- unanswered,
55
- writeSetupAnswers,
56
- permissionCeiling,
57
- setupPermissionCeiling
58
- };
@@ -1,228 +0,0 @@
1
- import { createRequire as __bundleRequire } from "node:module";
2
- const require = __bundleRequire(import.meta.url);
3
- import {
4
- embeddingKeys,
5
- endpointKeyName,
6
- modelGateway
7
- } from "./chunk-6E4KLYNP.js";
8
- import {
9
- modelAddressAllowed,
10
- onThisComputer
11
- } from "./chunk-3KUEZK5Z.js";
12
- import {
13
- readSharedSection,
14
- sharedConfigPath,
15
- writeSharedSection
16
- } from "./chunk-SHQAYUK6.js";
17
- import {
18
- storePath
19
- } from "./chunk-FH2UFNH6.js";
20
- import {
21
- Credentials,
22
- isMovedRun,
23
- resolvePaths
24
- } from "./chunk-3QN5KDFZ.js";
25
- import {
26
- check,
27
- getDotPath,
28
- maxLength,
29
- minLength,
30
- optional,
31
- picklist,
32
- pipe,
33
- safeParse,
34
- strictObject,
35
- string,
36
- trim
37
- } from "./chunk-ESN3W2MZ.js";
38
- import {
39
- CliError
40
- } from "./chunk-IANKXHSE.js";
41
- import {
42
- __name
43
- } from "./chunk-ZVVMGPBJ.js";
44
-
45
- // 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/models/ai.js
46
- var AI_PROVIDERS = ["anthropic", "openai", "ollama"];
47
- var DEFAULT_BASE_URL = {
48
- anthropic: "https://api.anthropic.com",
49
- openai: "https://api.openai.com/v1",
50
- ollama: "http://127.0.0.1:11434/v1"
51
- };
52
- var OFFICIAL = {
53
- "https://api.openai.com": "openai",
54
- "https://api.anthropic.com": "anthropic"
55
- };
56
- var SECTION = "ai";
57
- var aiAddressAllowed = modelAddressAllowed;
58
- var consentShape = strictObject({
59
- origin: string(),
60
- model: string(),
61
- at: string()
62
- });
63
- var settingShape = strictObject({
64
- provider: picklist(AI_PROVIDERS),
65
- model: pipe(string(), trim(), minLength(1), maxLength(200)),
66
- base_url: optional(pipe(string(), check(aiAddressAllowed, "use https, or http only on this computer"))),
67
- images: optional(consentShape)
68
- });
69
- var aiSettingPath = /* @__PURE__ */ __name((env) => sharedConfigPath(storePath(env), env), "aiSettingPath");
70
- var readAiSetting = /* @__PURE__ */ __name((path) => {
71
- const section = readSharedSection(path, SECTION);
72
- if (section === void 0)
73
- return void 0;
74
- const checked = safeParse(settingShape, section);
75
- if (!checked.success)
76
- throw new CliError("configuration_error", `${path}: ai.${getDotPath(checked.issues[0]) ?? "setting"} is invalid`, {
77
- reason: "ai.setting-invalid"
78
- });
79
- return checked.output;
80
- }, "readAiSetting");
81
- var writeAiSetting = /* @__PURE__ */ __name((path, setting) => writeSharedSection(path, SECTION, setting), "writeAiSetting");
82
- var aiSettingOf = /* @__PURE__ */ __name((given) => {
83
- const draft = {
84
- provider: given.provider,
85
- model: given.model,
86
- ...given.baseUrl?.trim() ? { base_url: given.baseUrl.trim().replace(/\/+$/, "") } : {}
87
- };
88
- const checked = safeParse(settingShape, draft);
89
- if (!checked.success) {
90
- const field = getDotPath(checked.issues[0]);
91
- throw new CliError("validation_error", field === "provider" ? `the provider is one of ${AI_PROVIDERS.join(", ")}` : field === "base_url" ? "this address is not allowed: use https, or http only on this computer" : "name the model, 1 to 200 characters", { reason: field === "base_url" ? "model.address-refused" : "ai.setting-invalid" });
92
- }
93
- if (checked.output.provider === "ollama" && !onThisComputer(aiBaseUrl(checked.output)))
94
- throw new CliError("validation_error", "Ollama is read only on this computer", { reason: "model.address-refused" });
95
- return given.allowImages ? {
96
- ...checked.output,
97
- images: { origin: aiOrigin(checked.output), model: checked.output.model, at: (/* @__PURE__ */ new Date()).toISOString() }
98
- } : checked.output;
99
- }, "aiSettingOf");
100
- var aiBaseUrl = /* @__PURE__ */ __name((setting) => setting.base_url ?? DEFAULT_BASE_URL[setting.provider], "aiBaseUrl");
101
- var aiOrigin = /* @__PURE__ */ __name((setting) => new URL(aiBaseUrl(setting)).origin, "aiOrigin");
102
- var aiTarget = /* @__PURE__ */ __name((setting) => ({
103
- provider: setting.provider === "anthropic" ? "anthropic" : "openai",
104
- model: setting.model,
105
- baseUrl: aiBaseUrl(setting)
106
- }), "aiTarget");
107
- var aiImagesAllowed = /* @__PURE__ */ __name((setting) => setting.images?.origin === aiOrigin(setting) && setting.images.model === setting.model, "aiImagesAllowed");
108
- var aiKeys = /* @__PURE__ */ __name((app, env, keyring) => {
109
- const where = { appName: "WireCat", prefix: "WIRECAT", env };
110
- const credentials = new Credentials({
111
- configDir: resolvePaths(where).config,
112
- service: "WireCat",
113
- // A tool run with its own folders moved (MEMO_CONFIG_DIR…) is a test or a sandbox, not the owner.
114
- isolated: isMovedRun(where) || isMovedRun({ appName: app.appName, prefix: app.envPrefix, env }),
115
- env,
116
- ...keyring ? { keyring } : {},
117
- warn: /* @__PURE__ */ __name((message) => process.stderr.write(`${message}
118
- `), "warn")
119
- });
120
- const account = /* @__PURE__ */ __name((origin) => `ai:${origin}`, "account");
121
- return {
122
- read: /* @__PURE__ */ __name((origin) => {
123
- const stored = credentials.read(account(origin));
124
- if (stored)
125
- return { key: stored.secret, source: stored.source };
126
- const official = OFFICIAL[origin];
127
- const legacy = official ?? (origin.startsWith("https://") ? endpointKeyName(origin) : void 0);
128
- const found = legacy === void 0 ? void 0 : embeddingKeys(app, env, keyring).read(legacy);
129
- return found ? { key: found.key, source: found.source === "env" ? "environment" : found.source } : void 0;
130
- }, "read"),
131
- write: /* @__PURE__ */ __name((origin, key) => credentials.write(account(origin), key, { signIn: true }), "write"),
132
- remove: /* @__PURE__ */ __name((origin) => credentials.remove(account(origin)), "remove")
133
- };
134
- }, "aiKeys");
135
- var aiNeedsKey = /* @__PURE__ */ __name((setting) => aiLeavesComputer(setting), "aiNeedsKey");
136
- var aiTakesKey = /* @__PURE__ */ __name((setting) => setting.provider !== "ollama", "aiTakesKey");
137
- var keyFor = /* @__PURE__ */ __name((setting, deps) => aiTakesKey(setting) ? aiKeys(deps.app, deps.env, deps.keyring).read(aiOrigin(setting))?.key : void 0, "keyFor");
138
- var gatewayFor = /* @__PURE__ */ __name((setting, deps, key) => modelGateway({
139
- resolve: /* @__PURE__ */ __name(() => aiTarget(setting), "resolve"),
140
- consent: /* @__PURE__ */ __name(() => true, "consent"),
141
- key: /* @__PURE__ */ __name(() => key, "key"),
142
- env: deps.env,
143
- ...deps.fetch ? { fetch: deps.fetch } : {},
144
- ...deps.signal ? { signal: deps.signal } : {}
145
- }), "gatewayFor");
146
- var aiLeavesComputer = /* @__PURE__ */ __name((setting) => !onThisComputer(aiBaseUrl(setting)), "aiLeavesComputer");
147
- var sharedModel = /* @__PURE__ */ __name((deps) => {
148
- const setting = readAiSetting(aiSettingPath(deps.env));
149
- if (!setting)
150
- return void 0;
151
- return { target: { ...aiTarget(setting), baseUrl: aiBaseUrl(setting) }, key: keyFor(setting, deps), setting };
152
- }, "sharedModel");
153
- var aiTextReader = /* @__PURE__ */ __name((deps) => {
154
- const setting = readAiSetting(aiSettingPath(deps.env));
155
- if (!setting)
156
- return { refused: "ai.not-set" };
157
- const key = keyFor(setting, deps);
158
- if (aiNeedsKey(setting) && !key)
159
- return { refused: "ai.key-missing" };
160
- const gateway = gatewayFor(setting, deps, key);
161
- return {
162
- by: `${setting.provider}/${setting.model}`,
163
- leavesComputer: aiLeavesComputer(setting),
164
- complete: /* @__PURE__ */ __name(async (request) => (await gateway.complete(request)).text, "complete"),
165
- answer: /* @__PURE__ */ __name(async (request) => {
166
- const { text, usage } = await gateway.complete(request);
167
- return usage ? { text, usage } : { text };
168
- }, "answer")
169
- };
170
- }, "aiTextReader");
171
- var reasonOf = /* @__PURE__ */ __name((error) => {
172
- if (!(error instanceof CliError))
173
- return "ai.failed";
174
- if (error.code === "rate_limited")
175
- return "ai.rate-limited";
176
- const { reason, status } = error.details;
177
- if (reason === "model.key-rejected")
178
- return "ai.key-rejected";
179
- if (reason === "model.unreachable")
180
- return "ai.unreachable";
181
- if (reason === "model.empty-answer")
182
- return "ai.empty-answer";
183
- if (status === 402)
184
- return "ai.no-credit";
185
- if (status === 404)
186
- return "ai.model-unknown";
187
- if (typeof status === "number" && status >= 500)
188
- return "ai.provider-error";
189
- return "ai.failed";
190
- }, "reasonOf");
191
- var checkAi = /* @__PURE__ */ __name(async (deps) => {
192
- const setting = readAiSetting(aiSettingPath(deps.env));
193
- if (!setting)
194
- return { ok: false, reason: "ai.not-set", ms: null };
195
- const key = keyFor(setting, deps);
196
- if (aiNeedsKey(setting) && !key)
197
- return { ok: false, reason: "ai.key-missing", ms: null };
198
- const started = Date.now();
199
- try {
200
- await gatewayFor(setting, deps, key).complete({
201
- purpose: "check",
202
- system: "Reply with the word OK.",
203
- prompt: "OK?",
204
- // Reasoning models spend tokens before they answer; too low a cap reads as a broken setup.
205
- maxTokens: 2048
206
- });
207
- return { ok: true, reason: "ai.ok", ms: Date.now() - started };
208
- } catch (error) {
209
- return { ok: false, reason: reasonOf(error), ms: null };
210
- }
211
- }, "checkAi");
212
-
213
- export {
214
- AI_PROVIDERS,
215
- aiSettingPath,
216
- readAiSetting,
217
- writeAiSetting,
218
- aiSettingOf,
219
- aiBaseUrl,
220
- aiOrigin,
221
- aiImagesAllowed,
222
- aiKeys,
223
- aiTakesKey,
224
- aiLeavesComputer,
225
- sharedModel,
226
- aiTextReader,
227
- checkAi
228
- };