cli-lsp-client 1.4.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -7
- package/cli-lsp-client +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -53,7 +53,7 @@ Configure Claude Code to use the built-in hook command:
|
|
|
53
53
|
"hooks": [
|
|
54
54
|
{
|
|
55
55
|
"type": "command",
|
|
56
|
-
"command": "npx -y cli-lsp-client
|
|
56
|
+
"command": "npx -y cli-lsp-client start"
|
|
57
57
|
}
|
|
58
58
|
]
|
|
59
59
|
}
|
|
@@ -75,7 +75,7 @@ Configure Claude Code to use the built-in hook command:
|
|
|
75
75
|
|
|
76
76
|
#### How It Works
|
|
77
77
|
|
|
78
|
-
- **SessionStart**: Automatically
|
|
78
|
+
- **SessionStart**: Automatically starts LSP servers when Claude Code starts for faster initial diagnostics
|
|
79
79
|
- **PostToolUse**: Runs diagnostics after each file edit (Edit, MultiEdit, Write tools)
|
|
80
80
|
- Built-in file filtering for all supported languages (11 file types)
|
|
81
81
|
- Shows errors, warnings, and hints inline
|
|
@@ -139,7 +139,7 @@ export function runCommand(command: string, commandArgs: string[]): Promise<void
|
|
|
139
139
|
### Daemon Management
|
|
140
140
|
|
|
141
141
|
```bash
|
|
142
|
-
# Check daemon status and
|
|
142
|
+
# Check daemon status with uptime and running language servers
|
|
143
143
|
npx cli-lsp-client status
|
|
144
144
|
|
|
145
145
|
# List all running daemons across directories
|
|
@@ -158,6 +158,22 @@ npx cli-lsp-client --version
|
|
|
158
158
|
npx cli-lsp-client help
|
|
159
159
|
```
|
|
160
160
|
|
|
161
|
+
The `status` command shows the current daemon's uptime and running language servers:
|
|
162
|
+
|
|
163
|
+
```bash
|
|
164
|
+
$ npx cli-lsp-client status
|
|
165
|
+
LSP Daemon Status
|
|
166
|
+
================
|
|
167
|
+
PID: 33502
|
|
168
|
+
Uptime: 1m 38s
|
|
169
|
+
|
|
170
|
+
Language Servers:
|
|
171
|
+
- typescript (.) - running 1m 33s
|
|
172
|
+
- pyright (.) - running 1m 10s
|
|
173
|
+
|
|
174
|
+
Total: 2 language servers running
|
|
175
|
+
```
|
|
176
|
+
|
|
161
177
|
The `list` command shows all running daemon instances with their working directories, PIDs, and status:
|
|
162
178
|
|
|
163
179
|
```bash
|
|
@@ -224,11 +240,11 @@ For detailed setup instructions, see the [official Eclipse JDT.LS documentation]
|
|
|
224
240
|
### Additional Commands
|
|
225
241
|
|
|
226
242
|
```bash
|
|
227
|
-
#
|
|
228
|
-
npx cli-lsp-client
|
|
243
|
+
# Start LSP servers for current directory (faster subsequent requests)
|
|
244
|
+
npx cli-lsp-client start
|
|
229
245
|
|
|
230
|
-
#
|
|
231
|
-
npx cli-lsp-client
|
|
246
|
+
# Start servers for specific directory
|
|
247
|
+
npx cli-lsp-client start /path/to/project
|
|
232
248
|
|
|
233
249
|
# View daemon logs
|
|
234
250
|
npx cli-lsp-client logs
|
package/cli-lsp-client
CHANGED
|
Binary file
|