liaohch3

Results comments of liaohch3

这个功能挺有意思的,请问能说明一下你的使用场景吗?

Findings: - **P1: Local write endpoints are missing Origin/token protection, so this should not be merged yet.** `claude_tap/live.py` adds `/api/sessions/{session_id}/install-resume` and `/api/import-resume`. Both endpoints write to local `.claude` / `.codex`...

Correction to my review above: the review state is correct, but some inline code spans were stripped by my shell command. The specific issue is in `claude_tap/viewer_assets/filters_search.js`: the new cache...

Thanks for the follow-up work on this. I pushed a small maintainer commit (`4162061`) to cover the two remaining cache hit rate edge cases: - Treat Bedrock/Converse-style `cacheReadInputTokens` as a...

Thanks for the careful fix and the follow-up revisions. The final NO_PROXY approach preserves remote proxy behavior while fixing loopback upstreams, and the targeted tests plus trace evidence made the...

Closing this as not planned for now. The current evidence points to Cursor CLI using Cursor-owned backend streams / non-model-native payloads where important prompt/tool context may be assembled server-side, so...

截图里看到的是 trace viewer 的 Full JSON 原始记录区。正常情况下 request.body 应该已经是 object,不应该是一整段转义后的 JSON string。 目前还需要确认原始请求到底是不是被客户端包成了 JSON string。方便的话,请把对应这条请求的完整 trace 记录脱敏后发到 [email protected];也可以先用 AI 帮忙移除 API key、Authorization、Cookie、用户隐私内容后再发送。收到后我会看一下是客户端发送形态问题,还是 claude-tap 解析链路的问题。 建议只发对应这一条记录,不要发送整份未脱敏 trace。

我看了一下,这个 issue 里可能混在一起了两类问题: 1. 原始报错里的 `SSLCertVerificationError` 这个更像是本机 Python / aiohttp 使用的 CA bundle 不信任当前网络里的出站代理或证书链,不一定是 claude-tap 的转发逻辑问题。尤其是你提到换一台 PC 就正常,这更支持“本机证书环境差异”的判断。 macOS 上可以先试一下: ```bash SSL_CERT_FILE=/etc/ssl/cert.pem claude-tap --tap-live --tap-target "https://dashscope.aliyuncs.com/apps/anthropic" ``` 如果公司代理或本地代理用了自己的 CA,需要把 `SSL_CERT_FILE`...

方向是对的,这个修复应该可以合入,不过当前还需要补两点后再合: 1. 需要补 Windows 分支测试,覆盖 `_start_background_update()` 和 `update_main()` 在 `sys.platform == "win32"` 时会传 `subprocess.CREATE_NO_WINDOW`。现在 coverage 失败就是因为新增分支没有测到。 2. PR body 需要更新 validation/evidence;这个不是 docs-only/metadata-only 变更,当前 `pr-policy` 因为改了 `claude_tap/cli.py` 但没有 evidence 失败。 建议补完测试和...

Thanks for adding the Windows evidence and tests. This is the right class of fix, but the PR is now conflicted with current `main`. I also see current `main` already...