@wirecat/zoom-cli 0.82.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 (492) hide show
  1. package/README.md +12 -12
  2. package/contracts/wirecat.json +88 -55
  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 +2 -2
  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 +4 -17
  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-AF2Z6VOG.js +137 -0
  45. package/dist/bundle/{chunk-MAJJ4PG3.js → chunk-DAYBU7WR.js} +79 -396
  46. package/dist/bundle/{chunk-XQQVMECZ.js → chunk-JD63PEI3.js} +3 -8
  47. package/dist/bundle/{chunk-UL2PXLKT.js → chunk-L5ZYKXAY.js} +392 -129
  48. package/dist/bundle/{chunk-2SWKQ7C4.js → chunk-W4TDCCT3.js} +8 -2
  49. package/dist/bundle/{chunk-AC6VJNMJ.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-LXOL4N4S.js → folders-B2GKJOC2.js} +2 -7
  53. package/dist/bundle/{main-YAA7WQ23.js → main-YZPLPXB7.js} +21 -53
  54. package/dist/bundle/{output-file-2UB5JP3R.js → output-file-PKA7MJEP.js} +3 -11
  55. package/dist/bundle/{program-GVCGZP27.js → program-7JY6XJ6K.js} +714 -935
  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-YWFB367P.js → zoom-app-EYJST6GF.js} +4 -10
  62. package/dist/chat-file.d.ts +1 -1
  63. package/dist/chat-file.d.ts.map +1 -1
  64. package/dist/commands.d.ts +1 -8
  65. package/dist/commands.d.ts.map +1 -1
  66. package/dist/commands.js +3 -33
  67. package/dist/commands.js.map +1 -1
  68. package/dist/config-issues.d.ts +1 -1
  69. package/dist/config-issues.d.ts.map +1 -1
  70. package/dist/config-issues.js +1 -1
  71. package/dist/config-issues.js.map +1 -1
  72. package/dist/config.d.ts +1 -2
  73. package/dist/config.d.ts.map +1 -1
  74. package/dist/config.js +1 -2
  75. package/dist/config.js.map +1 -1
  76. package/dist/contacts-commands.d.ts +1 -1
  77. package/dist/contacts-commands.d.ts.map +1 -1
  78. package/dist/contacts-commands.js +1 -1
  79. package/dist/contacts-commands.js.map +1 -1
  80. package/dist/contract-overrides.js +1 -1
  81. package/dist/contract-overrides.js.map +1 -1
  82. package/dist/errors.d.ts +1 -1
  83. package/dist/errors.d.ts.map +1 -1
  84. package/dist/execution.d.ts +1 -1
  85. package/dist/execution.d.ts.map +1 -1
  86. package/dist/execution.js +1 -1
  87. package/dist/execution.js.map +1 -1
  88. package/dist/files.d.ts +2 -2
  89. package/dist/files.d.ts.map +1 -1
  90. package/dist/files.js +1 -1
  91. package/dist/files.js.map +1 -1
  92. package/dist/first-screen.js +1 -1
  93. package/dist/first-screen.js.map +1 -1
  94. package/dist/identity.d.ts +1 -1
  95. package/dist/identity.d.ts.map +1 -1
  96. package/dist/identity.js +6 -0
  97. package/dist/identity.js.map +1 -1
  98. package/dist/index.d.ts +1 -2
  99. package/dist/index.d.ts.map +1 -1
  100. package/dist/index.js +1 -2
  101. package/dist/index.js.map +1 -1
  102. package/dist/ingestion-search-commands.d.ts +1 -1
  103. package/dist/ingestion-search-commands.d.ts.map +1 -1
  104. package/dist/ingestion-search-commands.js +1 -1
  105. package/dist/ingestion-search-commands.js.map +1 -1
  106. package/dist/local-transcription-commands.d.ts +1 -1
  107. package/dist/local-transcription-commands.d.ts.map +1 -1
  108. package/dist/local-transcription-commands.js +1 -2
  109. package/dist/local-transcription-commands.js.map +1 -1
  110. package/dist/local-transcription.d.ts +1 -2
  111. package/dist/local-transcription.d.ts.map +1 -1
  112. package/dist/local-transcription.js +3 -3
  113. package/dist/local-transcription.js.map +1 -1
  114. package/dist/meeting-commands.d.ts +1 -1
  115. package/dist/meeting-commands.d.ts.map +1 -1
  116. package/dist/meeting-commands.js +1 -2
  117. package/dist/meeting-commands.js.map +1 -1
  118. package/dist/meeting-communications-binding.d.ts +1 -2
  119. package/dist/meeting-communications-binding.d.ts.map +1 -1
  120. package/dist/meeting-communications-binding.js.map +1 -1
  121. package/dist/meeting-context-commands.d.ts +1 -1
  122. package/dist/meeting-context-commands.d.ts.map +1 -1
  123. package/dist/meeting-context-commands.js +1 -1
  124. package/dist/meeting-context-commands.js.map +1 -1
  125. package/dist/meeting-context.d.ts +2 -4
  126. package/dist/meeting-context.d.ts.map +1 -1
  127. package/dist/meeting-context.js +1 -1
  128. package/dist/meeting-context.js.map +1 -1
  129. package/dist/meeting-integration-commands.d.ts +1 -1
  130. package/dist/meeting-integration-commands.d.ts.map +1 -1
  131. package/dist/meeting-integration-commands.js +1 -2
  132. package/dist/meeting-integration-commands.js.map +1 -1
  133. package/dist/meeting-integration.d.ts +1 -1
  134. package/dist/meeting-integration.d.ts.map +1 -1
  135. package/dist/meeting-integration.js +1 -1
  136. package/dist/meeting-integration.js.map +1 -1
  137. package/dist/meeting-inventory.d.ts +1 -1
  138. package/dist/meeting-inventory.d.ts.map +1 -1
  139. package/dist/meeting-inventory.js +1 -1
  140. package/dist/meeting-inventory.js.map +1 -1
  141. package/dist/meeting-preparation.d.ts +1 -2
  142. package/dist/meeting-preparation.d.ts.map +1 -1
  143. package/dist/meeting-preparation.js +1 -1
  144. package/dist/meeting-preparation.js.map +1 -1
  145. package/dist/meeting-project-candidates.d.ts +1 -1
  146. package/dist/meeting-project-candidates.d.ts.map +1 -1
  147. package/dist/meeting-project-evidence-commands.d.ts +1 -1
  148. package/dist/meeting-project-evidence-commands.d.ts.map +1 -1
  149. package/dist/meeting-project-evidence-commands.js +1 -2
  150. package/dist/meeting-project-evidence-commands.js.map +1 -1
  151. package/dist/meeting-read-command-bindings.js +1 -1
  152. package/dist/meeting-read-command-bindings.js.map +1 -1
  153. package/dist/meeting-review-commands.d.ts +1 -3
  154. package/dist/meeting-review-commands.d.ts.map +1 -1
  155. package/dist/meeting-review-commands.js +1 -2
  156. package/dist/meeting-review-commands.js.map +1 -1
  157. package/dist/meeting-search-commands.d.ts +2 -3
  158. package/dist/meeting-search-commands.d.ts.map +1 -1
  159. package/dist/meeting-search-commands.js +2 -4
  160. package/dist/meeting-search-commands.js.map +1 -1
  161. package/dist/meeting-searches-commands.d.ts +1 -2
  162. package/dist/meeting-searches-commands.d.ts.map +1 -1
  163. package/dist/meeting-searches-commands.js +1 -2
  164. package/dist/meeting-searches-commands.js.map +1 -1
  165. package/dist/meeting-selection-options.d.ts +1 -1
  166. package/dist/meeting-selection-options.d.ts.map +1 -1
  167. package/dist/meeting-selection-options.js +1 -2
  168. package/dist/meeting-selection-options.js.map +1 -1
  169. package/dist/meeting-semantic-commands.d.ts +1 -2
  170. package/dist/meeting-semantic-commands.d.ts.map +1 -1
  171. package/dist/meeting-semantic-commands.js +1 -1
  172. package/dist/meeting-semantic-commands.js.map +1 -1
  173. package/dist/meeting-semantic.d.ts +2 -2
  174. package/dist/meeting-semantic.d.ts.map +1 -1
  175. package/dist/meeting-semantic.js +1 -1
  176. package/dist/meeting-semantic.js.map +1 -1
  177. package/dist/meeting-source.d.ts +1 -1
  178. package/dist/meeting-source.d.ts.map +1 -1
  179. package/dist/meeting-stats-commands.d.ts +1 -3
  180. package/dist/meeting-stats-commands.d.ts.map +1 -1
  181. package/dist/meeting-stats-commands.js +1 -2
  182. package/dist/meeting-stats-commands.js.map +1 -1
  183. package/dist/models-commands.d.ts +1 -1
  184. package/dist/models-commands.d.ts.map +1 -1
  185. package/dist/models-commands.js +1 -1
  186. package/dist/models-commands.js.map +1 -1
  187. package/dist/occurrence-schedule.d.ts +1 -1
  188. package/dist/occurrence-schedule.d.ts.map +1 -1
  189. package/dist/permissions.d.ts +1 -1
  190. package/dist/permissions.d.ts.map +1 -1
  191. package/dist/permissions.js +1 -2
  192. package/dist/permissions.js.map +1 -1
  193. package/dist/profile.js +1 -1
  194. package/dist/profile.js.map +1 -1
  195. package/dist/program-bindings.d.ts.map +1 -1
  196. package/dist/program-bindings.js +3 -13
  197. package/dist/program-bindings.js.map +1 -1
  198. package/dist/program.d.ts +4 -7
  199. package/dist/program.d.ts.map +1 -1
  200. package/dist/program.js +1 -1
  201. package/dist/program.js.map +1 -1
  202. package/dist/progress-commands.d.ts +1 -1
  203. package/dist/progress-commands.d.ts.map +1 -1
  204. package/dist/progress-commands.js +1 -2
  205. package/dist/progress-commands.js.map +1 -1
  206. package/dist/read-only.js +1 -1
  207. package/dist/read-only.js.map +1 -1
  208. package/dist/recording-archive.d.ts.map +1 -1
  209. package/dist/recording-archive.js +1 -2
  210. package/dist/recording-archive.js.map +1 -1
  211. package/dist/recording-manifest.js +1 -1
  212. package/dist/recording-manifest.js.map +1 -1
  213. package/dist/recording-partial-store.d.ts +2 -3
  214. package/dist/recording-partial-store.d.ts.map +1 -1
  215. package/dist/recording-partial-store.js +1 -1
  216. package/dist/recording-partial-store.js.map +1 -1
  217. package/dist/recording-promotion-store.d.ts +1 -2
  218. package/dist/recording-promotion-store.d.ts.map +1 -1
  219. package/dist/recording-promotion-store.js +1 -2
  220. package/dist/recording-promotion-store.js.map +1 -1
  221. package/dist/recording-schedule-commands.d.ts +1 -1
  222. package/dist/recording-schedule-commands.d.ts.map +1 -1
  223. package/dist/recording-schedule-commands.js +1 -1
  224. package/dist/recording-schedule-commands.js.map +1 -1
  225. package/dist/recording-schedule-store.js +1 -1
  226. package/dist/recording-schedule-store.js.map +1 -1
  227. package/dist/recording-schedule-systemd.js +1 -1
  228. package/dist/recording-schedule-systemd.js.map +1 -1
  229. package/dist/recording-schedule.d.ts +1 -1
  230. package/dist/recording-schedule.d.ts.map +1 -1
  231. package/dist/recording-schedule.js +1 -1
  232. package/dist/recording-schedule.js.map +1 -1
  233. package/dist/recording-sync-store.d.ts +1 -1
  234. package/dist/recording-sync-store.d.ts.map +1 -1
  235. package/dist/recording-sync-store.js +1 -2
  236. package/dist/recording-sync-store.js.map +1 -1
  237. package/dist/recording-sync.d.ts +1 -1
  238. package/dist/recording-sync.d.ts.map +1 -1
  239. package/dist/recording-sync.js +1 -1
  240. package/dist/recording-sync.js.map +1 -1
  241. package/dist/recording-writer-lease.d.ts +1 -1
  242. package/dist/recording-writer-lease.d.ts.map +1 -1
  243. package/dist/recording-writer-lease.js +1 -1
  244. package/dist/recording-writer-lease.js.map +1 -1
  245. package/dist/recordings.d.ts +1 -1
  246. package/dist/recordings.d.ts.map +1 -1
  247. package/dist/recordings.js.map +1 -1
  248. package/dist/remote-meetings.d.ts +19 -19
  249. package/dist/remote-meetings.d.ts.map +1 -1
  250. package/dist/remote-meetings.js +1 -1
  251. package/dist/remote-meetings.js.map +1 -1
  252. package/dist/request-events.d.ts +1 -1
  253. package/dist/request-events.d.ts.map +1 -1
  254. package/dist/request-events.js +1 -1
  255. package/dist/request-events.js.map +1 -1
  256. package/dist/run-log.d.ts +1 -1
  257. package/dist/run-log.d.ts.map +1 -1
  258. package/dist/run-log.js +1 -1
  259. package/dist/run-log.js.map +1 -1
  260. package/dist/run.d.ts +1 -1
  261. package/dist/run.d.ts.map +1 -1
  262. package/dist/run.js +6 -2
  263. package/dist/run.js.map +1 -1
  264. package/dist/series-inventory.d.ts +2 -2
  265. package/dist/series-inventory.js +1 -1
  266. package/dist/series-inventory.js.map +1 -1
  267. package/dist/setup-commands.d.ts +6 -15
  268. package/dist/setup-commands.d.ts.map +1 -1
  269. package/dist/setup-commands.js +7 -142
  270. package/dist/setup-commands.js.map +1 -1
  271. package/dist/store-commands.d.ts +1 -1
  272. package/dist/store-commands.d.ts.map +1 -1
  273. package/dist/store-commands.js +1 -2
  274. package/dist/store-commands.js.map +1 -1
  275. package/dist/store-connection.d.ts +1 -3
  276. package/dist/store-connection.d.ts.map +1 -1
  277. package/dist/store-connection.js +14 -14
  278. package/dist/store-connection.js.map +1 -1
  279. package/dist/sync-progress.d.ts +4 -4
  280. package/dist/sync-progress.d.ts.map +1 -1
  281. package/dist/sync-progress.js +1 -1
  282. package/dist/sync-progress.js.map +1 -1
  283. package/dist/tokens.d.ts +20 -44
  284. package/dist/tokens.d.ts.map +1 -1
  285. package/dist/tokens.js +95 -308
  286. package/dist/tokens.js.map +1 -1
  287. package/dist/unified-search.d.ts +1 -1
  288. package/dist/unified-search.d.ts.map +1 -1
  289. package/dist/upcoming-meetings.d.ts +2 -2
  290. package/dist/upcoming-meetings.js +1 -1
  291. package/dist/upcoming-meetings.js.map +1 -1
  292. package/dist/upgrade.d.ts.map +1 -1
  293. package/dist/upgrade.js +1 -2
  294. package/dist/upgrade.js.map +1 -1
  295. package/dist/version.d.ts +1 -1
  296. package/dist/version.js +1 -1
  297. package/dist/watch-commands.d.ts +1 -2
  298. package/dist/watch-commands.d.ts.map +1 -1
  299. package/dist/watch-commands.js +1 -2
  300. package/dist/watch-commands.js.map +1 -1
  301. package/dist/watch-service.d.ts +1 -1
  302. package/dist/watch-service.d.ts.map +1 -1
  303. package/dist/watch-service.js +1 -1
  304. package/dist/watch-service.js.map +1 -1
  305. package/dist/zoom-app.d.ts +2 -2
  306. package/dist/zoom-app.d.ts.map +1 -1
  307. package/dist/zoom-app.js +2 -2
  308. package/dist/zoom-app.js.map +1 -1
  309. package/dist/zoom-search-commands.d.ts +1 -1
  310. package/dist/zoom-search-commands.d.ts.map +1 -1
  311. package/dist/zoom-search-commands.js +1 -1
  312. package/dist/zoom-search-commands.js.map +1 -1
  313. package/dist/zoom-session.d.ts +6 -0
  314. package/dist/zoom-session.d.ts.map +1 -0
  315. package/dist/zoom-session.js +72 -0
  316. package/dist/zoom-session.js.map +1 -0
  317. package/package.json +3 -3
  318. package/scenarios/person-in-meetings.md +1 -1
  319. package/skills/zoom-cli/SKILL.md +1 -1
  320. package/skills/zoom-cli/references/people-and-projects.md +5 -5
  321. package/skills/zoom-cli/references/prepare.md +2 -2
  322. package/skills/zoom-cli/references/setup.md +2 -2
  323. package/dist/bundle/agent-F4TRJWWS.js +0 -46
  324. package/dist/bundle/all-profiles-RULEKTDQ.js +0 -321
  325. package/dist/bundle/answer-policy-6XC57AEZ.js +0 -131
  326. package/dist/bundle/anthropic-4NAQBZFL.js +0 -91
  327. package/dist/bundle/app-server-VLR42U5L.js +0 -266
  328. package/dist/bundle/bun-OPDGMZZQ.js +0 -169
  329. package/dist/bundle/bun-sqlite-HC6X4AOX.js +0 -76
  330. package/dist/bundle/chunk-274SLQNW.js +0 -54
  331. package/dist/bundle/chunk-2CI2OEZQ.js +0 -101
  332. package/dist/bundle/chunk-2DBF2IIC.js +0 -330
  333. package/dist/bundle/chunk-2GP573Q4.js +0 -67190
  334. package/dist/bundle/chunk-2JHVQMVC.js +0 -16
  335. package/dist/bundle/chunk-2XBDILVW.js +0 -53
  336. package/dist/bundle/chunk-3HC5F3P7.js +0 -24
  337. package/dist/bundle/chunk-3YM4B2GT.js +0 -63
  338. package/dist/bundle/chunk-4HLQ2JGK.js +0 -276
  339. package/dist/bundle/chunk-4N7PP76S.js +0 -6848
  340. package/dist/bundle/chunk-52Y4ETKU.js +0 -230
  341. package/dist/bundle/chunk-5HAUK3I4.js +0 -27160
  342. package/dist/bundle/chunk-5KYQ53EF.js +0 -357
  343. package/dist/bundle/chunk-5TU7Y5UW.js +0 -218
  344. package/dist/bundle/chunk-66ALX4ZI.js +0 -1068
  345. package/dist/bundle/chunk-676C2LE6.js +0 -229
  346. package/dist/bundle/chunk-6CWL5BKG.js +0 -3012
  347. package/dist/bundle/chunk-6QYZP4E2.js +0 -73
  348. package/dist/bundle/chunk-6VK332XS.js +0 -170
  349. package/dist/bundle/chunk-73MOMNLL.js +0 -94
  350. package/dist/bundle/chunk-7QPIUMUG.js +0 -198
  351. package/dist/bundle/chunk-7UVDPRFK.js +0 -259
  352. package/dist/bundle/chunk-A6EZK5RG.js +0 -142
  353. package/dist/bundle/chunk-ACI4YIEH.js +0 -331
  354. package/dist/bundle/chunk-AIKFOBDO.js +0 -1024
  355. package/dist/bundle/chunk-ASBDFXLS.js +0 -295
  356. package/dist/bundle/chunk-B32KZRQM.js +0 -2338
  357. package/dist/bundle/chunk-BBGJQMRI.js +0 -34
  358. package/dist/bundle/chunk-BDKVOU3I.js +0 -52
  359. package/dist/bundle/chunk-BP4FYANF.js +0 -335
  360. package/dist/bundle/chunk-D72URWJE.js +0 -532
  361. package/dist/bundle/chunk-DCYFT3FR.js +0 -161
  362. package/dist/bundle/chunk-DFDN6AUB.js +0 -21
  363. package/dist/bundle/chunk-DNCLQPOM.js +0 -7
  364. package/dist/bundle/chunk-DSZYABYL.js +0 -808
  365. package/dist/bundle/chunk-E745WZKY.js +0 -1199
  366. package/dist/bundle/chunk-EGTCQKHV.js +0 -340
  367. package/dist/bundle/chunk-EQG3PIH2.js +0 -108
  368. package/dist/bundle/chunk-ESN3W2MZ.js +0 -2624
  369. package/dist/bundle/chunk-FXBHOCJK.js +0 -24600
  370. package/dist/bundle/chunk-G46WJ7YO.js +0 -95
  371. package/dist/bundle/chunk-G6PETRMV.js +0 -64
  372. package/dist/bundle/chunk-GBHMT2IU.js +0 -755
  373. package/dist/bundle/chunk-GGMAIIVE.js +0 -38
  374. package/dist/bundle/chunk-GTKPMYK7.js +0 -72
  375. package/dist/bundle/chunk-GWGHH56B.js +0 -374
  376. package/dist/bundle/chunk-HC6VN5CO.js +0 -692
  377. package/dist/bundle/chunk-HP7A2ZOP.js +0 -185
  378. package/dist/bundle/chunk-HTQTIKWP.js +0 -928
  379. package/dist/bundle/chunk-HZENBDW2.js +0 -209
  380. package/dist/bundle/chunk-IANKXHSE.js +0 -46
  381. package/dist/bundle/chunk-ICPJT672.js +0 -228
  382. package/dist/bundle/chunk-JQ54DYAQ.js +0 -80
  383. package/dist/bundle/chunk-K5JGJIV2.js +0 -640
  384. package/dist/bundle/chunk-KJ6USQDZ.js +0 -616
  385. package/dist/bundle/chunk-KKFY23AK.js +0 -5150
  386. package/dist/bundle/chunk-KQPUVXKX.js +0 -84
  387. package/dist/bundle/chunk-KVJ3I7UL.js +0 -1007
  388. package/dist/bundle/chunk-KWU46LNK.js +0 -288
  389. package/dist/bundle/chunk-KXJ3JEDH.js +0 -2
  390. package/dist/bundle/chunk-L75SMSJR.js +0 -133
  391. package/dist/bundle/chunk-LAYYO4WD.js +0 -31
  392. package/dist/bundle/chunk-LEKKTJKK.js +0 -2336
  393. package/dist/bundle/chunk-M7H4MCAX.js +0 -388
  394. package/dist/bundle/chunk-MQLPZBMQ.js +0 -58
  395. package/dist/bundle/chunk-N3JLO63O.js +0 -13
  396. package/dist/bundle/chunk-N46F72AF.js +0 -410
  397. package/dist/bundle/chunk-NB7EOAUZ.js +0 -123
  398. package/dist/bundle/chunk-NEMX3UNN.js +0 -76
  399. package/dist/bundle/chunk-OBXQLFT5.js +0 -82
  400. package/dist/bundle/chunk-OGNO35A2.js +0 -262
  401. package/dist/bundle/chunk-OIPYBF43.js +0 -100
  402. package/dist/bundle/chunk-OO4TRVPB.js +0 -185
  403. package/dist/bundle/chunk-OQFQ77AY.js +0 -9352
  404. package/dist/bundle/chunk-PL5P7UKW.js +0 -25216
  405. package/dist/bundle/chunk-PMUPN6JW.js +0 -773
  406. package/dist/bundle/chunk-PSKTMMCO.js +0 -561
  407. package/dist/bundle/chunk-PWVJUIDQ.js +0 -106
  408. package/dist/bundle/chunk-Q7ICVP25.js +0 -18
  409. package/dist/bundle/chunk-QG6PILDO.js +0 -195
  410. package/dist/bundle/chunk-QPHBK63S.js +0 -25
  411. package/dist/bundle/chunk-QVSL5WJ7.js +0 -46524
  412. package/dist/bundle/chunk-QVYAV7F2.js +0 -58
  413. package/dist/bundle/chunk-R2B6PUVI.js +0 -206
  414. package/dist/bundle/chunk-RQOZBTNI.js +0 -86
  415. package/dist/bundle/chunk-T7IAWEBU.js +0 -362
  416. package/dist/bundle/chunk-TKNM22OH.js +0 -71
  417. package/dist/bundle/chunk-TKVBFJ5C.js +0 -37
  418. package/dist/bundle/chunk-TXDR6YSF.js +0 -23
  419. package/dist/bundle/chunk-TY7NDMFY.js +0 -46
  420. package/dist/bundle/chunk-UAWSINMC.js +0 -875
  421. package/dist/bundle/chunk-UKAAAOPC.js +0 -1251
  422. package/dist/bundle/chunk-UQCTXZEP.js +0 -214
  423. package/dist/bundle/chunk-UR5DBODY.js +0 -1345
  424. package/dist/bundle/chunk-V5EJSF2B.js +0 -12235
  425. package/dist/bundle/chunk-VB72LTSZ.js +0 -210
  426. package/dist/bundle/chunk-VB7FZOYX.js +0 -633
  427. package/dist/bundle/chunk-VS6WURLX.js +0 -217
  428. package/dist/bundle/chunk-VZ5PPYDG.js +0 -77
  429. package/dist/bundle/chunk-W5QHB53X.js +0 -3752
  430. package/dist/bundle/chunk-WMANRJR5.js +0 -555
  431. package/dist/bundle/chunk-WOPVBRPV.js +0 -29
  432. package/dist/bundle/chunk-XQ2WL3HB.js +0 -140
  433. package/dist/bundle/chunk-Y5E2WNWB.js +0 -35
  434. package/dist/bundle/chunk-Y6PVS55U.js +0 -800
  435. package/dist/bundle/chunk-YJXJJ2XP.js +0 -2333
  436. package/dist/bundle/chunk-YY7XKHDY.js +0 -79
  437. package/dist/bundle/chunk-ZED2CJW5.js +0 -353
  438. package/dist/bundle/chunk-ZOYOXWJB.js +0 -746
  439. package/dist/bundle/chunk-ZVVMGPBJ.js +0 -50
  440. package/dist/bundle/cli-U4O5XB7J.js +0 -1255
  441. package/dist/bundle/command-contract-FBTK6GQX.js +0 -45
  442. package/dist/bundle/command-server-entry-KKH6ZWJV.js +0 -175
  443. package/dist/bundle/config-FRJSIZNN.js +0 -118
  444. package/dist/bundle/decode-TPCNXEK4.js +0 -31
  445. package/dist/bundle/dispatch-FKMIPCPQ.js +0 -412
  446. package/dist/bundle/dist-7CLBCYZN.js +0 -321
  447. package/dist/bundle/dist-PAKDDIBT.js +0 -191
  448. package/dist/bundle/dist-XUFQCJXW.js +0 -7577
  449. package/dist/bundle/echarts-O3TNDAXJ.js +0 -42501
  450. package/dist/bundle/embed-WCJSFVSK.js +0 -38
  451. package/dist/bundle/embedder-TBBUPXBX.js +0 -111
  452. package/dist/bundle/failure-XTWBYI2A.js +0 -25
  453. package/dist/bundle/first-run-ELEMFW42.js +0 -29
  454. package/dist/bundle/first-screen-DIOBWMKP.js +0 -46
  455. package/dist/bundle/instructions-AMH5RWVJ.js +0 -11
  456. package/dist/bundle/mcp-5HFPWC3W.js +0 -167
  457. package/dist/bundle/meeting-combined-UXCF4SJ3.js +0 -26
  458. package/dist/bundle/meeting-model-3BZJ3EQP.js +0 -26
  459. package/dist/bundle/meeting-semantic-3HU7I2SJ.js +0 -23
  460. package/dist/bundle/meetings-XWMB6FOH.js +0 -332
  461. package/dist/bundle/node-EGMCBAO7.js +0 -176
  462. package/dist/bundle/node-KM3CUABH.js +0 -2340
  463. package/dist/bundle/node-TLZSIHIJ.js +0 -21
  464. package/dist/bundle/node-sqlite-IJBWENFX.js +0 -74
  465. package/dist/bundle/oauth-SZDDAP7A.js +0 -20
  466. package/dist/bundle/open-NS3TMKZX.js +0 -23
  467. package/dist/bundle/openai-4DN6WI3B.js +0 -28
  468. package/dist/bundle/process-SGHEN6MQ.js +0 -91
  469. package/dist/bundle/prompt-HJFMPFVC.js +0 -17
  470. package/dist/bundle/public-C2ZB2AGQ.js +0 -198
  471. package/dist/bundle/recognize-2SEI5PPM.js +0 -26
  472. package/dist/bundle/remote-2DMS74XE.js +0 -32
  473. package/dist/bundle/rerank-H6GCYVIA.js +0 -52
  474. package/dist/bundle/run-log-QU26SUZP.js +0 -145
  475. package/dist/bundle/serve-ODVRPFJO.js +0 -199
  476. package/dist/bundle/server-NBPF6IDZ.js +0 -95
  477. package/dist/bundle/server-PCLIO24L.js +0 -228
  478. package/dist/bundle/services-4QAPXBLO.js +0 -607
  479. package/dist/bundle/speech-MA6ZT3WE.js +0 -89
  480. package/dist/bundle/sqlite-runtime-PVMAUXRN.js +0 -20
  481. package/dist/bundle/state-QFMTYUME.js +0 -36
  482. package/dist/bundle/store-25OTAQC3.js +0 -187
  483. package/dist/bundle/store-F724QIKJ.js +0 -305
  484. package/dist/bundle/store-connection-OGPXANGB.js +0 -111
  485. package/dist/bundle/store-maintenance-command-2CM7LLNQ.js +0 -83
  486. package/dist/bundle/streaming-S22C4DG5.js +0 -18
  487. package/dist/bundle/surface-7PXHWCF6.js +0 -81
  488. package/dist/bundle/tokens-NLUHA2DW.js +0 -25
  489. package/dist/login.d.ts +0 -16
  490. package/dist/login.d.ts.map +0 -1
  491. package/dist/login.js +0 -98
  492. package/dist/login.js.map +0 -1
