// 项目详情
让 CLI 命令提速约 20 倍并让包体积减半:拆分服务端构建,移除 gpt-tokenizer
抱歉 @looptroop-ai,你已经用完了过去 7 天的 250,000 个 diff 字符的评审额度。 你可以在 23 小时 40 分钟后通过评论 `@sourcery-ai review` 再次请求评审。[升级套餐](https://app.sourcery.ai/login?connection=github&git_namespace_id=257343580&from_surface=gi... <!-- codex-pull-request-review-summary --> ## Codex 评审摘要 此评论显示该 PR 上最新的 Codex 评审活动。 | 评审 | 状态 | 提交 | 触发方式 | | --- | --- | --- | --- | | 📝 **代码评审** | ✅ **已完成** <relative-time datetime="2026-10-13T09:34:40.9... <h2><picture><source media="(prefers-color-scheme: dark)" srcset="https://static.deepsource.com/comment_artifacts/dark/grade_a.svg"/><source media="(prefers-color-scheme: light)" srcset="https://static.deepsource.com/comment_artifacts/light/grade_a.svg"/><img src="https://static.deepsource.com/comme...
Make CLI commands ~20x faster and halve the package: split the server build, drop gpt-tokenizer ## What and why `npm run build` passed, but two things in its output were worth fixing: 1. **A 2 MB `vendor-tokenizer` chunk in the web interface.** It came from `gpt-tokenizer`, which also sat in `dependencies`: 27 MB and 1,537 files on every install, almost a second of load time for every CLI co Sorry @looptroop-ai, you've used your own review budget of 250,000 diff characters for the last 7 days. You can request another review in 23 hours and 40 minutes by commenting `@sourcery-ai review`. [Upgrade](https://app.sourcery.ai/login?connection=github&git_namespace_id=257343580&from_surface=gi... ## Codex Review Summary This comment shows the latest Codex review activity on this pull request. | Review | Status | Commit | Review trigger | | --- | --- | --- | --- | | 📝 **Code Review** | ✅ **Completed** <img src="https://static.deepsource.com/comme...
- 星标
- 0
- 复刻
- 0
- 未解决问题
- 0
- 语言
- Unknown