{"id":375,"date":"2025-12-31T08:34:09","date_gmt":"2025-12-31T00:34:09","guid":{"rendered":"https:\/\/blog.jj.mr\/?p=375"},"modified":"2025-12-31T08:34:09","modified_gmt":"2025-12-31T00:34:09","slug":"%e3%80%90%e8%bd%ac%e8%bd%bd%e3%80%91%e5%bc%80%e6%ba%90-ccb-%e7%bb%88%e7%ab%af%e9%87%8c%e7%9a%84%e5%a4%9a%e6%a8%a1%e5%9e%8b-ai-%e5%8d%8f%e4%bd%9c%e8%80%85-%e9%9b%86%e6%88%90-wezterm-claude-gemin","status":"publish","type":"post","link":"https:\/\/blog.jj.mr\/index.php\/2025\/12\/31\/%e3%80%90%e8%bd%ac%e8%bd%bd%e3%80%91%e5%bc%80%e6%ba%90-ccb-%e7%bb%88%e7%ab%af%e9%87%8c%e7%9a%84%e5%a4%9a%e6%a8%a1%e5%9e%8b-ai-%e5%8d%8f%e4%bd%9c%e8%80%85-%e9%9b%86%e6%88%90-wezterm-claude-gemin\/","title":{"rendered":"\u3010\u8f6c\u8f7d\u3011[\u5f00\u6e90] CCB &#8211; \u7ec8\u7aef\u91cc\u7684\u591a\u6a21\u578b AI \u534f\u4f5c\u8005 (\u96c6\u6210 WezTerm + Claude\/Gemini\/Codex)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\" style=\"\n  margin:0 0 10px 0;\n  padding:7px 10px;\n  background:#f6f7f9;\n  border-left:3px solid #94a3b8;\n  border-radius:6px;\n  font-size:13.5px;\n  color:#475569;\n  line-height:1.7;\n\">\n  \u672c\u6587\u4e3a\u8f6c\u8f7d\u5185\u5bb9\uff0c\u4fdd\u7559\u539f\u5e16\u89c2\u70b9\u4e0e\u7ed3\u6784\uff1b\u5982\u6709\u4fb5\u6743\u8bf7\u8054\u7cfb\u6211\u5904\u7406\u3002\n<\/p>\n<p dir=\"auto\" style=\"margin: 0px 0px 14px; line-height: 1.8; font-size: 16px;\">\u5927\u5bb6\u597d\uff0c\u4eca\u5929\u5206\u4eab\u4e00\u4e2a\u6211\u5f00\u53d1\u7684\u7ec8\u7aef\u5de5\u5177 <strong>CCB (Claude Code Bridge)<\/strong>\uff0c\u4ee5\u53ca\u914d\u5957\u7684\u4e00\u5957<strong>\u591a\u6a21\u578b\u534f\u4f5c\u534f\u8bae<\/strong>\u3002<\/p>\n<div class=\"lightbox-wrapper\" dir=\"auto\"><a class=\"lightbox\" href=\"https:\/\/linux.do\/uploads\/default\/original\/4X\/6\/4\/e\/64e3f0ed9c58bb3b5ad6d76110ea81e0b2fec462.jpeg\" data-download-href=\"https:\/\/linux.do\/uploads\/default\/64e3f0ed9c58bb3b5ad6d76110ea81e0b2fec462\" title=\"image\"><figure style=\"margin: 16px auto; text-align: center;\"><img decoding=\"async\" src=\"https:\/\/blog.jj.mr\/wp-content\/uploads\/2025\/12\/64e3f0ed9c58bb3b5ad6d76110ea81e0b2fec462_2_690x368.jpeg\" alt=\"image\" data-base62-sha1=\"eow6JFmFpieuFPA5crDpMz5IwAq\" width=\"690\" height=\"368\" srcset=\"https:\/\/linux.do\/uploads\/default\/optimized\/4X\/6\/4\/e\/64e3f0ed9c58bb3b5ad6d76110ea81e0b2fec462_2_690x368.jpeg, https:\/\/linux.do\/uploads\/default\/optimized\/4X\/6\/4\/e\/64e3f0ed9c58bb3b5ad6d76110ea81e0b2fec462_2_1035x552.jpeg 1.5x, https:\/\/linux.do\/uploads\/default\/optimized\/4X\/6\/4\/e\/64e3f0ed9c58bb3b5ad6d76110ea81e0b2fec462_2_1380x736.jpeg 2x\" data-dominant-color=\"323433\" loading=\"lazy\" style=\"aspect-ratio: 690 \/ 368; max-width: 100%; height: auto; border-radius: 6px;\"><\/figure><\/a><\/div>\n<p dir=\"auto\" style=\"margin: 0px 0px 14px; line-height: 1.8; font-size: 16px;\">\u5982\u679c\u4f60\u538c\u5026\u4e86\u5728\u6d4f\u89c8\u5668\u548c\u7f16\u8f91\u5668\u4e4b\u95f4\u6765\u56de\u590d\u5236\u7c98\u8d34\uff0c\u6216\u8005\u82e6\u607c\u4e8e\u5355\u4e00\u6a21\u578b\u7684\u5c40\u9650\u6027\uff08\u6bd4\u5982 Claude \u64c5\u957f\u67b6\u6784\u4f46\u6709\u65f6\u5e7b\u89c9\uff0cGemini \u64c5\u957f\u957f\u6587\u672c\u4f46\u903b\u8f91\u7a0d\u5f31\uff09\uff0c\u90a3\u4e48\u8fd9\u5957\u65b9\u6848\u53ef\u80fd\u9002\u5408\u4f60\u3002<\/p>\n<h4 dir=\"auto\"><a name=\"p-11914158-ide-1\" class=\"anchor\" href=\"#p-11914158-ide-1\" aria-label=\"\u6807\u9898\u94fe\u63a5\"><\/a><figure style=\"margin: 16px auto; text-align: center;\"><img decoding=\"async\" src=\"https:\/\/blog.jj.mr\/wp-content\/uploads\/2025\/12\/glowing_star-2.png\" title=\":glowing_star:\" class=\"emoji\" alt=\":glowing_star:\" loading=\"lazy\" width=\"20\" height=\"20\" style=\"aspect-ratio: 20 \/ 20; max-width: 100%; height: auto; border-radius: 6px;\"><\/figure> \u6838\u5fc3\u7406\u5ff5\uff1a\u7ec8\u7aef\u5373 IDE\uff0c\u591a\u6a21\u578b\u5373\u63d2\u4ef6<\/h4>\n<p dir=\"auto\" style=\"margin: 0px 0px 14px; line-height: 1.8; font-size: 16px;\">CCB \u7684\u6838\u5fc3\u4e0d\u4ec5\u4ec5\u662f&#8221;\u5728\u7ec8\u7aef\u91cc\u804a\u5929&#8221;\uff0c\u800c\u662f\u901a\u8fc7 <strong>WezTerm<\/strong> \u7684\u5206\u5c4f\u80fd\u529b\uff0c\u5c06 Claude\u3001Gemini\u3001Codex \u4e09\u5927\u6a21\u578b\u96c6\u6210\u5230\u4f60\u7684\u5f00\u53d1\u73af\u5883\u4e2d\uff0c\u5e76\u7531\u4e00\u4e2a\u4e3b\u63a7\u6a21\u578b\uff08\u901a\u5e38\u662f Claude\uff09\u6765\u8c03\u5ea6\u5b83\u4eec\u3002<\/p>\n<p dir=\"auto\" style=\"margin: 0px 0px 14px; line-height: 1.8; font-size: 16px;\">\u4e3a\u4e86\u89c4\u8303\u8fd9\u79cd\u534f\u4f5c\uff0c\u6211\u5236\u5b9a\u4e86 <strong><a href=\"https:\/\/raw.githubusercontent.com\/xiaojia21190\/ccb\/refs\/heads\/main\/CLAUDE.md\" rel=\"noopener nofollow ugc\" data-clicks=\"5\" aria-label=\"CLAUDE.md \u94fe\u63a5\u5df2\u70b9\u51fb 5 \u6b21\">CLAUDE.md<\/a><\/strong> \u534f\u8bae\u6587\u4ef6\uff0c\u628a\u5b83\u653e\u5728 Claude Code Cli \u7684\u6839\u76ee\u5f55\u3002<\/p>\n<h4 dir=\"auto\"><a name=\"p-11914158-ccb-2\" class=\"anchor\" href=\"#p-11914158-ccb-2\" aria-label=\"\u6807\u9898\u94fe\u63a5\"><\/a><figure style=\"margin: 16px auto; text-align: center;\"><img decoding=\"async\" src=\"https:\/\/blog.jj.mr\/wp-content\/uploads\/2025\/12\/hammer_and_wrench.png\" title=\":hammer_and_wrench:\" class=\"emoji\" alt=\":hammer_and_wrench:\" loading=\"lazy\" width=\"20\" height=\"20\" style=\"aspect-ratio: 20 \/ 20; max-width: 100%; height: auto; border-radius: 6px;\"><\/figure> CCB \u5de5\u5177\u7279\u6027<\/h4>\n<ol dir=\"auto\" style=\"margin: 0px 0px 14px 20px; line-height: 1.8; font-size: 16px;\">\n<li style=\"margin: 4px 0px;\"><strong>\u4e00\u952e\u7f16\u6392 (<code>ccb up<\/code>)<\/strong>\uff1a\n\n\u81ea\u52a8\u62c9\u8d77\u4e09\u4e2a AI \u670d\u52a1\u7a97\u683c\uff08Codex\/Gemini\/Claude\uff09\uff0c\u5e03\u5c40\u81ea\u52a8\u8c03\u6574\uff0c\u4e92\u4e0d\u5e72\u6270\u3002<\/li>\n<li style=\"margin: 4px 0px;\"><strong>\u5f02\u6b65\u6307\u4ee4 (<code>cask<\/code>\/<code>gask<\/code>)<\/strong>\uff1a<\/li>\n<\/ol>\n<ul dir=\"auto\" style=\"margin: 0px 0px 14px 20px; line-height: 1.8; font-size: 16px;\">\n<li style=\"margin: 4px 0px;\"><code>cask \"\u5e2e\u6211\u91cd\u6784\u8fd9\u6bb5\u903b\u8f91\"<\/code> \u2192 \u53d1\u9001\u7ed9 Codex\uff08\u64c5\u957f\u903b\u8f91\/\u540e\u7aef\uff09\u3002<\/li>\n<li style=\"margin: 4px 0px;\"><code>gask \"\u751f\u6210\u8fd9\u4e2a\u7ec4\u4ef6\u7684 CSS\"<\/code> \u2192 \u53d1\u9001\u7ed9 Gemini\uff08\u64c5\u957f\u524d\u7aef\/\u591a\u6a21\u6001\uff09\u3002<\/li>\n<li style=\"margin: 4px 0px;\">\u6307\u4ee4\u5728\u540e\u53f0\u8fd0\u884c\uff0c\u4e0d\u963b\u585e\u4f60\u7684\u5f53\u524d\u7ec8\u7aef\u64cd\u4f5c\u3002<\/li>\n<\/ul>\n<ol start=\"3\" dir=\"auto\" style=\"margin: 0px 0px 14px 20px; line-height: 1.8; font-size: 16px;\">\n<li style=\"margin: 4px 0px;\"><strong>\u5386\u53f2\u56de\u6eaf (<code>cpend<\/code>\/<code>gpend<\/code>)<\/strong>\uff1a\n\n\u968f\u65f6\u4f7f\u7528 <code>cpend 1<\/code> \u83b7\u53d6 Codex \u7684\u6700\u65b0\u8f93\u51fa\uff08\u901a\u5e38\u662f Unified Diff Patch\uff09\uff0c\u7136\u540e\u7531\u4e3b\u63a7\u6a21\u578b\u8fdb\u884c Review \u548c\u5408\u5e76\u3002<\/li>\n<li style=\"margin: 4px 0px;\"><strong>\u667a\u80fd\u5b89\u88c5<\/strong>\uff1a\n\nGo \u7f16\u5199\uff0c\u5355\u6587\u4ef6\u5206\u53d1\u3002Windows \u4e0b\u81ea\u52a8\u4f7f\u7528<strong>\u786c\u94fe\u63a5<\/strong>\u5b89\u88c5\uff0cLinux\/macOS \u4f7f\u7528\u8f6f\u94fe\u63a5\uff0c\u96f6\u4f9d\u8d56\uff0c\u6781\u901f\u542f\u52a8\u3002<\/li>\n<\/ol>\n<h4 dir=\"auto\"><a name=\"p-11914158-claudemd-3\" class=\"anchor\" href=\"#p-11914158-claudemd-3\" aria-label=\"\u6807\u9898\u94fe\u63a5\"><\/a><figure style=\"margin: 16px auto; text-align: center;\"><img decoding=\"async\" src=\"https:\/\/blog.jj.mr\/wp-content\/uploads\/2025\/12\/scroll.png\" title=\":scroll:\" class=\"emoji\" alt=\":scroll:\" loading=\"lazy\" width=\"20\" height=\"20\" style=\"aspect-ratio: 20 \/ 20; max-width: 100%; height: auto; border-radius: 6px;\"><\/figure> CLAUDE.md \u534f\u4f5c\u534f\u8bae\uff08\u9644\u5e26\uff09<\/h4>\n<p dir=\"auto\" style=\"margin: 0px 0px 14px; line-height: 1.8; font-size: 16px;\">\u9879\u76ee\u5185\u542b\u4e00\u4efd <a href=\"https:\/\/raw.githubusercontent.com\/xiaojia21190\/ccb\/refs\/heads\/main\/CLAUDE.md\" rel=\"noopener nofollow ugc\" data-clicks=\"5\" aria-label=\"CLAUDE.md \u94fe\u63a5\u5df2\u70b9\u51fb 5 \u6b21\">CLAUDE.md<\/a>\uff0c\u5b9a\u4e49\u4e86\u4e25\u683c\u7684 <strong>5 \u9636\u6bb5\u5de5\u4f5c\u6d41 (Workflow)<\/strong>\uff1a<\/p>\n<ul dir=\"auto\" style=\"margin: 0px 0px 14px 20px; line-height: 1.8; font-size: 16px;\">\n<li style=\"margin: 4px 0px;\"><strong>Phase 1: \u4e0a\u4e0b\u6587\u68c0\u7d22<\/strong> &#8211; \u62d2\u7edd\u5047\u8bbe\uff0c\u5148\u67e5\u540e\u5199\u3002<\/li>\n<li style=\"margin: 4px 0px;\"><strong>Phase 2: \u591a\u6a21\u578b\u5206\u6790<\/strong> &#8211; \u5c06\u9700\u6c42\u5206\u53d1\u7ed9 Codex \u548c Gemini \u8fdb\u884c\u4ea4\u53c9\u9a8c\u8bc1\u3002<\/li>\n<li style=\"margin: 4px 0px;\"><strong>Phase 3: \u539f\u578b\u83b7\u53d6<\/strong> &#8211; \u8ba9 Gemini \u5199\u524d\u7aef\u539f\u578b\uff0cCodex \u5199\u540e\u7aef\u903b\u8f91\uff0c\u4ea7\u51fa Diff Patch\u3002<\/li>\n<li style=\"margin: 4px 0px;\"><strong>Phase 4: \u7f16\u7801\u5b9e\u65bd<\/strong> &#8211; \u4e3b\u63a7\u6a21\u578b\uff08Claude\uff09\u6e05\u6d17\u4ee3\u7801\uff0c\u786e\u4fdd\u65e0\u5197\u4f59\u3001\u65e0\u526f\u4f5c\u7528\u3002<\/li>\n<li style=\"margin: 4px 0px;\"><strong>Phase 5: \u5ba1\u8ba1\u4ea4\u4ed8<\/strong> &#8211; \u53d8\u66f4\u540e\u5f3a\u5236\u89e6\u53d1\u53cc\u6a21\u578b Code Review\u3002<\/li>\n<\/ul>\n<h4 dir=\"auto\"><a name=\"p-11914158-h-4\" class=\"anchor\" href=\"#p-11914158-h-4\" aria-label=\"\u6807\u9898\u94fe\u63a5\"><\/a><figure style=\"margin: 16px auto; text-align: center;\"><img decoding=\"async\" src=\"https:\/\/blog.jj.mr\/wp-content\/uploads\/2025\/12\/rocket-2.png\" title=\":rocket:\" class=\"emoji\" alt=\":rocket:\" loading=\"lazy\" width=\"20\" height=\"20\" style=\"aspect-ratio: 20 \/ 20; max-width: 100%; height: auto; border-radius: 6px;\"><\/figure> \u5feb\u901f\u5f00\u59cb<\/h4>\n<ol dir=\"auto\" style=\"margin: 0px 0px 14px 20px; line-height: 1.8; font-size: 16px;\">\n<li style=\"margin: 4px 0px;\"><strong>\u5b89\u88c5 CCB<\/strong>\uff1a\n\n\u4e0b\u8f7d Release \u6216\u81ea\u884c\u7f16\u8bd1\uff0c\u8fd0\u884c <code>ccb install<\/code>\u3002<\/li>\n<li style=\"margin: 4px 0px;\"><strong>\u914d\u7f6e\u534f\u8bae<\/strong>\uff1a\n\n\u5c06 <a href=\"https:\/\/raw.githubusercontent.com\/xiaojia21190\/ccb\/refs\/heads\/main\/CLAUDE.md\" rel=\"noopener nofollow ugc\" data-clicks=\"5\" aria-label=\"CLAUDE.md \u94fe\u63a5\u5df2\u70b9\u51fb 5 \u6b21\">CLAUDE.md<\/a> \u590d\u5236\u5230\u4f60\u7684Claude Code Cli \u7684\u6839\u76ee\u5f55\u4e2d\u3002<\/li>\n<li style=\"margin: 4px 0px;\"><strong>\u542f\u52a8\u5de5\u4f5c\u6d41<\/strong>\uff1a<code>ccb up<\/code><\/li>\n<\/ol>\n<h4 dir=\"auto\"><a name=\"p-11914158-h-5\" class=\"anchor\" href=\"#p-11914158-h-5\" aria-label=\"\u6807\u9898\u94fe\u63a5\"><\/a><figure style=\"margin: 16px auto; text-align: center;\"><img decoding=\"async\" src=\"https:\/\/blog.jj.mr\/wp-content\/uploads\/2025\/12\/link-1.png\" title=\":link:\" class=\"emoji\" alt=\":link:\" loading=\"lazy\" width=\"20\" height=\"20\" style=\"aspect-ratio: 20 \/ 20; max-width: 100%; height: auto; border-radius: 6px;\"><\/figure> \u94fe\u63a5<\/h4>\n<p dir=\"auto\" style=\"margin: 0px 0px 14px; line-height: 1.8; font-size: 16px;\">[<a href=\"https:\/\/github.com\/xiaojia21190\/ccb\" rel=\"noopener nofollow ugc\" data-clicks=\"20\" aria-label=\"GitHub \u4ed3\u5e93\u5730\u5740 \u94fe\u63a5\u5df2\u70b9\u51fb 20 \u6b21\">GitHub \u4ed3\u5e93\u5730\u5740<\/a>]<\/p>\n<p dir=\"auto\" style=\"margin: 0px 0px 14px; line-height: 1.8; font-size: 16px;\">\u5e0c\u671b\u8fd9\u5957\u5de5\u5177\u548c\u65b9\u6cd5\u8bba\u80fd\u63d0\u5347\u4f60\u7684\u5f00\u53d1\u6548\u7387\uff01\u6b22\u8fce Star \u548c PR\u3002<\/p><div style=\"margin-top:18px;\">\n  <hr style=\"border:0;height:1px;background:#e2e8f0;margin:16px 0;\">\n\n  <div style=\"\n    padding:12px 14px;\n    background:#f8fafc;\n    border:1px dashed #d0d7de;\n    border-radius:12px;\n    font-size:14px;\n    color:#334155;\n    line-height:1.8;\n  \">\n    <div style=\"margin:0 0 8px 0;font-weight:700;color:#0f172a;font-size:15px;\">\n      \ud83d\udccc \u8f6c\u8f7d\u4fe1\u606f\n    <\/div>\n\n    <div style=\"margin:0 0 6px 0;\">\n      <span style=\"color:#64748b;display:inline;font-weight:600;\">\u6765\u6e90\uff1a<\/span>\n      <a href=\"https:\/\/linux.do\/t\/topic\/1379955\" target=\"_blank\" rel=\"nofollow noopener\"\n         style=\"display:inline;color:#2563eb;text-decoration:underline;word-break:break-all;\">\n        https:\/\/linux.do\/t\/topic\/1379955\n      <\/a>\n    <\/div>\n\n    \n    <div style=\"margin:0 0 6px 0;\">\n      <span style=\"color:#64748b;display:inline;font-weight:600;\">\u539f\u4f5c\u8005\uff1a<\/span>\n      <span style=\"display:inline;font-weight:600;\">a1235512<\/span>\n    <\/div>\n\n    <div style=\"margin:0;\">\n      <span style=\"color:#64748b;display:inline;font-weight:600;\">\u8f6c\u8f7d\u65f6\u95f4\uff1a<\/span>\n      <span style=\"display:inline;\">2025\/12\/31 08:34:08<\/span>\n    <\/div>\n  <\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>\u672c\u6587\u4e3a\u8f6c\u8f7d\u5185\u5bb9\uff0c\u4fdd\u7559\u539f\u5e16\u89c2\u70b9\u4e0e\u7ed3\u6784\uff1b\u5982\u6709\u4fb5\u6743\u8bf7\u8054\u7cfb\u6211\u5904\u7406\u3002 \u5927\u5bb6\u597d\uff0c\u4eca\u5929\u5206\u4eab\u4e00\u4e2a\u6211\u5f00\u53d1\u7684\u7ec8\u7aef\u5de5\u5177 CCB (C &hellip; <a href=\"https:\/\/blog.jj.mr\/index.php\/2025\/12\/31\/%e3%80%90%e8%bd%ac%e8%bd%bd%e3%80%91%e5%bc%80%e6%ba%90-ccb-%e7%bb%88%e7%ab%af%e9%87%8c%e7%9a%84%e5%a4%9a%e6%a8%a1%e5%9e%8b-ai-%e5%8d%8f%e4%bd%9c%e8%80%85-%e9%9b%86%e6%88%90-wezterm-claude-gemin\/\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u3010\u8f6c\u8f7d\u3011[\u5f00\u6e90] CCB &#8211; \u7ec8\u7aef\u91cc\u7684\u591a\u6a21\u578b AI \u534f\u4f5c\u8005 (\u96c6\u6210 WezTerm + Claude\/Gemini\/Codex)<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-375","post","type-post","status-publish","format-standard","hentry","category-7"],"_links":{"self":[{"href":"https:\/\/blog.jj.mr\/index.php\/wp-json\/wp\/v2\/posts\/375","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.jj.mr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.jj.mr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jj.mr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jj.mr\/index.php\/wp-json\/wp\/v2\/comments?post=375"}],"version-history":[{"count":1,"href":"https:\/\/blog.jj.mr\/index.php\/wp-json\/wp\/v2\/posts\/375\/revisions"}],"predecessor-version":[{"id":376,"href":"https:\/\/blog.jj.mr\/index.php\/wp-json\/wp\/v2\/posts\/375\/revisions\/376"}],"wp:attachment":[{"href":"https:\/\/blog.jj.mr\/index.php\/wp-json\/wp\/v2\/media?parent=375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jj.mr\/index.php\/wp-json\/wp\/v2\/categories?post=375"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jj.mr\/index.php\/wp-json\/wp\/v2\/tags?post=375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}