Repository navigation
feat: 新增 Oh My Pi (omp) 更新支持 - #1
Merged
Merged
Conversation
- KNOWN_AGENTS 注册 omp(@oh-my-pi/pi-coding-agent):检测、版本解析(omp --version)、bun/native 更新路径 - README agent 表格补充 Oh My Pi 行 [EDIT-BY-AI]
- 上游 package.json 缺少 @types/node,fresh clone 下 npm run typecheck 报 46 个 node 模块类型错误(CI 含此步骤) - lockfile 中原有 @types/node 仅为 vitest/tsup 的 optional peer 引用,不会实际安装 [EDIT-BY-AI]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更内容
src/agents.ts:KNOWN_AGENTS新增omp(Oh My Pi,npm 包@oh-my-pi/pi-coding-agent)omp --version(输出omp/17.2.15,现有extractVersion可直接解析)bun add -g @oh-my-pi/pi-coding-agent,native 安装走omp update(oclif 自更新,支持--check/--force)detect.ts/update.tsREADME.md:agent 表格补充 Oh My Pi 行附带修复:typecheck
package.json补@types/nodedevDependency。上游 fresh clone 下npm run typecheck报 46 个 TS 错误(Cannot find module 'node:fs'等)——lockfile 中@types/node仅为 vitest/tsup 的 optional peer 引用,不会实际安装,而 CI 包含npm run typecheck步骤。独立提交(build:),可单独 revert。验证
auway list正确检出Oh My Pi 17.2.15 bun global ~/.bun/install/global/node_modules/@oh-my-pi/pi-coding-agent/dist/cli.jsnpm run typecheck通过;npm test31/31 通过;npm run build成功[EDIT-BY-AI]