Add deprecated install/sync commands for backwards compatibility#227
Merged
Add deprecated install/sync commands for backwards compatibility#227
Conversation
DeepWork is now distributed as a Claude Code plugin rather than a standalone CLI tool. These hidden back-compat commands auto-install the plugin config into .claude/settings.json and display uninstall instructions for brew/uv. Both commands are scheduled for removal after June 1st, 2026. https://claude.ai/code/session_01WGRUea9sYZkwvxi4cta5gu
Adds REQ-005.4 to the CLI commands spec documenting the deprecated install and sync commands, with a scheduled removal note for June 1st 2026. Includes 13 unit tests covering deprecation message output, hidden-from-help behavior, plugin config creation, settings merge, and invalid JSON handling. https://claude.ai/code/session_01WGRUea9sYZkwvxi4cta5gu
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
Add deprecated
installandsyncCLI commands that guide users to migrate from the standalone DeepWork CLI to the Claude Code plugin distribution model. These commands are hidden from help output and will be removed after June 1st, 2026.Key Changes
New module
src/deepwork/cli/install.py: Contains deprecatedinstallandsynccommands that:.claude/settings.jsonUpdated
src/deepwork/cli/main.py: Register the new deprecated commands with the CLI groupImplementation Details
_install_plugin_config()function safely merges plugin configuration into existing Claude settings without overwriting other configdeepworkandlearning-agentsplugins from thedeepwork-pluginsmarketplace (sourced from the Unsupervisedcom/deepwork GitHub repo)_run_install_deprecation()to ensure consistent behaviorhttps://claude.ai/code/session_01WGRUea9sYZkwvxi4cta5gu