feat(sync-config-ai): AI config sync TUI command (spec 007)#12
Merged
Conversation
Introduces `dvmi sync-config-ai` — an interactive full-screen TUI for managing AI coding tool configurations (MCP servers, commands, skills, agents) across VS Code Copilot, Claude Code, OpenCode, Gemini CLI, and GitHub Copilot CLI from a single place. Key capabilities: - Filesystem scan on every launch detects installed AI tools (project + global paths, including ~/.config/opencode/ for globally installed OpenCode) - 5-tab TUI: Environments (read-only) + dedicated tab per category type (MCPs | Commands | Skills | Agents) — each tab shows only its entries - Inline forms with type-specific fields and a mini text editor for multi-line content; Environments multi-select filtered to compatible tools per compatibility matrix - Full CRUD: create, edit, deactivate/activate, delete with confirmation - Entries persist in ~/.config/dvmi/ai-config.json and are deployed to target environment config files on save - Chezmoi integration: auto-syncs AI config after mutations if configured; shows setup tip in footer otherwise - --json flag for non-interactive/CI use Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Coverage Report |
QA Report
|
Format all source and test files with Prettier (space-free destructuring, consistent import spacing). Add project-level Claude Code slash commands under .claude/commands/ for speckit workflow integration. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add .claude/ to .gitignore and remove tracked files — project-level Claude Code commands and memory are local-only artifacts. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace stale content (old repo references, incorrect versions) with the actual release history from v1.0.0 to v1.4.2, plus an [Unreleased] section documenting the sync-config-ai feature landing in v1.5.0. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Owner
Author
|
🎉 This PR is included in version 1.5.0 |
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.
Summary
dvmi sync-config-ai— a full-screen interactive TUI for managing AI coding tool configurations across VS Code Copilot, Claude Code, OpenCode, Gemini CLI, and GitHub Copilot CLI~/.config/opencode/(in addition to project-level paths)--jsonflag for non-interactive / CI useWhat's included
src/commands/sync-config-ai/index.jsai-config-store.js,ai-env-scanner.js,ai-env-deployer.jssrc/utils/tui/tab-tui.js,src/utils/tui/form.jssrc/formatters/ai-config.jsTest plan
pnpm lint— no errorspnpm test— 721 tests pass, 13 skipped (all 66 test files green)dvmi sync-config-ai --json— outputs valid JSON withenvironments+categoriesdvmi sync-config-ai --help— discoverable via manifest