@huyuan-ai/cli 1.1.0 → 1.3.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 (934) hide show
  1. package/README.md +7 -6
  2. package/UPGRADE.md +23 -0
  3. package/dist/cli/program.js +2 -2
  4. package/dist/cli/program.js.map +1 -1
  5. package/dist/constants.d.ts +15 -4
  6. package/dist/constants.d.ts.map +1 -1
  7. package/dist/constants.js +32 -10
  8. package/dist/constants.js.map +1 -1
  9. package/dist/core/gateway-token.d.ts +5 -0
  10. package/dist/core/gateway-token.d.ts.map +1 -0
  11. package/dist/core/gateway-token.js +53 -0
  12. package/dist/core/gateway-token.js.map +1 -0
  13. package/dist/core/huyuan-skill.d.ts +5 -0
  14. package/dist/core/huyuan-skill.d.ts.map +1 -0
  15. package/dist/core/huyuan-skill.js +80 -0
  16. package/dist/core/huyuan-skill.js.map +1 -0
  17. package/dist/core/install.d.ts.map +1 -1
  18. package/dist/core/install.js +4 -47
  19. package/dist/core/install.js.map +1 -1
  20. package/dist/core/skills-hub.d.ts +22 -0
  21. package/dist/core/skills-hub.d.ts.map +1 -0
  22. package/dist/core/skills-hub.js +131 -0
  23. package/dist/core/skills-hub.js.map +1 -0
  24. package/dist/integrations/opencli/bootstrap.js +2 -2
  25. package/dist/integrations/opencli/bootstrap.js.map +1 -1
  26. package/dist/integrations/opencli/commands/doubao-ask-with-citations.js +1 -1
  27. package/dist/integrations/opencli/commands/doubao-ask-with-citations.js.map +1 -1
  28. package/dist/integrations/opencli/execute-registry-command.js +3 -3
  29. package/dist/integrations/opencli/execute-registry-command.js.map +1 -1
  30. package/dist/sites/huyuan-skill/check.d.ts +2 -0
  31. package/dist/sites/huyuan-skill/check.d.ts.map +1 -0
  32. package/dist/sites/huyuan-skill/check.js +103 -0
  33. package/dist/sites/huyuan-skill/check.js.map +1 -0
  34. package/dist/sites/huyuan-skill/install-from-hub.d.ts +3 -0
  35. package/dist/sites/huyuan-skill/install-from-hub.d.ts.map +1 -0
  36. package/dist/sites/huyuan-skill/install-from-hub.js +60 -0
  37. package/dist/sites/huyuan-skill/install-from-hub.js.map +1 -0
  38. package/dist/sites/huyuan-skill/list.d.ts +2 -0
  39. package/dist/sites/huyuan-skill/list.d.ts.map +1 -0
  40. package/dist/sites/huyuan-skill/list.js +44 -0
  41. package/dist/sites/huyuan-skill/list.js.map +1 -0
  42. package/dist/sites/huyuan-skill/register.d.ts +4 -0
  43. package/dist/sites/huyuan-skill/register.d.ts.map +1 -0
  44. package/dist/sites/huyuan-skill/register.js +69 -0
  45. package/dist/sites/huyuan-skill/register.js.map +1 -0
  46. package/dist/sites/huyuan-skill/search.d.ts +2 -0
  47. package/dist/sites/huyuan-skill/search.d.ts.map +1 -0
  48. package/dist/sites/huyuan-skill/search.js +45 -0
  49. package/dist/sites/huyuan-skill/search.js.map +1 -0
  50. package/dist/sites/huyuan-skill/skill-md-version.d.ts +11 -0
  51. package/dist/sites/huyuan-skill/skill-md-version.d.ts.map +1 -0
  52. package/dist/sites/huyuan-skill/skill-md-version.js +74 -0
  53. package/dist/sites/huyuan-skill/skill-md-version.js.map +1 -0
  54. package/dist/sites/huyuan-skill/skills-hub.d.ts +24 -0
  55. package/dist/sites/huyuan-skill/skills-hub.d.ts.map +1 -0
  56. package/dist/sites/huyuan-skill/skills-hub.js +131 -0
  57. package/dist/sites/huyuan-skill/skills-hub.js.map +1 -0
  58. package/dist/utils/install-root.d.ts +5 -0
  59. package/dist/utils/install-root.d.ts.map +1 -0
  60. package/dist/utils/install-root.js +13 -0
  61. package/dist/utils/install-root.js.map +1 -0
  62. package/package.json +5 -3
  63. package/vendor/opencli/dist/cli-manifest.json +546 -2
  64. package/vendor/opencli/dist/clis/1688/item.js +3 -3
  65. package/vendor/opencli/dist/clis/1688/search.js +2 -2
  66. package/vendor/opencli/dist/clis/1688/shared.d.ts +1 -1
  67. package/vendor/opencli/dist/clis/1688/shared.js +1 -1
  68. package/vendor/opencli/dist/clis/1688/store.js +2 -2
  69. package/vendor/opencli/dist/clis/36kr/article.js +2 -2
  70. package/vendor/opencli/dist/clis/36kr/hot.js +12 -6
  71. package/vendor/opencli/dist/clis/36kr/news.js +1 -1
  72. package/vendor/opencli/dist/clis/36kr/search.js +12 -6
  73. package/vendor/opencli/dist/clis/_shared/desktop-commands.d.ts +5 -5
  74. package/vendor/opencli/dist/clis/_shared/desktop-commands.js +1 -1
  75. package/vendor/opencli/dist/clis/amazon/bestsellers.js +1 -1
  76. package/vendor/opencli/dist/clis/amazon/discussion.js +2 -2
  77. package/vendor/opencli/dist/clis/amazon/movers-shakers.js +1 -1
  78. package/vendor/opencli/dist/clis/amazon/new-releases.js +1 -1
  79. package/vendor/opencli/dist/clis/amazon/offer.js +2 -2
  80. package/vendor/opencli/dist/clis/amazon/product.js +2 -2
  81. package/vendor/opencli/dist/clis/amazon/rankings.d.ts +1 -1
  82. package/vendor/opencli/dist/clis/amazon/rankings.js +2 -2
  83. package/vendor/opencli/dist/clis/amazon/search.js +2 -2
  84. package/vendor/opencli/dist/clis/amazon/shared.d.ts +1 -1
  85. package/vendor/opencli/dist/clis/amazon/shared.js +1 -1
  86. package/vendor/opencli/dist/clis/antigravity/dump.d.ts +1 -1
  87. package/vendor/opencli/dist/clis/antigravity/dump.js +1 -1
  88. package/vendor/opencli/dist/clis/antigravity/extract-code.d.ts +1 -1
  89. package/vendor/opencli/dist/clis/antigravity/extract-code.js +1 -1
  90. package/vendor/opencli/dist/clis/antigravity/model.d.ts +1 -1
  91. package/vendor/opencli/dist/clis/antigravity/model.js +1 -1
  92. package/vendor/opencli/dist/clis/antigravity/new.d.ts +1 -1
  93. package/vendor/opencli/dist/clis/antigravity/new.js +1 -1
  94. package/vendor/opencli/dist/clis/antigravity/read.d.ts +1 -1
  95. package/vendor/opencli/dist/clis/antigravity/read.js +1 -1
  96. package/vendor/opencli/dist/clis/antigravity/send.d.ts +1 -1
  97. package/vendor/opencli/dist/clis/antigravity/send.js +1 -1
  98. package/vendor/opencli/dist/clis/antigravity/serve.js +3 -3
  99. package/vendor/opencli/dist/clis/antigravity/status.d.ts +1 -1
  100. package/vendor/opencli/dist/clis/antigravity/status.js +1 -1
  101. package/vendor/opencli/dist/clis/antigravity/watch.d.ts +1 -1
  102. package/vendor/opencli/dist/clis/antigravity/watch.js +1 -1
  103. package/vendor/opencli/dist/clis/apple-podcasts/commands.test.js +1 -1
  104. package/vendor/opencli/dist/clis/apple-podcasts/episodes.js +2 -2
  105. package/vendor/opencli/dist/clis/apple-podcasts/search.js +2 -2
  106. package/vendor/opencli/dist/clis/apple-podcasts/top.js +2 -2
  107. package/vendor/opencli/dist/clis/apple-podcasts/utils.js +1 -1
  108. package/vendor/opencli/dist/clis/arxiv/paper.js +2 -2
  109. package/vendor/opencli/dist/clis/arxiv/search.js +2 -2
  110. package/vendor/opencli/dist/clis/arxiv/utils.js +1 -1
  111. package/vendor/opencli/dist/clis/band/bands.js +2 -2
  112. package/vendor/opencli/dist/clis/band/mentions.js +2 -2
  113. package/vendor/opencli/dist/clis/band/post.js +4 -4
  114. package/vendor/opencli/dist/clis/band/posts.js +2 -2
  115. package/vendor/opencli/dist/clis/barchart/flow.js +1 -1
  116. package/vendor/opencli/dist/clis/barchart/greeks.js +1 -1
  117. package/vendor/opencli/dist/clis/barchart/options.js +1 -1
  118. package/vendor/opencli/dist/clis/barchart/quote.js +1 -1
  119. package/vendor/opencli/dist/clis/bbc/news.js +1 -1
  120. package/vendor/opencli/dist/clis/bilibili/comments.js +1 -1
  121. package/vendor/opencli/dist/clis/bilibili/comments.test.js +1 -1
  122. package/vendor/opencli/dist/clis/bilibili/download.js +3 -3
  123. package/vendor/opencli/dist/clis/bilibili/dynamic.js +1 -1
  124. package/vendor/opencli/dist/clis/bilibili/dynamic.test.js +1 -1
  125. package/vendor/opencli/dist/clis/bilibili/favorite.js +1 -1
  126. package/vendor/opencli/dist/clis/bilibili/feed.js +1 -1
  127. package/vendor/opencli/dist/clis/bilibili/following.js +2 -2
  128. package/vendor/opencli/dist/clis/bilibili/history.js +1 -1
  129. package/vendor/opencli/dist/clis/bilibili/me.js +1 -1
  130. package/vendor/opencli/dist/clis/bilibili/ranking.js +1 -1
  131. package/vendor/opencli/dist/clis/bilibili/search.js +1 -1
  132. package/vendor/opencli/dist/clis/bilibili/subtitle.js +2 -2
  133. package/vendor/opencli/dist/clis/bilibili/subtitle.test.js +2 -2
  134. package/vendor/opencli/dist/clis/bilibili/user-videos.js +1 -1
  135. package/vendor/opencli/dist/clis/bilibili/utils.d.ts +1 -1
  136. package/vendor/opencli/dist/clis/bilibili/utils.js +1 -1
  137. package/vendor/opencli/dist/clis/bloomberg/businessweek.js +1 -1
  138. package/vendor/opencli/dist/clis/bloomberg/economics.js +1 -1
  139. package/vendor/opencli/dist/clis/bloomberg/feeds.js +1 -1
  140. package/vendor/opencli/dist/clis/bloomberg/industries.js +1 -1
  141. package/vendor/opencli/dist/clis/bloomberg/main.js +1 -1
  142. package/vendor/opencli/dist/clis/bloomberg/markets.js +1 -1
  143. package/vendor/opencli/dist/clis/bloomberg/news.js +2 -2
  144. package/vendor/opencli/dist/clis/bloomberg/opinions.js +1 -1
  145. package/vendor/opencli/dist/clis/bloomberg/politics.js +1 -1
  146. package/vendor/opencli/dist/clis/bloomberg/tech.js +1 -1
  147. package/vendor/opencli/dist/clis/bloomberg/utils.js +1 -1
  148. package/vendor/opencli/dist/clis/boss/batchgreet.js +1 -1
  149. package/vendor/opencli/dist/clis/boss/chatlist.js +1 -1
  150. package/vendor/opencli/dist/clis/boss/chatmsg.js +1 -1
  151. package/vendor/opencli/dist/clis/boss/detail.js +1 -1
  152. package/vendor/opencli/dist/clis/boss/exchange.js +1 -1
  153. package/vendor/opencli/dist/clis/boss/greet.js +1 -1
  154. package/vendor/opencli/dist/clis/boss/invite.js +1 -1
  155. package/vendor/opencli/dist/clis/boss/joblist.js +1 -1
  156. package/vendor/opencli/dist/clis/boss/mark.js +2 -2
  157. package/vendor/opencli/dist/clis/boss/recommend.js +1 -1
  158. package/vendor/opencli/dist/clis/boss/resume.js +1 -1
  159. package/vendor/opencli/dist/clis/boss/search.js +1 -1
  160. package/vendor/opencli/dist/clis/boss/send.js +2 -2
  161. package/vendor/opencli/dist/clis/boss/stats.js +1 -1
  162. package/vendor/opencli/dist/clis/boss/utils.d.ts +1 -1
  163. package/vendor/opencli/dist/clis/chaoxing/assignments.js +2 -2
  164. package/vendor/opencli/dist/clis/chaoxing/exams.js +1 -1
  165. package/vendor/opencli/dist/clis/chaoxing/utils.d.ts +1 -1
  166. package/vendor/opencli/dist/clis/chatgpt/ask.d.ts +1 -1
  167. package/vendor/opencli/dist/clis/chatgpt/ask.js +2 -2
  168. package/vendor/opencli/dist/clis/chatgpt/model.d.ts +1 -1
  169. package/vendor/opencli/dist/clis/chatgpt/model.js +2 -2
  170. package/vendor/opencli/dist/clis/chatgpt/new.d.ts +1 -1
  171. package/vendor/opencli/dist/clis/chatgpt/new.js +2 -2
  172. package/vendor/opencli/dist/clis/chatgpt/read.d.ts +1 -1
  173. package/vendor/opencli/dist/clis/chatgpt/read.js +2 -2
  174. package/vendor/opencli/dist/clis/chatgpt/send.d.ts +1 -1
  175. package/vendor/opencli/dist/clis/chatgpt/send.js +2 -2
  176. package/vendor/opencli/dist/clis/chatgpt/status.d.ts +1 -1
  177. package/vendor/opencli/dist/clis/chatgpt/status.js +2 -2
  178. package/vendor/opencli/dist/clis/chatwise/ask.d.ts +1 -1
  179. package/vendor/opencli/dist/clis/chatwise/ask.js +2 -2
  180. package/vendor/opencli/dist/clis/chatwise/export.d.ts +1 -1
  181. package/vendor/opencli/dist/clis/chatwise/export.js +1 -1
  182. package/vendor/opencli/dist/clis/chatwise/history.d.ts +1 -1
  183. package/vendor/opencli/dist/clis/chatwise/history.js +1 -1
  184. package/vendor/opencli/dist/clis/chatwise/model.d.ts +1 -1
  185. package/vendor/opencli/dist/clis/chatwise/model.js +2 -2
  186. package/vendor/opencli/dist/clis/chatwise/new.d.ts +1 -1
  187. package/vendor/opencli/dist/clis/chatwise/read.d.ts +1 -1
  188. package/vendor/opencli/dist/clis/chatwise/read.js +1 -1
  189. package/vendor/opencli/dist/clis/chatwise/screenshot.d.ts +1 -1
  190. package/vendor/opencli/dist/clis/chatwise/send.d.ts +1 -1
  191. package/vendor/opencli/dist/clis/chatwise/send.js +2 -2
  192. package/vendor/opencli/dist/clis/chatwise/status.d.ts +1 -1
  193. package/vendor/opencli/dist/clis/codex/ask.d.ts +1 -1
  194. package/vendor/opencli/dist/clis/codex/ask.js +2 -2
  195. package/vendor/opencli/dist/clis/codex/dump.d.ts +1 -1
  196. package/vendor/opencli/dist/clis/codex/export.d.ts +1 -1
  197. package/vendor/opencli/dist/clis/codex/export.js +1 -1
  198. package/vendor/opencli/dist/clis/codex/extract-diff.d.ts +1 -1
  199. package/vendor/opencli/dist/clis/codex/extract-diff.js +1 -1
  200. package/vendor/opencli/dist/clis/codex/history.d.ts +1 -1
  201. package/vendor/opencli/dist/clis/codex/history.js +1 -1
  202. package/vendor/opencli/dist/clis/codex/model.d.ts +1 -1
  203. package/vendor/opencli/dist/clis/codex/model.js +1 -1
  204. package/vendor/opencli/dist/clis/codex/new.d.ts +1 -1
  205. package/vendor/opencli/dist/clis/codex/read.d.ts +1 -1
  206. package/vendor/opencli/dist/clis/codex/read.js +1 -1
  207. package/vendor/opencli/dist/clis/codex/screenshot.d.ts +1 -1
  208. package/vendor/opencli/dist/clis/codex/send.d.ts +1 -1
  209. package/vendor/opencli/dist/clis/codex/send.js +2 -2
  210. package/vendor/opencli/dist/clis/codex/status.d.ts +1 -1
  211. package/vendor/opencli/dist/clis/coupang/add-to-cart.js +1 -1
  212. package/vendor/opencli/dist/clis/coupang/search.js +1 -1
  213. package/vendor/opencli/dist/clis/ctrip/search.js +2 -2
  214. package/vendor/opencli/dist/clis/ctrip/search.test.js +1 -1
  215. package/vendor/opencli/dist/clis/cursor/ask.d.ts +1 -1
  216. package/vendor/opencli/dist/clis/cursor/ask.js +2 -2
  217. package/vendor/opencli/dist/clis/cursor/composer.d.ts +1 -1
  218. package/vendor/opencli/dist/clis/cursor/composer.js +2 -2
  219. package/vendor/opencli/dist/clis/cursor/dump.d.ts +1 -1
  220. package/vendor/opencli/dist/clis/cursor/export.d.ts +1 -1
  221. package/vendor/opencli/dist/clis/cursor/export.js +1 -1
  222. package/vendor/opencli/dist/clis/cursor/extract-code.d.ts +1 -1
  223. package/vendor/opencli/dist/clis/cursor/extract-code.js +1 -1
  224. package/vendor/opencli/dist/clis/cursor/history.d.ts +1 -1
  225. package/vendor/opencli/dist/clis/cursor/history.js +1 -1
  226. package/vendor/opencli/dist/clis/cursor/model.d.ts +1 -1
  227. package/vendor/opencli/dist/clis/cursor/model.js +1 -1
  228. package/vendor/opencli/dist/clis/cursor/new.d.ts +1 -1
  229. package/vendor/opencli/dist/clis/cursor/read.d.ts +1 -1
  230. package/vendor/opencli/dist/clis/cursor/read.js +2 -2
  231. package/vendor/opencli/dist/clis/cursor/screenshot.d.ts +1 -1
  232. package/vendor/opencli/dist/clis/cursor/send.d.ts +1 -1
  233. package/vendor/opencli/dist/clis/cursor/send.js +2 -2
  234. package/vendor/opencli/dist/clis/cursor/status.d.ts +1 -1
  235. package/vendor/opencli/dist/clis/discord-app/channels.d.ts +1 -1
  236. package/vendor/opencli/dist/clis/discord-app/channels.js +1 -1
  237. package/vendor/opencli/dist/clis/discord-app/members.d.ts +1 -1
  238. package/vendor/opencli/dist/clis/discord-app/members.js +1 -1
  239. package/vendor/opencli/dist/clis/discord-app/read.d.ts +1 -1
  240. package/vendor/opencli/dist/clis/discord-app/read.js +1 -1
  241. package/vendor/opencli/dist/clis/discord-app/search.d.ts +1 -1
  242. package/vendor/opencli/dist/clis/discord-app/search.js +1 -1
  243. package/vendor/opencli/dist/clis/discord-app/send.d.ts +1 -1
  244. package/vendor/opencli/dist/clis/discord-app/send.js +1 -1
  245. package/vendor/opencli/dist/clis/discord-app/servers.d.ts +1 -1
  246. package/vendor/opencli/dist/clis/discord-app/servers.js +1 -1
  247. package/vendor/opencli/dist/clis/discord-app/status.d.ts +1 -1
  248. package/vendor/opencli/dist/clis/discord-app/status.js +1 -1
  249. package/vendor/opencli/dist/clis/douban/book-hot.js +1 -1
  250. package/vendor/opencli/dist/clis/douban/download.js +4 -4
  251. package/vendor/opencli/dist/clis/douban/download.test.js +3 -3
  252. package/vendor/opencli/dist/clis/douban/marks.js +1 -1
  253. package/vendor/opencli/dist/clis/douban/movie-hot.js +1 -1
  254. package/vendor/opencli/dist/clis/douban/photos.js +1 -1
  255. package/vendor/opencli/dist/clis/douban/reviews.js +1 -1
  256. package/vendor/opencli/dist/clis/douban/search.js +1 -1
  257. package/vendor/opencli/dist/clis/douban/utils.d.ts +1 -1
  258. package/vendor/opencli/dist/clis/douban/utils.js +1 -1
  259. package/vendor/opencli/dist/clis/doubao/ask.d.ts +1 -1
  260. package/vendor/opencli/dist/clis/doubao/ask.js +1 -1
  261. package/vendor/opencli/dist/clis/doubao/detail.d.ts +1 -1
  262. package/vendor/opencli/dist/clis/doubao/detail.js +1 -1
  263. package/vendor/opencli/dist/clis/doubao/detail.test.js +1 -1
  264. package/vendor/opencli/dist/clis/doubao/history.d.ts +1 -1
  265. package/vendor/opencli/dist/clis/doubao/history.js +1 -1
  266. package/vendor/opencli/dist/clis/doubao/history.test.js +1 -1
  267. package/vendor/opencli/dist/clis/doubao/meeting-summary.d.ts +1 -1
  268. package/vendor/opencli/dist/clis/doubao/meeting-summary.js +1 -1
  269. package/vendor/opencli/dist/clis/doubao/meeting-transcript.d.ts +1 -1
  270. package/vendor/opencli/dist/clis/doubao/meeting-transcript.js +1 -1
  271. package/vendor/opencli/dist/clis/doubao/new.d.ts +1 -1
  272. package/vendor/opencli/dist/clis/doubao/new.js +1 -1
  273. package/vendor/opencli/dist/clis/doubao/read.d.ts +1 -1
  274. package/vendor/opencli/dist/clis/doubao/read.js +1 -1
  275. package/vendor/opencli/dist/clis/doubao/send.d.ts +1 -1
  276. package/vendor/opencli/dist/clis/doubao/send.js +1 -1
  277. package/vendor/opencli/dist/clis/doubao/status.d.ts +1 -1
  278. package/vendor/opencli/dist/clis/doubao/status.js +1 -1
  279. package/vendor/opencli/dist/clis/doubao/utils.d.ts +1 -1
  280. package/vendor/opencli/dist/clis/doubao-app/ask.d.ts +1 -1
  281. package/vendor/opencli/dist/clis/doubao-app/ask.js +1 -1
  282. package/vendor/opencli/dist/clis/doubao-app/dump.d.ts +1 -1
  283. package/vendor/opencli/dist/clis/doubao-app/dump.js +1 -1
  284. package/vendor/opencli/dist/clis/doubao-app/new.d.ts +1 -1
  285. package/vendor/opencli/dist/clis/doubao-app/new.js +1 -1
  286. package/vendor/opencli/dist/clis/doubao-app/read.d.ts +1 -1
  287. package/vendor/opencli/dist/clis/doubao-app/read.js +1 -1
  288. package/vendor/opencli/dist/clis/doubao-app/screenshot.d.ts +1 -1
  289. package/vendor/opencli/dist/clis/doubao-app/screenshot.js +1 -1
  290. package/vendor/opencli/dist/clis/doubao-app/send.d.ts +1 -1
  291. package/vendor/opencli/dist/clis/doubao-app/send.js +1 -1
  292. package/vendor/opencli/dist/clis/doubao-app/status.d.ts +1 -1
  293. package/vendor/opencli/dist/clis/doubao-app/status.js +1 -1
  294. package/vendor/opencli/dist/clis/douyin/_shared/browser-fetch.d.ts +1 -1
  295. package/vendor/opencli/dist/clis/douyin/_shared/browser-fetch.js +1 -1
  296. package/vendor/opencli/dist/clis/douyin/_shared/imagex-upload.js +1 -1
  297. package/vendor/opencli/dist/clis/douyin/_shared/imagex-upload.test.js +1 -1
  298. package/vendor/opencli/dist/clis/douyin/_shared/public-api.d.ts +1 -1
  299. package/vendor/opencli/dist/clis/douyin/_shared/sts2.d.ts +1 -1
  300. package/vendor/opencli/dist/clis/douyin/_shared/sts2.js +1 -1
  301. package/vendor/opencli/dist/clis/douyin/_shared/sts2.test.js +1 -1
  302. package/vendor/opencli/dist/clis/douyin/_shared/tos-upload-short-read.test.js +1 -1
  303. package/vendor/opencli/dist/clis/douyin/_shared/tos-upload.js +1 -1
  304. package/vendor/opencli/dist/clis/douyin/_shared/transcode.d.ts +1 -1
  305. package/vendor/opencli/dist/clis/douyin/_shared/transcode.js +1 -1
  306. package/vendor/opencli/dist/clis/douyin/_shared/transcode.test.js +1 -1
  307. package/vendor/opencli/dist/clis/douyin/activities.js +1 -1
  308. package/vendor/opencli/dist/clis/douyin/activities.test.js +1 -1
  309. package/vendor/opencli/dist/clis/douyin/collections.js +1 -1
  310. package/vendor/opencli/dist/clis/douyin/collections.test.js +1 -1
  311. package/vendor/opencli/dist/clis/douyin/delete.js +1 -1
  312. package/vendor/opencli/dist/clis/douyin/delete.test.js +1 -1
  313. package/vendor/opencli/dist/clis/douyin/draft.js +2 -2
  314. package/vendor/opencli/dist/clis/douyin/draft.test.js +2 -2
  315. package/vendor/opencli/dist/clis/douyin/drafts.js +1 -1
  316. package/vendor/opencli/dist/clis/douyin/drafts.test.js +1 -1
  317. package/vendor/opencli/dist/clis/douyin/hashtag.js +2 -2
  318. package/vendor/opencli/dist/clis/douyin/hashtag.test.js +1 -1
  319. package/vendor/opencli/dist/clis/douyin/location.js +1 -1
  320. package/vendor/opencli/dist/clis/douyin/location.test.js +1 -1
  321. package/vendor/opencli/dist/clis/douyin/profile.js +2 -2
  322. package/vendor/opencli/dist/clis/douyin/profile.test.js +1 -1
  323. package/vendor/opencli/dist/clis/douyin/publish.js +2 -2
  324. package/vendor/opencli/dist/clis/douyin/publish.test.js +1 -1
  325. package/vendor/opencli/dist/clis/douyin/stats.js +1 -1
  326. package/vendor/opencli/dist/clis/douyin/stats.test.js +1 -1
  327. package/vendor/opencli/dist/clis/douyin/update.js +2 -2
  328. package/vendor/opencli/dist/clis/douyin/update.test.js +1 -1
  329. package/vendor/opencli/dist/clis/douyin/user-videos.js +1 -1
  330. package/vendor/opencli/dist/clis/douyin/user-videos.test.js +1 -1
  331. package/vendor/opencli/dist/clis/douyin/videos.js +1 -1
  332. package/vendor/opencli/dist/clis/douyin/videos.test.js +1 -1
  333. package/vendor/opencli/dist/clis/facebook/search.test.js +1 -1
  334. package/vendor/opencli/dist/clis/gemini/ask.d.ts +1 -1
  335. package/vendor/opencli/dist/clis/gemini/ask.js +1 -1
  336. package/vendor/opencli/dist/clis/gemini/deep-research-result.d.ts +1 -0
  337. package/vendor/opencli/dist/clis/gemini/deep-research-result.js +91 -0
  338. package/vendor/opencli/dist/clis/gemini/deep-research-result.test.js +154 -0
  339. package/vendor/opencli/dist/clis/gemini/deep-research.d.ts +1 -0
  340. package/vendor/opencli/dist/clis/gemini/deep-research.js +98 -0
  341. package/vendor/opencli/dist/clis/gemini/deep-research.test.js +184 -0
  342. package/vendor/opencli/dist/clis/gemini/image.d.ts +1 -1
  343. package/vendor/opencli/dist/clis/gemini/image.js +2 -2
  344. package/vendor/opencli/dist/clis/gemini/new.d.ts +1 -1
  345. package/vendor/opencli/dist/clis/gemini/new.js +1 -1
  346. package/vendor/opencli/dist/clis/gemini/reply-state.test.js +30 -0
  347. package/vendor/opencli/dist/clis/gemini/utils.d.ts +30 -1
  348. package/vendor/opencli/dist/clis/gemini/utils.js +1014 -2
  349. package/vendor/opencli/dist/clis/gemini/utils.test.js +21 -1
  350. package/vendor/opencli/dist/clis/google/news.js +2 -2
  351. package/vendor/opencli/dist/clis/google/search.js +2 -2
  352. package/vendor/opencli/dist/clis/google/suggest.js +2 -2
  353. package/vendor/opencli/dist/clis/google/trends.js +2 -2
  354. package/vendor/opencli/dist/clis/grok/ask.d.ts +2 -2
  355. package/vendor/opencli/dist/clis/grok/ask.js +1 -1
  356. package/vendor/opencli/dist/clis/hf/top.js +2 -2
  357. package/vendor/opencli/dist/clis/hupu/detail.js +1 -1
  358. package/vendor/opencli/dist/clis/hupu/like.js +2 -2
  359. package/vendor/opencli/dist/clis/hupu/mentions.js +159 -0
  360. package/vendor/opencli/dist/clis/hupu/reply.js +2 -2
  361. package/vendor/opencli/dist/clis/hupu/search.js +1 -1
  362. package/vendor/opencli/dist/clis/hupu/unlike.js +2 -2
  363. package/vendor/opencli/dist/clis/hupu/utils.d.ts +1 -1
  364. package/vendor/opencli/dist/clis/hupu/utils.js +1 -1
  365. package/vendor/opencli/dist/clis/imdb/person.js +2 -2
  366. package/vendor/opencli/dist/clis/imdb/reviews.js +2 -2
  367. package/vendor/opencli/dist/clis/imdb/search.js +2 -2
  368. package/vendor/opencli/dist/clis/imdb/title.js +2 -2
  369. package/vendor/opencli/dist/clis/imdb/top.js +2 -2
  370. package/vendor/opencli/dist/clis/imdb/trending.js +2 -2
  371. package/vendor/opencli/dist/clis/imdb/utils.d.ts +1 -1
  372. package/vendor/opencli/dist/clis/imdb/utils.js +1 -1
  373. package/vendor/opencli/dist/clis/instagram/_shared/private-publish.d.ts +1 -1
  374. package/vendor/opencli/dist/clis/instagram/_shared/private-publish.js +1 -1
  375. package/vendor/opencli/dist/clis/instagram/_shared/protocol-capture.d.ts +1 -1
  376. package/vendor/opencli/dist/clis/instagram/_shared/runtime-info.d.ts +1 -1
  377. package/vendor/opencli/dist/clis/instagram/download.js +3 -3
  378. package/vendor/opencli/dist/clis/instagram/download.test.js +4 -4
  379. package/vendor/opencli/dist/clis/instagram/note.js +2 -2
  380. package/vendor/opencli/dist/clis/instagram/note.test.js +2 -2
  381. package/vendor/opencli/dist/clis/instagram/post.js +2 -2
  382. package/vendor/opencli/dist/clis/instagram/post.test.js +2 -2
  383. package/vendor/opencli/dist/clis/instagram/reel.js +3 -3
  384. package/vendor/opencli/dist/clis/instagram/reel.test.js +2 -2
  385. package/vendor/opencli/dist/clis/instagram/story.js +2 -2
  386. package/vendor/opencli/dist/clis/instagram/story.test.js +2 -2
  387. package/vendor/opencli/dist/clis/jd/item.js +1 -1
  388. package/vendor/opencli/dist/clis/jd/item.test.js +1 -1
  389. package/vendor/opencli/dist/clis/jike/comment.js +1 -1
  390. package/vendor/opencli/dist/clis/jike/create.js +1 -1
  391. package/vendor/opencli/dist/clis/jike/feed.js +1 -1
  392. package/vendor/opencli/dist/clis/jike/like.js +1 -1
  393. package/vendor/opencli/dist/clis/jike/notifications.js +1 -1
  394. package/vendor/opencli/dist/clis/jike/repost.js +1 -1
  395. package/vendor/opencli/dist/clis/jike/search.js +1 -1
  396. package/vendor/opencli/dist/clis/lesswrong/_helpers.d.ts +15 -0
  397. package/vendor/opencli/dist/clis/lesswrong/_helpers.js +75 -0
  398. package/vendor/opencli/dist/clis/lesswrong/comments.js +64 -0
  399. package/vendor/opencli/dist/clis/lesswrong/curated.js +30 -0
  400. package/vendor/opencli/dist/clis/lesswrong/frontpage.js +30 -0
  401. package/vendor/opencli/dist/clis/lesswrong/new.js +30 -0
  402. package/vendor/opencli/dist/clis/lesswrong/read.js +45 -0
  403. package/vendor/opencli/dist/clis/lesswrong/sequences.js +27 -0
  404. package/vendor/opencli/dist/clis/lesswrong/shortform.js +30 -0
  405. package/vendor/opencli/dist/clis/lesswrong/tag.js +45 -0
  406. package/vendor/opencli/dist/clis/lesswrong/tags.js +27 -0
  407. package/vendor/opencli/dist/clis/lesswrong/top-month.js +30 -0
  408. package/vendor/opencli/dist/clis/lesswrong/top-week.js +30 -0
  409. package/vendor/opencli/dist/clis/lesswrong/top-year.js +30 -0
  410. package/vendor/opencli/dist/clis/lesswrong/top.js +30 -0
  411. package/vendor/opencli/dist/clis/lesswrong/user-posts.js +41 -0
  412. package/vendor/opencli/dist/clis/lesswrong/user.js +44 -0
  413. package/vendor/opencli/dist/clis/linkedin/search.js +2 -2
  414. package/vendor/opencli/dist/clis/linkedin/timeline.js +2 -2
  415. package/vendor/opencli/dist/clis/linkedin/timeline.test.js +1 -1
  416. package/vendor/opencli/dist/clis/linux-do/category.js +1 -1
  417. package/vendor/opencli/dist/clis/linux-do/feed.d.ts +2 -2
  418. package/vendor/opencli/dist/clis/linux-do/feed.js +2 -2
  419. package/vendor/opencli/dist/clis/linux-do/hot.js +1 -1
  420. package/vendor/opencli/dist/clis/linux-do/latest.js +1 -1
  421. package/vendor/opencli/dist/clis/medium/feed.js +1 -1
  422. package/vendor/opencli/dist/clis/medium/search.js +1 -1
  423. package/vendor/opencli/dist/clis/medium/user.js +1 -1
  424. package/vendor/opencli/dist/clis/medium/utils.d.ts +1 -1
  425. package/vendor/opencli/dist/clis/medium/utils.js +1 -1
  426. package/vendor/opencli/dist/clis/notebooklm/compat.test.js +1 -1
  427. package/vendor/opencli/dist/clis/notebooklm/current.js +2 -2
  428. package/vendor/opencli/dist/clis/notebooklm/get.js +2 -2
  429. package/vendor/opencli/dist/clis/notebooklm/history.js +2 -2
  430. package/vendor/opencli/dist/clis/notebooklm/history.test.js +1 -1
  431. package/vendor/opencli/dist/clis/notebooklm/list.js +2 -2
  432. package/vendor/opencli/dist/clis/notebooklm/note-list.js +2 -2
  433. package/vendor/opencli/dist/clis/notebooklm/note-list.test.js +1 -1
  434. package/vendor/opencli/dist/clis/notebooklm/notes-get.js +2 -2
  435. package/vendor/opencli/dist/clis/notebooklm/notes-get.test.js +1 -1
  436. package/vendor/opencli/dist/clis/notebooklm/open.js +2 -2
  437. package/vendor/opencli/dist/clis/notebooklm/open.test.js +1 -1
  438. package/vendor/opencli/dist/clis/notebooklm/rpc.d.ts +1 -1
  439. package/vendor/opencli/dist/clis/notebooklm/rpc.js +1 -1
  440. package/vendor/opencli/dist/clis/notebooklm/rpc.test.js +1 -1
  441. package/vendor/opencli/dist/clis/notebooklm/source-fulltext.js +2 -2
  442. package/vendor/opencli/dist/clis/notebooklm/source-fulltext.test.js +1 -1
  443. package/vendor/opencli/dist/clis/notebooklm/source-get.js +2 -2
  444. package/vendor/opencli/dist/clis/notebooklm/source-get.test.js +1 -1
  445. package/vendor/opencli/dist/clis/notebooklm/source-guide.js +2 -2
  446. package/vendor/opencli/dist/clis/notebooklm/source-guide.test.js +1 -1
  447. package/vendor/opencli/dist/clis/notebooklm/source-list.js +2 -2
  448. package/vendor/opencli/dist/clis/notebooklm/status.js +1 -1
  449. package/vendor/opencli/dist/clis/notebooklm/summary.js +2 -2
  450. package/vendor/opencli/dist/clis/notebooklm/summary.test.js +1 -1
  451. package/vendor/opencli/dist/clis/notebooklm/utils.d.ts +1 -1
  452. package/vendor/opencli/dist/clis/notebooklm/utils.js +1 -1
  453. package/vendor/opencli/dist/clis/notion/export.d.ts +1 -1
  454. package/vendor/opencli/dist/clis/notion/export.js +1 -1
  455. package/vendor/opencli/dist/clis/notion/favorites.d.ts +1 -1
  456. package/vendor/opencli/dist/clis/notion/favorites.js +1 -1
  457. package/vendor/opencli/dist/clis/notion/new.d.ts +1 -1
  458. package/vendor/opencli/dist/clis/notion/new.js +1 -1
  459. package/vendor/opencli/dist/clis/notion/read.d.ts +1 -1
  460. package/vendor/opencli/dist/clis/notion/read.js +1 -1
  461. package/vendor/opencli/dist/clis/notion/search.d.ts +1 -1
  462. package/vendor/opencli/dist/clis/notion/search.js +1 -1
  463. package/vendor/opencli/dist/clis/notion/sidebar.d.ts +1 -1
  464. package/vendor/opencli/dist/clis/notion/sidebar.js +1 -1
  465. package/vendor/opencli/dist/clis/notion/status.d.ts +1 -1
  466. package/vendor/opencli/dist/clis/notion/status.js +1 -1
  467. package/vendor/opencli/dist/clis/notion/write.d.ts +1 -1
  468. package/vendor/opencli/dist/clis/notion/write.js +1 -1
  469. package/vendor/opencli/dist/clis/ones/common.d.ts +1 -1
  470. package/vendor/opencli/dist/clis/ones/common.js +1 -1
  471. package/vendor/opencli/dist/clis/ones/enrich-tasks.d.ts +1 -1
  472. package/vendor/opencli/dist/clis/ones/login.js +2 -2
  473. package/vendor/opencli/dist/clis/ones/logout.js +1 -1
  474. package/vendor/opencli/dist/clis/ones/me.js +2 -2
  475. package/vendor/opencli/dist/clis/ones/my-tasks.js +2 -2
  476. package/vendor/opencli/dist/clis/ones/resolve-labels.d.ts +1 -1
  477. package/vendor/opencli/dist/clis/ones/task-helpers.js +1 -1
  478. package/vendor/opencli/dist/clis/ones/task.js +2 -2
  479. package/vendor/opencli/dist/clis/ones/tasks.js +2 -2
  480. package/vendor/opencli/dist/clis/ones/token-info.js +2 -2
  481. package/vendor/opencli/dist/clis/ones/worklog.js +2 -2
  482. package/vendor/opencli/dist/clis/paperreview/commands.test.js +1 -1
  483. package/vendor/opencli/dist/clis/paperreview/feedback.js +2 -2
  484. package/vendor/opencli/dist/clis/paperreview/review.js +2 -2
  485. package/vendor/opencli/dist/clis/paperreview/submit.js +2 -2
  486. package/vendor/opencli/dist/clis/paperreview/utils.js +1 -1
  487. package/vendor/opencli/dist/clis/paperreview/utils.test.js +1 -1
  488. package/vendor/opencli/dist/clis/pixiv/download.js +4 -4
  489. package/vendor/opencli/dist/clis/pixiv/download.test.js +3 -3
  490. package/vendor/opencli/dist/clis/pixiv/illusts.js +2 -2
  491. package/vendor/opencli/dist/clis/pixiv/illusts.test.js +2 -2
  492. package/vendor/opencli/dist/clis/pixiv/search.js +1 -1
  493. package/vendor/opencli/dist/clis/pixiv/search.test.js +2 -2
  494. package/vendor/opencli/dist/clis/pixiv/test-utils.d.ts +1 -1
  495. package/vendor/opencli/dist/clis/pixiv/utils.d.ts +1 -1
  496. package/vendor/opencli/dist/clis/pixiv/utils.js +1 -1
  497. package/vendor/opencli/dist/clis/producthunt/browse.js +2 -2
  498. package/vendor/opencli/dist/clis/producthunt/hot.js +2 -2
  499. package/vendor/opencli/dist/clis/producthunt/posts.js +1 -1
  500. package/vendor/opencli/dist/clis/producthunt/today.js +1 -1
  501. package/vendor/opencli/dist/clis/reddit/comment.js +2 -2
  502. package/vendor/opencli/dist/clis/reddit/read.js +2 -2
  503. package/vendor/opencli/dist/clis/reddit/read.test.js +1 -1
  504. package/vendor/opencli/dist/clis/reddit/save.js +2 -2
  505. package/vendor/opencli/dist/clis/reddit/saved.js +2 -2
  506. package/vendor/opencli/dist/clis/reddit/subscribe.js +2 -2
  507. package/vendor/opencli/dist/clis/reddit/upvote.js +2 -2
  508. package/vendor/opencli/dist/clis/reddit/upvoted.js +2 -2
  509. package/vendor/opencli/dist/clis/reuters/search.js +1 -1
  510. package/vendor/opencli/dist/clis/sinablog/article.js +1 -1
  511. package/vendor/opencli/dist/clis/sinablog/hot.js +1 -1
  512. package/vendor/opencli/dist/clis/sinablog/search.js +1 -1
  513. package/vendor/opencli/dist/clis/sinablog/user.js +1 -1
  514. package/vendor/opencli/dist/clis/sinablog/utils.d.ts +1 -1
  515. package/vendor/opencli/dist/clis/sinafinance/news.js +2 -2
  516. package/vendor/opencli/dist/clis/sinafinance/rolling-news.js +1 -1
  517. package/vendor/opencli/dist/clis/sinafinance/stock-rank.js +1 -1
  518. package/vendor/opencli/dist/clis/sinafinance/stock.js +2 -2
  519. package/vendor/opencli/dist/clis/smzdm/search.js +1 -1
  520. package/vendor/opencli/dist/clis/spotify/spotify.js +2 -2
  521. package/vendor/opencli/dist/clis/spotify/utils.js +1 -1
  522. package/vendor/opencli/dist/clis/substack/feed.js +1 -1
  523. package/vendor/opencli/dist/clis/substack/publication.js +1 -1
  524. package/vendor/opencli/dist/clis/substack/search.js +2 -2
  525. package/vendor/opencli/dist/clis/substack/utils.d.ts +1 -1
  526. package/vendor/opencli/dist/clis/substack/utils.js +1 -1
  527. package/vendor/opencli/dist/clis/tieba/commands.test.js +1 -1
  528. package/vendor/opencli/dist/clis/tieba/hot.js +2 -2
  529. package/vendor/opencli/dist/clis/tieba/posts.js +2 -2
  530. package/vendor/opencli/dist/clis/tieba/read.js +2 -2
  531. package/vendor/opencli/dist/clis/tieba/search.js +2 -2
  532. package/vendor/opencli/dist/clis/twitter/accept.js +2 -2
  533. package/vendor/opencli/dist/clis/twitter/article.js +2 -2
  534. package/vendor/opencli/dist/clis/twitter/block.js +2 -2
  535. package/vendor/opencli/dist/clis/twitter/bookmark.js +2 -2
  536. package/vendor/opencli/dist/clis/twitter/bookmarks.js +2 -2
  537. package/vendor/opencli/dist/clis/twitter/delete.d.ts +6 -0
  538. package/vendor/opencli/dist/clis/twitter/delete.js +82 -47
  539. package/vendor/opencli/dist/clis/twitter/delete.test.d.ts +1 -0
  540. package/vendor/opencli/dist/clis/twitter/delete.test.js +73 -0
  541. package/vendor/opencli/dist/clis/twitter/download.js +3 -3
  542. package/vendor/opencli/dist/clis/twitter/follow.js +2 -2
  543. package/vendor/opencli/dist/clis/twitter/followers.js +2 -2
  544. package/vendor/opencli/dist/clis/twitter/following.js +2 -2
  545. package/vendor/opencli/dist/clis/twitter/hide-reply.js +2 -2
  546. package/vendor/opencli/dist/clis/twitter/like.js +2 -2
  547. package/vendor/opencli/dist/clis/twitter/likes.js +2 -2
  548. package/vendor/opencli/dist/clis/twitter/notifications.js +2 -2
  549. package/vendor/opencli/dist/clis/twitter/post.js +2 -2
  550. package/vendor/opencli/dist/clis/twitter/post.test.js +1 -1
  551. package/vendor/opencli/dist/clis/twitter/profile.js +2 -2
  552. package/vendor/opencli/dist/clis/twitter/reply-dm.js +2 -2
  553. package/vendor/opencli/dist/clis/twitter/reply.js +2 -2
  554. package/vendor/opencli/dist/clis/twitter/reply.test.js +1 -1
  555. package/vendor/opencli/dist/clis/twitter/search.js +2 -2
  556. package/vendor/opencli/dist/clis/twitter/search.test.js +1 -1
  557. package/vendor/opencli/dist/clis/twitter/shared.d.ts +1 -1
  558. package/vendor/opencli/dist/clis/twitter/thread.js +2 -2
  559. package/vendor/opencli/dist/clis/twitter/timeline.js +2 -2
  560. package/vendor/opencli/dist/clis/twitter/trending.js +2 -2
  561. package/vendor/opencli/dist/clis/twitter/unblock.js +2 -2
  562. package/vendor/opencli/dist/clis/twitter/unbookmark.js +2 -2
  563. package/vendor/opencli/dist/clis/twitter/unfollow.js +2 -2
  564. package/vendor/opencli/dist/clis/v2ex/daily.js +2 -2
  565. package/vendor/opencli/dist/clis/v2ex/me.js +2 -2
  566. package/vendor/opencli/dist/clis/v2ex/notifications.js +2 -2
  567. package/vendor/opencli/dist/clis/web/read.js +2 -2
  568. package/vendor/opencli/dist/clis/weibo/comments.js +1 -1
  569. package/vendor/opencli/dist/clis/weibo/feed.js +1 -1
  570. package/vendor/opencli/dist/clis/weibo/hot.js +1 -1
  571. package/vendor/opencli/dist/clis/weibo/me.js +2 -2
  572. package/vendor/opencli/dist/clis/weibo/post.js +2 -2
  573. package/vendor/opencli/dist/clis/weibo/search.js +2 -2
  574. package/vendor/opencli/dist/clis/weibo/user.js +2 -2
  575. package/vendor/opencli/dist/clis/weibo/utils.d.ts +1 -1
  576. package/vendor/opencli/dist/clis/weibo/utils.js +1 -1
  577. package/vendor/opencli/dist/clis/weixin/download.js +2 -2
  578. package/vendor/opencli/dist/clis/weread/book.js +2 -2
  579. package/vendor/opencli/dist/clis/weread/commands.test.js +2 -2
  580. package/vendor/opencli/dist/clis/weread/highlights.js +1 -1
  581. package/vendor/opencli/dist/clis/weread/notebooks.js +1 -1
  582. package/vendor/opencli/dist/clis/weread/notes.js +1 -1
  583. package/vendor/opencli/dist/clis/weread/private-api-regression.test.js +2 -2
  584. package/vendor/opencli/dist/clis/weread/ranking.js +1 -1
  585. package/vendor/opencli/dist/clis/weread/search-regression.test.js +1 -1
  586. package/vendor/opencli/dist/clis/weread/search.js +1 -1
  587. package/vendor/opencli/dist/clis/weread/shelf.js +3 -3
  588. package/vendor/opencli/dist/clis/weread/utils.d.ts +1 -1
  589. package/vendor/opencli/dist/clis/weread/utils.js +1 -1
  590. package/vendor/opencli/dist/clis/wikipedia/random.js +2 -2
  591. package/vendor/opencli/dist/clis/wikipedia/search.js +2 -2
  592. package/vendor/opencli/dist/clis/wikipedia/summary.js +2 -2
  593. package/vendor/opencli/dist/clis/wikipedia/trending.js +2 -2
  594. package/vendor/opencli/dist/clis/wikipedia/utils.js +1 -1
  595. package/vendor/opencli/dist/clis/xianyu/chat.js +2 -2
  596. package/vendor/opencli/dist/clis/xianyu/item.js +2 -2
  597. package/vendor/opencli/dist/clis/xianyu/item.test.js +2 -2
  598. package/vendor/opencli/dist/clis/xianyu/search.js +2 -2
  599. package/vendor/opencli/dist/clis/xianyu/utils.js +1 -1
  600. package/vendor/opencli/dist/clis/xiaohongshu/comments.js +2 -2
  601. package/vendor/opencli/dist/clis/xiaohongshu/comments.test.js +3 -3
  602. package/vendor/opencli/dist/clis/xiaohongshu/creator-note-detail.d.ts +1 -1
  603. package/vendor/opencli/dist/clis/xiaohongshu/creator-note-detail.js +1 -1
  604. package/vendor/opencli/dist/clis/xiaohongshu/creator-note-detail.test.js +1 -1
  605. package/vendor/opencli/dist/clis/xiaohongshu/creator-notes-summary.js +1 -1
  606. package/vendor/opencli/dist/clis/xiaohongshu/creator-notes.d.ts +1 -1
  607. package/vendor/opencli/dist/clis/xiaohongshu/creator-notes.js +1 -1
  608. package/vendor/opencli/dist/clis/xiaohongshu/creator-notes.test.js +1 -1
  609. package/vendor/opencli/dist/clis/xiaohongshu/creator-profile.js +1 -1
  610. package/vendor/opencli/dist/clis/xiaohongshu/creator-stats.js +1 -1
  611. package/vendor/opencli/dist/clis/xiaohongshu/download.js +3 -3
  612. package/vendor/opencli/dist/clis/xiaohongshu/download.test.js +3 -3
  613. package/vendor/opencli/dist/clis/xiaohongshu/note-helpers.d.ts +2 -2
  614. package/vendor/opencli/dist/clis/xiaohongshu/note-helpers.js +5 -3
  615. package/vendor/opencli/dist/clis/xiaohongshu/note.d.ts +4 -0
  616. package/vendor/opencli/dist/clis/xiaohongshu/note.js +10 -12
  617. package/vendor/opencli/dist/clis/xiaohongshu/note.test.js +6 -6
  618. package/vendor/opencli/dist/clis/xiaohongshu/publish.js +1 -1
  619. package/vendor/opencli/dist/clis/xiaohongshu/publish.test.js +1 -1
  620. package/vendor/opencli/dist/clis/xiaohongshu/search.js +2 -2
  621. package/vendor/opencli/dist/clis/xiaohongshu/search.test.js +1 -1
  622. package/vendor/opencli/dist/clis/xiaohongshu/user.js +1 -1
  623. package/vendor/opencli/dist/clis/xiaoyuzhou/episode.js +2 -2
  624. package/vendor/opencli/dist/clis/xiaoyuzhou/podcast-episodes.js +2 -2
  625. package/vendor/opencli/dist/clis/xiaoyuzhou/podcast.js +2 -2
  626. package/vendor/opencli/dist/clis/xiaoyuzhou/utils.js +1 -1
  627. package/vendor/opencli/dist/clis/xueqiu/comments.d.ts +1 -1
  628. package/vendor/opencli/dist/clis/xueqiu/comments.js +4 -4
  629. package/vendor/opencli/dist/clis/xueqiu/comments.test.js +3 -3
  630. package/vendor/opencli/dist/clis/xueqiu/danjuan-utils.d.ts +1 -1
  631. package/vendor/opencli/dist/clis/xueqiu/fund-holdings.js +1 -1
  632. package/vendor/opencli/dist/clis/xueqiu/fund-snapshot.js +1 -1
  633. package/vendor/opencli/dist/clis/yahoo-finance/quote.js +1 -1
  634. package/vendor/opencli/dist/clis/yollomi/background.js +4 -4
  635. package/vendor/opencli/dist/clis/yollomi/edit.js +5 -5
  636. package/vendor/opencli/dist/clis/yollomi/face-swap.js +4 -4
  637. package/vendor/opencli/dist/clis/yollomi/generate.js +5 -5
  638. package/vendor/opencli/dist/clis/yollomi/models.js +1 -1
  639. package/vendor/opencli/dist/clis/yollomi/object-remover.js +4 -4
  640. package/vendor/opencli/dist/clis/yollomi/remove-bg.js +4 -4
  641. package/vendor/opencli/dist/clis/yollomi/restore.js +4 -4
  642. package/vendor/opencli/dist/clis/yollomi/try-on.js +4 -4
  643. package/vendor/opencli/dist/clis/yollomi/upload.js +5 -5
  644. package/vendor/opencli/dist/clis/yollomi/upscale.js +5 -5
  645. package/vendor/opencli/dist/clis/yollomi/utils.d.ts +1 -1
  646. package/vendor/opencli/dist/clis/yollomi/utils.js +1 -1
  647. package/vendor/opencli/dist/clis/yollomi/video.js +5 -5
  648. package/vendor/opencli/dist/clis/youtube/channel.js +2 -2
  649. package/vendor/opencli/dist/clis/youtube/comments.js +2 -2
  650. package/vendor/opencli/dist/clis/youtube/search.js +1 -1
  651. package/vendor/opencli/dist/clis/youtube/transcript.js +2 -2
  652. package/vendor/opencli/dist/clis/youtube/utils.d.ts +1 -1
  653. package/vendor/opencli/dist/clis/youtube/video.js +2 -2
  654. package/vendor/opencli/dist/clis/yuanbao/ask.d.ts +1 -1
  655. package/vendor/opencli/dist/clis/yuanbao/ask.js +36 -53
  656. package/vendor/opencli/dist/clis/yuanbao/ask.test.js +1 -1
  657. package/vendor/opencli/dist/clis/yuanbao/new.d.ts +1 -1
  658. package/vendor/opencli/dist/clis/yuanbao/new.js +1 -1
  659. package/vendor/opencli/dist/clis/yuanbao/new.test.js +1 -1
  660. package/vendor/opencli/dist/clis/yuanbao/shared.d.ts +2 -2
  661. package/vendor/opencli/dist/clis/yuanbao/shared.js +1 -1
  662. package/vendor/opencli/dist/clis/zhihu/download.js +2 -2
  663. package/vendor/opencli/dist/clis/zhihu/question.js +2 -2
  664. package/vendor/opencli/dist/clis/zhihu/question.test.js +2 -2
  665. package/vendor/opencli/dist/clis/zsxq/dynamics.js +1 -1
  666. package/vendor/opencli/dist/clis/zsxq/groups.js +1 -1
  667. package/vendor/opencli/dist/clis/zsxq/search.js +1 -1
  668. package/vendor/opencli/dist/clis/zsxq/search.test.js +1 -1
  669. package/vendor/opencli/dist/clis/zsxq/topic.js +2 -2
  670. package/vendor/opencli/dist/clis/zsxq/topic.test.js +1 -1
  671. package/vendor/opencli/dist/clis/zsxq/topics.js +1 -1
  672. package/vendor/opencli/dist/clis/zsxq/topics.test.js +1 -1
  673. package/vendor/opencli/dist/clis/zsxq/utils.d.ts +1 -1
  674. package/vendor/opencli/dist/clis/zsxq/utils.js +1 -1
  675. package/vendor/opencli/dist/{build-manifest.js → src/build-manifest.js} +5 -4
  676. package/vendor/opencli/dist/{cascade.js → src/cascade.js} +16 -31
  677. package/vendor/opencli/dist/src/cli.d.ts +22 -0
  678. package/vendor/opencli/dist/{cli.js → src/cli.js} +78 -8
  679. package/vendor/opencli/dist/{cli.test.js → src/cli.test.js} +84 -1
  680. package/vendor/opencli/dist/{commanderAdapter.d.ts → src/commanderAdapter.d.ts} +1 -0
  681. package/vendor/opencli/dist/{commanderAdapter.js → src/commanderAdapter.js} +26 -46
  682. package/vendor/opencli/dist/src/diagnostic.d.ts +38 -0
  683. package/vendor/opencli/dist/src/diagnostic.js +71 -0
  684. package/vendor/opencli/dist/src/diagnostic.test.d.ts +1 -0
  685. package/vendor/opencli/dist/src/diagnostic.test.js +84 -0
  686. package/vendor/opencli/dist/{discovery.d.ts → src/discovery.d.ts} +11 -2
  687. package/vendor/opencli/dist/{discovery.js → src/discovery.js} +71 -37
  688. package/vendor/opencli/dist/src/doctor.test.d.ts +1 -0
  689. package/vendor/opencli/dist/src/download/index.test.d.ts +1 -0
  690. package/vendor/opencli/dist/src/electron-apps.test.d.ts +1 -0
  691. package/vendor/opencli/dist/src/engine.test.d.ts +1 -0
  692. package/vendor/opencli/dist/{engine.test.js → src/engine.test.js} +6 -5
  693. package/vendor/opencli/dist/src/errors.test.d.ts +1 -0
  694. package/vendor/opencli/dist/{execution.js → src/execution.js} +25 -4
  695. package/vendor/opencli/dist/src/execution.test.d.ts +1 -0
  696. package/vendor/opencli/dist/src/extension-manifest-regression.test.d.ts +1 -0
  697. package/vendor/opencli/dist/src/external.test.d.ts +1 -0
  698. package/vendor/opencli/dist/{interceptor.d.ts → src/interceptor.d.ts} +2 -0
  699. package/vendor/opencli/dist/{interceptor.js → src/interceptor.js} +3 -6
  700. package/vendor/opencli/dist/src/launcher.test.d.ts +1 -0
  701. package/vendor/opencli/dist/{logger.d.ts → src/logger.d.ts} +4 -0
  702. package/vendor/opencli/dist/{logger.js → src/logger.js} +8 -0
  703. package/vendor/opencli/dist/{main.js → src/main.js} +3 -2
  704. package/vendor/opencli/dist/src/node-network.test.d.ts +1 -0
  705. package/vendor/opencli/dist/src/output.test.d.ts +1 -0
  706. package/vendor/opencli/dist/src/package-exports.test.d.ts +1 -0
  707. package/vendor/opencli/dist/src/package-exports.test.js +112 -0
  708. package/vendor/opencli/dist/src/pipeline/steps/download.test.d.ts +1 -0
  709. package/vendor/opencli/dist/src/pipeline/steps/fetch.test.d.ts +1 -0
  710. package/vendor/opencli/dist/{record.js → src/record.js} +1 -1
  711. package/vendor/opencli/dist/src/record.test.d.ts +1 -0
  712. package/vendor/opencli/dist/{registry-api.d.ts → src/registry-api.d.ts} +1 -1
  713. package/vendor/opencli/dist/src/runtime-detect.test.d.ts +1 -0
  714. package/vendor/opencli/dist/src/serialization.test.d.ts +1 -0
  715. package/vendor/opencli/dist/{synthesize.d.ts → src/synthesize.d.ts} +0 -4
  716. package/vendor/opencli/dist/{synthesize.js → src/synthesize.js} +4 -15
  717. package/vendor/opencli/dist/src/tui.test.d.ts +1 -0
  718. package/vendor/opencli/dist/{utils.d.ts → src/utils.d.ts} +3 -0
  719. package/vendor/opencli/dist/{utils.js → src/utils.js} +22 -0
  720. package/vendor/opencli/dist/{version.js → src/version.js} +7 -1
  721. package/vendor/opencli/dist/src/weixin-download.test.d.ts +1 -0
  722. package/vendor/opencli/dist/{weixin-download.test.js → src/weixin-download.test.js} +1 -1
  723. package/vendor/opencli/dist/cli.d.ts +0 -9
  724. /package/vendor/opencli/dist/{browser.test.d.ts → clis/gemini/deep-research-result.test.d.ts} +0 -0
  725. /package/vendor/opencli/dist/{browser/cdp.test.d.ts → clis/gemini/deep-research.test.d.ts} +0 -0
  726. /package/vendor/opencli/dist/{browser/daemon-client.test.d.ts → clis/hupu/mentions.d.ts} +0 -0
  727. /package/vendor/opencli/dist/{browser/dom-helpers.test.d.ts → clis/lesswrong/comments.d.ts} +0 -0
  728. /package/vendor/opencli/dist/{browser/page.test.d.ts → clis/lesswrong/curated.d.ts} +0 -0
  729. /package/vendor/opencli/dist/{browser/stealth.test.d.ts → clis/lesswrong/frontpage.d.ts} +0 -0
  730. /package/vendor/opencli/dist/{build-manifest.test.d.ts → clis/lesswrong/new.d.ts} +0 -0
  731. /package/vendor/opencli/dist/{capabilityRouting.test.d.ts → clis/lesswrong/read.d.ts} +0 -0
  732. /package/vendor/opencli/dist/{cli.test.d.ts → clis/lesswrong/sequences.d.ts} +0 -0
  733. /package/vendor/opencli/dist/{commanderAdapter.test.d.ts → clis/lesswrong/shortform.d.ts} +0 -0
  734. /package/vendor/opencli/dist/{commands/daemon.test.d.ts → clis/lesswrong/tag.d.ts} +0 -0
  735. /package/vendor/opencli/dist/{completion.test.d.ts → clis/lesswrong/tags.d.ts} +0 -0
  736. /package/vendor/opencli/dist/{daemon.test.d.ts → clis/lesswrong/top-month.d.ts} +0 -0
  737. /package/vendor/opencli/dist/{doctor.test.d.ts → clis/lesswrong/top-week.d.ts} +0 -0
  738. /package/vendor/opencli/dist/{download/index.test.d.ts → clis/lesswrong/top-year.d.ts} +0 -0
  739. /package/vendor/opencli/dist/{electron-apps.test.d.ts → clis/lesswrong/top.d.ts} +0 -0
  740. /package/vendor/opencli/dist/{engine.test.d.ts → clis/lesswrong/user-posts.d.ts} +0 -0
  741. /package/vendor/opencli/dist/{errors.test.d.ts → clis/lesswrong/user.d.ts} +0 -0
  742. /package/vendor/opencli/dist/{analysis.d.ts → src/analysis.d.ts} +0 -0
  743. /package/vendor/opencli/dist/{analysis.js → src/analysis.js} +0 -0
  744. /package/vendor/opencli/dist/{browser → src/browser}/base-page.d.ts +0 -0
  745. /package/vendor/opencli/dist/{browser → src/browser}/base-page.js +0 -0
  746. /package/vendor/opencli/dist/{browser → src/browser}/bridge.d.ts +0 -0
  747. /package/vendor/opencli/dist/{browser → src/browser}/bridge.js +0 -0
  748. /package/vendor/opencli/dist/{browser → src/browser}/cdp.d.ts +0 -0
  749. /package/vendor/opencli/dist/{browser → src/browser}/cdp.js +0 -0
  750. /package/vendor/opencli/dist/{extension-manifest-regression.test.d.ts → src/browser/cdp.test.d.ts} +0 -0
  751. /package/vendor/opencli/dist/{browser → src/browser}/cdp.test.js +0 -0
  752. /package/vendor/opencli/dist/{browser → src/browser}/daemon-client.d.ts +0 -0
  753. /package/vendor/opencli/dist/{browser → src/browser}/daemon-client.js +0 -0
  754. /package/vendor/opencli/dist/{external.test.d.ts → src/browser/daemon-client.test.d.ts} +0 -0
  755. /package/vendor/opencli/dist/{browser → src/browser}/daemon-client.test.js +0 -0
  756. /package/vendor/opencli/dist/{browser → src/browser}/discover.d.ts +0 -0
  757. /package/vendor/opencli/dist/{browser → src/browser}/discover.js +0 -0
  758. /package/vendor/opencli/dist/{browser → src/browser}/dom-helpers.d.ts +0 -0
  759. /package/vendor/opencli/dist/{browser → src/browser}/dom-helpers.js +0 -0
  760. /package/vendor/opencli/dist/{launcher.test.d.ts → src/browser/dom-helpers.test.d.ts} +0 -0
  761. /package/vendor/opencli/dist/{browser → src/browser}/dom-helpers.test.js +0 -0
  762. /package/vendor/opencli/dist/{browser → src/browser}/dom-snapshot.d.ts +0 -0
  763. /package/vendor/opencli/dist/{browser → src/browser}/dom-snapshot.js +0 -0
  764. /package/vendor/opencli/dist/{browser → src/browser}/dom-snapshot.test.d.ts +0 -0
  765. /package/vendor/opencli/dist/{browser → src/browser}/dom-snapshot.test.js +0 -0
  766. /package/vendor/opencli/dist/{browser → src/browser}/errors.d.ts +0 -0
  767. /package/vendor/opencli/dist/{browser → src/browser}/errors.js +0 -0
  768. /package/vendor/opencli/dist/{browser → src/browser}/index.d.ts +0 -0
  769. /package/vendor/opencli/dist/{browser → src/browser}/index.js +0 -0
  770. /package/vendor/opencli/dist/{browser → src/browser}/page.d.ts +0 -0
  771. /package/vendor/opencli/dist/{browser → src/browser}/page.js +0 -0
  772. /package/vendor/opencli/dist/{node-network.test.d.ts → src/browser/page.test.d.ts} +0 -0
  773. /package/vendor/opencli/dist/{browser → src/browser}/page.test.js +0 -0
  774. /package/vendor/opencli/dist/{browser → src/browser}/stealth.d.ts +0 -0
  775. /package/vendor/opencli/dist/{browser → src/browser}/stealth.js +0 -0
  776. /package/vendor/opencli/dist/{output.test.d.ts → src/browser/stealth.test.d.ts} +0 -0
  777. /package/vendor/opencli/dist/{browser → src/browser}/stealth.test.js +0 -0
  778. /package/vendor/opencli/dist/{browser → src/browser}/tabs.d.ts +0 -0
  779. /package/vendor/opencli/dist/{browser → src/browser}/tabs.js +0 -0
  780. /package/vendor/opencli/dist/{browser → src/browser}/utils.d.ts +0 -0
  781. /package/vendor/opencli/dist/{browser → src/browser}/utils.js +0 -0
  782. /package/vendor/opencli/dist/{execution.test.d.ts → src/browser.test.d.ts} +0 -0
  783. /package/vendor/opencli/dist/{browser.test.js → src/browser.test.js} +0 -0
  784. /package/vendor/opencli/dist/{build-manifest.d.ts → src/build-manifest.d.ts} +0 -0
  785. /package/vendor/opencli/dist/{pipeline/steps/download.test.d.ts → src/build-manifest.test.d.ts} +0 -0
  786. /package/vendor/opencli/dist/{build-manifest.test.js → src/build-manifest.test.js} +0 -0
  787. /package/vendor/opencli/dist/{capabilityRouting.d.ts → src/capabilityRouting.d.ts} +0 -0
  788. /package/vendor/opencli/dist/{capabilityRouting.js → src/capabilityRouting.js} +0 -0
  789. /package/vendor/opencli/dist/{pipeline/steps/fetch.test.d.ts → src/capabilityRouting.test.d.ts} +0 -0
  790. /package/vendor/opencli/dist/{capabilityRouting.test.js → src/capabilityRouting.test.js} +0 -0
  791. /package/vendor/opencli/dist/{cascade.d.ts → src/cascade.d.ts} +0 -0
  792. /package/vendor/opencli/dist/{record.test.d.ts → src/cli.test.d.ts} +0 -0
  793. /package/vendor/opencli/dist/{runtime-detect.test.d.ts → src/commanderAdapter.test.d.ts} +0 -0
  794. /package/vendor/opencli/dist/{commanderAdapter.test.js → src/commanderAdapter.test.js} +0 -0
  795. /package/vendor/opencli/dist/{commands → src/commands}/daemon.d.ts +0 -0
  796. /package/vendor/opencli/dist/{commands → src/commands}/daemon.js +0 -0
  797. /package/vendor/opencli/dist/{serialization.test.d.ts → src/commands/daemon.test.d.ts} +0 -0
  798. /package/vendor/opencli/dist/{commands → src/commands}/daemon.test.js +0 -0
  799. /package/vendor/opencli/dist/{completion.d.ts → src/completion.d.ts} +0 -0
  800. /package/vendor/opencli/dist/{completion.js → src/completion.js} +0 -0
  801. /package/vendor/opencli/dist/{tui.test.d.ts → src/completion.test.d.ts} +0 -0
  802. /package/vendor/opencli/dist/{completion.test.js → src/completion.test.js} +0 -0
  803. /package/vendor/opencli/dist/{constants.d.ts → src/constants.d.ts} +0 -0
  804. /package/vendor/opencli/dist/{constants.js → src/constants.js} +0 -0
  805. /package/vendor/opencli/dist/{daemon.d.ts → src/daemon.d.ts} +0 -0
  806. /package/vendor/opencli/dist/{daemon.js → src/daemon.js} +0 -0
  807. /package/vendor/opencli/dist/{weixin-download.test.d.ts → src/daemon.test.d.ts} +0 -0
  808. /package/vendor/opencli/dist/{daemon.test.js → src/daemon.test.js} +0 -0
  809. /package/vendor/opencli/dist/{doctor.d.ts → src/doctor.d.ts} +0 -0
  810. /package/vendor/opencli/dist/{doctor.js → src/doctor.js} +0 -0
  811. /package/vendor/opencli/dist/{doctor.test.js → src/doctor.test.js} +0 -0
  812. /package/vendor/opencli/dist/{download → src/download}/article-download.d.ts +0 -0
  813. /package/vendor/opencli/dist/{download → src/download}/article-download.js +0 -0
  814. /package/vendor/opencli/dist/{download → src/download}/index.d.ts +0 -0
  815. /package/vendor/opencli/dist/{download → src/download}/index.js +0 -0
  816. /package/vendor/opencli/dist/{download → src/download}/index.test.js +0 -0
  817. /package/vendor/opencli/dist/{download → src/download}/media-download.d.ts +0 -0
  818. /package/vendor/opencli/dist/{download → src/download}/media-download.js +0 -0
  819. /package/vendor/opencli/dist/{download → src/download}/progress.d.ts +0 -0
  820. /package/vendor/opencli/dist/{download → src/download}/progress.js +0 -0
  821. /package/vendor/opencli/dist/{electron-apps.d.ts → src/electron-apps.d.ts} +0 -0
  822. /package/vendor/opencli/dist/{electron-apps.js → src/electron-apps.js} +0 -0
  823. /package/vendor/opencli/dist/{electron-apps.test.js → src/electron-apps.test.js} +0 -0
  824. /package/vendor/opencli/dist/{errors.d.ts → src/errors.d.ts} +0 -0
  825. /package/vendor/opencli/dist/{errors.js → src/errors.js} +0 -0
  826. /package/vendor/opencli/dist/{errors.test.js → src/errors.test.js} +0 -0
  827. /package/vendor/opencli/dist/{execution.d.ts → src/execution.d.ts} +0 -0
  828. /package/vendor/opencli/dist/{execution.test.js → src/execution.test.js} +0 -0
  829. /package/vendor/opencli/dist/{explore.d.ts → src/explore.d.ts} +0 -0
  830. /package/vendor/opencli/dist/{explore.js → src/explore.js} +0 -0
  831. /package/vendor/opencli/dist/{extension-manifest-regression.test.js → src/extension-manifest-regression.test.js} +0 -0
  832. /package/vendor/opencli/dist/{external-clis.yaml → src/external-clis.yaml} +0 -0
  833. /package/vendor/opencli/dist/{external.d.ts → src/external.d.ts} +0 -0
  834. /package/vendor/opencli/dist/{external.js → src/external.js} +0 -0
  835. /package/vendor/opencli/dist/{external.test.js → src/external.test.js} +0 -0
  836. /package/vendor/opencli/dist/{generate.d.ts → src/generate.d.ts} +0 -0
  837. /package/vendor/opencli/dist/{generate.js → src/generate.js} +0 -0
  838. /package/vendor/opencli/dist/{hooks.d.ts → src/hooks.d.ts} +0 -0
  839. /package/vendor/opencli/dist/{hooks.js → src/hooks.js} +0 -0
  840. /package/vendor/opencli/dist/{hooks.test.d.ts → src/hooks.test.d.ts} +0 -0
  841. /package/vendor/opencli/dist/{hooks.test.js → src/hooks.test.js} +0 -0
  842. /package/vendor/opencli/dist/{idle-manager.d.ts → src/idle-manager.d.ts} +0 -0
  843. /package/vendor/opencli/dist/{idle-manager.js → src/idle-manager.js} +0 -0
  844. /package/vendor/opencli/dist/{interceptor.test.d.ts → src/interceptor.test.d.ts} +0 -0
  845. /package/vendor/opencli/dist/{interceptor.test.js → src/interceptor.test.js} +0 -0
  846. /package/vendor/opencli/dist/{launcher.d.ts → src/launcher.d.ts} +0 -0
  847. /package/vendor/opencli/dist/{launcher.js → src/launcher.js} +0 -0
  848. /package/vendor/opencli/dist/{launcher.test.js → src/launcher.test.js} +0 -0
  849. /package/vendor/opencli/dist/{main.d.ts → src/main.d.ts} +0 -0
  850. /package/vendor/opencli/dist/{node-network.d.ts → src/node-network.d.ts} +0 -0
  851. /package/vendor/opencli/dist/{node-network.js → src/node-network.js} +0 -0
  852. /package/vendor/opencli/dist/{node-network.test.js → src/node-network.test.js} +0 -0
  853. /package/vendor/opencli/dist/{output.d.ts → src/output.d.ts} +0 -0
  854. /package/vendor/opencli/dist/{output.js → src/output.js} +0 -0
  855. /package/vendor/opencli/dist/{output.test.js → src/output.test.js} +0 -0
  856. /package/vendor/opencli/dist/{pipeline → src/pipeline}/executor.d.ts +0 -0
  857. /package/vendor/opencli/dist/{pipeline → src/pipeline}/executor.js +0 -0
  858. /package/vendor/opencli/dist/{pipeline → src/pipeline}/executor.test.d.ts +0 -0
  859. /package/vendor/opencli/dist/{pipeline → src/pipeline}/executor.test.js +0 -0
  860. /package/vendor/opencli/dist/{pipeline → src/pipeline}/index.d.ts +0 -0
  861. /package/vendor/opencli/dist/{pipeline → src/pipeline}/index.js +0 -0
  862. /package/vendor/opencli/dist/{pipeline → src/pipeline}/registry.d.ts +0 -0
  863. /package/vendor/opencli/dist/{pipeline → src/pipeline}/registry.js +0 -0
  864. /package/vendor/opencli/dist/{pipeline → src/pipeline}/steps/browser.d.ts +0 -0
  865. /package/vendor/opencli/dist/{pipeline → src/pipeline}/steps/browser.js +0 -0
  866. /package/vendor/opencli/dist/{pipeline → src/pipeline}/steps/download.d.ts +0 -0
  867. /package/vendor/opencli/dist/{pipeline → src/pipeline}/steps/download.js +0 -0
  868. /package/vendor/opencli/dist/{pipeline → src/pipeline}/steps/download.test.js +0 -0
  869. /package/vendor/opencli/dist/{pipeline → src/pipeline}/steps/fetch.d.ts +0 -0
  870. /package/vendor/opencli/dist/{pipeline → src/pipeline}/steps/fetch.js +0 -0
  871. /package/vendor/opencli/dist/{pipeline → src/pipeline}/steps/fetch.test.js +0 -0
  872. /package/vendor/opencli/dist/{pipeline → src/pipeline}/steps/intercept.d.ts +0 -0
  873. /package/vendor/opencli/dist/{pipeline → src/pipeline}/steps/intercept.js +0 -0
  874. /package/vendor/opencli/dist/{pipeline → src/pipeline}/steps/tap.d.ts +0 -0
  875. /package/vendor/opencli/dist/{pipeline → src/pipeline}/steps/tap.js +0 -0
  876. /package/vendor/opencli/dist/{pipeline → src/pipeline}/steps/transform.d.ts +0 -0
  877. /package/vendor/opencli/dist/{pipeline → src/pipeline}/steps/transform.js +0 -0
  878. /package/vendor/opencli/dist/{pipeline → src/pipeline}/template.d.ts +0 -0
  879. /package/vendor/opencli/dist/{pipeline → src/pipeline}/template.js +0 -0
  880. /package/vendor/opencli/dist/{pipeline → src/pipeline}/template.test.d.ts +0 -0
  881. /package/vendor/opencli/dist/{pipeline → src/pipeline}/template.test.js +0 -0
  882. /package/vendor/opencli/dist/{pipeline → src/pipeline}/transform.test.d.ts +0 -0
  883. /package/vendor/opencli/dist/{pipeline → src/pipeline}/transform.test.js +0 -0
  884. /package/vendor/opencli/dist/{plugin-manifest.d.ts → src/plugin-manifest.d.ts} +0 -0
  885. /package/vendor/opencli/dist/{plugin-manifest.js → src/plugin-manifest.js} +0 -0
  886. /package/vendor/opencli/dist/{plugin-manifest.test.d.ts → src/plugin-manifest.test.d.ts} +0 -0
  887. /package/vendor/opencli/dist/{plugin-manifest.test.js → src/plugin-manifest.test.js} +0 -0
  888. /package/vendor/opencli/dist/{plugin-scaffold.d.ts → src/plugin-scaffold.d.ts} +0 -0
  889. /package/vendor/opencli/dist/{plugin-scaffold.js → src/plugin-scaffold.js} +0 -0
  890. /package/vendor/opencli/dist/{plugin-scaffold.test.d.ts → src/plugin-scaffold.test.d.ts} +0 -0
  891. /package/vendor/opencli/dist/{plugin-scaffold.test.js → src/plugin-scaffold.test.js} +0 -0
  892. /package/vendor/opencli/dist/{plugin.d.ts → src/plugin.d.ts} +0 -0
  893. /package/vendor/opencli/dist/{plugin.js → src/plugin.js} +0 -0
  894. /package/vendor/opencli/dist/{plugin.test.d.ts → src/plugin.test.d.ts} +0 -0
  895. /package/vendor/opencli/dist/{plugin.test.js → src/plugin.test.js} +0 -0
  896. /package/vendor/opencli/dist/{record.d.ts → src/record.d.ts} +0 -0
  897. /package/vendor/opencli/dist/{record.test.js → src/record.test.js} +0 -0
  898. /package/vendor/opencli/dist/{registry-api.js → src/registry-api.js} +0 -0
  899. /package/vendor/opencli/dist/{registry.d.ts → src/registry.d.ts} +0 -0
  900. /package/vendor/opencli/dist/{registry.js → src/registry.js} +0 -0
  901. /package/vendor/opencli/dist/{registry.test.d.ts → src/registry.test.d.ts} +0 -0
  902. /package/vendor/opencli/dist/{registry.test.js → src/registry.test.js} +0 -0
  903. /package/vendor/opencli/dist/{runtime-detect.d.ts → src/runtime-detect.d.ts} +0 -0
  904. /package/vendor/opencli/dist/{runtime-detect.js → src/runtime-detect.js} +0 -0
  905. /package/vendor/opencli/dist/{runtime-detect.test.js → src/runtime-detect.test.js} +0 -0
  906. /package/vendor/opencli/dist/{runtime.d.ts → src/runtime.d.ts} +0 -0
  907. /package/vendor/opencli/dist/{runtime.js → src/runtime.js} +0 -0
  908. /package/vendor/opencli/dist/{scripts → src/scripts}/framework.d.ts +0 -0
  909. /package/vendor/opencli/dist/{scripts → src/scripts}/framework.js +0 -0
  910. /package/vendor/opencli/dist/{scripts → src/scripts}/interact.d.ts +0 -0
  911. /package/vendor/opencli/dist/{scripts → src/scripts}/interact.js +0 -0
  912. /package/vendor/opencli/dist/{scripts → src/scripts}/store.d.ts +0 -0
  913. /package/vendor/opencli/dist/{scripts → src/scripts}/store.js +0 -0
  914. /package/vendor/opencli/dist/{serialization.d.ts → src/serialization.d.ts} +0 -0
  915. /package/vendor/opencli/dist/{serialization.js → src/serialization.js} +0 -0
  916. /package/vendor/opencli/dist/{serialization.test.js → src/serialization.test.js} +0 -0
  917. /package/vendor/opencli/dist/{snapshotFormatter.d.ts → src/snapshotFormatter.d.ts} +0 -0
  918. /package/vendor/opencli/dist/{snapshotFormatter.js → src/snapshotFormatter.js} +0 -0
  919. /package/vendor/opencli/dist/{snapshotFormatter.test.d.ts → src/snapshotFormatter.test.d.ts} +0 -0
  920. /package/vendor/opencli/dist/{snapshotFormatter.test.js → src/snapshotFormatter.test.js} +0 -0
  921. /package/vendor/opencli/dist/{tui.d.ts → src/tui.d.ts} +0 -0
  922. /package/vendor/opencli/dist/{tui.js → src/tui.js} +0 -0
  923. /package/vendor/opencli/dist/{tui.test.js → src/tui.test.js} +0 -0
  924. /package/vendor/opencli/dist/{types.d.ts → src/types.d.ts} +0 -0
  925. /package/vendor/opencli/dist/{types.js → src/types.js} +0 -0
  926. /package/vendor/opencli/dist/{update-check.d.ts → src/update-check.d.ts} +0 -0
  927. /package/vendor/opencli/dist/{update-check.js → src/update-check.js} +0 -0
  928. /package/vendor/opencli/dist/{validate.d.ts → src/validate.d.ts} +0 -0
  929. /package/vendor/opencli/dist/{validate.js → src/validate.js} +0 -0
  930. /package/vendor/opencli/dist/{verify.d.ts → src/verify.d.ts} +0 -0
  931. /package/vendor/opencli/dist/{verify.js → src/verify.js} +0 -0
  932. /package/vendor/opencli/dist/{version.d.ts → src/version.d.ts} +0 -0
  933. /package/vendor/opencli/dist/{yaml-schema.d.ts → src/yaml-schema.d.ts} +0 -0
  934. /package/vendor/opencli/dist/{yaml-schema.js → src/yaml-schema.js} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { describe, expect, it, vi } from 'vitest';
