Skip to content

feat(tools): 新增 API 调试面板(收藏/cURL 互转/桥代发) - #463

Merged
cursor[bot] merged 1 commit into
masterfrom
cursor/apidebug-tool-975c
Oct 20, 2026
Merged

cursor[bot] merged 1 commit into
masterfrom
cursor/apidebug-tool-975c

Conversation

@Afra55

@Afra55 Afra55 commented Oct 20, 2026

Copy link
Copy Markdown
Owner

做了什么

  • 新工具「API 调试」(#apidebug):方法/URL/Query/Headers/Cookies/Body,IndexedDB 收藏,导入导出单条/全部,列表与响应右键菜单
  • 请求 ↔ cURL 互转(tools/lib/apidebug-pure.js)
  • 可选经统一本机桥代发:桥新增 POST /http/proxy(BRIDGE_VERSION 0.9.64),绕过浏览器 CORS / Cookie 限制
  • 登记 registry / lazy-scripts / panel manifest;pure 单测进 CI;bump TOOLS_BUILD

怎么用

  1. 打开 Tools → 数据格式 → API 调试
  2. 默认浏览器直连;勾选「经本机桥发送」前先连统一桥 17888
  3. 收藏右键可发送 / 复制 cURL / 导出 / 删除

注意

  • 桥代发仅本机 Token 鉴权;响应体上限 5MB
  • 需更新本机桥到 ≥0.9.64 才有 /http/proxy(完整 ZIP / EnvKit 同步)
Open in Web Open in Cursor 

本地 REST 调试:方法/Header/Cookie/Body、IndexedDB 收藏、导入导出与右键菜单;
请求 ↔ cURL 互转;统一桥新增 POST /http/proxy(0.9.64)绕过 CORS。

Co-authored-by: Afra55 <afra55@foxmail.com>
@cursor
cursor Bot merged commit a42a6e1 into master Oct 20, 2026
2 checks passed
@cursor
cursor Bot deleted the cursor/apidebug-tool-975c branch October 20, 2026 09:31
@cursor
cursor Bot restored the cursor/apidebug-tool-975c branch October 20, 2026 09:31
@cursor
cursor Bot deleted the cursor/apidebug-tool-975c branch October 20, 2026 09:31

This branch was successfully deployed

1 active deployment
github-pages — a42a6e1b Deployed Oct 20, 2026 by github-pages[bot] via deploy #1136
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants