[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"product:blade-code":3},{"id":4,"name":5,"slug":6,"slogan":7,"description":8,"organization":9,"images":10,"avatar_url":11,"image_url":12,"website_url":13,"access_links":14,"status":19,"build_by":20,"categories":21,"stats":31,"upload_relationship":37,"create_at":38,"update_at":39,"owner_id":34,"upload_user_id":40,"reviewer_id":41,"video_info":42,"prerelease_cover_url":43,"scheduled_publish_at":42,"user_scheduled":44,"emoji_reacts":45,"tag":49,"pass_review":42,"user_star":44},3286,"Blade Code","blade-code","以 Web 工作台为主的 AI 编程助手，多 Provider 统一运行时，兼顾 CLI 与 Headless。","{\"type\": \"doc\", \"content\": [{\"type\": \"heading\", \"attrs\": {\"level\": 2}, \"content\": [{\"text\": \"一句话\", \"type\": \"text\"}]}, {\"type\": \"paragraph\", \"content\": [{\"text\": \"Blade Code 是一个把 AI 编程助手做成 Web 工作台的工具：在浏览器里派发任务、看 Agent 干活、验收结果，同时也保留 CLI 和 Headless 入口。\", \"type\": \"text\"}]}, {\"type\": \"heading\", \"attrs\": {\"level\": 2}, \"content\": [{\"text\": \"为什么值得一试\", \"type\": \"text\"}]}, {\"type\": \"bulletList\", \"content\": [{\"type\": \"listItem\", \"content\": [{\"type\": \"paragraph\", \"content\": [{\"text\": \"Web 工作台是主角\", \"type\": \"text\", \"marks\": [{\"type\": \"bold\"}]}, {\"text\": \"：\", \"type\": \"text\"}, {\"text\": \"blade web\", \"type\": \"text\", \"marks\": [{\"type\": \"code\"}]}, {\"text\": \" 打开浏览器工作台，任务调度台、会话列表、项目绑定、状态流转都在一个界面里。派发任务后可以继续手头的事，完成时以可复核的工作区形式收回结果。\", \"type\": \"text\"}]}]}, {\"type\": \"listItem\", \"content\": [{\"type\": \"paragraph\", \"content\": [{\"text\": \"多 Provider 统一运行时\", \"type\": \"text\", \"marks\": [{\"type\": \"bold\"}]}, {\"text\": \"：基于 pi-ai 统一 38+ Provider（OpenAI \u002F Anthropic \u002F DeepSeek \u002F Google \u002F Bedrock 等），模型元数据（上下文窗口、最大输出、价格）自动获取，不用手填。首次启动走一遍「选 Provider → 选模型 → 填 Key」就能用。\", \"type\": \"text\"}]}]}, {\"type\": \"listItem\", \"content\": [{\"type\": \"paragraph\", \"content\": [{\"text\": \"三种入口共用一套运行时\", \"type\": \"text\", \"marks\": [{\"type\": \"bold\"}]}, {\"text\": \"：CLI 终端（React + Ink）、Web UI、Headless JSONL 三端共享同一个 agent 内核，CI 里跑的和你在浏览器里点的不是两个产品。\", \"type\": \"text\"}]}]}, {\"type\": \"listItem\", \"content\": [{\"type\": \"paragraph\", \"content\": [{\"text\": \"多项目任务看板\", \"type\": \"text\", \"marks\": [{\"type\": \"bold\"}]}, {\"text\": \"：任务绑定项目、自动派发、阻塞处理、验收归档；每个任务在独立 worktree 里运行，互不打扰你当前的工作副本。\", \"type\": \"text\"}]}]}, {\"type\": \"listItem\", \"content\": [{\"type\": \"paragraph\", \"content\": [{\"text\": \"原生浏览器自动化\", \"type\": \"text\", \"marks\": [{\"type\": \"bold\"}]}, {\"text\": \"：Session 隔离的 Chromium、ARIA 快照与安全 ref 交互。Web 界面会把 Agent 正在看的页面和鼠标操作实时展示出来，你能看到它在点什么。\", \"type\": \"text\"}]}]}, {\"type\": \"listItem\", \"content\": [{\"type\": \"paragraph\", \"content\": [{\"text\": \"20+ 内置工具\", \"type\": \"text\", \"marks\": [{\"type\": \"bold\"}]}, {\"text\": \"：文件编辑、代码搜索、Shell 执行、Git 操作、Web 抓取等，工具用 TypeBox schema 定义。\", \"type\": \"text\"}]}]}, {\"type\": \"listItem\", \"content\": [{\"type\": \"paragraph\", \"content\": [{\"text\": \"自动记忆\", \"type\": \"text\", \"marks\": [{\"type\": \"bold\"}]}, {\"text\": \"：跨会话持久化项目知识，自动学习构建命令、代码模式和调试洞察。\", \"type\": \"text\"}]}]}, {\"type\": \"listItem\", \"content\": [{\"type\": \"paragraph\", \"content\": [{\"text\": \"安全可控\", \"type\": \"text\", \"marks\": [{\"type\": \"bold\"}]}, {\"text\": \"：default \u002F autoEdit \u002F plan \u002F yolo 四级权限模式，配合工具白名单与黑名单。\", \"type\": \"text\"}]}]}, {\"type\": \"listItem\", \"content\": [{\"type\": \"paragraph\", \"content\": [{\"text\": \"精确费用追踪\", \"type\": \"text\", \"marks\": [{\"type\": \"bold\"}]}, {\"text\": \"：多轮累计 token 消耗，计入缓存价格，会话内 \", \"type\": \"text\"}, {\"text\": \"\u002Fcost\", \"type\": \"text\", \"marks\": [{\"type\": \"code\"}]}, {\"text\": \" 随时看。\", \"type\": \"text\"}]}]}, {\"type\": \"listItem\", \"content\": [{\"type\": \"paragraph\", \"content\": [{\"text\": \"开放扩展\", \"type\": \"text\", \"marks\": [{\"type\": \"bold\"}]}, {\"text\": \"：MCP 协议、插件系统、Skills、Hooks 都能接。\", \"type\": \"text\"}]}]}]}, {\"type\": \"heading\", \"attrs\": {\"level\": 2}, \"content\": [{\"text\": \"使用场景\", \"type\": \"text\"}]}, {\"type\": \"bulletList\", \"content\": [{\"type\": \"listItem\", \"content\": [{\"type\": \"paragraph\", \"content\": [{\"text\": \"边写边派活\", \"type\": \"text\", \"marks\": [{\"type\": \"bold\"}]}, {\"text\": \"：在 Web 工作台里挂几个任务（探索代码库、做一个功能、Review 改动、修 bug），Agent 在独立 worktree 里跑，你继续写自己的代码。\", \"type\": \"text\"}]}]}, {\"type\": \"listItem\", \"content\": [{\"type\": \"paragraph\", \"content\": [{\"text\": \"多模型对比\", \"type\": \"text\", \"marks\": [{\"type\": \"bold\"}]}, {\"text\": \"：同一个任务换不同 Provider \u002F 模型跑，看哪个更合适。\", \"type\": \"text\"}]}]}, {\"type\": \"listItem\", \"content\": [{\"type\": \"paragraph\", \"content\": [{\"text\": \"团队协作评审\", \"type\": \"text\", \"marks\": [{\"type\": \"bold\"}]}, {\"text\": \"：任务完成后以可复核的工作区形式返回，方便逐条验收。\", \"type\": \"text\"}]}]}, {\"type\": \"listItem\", \"content\": [{\"type\": \"paragraph\", \"content\": [{\"text\": \"CI 与自动化\", \"type\": \"text\", \"marks\": [{\"type\": \"bold\"}]}, {\"text\": \"：\", \"type\": \"text\"}, {\"text\": \"blade --headless --output-format jsonl\", \"type\": \"text\", \"marks\": [{\"type\": \"code\"}]}, {\"text\": \" 在脚本里跑完整 agent loop。\", \"type\": \"text\"}]}]}]}, {\"type\": \"heading\", \"attrs\": {\"level\": 2}, \"content\": [{\"text\": \"快速开始\", \"type\": \"text\"}]}, {\"type\": \"codeBlock\", \"attrs\": {\"language\": null}, \"content\": [{\"text\": \"npx blade-code            # 快速体验，需要 Node.js >= 22.19.0\\nnpm install -g blade-code # 全局安装\\n\\nblade                     # 交互式 CLI\\nblade web                 # Web 工作台\\nblade --headless --output-format jsonl \\\"分析这个仓库\\\"\", \"type\": \"text\"}]}, {\"type\": \"paragraph\", \"content\": [{\"text\": \"首次启动会自动进入模型配置向导。配置写在 \", \"type\": \"text\"}, {\"text\": \"~\u002F.blade\u002Fconfig.json\", \"type\": \"text\", \"marks\": [{\"type\": \"code\"}]}, {\"text\": \"，凭证单独存在 \", \"type\": \"text\"}, {\"text\": \"~\u002F.blade\u002Fauth.json\", \"type\": \"text\", \"marks\": [{\"type\": \"code\"}]}, {\"text\": \"（权限 0600），不进版本控制。\", \"type\": \"text\"}]}, {\"type\": \"heading\", \"attrs\": {\"level\": 2}, \"content\": [{\"text\": \"FAQ\", \"type\": \"text\"}]}, {\"type\": \"paragraph\", \"content\": [{\"text\": \"Q：需要什么？\", \"type\": \"text\", \"marks\": [{\"type\": \"bold\"}]}, {\"text\": \" Node.js >= 22.19.0，以及至少一个模型 Provider 的 API Key。Blade Code 本身开源（MIT），模型费用由你选的 Provider 按 token 计费。\\n\", \"type\": \"text\"}, {\"text\": \"Q：支持哪些模型？\", \"type\": \"text\", \"marks\": [{\"type\": \"bold\"}]}, {\"text\": \" 通过 pi-ai 统一 38+ Provider，包括 OpenAI、Anthropic、DeepSeek、Google、Bedrock 等；也可以手动加自定义模型和 Base URL。\\n\", \"type\": \"text\"}, {\"text\": \"Q：Web 和 CLI 是两个版本吗？\", \"type\": \"text\", \"marks\": [{\"type\": \"bold\"}]}, {\"text\": \" 不是。三个入口共享同一个运行时和同一份会话数据，只是交互界面不同。\\n\", \"type\": \"text\"}, {\"text\": \"Q：Agent 操作浏览器安全吗？\", \"type\": \"text\", \"marks\": [{\"type\": \"bold\"}]}, {\"text\": \" 浏览器 Session 隔离，页面交互走 ARIA 快照加安全 ref，操作过程在 Web 界面里可见。\", \"type\": \"text\"}]}, {\"type\": \"paragraph\", \"content\": [{\"text\": \"在线文档：https:\u002F\u002Fechovic.github.io\u002Fblade-code\u002F\", \"type\": \"text\"}, {\"type\": \"hardBreak\"}, {\"text\": \"开源仓库：https:\u002F\u002Fgithub.com\u002FechoVic\u002Fblade-code\", \"type\": \"text\"}]}]}","echoVic","https:\u002F\u002Fwatcha.tos-cn-beijing.volces.com\u002Fprod\u002Fuser\u002Fuploads\u002F10121671_1789282225_27834d17-ff15-4cb7-acde-21837dc97b72.png;https:\u002F\u002Fwatcha.tos-cn-beijing.volces.com\u002Fprod\u002Fuser\u002Fuploads\u002F10121671_1789282225_bf1aa81f-969e-4c29-80c8-d3d997064dcb.png;https:\u002F\u002Fwatcha.tos-cn-beijing.volces.com\u002Fprod\u002Fuser\u002Fuploads\u002F10121671_1789282225_6c1f1ada-7bc4-4738-b2e4-0fdcf417b22d.png;https:\u002F\u002Fwatcha.tos-cn-beijing.volces.com\u002Fprod\u002Fuser\u002Fuploads\u002F10121671_1789282225_c2c3f14f-b35e-48ba-8883-96af1c694821.png","https:\u002F\u002Fwatcha.tos-cn-beijing.volces.com\u002Fprod\u002Fuser\u002Fuploads\u002F10121671_1789281507_e8d0ef0a-ff6f-4f4a-bbfb-8e7303e47027.png","https:\u002F\u002Fwatcha.tos-cn-beijing.volces.com\u002Fprod\u002Fuser\u002Fuploads\u002F10121671_1789281518_5aef8794-af52-47ab-ab21-c6a7ed8d278a.png","https:\u002F\u002Fechovic.github.io\u002Fblade-code\u002F",{"items":15},[16],{"platform":17,"url":13,"is_primary":18},"WEB",true,"PUBLISHED",[],[22,25,28],{"id":23,"name":24},6,"编程开发",{"id":26,"name":27},13,"Agent 构建",{"id":29,"name":30},14,"效率工具",{"upvotes":32,"stars":33,"review_count":32,"reply_count":34,"score":35,"update_at":36},1,4,0,2.0654329147389294,"2026-11-12T13:50:22.185Z","OWNER","2026-09-13T06:53:26.95Z","2026-09-13T10:36:15.535Z",10121671,10004627,null,"",false,{"reacts":46},[47],{"emoji_code":48,"count":32,"reacted":44},"🤩",{"items":50},[51,54,56,59,62],{"id":52,"name":53,"sort_order":34},3,"CLI",{"id":33,"name":55,"sort_order":34},"Web",{"id":57,"name":58,"sort_order":34},8,"完全免费",{"id":60,"name":61,"sort_order":34},12,"中国大陆",{"id":26,"name":63,"sort_order":34},"海外"]