Compare commits
3 commits
a7285ab6b7
...
6f333e34f3
| Author | SHA1 | Date | |
|---|---|---|---|
| 6f333e34f3 | |||
| c72c019ee8 | |||
| 00f3a97e63 |
4 changed files with 84 additions and 2 deletions
30
.claude/local-marketplace/.claude-plugin/marketplace.json
Normal file
30
.claude/local-marketplace/.claude-plugin/marketplace.json
Normal 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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"name": "pylsp",
|
||||
"description": "Python Language Server (pylsp) for code intelligence",
|
||||
"author": {
|
||||
"name": "Local Configuration"
|
||||
}
|
||||
}
|
||||
25
.claude/local-marketplace/plugins/pylsp/README.md
Normal file
25
.claude/local-marketplace/plugins/pylsp/README.md
Normal 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
|
||||
```
|
||||
|
|
@ -11,33 +11,53 @@
|
|||
"Bash(claude plugin marketplace --help:*)",
|
||||
"Bash(claude plugin marketplace list)",
|
||||
"Bash(claude plugin validate --help:*)",
|
||||
"Bash(dot:*)",
|
||||
"Bash(dpkg -l:*)",
|
||||
"Bash(echo:*)",
|
||||
"Bash(env)",
|
||||
"Bash(git log:*)",
|
||||
"Bash(git ls-remote:*)",
|
||||
"Bash(git show-branch:*)",
|
||||
"Bash(grep:*)",
|
||||
"Bash(head:*)",
|
||||
"Bash(ls:*)",
|
||||
"Bash(pip index:*)",
|
||||
"Bash(pip show:*)",
|
||||
"Bash(pre-commit run:*)",
|
||||
"Bash(pylsp:*)",
|
||||
"Bash(tach:*)",
|
||||
"Bash(tlc:*)",
|
||||
"Bash(tree:*)",
|
||||
"Bash(uv run mypy:*)",
|
||||
"Bash(uv run tach:*)",
|
||||
"Bash(uv tool list:*)",
|
||||
"Bash(wc:*)",
|
||||
"Bash(xargs cat:*)",
|
||||
"WebFetch(domain:blogs.oracle.com)",
|
||||
"WebFetch(domain:btrfs.readthedocs.io)",
|
||||
"WebFetch(domain:datatracker.ietf.org)",
|
||||
"WebFetch(domain:dl.acm.org)",
|
||||
"WebFetch(domain:docs.astral.sh)",
|
||||
"WebFetch(domain:docs.cloud.google.com)",
|
||||
"WebFetch(domain:docs.gauge.sh)",
|
||||
"WebFetch(domain:docs.temporal.io)",
|
||||
"WebFetch(domain:fstar-lang.org)",
|
||||
"WebFetch(domain:fuse-devel.narkive.com)",
|
||||
"WebFetch(domain:libfuse.github.io)",
|
||||
"WebFetch(domain:lwn.net)",
|
||||
"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": {
|
||||
"gopls-lsp@claude-plugins-official": true
|
||||
},
|
||||
"skipDangerousModePermissionPrompt": true,
|
||||
"effortLevel": "high"
|
||||
"effortLevel": "high",
|
||||
"model": "opus[1m]"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue