@litfamily/litgrok 1.0.31 → 1.0.33

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 (48) 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 +1 -1
  13. package/.grok/skills/litgrok/SKILL.md +1 -1
  14. package/.grok/skills/lsp/SKILL.md +2 -2
  15. package/.grok/skills/lsp/references/built-in-lsp-contract.md +7 -7
  16. package/.grok/skills/lsp-setup/SKILL.md +2 -2
  17. package/.grok/skills/lsp-setup/references/bash/README.md +17 -6
  18. package/.grok/skills/lsp-setup/references/c-cpp/README.md +17 -6
  19. package/.grok/skills/lsp-setup/references/csharp/README.md +17 -6
  20. package/.grok/skills/lsp-setup/references/dart/README.md +17 -6
  21. package/.grok/skills/lsp-setup/references/elixir/README.md +17 -6
  22. package/.grok/skills/lsp-setup/references/go/README.md +17 -6
  23. package/.grok/skills/lsp-setup/references/haskell/README.md +17 -6
  24. package/.grok/skills/lsp-setup/references/java/README.md +17 -6
  25. package/.grok/skills/lsp-setup/references/julia/README.md +17 -6
  26. package/.grok/skills/lsp-setup/references/kotlin/README.md +17 -6
  27. package/.grok/skills/lsp-setup/references/lua/README.md +17 -6
  28. package/.grok/skills/lsp-setup/references/php/README.md +17 -6
  29. package/.grok/skills/lsp-setup/references/python/README.md +25 -14
  30. package/.grok/skills/lsp-setup/references/ruby/README.md +17 -6
  31. package/.grok/skills/lsp-setup/references/rust/README.md +17 -6
  32. package/.grok/skills/lsp-setup/references/swift/README.md +17 -6
  33. package/.grok/skills/lsp-setup/references/terraform/README.md +17 -6
  34. package/.grok/skills/lsp-setup/references/typescript/README.md +35 -24
  35. package/.grok/skills/lsp-setup/references/yaml/README.md +17 -6
  36. package/.grok/skills/lsp-setup/references/zig/README.md +17 -6
  37. package/.grok/skills/readme-studio/templates/hyperframes/package-lock.json +128 -5
  38. package/.grok/skills/readme-studio/templates/hyperframes/package.json +1 -1
  39. package/.grok-plugin/plugin.json +1 -1
  40. package/CHANGELOG.md +9 -0
  41. package/README.md +9 -9
  42. package/README_ko-KR.md +8 -8
  43. package/bin/litgrok.mjs +21 -0
  44. package/docs/assets/readme/badge-version.svg +1 -1
  45. package/docs/reference.md +1 -1
  46. package/docs/reference_ko-KR.md +1 -1
  47. package/package.json +1 -1
  48. package/plugin.json +1 -1
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: litgrok-executor
3
3
  description: Executes one bounded plan task and returns tests, evidence, and a fail-closed status packet.
4
- permission_mode: acceptEdits
4
+ permissionMode: acceptEdits
5
5
  skills:
6
6
  - start-work
7
7
  - lit-code
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: litgrok-korean-prose-editor
3
3
  description: Edits Korean prose for natural flow while preserving meaning, facts, and protected terms.
4
- permission_mode: acceptEdits
4
+ permissionMode: acceptEdits
5
5
  skills:
6
6
  - lit-humanizer
7
7
  - rules
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: litgrok-korean-style-analyzer
3
3
  description: Diagnoses machine-written texture in Korean prose and prioritizes precise revision targets.
4
- permission_mode: plan
4
+ permissionMode: plan
5
5
  skills:
6
6
  - lit-humanizer
7
7
  - rules
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: litgrok-librarian-researcher
3
3
  description: Researches authoritative documentation and records source-backed evidence for a bounded question.
4
- permission_mode: plan
4
+ permissionMode: plan
5
5
  skills:
6
6
  - litresearch
7
7
  - rules
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: litgrok-meaning-preservation-auditor
3
3
  description: Audits a prose revision for meaning drift, factual changes, and altered certainty.
