Remove legacy CLI, switch to plugin-only mode#11
Merged
Conversation
Remove the entire CLI system (install, doctor, repair, status, reminders, tui), settings merger, templates, symlink utilities, and all legacy-only modules. Claude Auto now requires plugin mode (CLAUDE_PLUGIN_ROOT/CLAUDE_PLUGIN_DATA). Removed: src/cli/, bin/, templates/, settings-merger, linker, gitignore-manager, state-manager, root-finder, config-loader, e2e tests, settings-template tests. Removed dependencies: commander, cosmiconfig, yaml. plea: all removed files are cohesive legacy system, must be removed together
Skills run config.js as a shell command where CLAUDE_PLUGIN_DATA may not be set. Only CLAUDE_PLUGIN_ROOT is required now.
Skills run as shell commands where CLAUDE_PLUGIN_ROOT env var is not set. The config script now derives the plugin root from its own __dirname. resolvePathsFromEnv accepts an optional explicit pluginRoot.
Rewrite installation.md, api-reference.md for plugin-only mode. Update getting-started, index, architecture, configuration, validators-guide, reminders-guide, hooks-guide to remove all npx CLI and symlink references. Delete npm-package-test.yml (tested legacy install) and install-local-spec.md. plea: all doc changes are cohesive, must ship together
Add marketplace.json for plugin registry. Sync plugin/marketplace versions in CI release workflow. Track dist/bundle/scripts/ in git (required for plugin mode). Rebuild bundles in pre-commit hook.
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.
No description provided.