feat(core): finalize .agents install and global lifecycle#3
Merged
Conversation
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.
背景
此前全局安装链路在仓库内部测试是自洽的,但和真实工具的全局 Skills 消费目录存在偏差:
codex全局同步写到了~/.agents/skills/,而官方 Codex 实际消费的是~/.codex/skills/gemini全局同步只写到了~/.gemini/antigravity/skills/,没有覆盖gemini-cli实际使用的~/.gemini/skills/update-all对旧索引中的targets.full仍不兼容,老用户可能在批量升级时报不支持的目标: full这次修复把 CLI 实现、测试、CI、文档统一校正到真实工具行为。
核心改动
.agents/,并补齐全局sync/statuscodex->~/.codex/skills/gemini->~/.gemini/skills/+~/.gemini/antigravity/skills/ag-kit global sync --target gemini内部同步到 gemini-cli 与 antigravity 两个消费端目录update-all对旧索引targets.full的兼容与归一化status/global status --quiet输出三态installed/broken/missing验证
bun run testbun run ci:verifybun run health-checkcd web && bun run lint