@litfamily/litgrok 1.0.32 → 1.0.34
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/.grok/agents/litgrok-executor.md +1 -1
- package/.grok/agents/litgrok-korean-prose-editor.md +1 -1
- package/.grok/agents/litgrok-korean-style-analyzer.md +1 -1
- package/.grok/agents/litgrok-librarian-researcher.md +1 -1
- package/.grok/agents/litgrok-meaning-preservation-auditor.md +1 -1
- package/.grok/agents/litgrok-native-flow-reviewer.md +1 -1
- package/.grok/agents/litgrok-planner.md +1 -1
- package/.grok/agents/litgrok-polish-orchestrator.md +1 -1
- package/.grok/agents/litgrok-qa-runner.md +1 -1
- package/.grok/agents/litgrok-quality-reviewer.md +1 -1
- package/.grok/agents/litgrok-verifier.md +1 -1
- package/.grok/rules/00-litgrok.md +2 -2
- package/.grok/skills/lit-adhd/SKILL.md +36 -12
- package/.grok/skills/lit-adhd/references/card-examples.md +106 -3
- package/.grok/skills/lit-adhd/references/status-taxonomy.md +20 -1
- package/.grok/skills/lit-adhd/scripts/lib/board.mjs +333 -0
- package/.grok/skills/lit-adhd/scripts/lib/collect.mjs +76 -8
- package/.grok/skills/litgrok/SKILL.md +1 -1
- package/.grok/skills/lsp/SKILL.md +2 -2
- package/.grok/skills/lsp/references/built-in-lsp-contract.md +7 -7
- package/.grok/skills/lsp-setup/SKILL.md +2 -2
- package/.grok/skills/lsp-setup/references/bash/README.md +17 -6
- package/.grok/skills/lsp-setup/references/c-cpp/README.md +17 -6
- package/.grok/skills/lsp-setup/references/csharp/README.md +17 -6
- package/.grok/skills/lsp-setup/references/dart/README.md +17 -6
- package/.grok/skills/lsp-setup/references/elixir/README.md +17 -6
- package/.grok/skills/lsp-setup/references/go/README.md +17 -6
- package/.grok/skills/lsp-setup/references/haskell/README.md +17 -6
- package/.grok/skills/lsp-setup/references/java/README.md +17 -6
- package/.grok/skills/lsp-setup/references/julia/README.md +17 -6
- package/.grok/skills/lsp-setup/references/kotlin/README.md +17 -6
- package/.grok/skills/lsp-setup/references/lua/README.md +17 -6
- package/.grok/skills/lsp-setup/references/php/README.md +17 -6
- package/.grok/skills/lsp-setup/references/python/README.md +25 -14
- package/.grok/skills/lsp-setup/references/ruby/README.md +17 -6
- package/.grok/skills/lsp-setup/references/rust/README.md +17 -6
- package/.grok/skills/lsp-setup/references/swift/README.md +17 -6
- package/.grok/skills/lsp-setup/references/terraform/README.md +17 -6
- package/.grok/skills/lsp-setup/references/typescript/README.md +35 -24
- package/.grok/skills/lsp-setup/references/yaml/README.md +17 -6
- package/.grok/skills/lsp-setup/references/zig/README.md +17 -6
- package/.grok-plugin/plugin.json +1 -1
- package/CHANGELOG.md +9 -0
- package/README.md +9 -9
- package/README_ko-KR.md +8 -8
- package/bin/litgrok.mjs +21 -0
- package/docs/assets/readme/badge-version.svg +1 -1
- package/docs/reference.md +2 -2
- package/docs/reference_ko-KR.md +2 -2
- package/package.json +1 -1
- package/plugin.json +1 -1
|
@@ -25,12 +25,23 @@ command -v shellcheck
|
|
|
25
25
|
|
|
26
26
|
## Server settings
|
|
27
27
|
|
|
28
|
-
Grok
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
28
|
+
Grok reads language servers from project `.grok/lsp.json` and from `~/.grok/lsp.json`. The project file wins when both name the same server. A trusted plugin may add a server; LitGrok does not ship one. The built-in tool stays off until `GROK_LSP_TOOLS=1` or user `[features] lsp_tools` (see the `lsp` skill).
|
|
29
|
+
|
|
30
|
+
On Grok 1.0.13, `grok inspect --json` listed a server only for a string `command`, a string array `args`, and `extensionToLanguage`. This is the entry that loaded. Use this page's binary as `command` and put flags such as `--stdio` in `args`.
|
|
31
|
+
|
|
32
|
+
```json
|
|
33
|
+
{
|
|
34
|
+
"typescript": {
|
|
35
|
+
"command": "typescript-language-server",
|
|
36
|
+
"args": ["--stdio"],
|
|
37
|
+
"extensionToLanguage": { ".ts": "typescript" }
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
The same inspect dropped a `command` that was itself an array, and it dropped a file whose only key was `lspServers`. Do not put the entry in `.grok/config.toml`.
|
|
43
|
+
|
|
44
|
+
Grok's documentation names the two `lsp.json` paths and does not name these fields. Only that one shape was probed, for one TypeScript server. Other fields, a `command` with no `args`, and the plugin file format were not probed. Installing the binary on PATH is still required, and LitGrok still does not write `lsp.json`.
|
|
34
45
|
|
|
35
46
|
## Alternatives
|
|
36
47
|
|
|
@@ -20,12 +20,23 @@ command -v clangd
|
|
|
20
20
|
|
|
21
21
|
## Server settings
|
|
22
22
|
|
|
23
|
-
Grok
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
Grok reads language servers from project `.grok/lsp.json` and from `~/.grok/lsp.json`. The project file wins when both name the same server. A trusted plugin may add a server; LitGrok does not ship one. The built-in tool stays off until `GROK_LSP_TOOLS=1` or user `[features] lsp_tools` (see the `lsp` skill).
|
|
24
|
+
|
|
25
|
+
On Grok 1.0.13, `grok inspect --json` listed a server only for a string `command`, a string array `args`, and `extensionToLanguage`. This is the entry that loaded. Use this page's binary as `command` and put flags such as `--stdio` in `args`.
|
|
26
|
+
|
|
27
|
+
```json
|
|
28
|
+
{
|
|
29
|
+
"typescript": {
|
|
30
|
+
"command": "typescript-language-server",
|
|
31
|
+
"args": ["--stdio"],
|
|
32
|
+
"extensionToLanguage": { ".ts": "typescript" }
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
The same inspect dropped a `command` that was itself an array, and it dropped a file whose only key was `lspServers`. Do not put the entry in `.grok/config.toml`.
|
|
38
|
+
|
|
39
|
+
Grok's documentation names the two `lsp.json` paths and does not name these fields. Only that one shape was probed, for one TypeScript server. Other fields, a `command` with no `args`, and the plugin file format were not probed. Installing the binary on PATH is still required, and LitGrok still does not write `lsp.json`.
|
|
29
40
|
|
|
30
41
|
## Compile commands
|
|
31
42
|
|
|
@@ -22,12 +22,23 @@ command -v csharp-ls
|
|
|
22
22
|
|
|
23
23
|
## Server settings
|
|
24
24
|
|
|
25
|
-
Grok
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
Grok reads language servers from project `.grok/lsp.json` and from `~/.grok/lsp.json`. The project file wins when both name the same server. A trusted plugin may add a server; LitGrok does not ship one. The built-in tool stays off until `GROK_LSP_TOOLS=1` or user `[features] lsp_tools` (see the `lsp` skill).
|
|
26
|
+
|
|
27
|
+
On Grok 1.0.13, `grok inspect --json` listed a server only for a string `command`, a string array `args`, and `extensionToLanguage`. This is the entry that loaded. Use this page's binary as `command` and put flags such as `--stdio` in `args`.
|
|
28
|
+
|
|
29
|
+
```json
|
|
30
|
+
{
|
|
31
|
+
"typescript": {
|
|
32
|
+
"command": "typescript-language-server",
|
|
33
|
+
"args": ["--stdio"],
|
|
34
|
+
"extensionToLanguage": { ".ts": "typescript" }
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
The same inspect dropped a `command` that was itself an array, and it dropped a file whose only key was `lspServers`. Do not put the entry in `.grok/config.toml`.
|
|
40
|
+
|
|
41
|
+
Grok's documentation names the two `lsp.json` paths and does not name these fields. Only that one shape was probed, for one TypeScript server. Other fields, a `command` with no `args`, and the plugin file format were not probed. Installing the binary on PATH is still required, and LitGrok still does not write `lsp.json`.
|
|
31
42
|
|
|
32
43
|
## Razor / Blazor
|
|
33
44
|
|
|
@@ -20,12 +20,23 @@ command -v dart
|
|
|
20
20
|
|
|
21
21
|
## Server settings
|
|
22
22
|
|
|
23
|
-
Grok
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
Grok reads language servers from project `.grok/lsp.json` and from `~/.grok/lsp.json`. The project file wins when both name the same server. A trusted plugin may add a server; LitGrok does not ship one. The built-in tool stays off until `GROK_LSP_TOOLS=1` or user `[features] lsp_tools` (see the `lsp` skill).
|
|
24
|
+
|
|
25
|
+
On Grok 1.0.13, `grok inspect --json` listed a server only for a string `command`, a string array `args`, and `extensionToLanguage`. This is the entry that loaded. Use this page's binary as `command` and put flags such as `--stdio` in `args`.
|
|
26
|
+
|
|
27
|
+
```json
|
|
28
|
+
{
|
|
29
|
+
"typescript": {
|
|
30
|
+
"command": "typescript-language-server",
|
|
31
|
+
"args": ["--stdio"],
|
|
32
|
+
"extensionToLanguage": { ".ts": "typescript" }
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
The same inspect dropped a `command` that was itself an array, and it dropped a file whose only key was `lspServers`. Do not put the entry in `.grok/config.toml`.
|
|
38
|
+
|
|
39
|
+
Grok's documentation names the two `lsp.json` paths and does not name these fields. Only that one shape was probed, for one TypeScript server. Other fields, a `command` with no `args`, and the plugin file format were not probed. Installing the binary on PATH is still required, and LitGrok still does not write `lsp.json`.
|
|
29
40
|
|
|
30
41
|
## Alternatives
|
|
31
42
|
|
|
@@ -21,12 +21,23 @@ command -v elixir-ls
|
|
|
21
21
|
|
|
22
22
|
## Server settings
|
|
23
23
|
|
|
24
|
-
Grok
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
24
|
+
Grok reads language servers from project `.grok/lsp.json` and from `~/.grok/lsp.json`. The project file wins when both name the same server. A trusted plugin may add a server; LitGrok does not ship one. The built-in tool stays off until `GROK_LSP_TOOLS=1` or user `[features] lsp_tools` (see the `lsp` skill).
|
|
25
|
+
|
|
26
|
+
On Grok 1.0.13, `grok inspect --json` listed a server only for a string `command`, a string array `args`, and `extensionToLanguage`. This is the entry that loaded. Use this page's binary as `command` and put flags such as `--stdio` in `args`.
|
|
27
|
+
|
|
28
|
+
```json
|
|
29
|
+
{
|
|
30
|
+
"typescript": {
|
|
31
|
+
"command": "typescript-language-server",
|
|
32
|
+
"args": ["--stdio"],
|
|
33
|
+
"extensionToLanguage": { ".ts": "typescript" }
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
The same inspect dropped a `command` that was itself an array, and it dropped a file whose only key was `lspServers`. Do not put the entry in `.grok/config.toml`.
|
|
39
|
+
|
|
40
|
+
Grok's documentation names the two `lsp.json` paths and does not name these fields. Only that one shape was probed, for one TypeScript server. Other fields, a `command` with no `args`, and the plugin file format were not probed. Installing the binary on PATH is still required, and LitGrok still does not write `lsp.json`.
|
|
30
41
|
|
|
31
42
|
## Alternatives
|
|
32
43
|
|
|
@@ -25,12 +25,23 @@ command -v gopls
|
|
|
25
25
|
|
|
26
26
|
## Server settings
|
|
27
27
|
|
|
28
|
-
Grok
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
28
|
+
Grok reads language servers from project `.grok/lsp.json` and from `~/.grok/lsp.json`. The project file wins when both name the same server. A trusted plugin may add a server; LitGrok does not ship one. The built-in tool stays off until `GROK_LSP_TOOLS=1` or user `[features] lsp_tools` (see the `lsp` skill).
|
|
29
|
+
|
|
30
|
+
On Grok 1.0.13, `grok inspect --json` listed a server only for a string `command`, a string array `args`, and `extensionToLanguage`. This is the entry that loaded. Use this page's binary as `command` and put flags such as `--stdio` in `args`.
|
|
31
|
+
|
|
32
|
+
```json
|
|
33
|
+
{
|
|
34
|
+
"typescript": {
|
|
35
|
+
"command": "typescript-language-server",
|
|
36
|
+
"args": ["--stdio"],
|
|
37
|
+
"extensionToLanguage": { ".ts": "typescript" }
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
The same inspect dropped a `command` that was itself an array, and it dropped a file whose only key was `lspServers`. Do not put the entry in `.grok/config.toml`.
|
|
43
|
+
|
|
44
|
+
Grok's documentation names the two `lsp.json` paths and does not name these fields. Only that one shape was probed, for one TypeScript server. Other fields, a `command` with no `args`, and the plugin file format were not probed. Installing the binary on PATH is still required, and LitGrok still does not write `lsp.json`.
|
|
34
45
|
|
|
35
46
|
## Alternatives
|
|
36
47
|
|
|
@@ -27,12 +27,23 @@ command -v haskell-language-server-wrapper
|
|
|
27
27
|
|
|
28
28
|
## Server settings
|
|
29
29
|
|
|
30
|
-
Grok
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
30
|
+
Grok reads language servers from project `.grok/lsp.json` and from `~/.grok/lsp.json`. The project file wins when both name the same server. A trusted plugin may add a server; LitGrok does not ship one. The built-in tool stays off until `GROK_LSP_TOOLS=1` or user `[features] lsp_tools` (see the `lsp` skill).
|
|
31
|
+
|
|
32
|
+
On Grok 1.0.13, `grok inspect --json` listed a server only for a string `command`, a string array `args`, and `extensionToLanguage`. This is the entry that loaded. Use this page's binary as `command` and put flags such as `--stdio` in `args`.
|
|
33
|
+
|
|
34
|
+
```json
|
|
35
|
+
{
|
|
36
|
+
"typescript": {
|
|
37
|
+
"command": "typescript-language-server",
|
|
38
|
+
"args": ["--stdio"],
|
|
39
|
+
"extensionToLanguage": { ".ts": "typescript" }
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
The same inspect dropped a `command` that was itself an array, and it dropped a file whose only key was `lspServers`. Do not put the entry in `.grok/config.toml`.
|
|
45
|
+
|
|
46
|
+
Grok's documentation names the two `lsp.json` paths and does not name these fields. Only that one shape was probed, for one TypeScript server. Other fields, a `command` with no `args`, and the plugin file format were not probed. Installing the binary on PATH is still required, and LitGrok still does not write `lsp.json`.
|
|
36
47
|
|
|
37
48
|
## Alternatives
|
|
38
49
|
|
|
@@ -20,12 +20,23 @@ command -v jdtls
|
|
|
20
20
|
|
|
21
21
|
## Server settings
|
|
22
22
|
|
|
23
|
-
Grok
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
Grok reads language servers from project `.grok/lsp.json` and from `~/.grok/lsp.json`. The project file wins when both name the same server. A trusted plugin may add a server; LitGrok does not ship one. The built-in tool stays off until `GROK_LSP_TOOLS=1` or user `[features] lsp_tools` (see the `lsp` skill).
|
|
24
|
+
|
|
25
|
+
On Grok 1.0.13, `grok inspect --json` listed a server only for a string `command`, a string array `args`, and `extensionToLanguage`. This is the entry that loaded. Use this page's binary as `command` and put flags such as `--stdio` in `args`.
|
|
26
|
+
|
|
27
|
+
```json
|
|
28
|
+
{
|
|
29
|
+
"typescript": {
|
|
30
|
+
"command": "typescript-language-server",
|
|
31
|
+
"args": ["--stdio"],
|
|
32
|
+
"extensionToLanguage": { ".ts": "typescript" }
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
The same inspect dropped a `command` that was itself an array, and it dropped a file whose only key was `lspServers`. Do not put the entry in `.grok/config.toml`.
|
|
38
|
+
|
|
39
|
+
Grok's documentation names the two `lsp.json` paths and does not name these fields. Only that one shape was probed, for one TypeScript server. Other fields, a `command` with no `args`, and the plugin file format were not probed. Installing the binary on PATH is still required, and LitGrok still does not write `lsp.json`.
|
|
29
40
|
|
|
30
41
|
Most settings (runtimes, format, import order) come from `settings.java.*`
|
|
31
42
|
defaults and work for Maven/Gradle projects with a standard layout.
|
|
@@ -28,12 +28,23 @@ command -v julia
|
|
|
28
28
|
|
|
29
29
|
## Server settings
|
|
30
30
|
|
|
31
|
-
Grok
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
31
|
+
Grok reads language servers from project `.grok/lsp.json` and from `~/.grok/lsp.json`. The project file wins when both name the same server. A trusted plugin may add a server; LitGrok does not ship one. The built-in tool stays off until `GROK_LSP_TOOLS=1` or user `[features] lsp_tools` (see the `lsp` skill).
|
|
32
|
+
|
|
33
|
+
On Grok 1.0.13, `grok inspect --json` listed a server only for a string `command`, a string array `args`, and `extensionToLanguage`. This is the entry that loaded. Use this page's binary as `command` and put flags such as `--stdio` in `args`.
|
|
34
|
+
|
|
35
|
+
```json
|
|
36
|
+
{
|
|
37
|
+
"typescript": {
|
|
38
|
+
"command": "typescript-language-server",
|
|
39
|
+
"args": ["--stdio"],
|
|
40
|
+
"extensionToLanguage": { ".ts": "typescript" }
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
The same inspect dropped a `command` that was itself an array, and it dropped a file whose only key was `lspServers`. Do not put the entry in `.grok/config.toml`.
|
|
46
|
+
|
|
47
|
+
Grok's documentation names the two `lsp.json` paths and does not name these fields. Only that one shape was probed, for one TypeScript server. Other fields, a `command` with no `args`, and the plugin file format were not probed. Installing the binary on PATH is still required, and LitGrok still does not write `lsp.json`.
|
|
37
48
|
|
|
38
49
|
## Alternatives
|
|
39
50
|
|
|
@@ -22,12 +22,23 @@ command -v kotlin-lsp
|
|
|
22
22
|
|
|
23
23
|
## Server settings
|
|
24
24
|
|
|
25
|
-
Grok
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
Grok reads language servers from project `.grok/lsp.json` and from `~/.grok/lsp.json`. The project file wins when both name the same server. A trusted plugin may add a server; LitGrok does not ship one. The built-in tool stays off until `GROK_LSP_TOOLS=1` or user `[features] lsp_tools` (see the `lsp` skill).
|
|
26
|
+
|
|
27
|
+
On Grok 1.0.13, `grok inspect --json` listed a server only for a string `command`, a string array `args`, and `extensionToLanguage`. This is the entry that loaded. Use this page's binary as `command` and put flags such as `--stdio` in `args`.
|
|
28
|
+
|
|
29
|
+
```json
|
|
30
|
+
{
|
|
31
|
+
"typescript": {
|
|
32
|
+
"command": "typescript-language-server",
|
|
33
|
+
"args": ["--stdio"],
|
|
34
|
+
"extensionToLanguage": { ".ts": "typescript" }
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
The same inspect dropped a `command` that was itself an array, and it dropped a file whose only key was `lspServers`. Do not put the entry in `.grok/config.toml`.
|
|
40
|
+
|
|
41
|
+
Grok's documentation names the two `lsp.json` paths and does not name these fields. Only that one shape was probed, for one TypeScript server. Other fields, a `command` with no `args`, and the plugin file format were not probed. Installing the binary on PATH is still required, and LitGrok still does not write `lsp.json`.
|
|
31
42
|
|
|
32
43
|
The server resolves classpath from Gradle/Maven; keep the build descriptor
|
|
33
44
|
importable.
|
|
@@ -20,12 +20,23 @@ command -v lua-language-server
|
|
|
20
20
|
|
|
21
21
|
## Server settings
|
|
22
22
|
|
|
23
|
-
Grok
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
Grok reads language servers from project `.grok/lsp.json` and from `~/.grok/lsp.json`. The project file wins when both name the same server. A trusted plugin may add a server; LitGrok does not ship one. The built-in tool stays off until `GROK_LSP_TOOLS=1` or user `[features] lsp_tools` (see the `lsp` skill).
|
|
24
|
+
|
|
25
|
+
On Grok 1.0.13, `grok inspect --json` listed a server only for a string `command`, a string array `args`, and `extensionToLanguage`. This is the entry that loaded. Use this page's binary as `command` and put flags such as `--stdio` in `args`.
|
|
26
|
+
|
|
27
|
+
```json
|
|
28
|
+
{
|
|
29
|
+
"typescript": {
|
|
30
|
+
"command": "typescript-language-server",
|
|
31
|
+
"args": ["--stdio"],
|
|
32
|
+
"extensionToLanguage": { ".ts": "typescript" }
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
The same inspect dropped a `command` that was itself an array, and it dropped a file whose only key was `lspServers`. Do not put the entry in `.grok/config.toml`.
|
|
38
|
+
|
|
39
|
+
Grok's documentation names the two `lsp.json` paths and does not name these fields. Only that one shape was probed, for one TypeScript server. Other fields, a `command` with no `args`, and the plugin file format were not probed. Installing the binary on PATH is still required, and LitGrok still does not write `lsp.json`.
|
|
29
40
|
|
|
30
41
|
## Alternatives
|
|
31
42
|
|
|
@@ -20,12 +20,23 @@ command -v intelephense
|
|
|
20
20
|
|
|
21
21
|
## Server settings
|
|
22
22
|
|
|
23
|
-
Grok
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
Grok reads language servers from project `.grok/lsp.json` and from `~/.grok/lsp.json`. The project file wins when both name the same server. A trusted plugin may add a server; LitGrok does not ship one. The built-in tool stays off until `GROK_LSP_TOOLS=1` or user `[features] lsp_tools` (see the `lsp` skill).
|
|
24
|
+
|
|
25
|
+
On Grok 1.0.13, `grok inspect --json` listed a server only for a string `command`, a string array `args`, and `extensionToLanguage`. This is the entry that loaded. Use this page's binary as `command` and put flags such as `--stdio` in `args`.
|
|
26
|
+
|
|
27
|
+
```json
|
|
28
|
+
{
|
|
29
|
+
"typescript": {
|
|
30
|
+
"command": "typescript-language-server",
|
|
31
|
+
"args": ["--stdio"],
|
|
32
|
+
"extensionToLanguage": { ".ts": "typescript" }
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
The same inspect dropped a `command` that was itself an array, and it dropped a file whose only key was `lspServers`. Do not put the entry in `.grok/config.toml`.
|
|
38
|
+
|
|
39
|
+
Grok's documentation names the two `lsp.json` paths and does not name these fields. Only that one shape was probed, for one TypeScript server. Other fields, a `command` with no `args`, and the plugin file format were not probed. Installing the binary on PATH is still required, and LitGrok still does not write `lsp.json`.
|
|
29
40
|
|
|
30
41
|
## Alternatives
|
|
31
42
|
|
|
@@ -21,24 +21,35 @@ command -v basedpyright-langserver
|
|
|
21
21
|
|
|
22
22
|
## Server settings
|
|
23
23
|
|
|
24
|
-
Grok
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
24
|
+
Grok reads language servers from project `.grok/lsp.json` and from `~/.grok/lsp.json`. The project file wins when both name the same server. A trusted plugin may add a server; LitGrok does not ship one. The built-in tool stays off until `GROK_LSP_TOOLS=1` or user `[features] lsp_tools` (see the `lsp` skill).
|
|
25
|
+
|
|
26
|
+
On Grok 1.0.13, `grok inspect --json` listed a server only for a string `command`, a string array `args`, and `extensionToLanguage`. This is the entry that loaded. Use this page's binary as `command` and put flags such as `--stdio` in `args`.
|
|
27
|
+
|
|
28
|
+
```json
|
|
29
|
+
{
|
|
30
|
+
"typescript": {
|
|
31
|
+
"command": "typescript-language-server",
|
|
32
|
+
"args": ["--stdio"],
|
|
33
|
+
"extensionToLanguage": { ".ts": "typescript" }
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
The same inspect dropped a `command` that was itself an array, and it dropped a file whose only key was `lspServers`. Do not put the entry in `.grok/config.toml`.
|
|
39
|
+
|
|
40
|
+
Grok's documentation names the two `lsp.json` paths and does not name these fields. Only that one shape was probed, for one TypeScript server. Other fields, a `command` with no `args`, and the plugin file format were not probed. Installing the binary on PATH is still required, and LitGrok still does not write `lsp.json`.
|
|
30
41
|
|
|
31
42
|
## Choosing a server
|
|
32
43
|
|
|
33
44
|
Type checkers and the linter serve different roles. Run a type server, and
|
|
34
|
-
optionally `ruff` ALONGSIDE it (not instead).
|
|
35
|
-
|
|
36
|
-
|
|
|
37
|
-
|
|
|
38
|
-
| `
|
|
39
|
-
| `
|
|
40
|
-
| `
|
|
41
|
-
| `
|
|
45
|
+
optionally `ruff` ALONGSIDE it (not instead). The first column is the string `command` and the second is `args`; do not paste a launch as a JSON array into `command`:
|
|
46
|
+
|
|
47
|
+
| command | args | install | role |
|
|
48
|
+
| --- | --- | --- | --- |
|
|
49
|
+
| `basedpyright-langserver` | `--stdio` | `pip install basedpyright` | strictest types, **default** |
|
|
50
|
+
| `pyright-langserver` | `--stdio` | `pip install pyright` | upstream Microsoft type checker |
|
|
51
|
+
| `ty` | `server` | `pip install ty` | Astral, very fast, pre-1.0/experimental |
|
|
52
|
+
| `ruff` | `server` | `pip install ruff` | lint + format only, complements a type server |
|
|
42
53
|
|
|
43
54
|
Recommended: keep `basedpyright` as the Python server. `ruff` does not
|
|
44
55
|
type-check, so if you want lint diagnostics too run it as a separate tool rather
|
|
@@ -22,12 +22,23 @@ command -v rubocop
|
|
|
22
22
|
|
|
23
23
|
## Server settings
|
|
24
24
|
|
|
25
|
-
Grok
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
Grok reads language servers from project `.grok/lsp.json` and from `~/.grok/lsp.json`. The project file wins when both name the same server. A trusted plugin may add a server; LitGrok does not ship one. The built-in tool stays off until `GROK_LSP_TOOLS=1` or user `[features] lsp_tools` (see the `lsp` skill).
|
|
26
|
+
|
|
27
|
+
On Grok 1.0.13, `grok inspect --json` listed a server only for a string `command`, a string array `args`, and `extensionToLanguage`. This is the entry that loaded. Use this page's binary as `command` and put flags such as `--stdio` in `args`.
|
|
28
|
+
|
|
29
|
+
```json
|
|
30
|
+
{
|
|
31
|
+
"typescript": {
|
|
32
|
+
"command": "typescript-language-server",
|
|
33
|
+
"args": ["--stdio"],
|
|
34
|
+
"extensionToLanguage": { ".ts": "typescript" }
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
The same inspect dropped a `command` that was itself an array, and it dropped a file whose only key was `lspServers`. Do not put the entry in `.grok/config.toml`.
|
|
40
|
+
|
|
41
|
+
Grok's documentation names the two `lsp.json` paths and does not name these fields. Only that one shape was probed, for one TypeScript server. Other fields, a `command` with no `args`, and the plugin file format were not probed. Installing the binary on PATH is still required, and LitGrok still does not write `lsp.json`.
|
|
31
42
|
|
|
32
43
|
## Alternatives
|
|
33
44
|
|
|
@@ -22,12 +22,23 @@ command -v rust-analyzer
|
|
|
22
22
|
|
|
23
23
|
## Server settings
|
|
24
24
|
|
|
25
|
-
Grok
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
Grok reads language servers from project `.grok/lsp.json` and from `~/.grok/lsp.json`. The project file wins when both name the same server. A trusted plugin may add a server; LitGrok does not ship one. The built-in tool stays off until `GROK_LSP_TOOLS=1` or user `[features] lsp_tools` (see the `lsp` skill).
|
|
26
|
+
|
|
27
|
+
On Grok 1.0.13, `grok inspect --json` listed a server only for a string `command`, a string array `args`, and `extensionToLanguage`. This is the entry that loaded. Use this page's binary as `command` and put flags such as `--stdio` in `args`.
|
|
28
|
+
|
|
29
|
+
```json
|
|
30
|
+
{
|
|
31
|
+
"typescript": {
|
|
32
|
+
"command": "typescript-language-server",
|
|
33
|
+
"args": ["--stdio"],
|
|
34
|
+
"extensionToLanguage": { ".ts": "typescript" }
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
The same inspect dropped a `command` that was itself an array, and it dropped a file whose only key was `lspServers`. Do not put the entry in `.grok/config.toml`.
|
|
40
|
+
|
|
41
|
+
Grok's documentation names the two `lsp.json` paths and does not name these fields. Only that one shape was probed, for one TypeScript server. Other fields, a `command` with no `args`, and the plugin file format were not probed. Installing the binary on PATH is still required, and LitGrok still does not write `lsp.json`.
|
|
31
42
|
|
|
32
43
|
## Alternatives
|
|
33
44
|
|
|
@@ -20,12 +20,23 @@ command -v sourcekit-lsp
|
|
|
20
20
|
|
|
21
21
|
## Server settings
|
|
22
22
|
|
|
23
|
-
Grok
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
Grok reads language servers from project `.grok/lsp.json` and from `~/.grok/lsp.json`. The project file wins when both name the same server. A trusted plugin may add a server; LitGrok does not ship one. The built-in tool stays off until `GROK_LSP_TOOLS=1` or user `[features] lsp_tools` (see the `lsp` skill).
|
|
24
|
+
|
|
25
|
+
On Grok 1.0.13, `grok inspect --json` listed a server only for a string `command`, a string array `args`, and `extensionToLanguage`. This is the entry that loaded. Use this page's binary as `command` and put flags such as `--stdio` in `args`.
|
|
26
|
+
|
|
27
|
+
```json
|
|
28
|
+
{
|
|
29
|
+
"typescript": {
|
|
30
|
+
"command": "typescript-language-server",
|
|
31
|
+
"args": ["--stdio"],
|
|
32
|
+
"extensionToLanguage": { ".ts": "typescript" }
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
The same inspect dropped a `command` that was itself an array, and it dropped a file whose only key was `lspServers`. Do not put the entry in `.grok/config.toml`.
|
|
38
|
+
|
|
39
|
+
Grok's documentation names the two `lsp.json` paths and does not name these fields. Only that one shape was probed, for one TypeScript server. Other fields, a `command` with no `args`, and the plugin file format were not probed. Installing the binary on PATH is still required, and LitGrok still does not write `lsp.json`.
|
|
29
40
|
|
|
30
41
|
## Alternatives
|
|
31
42
|
|
|
@@ -21,12 +21,23 @@ command -v terraform
|
|
|
21
21
|
|
|
22
22
|
## Server settings
|
|
23
23
|
|
|
24
|
-
Grok
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
24
|
+
Grok reads language servers from project `.grok/lsp.json` and from `~/.grok/lsp.json`. The project file wins when both name the same server. A trusted plugin may add a server; LitGrok does not ship one. The built-in tool stays off until `GROK_LSP_TOOLS=1` or user `[features] lsp_tools` (see the `lsp` skill).
|
|
25
|
+
|
|
26
|
+
On Grok 1.0.13, `grok inspect --json` listed a server only for a string `command`, a string array `args`, and `extensionToLanguage`. This is the entry that loaded. Use this page's binary as `command` and put flags such as `--stdio` in `args`.
|
|
27
|
+
|
|
28
|
+
```json
|
|
29
|
+
{
|
|
30
|
+
"typescript": {
|
|
31
|
+
"command": "typescript-language-server",
|
|
32
|
+
"args": ["--stdio"],
|
|
33
|
+
"extensionToLanguage": { ".ts": "typescript" }
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
The same inspect dropped a `command` that was itself an array, and it dropped a file whose only key was `lspServers`. Do not put the entry in `.grok/config.toml`.
|
|
39
|
+
|
|
40
|
+
Grok's documentation names the two `lsp.json` paths and does not name these fields. Only that one shape was probed, for one TypeScript server. Other fields, a `command` with no `args`, and the plugin file format were not probed. Installing the binary on PATH is still required, and LitGrok still does not write `lsp.json`.
|
|
30
41
|
|
|
31
42
|
## Alternatives
|
|
32
43
|
|