Log inGet started
What it does

lsp

Diagnostics + strict-mode controls embedded in the System Tools inspector. Reuses the Layer A composite widgets (LspW.severitySummary, LspW.diagnosticsList, LspW.diagnosticDetail, LspW.strictModeToggle) so this tab stays tiny — the data fetch happens through the engine's existing lsp.* namespace and the visibility-driven refresh scheduler in system_tools.module gates it on tab-active. Refresh cadence is 1 s, gated to "tab active and visible".

Exports

  • M.onMount(_state) — pull diagnostics + strict mode from lsp.* into the local cache.
  • M.refresh_data(_state) — host scheduler hook; forwards to onMount.
  • M.build(_state) -> any — build the zui widget tree for the tab.
  • M.onCallback(callbackId, data, _state) -> boolean — handle row select, refresh, strict toggle, full-panel button.
  • M.label: string — tab title.
  • M.refresh: number — refresh cadence in seconds (1.0).

Types:

  • LspSummary = { errors: number, warnings: number, info: number, hints: number, filesChecked: number }
  • LspCache = { diagnostics: { any }, summary: LspSummary, selectedDiag: number?, strictMode: string, lastError: string? }

Usage

local Lsp = require("@builtin::modules.engine.editor.system_tools.tabs.lsp")
Lsp.onMount(state)
local widget = Lsp.build(state)
Lsp.onCallback("syslsp-refresh", nil, state)

Notes

  • Errors from lsp.checkAll / lsp.getStrictMode / lsp.setStrictMode are captured in cache.lastError and surfaced inline rather than thrown.
  • The "Open full panel" button mounts the standalone engine.editor.lsp_ui window; its lifecycle is independent of this tab.
  • The Copy-path button prints to the script log when the host has no clipboard primitive.

Interface

What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.

This asset doesn't declare a schema or structured payload.

Sub-parts

Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.

0items
This part has no composite children. See the Files segment for its leaf payloads.
This part has no leaf payloads.

Problems

Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.

0problems
No problems reported. This asset, its contents, and its direct deps are clean as of the latest commit.
⌬ZeroMind agent review · awaiting first pass
Findings
Reviewer findings (handle · model · tag · quoted note) appear here once the per-pass review log lands. Today only the rolled-up agent_score is exposed.
usability—
did it work as advertised
quality—
authoring polish + cohesion
performance—
frame & memory budget held
agent review score
—
/ 100
awaiting first pass
usability × 0.40
+ quality × 0.35
+ performance × 0.25
± compat factor

Usability ratings

Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".

—%no reports yet
Sign in to report whether this part worked for you.
Discussion

Scoped to this part · feeds back into the world's score.

0comments
Sign in to post.sign in
No comments yet. Be the first.