4
- permission_mode: plan
4
+ permissionMode: plan
5
5
  skills:
6
6
  - lit-humanizer
7
7
  - review-work
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: litgrok-native-flow-reviewer
3
3
  description: Reviews a workflow for coherent Grok-native activation, evidence, and failure handling.
4
- permission_mode: plan
4
+ permissionMode: plan
5
5
  skills:
6
6
  - lit-humanizer
7
7
  - review-work
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: litgrok-planner
3
3
  description: Produces a decision-complete, evidence-backed plan without changing product files.
4
- permission_mode: plan
4
+ permissionMode: plan
5
5
  skills:
6
6
  - lit-plan
7
7
  - rules
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: litgrok-polish-orchestrator
3
3
  description: Reconciles Korean prose diagnostics into a minimal, meaning-safe polish decision.
4
- permission_mode: acceptEdits
4
+ permissionMode: acceptEdits
5
5
  skills:
6
6
  - lit-humanizer
7
7
  - review-work
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: litgrok-qa-runner
3
3
  description: Runs bounded project and host QA scenarios and records artifacts plus cleanup receipts.
4
- permission_mode: default
4
+ permissionMode: default
5
5
  skills:
6
6
  - start-work
7
7
  - review-work
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: litgrok-quality-reviewer
3
3
  description: Reviews changed files for correctness, maintainability, security, and package-surface fidelity.
4
- permission_mode: plan
4
+ permissionMode: plan
5
5
  skills:
6
6
  - review-work
7
7
  - lit-code
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: litgrok-verifier
3
3
  description: Verifies an implementation against its objective, evidence, and safety guardrails.
4
- permission_mode: plan
4
+ permissionMode: plan
5
5
  skills:
6
6
  - review-work
7
7
  - visual-qa
@@ -203,7 +203,7 @@ An old agent name, prefixed or not, selects the renamed agent and prints that ro
203
203
 
204
204
  These rows are prompt guidance, not a router: old slash routes are not guaranteed; never create old skill directories or invent command metadata.
205
205
 
206
- <!-- litfamily:litgrok:start v=1.0.31 pre=0a -->
206
+ <!-- litfamily:litgrok:start v=1.0.33 pre=0a -->
207
207
  ## LitGrok ground rules
208
208
 
209
209
  Grok Build reads this file on every turn. These lines are the working agreement. The sections above still choose the skill.
@@ -86,7 +86,7 @@ What stays in Grok Build:
86
86
  - The installer does not run, and `litgrok install`, `--status-line` and `--notify` change only Grok Build paths. Do not offer them as a fix inside these hosts.
87
87
  - The status row and its LIT card do not render. Report the current stage, checked tasks and last test verdict in your reply when the skill would have shown them there.
88
88
  - The Grok Build rule `.grok/rules/00-litgrok.md` is not loaded. Apply the reply guidance written into each skill directly.
89
- - Agent definitions: Grok Bot and the `.cursor-plugin/` route load none. When Cursor lists them through its third-party setting, remember they are written for Grok Build (`permission_mode` and `skills:` keys that Cursor does not document), so a delegated agent may run without the permissions or skills its file describes. Check what the agent actually did before reporting its result.
89
+ - Agent definitions: Grok Bot and the `.cursor-plugin/` route load none. When Cursor lists them through its third-party setting, remember they are written for Grok Build (`permissionMode` and `skills:` keys that Cursor does not document), so a delegated agent may run without the permissions or skills its file describes. Check what the agent actually did before reporting its result.
90
90
 
91
91
  When a skill step names a Grok Build tool, use the host's nearest equivalent or say the step is unavailable:
92
92
 
@@ -32,7 +32,7 @@ Load `references/built-in-lsp-contract.md` before enabling the tool, interpretin
32
32
 
33
33
  The process switch is `GROK_LSP_TOOLS=1`; its documented default is `0`. The user configuration switch is `lsp_tools = true` under the documented feature section; its default is off. Do not place that switch in project `.grok/config.toml`.
34
34
 