@@ -1,388 +0,0 @@
1
- import { createRequire as __bundleRequire } from "node:module";
2
- const require = __bundleRequire(import.meta.url);
3
- import {
4
- CHECK_EVERY_MS,
5
- isNewer,
6
- readNoticeState,
7
- writeUpdateState
8
- } from "./chunk-A6EZK5RG.js";
9
- import {
10
- executableEnvironment,
11
- executableOnPath
12
- } from "./chunk-TY7NDMFY.js";
13
- import {
14
- Command,
15
- Option,
16
- annotate
17
- } from "./chunk-V5EJSF2B.js";
18
- import {
19
- require_cross_spawn
20
- } from "./chunk-D72URWJE.js";
21
- import {
22
- refuseOwnerHomeInTests
23
- } from "./chunk-6CWL5BKG.js";
24
- import {
25
- CliError
26
- } from "./chunk-IANKXHSE.js";
27
- import {
28
- __name,
29
- __toESM
30
- } from "./chunk-ZVVMGPBJ.js";
31
-
32
- // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/skill/index.js
33
- import { existsSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
34
- import { homedir } from "node:os";
35
- import { basename, dirname, join, relative, resolve, sep } from "node:path";
36
- import { fileURLToPath, pathToFileURL } from "node:url";
37
- var import_cross_spawn = __toESM(require_cross_spawn(), 1);
38
- var SKILL_TARGETS = ["claude", "agents"];
39
- var homeOf = /* @__PURE__ */ __name((env) => {
40
- refuseOwnerHomeInTests(env);
41
- return env.HOME || env.USERPROFILE || homedir();
42
- }, "homeOf");
43
- var skillPath = /* @__PURE__ */ __name((target, appName, env) => join(homeOf(env), target === "claude" ? ".claude" : ".agents", "skills", appName, "SKILL.md"), "skillPath");
44
- var FRONTMATTER = /^---(\r?\n)([\s\S]*?\r?\n)?---(\r?\n|$)/;
45
- var scalar = /* @__PURE__ */ __name((key, indent) => new RegExp(`^${indent}${key}:[ \\t]*["']?([^"'\\r\\n]*?)["']?[ \\t]*\\r?\\n?$`), "scalar");
46
- var frontmatterLines = /* @__PURE__ */ __name((content) => (FRONTMATTER.exec(content)?.[2] ?? "").split(/(?<=\n)/), "frontmatterLines");
47
- var metadataBlock = /* @__PURE__ */ __name((lines) => {
48
- const start = lines.findIndex((line) => /^metadata:/.test(line));
49
- if (start === -1)
50
- return void 0;
51
- if (!/^metadata:[ \t]*\r?\n?$/.test(lines[start])) {
52
- throw new CliError("configuration_error", "SKILL.md: write `metadata` as an indented block, not on one line");
53
- }
54
- let end = start + 1;
55
- while (end < lines.length && /^[ \t]/.test(lines[end]))
56
- end++;
57
- return [start, end];
58
- }, "metadataBlock");
59
- var skillVersion = /* @__PURE__ */ __name((content) => {
60
- const lines = frontmatterLines(content);
61
- const block = metadataBlock(lines);
62
- const nested = block && lines.slice(block[0] + 1, block[1]).find((line2) => scalar("version", "[ \\t]+").test(line2));
63
- const line = nested ?? lines.find((line2) => scalar("version", "").test(line2));
64
- return line === void 0 ? void 0 : scalar("version", "[ \\t]*").exec(line)?.[1];
65
- }, "skillVersion");
66
- var skillName = /* @__PURE__ */ __name((content) => {
67
- const line = frontmatterLines(content).find((line2) => scalar("name", "").test(line2));
68
- return line === void 0 ? void 0 : scalar("name", "").exec(line)?.[1];
69
- }, "skillName");
70
- var withVersion = /* @__PURE__ */ __name((content, version) => {
71
- const match = FRONTMATTER.exec(content);
72
- if (!match)
73
- return `---
74
- metadata:
75
- version: "${version}"
76
- ---
77
- ${content}`;
78
- const [whole, eol = "\n", body = "", close = ""] = match;
79
- const lines = body.split(/(?<=\n)/).filter((line) => line !== "");
80
- const block = metadataBlock(lines);
81
- if (!block) {
82
- lines.push(`metadata:${eol}`, ` version: "${version}"${eol}`);
83
- } else {
84
- const [start, end] = block;
85
- const indent = /^[ \t]+/.exec(lines[start + 1] ?? "")?.[0] ?? " ";
86
- const at = lines.slice(start + 1, end).findIndex((line) => scalar("version", "[ \\t]+").test(line));
87
- if (at === -1)
88
- lines.splice(start + 1, 0, `${indent}version: "${version}"${eol}`);
89
- else {
90
- const old = lines[start + 1 + at];
91
- const lineEol = /\r?\n$/.exec(old)?.[0] ?? "";
92
- lines[start + 1 + at] = `${/^[ \t]+/.exec(old)?.[0]}version: "${version}"${lineEol}`;
93
- }
94
- }
95
- return `---${eol}${lines.join("")}---${close}${content.slice(whole.length)}`;
96
- }, "withVersion");
97
- var skillFiles = /* @__PURE__ */ __name((skill) => {
98
- const root = dirname(fileURLToPath(skill));
99
- const found = [];
100
- const walk = /* @__PURE__ */ __name((folder) => {
101
- for (const entry of readdirSync(folder, { withFileTypes: true })) {
102
- if (entry.name.startsWith("."))
103
- continue;
104
- const path = join(folder, entry.name);
105
- if (entry.isDirectory())
106
- walk(path);
107
- else if (entry.isFile() && path !== join(root, "SKILL.md"))
108
- found.push(relative(root, path).split(sep).join("/"));
109
- }
110
- }, "walk");
111
- walk(root);
112
- return found.sort();
113
- }, "skillFiles");
114
- var writeSkillFolder = /* @__PURE__ */ __name((app, skill, folder) => {
115
- const source = readFileSync(skill, "utf8");
116
- const name = skillName(source);
117
- if (name !== app.appName) {
118
- throw new CliError("configuration_error", `SKILL.md is named ${name === void 0 ? "nothing" : `"${name}"`}, but installs into a directory "${app.appName}"; the two must match`);
119
- }
120
- const root = dirname(fileURLToPath(skill));
121
- for (const file of skillFiles(skill)) {
122
- const target = join(folder, file);
123
- mkdirSync(dirname(target), { recursive: true });
124
- writeFileSync(target, readFileSync(join(root, file)));
125
- }
126
- const path = join(folder, "SKILL.md");
127
- mkdirSync(folder, { recursive: true });
128
- writeFileSync(path, withVersion(source, app.version));
129
- return path;
130
- }, "writeSkillFolder");
131
- var installSkill = /* @__PURE__ */ __name((app, skill, { targets = SKILL_TARGETS, env = process.env } = {}) => targets.map((target) => writeSkillFolder(app, skill, dirname(skillPath(target, app.appName, env)))), "installSkill");
132
- var skillStatus = /* @__PURE__ */ __name((app, env = process.env) => SKILL_TARGETS.map((target) => {
133
- const path = skillPath(target, app.appName, env);
134
- return { target, ...copyStatus(app, path) ?? { path, installed: null, state: "missing" } };
135
- }), "skillStatus");
136
- var copyStatus = /* @__PURE__ */ __name((app, path) => {
137
- let content;
138
- try {
139
- content = readFileSync(path, "utf8");
140
- } catch {
141
- return void 0;
142
- }
143
- const installed = skillVersion(content);
144
- if (installed === void 0)
145
- return { path, installed: null, state: "unversioned" };
146
- return { path, installed, state: isNewer(app.version, installed) ? "stale" : "current" };
147
- }, "copyStatus");
148
- var runProgram = /* @__PURE__ */ __name((file, args, env) => {
149
- const result = import_cross_spawn.default.sync(executableOnPath(file, env), [...args], {
150
- encoding: "utf8",
151
- timeout: 3e4,
152
- maxBuffer: 256e3,
153
- env: executableEnvironment(env)
154
- });
155
- return { status: result.status, ...result.error ? { error: result.error } : {}, stdout: result.stdout ?? "" };
156
- }, "runProgram");
157
- var hermesHome = /* @__PURE__ */ __name((env, platform = process.platform) => {
158
- refuseOwnerHomeInTests(env, platform);
159
- const set = env.HERMES_HOME?.trim();
160
- if (set)
161
- return set;
162
- if (platform === "win32")
163
- return join(env.LOCALAPPDATA || join(homeOf(env), "AppData", "Local"), "hermes");
164
- return join(homeOf(env), ".hermes");
165
- }, "hermesHome");
166
- var hermesCopyPath = /* @__PURE__ */ __name((appName, env) => join(hermesHome(env), "skills", appName, "SKILL.md"), "hermesCopyPath");
167
- var EXTERNAL_DIRS = "skills.external_dirs";
168
- var externalDirs = /* @__PURE__ */ __name((env, run) => {
169
- const answer = run("hermes", ["config", "get", EXTERNAL_DIRS, "--json"], env);
170
- if (answer.error || answer.status !== 0)
171
- return void 0;
172
- let value;
173
- try {
174
- value = JSON.parse(answer.stdout);
175
- } catch {
176
- return void 0;
177
- }
178
- if (value === null)
179
- return [];
180
- if (typeof value === "string")
181
- return [value];
182
- return Array.isArray(value) && value.every((entry) => typeof entry === "string") ? value : void 0;
183
- }, "externalDirs");
184
- var expanded = /* @__PURE__ */ __name((entry, env) => resolve(entry.replace(/^~(?=$|[\\/])/, homeOf(env)).replace(/\$\{(\w+)\}|\$(\w+)/g, (whole, braced, bare) => env[braced ?? bare ?? ""] ?? whole)), "expanded");
185
- var lists = /* @__PURE__ */ __name((dirs, folder, env) => dirs.some((entry) => expanded(entry, env) === resolve(folder)), "lists");
186
- var removeOwnCopy = /* @__PURE__ */ __name((app, skill, env) => {
187
- const path = hermesCopyPath(app.appName, env);
188
- const shipped = new Set(skillFiles(skill));
189
- const top = /* @__PURE__ */ new Set(["SKILL.md", ...[...shipped].map((file) => file.split("/")[0])]);
190
- try {
191
- if (!readdirSync(dirname(path)).every((entry) => top.has(entry)))
192
- return void 0;
193
- if (!skillFiles(pathToFileURL(path)).every((file) => shipped.has(file)))
194
- return void 0;
195
- if (skillName(readFileSync(path, "utf8")) !== app.appName)
196
- return void 0;
197
- rmSync(dirname(path), { recursive: true });
198
- return path;
199
- } catch {
200
- return void 0;
201
- }
202
- }, "removeOwnCopy");
203
- var readFolder = /* @__PURE__ */ __name((folder, env, run) => {
204
- const dirs = externalDirs(env, run);
205
- if (dirs === void 0)
206
- return "Hermes could not be asked for skills.external_dirs";
207
- if (lists(dirs, folder, env))
208
- return void 0;
209
- const set = run("hermes", ["config", "set", EXTERNAL_DIRS, JSON.stringify([...dirs, folder])], env);
210
- if (set.error || set.status !== 0)
211
- return "hermes config set failed";
212
- const after = externalDirs(env, run);
213
- return after !== void 0 && lists(after, folder, env) ? void 0 : "Hermes did not keep the folder";
214
- }, "readFolder");
215
- var installHermesSkill = /* @__PURE__ */ __name((app, skill, { env = process.env, run = runProgram } = {}) => {
216
- if (!existsSync(hermesHome(env)) && run("hermes", ["--version"], env).error)
217
- throw new CliError("not_found", "Hermes is not installed here; install Hermes first, or set HERMES_HOME");
218
- const [shared] = installSkill(app, skill, { targets: ["agents"], env });
219
- const reason = readFolder(dirname(dirname(shared)), env, run);
220
- if (reason === void 0) {
221
- const removed = removeOwnCopy(app, skill, env);
222
- return { written: [shared], hermes: { via: "external_dirs", path: shared, ...removed ? { removed } : {} } };
223
- }
224
- const copy = writeSkillFolder(app, skill, dirname(hermesCopyPath(app.appName, env)));
225
- return { written: [shared, copy], hermes: { via: "copy", path: copy, reason } };
226
- }, "installHermesSkill");
227
- var hermesSkillStatus = /* @__PURE__ */ __name((app, { env = process.env, run = runProgram } = {}) => {
228
- const own = copyStatus(app, hermesCopyPath(app.appName, env));
229
- if (own)
230
- return { ...own, via: "copy" };
231
- const shared = skillPath("agents", app.appName, env);
232
- const dirs = existsSync(hermesHome(env)) ? externalDirs(env, run) : void 0;
233
- const read = dirs !== void 0 && lists(dirs, dirname(dirname(shared)), env) ? copyStatus(app, shared) : void 0;
234
- if (read)
235
- return { ...read, via: "external_dirs" };
236
- return { path: shared, installed: null, state: "missing", via: null };
237
- }, "hermesSkillStatus");
238
- var skillParts = /* @__PURE__ */ __name((skill) => {
239
- try {
240
- return Object.fromEntries(skillFiles(skill).filter((file) => file.endsWith(".md")).reverse().map((file) => [basename(file, ".md"), new URL(file, skill)]));
241
- } catch {
242
- return {};
243
- }
244
- }, "skillParts");
245
- var skillCommand = /* @__PURE__ */ __name((app, skill, environment, more = {}) => {
246
- const command = new Command("skill").description("the instructions an agent is given for this tool");
247
- const machine = /* @__PURE__ */ __name((self) => {
248
- const { json, jsonl } = self.optsWithGlobals();
249
- return json === true || jsonl === true;
250
- }, "machine");
251
- const shown = { ...skillParts(skill), ...more };
252
- const named = Object.keys(shown);
253
- const show = annotate(command.command("show"), { effects: { remote: "none", local: "read" } }).summary("print the tool's instructions for AI agents").description(`print SKILL.md \u2014 \`${app.command} skill install\` puts it where Claude Code, Codex, Gemini CLI and OpenClaw look for it, and where Hermes does on request; --for prints the copy already there`);
254
- if (named.length > 0)
255
- show.argument("[name]", `a part of this skill, or a skill shipped for a task: ${named.join(", ")}`);
256
- show.addOption(new Option("--for <agents>", "print the copy installed for these agents instead of this version's").choices(SKILL_TARGETS));
257
- show.action(function(given) {
258
- const name = typeof given === "string" ? given : void 0;
259
- const { renderer, streams, env } = environment(this);
260
- const { for: target } = this.opts();
261
- if (target !== void 0) {
262
- if (name !== void 0)
263
- throw new CliError("validation_error", `only ${app.appName} is installed; leave out "${name}" with --for`);
264
- const path = skillPath(target, app.appName, env ?? process.env);
265
- let content2;
266
- try {
267
- content2 = readFileSync(path, "utf8").trimEnd();
268
- } catch {
269
- throw new CliError("not_found", `no skill is installed for ${target} at ${path} \u2014 \`${app.command} skill install --for ${target}\` writes it`);
270
- }
271
- if (machine(this))
272
- renderer.result({ name: app.appName, target, path, installed: skillVersion(content2) ?? null, content: content2 });
273
- else
274
- streams.data(content2);
275
- return;
276
- }
277
- const source = name === void 0 ? skill : shown[name];
278
- if (!source) {
279
- throw new CliError("validation_error", `no skill "${name}" \u2014 there are: ${named.join(", ")}`);
280
- }
281
- const content = name === void 0 ? readFileSync(source, "utf8").trimEnd() : readFileSync(source, "utf8").trimEnd().replaceAll("{{command}}", app.command);
282
- if (machine(this))
283
- renderer.result({ name: name ?? app.appName, content });
284
- else
285
- streams.data(content);
286
- });
287
- annotate(command.command("install"), { effects: { remote: "none", local: "write" } }).summary("install the tool's instructions for AI agents").description(`write SKILL.md to ~/.claude/skills/${app.appName}/ (Claude Code) and ~/.agents/skills/${app.appName}/ (Codex, Gemini CLI, OpenClaw); --for hermes also has Hermes read ~/.agents/skills, which changes Hermes's own settings, so all leaves it out`).addOption(new Option("--for <agents>", "which agents to install for").choices(["claude", "agents", "hermes", "all"]).default("all")).action(function({ for: chosen }) {
288
- const { renderer, env } = environment(this);
289
- if (chosen === "hermes") {
290
- const { written: written2, hermes } = installHermesSkill(app, skill, env ? { env } : {});
291
- renderer.result({ name: app.appName, version: app.version, written: written2, hermes });
292
- renderer.success(hermes.via === "external_dirs" ? `${app.appName} ${app.version} skill installed: ${hermes.path}; Hermes reads ${dirname(dirname(hermes.path))} (skills.external_dirs)` : `${app.appName} ${app.version} skill installed: ${hermes.path}, a copy for Hermes (${hermes.reason})`);
293
- if (hermes.removed)
294
- renderer.note(`removed the earlier copy Hermes would also have found: ${hermes.removed}`);
295
- return;
296
- }
297
- const targets = chosen === "all" ? SKILL_TARGETS : [chosen];
298
- const written = installSkill(app, skill, { targets, ...env ? { env } : {} });
299
- renderer.result({ name: app.appName, version: app.version, written });
300
- renderer.success(`${app.appName} ${app.version} skill installed: ${written.join(", ")}`);
301
- });
302
- annotate(command.command("status"), {
303
- effects: { remote: "none", local: "read" },
304
- examples: [`${app.command} skill status`, `${app.command} skill status --json`]
305
- }).summary("whether the installed instructions for AI agents match this version").description(`for each place \`${app.command} skill install\` writes to, and for the copy Hermes reads: the path, the version installed there, and whether it is current, stale, missing or unversioned`).action(function() {
306
- const { renderer, env } = environment(this);
307
- const targets = skillStatus(app, env ?? process.env);
308
- const hermes = hermesSkillStatus(app, env ? { env } : {});
309
- renderer.result({ name: app.appName, version: app.version, targets, hermes });
310
- });
311
- return command;
312
- }, "skillCommand");
313
- var isAgent = /* @__PURE__ */ __name((env) => Boolean(env.AI_AGENT || env.CLAUDECODE), "isAgent");
314
- var needsInstall = /* @__PURE__ */ __name((app, env) => {
315
- const states = skillStatus(app, env).map(({ state }) => state);
316
- return states.every((state) => state === "missing") || states.some((state) => state === "stale" || state === "unversioned");
317
- }, "needsInstall");
318
- var skillHint = /* @__PURE__ */ __name(({ app, argv, env, statePath, enabled = true, now = Date.now }) => {
319
- try {
320
- if (!enabled || !isAgent(env))
321
- return void 0;
322
- if (argv.includes("skill") || argv.includes("complete"))
323
- return void 0;
324
- const at = now();
325
- const shown = readNoticeState(statePath).skillHintAt;
326
- if (shown !== void 0 && at - shown < CHECK_EVERY_MS)
327
- return void 0;
328
- if (!needsInstall(app, env))
329
- return void 0;
330
- writeUpdateState(statePath, { skillHintAt: at });
331
- return `agents: \`${app.command} skill install\` installs this tool's guide`;
332
- } catch {
333
- return void 0;
334
- }
335
- }, "skillHint");
336
- var skillResource = /* @__PURE__ */ __name((app, skill) => {
337
- const uri = `${app.command}://skill`;
338
- return {
339
- uri,
340
- name: "skill",
341
- title: `${app.appName} SKILL.md`,
342
- description: `How to use ${app.command}: the guide an agent is given for this tool.`,
343
- mimeType: "text/markdown",
344
- read: /* @__PURE__ */ __name(() => ({ contents: [{ uri, mimeType: "text/markdown", text: readFileSync(skill, "utf8") }] }), "read"),
345
- instruction: `- The full guide is the resource ${uri}; \`${app.command} skill install\` installs it as an agent skill.`
346
- };
347
- }, "skillResource");
348
- var skillResources = /* @__PURE__ */ __name((app, skill) => {
349
- const main = skillResource(app, skill);
350
- let parts = [];
351
- try {
352
- parts = skillFiles(skill).filter((file) => file.endsWith(".md"));
353
- } catch {
354
- }
355
- if (parts.length === 0)
356
- return [main];
357
- return [
358
- {
359
- ...main,
360
- instruction: `- The guide is the resource ${main.uri}; the parts it links are ${main.uri}/<path>, read only the one a task needs. \`${app.command} skill install\` installs it as an agent skill.`
361
- },
362
- ...parts.map((file) => {
363
- const uri = `${main.uri}/${file}`;
364
- return {
365
- uri,
366
- name: `skill/${file}`,
367
- title: `${app.appName} ${file}`,
368
- description: `A part of the ${app.command} guide that ${main.uri} links to.`,
369
- mimeType: "text/markdown",
370
- read: /* @__PURE__ */ __name(() => ({
371
- contents: [{ uri, mimeType: "text/markdown", text: readFileSync(new URL(file, skill), "utf8") }]
372
- }), "read"),
373
- instruction: ""
374
- };
375
- })
376
- ];
377
- }, "skillResources");
378
-
379
- export {
380
- skillVersion,
381
- writeSkillFolder,
382
- installSkill,
383
- skillStatus,
384
- hermesCopyPath,
385
- skillCommand,
386
- skillHint,
387
- skillResources
388
- };
@@ -1,58 +0,0 @@
1
- import { createRequire as __bundleRequire } from "node:module";
2
- const require = __bundleRequire(import.meta.url);
3
- import {
4
- importFrom
5
- } from "./chunk-Y5E2WNWB.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@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
14
- import { readFileSync } from "node:fs";
15
- var musl = /* @__PURE__ */ __name(() => {
16
- if (process.platform !== "linux")
17
- return false;
18
- try {
19
- return readFileSync("/proc/self/maps", "utf8").includes("ld-musl");
20
- } catch {
21
- return false;
22
- }
23
- }, "musl");
24
- var found;
25
- var vectorExtension = /* @__PURE__ */ __name(() => {
26
- found ??= locate();
27
- return found;
28
- }, "vectorExtension");
29
- var locate = /* @__PURE__ */ __name(async () => {
30
- const onMusl = musl();
31
- const target = `${process.platform}-${process.arch}${onMusl ? "-musl" : ""}`;
32
- let path;
33
- try {
34
- const { extensionFor } = await importFrom(new URL("store/vector-extension.js", import.meta.resolve("@wirecat/cli-core")).href, "@wirecat/cli-core-sqlite");
35
- path = extensionFor({ musl: onMusl });
36
- } catch {
37
- path = void 0;
38
- }
39
- if (path === void 0) {
40
- found = void 0;
41
- throw new CliError("configuration_error", `the message store needs the sqlite-vec extension, and @wirecat/cli-core-sqlite has none for ${target} \u2014 reinstall the CLI so its dependencies install with it (an install that skips optional or native packages leaves it out)`, { reason: "store.vector-extension-missing", target });
42
- }
43
- return path;
44
- }, "locate");
45
- var loadVectorExtension = /* @__PURE__ */ __name((database, path) => {
46
- try {
47
- database.loadExtension(path);
48
- } catch (error) {
49
- throw new CliError("configuration_error", `the sqlite-vec extension did not load on ${process.platform}-${process.arch} \u2014 reinstall the CLI; on macOS under Bun, @wirecat/cli-core-sqlite's SQLite must be installed, since the system's cannot load extensions`, { reason: "store.vector-extension-failed", cause: error instanceof Error ? error.message : String(error) });
50
- } finally {
51
- database.enableLoadExtension?.(false);
52
- }
53
- }, "loadVectorExtension");
54
-
55
- export {
56
- vectorExtension,
57
- loadVectorExtension
58
- };
@@ -1,13 +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@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/command-server-argv.js
8
- var COMMAND_SERVER_ARGV = ["commands", "--serve"];
9
- var isCommandServer = /* @__PURE__ */ __name((args) => args.length === COMMAND_SERVER_ARGV.length && COMMAND_SERVER_ARGV.every((word, at) => args[at] === word), "isCommandServer");
10
-
11
- export {
12
- isCommandServer
13
- };