sync sidecars from ~/.claude/

This commit is contained in:
Zhang Jiahao
2026-04-21 01:31:39 +08:00
parent 1d0a04c158
commit 1524b15cd0
3 changed files with 28 additions and 0 deletions

View File

@@ -8,3 +8,14 @@
- `eza --tree --git-ignore --level=3 .` for layout (path arg required)
- `fd <pat>` for files; `rg <sym>` for call sites
- `git ls-files` when tokens are tight
## lightpanda
- 关掉遥测:`export LIGHTPANDA_DISABLE_TELEMETRY=true`
- 快速抓 markdownA 模式):`lightpanda fetch --dump markdown --obey-robots <url>``--wait-until` / `--wait-ms` / `--wait-selector` 调节等待
- 作 web-access skill 的 CDP 后端B 模式):
1. `lightpanda serve --host 127.0.0.1 --port 9222` 后台跑
2. `node ~/.claude/skills/web-access/scripts/cdp-proxy.mjs` 后台跑(自动扫 9222
3.`curl http://localhost:3456/new?url=...` 等 API`/targets` 列 tab`/eval?target=ID` 执行 JS`/info?target=ID` 查标题/URL
- 区分 A vs B公开静态页用 A快、无状态需要点击/上传/多 tab/交互取 DOM 用 B
- 不具备登录态(对比 web-access 连用户日常 Chrome需要登录的站点仍走用户 Chrome 模式