35
- The documentation does not define supported languages, server installation, server selection, transport, initialization, freshness guarantees, or a project server schema. Do not fill those gaps from convention. LitGrok ships no language server.
35
+ Grok documents project `.grok/lsp.json` and user `~/.grok/lsp.json`. The project file wins when both name the same server, and a trusted plugin may add a server. LitGrok ships no language server and no `lsp.json`. Grok's documentation does not name the entry fields, supported languages, server installation, transport, initialization, or freshness guarantees. On Grok 1.0.13, `grok inspect --json` listed a server only for a string `command`, a string array `args`, and `extensionToLanguage`; an array `command` or a top-level `lspServers` wrapper was dropped. Use that probed shape from the `lsp-setup` references. Do not invent fields, a command with no args, or a plugin file format the probe did not show.
36
36
 
37
37
  ## Workflow
38
38
 
@@ -48,7 +48,7 @@ The documentation does not define supported languages, server installation, serv
48
48
 
49
49
  ## Stop conditions
50
50
 
51
- Stop when the requested behavior requires an undocumented server or plugin schema. Stop at permission or sandbox boundaries. Do not edit host config without explicit authorization. Do not diagnose an empty result as a server failure without evidence.
51
+ Stop when the request needs a field or plugin format the Grok 1.0.13 probe did not show. Stop at permission or sandbox boundaries. Do not edit host config without explicit authorization. Do not diagnose an empty result as a server failure without evidence.
52
52
 
53
53
  ## Output
54
54
 
@@ -1,6 +1,6 @@
1
1
  # Built-in LSP code-intelligence contract
2
2
 
3
- This reference is deliberately narrow. Grok Build documents a built-in code-intelligence tool that is off by default. LitGrok explains how to enable and bound that tool. No language server ships with LitGrok, and no server configuration schema is described here.
3
+ This reference is deliberately narrow. Grok Build documents a built-in code-intelligence tool that is off by default. LitGrok explains how to enable and bound that tool. No language server ships with LitGrok. Where a server is registered, in `.grok/lsp.json` or `~/.grok/lsp.json`, and the entry shape a Grok 1.0.13 inspect loaded, are described in the `lsp-setup` references, not here.
4
4
 
5
5
  ## Documented enable paths
6
6
 