2
- import { __test__, collectGeminiTranscriptAdditions, sanitizeGeminiResponseText, sendGeminiMessage, } from './utils.js';
2
+ import { __test__, collectGeminiTranscriptAdditions, pickGeminiDeepResearchExportUrl, sanitizeGeminiResponseText, sendGeminiMessage, } from './utils.js';
3
3
  function createPageMock() {
4
4
  return {
5
5
  goto: vi.fn().mockResolvedValue(undefined),
@@ -176,3 +176,23 @@ describe('gemini turn normalization', () => {
176
176
  ]);
177
177
  });
178
178
  });
179
+ describe('pickGeminiDeepResearchExportUrl', () => {
180
+ it('prefers docs.google.com document url over sheets and noise endpoints', () => {
181
+ const picked = pickGeminiDeepResearchExportUrl([
182
+ 'xhr::https://gemini.google.com/_/BardChatUi/data/batchexecute?rpcids=ESY5D',
183
+ 'performance::https://docs.google.com/spreadsheets/d/1abc/edit',
184
+ 'open::https://docs.google.com/document/d/1docid/edit',
185
+ ], 'https://gemini.google.com/app/abc');
186
+ expect(picked).toEqual({
187
+ url: 'https://docs.google.com/document/d/1docid/edit',
188
+ source: 'window-open',
189
+ });
190
+ });
191
+ it('returns none when only non-export telemetry urls are present', () => {
192
+ const picked = pickGeminiDeepResearchExportUrl([
193
+ 'fetch::https://gemini.google.com/_/BardChatUi/cspreport',
194
+ 'performance::https://www.google-analytics.com/g/collect?v=2',
195
+ ], 'https://gemini.google.com/app/abc');
196
+ expect(picked).toEqual({ url: '', source: 'none' });
197
+ });
198
+ });
@@ -2,8 +2,8 @@
2
2
  * Google News via public RSS feed.
