sync sidecars from ~/.claude/
This commit is contained in:
@@ -31,6 +31,18 @@
|
||||
- 原因: `-f` 按完整命令行匹配,Bash tool 执行 `-c "pkill -f cdp-proxy.mjs ..."` 时 argv 里包含 "cdp-proxy.mjs",pkill 把自己的父 shell 一并杀了
|
||||
- 规避: 用 `pgrep -af <pattern>` 先列出 PID 再按 PID kill;或用更窄的 regex 如 `'cdp\S*proxy'`(regex 元字符不在自己的命令行里出现)
|
||||
|
||||
## lightpanda
|
||||
|
||||
### 2026-04-21 Beta 能力边界
|
||||
- 症状: 多个看似标准的 CDP 操作失败:第二次 `/new` 返回空对象、`/screenshot` 报 `UnknownTargetId`、关闭最后一个 tab 后所有请求 `BrowserContextNotLoaded`
|
||||
- 原因: v1.0.0-nightly.5674 当前实现受限 ——(1)只维护单 target/BrowserContext(targetId 永远是 `FID-0000000001`)(2)`Page.captureScreenshot` 未实现(3)没有 tab 自动重生机制
|
||||
- 规避: 同时多目标时用 A 模式(`lightpanda fetch`)或多进程 serve;需要截图走 web-access 默认 Chrome 模式;避免 close 最后一个 tab(或 close 后立即 `/new` 重建)
|
||||
|
||||
### 2026-04-21 强反爬 SPA 被挡在 noscript 页
|
||||
- 症状: 导航到 x.com 等站点,`document.body.innerText` 返回 `<noscript>` 错误页内容而不是真实页面
|
||||
- 原因: lightpanda 覆盖率不足,被站点的反爬/浏览器指纹检测识别为非真浏览器
|
||||
- 规避: 需要反爬能力强的场景切换到 web-access 连真 Chrome;或提前测试目标站点可行性
|
||||
|
||||
## web-access skill
|
||||
|
||||
### 2026-04-21 cdp-proxy.mjs 硬编码 Chrome 专用 ws 路径,不兼容 lightpanda
|
||||
|
||||
Reference in New Issue
Block a user