{"id":257,"date":"2026-07-08T06:58:47","date_gmt":"2026-07-07T22:58:47","guid":{"rendered":"http:\/\/www.tantan.ink\/index.php\/2026\/07\/08\/codexbar-%e4%b8%8a%e6%89%8b%ef%bc%9a%e6%8a%8a-40-%e4%b8%aa-ai-%e7%bc%96%e7%a8%8b%e5%8a%a9%e6%89%8b%e7%9a%84%e9%a2%9d%e5%ba%a6%e7%9b%91%e6%8e%a7%e6%90%ac%e8%bf%9b-macos-%e8%8f%9c%e5%8d%95%e6%a0%8f\/"},"modified":"2026-07-09T19:30:36","modified_gmt":"2026-07-09T11:30:36","slug":"codexbar-%e4%b8%8a%e6%89%8b%ef%bc%9a%e6%8a%8a-40-%e4%b8%aa-ai-%e7%bc%96%e7%a8%8b%e5%8a%a9%e6%89%8b%e7%9a%84%e9%a2%9d%e5%ba%a6%e7%9b%91%e6%8e%a7%e6%90%ac%e8%bf%9b-macos-%e8%8f%9c%e5%8d%95%e6%a0%8f","status":"publish","type":"post","link":"https:\/\/www.tantan.ink\/index.php\/2026\/07\/08\/codexbar-%e4%b8%8a%e6%89%8b%ef%bc%9a%e6%8a%8a-40-%e4%b8%aa-ai-%e7%bc%96%e7%a8%8b%e5%8a%a9%e6%89%8b%e7%9a%84%e9%a2%9d%e5%ba%a6%e7%9b%91%e6%8e%a7%e6%90%ac%e8%bf%9b-macos-%e8%8f%9c%e5%8d%95%e6%a0%8f\/","title":{"rendered":"CodexBar\uff1aAI \u7f16\u7a0b\u52a9\u624b\u989d\u5ea6\u76d1\u63a7\u653e\u83dc\u5355\u680f"},"content":{"rendered":"<p><em>\u613f\u4f60\u7684 token \u6c38\u4e0d\u8017\u5c3d\u3002<\/em><\/p>\n<p>\u5982\u679c\u4f60\u6bcf\u5929\u90fd\u5728\u7528 Cursor\u3001Claude Code\u3001GitHub Copilot \u6216 OpenAI Codex \u5199\u4ee3\u7801\uff0c\u4e00\u5b9a\u6709\u8fc7\u8fd9\u79cd\u7a92\u606f\u65f6\u523b\uff1a\u5199\u5230\u5173\u952e\u5904\uff0c\u7a81\u7136\u5f39\u51fa\u4e00\u4e2a\u989d\u5ea6\u8b66\u544a\uff0c\u6216\u8005\u66f4\u7cdf\u2014\u2014\u4f60\u4e0d\u77e5\u9053\u81ea\u5df1\u8fd8\u5269\u591a\u5c11\uff0c\u53ea\u80fd\u51ed\u611f\u89c9\u7701\u7740\u7528\u3002<\/p>\n<p>CodexBar \u5c31\u662f\u6765\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u7684\u3002\u5b83\u628a <strong>40+ \u4e2a AI \u7f16\u7a0b\u670d\u52a1\u63d0\u4f9b\u5546<\/strong>\u7684\u7528\u91cf\u3001\u989d\u5ea6\u3001\u91cd\u7f6e\u5012\u8ba1\u65f6\uff0c\u5168\u90e8\u642c\u8fdb\u4e86 macOS \u83dc\u5355\u680f\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.tantan.ink\/wp-content\/uploads\/2026\/07\/codexbar-ui.png\" alt=\"CodexBar \u83dc\u5355\u680f\u754c\u9762\" \/><\/p>\n<h2>\u662f\u4ec0\u4e48<\/h2>\n<p>CodexBar \u662f\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u7684 macOS 14+ \u83dc\u5355\u680f\u5e94\u7528\uff0c\u65e0 Dock \u56fe\u6807\uff0cUI \u6781\u7b80\u3002\u5b83\u7684\u6838\u5fc3\u529f\u80fd\u53ea\u6709\u4e00\u4ef6\u4e8b\uff1a<strong>\u8ba9\u4f60\u4e0d\u767b\u5f55\u4e5f\u80fd\u770b\u5230 AI \u7f16\u7a0b\u5de5\u5177\u7684\u7528\u91cf\u7edf\u8ba1<\/strong>\u3002<\/p>\n<p>\u9879\u76ee\u7531 Peter Steinberger\uff08<a href=\"https:\/\/github.com\/steipete\">@steipete<\/a>\uff09\u5f00\u53d1\uff0cMIT \u534f\u8bae\u5f00\u6e90\uff0cSwift 6.2+ \u539f\u751f\u7f16\u5199\uff0c3,317 \u6b21\u63d0\u4ea4\uff0c\u76ee\u524d 17K+ Star\uff0c2026 \u5e74 7 \u6708\u4ecd\u5728\u6d3b\u8dc3\u66f4\u65b0\uff08\u6700\u65b0\u7248\u672c 0.41.0\uff0c0.41.1 \u5f00\u53d1\u4e2d\uff09\u3002<\/p>\n<h2>\u4e3a\u4ec0\u4e48\u9700\u8981\u5b83<\/h2>\n<p>AI \u7f16\u7a0b\u52a9\u624b\u7684\u989d\u5ea6\u6a21\u578b\u8d8a\u6765\u8d8a\u590d\u6742\uff1a<\/p>\n<ul>\n<li><strong>Cursor<\/strong>\uff1a\u6709\u514d\u8d39\u989d\u5ea6\uff0cPro \u7248\u6309\u8bf7\u6c42\u6570\u7b97\uff0c\u4e0d\u540c\u6a21\u578b\u6d88\u8017\u4e0d\u540c<\/li>\n<li><strong>Claude Code<\/strong>\uff1a\u6709\u4f1a\u8bdd\u9650\u5236\uff085 \u5c0f\u65f6\u7a97\u53e3\uff09\u548c\u6bcf\u5468\u7a97\u53e3\uff0cMax \u8ba1\u5212\u53e6\u6709\u89c4\u77e9<\/li>\n<li><strong>GitHub Copilot<\/strong>\uff1a\u514d\u8d39\u7248\u6709\u6bcf\u6708\u914d\u989d\uff0cPro \u7248&#8221;\u65e0\u9650&#8221;\u4f46\u6709\u901f\u7387\u9650\u5236<\/li>\n<li><strong>OpenAI Codex<\/strong>\uff1a\u6709\u4f1a\u8bdd\u548c\u7528\u91cf\u53cc\u91cd\u9650\u5236<\/li>\n<li><strong>Gemini CLI<\/strong>\uff1a\u6709\u6bcf\u65e5\u914d\u989d<\/li>\n<\/ul>\n<p>\u95ee\u9898\u5728\u4e8e\uff1a<strong>\u8fd9\u4e9b\u9650\u5236\u5728\u5404\u81ea\u7684\u63a7\u5236\u53f0\u91cc\uff0c\u4f60\u8981\u770b\u597d\u51e0\u4e2a\u5730\u65b9\uff0c\u800c\u4e14\u5f80\u5f80\u4e0d\u76f4\u89c2<\/strong>\u3002\u5199\u5230\u4e00\u534a\u60f3\u8d77\u6765&#8221;\u6211\u4eca\u5929\u8fd8\u7528\u4e86\u591a\u5c11&#8221;\uff0c\u5f97\u6253\u5f00\u6d4f\u89c8\u5668\u3001\u767b\u5f55\u3001\u627e\u7528\u91cf\u9875\u9762\u2014\u2014\u6253\u65ad\u4e86\u5fc3\u6d41\u3002<\/p>\n<p>CodexBar \u7684\u601d\u8def\u5f88\u7b80\u5355\uff1a\u628a\u8fd9\u4e9b\u5168\u805a\u5408\u5230\u83dc\u5355\u680f\uff0c\u4e00\u773c\u770b\u6e05\u3002<\/p>\n<h2>\u652f\u6301\u54ea\u4e9b\u63d0\u4f9b\u5546<\/h2>\n<p>\u622a\u81f3 2026 \u5e74 7 \u6708\uff0cCodexBar \u652f\u6301 <strong>40+ \u4e2a\u63d0\u4f9b\u5546<\/strong>\uff0c\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\uff1a<\/p>\n<table>\n<tr>\n<th>\u63d0\u4f9b\u5546<\/th>\n<th>\u83b7\u53d6\u6570\u636e\u65b9\u5f0f<\/th>\n<\/tr>\n<tr>\n<td>Codex<\/td>\n<td>OAuth API \u6216\u672c\u5730 Codex CLI<\/td>\n<\/tr>\n<tr>\n<td>Claude<\/td>\n<td>OAuth API\u3001\u6d4f\u89c8\u5668 cookies\u3001CLI PTY<\/td>\n<\/tr>\n<tr>\n<td>Cursor<\/td>\n<td>\u6d4f\u89c8\u5668\u4f1a\u8bdd cookies<\/td>\n<\/tr>\n<tr>\n<td>Gemini<\/td>\n<td>OAuth \u914d\u989d API<\/td>\n<\/tr>\n<tr>\n<td>Copilot<\/td>\n<td>GitHub device flow<\/td>\n<\/tr>\n<tr>\n<td>Grok<\/td>\n<td>Grok CLI \u8ba1\u8d39 RPC<\/td>\n<\/tr>\n<tr>\n<td>OpenRouter<\/td>\n<td>API token<\/td>\n<\/tr>\n<tr>\n<td>DeepSeek<\/td>\n<td>API \u5bc6\u94a5<\/td>\n<\/tr>\n<tr>\n<td>Vertex AI<\/td>\n<td>Google Cloud gcloud OAuth<\/td>\n<\/tr>\n<tr>\n<td>AWS Bedrock<\/td>\n<td>AWS \u8bbf\u95ee\u5bc6\u94a5<\/td>\n<\/tr>\n<tr>\n<td>Ollama<\/td>\n<td>\u672c\u5730 API<\/td>\n<\/tr>\n<\/table>\n<p>\u8fd8\u6709 GroqCloud\u3001ElevenLabs\u3001Deepgram\u3001MiniMax\u3001Kiro\u3001Windsurf\u3001Augment\u3001Poe \u7b49\u3002<\/p>\n<h2>\u6838\u5fc3\u529f\u80fd<\/h2>\n<h3>\u7528\u91cf\u6761 + \u91cd\u7f6e\u5012\u8ba1\u65f6<\/h3>\n<p>\u6bcf\u4e2a\u63d0\u4f9b\u5546\u5728\u83dc\u5355\u680f\u5f39\u7a97\u91cc\u663e\u793a\u4e00\u4e2a\u78c1\u8d34\uff08tile\uff09\uff0c\u5305\u542b\uff1a<\/p>\n<ul>\n<li><strong>\u7528\u91cf\u8fdb\u5ea6\u6761<\/strong>\uff1a\u5df2\u7528\/\u603b\u91cf\uff0c\u989c\u8272\u968f\u7528\u91cf\u53d8\u5316<\/li>\n<li><strong>\u91cd\u7f6e\u5012\u8ba1\u65f6<\/strong>\uff1a\u8ddd\u79bb\u4e0b\u6b21\u989d\u5ea6\u91cd\u7f6e\u8fd8\u6709\u591a\u4e45\uff08\u4f1a\u8bdd\/\u6bcf\u5468\/\u6bcf\u6708\uff09<\/li>\n<li><strong>\u4f59\u989d\/\u82b1\u8d39<\/strong>\uff1a\u4fe1\u7528\u4f59\u989d\u6216 Admin API \u82b1\u8d39\u4eea\u8868\u677f<\/li>\n<\/ul>\n<h3>\u5408\u5e76\u56fe\u6807\u6a21\u5f0f\uff08Merge Icons\uff09<\/h3>\n<p>\u5982\u679c\u4f60\u7528\u7684\u63d0\u4f9b\u5546\u591a\uff0c\u83dc\u5355\u680f\u4f1a\u6324\u6ee1\u56fe\u6807\u3002Merge Icons \u6a21\u5f0f\u53ef\u4ee5\u628a\u5b83\u4eec\u5408\u5e76\u6210\u4e00\u4e2a\u72b6\u6001\u9879\uff0c\u70b9\u51fb\u540e\u5c55\u5f00\u5207\u6362\u5668\u3002<\/p>\n<h3>\u5185\u8054\u56fe\u8868<\/h3>\n<p>\u5bf9\u652f\u6301\u7684\u63d0\u4f9b\u5546\uff08OpenAI\u3001Claude Admin API\u3001OpenRouter\u3001LiteLLM\u3001z.ai \u7b49\uff09\uff0cCodexBar \u80fd\u62c9\u51fa<strong>\u652f\u51fa\u548c\u4f7f\u7528\u56fe\u8868<\/strong>\uff0c\u76f4\u63a5\u5728\u83dc\u5355\u91cc\u770b\u8d8b\u52bf\u3002<\/p>\n<h3>CLI \u5de5\u5177<\/h3>\n<p>\u5b89\u88c5 CodexBar \u4f1a\u9644\u5e26 <code>codexbar<\/code> CLI\uff0c\u53ef\u4ee5\u811a\u672c\u5316\u8c03\u7528\uff1a<\/p>\n<pre><code># \u67e5\u770b\u652f\u6301\u7684\u670d\u52a1\u5546\ncodexbar config providers\n\n# \u542f\u7528\/\u7981\u7528\u67d0\u4e2a\u670d\u52a1\u5546\ncodexbar config enable --provider grok\ncodexbar config disable --provider cursor\n\n# \u67e5\u770b\u6210\u672c\u4f7f\u7528\ncodexbar cost --provider codex\ncodexbar cost --provider claude\ncodexbar cost --provider both\n<\/code><\/pre>\n<h3>Agent Sessions\uff080.41 \u65b0\u529f\u80fd\uff09<\/h3>\n<p>\u8fd9\u662f 2026 \u5e74 7 \u6708 7 \u65e5\u521a\u5408\u5e76\u7684\u65b0\u529f\u80fd\uff1a\u901a\u8fc7 Tailscale + SSH\uff0c<strong>\u8de8 Mac \u8ffd\u8e2a\u5b9e\u65f6\u7684 Codex \u548c Claude \u4f1a\u8bdd<\/strong>\u3002\u5982\u679c\u4f60\u6709\u591a\u53f0 Mac \u5728\u540c\u65f6\u8dd1 AI \u7f16\u7a0b\u52a9\u624b\uff0c\u8fd9\u4e2a\u529f\u80fd\u5f88\u6709\u7528\u3002<\/p>\n<h3>WidgetKit \u5c0f\u7ec4\u4ef6<\/h3>\n<p>\u652f\u6301 macOS WidgetKit\uff0c\u53ef\u4ee5\u5728\u684c\u9762\u6216\u901a\u77e5\u4e2d\u5fc3\u653e\u4e00\u4e2a\u5c0f\u90e8\u4ef6\uff0c\u663e\u793a\u7528\u91cf\u3002<\/p>\n<h3>\u901a\u77e5<\/h3>\n<p>\u53ef\u9009\u7684\u4f1a\u8bdd\u914d\u989d\u901a\u77e5\uff0c\u5feb\u7528\u5b8c\u65f6\u63d0\u9192\u4f60\uff1b\u6bcf\u5468\u91cd\u7f6e\u65f6\u4e5f\u6709\u5f69\u5e26\u63d0\u793a\u3002<\/p>\n<h2>\u5b89\u88c5\u90e8\u7f72<\/h2>\n<h3>\u7cfb\u7edf\u8981\u6c42<\/h3>\n<p>macOS 14+\uff08Sonoma \u6216\u66f4\u9ad8\uff09<\/p>\n<h3>\u65b9\u5f0f\u4e00\uff1aHomebrew\uff08\u63a8\u8350\uff09<\/h3>\n<pre><code>brew install --cask codexbar\n<\/code><\/pre>\n<h3>\u65b9\u5f0f\u4e8c\uff1aGitHub Releases \u4e0b\u8f7d<\/h3>\n<p>\u53bb <a href=\"https:\/\/github.com\/steipete\/CodexBar\/releases\">Releases \u9875\u9762<\/a> \u4e0b\u8f7d <code>.dmg<\/code>\uff0c\u62d6\u5230 Applications \u5373\u53ef\u3002<\/p>\n<h3>\u9996\u6b21\u914d\u7f6e<\/h3>\n<p>\u5b89\u88c5\u540e\u7b2c\u4e00\u6b21\u542f\u52a8\uff0cCodexBar \u4f1a\u5f15\u5bfc\u4f60\u914d\u7f6e\u8981\u76d1\u63a7\u7684\u63d0\u4f9b\u5546\u3002<\/p>\n<p><strong>\u5173\u952e\uff1a\u5b83\u4e0d\u9700\u8981\u4f60\u8f93\u5165\u5bc6\u7801<\/strong>\u3002\u5b83\u4f1a\u590d\u7528\u4f60\u5df2\u6709\u7684\u767b\u5f55\u72b6\u6001\uff1a<\/p>\n<ul>\n<li>OAuth \u4ee4\u724c\uff08\u5b58\u5728 Keychain \u91cc\uff09<\/li>\n<li>\u6d4f\u89c8\u5668 cookies\uff08\u9700\u8981 Full Disk Access \u6743\u9650\u8bfb\u53d6 Safari\/Chrome cookie \u6587\u4ef6\uff09<\/li>\n<li>API \u5bc6\u94a5\uff08\u624b\u52a8\u586b\u5165\uff0c\u5b58\u5728\u672c\u5730\u914d\u7f6e\u6587\u4ef6\uff09<\/li>\n<li>CLI \u672c\u5730\u72b6\u6001\u6587\u4ef6\uff08\u5982 <code>~\/.codex\/<\/code>\uff09<\/li>\n<\/ul>\n<p>\u914d\u7f6e\u5b8c\u6210\u540e\uff0c\u83dc\u5355\u680f\u5c31\u4f1a\u51fa\u73b0\u56fe\u6807\uff0c\u70b9\u51fb\u5373\u53ef\u770b\u5230\u7528\u91cf\u9762\u677f\u3002<\/p>\n<h2>\u4f7f\u7528\u6280\u5de7<\/h2>\n<h3>\u5237\u65b0\u9891\u7387<\/h3>\n<p>\u9ed8\u8ba4\u5237\u65b0\u9891\u7387\u662f 5 \u5206\u949f\uff0c\u53ef\u4ee5\u5728\u8bbe\u7f6e\u91cc\u8c03\u6574\uff1a\u624b\u52a8\u30011 \u5206\u949f\u30012 \u5206\u949f\u30015 \u5206\u949f\u300115 \u5206\u949f\u3002\u5982\u679c\u4f60\u7684\u989d\u5ea6\u6bd4\u8f83\u7d27\u5f20\uff0c\u53ef\u4ee5\u8bbe\u6210 1 \u5206\u949f\u3002<\/p>\n<h3>\u591a\u63d0\u4f9b\u5546\u7ba1\u7406<\/h3>\n<p>\u5982\u679c\u4f60\u540c\u65f6\u7528 Claude Code\u3001Cursor\u3001Copilot\uff0c\u5efa\u8bae\u5f00\u542f <strong>Merge Icons \u6a21\u5f0f<\/strong>\uff0c\u5426\u5219\u83dc\u5355\u680f\u4f1a\u88ab\u5360\u6ee1\u3002<\/p>\n<h3>Agent Sessions \u914d\u7f6e<\/h3>\n<p>\u5982\u679c\u4f60\u6709\u591a\u53f0 Mac\uff0c\u60f3\u7edf\u4e00\u8ffd\u8e2a AI \u7f16\u7a0b\u52a9\u624b\u7684\u4f1a\u8bdd\uff0c\u9700\u8981\u914d\u7f6e Tailscale + SSH \u8bbf\u95ee\u3002\u5177\u4f53\u6b65\u9aa4\u5728\u9879\u76ee README \u7684 Agent Sessions \u7ae0\u8282\u3002<\/p>\n<h3>\u6210\u672c\u8ffd\u8e2a<\/h3>\n<p>\u5bf9 OpenAI \u548c Claude \u7684 Admin API \u7528\u6237\uff0cCodexBar \u80fd\u62c9\u51fa\u8be6\u7ec6\u7684\u6210\u672c\u5206\u89e3\u56fe\u8868\u3002\u9700\u8981\u5728\u914d\u7f6e\u91cc\u586b\u5165 Admin API Key\u3002<\/p>\n<h2>\u6709\u4ec0\u4e48\u5751<\/h2>\n<h3>\u6743\u9650\u8bf7\u6c42<\/h3>\n<p>CodexBar \u4f1a\u8bf7\u6c42\u4ee5\u4e0b macOS \u6743\u9650\uff1a<\/p>\n<table>\n<tr>\n<th>\u6743\u9650<\/th>\n<th>\u7528\u9014<\/th>\n<th>\u662f\u5426\u5fc5\u9700<\/th>\n<\/tr>\n<tr>\n<td>Full Disk Access<\/td>\n<td>\u8bfb\u53d6\u6d4f\u89c8\u5668 cookies \/ \u672c\u5730\u5b58\u50a8<\/td>\n<td>\u53ef\u9009\uff08\u53ef\u7528 API Key \u4ee3\u66ff\uff09<\/td>\n<\/tr>\n<tr>\n<td>Keychain Access<\/td>\n<td>\u89e3\u5bc6 OAuth tokens\u3001\u6d4f\u89c8\u5668 cookies<\/td>\n<td>\u6309\u9700\u63d0\u793a<\/td>\n<\/tr>\n<tr>\n<td>Files &amp; Folders<\/td>\n<td>\u8bfb\u53d6\u63d0\u4f9b\u5546 CLI \u7684\u672c\u5730\u914d\u7f6e<\/td>\n<td>\u6309\u9700\u63d0\u793a<\/td>\n<\/tr>\n<\/table>\n<p><strong>\u4e0d\u8bf7\u6c42<\/strong>\u7684\u6743\u9650\uff1aScreen Recording\u3001Accessibility\u2014\u2014\u8fd9\u70b9\u503c\u5f97\u80af\u5b9a\uff0c\u8bf4\u660e\u4f5c\u8005\u5728\u610f\u9690\u79c1\u3002<\/p>\n<h3>\u67d0\u4e9b\u63d0\u4f9b\u5546\u9700\u8981\u6d4f\u89c8\u5668 Cookies<\/h3>\n<p>\u6bd4\u5982 Cursor \u548c Mistral\uff0cCodexBar \u662f\u901a\u8fc7\u8bfb\u53d6\u6d4f\u89c8\u5668 cookies \u6765\u83b7\u53d6\u7528\u91cf\u6570\u636e\u7684\u3002\u8fd9\u610f\u5473\u7740\uff1a<\/p>\n<ol>\n<li>\u4f60\u9700\u8981\u5728\u6d4f\u89c8\u5668\u91cc\u767b\u5f55\u8fd9\u4e9b\u670d\u52a1<\/li>\n<li>\u9700\u8981\u7ed9 CodexBar Full Disk Access \u6743\u9650\uff08\u8bfb\u53d6 cookie \u6587\u4ef6\uff09<\/li>\n<li>\u5982\u679c\u6d4f\u89c8\u5668\u5f00\u542f\u4e86\u79c1\u4eba\u6a21\u5f0f\u6216\u5f3a\u5316\u4e86 cookie \u4fdd\u62a4\uff0c\u53ef\u80fd\u8bfb\u4e0d\u5230<\/li>\n<\/ol>\n<p><strong>\u66ff\u4ee3\u65b9\u6848<\/strong>\uff1a\u90e8\u5206\u63d0\u4f9b\u5546\u652f\u6301\u624b\u52a8\u586b\u5165 API Key\uff0c\u53ef\u4ee5\u7ed5\u8fc7 cookie \u8bfb\u53d6\u3002<\/p>\n<h3>Claude OAuth \u7684 Keychain \u5f39\u7a97<\/h3>\n<p>Claude \u7684 OAuth \u4ee4\u724c\u5b58\u5728 macOS Keychain \u91cc\uff0cCodexBar \u7b2c\u4e00\u6b21\u8bfb\u53d6\u65f6\u4f1a\u89e6\u53d1 Keychain \u6743\u9650\u5f39\u7a97\uff0c\u9700\u8981\u5728 Keychain Access.app \u91cc\u8bbe\u7f6e&#8221;Always allow access&#8221;\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.tantan.ink\/wp-content\/uploads\/2026\/07\/codexbar-keychain.png\" alt=\"Keychain \u8bbf\u95ee\u63a7\u5236\u8bbe\u7f6e\" \/><\/p>\n<h3>\u90e8\u5206\u63d0\u4f9b\u5546\u7684\u6570\u636e\u53ef\u80fd\u4e0d\u51c6<\/h3>\n<p>CodexBar \u662f\u901a\u8fc7\u9006\u5411\u5de5\u7a0b\u7684\u624b\u6bb5\u83b7\u53d6\u67d0\u4e9b\u63d0\u4f9b\u5546\u7684\u7528\u91cf\u6570\u636e\u7684\uff08\u6bd4\u5982\u8bfb\u53d6 CLI \u7684\u672c\u5730\u72b6\u6001\u6587\u4ef6\u3001\u89e3\u6790\u7f51\u9875 API\uff09\u3002\u5982\u679c\u8fd9\u4e9b\u63d0\u4f9b\u5546\u6539\u4e86 API \u6216\u72b6\u6001\u6587\u4ef6\u683c\u5f0f\uff0cCodexBar \u7684\u5bf9\u5e94\u529f\u80fd\u53ef\u80fd\u4f1a\u6682\u65f6\u5931\u6548\u3002\u4f5c\u8005\u7ef4\u62a4\u5f88\u79ef\u6781\uff0c\u901a\u5e38\u51e0\u5929\u5185\u4fee\u590d\u3002<\/p>\n<h3>\u4ec5\u652f\u6301 macOS<\/h3>\n<p>Windows \u548c Linux \u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u793e\u533a\u79fb\u690d\u7248\u672c\u4f7f\u7528\uff1a<\/p>\n<ul>\n<li>Windows\uff1a<a href=\"https:\/\/github.com\/Finesssee\/Win-CodexBar\">Win-CodexBar<\/a><\/li>\n<li>Linux Waybar\uff1a<a href=\"https:\/\/github.com\/Marouan-chak\/codexbar-waybar\">codexbar-waybar<\/a><\/li>\n<li>GNOME Shell\uff1a<a href=\"https:\/\/extensions.gnome.org\/extension\/9841\/codexbar\/\">Codexbar GNOME<\/a><\/li>\n<\/ul>\n<p>\u4f46\u4f53\u9a8c\u6700\u597d\u7684\u8fd8\u662f\u539f\u751f macOS \u7248\u672c\u3002<\/p>\n<h2>\u9690\u79c1\u8bbe\u8ba1<\/h2>\n<p>CodexBar \u7684\u9690\u79c1\u8bbe\u8ba1\u503c\u5f97\u5355\u72ec\u8bf4\u4e00\u4e0b\uff1a<\/p>\n<ul>\n<li><strong>\u8bbe\u5907\u7aef\u89e3\u6790<\/strong>\uff1a\u6240\u6709\u6570\u636e\u90fd\u5728\u672c\u5730\u89e3\u6790\uff0c\u4e0d\u53d1\u7ed9\u7b2c\u4e09\u65b9\u670d\u52a1\u5668<\/li>\n<li><strong>\u4e0d\u5b58\u50a8\u5bc6\u7801<\/strong>\uff1aOAuth \u4ee4\u724c\u5b58\u5728\u7cfb\u7edf Keychain \u91cc\uff0ccookie \u4e34\u65f6\u8bfb\u53d6\u540e\u4e22\u5f03<\/li>\n<li><strong>\u4e0d\u722c\u6587\u4ef6\u7cfb\u7edf<\/strong>\uff1a\u53ea\u8bfb\u53d6\u5df2\u77e5\u4f4d\u7f6e\u7684\u914d\u7f6e\u6587\u4ef6\uff08\u5982 <code>~\/.codex\/<\/code>\u3001<code>~\/Library\/Application Support\/<\/code>\uff09<\/li>\n<li><strong>\u5f00\u6e90<\/strong>\uff1aMIT \u534f\u8bae\uff0c\u4ee3\u7801\u5b8c\u5168\u900f\u660e<\/li>\n<\/ul>\n<h2>\u603b\u7ed3<\/h2>\n<p>CodexBar \u89e3\u51b3\u4e86\u4e00\u4e2a\u5f88\u5177\u4f53\u7684\u95ee\u9898\uff1a<strong>AI \u7f16\u7a0b\u52a9\u624b\u7684\u989d\u5ea6\u7126\u8651<\/strong>\u3002<\/p>\n<p>\u5b83\u4e0d\u662f\u4e00\u4e2a\u98a0\u8986\u6027\u7684\u5de5\u5177\uff0c\u4f46\u662f\u4e00\u4e2a<strong>\u9ad8\u5ea6\u5b9e\u7528\u7684\u5c0f\u5de5\u5177<\/strong>\u2014\u2014\u88c5\u4e0a\u53bb\u4e4b\u540e\uff0c\u4f60\u4f1a\u5947\u602a\u4e3a\u4ec0\u4e48\u4e4b\u524d\u6ca1\u6709\u5b83\u3002\u5c24\u5176\u5f53\u4f60\u540c\u65f6\u7528\u591a\u4e2a AI \u7f16\u7a0b\u5de5\u5177\u65f6\uff0c\u7edf\u4e00\u7684\u7528\u91cf\u76d1\u63a7\u80fd\u5e2e\u4f60\u66f4\u5408\u7406\u5730\u5206\u914d\u6bcf\u5929\u7684&#8221;AI \u9884\u7b97&#8221;\u3002<\/p>\n<p>\u5bf9\u4e8e macOS \u7528\u6237\uff0cHomebrew \u4e00\u884c\u547d\u4ee4\u88c5\u597d\uff0c\u914d\u7f6e\u6700\u591a\u82b1 5 \u5206\u949f\uff0c\u4e4b\u540e\u5c31\u662f\u7eaf\u6536\u76ca\u3002<\/p>\n<ul>\n<li><strong>\u9879\u76ee\u5730\u5740<\/strong>\uff1a<a href=\"https:\/\/github.com\/steipete\/CodexBar\">https:\/\/github.com\/steipete\/CodexBar<\/a><\/li>\n<li><strong>License<\/strong>\uff1aMIT<\/li>\n<li><strong>\u5f53\u524d\u7248\u672c<\/strong>\uff1a0.41.0\uff082026 \u5e74 7 \u6708\uff09<\/li>\n<li><strong>\u661f\u6570<\/strong>\uff1a17,000+<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/www.tantan.ink\/wp-content\/uploads\/2026\/07\/codexbar-social.png\" alt=\"CodexBar \u793e\u4ea4\u5206\u4eab\u56fe\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u613f\u4f60\u7684 token \u6c38\u4e0d\u8017\u5c3d\u3002 \u5982\u679c\u4f60\u6bcf\u5929\u90fd\u5728\u7528 Cursor\u3001Claude Code\u3001GitHub Copi &#8230; <a title=\"CodexBar\uff1aAI \u7f16\u7a0b\u52a9\u624b\u989d\u5ea6\u76d1\u63a7\u653e\u83dc\u5355\u680f\" class=\"read-more\" href=\"https:\/\/www.tantan.ink\/index.php\/2026\/07\/08\/codexbar-%e4%b8%8a%e6%89%8b%ef%bc%9a%e6%8a%8a-40-%e4%b8%aa-ai-%e7%bc%96%e7%a8%8b%e5%8a%a9%e6%89%8b%e7%9a%84%e9%a2%9d%e5%ba%a6%e7%9b%91%e6%8e%a7%e6%90%ac%e8%bf%9b-macos-%e8%8f%9c%e5%8d%95%e6%a0%8f\/\" aria-label=\"\u9605\u8bfb CodexBar\uff1aAI \u7f16\u7a0b\u52a9\u624b\u989d\u5ea6\u76d1\u63a7\u653e\u83dc\u5355\u680f\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-257","post","type-post","status-publish","format-standard","hentry","category-ai"],"_links":{"self":[{"href":"https:\/\/www.tantan.ink\/index.php\/wp-json\/wp\/v2\/posts\/257","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tantan.ink\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tantan.ink\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tantan.ink\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tantan.ink\/index.php\/wp-json\/wp\/v2\/comments?post=257"}],"version-history":[{"count":1,"href":"https:\/\/www.tantan.ink\/index.php\/wp-json\/wp\/v2\/posts\/257\/revisions"}],"predecessor-version":[{"id":295,"href":"https:\/\/www.tantan.ink\/index.php\/wp-json\/wp\/v2\/posts\/257\/revisions\/295"}],"wp:attachment":[{"href":"https:\/\/www.tantan.ink\/index.php\/wp-json\/wp\/v2\/media?parent=257"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tantan.ink\/index.php\/wp-json\/wp\/v2\/categories?post=257"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tantan.ink\/index.php\/wp-json\/wp\/v2\/tags?post=257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}