3
3
  * Supports top stories (no keyword) and search (with keyword).
4
4
  */
5
- import { cli, Strategy } from '../../registry.js';
6
- import { CliError } from '../../errors.js';
5
+ import { cli, Strategy } from '@jackwener/opencli/registry';
6
+ import { CliError } from '@jackwener/opencli/errors';
7
7
  import { parseRssItems } from './utils.js';
8
8
  cli({
9
9
  site: 'google',
@@ -7,8 +7,8 @@
7
7
  * to the result container (`div.tF2Cxc` or closest `div[data-hveid]`) to find
8
8
  * snippets. This approach is resilient to class name changes.
9
9
  */
10
- import { cli, Strategy } from '../../registry.js';
11
- import { CliError } from '../../errors.js';
10
+ import { cli, Strategy } from '@jackwener/opencli/registry';
11
+ import { CliError } from '@jackwener/opencli/errors';
12
12
  cli({
13
13
  site: 'google',
14
14
  name: 'search',
@@ -2,8 +2,8 @@
2
2
  * Google Search Suggestions via public JSON API.
3
3
  * Uses suggestqueries.google.com with client=firefox for pure JSON (not JSONP).
4
4
  */
5
- import { cli, Strategy } from '../../registry.js';
6
- import { CliError } from '../../errors.js';
5
+ import { cli, Strategy } from '@jackwener/opencli/registry';
6
+ import { CliError } from '@jackwener/opencli/errors';
7
7
  cli({
8
8
  site: 'google',
9
9
  name: 'suggest',
@@ -2,8 +2,8 @@
2
2
  * Google Trends via public RSS feed.
3
3
  * Shows daily trending searches for a given region.
4
4
  */
5
- import { cli, Strategy } from '../../registry.js';
6
- import { CliError } from '../../errors.js';
5
+ import { cli, Strategy } from '@jackwener/opencli/registry';
6
+ import { CliError } from '@jackwener/opencli/errors';
7
7
  import { parseRssItems } from './utils.js';
8
8
  cli({
9
9
  site: 'google',
@@ -1,4 +1,4 @@
1
- import type { IPage } from '../../types.js';
1
+ import type { IPage } from '@jackwener/opencli/types';
2
2
  declare function normalizeBubbleText(value: unknown): string;
3
3
  declare function normalizeBooleanFlag(value: unknown): boolean;
4
4
  declare function pickLatestAssistantCandidate(bubbles: unknown[], baselineCount: number, prompt: string): string;
@@ -8,7 +8,7 @@ declare function updateStableState(previousText: string, stableCount: number, ne
8
8
  };
9
9
  /** Check whether the tab is already on grok.com (any path). */
10
10
  declare function isOnGrok(page: IPage): Promise<boolean>;
11
- export declare const askCommand: import("../../registry.js").CliCommand;
11
+ export declare const askCommand: import("@jackwener/opencli/registry").CliCommand;
12
12
  export declare const __test__: {
13
13
  pickLatestAssistantCandidate: typeof pickLatestAssistantCandidate;
14
14
  updateStableState: typeof updateStableState;
@@ -1,4 +1,4 @@
1
- import { cli, Strategy } from '../../registry.js';
1
+ import { cli, Strategy } from '@jackwener/opencli/registry';
2
2
  const GROK_URL = 'https://grok.com/';
3
3
  const RESPONSE_SELECTOR = 'div.message-bubble, [data-testid="message-bubble"]';
4
4
  const BLOCKED_PREFIX = '[BLOCKED]';
@@ -1,5 +1,5 @@
1
- import { cli, Strategy } from '../../registry.js';
2
- import { CliError } from '../../errors.js';
1
+ import { cli, Strategy } from '@jackwener/opencli/registry';
2
+ import { CliError } from '@jackwener/opencli/errors';
3
3
  function truncate(str, max = 60) {
4
4
  return str.length > max ? str.slice(0, max - 3) + '...' : str;
5
5
  }
@@ -1,4 +1,4 @@
1
- import { cli, Strategy } from '../../registry.js';
1
+ import { cli, Strategy } from '@jackwener/opencli/registry';
2
2
  import { getHupuThreadUrl, readHupuNextData, stripHtml } from './utils.js';
3
3
  cli({
4
4
  site: 'hupu',
@@ -1,5 +1,5 @@
1
- import { CliError } from '../../errors.js';
2
- import { cli, Strategy } from '../../registry.js';
1
+ import { CliError } from '@jackwener/opencli/errors';
2
+ import { cli, Strategy } from '@jackwener/opencli/registry';
3
3
  import { postHupuJson } from './utils.js';
4
4
  cli({
5
5
  site: 'hupu',
@@ -0,0 +1,159 @@
1
+ import { AuthRequiredError, CommandExecutionError } from '@jackwener/opencli/errors';
2
+ import { cli, Strategy } from '@jackwener/opencli/registry';
3
+ import { stripHtml } from './utils.js';
4
+ cli({
5
+ site: 'hupu',
6
+ name: 'mentions',
7
+ aliases: ['mention'],
8
+ description: '查看虎扑提到我的回复 (需要登录)',
9
+ domain: 'my.hupu.com',
10
+ strategy: Strategy.COOKIE,
11
+ navigateBefore: false,
12
+ args: [
13
+ {
14
+ name: 'limit',
15
+ type: 'int',
16
+ default: 20,
17
+ help: '最多返回多少条消息'
18
+ },
19
+ {
20
+ name: 'max_pages',
21
+ type: 'int',
22
+ default: 3,
23
+ help: '最多抓取多少页'
24
+ },
25
+ {
26
+ name: 'page_str',
27
+ help: '分页游标;不传时从第一页开始'
28
+ }
29
+ ],
30
+ columns: ['time', 'username', 'thread_title', 'post_content', 'quote_content', 'reply_url'],
31
+ func: async (page, kwargs) => {
32
+ const plate = '1';
33
+ const limit = Math.max(1, Math.min(Number(kwargs.limit) || 20, 100));
34
+ const maxPages = Math.max(1, Math.min(Number(kwargs.max_pages) || 3, 10));
35
+ const inputPageStr = kwargs.page_str ? String(kwargs.page_str) : '';
36
+ const referer = `https://my.hupu.com/message?tabKey=${plate}`;
37
+ await page.goto(referer);
38
+ const result = await page.evaluate(`
39
+ (async () => {
40
+ const plate = ${JSON.stringify(plate)};
41
+ const limit = ${JSON.stringify(limit)};
42
+ const maxPages = ${JSON.stringify(maxPages)};
43
+ let pageStr = ${JSON.stringify(inputPageStr)};
44
+ const apiBase = 'https://my.hupu.com/pcmapi/pc/space/v1/getMentionedRemindList';
45
+ const items = [];
46
+ let hasNextPage = false;
47
+ let nextPageStr = pageStr || '';
48
+
49
+ const parseJson = async (response) => {
50
+ const text = await response.text();
51
+ try {
52
+ return text ? JSON.parse(text) : {};
53
+ } catch {
54
+ return {
55
+ message: text || 'invalid json response'
56
+ };
57
+ }
58
+ };
59
+
60
+ try {
61
+ for (let pageIndex = 0; pageIndex < maxPages && items.length < limit; pageIndex++) {
62
+ const url = new URL(apiBase);
63
+ url.searchParams.set('plate', plate);
64
+ if (pageStr) {
65
+ url.searchParams.set('pageStr', pageStr);
66
+ }
67
+
68
+ const response = await fetch(url.toString(), {
69
+ method: 'GET',
70
+ credentials: 'include'
71
+ });
72
+
73
+ const api = await parseJson(response);
74
+
75
+ if (response.status === 401 || response.status === 403) {
76
+ return {
77
+ ok: false,
78
+ status: response.status,
79
+ error: 'please log in to Hupu first'
80
+ };
81
+ }
82
+
83
+ if (!response.ok) {
84
+ return {
85
+ ok: false,
86
+ status: response.status,
87
+ error: api?.msg || api?.message || ('HTTP ' + response.status)
88
+ };
89
+ }
90
+
91
+ if ((api?.code ?? 0) > 1) {
92
+ return {
93
+ ok: false,
94
+ status: response.status,
95
+ error: api?.msg || api?.message || ('API error code=' + api?.code)
96
+ };
97
+ }
98
+
99
+ const data = api?.data || {};
100
+ const currentItems = Array.isArray(data.hisList) ? data.hisList : [];
101
+ items.push(...currentItems);
102
+
103
+ hasNextPage = Boolean(data.hasNextPage);
104
+ nextPageStr = typeof data.pageStr === 'string' ? data.pageStr : '';
105
+
106
+ if (!hasNextPage || !nextPageStr || nextPageStr === pageStr) {
107
+ break;
108
+ }
109
+
110
+ pageStr = nextPageStr;
111
+ }
112
+
113
+ return {
114
+ ok: true,
115
+ data: {
116
+ items: items.slice(0, limit),
117
+ hasNextPage,
118
+ pageStr: nextPageStr
119
+ }
120
+ };
121
+ } catch (error) {
122
+ return {
123
+ ok: false,
124
+ error: error instanceof Error ? error.message : String(error)
125
+ };
126
+ }
127
+ })()
128
+ `);
129
+ if (!result || typeof result !== 'object') {
130
+ throw new CommandExecutionError('Read Hupu mentions failed: invalid browser response');
131
+ }
132
+ if (result.status === 401 || result.status === 403) {
133
+ throw new AuthRequiredError('my.hupu.com', 'Read Hupu mentions failed: please log in to Hupu first');
134
+ }
135
+ if (!result.ok) {
136
+ throw new CommandExecutionError(`Read Hupu mentions failed: ${result.error || 'unknown error'}`);
137
+ }
138
+ const items = result.data?.items || [];
139
+ return items.map((item) => {
140
+ const tid = item.tid ? String(item.tid) : '';
141
+ const pid = item.pid ? String(item.pid) : '';
142
+ return {
143
+ time: item.publishTime || '',
144
+ username: item.username || '',
145
+ thread_title: item.threadTitle || '',
146
+ post_content: stripHtml(item.postContent || ''),
147
+ quote_content: stripHtml(item.quoteContent || ''),
148
+ url: tid ? `https://bbs.hupu.com/${tid}.html` : '',
149
+ reply_url: tid && pid ? `https://bbs.hupu.com/${tid}.html?pid=${pid}` : '',
150
+ tid,
151
+ pid,
152
+ topic_id: item.topicId ? String(item.topicId) : '',
153
+ msg_type: item.msgType ?? '',
154
+ has_next_page: result.data?.hasNextPage ?? false,
155
+ next_page_str: result.data?.pageStr || ''
156
+ };
157
+ });
158
+ },
159
+ });
@@ -1,5 +1,5 @@
1
- import { CliError } from '../../errors.js';
2
- import { cli, Strategy } from '../../registry.js';
1
+ import { CliError } from '@jackwener/opencli/errors';
2
+ import { cli, Strategy } from '@jackwener/opencli/registry';
3
3
  import { postHupuJson } from './utils.js';
4
4
  cli({
5
5
  site: 'hupu',
@@ -1,4 +1,4 @@
1
- import { cli, Strategy } from '../../registry.js';
1
+ import { cli, Strategy } from '@jackwener/opencli/registry';
2
2
  import { decodeHtmlEntities, getHupuSearchUrl, readHupuSearchData, stripHtml } from './utils.js';
3
3
  cli({
4
4
  site: 'hupu',
@@ -1,5 +1,5 @@
1
- import { CliError } from '../../errors.js';
2
- import { cli, Strategy } from '../../registry.js';
1
+ import { CliError } from '@jackwener/opencli/errors';
2
+ import { cli, Strategy } from '@jackwener/opencli/registry';
3
3
  import { postHupuJson } from './utils.js';
4
4
  cli({
5
5
  site: 'hupu',
@@ -1,4 +1,4 @@
1
- import type { IPage } from '../../types.js';
1
+ import type { IPage } from '@jackwener/opencli/types';
2
2
  export interface HupuApiResponse {
3
3
  code?: number;
4
4
  msg?: string;
@@ -1,4 +1,4 @@
1
- import { AuthRequiredError, CommandExecutionError } from '../../errors.js';
1
+ import { AuthRequiredError, CommandExecutionError } from '@jackwener/opencli/errors';
2
2
  export function stripHtml(html) {
3
3
  if (!html)
4
4
  return '';
@@ -1,5 +1,5 @@
1
- import { CommandExecutionError } from '../../errors.js';
2
- import { cli, Strategy } from '../../registry.js';
1
+ import { CommandExecutionError } from '@jackwener/opencli/errors';
2
+ import { cli, Strategy } from '@jackwener/opencli/registry';
3
3
  import { forceEnglishUrl, getCurrentImdbId, isChallengePage, normalizeImdbId, waitForImdbPath, } from './utils.js';
4
4
  /**
5
5
  * Read IMDb person details from public profile pages.
@@ -1,5 +1,5 @@
1
- import { CommandExecutionError } from '../../errors.js';
2
- import { cli, Strategy } from '../../registry.js';
1
+ import { CommandExecutionError } from '@jackwener/opencli/errors';
2
+ import { cli, Strategy } from '@jackwener/opencli/registry';
3
3
  import { forceEnglishUrl, getCurrentImdbId, isChallengePage, normalizeImdbId, waitForImdbPath, waitForImdbReviewsReady, } from './utils.js';
4
4
  /**
5
5
  * Read IMDb user reviews from the first review page.
@@ -1,5 +1,5 @@
1
- import { ArgumentError, CommandExecutionError } from '../../errors.js';
2
- import { cli, Strategy } from '../../registry.js';
1
+ import { ArgumentError, CommandExecutionError } from '@jackwener/opencli/errors';
2
+ import { cli, Strategy } from '@jackwener/opencli/registry';
3
3
  import { forceEnglishUrl, isChallengePage, normalizeImdbTitleType, waitForImdbPath, waitForImdbSearchReady, } from './utils.js';
4
4
  /**
5
5
  * Search IMDb via the public search page and parse Next.js payload first.
@@ -1,5 +1,5 @@
1
- import { CommandExecutionError } from '../../errors.js';
2
- import { cli, Strategy } from '../../registry.js';
1
+ import { CommandExecutionError } from '@jackwener/opencli/errors';
2
+ import { cli, Strategy } from '@jackwener/opencli/registry';
3
3
  import { extractJsonLd, forceEnglishUrl, formatDuration, getCurrentImdbId, isChallengePage, normalizeImdbId, waitForImdbPath, } from './utils.js';
4
4
  /**
5
5
  * Read IMDb title details from JSON-LD on the public page.
@@ -1,5 +1,5 @@
1
- import { CommandExecutionError } from '../../errors.js';
2
- import { cli, Strategy } from '../../registry.js';
1
+ import { CommandExecutionError } from '@jackwener/opencli/errors';
2
+ import { cli, Strategy } from '@jackwener/opencli/registry';
3
3
  import { extractJsonLd, forceEnglishUrl, isChallengePage } from './utils.js';
4
4
  /**
5
5
  * Fetch the IMDb Top 250 Movies list from JSON-LD structured data on the chart page.
@@ -1,5 +1,5 @@
1
- import { CommandExecutionError } from '../../errors.js';
2
- import { cli, Strategy } from '../../registry.js';
1
+ import { CommandExecutionError } from '@jackwener/opencli/errors';
2
+ import { cli, Strategy } from '@jackwener/opencli/registry';
3
3
  import { extractJsonLd, forceEnglishUrl, isChallengePage } from './utils.js';
4
4
  /**
5
5
  * Fetch the IMDb Most Popular Movies (MovieMeter) list from JSON-LD structured data.
@@ -1,4 +1,4 @@
1
- import type { IPage } from '../../types.js';
1
+ import type { IPage } from '@jackwener/opencli/types';
2
2
  /**
3
3
  * Normalize an IMDb title or person input to a bare ID.
4
4
  * Accepts bare IDs, desktop URLs, mobile URLs, and URLs with language prefixes or query params.
@@ -1,4 +1,4 @@
1
- import { ArgumentError } from '../../errors.js';
1
+ import { ArgumentError } from '@jackwener/opencli/errors';
2
2
  /**
3
3
  * Normalize an IMDb title or person input to a bare ID.
4
4
  * Accepts bare IDs, desktop URLs, mobile URLs, and URLs with language prefixes or query params.
@@ -1,4 +1,4 @@
1
- import type { IPage } from '../../../types.js';
1
+ import type { IPage } from '@jackwener/opencli/types';
2
2
  import type { InstagramProtocolCaptureEntry } from './protocol-capture.js';
3
3
  export { buildReadInstagramRuntimeInfoJs, extractInstagramRuntimeInfo, type InstagramRuntimeInfo, resolveInstagramRuntimeInfo, } from './runtime-info.js';
4
4
  export interface InstagramPrivateApiContext {
@@ -3,7 +3,7 @@ import * as fs from 'node:fs';
3
3
  import * as os from 'node:os';
4
4
  import * as path from 'node:path';
5
5
  import { spawnSync } from 'node:child_process';
6
- import { CommandExecutionError } from '../../../errors.js';
6
+ import { CommandExecutionError } from '@jackwener/opencli/errors';
7
7
  import { instagramPrivateApiFetch } from './protocol-capture.js';
8
8
  import { buildReadInstagramRuntimeInfoJs, } from './runtime-info.js';
9
9
  export { buildReadInstagramRuntimeInfoJs, extractInstagramRuntimeInfo, resolveInstagramRuntimeInfo, } from './runtime-info.js';
@@ -1,4 +1,4 @@
1
- import type { IPage } from '../../../types.js';
1
+ import type { IPage } from '@jackwener/opencli/types';
2
2
  export interface InstagramProtocolCaptureEntry {
3
3
  kind: 'fetch' | 'xhr';
4
4
  url: string;
@@ -1,4 +1,4 @@
1
- import type { IPage } from '../../../types.js';
1
+ import type { IPage } from '@jackwener/opencli/types';
2
2
  export interface InstagramRuntimeInfo {
3
3
  appId: string;
4
4
  csrfToken: string;
@@ -1,9 +1,9 @@
1
1
  import * as fs from 'node:fs';
2
2
  import * as os from 'node:os';
3
3
  import * as path from 'node:path';
4
- import { cli, Strategy } from '../../registry.js';
5
- import { ArgumentError, AuthRequiredError, CliError, CommandExecutionError, EXIT_CODES } from '../../errors.js';
6
- import { httpDownload } from '../../download/index.js';
4
+ import { cli, Strategy } from '@jackwener/opencli/registry';
5
+ import { ArgumentError, AuthRequiredError, CliError, CommandExecutionError, EXIT_CODES } from '@jackwener/opencli/errors';
6
+ import { httpDownload } from '@jackwener/opencli/download';
7
7
  const INSTAGRAM_GRAPHQL_DOC_ID = '8845758582119845';
8
8
  const INSTAGRAM_GRAPHQL_APP_ID = '936619743392459';
9
9
  const INSTAGRAM_HOST_SUFFIX = 'instagram.com';
@@ -1,13 +1,13 @@
1
1
  import * as os from 'node:os';
2
2
  import { beforeAll, beforeEach, describe, expect, it, vi } from 'vitest';
3
- import { getRegistry } from '../../registry.js';
4
- import { ArgumentError, AuthRequiredError, CommandExecutionError } from '../../errors.js';
3
+ import { getRegistry } from '@jackwener/opencli/registry';
4
+ import { ArgumentError, AuthRequiredError, CommandExecutionError } from '@jackwener/opencli/errors';
5
5
  const { mockHttpDownload, logSpy } = vi.hoisted(() => ({
6
6
  mockHttpDownload: vi.fn(),
7
7
  logSpy: vi.spyOn(console, 'log').mockImplementation(() => undefined),
8
8
  }));
9
- vi.mock('../../download/index.js', async () => {
10
- const actual = await vi.importActual('../../download/index.js');
9
+ vi.mock('@jackwener/opencli/download', async () => {
10
+ const actual = await vi.importActual('@jackwener/opencli/download');
11
11
  return { ...actual, httpDownload: mockHttpDownload };
12
12
  });
13
13
  const { buildInstagramDownloadItems, parseInstagramMediaTarget, } = await import('./download.js');
@@ -1,5 +1,5 @@
1
- import { ArgumentError, CommandExecutionError } from '../../errors.js';
2
- import { cli, Strategy } from '../../registry.js';
1
+ import { ArgumentError, CommandExecutionError } from '@jackwener/opencli/errors';
2
+ import { cli, Strategy } from '@jackwener/opencli/registry';
3
3
  const INSTAGRAM_INBOX_URL = 'https://www.instagram.com/direct/inbox/';
4
4
  const INSTAGRAM_NOTE_DOC_ID = '25155183657506484';
5
5
  const INSTAGRAM_NOTE_MUTATION_NAME = 'usePolarisCreateInboxTrayItemSubmitMutation';
@@ -1,6 +1,6 @@
1
1
  import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
2
- import { ArgumentError } from '../../errors.js';
3
- import { getRegistry } from '../../registry.js';
2
+ import { ArgumentError } from '@jackwener/opencli/errors';
3
+ import { getRegistry } from '@jackwener/opencli/registry';
4
4
  import './note.js';
5
5
  function createPageMock() {
6
6
  return {
@@ -1,7 +1,7 @@
1
1
  import * as fs from 'node:fs';
2
2
  import * as path from 'node:path';
3
- import { cli, Strategy } from '../../registry.js';
4
- import { ArgumentError, AuthRequiredError, CommandExecutionError } from '../../errors.js';
3
+ import { cli, Strategy } from '@jackwener/opencli/registry';
4
+ import { ArgumentError, AuthRequiredError, CommandExecutionError } from '@jackwener/opencli/errors';
5
5
  import { installInstagramProtocolCapture, readInstagramProtocolCapture, } from './_shared/protocol-capture.js';
6
6
  import { publishMediaViaPrivateApi, publishImagesViaPrivateApi, resolveInstagramPrivatePublishConfig, } from './_shared/private-publish.js';
7
7
  import { resolveInstagramRuntimeInfo } from './_shared/runtime-info.js';
@@ -2,8 +2,8 @@ import * as fs from 'node:fs';
2
2
  import * as os from 'node:os';
3
3
  import * as path from 'node:path';
4
4
  import { afterAll, afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
5
- import { AuthRequiredError, CommandExecutionError } from '../../errors.js';
6
- import { getRegistry } from '../../registry.js';
5
+ import { AuthRequiredError, CommandExecutionError } from '@jackwener/opencli/errors';
6
+ import { getRegistry } from '@jackwener/opencli/registry';
7
7
  import * as privatePublish from './_shared/private-publish.js';
8
8
  import { buildClickActionJs, buildEnsureComposerOpenJs, buildInspectUploadStageJs, buildPublishStatusProbeJs } from './post.js';
9
9
  import './post.js';
@@ -1,9 +1,9 @@
1
1
  import * as fs from 'node:fs';
2
2
  import * as os from 'node:os';
3
3
  import * as path from 'node:path';
4
- import { Page as BrowserPage } from '../../browser/page.js';
5
- import { cli, Strategy } from '../../registry.js';
6
- import { ArgumentError, AuthRequiredError, CommandExecutionError } from '../../errors.js';
4
+ import { Page as BrowserPage } from '@jackwener/opencli/browser/page';
5
+ import { cli, Strategy } from '@jackwener/opencli/registry';
6
+ import { ArgumentError, AuthRequiredError, CommandExecutionError } from '@jackwener/opencli/errors';
7
7
  import { buildClickActionJs, buildEnsureComposerOpenJs, buildInspectUploadStageJs, } from './post.js';
8
8
  import { resolveInstagramRuntimeInfo } from './_shared/runtime-info.js';
9
9
  const INSTAGRAM_HOME_URL = 'https://www.instagram.com/';
@@ -2,8 +2,8 @@ import * as fs from 'node:fs';
2
2
  import * as os from 'node:os';
3
3
  import * as path from 'node:path';
4
4
  import { afterAll, afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
5
- import { ArgumentError } from '../../errors.js';
6
- import { getRegistry } from '../../registry.js';
5
+ import { ArgumentError } from '@jackwener/opencli/errors';
6
+ import { getRegistry } from '@jackwener/opencli/registry';
7
7
  import './reel.js';
8
8
  const tempDirs = [];
9
9
  function createTempVideo(name = 'demo.mp4', bytes = Buffer.from('video')) {
@@ -1,7 +1,7 @@
1
1
  import * as fs from 'node:fs';
2
2
  import * as path from 'node:path';
3
- import { ArgumentError, CommandExecutionError } from '../../errors.js';
4
- import { cli, Strategy } from '../../registry.js';
3
+ import { ArgumentError, CommandExecutionError } from '@jackwener/opencli/errors';
4
+ import { cli, Strategy } from '@jackwener/opencli/registry';
5
5
  import { publishStoryViaPrivateApi, resolveInstagramPrivatePublishConfig, } from './_shared/private-publish.js';
6
6
  import { resolveInstagramRuntimeInfo } from './_shared/runtime-info.js';
7
7
  const INSTAGRAM_HOME_URL = 'https://www.instagram.com/';
@@ -2,8 +2,8 @@ import * as fs from 'node:fs';
2
2
  import * as os from 'node:os';
3
3
  import * as path from 'node:path';
4
4
  import { afterAll, afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
5
- import { ArgumentError } from '../../errors.js';
6
- import { getRegistry } from '../../registry.js';
5
+ import { ArgumentError } from '@jackwener/opencli/errors';
6
+ import { getRegistry } from '@jackwener/opencli/registry';
7
7
  import * as privatePublish from './_shared/private-publish.js';
8
8
  import './story.js';
9
9
  const tempDirs = [];
@@ -4,7 +4,7 @@
4
4
  * 依赖: 需要在 Chrome 已登录京东
5
5
  * 用法: opencli jd item 100291143898
6
6
  */
7
- import { cli, Strategy } from '../../registry.js';
7
+ import { cli, Strategy } from '@jackwener/opencli/registry';
8
8
  function extractAvifImages(imageUrls, maxImages) {
9
9
  const unique = [...new Set(imageUrls.filter(Boolean))];
10
10
  return unique
@@ -1,5 +1,5 @@
1
1
  import { describe, expect, it } from 'vitest';
2
- import { getRegistry } from '../../registry.js';
2
+ import { getRegistry } from '@jackwener/opencli/registry';
3
3
  import { __test__ } from './item.js';
4
4
  import './item.js';
5
5
  describe('jd item adapter', () => {
@@ -1,4 +1,4 @@
1
- import { cli, Strategy } from '../../registry.js';
1
+ import { cli, Strategy } from '@jackwener/opencli/registry';
2
2
  /**
3
3
  * 评论即刻帖子
4
4
  *
@@ -1,4 +1,4 @@
1
- import { cli, Strategy } from '../../registry.js';
1
+ import { cli, Strategy } from '@jackwener/opencli/registry';
2
2
  /**
3
3
  * 发布即刻动态
4
4
  *
@@ -1,4 +1,4 @@
1
- import { cli, Strategy } from '../../registry.js';
1
+ import { cli, Strategy } from '@jackwener/opencli/registry';
2
2
  import { getPostDataJs } from './utils.js';
3
3
  /**
4
4
  * 即刻首页动态流适配器
@@ -1,4 +1,4 @@
1
- import { cli, Strategy } from '../../registry.js';
1
+ import { cli, Strategy } from '@jackwener/opencli/registry';
2
2
  /**
3
3
  * 点赞即刻帖子
4
4
  *
@@ -1,4 +1,4 @@
1
- import { cli, Strategy } from '../../registry.js';
1
+ import { cli, Strategy } from '@jackwener/opencli/registry';
2
2
  // 将通知类型代码映射为中文标签
3
3
  function resolveActionLabel(type) {
4
4
  if (!type)
@@ -1,4 +1,4 @@
1
- import { cli, Strategy } from '../../registry.js';
1
+ import { cli, Strategy } from '@jackwener/opencli/registry';
2
2
  /**
3
3
  * 转发即刻帖子
4
4
  *