食用方法
node claude-bun-1h-patch.js
node claude-bun-1h-patch.js status
node claude-bun-1h-patch.js restore
node claude-bun-1h-patch.js
╔═══════════════════════════════════════════╗
║ Claude Native Binary — Cache Patch ║
║ Cache: 5m → 1h ║
╚═══════════════════════════════════════════╝
✔ Binary: /Users/abu/.local/share/claude/versions/2.1.87
ℹ 文件大小:187.5 MB
ℹ 当前状态:✘ unknown
ℹ 备份已存在:/Users/abu/.local/share/claude/versions/2.1.87.cache-patch-bak
ℹ 开始执行 patch...
✘ 未找到目标 pattern,可能版本不符
➜ .claude curl -fsSL https://claude.ai/install.sh | bash
Setting up Claude Code...
✔ Claude Code successfully installed!
Version: 2.1.91
Location: ~/.local/bin/claude
Next: Run claude --help to get started
✅ Installation complete!
➜ .claude node claude-bun-1h-patch.js
╔═══════════════════════════════════════════╗
║ Claude Native Binary — Cache Patch ║
║ Cache: 5m → 1h ║
╚═══════════════════════════════════════════╝
✔ Binary: /Users/abu/.local/share/claude/versions/2.1.91
ℹ 文件大小:188.9 MB
ℹ 当前状态:⚬ 未 patch
✔ 备份已创建:/Users/abu/.local/share/claude/versions/2.1.91.cache-patch-bak
ℹ 开始执行 patch...
✔ 找到 2 处匹配 (偏移: 81475368, 190141136)
✔ 已重新签名
┌─────────────────────────────────────────────┐
│ ✔ Cache Patch 已成功套用! │
└─────────────────────────────────────────────┘
ℹ 重启 Claude Code 后生效
ℹ 还原命令:node /Users/abu/.claude/claude-bun-1h-patch.js restore
➜ .claude
效果图 (Max 5x CPA接入到new api)
补丁前
![图片[1]-Claude Code CLI Native (bun) 1h 缓存补丁-MacFun is an interesting website.](https://www.macfun.org/wp-content/uploads/2026/04/image-35-1024x211.png)
补丁後
![图片[2]-Claude Code CLI Native (bun) 1h 缓存补丁-MacFun is an interesting website.](https://www.macfun.org/wp-content/uploads/2026/04/image-36-1024x224.png)
现在5h限额比以前耐用了 ![]()
claude-bun-1h-patch.js
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END







暂无评论内容