Commit 87101f7
authored
feat(plugins): use CLAUDE_PLUGIN_DATA for persistent LSP server installation (#96)
* feat(plugins): use ${CLAUDE_PLUGIN_DATA} for persistent LSP server installation
Replace `bunx` invocations with persistent data directory pattern across
all 32 LSP plugins, eliminating bunx resolution overhead on every session.
- Group A (6 plugins): Direct system binary reference
gopls, rust-analyzer, deno, gleam, ocaml, sourcekit
- Group B (11 plugins): npm pre-install to ${CLAUDE_PLUGIN_DATA}
typescript, pyright, prisma, yaml, bash, dockerfile, php, svelte,
astro, vue, graphql
- Group C (2 plugins): Project-local wrapper scripts
biome, oxlint
- Group D (13 plugins): @pleaseai/code installed to ${CLAUDE_PLUGIN_DATA}
clangd, csharp, dart, elixir, eslint, fsharp, jdtls, kotlin, lua,
rubocop, terraform, texlab, zls
* chore: apply AI code review suggestions
- Pin all 0.x dependency versions in plugin package.json files to exact versions (e.g., ^0.1.13 -> 0.1.13) to prevent pulling in breaking changes
- Fix SessionStart hook commands in plugin.json files: add binary existence checks, fix install failure propagation, add mkdir -p for first-run setup
- Remove unused typescript-language-server dependency from vue-lsp package.json
* fix(plugins): remove unnecessary mkdir -p for CLAUDE_PLUGIN_DATA
The directory is created automatically by Claude Code when the variable
is first referenced, making mkdir -p redundant.1 parent 0243d71 commit 87101f7
File tree
58 files changed
+527
-64
lines changed- plugins
- astro-lsp
- .claude-plugin
- bash-lsp
- .claude-plugin
- biome-lsp
- .claude-plugin
- scripts
- clangd-lsp
- .claude-plugin
- csharp-lsp
- .claude-plugin
- dart-lsp
- .claude-plugin
- deno-lsp/.claude-plugin
- dockerfile-lsp
- .claude-plugin
- elixir-lsp
- .claude-plugin
- eslint-lsp
- .claude-plugin
- fsharp-lsp
- .claude-plugin
- gleam-lsp/.claude-plugin
- gopls-lsp/.claude-plugin
- graphql-lsp
- .claude-plugin
- jdtls-lsp
- .claude-plugin
- kotlin-lsp
- .claude-plugin
- lua-lsp
- .claude-plugin
- ocaml-lsp/.claude-plugin
- oxlint-lsp
- .claude-plugin
- scripts
- php-lsp
- .claude-plugin
- prisma-lsp
- .claude-plugin
- pyright-lsp
- .claude-plugin
- rubocop-lsp
- .claude-plugin
- rust-analyzer-lsp/.claude-plugin
- svelte-lsp
- .claude-plugin
- swift-lsp/.claude-plugin
- terraform-lsp
- .claude-plugin
- texlab-lsp
- .claude-plugin
- typescript-lsp
- .claude-plugin
- vue-lsp
- .claude-plugin
- yaml-lsp
- .claude-plugin
- zls-lsp
- .claude-plugin
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
58 files changed
+527
-64
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
9 | 21 | | |
10 | 22 | | |
11 | | - | |
12 | | - | |
| 23 | + | |
| 24 | + | |
13 | 25 | | |
14 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
15 | 32 | | |
16 | 33 | | |
17 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
9 | 21 | | |
10 | 22 | | |
11 | | - | |
12 | | - | |
| 23 | + | |
| 24 | + | |
13 | 25 | | |
14 | 26 | | |
15 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
9 | 21 | | |
10 | 22 | | |
11 | | - | |
12 | | - | |
| 23 | + | |
| 24 | + | |
13 | 25 | | |
14 | 26 | | |
15 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
9 | 21 | | |
10 | 22 | | |
11 | | - | |
12 | | - | |
| 23 | + | |
| 24 | + | |
13 | 25 | | |
14 | 26 | | |
15 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments