mirror of
https://github.com/boshu2/agentops.git
synced 2026-09-14 15:08:13 +08:00
feat(cli): ao skills link fans out to every installed runtime, not just Claude (age-d686g)
Bo found the gap: the command only linked ~/.claude/skills, but Codex reads ~/.codex/skills and AGY/Gemini reads ~/.gemini/skills — so Codex and AGY users got nothing. Default now links into every runtime whose config dir exists under $HOME (~/.claude, ~/.codex, ~/.gemini, ~/.cursor), matching link-skill --all; --dest still overrides to a single dir. Falls back to ~/.claude/skills when no runtime is detected. resolveTargetDests + 3 subtests (explicit/fan-out/fallback, HOME-isolated); help guard extended to assert the Codex/AGY dirs are documented. README + --help repositioned to the live-symlink-from-a-clone distinction across runtimes (supersedes the reframe-only age-ivcba). E2E: --dry-run fans out to all 4 installed runtime dirs. Non-destructive unchanged: a foreign real dir is a conflict, never clobbered.
This commit is contained in:
@@ -4264,7 +4264,7 @@ ao skills link [flags]
|
||||
**Flags:**
|
||||
|
||||
```
|
||||
--dest string Destination skills dir (default ~/.claude/skills)
|
||||
--dest string Link into this single dir instead of the auto-detected runtimes (default: every installed runtime — ~/.claude, ~/.codex, ~/.gemini, ~/.cursor)
|
||||
-h, --help help for link
|
||||
--json Emit machine-readable JSON
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user