Compare commits

..

3 commits

4 changed files with 84 additions and 2 deletions

View file

@ -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"
}
}
}
}
]
}

View file

@ -0,0 +1,7 @@
{
"name": "pylsp",
"description": "Python Language Server (pylsp) for code intelligence",
"author": {
"name": "Local Configuration"
}
}

View file

@ -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
```

View file

@ -11,33 +11,53 @@
"Bash(claude plugin marketplace --help:*)", "Bash(claude plugin marketplace --help:*)",
"Bash(claude plugin marketplace list)", "Bash(claude plugin marketplace list)",
"Bash(claude plugin validate --help:*)", "Bash(claude plugin validate --help:*)",
"Bash(dot:*)",
"Bash(dpkg -l:*)", "Bash(dpkg -l:*)",
"Bash(echo:*)", "Bash(echo:*)",
"Bash(env)", "Bash(env)",
"Bash(git log:*)", "Bash(git log:*)",
"Bash(git ls-remote:*)",
"Bash(git show-branch:*)",
"Bash(grep:*)", "Bash(grep:*)",
"Bash(head:*)", "Bash(head:*)",
"Bash(ls:*)", "Bash(ls:*)",
"Bash(pip index:*)",
"Bash(pip show:*)",
"Bash(pre-commit run:*)",
"Bash(pylsp:*)", "Bash(pylsp:*)",
"Bash(tach:*)",
"Bash(tlc:*)",
"Bash(tree:*)", "Bash(tree:*)",
"Bash(uv run mypy:*)", "Bash(uv run mypy:*)",
"Bash(uv run tach:*)", "Bash(uv run tach:*)",
"Bash(uv tool list:*)", "Bash(uv tool list:*)",
"Bash(wc:*)", "Bash(wc:*)",
"Bash(xargs cat:*)", "Bash(xargs cat:*)",
"WebFetch(domain:blogs.oracle.com)",
"WebFetch(domain:btrfs.readthedocs.io)",
"WebFetch(domain:datatracker.ietf.org)", "WebFetch(domain:datatracker.ietf.org)",
"WebFetch(domain:dl.acm.org)",
"WebFetch(domain:docs.astral.sh)",
"WebFetch(domain:docs.cloud.google.com)", "WebFetch(domain:docs.cloud.google.com)",
"WebFetch(domain:docs.gauge.sh)", "WebFetch(domain:docs.gauge.sh)",
"WebFetch(domain:docs.temporal.io)", "WebFetch(domain:docs.temporal.io)",
"WebFetch(domain:fstar-lang.org)",
"WebFetch(domain:fuse-devel.narkive.com)",
"WebFetch(domain:libfuse.github.io)", "WebFetch(domain:libfuse.github.io)",
"WebFetch(domain:lwn.net)", "WebFetch(domain:lwn.net)",
"WebFetch(domain:man7.org)", "WebFetch(domain:man7.org)",
"WebFetch(domain:www.phoronix.com)" "WebFetch(domain:patchwork.kernel.org)",
"WebFetch(domain:www.kernel.org)",
"WebFetch(domain:www.mail-archive.com)",
"WebFetch(domain:www.man7.org)",
"WebFetch(domain:www.phoronix.com)",
"WebFetch(domain:www.rfc-editor.org)"
] ]
}, },
"enabledPlugins": { "enabledPlugins": {
"gopls-lsp@claude-plugins-official": true "gopls-lsp@claude-plugins-official": true
}, },
"skipDangerousModePermissionPrompt": true, "skipDangerousModePermissionPrompt": true,
"effortLevel": "high" "effortLevel": "high",
"model": "opus[1m]"
} }