Skip to content

Remove legacy CLI, switch to plugin-only mode#11

Merged
SamHatoum merged 14 commits intomainfrom
claude-plugin-cleanup
Mar 24, 2026
Merged

Remove legacy CLI, switch to plugin-only mode#11
SamHatoum merged 14 commits intomainfrom
claude-plugin-cleanup

Conversation

@iksinski
Copy link
Copy Markdown
Collaborator

No description provided.

iksinski added 14 commits March 24, 2026 14:27
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.
@SamHatoum SamHatoum merged commit e3ec975 into main Mar 24, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants