@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,362 +0,0 @@
1
- import { createRequire as __bundleRequire } from "node:module";
2
- const require = __bundleRequire(import.meta.url);
3
- import {
4
- isCliFailure
5
- } from "./chunk-GTKPMYK7.js";
6
- import {
7
- secretNamed,
8
- withoutSecrets
9
- } from "./chunk-73MOMNLL.js";
10
- import {
11
- isContentKey
12
- } from "./chunk-6CWL5BKG.js";
13
- import {
14
- __name
15
- } from "./chunk-ZVVMGPBJ.js";
16
-
17
- // 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/runs/events.js
18
- var providerErrorKey = /* @__PURE__ */ __name((value) => typeof value === "string" && /^[A-Za-z][A-Za-z0-9._-]{0,63}$/.test(value) ? value : void 0, "providerErrorKey");
19
- var renderEvent = /* @__PURE__ */ __name((event) => {
20
- if (event.event === "store")
21
- return `${MARK.store} ${event.operation.padEnd(16)} ${event.table} ${event.op} ${event.n}`;
22
- if (event.event === "progress")
23
- return `${MARK.progress} ${event.operation.padEnd(16)} ${Object.entries(event.counts).map(([field, count]) => `${count} ${field}`).join(" ")}`;
24
- if (event.event === "warning") {
25
- const counts = Object.entries(event.counts ?? {}).map(([field, count]) => `${count} ${field}`);
26
- return [`${MARK.warning} ${(event.operation ?? "").padEnd(16)} ${event.code}`, ...counts, event.detail].filter(Boolean).join(" ");
27
- }
28
- const parts = [];
29
- if (event.event === "cache") {
30
- parts.push(event.reason);
31
- if (event.ageMs !== void 0)
32
- parts.push(`cached ${age(event.ageMs)}`);
33
- } else {
34
- if (event.opcode !== void 0)
35
- parts.push(`op ${event.opcode}`, `seq ${event.seq}`);
36
- if (event.method !== void 0 || event.endpointTemplate !== void 0)
37
- parts.push([event.method, event.endpointTemplate].filter(Boolean).join(" "));
38
- if (event.status !== void 0)
39
- parts.push(`${event.status}`);
40
- if (event.attempt !== void 0 && event.attempt > 1)
41
- parts.push(`attempt ${event.attempt}`);
42
- if (event.waitMs !== void 0)
43
- parts.push(`waited ${age(event.waitMs)}`);
44
- }
45
- if (event.ids)
46
- for (const [name, value] of Object.entries(event.ids))
47
- parts.push(`${name} ${value}`);
48
- if (event.event !== "cache") {
49
- if (event.durationMs !== void 0)
50
- parts.push(`${event.durationMs}ms`);
51
- if (event.bytes !== void 0)
52
- parts.push(size(event.bytes));
53
- }
54
- if (event.counts)
55
- for (const [field, count] of Object.entries(event.counts))
56
- parts.push(`${count} ${field}`);
57
- if (event.event !== "cache") {
58
- if (event.errorCode)
59
- parts.push(event.errorCode);
60
- if (event.providerError)
61
- parts.push(event.providerError);
62
- }
63
- return `${MARK[event.event]} ${event.operation.padEnd(16)} ${parts.join(" ")}`.trimEnd();
64
- }, "renderEvent");
65
- var MARK = { request: "\u2192", response: "\u2190", cache: "\u2022", warning: "!", store: "+", progress: "\u2026" };
66
- var age = /* @__PURE__ */ __name((ms) => ms < 1e3 ? `${ms}ms` : `${Math.round(ms / 1e3)}s`, "age");
67
- var size = /* @__PURE__ */ __name((bytes) => bytes < 1e3 ? `${bytes} B` : `${(bytes / 1e3).toFixed(1)} kB`, "size");
68
-
69
- // 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/runs/run-context.js
70
- import { AsyncLocalStorage } from "node:async_hooks";
71
- import { createHash } from "node:crypto";
72
-
73
- // 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/runs/error-detail.js
74
- import { homedir } from "node:os";
75
- var MESSAGE_AT_MOST = 500;
76
- var CAUSES_AT_MOST = 5;
77
- var FRAMES_AT_MOST = 15;
78
- var errorDetailOf = /* @__PURE__ */ __name((error, response) => {
79
- const details = isCliFailure(error) ? { ...error.details } : {};
80
- const thrown = error instanceof Error ? error : void 0;
81
- const code = isCliFailure(error) ? error.code : codeOf(error);
82
- const reason = typeof details.reason === "string" ? details.reason : void 0;
83
- const causeCode = typeof details.cause_code === "string" && /^[A-Za-z0-9_.-]{1,40}$/.test(details.cause_code) ? details.cause_code : void 0;
84
- const message = thrown ? redactText(thrown.message) : void 0;
85
- const operation = stringOf(details.operation) ?? response?.operation;
86
- const status = numberOf(details.status) ?? response?.status;
87
- const method = stringOf(details.method) ?? response?.method;
88
- const endpoint = stringOf(details.endpoint) ?? response?.endpointTemplate;
89
- const key = providerErrorKey(details.provider_error) ?? providerErrorKey(response?.providerError);
90
- const protocol = key !== void 0 && method === void 0 && endpoint === void 0;
91
- const http = method !== void 0 || endpoint !== void 0 || status !== void 0 && !protocol ? {
92
- ...method === void 0 ? {} : { method: method.toUpperCase().slice(0, 16) },
93
- ...endpoint === void 0 ? {} : { endpoint_template: endpointTemplate(endpoint) },
94
- ...status === void 0 ? {} : { status }
95
- } : void 0;
96
- const causes = causesOf(thrown?.cause ?? details.cause);
97
- const stack = framesOf(thrown);
98
- return {
99
- class: classOf(error),
100
- ...code === void 0 ? {} : { code },
101
- ...reason === void 0 ? {} : { reason },
102
- ...causeCode === void 0 ? {} : { cause_code: causeCode },
103
- ...message ? { message } : {},
104
- ...operation === void 0 ? {} : { operation },
105
- ...http ? { http } : {},
106
- ...key === void 0 ? {} : { provider: { key, ...protocol && status !== void 0 ? { code: status } : {} } },
107
- ...causes.length > 0 ? { causes } : {},
108
- ...stack.length > 0 ? { stack } : {}
109
- };
110
- }, "errorDetailOf");
111
- var stringOf = /* @__PURE__ */ __name((value) => typeof value === "string" && value.trim() !== "" ? value.trim() : void 0, "stringOf");
112
- var numberOf = /* @__PURE__ */ __name((value) => typeof value === "number" && Number.isInteger(value) ? value : void 0, "numberOf");
113
- var classOf = /* @__PURE__ */ __name((error) => {
114
- if (!(error instanceof Error))
115
- return error === null ? "null" : typeof error;
116
- const constructed = error.constructor?.name;
117
- return constructed && constructed !== "Error" && constructed !== error.name ? constructed : error.name;
118
- }, "classOf");
119
- var codeOf = /* @__PURE__ */ __name((error) => {
120
- const code = error?.code;
121
- return typeof code === "string" && /^[A-Za-z][A-Za-z0-9._-]{0,63}$/.test(code) ? code : void 0;
122
- }, "codeOf");
123
- var causesOf = /* @__PURE__ */ __name((first) => {
124
- const causes = [];
125
- const seen = /* @__PURE__ */ new Set();
126
- for (let cause = first; cause !== void 0 && cause !== null && causes.length < CAUSES_AT_MOST; ) {
127
- if (seen.has(cause))
128
- break;
129
- seen.add(cause);
130
- const message = cause instanceof Error ? redactText(cause.message) : void 0;
131
- causes.push({ class: classOf(cause), ...message ? { message } : {} });
132
- cause = cause instanceof Error ? cause.cause : void 0;
133
- }
134
- return causes;
135
- }, "causesOf");
136
- var framesOf = /* @__PURE__ */ __name((error, limit = FRAMES_AT_MOST) => {
137
- const stack = error instanceof Error && typeof error.stack === "string" ? error.stack : "";
138
- return stack.split("\n").filter((line) => line.trimStart().startsWith("at ")).flatMap((line) => {
139
- const match = /^\s*at (?:async )?(?:(.+?) \()?(.+?):(\d+):\d+\)?$/.exec(line);
140
- if (!match)
141
- return [];
142
- const [, fn, path = "", lineNumber] = match;
143
- if (path.startsWith("node:"))
144
- return [];
145
- return [`${fn ?? "<anonymous>"} ${fileOf(path)}:${lineNumber}`];
146
- }).slice(0, limit);
147
- }, "framesOf");
148
- var fileOf = /* @__PURE__ */ __name((path) => {
149
- const plain = path.replace(/^file:\/\//, "");
150
- const packaged = /\/node_modules\/((?:@[^/]+\/)?[^/]+\/.+)$/.exec(plain)?.[1];
151
- if (packaged)
152
- return packaged.replace(/\/(?:dist|src)\//, "/");
153
- return /(?:^|\/)(?:dist|src)\/(.+)$/.exec(plain)?.[1] ?? plain.split("/").at(-1) ?? "?";
154
- }, "fileOf");
155
- var endpointTemplate = /* @__PURE__ */ __name((raw) => {
156
- const trimmed = raw.trim().split(/[?#]/)[0] ?? "";
157
- const origin = /^[a-z][a-z0-9+.-]*:\/\/(?:[^@/]*@)?([^/]*)/i.exec(trimmed);
158
- const path = origin ? trimmed.slice(origin[0].length) : trimmed;
159
- const scheme = origin ? `${trimmed.slice(0, trimmed.indexOf("://"))}://${origin[1]}` : "";
160
- const parts = path.split("/");
161
- const segments = parts.map((segment, at) => {
162
- if (segment === "" || /^[:{].+/.test(segment))
163
- return segment;
164
- if (at >= 2 && parts[at - 2] === "rest" && /^\d+$/.test(parts[at - 1] ?? ""))
165
- return ":token";
166
- if (/^bot\d+:/.test(segment) || /^\d{6,}:[\w-]{20,}$/.test(segment))
167
- return ":token";
168
- if (/^-?\d+$/.test(segment) || /^[0-9a-f-]{16,}$/i.test(segment))
169
- return ":id";
170
- if (!/^[A-Za-z0-9._~-]{1,40}$/.test(segment))
171
- return ":value";
172
- return segment;
173
- });
174
- return `${scheme}${segments.join("/")}`.slice(0, 300);
175
- }, "endpointTemplate");
176
- var INTERNATIONAL_PHONE = /\+\d[\d\s()-]{6,}\d/.source;
177
- var BARE_PHONE = /(^|[^\w-])\d{11,15}\b/.source;
178
- var MESSENGER_ID = /\b\d+(?:-\d+)?(?::\d+)?@(?:s\.whatsapp\.net|g\.us|c\.us|lid|broadcast|newsletter)\b/g;
179
- var redactText = /* @__PURE__ */ __name((text) => {
180
- const home = homedir();
181
- let out = home && home !== "/" ? text.split(home).join("~") : text;
182
- out = withoutSecrets(out.replace(/"[^"\n]*"|“[^”\n]*”|«[^»\n]*»/g, '"[redacted]"')).replace(/\b(bearer|basic|token|key|password|secret)(\s*[:=]\s*|\s+)[^\s'"]+/gi, "$1$2[redacted]").replace(MESSENGER_ID, "[id]").replace(/[\w.+-]+@[\w-]+\.[\w.-]+/g, "[email]").replace(new RegExp(INTERNATIONAL_PHONE, "g"), "[number]").replace(new RegExp(BARE_PHONE, "g"), "$1[number]").replace(/\bbot\d+:[\w-]+/g, "bot[token]").replace(/\b\d{6,}:[\w-]{20,}\b/g, "[token]").replace(/(\?|&)[^\s#]*/g, "$1[redacted]").replace(/\b[A-Za-z0-9_-]{40,}\b/g, "[redacted]");
183
- return out.length > MESSAGE_AT_MOST ? `${out.slice(0, MESSAGE_AT_MOST)}\u2026` : out;
184
- }, "redactText");
185
-
186
- // 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/runs/run-context.js
187
- var REDACTED = "[redacted]";
188
- var keepsSuccess = /* @__PURE__ */ __name(({ record, fromFlag, env, caller, persistent = false }) => {
189
- if (!record)
190
- return false;
191
- if (fromFlag)
192
- return true;
193
- if (persistent)
194
- return false;
195
- return caller !== void 0 || viaOf(env) !== "desktop";
196
- }, "keepsSuccess");
197
- var calls = new AsyncLocalStorage();
198
- var withCaller = /* @__PURE__ */ __name((caller, work) => calls.run(caller, work), "withCaller");
199
- var currentCaller = /* @__PURE__ */ __name(() => calls.getStore(), "currentCaller");
200
- var clientHash = /* @__PURE__ */ __name((id) => createHash("sha256").update(id).digest("hex").slice(0, 8), "clientHash");
201
- var viaOf = /* @__PURE__ */ __name((env) => env.WIRECAT_CALLER?.trim() === "desktop" ? "desktop" : "cli", "viaOf");
202
- var agentOf = /* @__PURE__ */ __name((env) => {
203
- const named = env.AI_AGENT?.trim().split("_")[0];
204
- const kind = (named && plainWord(named) ? named.toLowerCase() : void 0) ?? (env.CLAUDECODE ? "claude-code" : void 0) ?? (env.CODEX_THREAD_ID || env.CODEX_SESSION_ID || env.CODEX_SANDBOX ? "codex" : void 0) ?? (env.GEMINI_CLI ? "gemini-cli" : void 0) ?? (env.OPENCODE ? "opencode" : void 0) ?? (env.CURSOR_AGENT ? "cursor" : void 0) ?? // Only `exec` is the agent's own command: OpenClaw also sets `tui-local` for what the owner types in its TUI.
205
- (env.OPENCLAW_SHELL?.trim() === "exec" ? "openclaw" : void 0);
206
- if (!kind)
207
- return void 0;
208
- const session = sessionOf(kind, env);
209
- return {
210
- kind,
211
- session_id: session && SESSION.test(session) ? session : null,
212
- // OpenClaw passes the sender and chat ids of a chat-started run in this variable; only its presence is kept.
213
- ...kind === "openclaw" && env.OPENCLAW_CHANNEL_CONTEXT?.trim() ? { from_chat: true } : {}
214
- };
215
- }, "agentOf");
216
- var SESSION = /^[A-Za-z0-9._:-]{1,128}$/;
217
- var SESSION_VARIABLE = {
218
- "claude-code": "CLAUDE_CODE_SESSION_ID",
219
- codex: "CODEX_THREAD_ID",
220
- opencode: "OPENCODE_SESSION_ID",
221
- "hermes-agent": "HERMES_SESSION_ID"
222
- };
223
- var sessionOf = /* @__PURE__ */ __name((kind, env) => {
224
- const variable = SESSION_VARIABLE[kind];
225
- return (variable === void 0 ? void 0 : env[variable]?.trim()) || void 0;
226
- }, "sessionOf");
227
- var plainWord = /* @__PURE__ */ __name((word) => /^[A-Za-z][A-Za-z0-9.-]{0,39}$/.test(word), "plainWord");
228
- var secretInputs = /* @__PURE__ */ new WeakSet();
229
- var secretInput = /* @__PURE__ */ __name((input) => {
230
- secretInputs.add(input);
231
- return input;
232
- }, "secretInput");
233
- var secretShaped = /* @__PURE__ */ __name((word) => /:\/\/[^/@\s:]+:[^/@\s]+@/.test(word) || /(^|[^A-Za-z0-9_-])[A-Za-z0-9_-]{40,}($|[^A-Za-z0-9_-])/.test(word), "secretShaped");
234
- var withoutPhones = /* @__PURE__ */ __name((word) => word.replace(new RegExp(INTERNATIONAL_PHONE, "g"), REDACTED).replace(new RegExp(BARE_PHONE, "g"), `$1${REDACTED}`), "withoutPhones");
235
- var maskArgv = /* @__PURE__ */ __name((program, words, { keep = false } = {}) => {
236
- const argv = [];
237
- let unknownCommand;
238
- let current = program;
239
- let positional = 0;
240
- let profileSeen = false;
241
- let lost = false;
242
- const raw = /* @__PURE__ */ __name((word) => keep && !secretShaped(word) ? withoutPhones(withoutSecrets(word, REDACTED)) : REDACTED, "raw");
243
- const keptValue = /* @__PURE__ */ __name((name, value, input) => keep ? input && secretInputs.has(input) || secretNamed(name) ? REDACTED : raw(value) : maskedValue(name, value, input?.argChoices), "keptValue");
244
- const optionFor = /* @__PURE__ */ __name((flag) => {
245
- for (let at = current; at; at = at.parent) {
246
- const found = at.options.find((option) => option.long === flag || option.short === flag);
247
- if (found)
248
- return found;
249
- }
250
- return void 0;
251
- }, "optionFor");
252
- for (let at = 0; at < words.length; at++) {
253
- const word = words[at];
254
- if (word === "--") {
255
- argv.push("--");
256
- for (let after = at + 1; after < words.length; after++)
257
- argv.push(raw(words[after]));
258
- break;
259
- }
260
- if (word.startsWith("-") && word.length > 1 && !NUMBER.test(word)) {
261
- const equals = word.indexOf("=");
262
- const flag = equals > 0 ? word.slice(0, equals) : word;
263
- if (!/^--?[A-Za-z0-9][A-Za-z0-9-]*$/.test(flag)) {
264
- argv.push(raw(word));
265
- continue;
266
- }
267
- const option = optionFor(flag);
268
- const name = option?.attributeName() ?? flag.replace(/^-+/, "");
269
- if (equals > 0) {
270
- argv.push(`${flag}=${keptValue(name, word.slice(equals + 1), option)}`);
271
- continue;
272
- }
273
- argv.push(flag);
274
- if (!option && keep && secretNamed(name) && words[at + 1] !== void 0 && !words[at + 1]?.startsWith("-")) {
275
- at += 1;
276
- argv.push(REDACTED);
277
- continue;
278
- }
279
- if (!option || !(option.required || option.optional))
280
- continue;
281
- const takes = /* @__PURE__ */ __name((next) => next !== void 0 && (option.required || !next.startsWith("-") || NUMBER.test(next)), "takes");
282
- if (takes(words[at + 1])) {
283
- at += 1;
284
- argv.push(keptValue(name, words[at], option));
285
- while (option.variadic && words[at + 1] !== void 0 && !words[at + 1].startsWith("-")) {
286
- at += 1;
287
- argv.push(keptValue(name, words[at], option));
288
- }
289
- }
290
- continue;
291
- }
292
- if (!lost && positional === 0) {
293
- const sub = current.commands.find((one) => one.name() === word || one.aliases().includes(word));
294
- if (sub) {
295
- argv.push(word);
296
- current = sub;
297
- continue;
298
- }
299
- if (current === program && !profileSeen) {
300
- profileSeen = true;
301
- argv.push(keep ? raw(word) : PROFILE.test(word) && withoutPhones(withoutSecrets(word)) === word ? word : REDACTED);
302
- continue;
303
- }
304
- if (current.commands.length > 0 && current.registeredArguments.length === 0) {
305
- lost = true;
306
- unknownCommand = commandLike(word);
307
- argv.push(keep ? raw(word) : unknownCommand);
308
- continue;
309
- }
310
- }
311
- const declared = lost ? void 0 : current.registeredArguments;
312
- const argument = declared?.[Math.min(positional, declared.length - 1)];
313
- positional += 1;
314
- argv.push(secretInputs.has(current) ? REDACTED : argument ? keptValue(argument.name(), word, argument) : raw(word));
315
- }
316
- return { argv, ...unknownCommand === void 0 ? {} : { unknownCommand } };
317
- }, "maskArgv");
318
- var NUMBER = /^-?\d+(\.\d+)?$/;
319
- var PROFILE = /^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$/;
320
- var commandLike = /* @__PURE__ */ __name((word) => /^[a-z][a-z0-9-]{0,31}$/i.test(word) && withoutSecrets(word) === word ? word : REDACTED, "commandLike");
321
- var maskedValue = /* @__PURE__ */ __name((name, value, choices) => {
322
- if (isContentKey(name))
323
- return REDACTED;
324
- if (name === "profile")
325
- return PROFILE.test(value) ? value : REDACTED;
326
- if (name === "json" || name === "fields")
327
- return /^[a-z0-9_.,]{1,200}$/.test(value) ? value : REDACTED;
328
- if (choices?.includes(value))
329
- return value;
330
- return safeShape(value) ? value : REDACTED;
331
- }, "maskedValue");
332
- var safeShape = /* @__PURE__ */ __name((value) => NUMBER.test(value) && !/^\d{11,}$/.test(value) || /^\d+(ms|s|m|h|d|w)$/.test(value) || /^\d{4}-\d{2}-\d{2}([T ]\d{2}:\d{2}(:\d{2}(\.\d+)?)?(Z|[+-]\d{2}:?\d{2})?)?$/.test(value) || value === "true" || value === "false", "safeShape");
333
- var runContextOf = /* @__PURE__ */ __name(({ bin, command, program, argv, env, recordInput = false, caller }) => {
334
- const masked = program && argv ? maskArgv(program, argv, { keep: recordInput === true }) : void 0;
335
- const ifFailed = program && argv && recordInput === "failed" ? maskArgv(program, argv, { keep: true }) : void 0;
336
- const agent = caller ? caller.agent : agentOf(env);
337
- return {
338
- cliCommand: command ? `${bin} ${command}` : bin,
339
- ...masked ? { argv: masked.argv } : {},
340
- ...ifFailed ? { argvIfFailed: ifFailed.argv } : {},
341
- ...masked?.unknownCommand === void 0 ? {} : { unknownCommand: masked.unknownCommand },
342
- ...agent ? { agent } : {},
343
- via: caller?.via ?? viaOf(env),
344
- ...caller?.mcp ? { mcp: caller.mcp } : {}
345
- };
346
- }, "runContextOf");
347
-
348
- export {
349
- providerErrorKey,
350
- renderEvent,
351
- errorDetailOf,
352
- framesOf,
353
- endpointTemplate,
354
- keepsSuccess,
355
- withCaller,
356
- currentCaller,
357
- clientHash,
358
- agentOf,
359
- secretInput,
360
- maskArgv,
361
- runContextOf
362
- };
@@ -1,71 +0,0 @@
1
- import { createRequire as __bundleRequire } from "node:module";
2
- const require = __bundleRequire(import.meta.url);
3
- import {
4
- CliError
5
- } from "./chunk-IANKXHSE.js";
6
- import {
7
- __name
8
- } from "./chunk-ZVVMGPBJ.js";
9
-
10
- // 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/ports/app.js
11
- import { readFileSync } from "node:fs";
12
- var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
13
- var locking = /* @__PURE__ */ __name((value) => value !== void 0 && value.trim() !== "" && value !== "0", "locking");
14
- var ancestries = /* @__PURE__ */ new Map();
15
- var readable = /* @__PURE__ */ __name((read, path) => {
16
- try {
17
- return read(path);
18
- } catch (error) {
19
- if (error.code === "EACCES")
20
- return void 0;
21
- throw error;
22
- }
23
- }, "readable");
24
- var ancestorEnvironments = /* @__PURE__ */ __name(({ read = /* @__PURE__ */ __name((path) => readFileSync(path, "utf8"), "read"), from = process.ppid, uid = process.getuid?.() ?? -1, cache = ancestries } = {}) => {
25
- if (process.platform !== "linux")
26
- return [];
27
- const key = `${from}:${uid}`;
28
- const known = cache.get(key);
29
- if (known !== void 0)
30
- return known;
31
- let found = [];
32
- try {
33
- for (let pid = from, depth = 0; pid >= 1 && depth < 64; depth++) {
34
- const status = read(`/proc/${pid}/status`);
35
- const field = /* @__PURE__ */ __name((name) => new RegExp(`^${name}:\\s*(\\d+)`, "m").exec(status)?.[1], "field");
36
- if (Number(field("Uid")) !== uid)
37
- break;
38
- const environ = readable(read, `/proc/${pid}/environ`);
39
- if (environ === void 0)
40
- break;
41
- found.push(environ.split("\0"));
42
- pid = Number(field("PPid"));
43
- }
44
- } catch {
45
- found = null;
46
- }
47
- cache.set(key, found);
48
- return found;
49
- }, "ancestorEnvironments");
50
- var valuesOf = /* @__PURE__ */ __name((environments, name) => environments.flatMap((environ) => environ.filter((entry) => entry.startsWith(`${name}=`)).map((entry) => entry.slice(name.length + 1))), "valuesOf");
51
- var lockedByAncestor = /* @__PURE__ */ __name((name, ancestry = {}) => {
52
- const environments = ancestorEnvironments(ancestry);
53
- return environments === null || valuesOf(environments, name).some(locking);
54
- }, "lockedByAncestor");
55
- var ancestorValue = /* @__PURE__ */ __name((name, env, ancestry = {}) => valuesOf(ancestorEnvironments(ancestry) ?? [], name).at(-1) ?? env[name], "ancestorValue");
56
- var readOnlyLockOf = /* @__PURE__ */ __name((app, env) => {
57
- const name = envName(app, "READ_ONLY");
58
- return locking(env[name]) || lockedByAncestor(name) ? name : void 0;
59
- }, "readOnlyLockOf");
60
- var mailHolderVariable = /* @__PURE__ */ __name((app) => envName(app, "MAIL_HOLDER"), "mailHolderVariable");
61
- var MESSENGER_CHANGE_REFUSAL = "send, react, change chats or change the account";
62
- var readOnlyRefusal = /* @__PURE__ */ __name((lock, what) => new CliError("permission_error", `this process is read-only (${lock}) \u2014 it cannot ${what}`), "readOnlyRefusal");
63
-
64
- export {
65
- envName,
66
- ancestorValue,
67
- readOnlyLockOf,
68
- mailHolderVariable,
69
- MESSENGER_CHANGE_REFUSAL,
70
- readOnlyRefusal
71
- };
@@ -1,37 +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/messenger/private-files.js
8
- import { existsSync, statSync } from "node:fs";
9
- var shellQuoted = /* @__PURE__ */ __name((path) => `'${path.replaceAll("'", `'\\''`)}'`, "shellQuoted");
10
- var privateFiles = /* @__PURE__ */ __name(({ files, dirs }, platform = process.platform) => {
11
- if (platform === "win32")
12
- return { checked: false, reason: "Windows has no Unix file modes" };
13
- const problems = [];
14
- const check = /* @__PURE__ */ __name((path, want, folder) => {
15
- if (!existsSync(path))
16
- return;
17
- const stat = statSync(path);
18
- if (stat.isDirectory() !== folder)
19
- return;
20
- const mode = stat.mode & 511;
21
- if ((mode & 63) === 0)
22
- return;
23
- const octal = /* @__PURE__ */ __name((value) => `0${value.toString(8)}`, "octal");
24
- problems.push({ path, mode: octal(mode), want: octal(want), fix: `chmod ${want.toString(8)} ${shellQuoted(path)}` });
25
- }, "check");
26
- for (const file of files)
27
- check(file, 384, false);
28
- for (const dir of dirs)
29
- check(dir, 448, true);
30
- return { checked: true, ok: problems.length === 0, problems };
31
- }, "privateFiles");
32
- var withSqliteSidecars = /* @__PURE__ */ __name((path) => [path, `${path}-wal`, `${path}-shm`], "withSqliteSidecars");
33
-
34
- export {
35
- privateFiles,
36
- withSqliteSidecars
37
- };
@@ -1,23 +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/installer.js
8
- var installerOf = /* @__PURE__ */ __name((scriptPath) => {
9
- const path = scriptPath.replaceAll("\\", "/");
10
- if (path.includes("/_npx/"))
11
- return "npx";
12
- if (path.includes("/install/global/node_modules/"))
13
- return "bun";
14
- if (/\/\.?pnpm\//.test(path))
15
- return "pnpm";
16
- if (path.includes("/node_modules/"))
17
- return "npm";
18
- return path.includes("/dist/") ? "checkout" : "unknown";
19
- }, "installerOf");
20
-
21
- export {
22
- installerOf
23
- };
@@ -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/executable.js
8
- import { existsSync } from "node:fs";
9
- import { win32 } from "node:path";
10
- var variable = /* @__PURE__ */ __name((env, name) => Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1], "variable");
11
- var executableOnPath = /* @__PURE__ */ __name((command, env, platform = process.platform, exists = existsSync) => {
12
- if (platform !== "win32" || win32.isAbsolute(command))
13
- return command;
14
- if (/[\\/]/.test(command))
15
- return command;
16
- const extensions = win32.extname(command) ? [""] : (variable(env, "PATHEXT") ?? ".EXE;.COM;.CMD;.BAT").split(";").filter((ext) => /^\.[a-z0-9]+$/i.test(ext));
17
- for (const entry of (variable(env, "PATH") ?? "").split(";")) {
18
- const directory = entry.replace(/^"(.*)"$/, "$1");
19
- for (const extension of extensions) {
20
- const candidate = win32.join(directory, command + extension);
21
- if (exists(candidate))
22
- return candidate;
23
- }
24
- }
25
- return command;
26
- }, "executableOnPath");
27
- var executableEnvironment = /* @__PURE__ */ __name((env, platform = process.platform) => {
28
- if (platform !== "win32")
29
- return env;
30
- const configured = variable(env, "COMSPEC");
31
- const system = variable(env, "SYSTEMROOT");
32
- const shell = configured ? configured : system && win32.isAbsolute(system) ? win32.join(system, "System32", "cmd.exe") : void 0;
33
- if (!shell)
34
- return env;
35
- const result = { ...env };
36
- for (const key of Object.keys(result))
37
- if (key.toUpperCase() === "COMSPEC")
38
- delete result[key];
39
- result.comspec = shell;
40
- return result;
41
- }, "executableEnvironment");
42
-
43
- export {
44
- executableOnPath,
45
- executableEnvironment
46
- };