599 - 《Neovate Code 开发笔记 02:如何快速实现 Claude Code 新功能》

发布于 2025年10月11日

思路是:给关键词,让 Claude Code 用搜索的方法分析 Claude Code 实现,再用 Claude Code 实现。

1、先下载 @anthropic-ai/claude-code 最新版并用 prettier 格式化 cli.js 文件。

我写了个 script 帮我干这活,每次执行下 pnpm fetch_latest 就好。

pnpm fetch_latest
$ node scripts/fetch_latest.js
Fetching latest version of @anthropic-ai/claude-code...
Target version: 2.0.14
Creating directory: versions/2.0.14
Downloading @anthropic-ai/claude-code@2.0.14...
Extracting to versions/2.0.14...
 Successfully downloaded @anthropic-ai/claude-code v2.0.14 to versions/2.0.14
Running prettier on cli.js...
 Successfully formatted cli.js with

内容预览已结束

此内容需要会员权限。请先登录以查看完整内容。