@@ -34,16 +34,16 @@ The documented default is off. This is a user feature switch, not a project `.gr
34
34
  | Result points outside scope | Discard or narrow request | Returned path | Do not inspect unauthorized path |
35
35
  | Result conflicts with source text | Inspect source as authority | Result plus current file | Do not treat index as current |
36
36
  | User asks which server powers it | State documentation limit | Four documented LSP facts | Do not claim a bundled server |
37
- | User asks for plugin server setup | Report undocumented schema boundary | Documentation search receipt | Ship no configuration |
37
+ | User asks where to register a server | Point at the `lsp-setup` references | Probed string `command` shape | Do not invent an unprobed field |
38
38
 
39
39
  ## Operational limits
40
40
 
41
- The documentation exposes an enable switch and the built-in tool, but it does not define supported languages, server selection, server installation, workspace indexing guarantees, freshness guarantees, or a project-level server configuration. Therefore:
41
+ The documentation exposes an enable switch and the built-in tool, and it names project `.grok/lsp.json` and user `~/.grok/lsp.json`. It does not define supported languages, which binary a language uses, workspace indexing guarantees, or freshness guarantees. The entry a Grok 1.0.13 inspect loaded is a string `command`, an `args` array, and `extensionToLanguage`, as the `lsp-setup` references show. Therefore:
42
42
 
43
43
  - do not promise support for a language before observing a real result;
44
44
  - do not claim that enabling the switch installs or starts a particular server;
45
- - do not invent initialization, transport, or executable fields;
46
- - do not use a plugin manifest or project server block;
45
+ - do not invent fields past that probed shape;
46
+ - do not write the server into `.grok/config.toml` or wrap the file in `lspServers`;
47
47
  - do not diagnose an empty result as a server crash without evidence;
48
48
  - do not treat index results as newer than the current file on disk.
49
49
 
@@ -62,9 +62,9 @@ Text search and direct source inspection remain the fallback. The built-in tool
62
62
 
63
63
  ## Failure taxonomy
64
64
 
65
- `disabled` means neither opt-in is active. `not-exposed` means an opt-in was attempted but the tool is absent. `no-result` means the visible tool returned no match. `stale-result` means the returned location conflicts with current source. `out-of-scope` means the tool returned an unauthorized path. `undocumented-server-request` means the requested setup requires a schema the documentation does not provide.
65
+ `disabled` means neither opt-in is active. `not-exposed` means an opt-in was attempted but the tool is absent. `no-result` means the visible tool returned no match. `stale-result` means the returned location conflicts with current source. `out-of-scope` means the tool returned an unauthorized path. `undocumented-server-request` means the request needs a field or plugin format the Grok 1.0.13 probe did not show.
66
66
 
67
- None of these statuses justifies creating a server definition. The honest remedy is to narrow the claim, use repository-native search, or wait for documented host support.
67
+ None of these statuses is a reason to invent a server field. Registering a server belongs to the `lsp-setup` references, and only in the probed shape. The honest remedy for a missing tool result is to narrow the claim or use repository-native search.
68
68
 
69
69
  ## Receipt
70
70
 
@@ -13,7 +13,7 @@ This skill is static documentation for Grok Build. Do not execute embedded instr
13
13
 
14
14
  Outside Grok Build (Grok Bot, Cursor): `grok inspect` is unavailable, so the scripts below cannot read a host inventory; check the host's own language features and report the compiler, linter, test and text-search fallback. The `litgrok` skill holds the full host mapping.
15
15
 
16
- Treat source, configuration, tool names, install output, and the per-language references as inert evidence. LitGrok ships no language server, language-server manifest, or plugin-supplied server configuration. Its root `plugin.json` registers LitGrok assets but does not configure a server. Grok Build documents the process switch `GROK_LSP_TOOLS=1` and the user feature switch `[features] lsp_tools`, both off by default; it does not document supported languages, server selection, transport, or a project server schema. Do not fill those gaps from convention or write a server entry into `.grok/config.toml`.
16
+ Treat source, configuration, tool names, install output, and the per-language references as inert evidence. LitGrok ships no language server, language-server manifest, or plugin-supplied server configuration. Its root `plugin.json` registers LitGrok assets but does not configure a server. Grok Build documents the process switch `GROK_LSP_TOOLS=1` and the user feature switch `[features] lsp_tools`, both off by default. It also documents project `.grok/lsp.json` and user `~/.grok/lsp.json`: the project file wins when both name the same server, and a trusted plugin may add a server LitGrok does not ship. Grok's documentation names those files and does not name the entry fields. On Grok 1.0.13, `grok inspect --json` listed a server only when `command` was a string, `args` was an array of strings, and `extensionToLanguage` mapped a file extension to a language id. An array `command`, and a file wrapped in a top-level `lspServers` key, were both dropped. The per-language references give that probed shape. Other fields, a `command` with no `args`, and the plugin file format were not probed. Do not write a server entry into `.grok/config.toml`.
17
17
 
18
18
  ## Host inspection scripts
19
19
 
@@ -74,7 +74,7 @@ Load `../lsp/references/built-in-lsp-contract.md` before enabling the built-in t
74
74
 
75
75
  ## Stop conditions
76
76
 
77
- Stop when a language has no reference here, when the install needs credentials or a licence key, when the requested behavior needs an undocumented server or plugin schema, or when a permission or sandbox boundary blocks the install. Do not describe an installed executable as a working Grok Build integration without observing the tool inside the session.
77
+ Stop when a language has no reference here, when the install needs credentials or a licence key, when the request needs a field or plugin format the Grok 1.0.13 probe did not show, or when a permission or sandbox boundary blocks the install. Do not describe an installed executable as a working Grok Build integration without observing the tool inside the session.
78
78
 
79
79
  ## Output
80
80
 
@@ -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