publishport-opencli 1.0.23 → 1.0.25
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.
- package/README.md +2 -2
- package/README.zh-CN.md +2 -2
- package/cli-manifest.json +931 -11
- package/clis/_shared/watch.js +59 -0
- package/clis/band/post.js +1 -1
- package/clis/bilibili/download.js +1 -1
- package/clis/bilibili/watch.js +1 -0
- package/clis/boss/__fixtures__/detail.html +30 -0
- package/clis/boss/detail.js +12 -1
- package/clis/boss/search.js +1 -1
- package/clis/douyin/stats.js +1 -1
- package/clis/github/watch.js +26 -0
- package/clis/jira/shared.js +1 -1
- package/clis/ke/auth.js +5 -3
- package/clis/nowcoder/article.js +5 -0
- package/clis/nowcoder/delete.js +1 -1
- package/clis/nowcoder/utils.js +14 -13
- package/clis/nowcoder/watch.js +1 -0
- package/clis/quark/save.js +1 -1
- package/clis/reddit/watch.js +1 -0
- package/clis/spotify/spotify.js +1 -1
- package/clis/twitter/watch.js +1 -0
- package/clis/v2ex/watch.js +22 -0
- package/clis/weibo/watch.js +1 -0
- package/clis/xianyu/watch.js +1 -0
- package/clis/xiaohongshu/ask.js +41 -7
- package/clis/xiaohongshu/comments.js +3 -3
- package/clis/xiaohongshu/download.js +2 -2
- package/clis/xiaohongshu/note.js +20 -5
- package/clis/xiaohongshu/risk-control.js +1 -0
- package/clis/xiaohongshu/watch.js +20 -0
- package/clis/zhihu/watch.js +19 -0
- package/dist/src/browser/cdp.d.ts +2 -0
- package/dist/src/browser/cdp.js +1 -1
- package/dist/src/build-manifest.js +1 -1
- package/dist/src/cli.js +15 -15
- package/dist/src/discovery.js +2 -2
- package/dist/src/doctor.d.ts +2 -1
- package/dist/src/doctor.js +7 -7
- package/dist/src/errors.js +2 -2
- package/dist/src/execution.js +2 -2
- package/dist/src/pipeline/steps/download.js +1 -1
- package/dist/src/pipeline/template.js +1 -1
- package/dist/src/plugin.js +1 -1
- package/dist/src/registry.d.ts +9 -0
- package/dist/src/registry.js +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@ open the app once and use the System page to install or repair the `opencli`
|
|
|
31
31
|
command.
|
|
32
32
|
|
|
33
33
|
**Option B — npm global install (CLI-only / CI / servers):**
|
|
34
|
-
ppcli requires **Node.js >= 20** when installed through npm.
|
|
34
|
+
ppcli requires **Node.js >= 20.18.1** when installed through npm.
|
|
35
35
|
|
|
36
36
|
```bash
|
|
37
37
|
node --version
|
|
@@ -287,7 +287,7 @@ See **[TESTING.md](./TESTING.md)** for how to run and write tests.
|
|
|
287
287
|
- **"Extension not connected"** — Ensure the Browser Bridge extension is installed from the [Chrome Web Store](https://chromewebstore.google.com/detail/opencli/ildkmabpimmkaediidaifkhjpohdnifk) and **enabled** in `chrome://extensions`.
|
|
288
288
|
- **"attach failed: Cannot access a chrome-extension:// URL"** — Another extension may be interfering. Try disabling other extensions temporarily.
|
|
289
289
|
- **Empty data or 'Unauthorized' error** — Your Chrome/Chromium login session may have expired. Navigate to the target site and log in again.
|
|
290
|
-
- **Node API errors / missing `fetch` / startup crash on old Node** — ppcli requires **Node.js >= 20**. Run `node --version`, upgrade Node if needed, then retry.
|
|
290
|
+
- **Node API errors / missing `fetch` / startup crash on old Node** — ppcli requires **Node.js >= 20.18.1**. Run `node --version`, upgrade Node if needed, then retry.
|
|
291
291
|
- **Daemon issues** — Check status: `curl localhost:19825/status` · View logs: `curl localhost:19825/logs`
|
|
292
292
|
|
|
293
293
|
## Star History
|
package/README.zh-CN.md
CHANGED
|
@@ -30,7 +30,7 @@ UI 来做环境诊断、更新、浏览器登录态保活和网页转 Markdown
|
|
|
30
30
|
System 页面安装或修复 `opencli` 命令。
|
|
31
31
|
|
|
32
32
|
**方式 B — npm 全局安装(纯 CLI / CI / 服务器):**
|
|
33
|
-
通过 npm 安装时,ppcli 要求 **Node.js >= 20**。
|
|
33
|
+
通过 npm 安装时,ppcli 要求 **Node.js >= 20.18.1**。
|
|
34
34
|
|
|
35
35
|
```bash
|
|
36
36
|
node --version
|
|
@@ -324,7 +324,7 @@ ppcli plugin uninstall my-tool # 卸载
|
|
|
324
324
|
- **返回空数据,或者报错 "Unauthorized"**
|
|
325
325
|
- Chrome/Chromium 里的登录态可能已经过期。请打开当前页面,在新标签页重新手工登录或刷新该页面。
|
|
326
326
|
- **Node API 错误 / 缺少 `fetch` / 旧 Node 启动即崩**
|
|
327
|
-
- ppcli 要求 **Node.js >= 20**。先执行 `node --version`,如果版本过低先升级,再重试命令。
|
|
327
|
+
- ppcli 要求 **Node.js >= 20.18.1**。先执行 `node --version`,如果版本过低先升级,再重试命令。
|
|
328
328
|
- **Daemon 问题**
|
|
329
329
|
- 检查 daemon 状态:`curl localhost:19825/status`
|
|
330
330
|
- 查看扩展日志:`curl localhost:19825/logs`
|