@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.
Files changed (51) hide show
  1. package/.grok/agents/litgrok-executor.md +1 -1
  2. package/.grok/agents/litgrok-korean-prose-editor.md +1 -1
  3. package/.grok/agents/litgrok-korean-style-analyzer.md +1 -1
  4. package/.grok/agents/litgrok-librarian-researcher.md +1 -1
  5. package/.grok/agents/litgrok-meaning-preservation-auditor.md +1 -1
  6. package/.grok/agents/litgrok-native-flow-reviewer.md +1 -1
  7. package/.grok/agents/litgrok-planner.md +1 -1
  8. package/.grok/agents/litgrok-polish-orchestrator.md +1 -1
  9. package/.grok/agents/litgrok-qa-runner.md +1 -1
  10. package/.grok/agents/litgrok-quality-reviewer.md +1 -1
  11. package/.grok/agents/litgrok-verifier.md +1 -1
  12. package/.grok/rules/00-litgrok.md +2 -2
  13. package/.grok/skills/lit-adhd/SKILL.md +36 -12
  14. package/.grok/skills/lit-adhd/references/card-examples.md +106 -3
  15. package/.grok/skills/lit-adhd/references/status-taxonomy.md +20 -1
  16. package/.grok/skills/lit-adhd/scripts/lib/board.mjs +333 -0
  17. package/.grok/skills/lit-adhd/scripts/lib/collect.mjs +76 -8
  18. package/.grok/skills/litgrok/SKILL.md +1 -1
  19. package/.grok/skills/lsp/SKILL.md +2 -2
  20. package/.grok/skills/lsp/references/built-in-lsp-contract.md +7 -7
  21. package/.grok/skills/lsp-setup/SKILL.md +2 -2
  22. package/.grok/skills/lsp-setup/references/bash/README.md +17 -6
  23. package/.grok/skills/lsp-setup/references/c-cpp/README.md +17 -6
  24. package/.grok/skills/lsp-setup/references/csharp/README.md +17 -6
  25. package/.grok/skills/lsp-setup/references/dart/README.md +17 -6
  26. package/.grok/skills/lsp-setup/references/elixir/README.md +17 -6
  27. package/.grok/skills/lsp-setup/references/go/README.md +17 -6
  28. package/.grok/skills/lsp-setup/references/haskell/README.md +17 -6
  29. package/.grok/skills/lsp-setup/references/java/README.md +17 -6
  30. package/.grok/skills/lsp-setup/references/julia/README.md +17 -6
  31. package/.grok/skills/lsp-setup/references/kotlin/README.md +17 -6
  32. package/.grok/skills/lsp-setup/references/lua/README.md +17 -6
  33. package/.grok/skills/lsp-setup/references/php/README.md +17 -6
  34. package/.grok/skills/lsp-setup/references/python/README.md +25 -14
  35. package/.grok/skills/lsp-setup/references/ruby/README.md +17 -6
  36. package/.grok/skills/lsp-setup/references/rust/README.md +17 -6
  37. package/.grok/skills/lsp-setup/references/swift/README.md +17 -6
  38. package/.grok/skills/lsp-setup/references/terraform/README.md +17 -6
  39. package/.grok/skills/lsp-setup/references/typescript/README.md +35 -24
  40. package/.grok/skills/lsp-setup/references/yaml/README.md +17 -6
  41. package/.grok/skills/lsp-setup/references/zig/README.md +17 -6
  42. package/.grok-plugin/plugin.json +1 -1
  43. package/CHANGELOG.md +9 -0
  44. package/README.md +9 -9
  45. package/README_ko-KR.md +8 -8
  46. package/bin/litgrok.mjs +21 -0
  47. package/docs/assets/readme/badge-version.svg +1 -1
  48. package/docs/reference.md +2 -2
  49. package/docs/reference_ko-KR.md +2 -2
  50. package/package.json +1 -1
  51. package/plugin.json +1 -1
@@ -25,12 +25,23 @@ command -v shellcheck
25
25
 
26
26
  ## Server settings
27
27
 
