feat(weave): add Claude Code plugin CLI with teleport and secret scanning #5869
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
Adds CLI commands and additional features for the Claude Code plugin:
weave claudeCLI commands - Entry point for hook handling, session import, enable/disable, and statusweave claude teleport) - Resume Claude sessions from a different machine by fetching session data from Weave, verifying git state, and restoring filesdetect-secretsThis is a follow-up to the core claude-plugin PR, extracting CLI-specific functionality that can be merged independently.
New Commands
weave claude hookweave claude importweave claude teleport <session_id>weave claude enable [--global]weave claude disable [--global]weave claude statusFiles Added
weave/cli.py- CLI entry point (405 lines)weave/__main__.py- Module entry point forpython -m weaveweave/integrations/claude_plugin/teleport.py- Session teleport (408 lines)weave/integrations/claude_plugin/secret_scanner.py- Secret detection (294 lines)Test plan
weave claude statusto verify CLI worksweave claude enable/weave claude disableto test config commands🤖 Generated with Claude Code