diff --git a/.claude/local-marketplace/.claude-plugin/marketplace.json b/.claude/local-marketplace/.claude-plugin/marketplace.json new file mode 100644 index 0000000..b1ae394 --- /dev/null +++ b/.claude/local-marketplace/.claude-plugin/marketplace.json @@ -0,0 +1,30 @@ +{ + "$schema": "https://anthropic.com/claude-code/marketplace.schema.json", + "name": "local-plugins", + "description": "Local plugin configurations", + "owner": { + "name": "Local" + }, + "plugins": [ + { + "name": "pylsp", + "description": "Python Language Server (pylsp) for code intelligence", + "version": "1.0.0", + "author": { + "name": "Local Configuration" + }, + "source": "./plugins/pylsp", + "category": "development", + "lspServers": { + "pylsp": { + "command": "/home/agent/.local/bin/pylsp", + "args": ["--check-parent-process"], + "extensionToLanguage": { + ".py": "python", + ".pyi": "python" + } + } + } + } + ] +} diff --git a/.claude/local-marketplace/plugins/pylsp/.claude-plugin/plugin.json b/.claude/local-marketplace/plugins/pylsp/.claude-plugin/plugin.json new file mode 100644 index 0000000..8ab8028 --- /dev/null +++ b/.claude/local-marketplace/plugins/pylsp/.claude-plugin/plugin.json @@ -0,0 +1,7 @@ +{ + "name": "pylsp", + "description": "Python Language Server (pylsp) for code intelligence", + "author": { + "name": "Local Configuration" + } +} diff --git a/.claude/local-marketplace/plugins/pylsp/README.md b/.claude/local-marketplace/plugins/pylsp/README.md new file mode 100644 index 0000000..79620b8 --- /dev/null +++ b/.claude/local-marketplace/plugins/pylsp/README.md @@ -0,0 +1,25 @@ +# pylsp Plugin for Claude Code + +This plugin configures the Python Language Server (pylsp) for Claude Code. + +## Features + +- Go-to-definition +- Find references +- Hover information +- Code completion +- Diagnostics + +## Configuration + +The LSP server is configured to use `/home/agent/.local/bin/pylsp` with `--check-parent-process` to ensure proper shutdown. + +## Installing Additional pylsp Plugins + +You can enhance pylsp with additional plugins: + +```bash +pip install pylsp-mypy # Type checking +pip install python-lsp-black # Black formatting +pip install python-lsp-ruff # Ruff linting +```