28
- Grok Build documents no project language-server schema, and LitGrok ships no server
29
- configuration: the only documented code-intelligence surface is the built-in tool
30
- behind `GROK_LSP_TOOLS=1` / `[features] lsp_tools`, which is off by default (see the
31
- `lsp` skill). Installing the server binary on PATH is the whole setup this reference
32
- can vouch for. Do not add a server entry to `.grok/config.toml`; that key is not a
33
- documented Grok Build surface.
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 Build documents no project language-server schema, and LitGrok ships no server
24
- configuration: the only documented code-intelligence surface is the built-in tool
25
- behind `GROK_LSP_TOOLS=1` / `[features] lsp_tools`, which is off by default (see the
26
- `lsp` skill). Installing the server binary on PATH is the whole setup this reference
27
- can vouch for. Do not add a server entry to `.grok/config.toml`; that key is not a
28
- documented Grok Build surface.
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 Build documents no project language-server schema, and LitGrok ships no server
26
- configuration: the only documented code-intelligence surface is the built-in tool
27
- behind `GROK_LSP_TOOLS=1` / `[features] lsp_tools`, which is off by default (see the
28
- `lsp` skill). Installing the server binary on PATH is the whole setup this reference
29
- can vouch for. Do not add a server entry to `.grok/config.toml`; that key is not a
30
- documented Grok Build surface.
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 Build documents no project language-server schema, and LitGrok ships no server
24
- configuration: the only documented code-intelligence surface is the built-in tool
25
- behind `GROK_LSP_TOOLS=1` / `[features] lsp_tools`, which is off by default (see the
26
- `lsp` skill). Installing the server binary on PATH is the whole setup this reference
27
- can vouch for. Do not add a server entry to `.grok/config.toml`; that key is not a
28
- documented Grok Build surface.
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 Build documents no project language-server schema, and LitGrok ships no server
25
- configuration: the only documented code-intelligence surface is the built-in tool
26
- behind `GROK_LSP_TOOLS=1` / `[features] lsp_tools`, which is off by default (see the
27
- `lsp` skill). Installing the server binary on PATH is the whole setup this reference
28
- can vouch for. Do not add a server entry to `.grok/config.toml`; that key is not a
29
- documented Grok Build surface.
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 Build documents no project language-server schema, and LitGrok ships no server
29
- configuration: the only documented code-intelligence surface is the built-in tool
30
- behind `GROK_LSP_TOOLS=1` / `[features] lsp_tools`, which is off by default (see the
31
- `lsp` skill). Installing the server binary on PATH is the whole setup this reference
32
- can vouch for. Do not add a server entry to `.grok/config.toml`; that key is not a
33
- documented Grok Build surface.
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 Build documents no project language-server schema, and LitGrok ships no server
31
- configuration: the only documented code-intelligence surface is the built-in tool
32
- behind `GROK_LSP_TOOLS=1` / `[features] lsp_tools`, which is off by default (see the
33
- `lsp` skill). Installing the server binary on PATH is the whole setup this reference
34
- can vouch for. Do not add a server entry to `.grok/config.toml`; that key is not a
35
- documented Grok Build surface.
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 Build documents no project language-server schema, and LitGrok ships no server
24
- configuration: the only documented code-intelligence surface is the built-in tool
25
- behind `GROK_LSP_TOOLS=1` / `[features] lsp_tools`, which is off by default (see the
26
- `lsp` skill). Installing the server binary on PATH is the whole setup this reference
27
- can vouch for. Do not add a server entry to `.grok/config.toml`; that key is not a
28
- documented Grok Build surface.
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 Build documents no project language-server schema, and LitGrok ships no server
32
- configuration: the only documented code-intelligence surface is the built-in tool
33
- behind `GROK_LSP_TOOLS=1` / `[features] lsp_tools`, which is off by default (see the
34
- `lsp` skill). Installing the server binary on PATH is the whole setup this reference
35
- can vouch for. Do not add a server entry to `.grok/config.toml`; that key is not a
36
- documented Grok Build surface.
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 Build documents no project language-server schema, and LitGrok ships no server
26
- configuration: the only documented code-intelligence surface is the built-in tool
27
- behind `GROK_LSP_TOOLS=1` / `[features] lsp_tools`, which is off by default (see the
28
- `lsp` skill). Installing the server binary on PATH is the whole setup this reference
29
- can vouch for. Do not add a server entry to `.grok/config.toml`; that key is not a
30
- documented Grok Build surface.
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 Build documents no project language-server schema, and LitGrok ships no server
24
- configuration: the only documented code-intelligence surface is the built-in tool
25
- behind `GROK_LSP_TOOLS=1` / `[features] lsp_tools`, which is off by default (see the
26
- `lsp` skill). Installing the server binary on PATH is the whole setup this reference
27
- can vouch for. Do not add a server entry to `.grok/config.toml`; that key is not a
28
- documented Grok Build surface.
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 Build documents no project language-server schema, and LitGrok ships no server
24
- configuration: the only documented code-intelligence surface is the built-in tool
25
- behind `GROK_LSP_TOOLS=1` / `[features] lsp_tools`, which is off by default (see the
26
- `lsp` skill). Installing the server binary on PATH is the whole setup this reference
27
- can vouch for. Do not add a server entry to `.grok/config.toml`; that key is not a
28
- documented Grok Build surface.
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 Build documents no project language-server schema, and LitGrok ships no server
25
- configuration: the only documented code-intelligence surface is the built-in tool
26
- behind `GROK_LSP_TOOLS=1` / `[features] lsp_tools`, which is off by default (see the
27
- `lsp` skill). Installing the server binary on PATH is the whole setup this reference
28
- can vouch for. Do not add a server entry to `.grok/config.toml`; that key is not a
29
- documented Grok Build surface.
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). Launch the server accordingly:
35
-
36
- | server launch | install | role |
37
- | ------------------------------------ | ---------------------- | --------------------------------------- |
38
- | `["basedpyright-langserver", "--stdio"]` | `pip install basedpyright` | strictest types, **default** |
39
- | `["pyright-langserver", "--stdio"]` | `pip install pyright` | upstream Microsoft type checker |
40
- | `["ty", "server"]` | `pip install ty` | Astral, very fast, pre-1.0/experimental |
41
- | `["ruff", "server"]` | `pip install ruff` | lint + format only, complements a type server |
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 Build documents no project language-server schema, and LitGrok ships no server
26
- configuration: the only documented code-intelligence surface is the built-in tool
27
- behind `GROK_LSP_TOOLS=1` / `[features] lsp_tools`, which is off by default (see the
28
- `lsp` skill). Installing the server binary on PATH is the whole setup this reference
29
- can vouch for. Do not add a server entry to `.grok/config.toml`; that key is not a
30
- documented Grok Build surface.
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 Build documents no project language-server schema, and LitGrok ships no server
26
- configuration: the only documented code-intelligence surface is the built-in tool
27
- behind `GROK_LSP_TOOLS=1` / `[features] lsp_tools`, which is off by default (see the
28
- `lsp` skill). Installing the server binary on PATH is the whole setup this reference
29
- can vouch for. Do not add a server entry to `.grok/config.toml`; that key is not a
30
- documented Grok Build surface.
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 Build documents no project language-server schema, and LitGrok ships no server
24
- configuration: the only documented code-intelligence surface is the built-in tool
25
- behind `GROK_LSP_TOOLS=1` / `[features] lsp_tools`, which is off by default (see the
26
- `lsp` skill). Installing the server binary on PATH is the whole setup this reference
27
- can vouch for. Do not add a server entry to `.grok/config.toml`; that key is not a
28
- documented Grok Build surface.
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 Build documents no project language-server schema, and LitGrok ships no server
25
- configuration: the only documented code-intelligence surface is the built-in tool
26
- behind `GROK_LSP_TOOLS=1` / `[features] lsp_tools`, which is off by default (see the
27
- `lsp` skill). Installing the server binary on PATH is the whole setup this reference
28
- can vouch for. Do not add a server entry to `.grok/config.toml`; that key is not a
29
- documented Grok Build surface.
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