mirror of
https://github.com/upstash/context7.git
synced 2026-09-14 19:09:34 +08:00
4663c15552
* feat(cli): adopt .agents/skills as universal install target Install to .agents/skills/ by default as the shared standard directory. Universal agents (Amp, Codex, OpenCode, Gemini CLI, GitHub Copilot) all read from this path natively. Vendor-specific agents (Claude Code, Cursor, Antigravity) get symlinks pointing back to .agents/skills/. - Add "universal" as a first-class IDE type across all path maps - Auto-detect .agents/ and vendor dirs: detected → confirm, nothing detected → checkbox picker with Universal pre-checked - Update list/remove commands to check universal + vendor-specific dirs - Update DEFAULT_CONFIG.defaultIde from "claude" to "universal" - Show labeled install summary (Universal, Claude Code, etc.) with paths * feat(cli): consolidate agent flags into single --universal option Replace --codex, --opencode, and --amp flags with a single --universal flag that points to .agents/skills/. This simplifies the CLI interface since these agents all share the same installation path. * refactor(cli): simplify IDE types and remove UNIVERSAL_AGENTS Set - Simplify IDE type from 7 types to 4 (remove codex, opencode, amp) - Remove UNIVERSAL_AGENTS Set and replace with direct equality checks - Update documentation to add --universal flag examples throughout - Consolidate Supported Clients table to show single Universal row All universal agents (Amp, Codex, Gemini CLI, GitHub Copilot, OpenCode, etc.) are now represented by the single "universal" type since they're functionally identical and use the same .agents/skills/ directory. * docs(skills): update CLI flags to use --universal - Replace --codex, --opencode, --amp flags with single --universal flag - Update all command examples (install, list, remove, suggest, generate) - Consolidate Supported Clients table with Universal at top - Reorder tables to prioritize Universal agents