@mrclrchtr/supi-lsp 4.7.0 → 4.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/node_modules/@mrclrchtr/supi-code-runtime/README.md +1 -1
  2. package/node_modules/@mrclrchtr/supi-code-runtime/package.json +1 -15
  3. package/node_modules/@mrclrchtr/supi-code-runtime/src/api.ts +1 -6
  4. package/node_modules/@mrclrchtr/supi-core/README.md +29 -35
  5. package/node_modules/@mrclrchtr/supi-core/package.json +4 -7
  6. package/node_modules/@mrclrchtr/supi-core/src/api.ts +4 -6
  7. package/node_modules/@mrclrchtr/supi-core/src/config/config.ts +0 -20
  8. package/node_modules/@mrclrchtr/supi-core/src/config/prompt-surface.ts +7 -1
  9. package/node_modules/@mrclrchtr/supi-core/src/config.ts +0 -1
  10. package/node_modules/@mrclrchtr/supi-core/src/context.ts +1 -9
  11. package/node_modules/@mrclrchtr/supi-core/src/debug-registry.ts +8 -0
  12. package/node_modules/@mrclrchtr/supi-core/src/debug-timing.ts +107 -0
  13. package/node_modules/@mrclrchtr/supi-core/src/index.ts +4 -6
  14. package/node_modules/@mrclrchtr/supi-core/src/settings/settings-registry.ts +54 -28
  15. package/node_modules/@mrclrchtr/supi-core/src/settings/settings-schema.ts +91 -125
  16. package/node_modules/@mrclrchtr/supi-core/src/settings.ts +10 -7
  17. package/package.json +3 -3
  18. package/src/client/client-diagnostics.ts +361 -0
  19. package/src/client/client.ts +46 -238
  20. package/src/manager/manager.ts +25 -33
  21. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/README.md +0 -120
  22. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/package.json +0 -75
  23. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/api.ts +0 -42
  24. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/config/config.ts +0 -221
  25. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/config/prompt-surface.ts +0 -357
  26. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/config.ts +0 -11
  27. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/context/context-messages.ts +0 -119
  28. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/context/context-provider-registry.ts +0 -36
  29. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/context/context-tag.ts +0 -31
  30. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/context.ts +0 -16
  31. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/debug-registry.ts +0 -287
  32. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/evidence-badge.ts +0 -41
  33. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/footer-registry.ts +0 -57
  34. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/index.ts +0 -36
  35. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/llm.ts +0 -201
  36. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/model-selection.ts +0 -134
  37. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/path-utils.ts +0 -44
  38. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/path.ts +0 -2
  39. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/progress-widget.ts +0 -189
  40. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/project-roots.ts +0 -170
  41. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/project.ts +0 -15
  42. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/prompt-surface.ts +0 -4
  43. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/registry-utils.ts +0 -93
  44. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/report.ts +0 -121
  45. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/session-utils.ts +0 -71
  46. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/session.ts +0 -8
  47. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/settings/scoped-settings-list.ts +0 -373
  48. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/settings/settings-action-menu.ts +0 -102
  49. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/settings/settings-command.ts +0 -15
  50. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/settings/settings-registry.ts +0 -76
  51. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/settings/settings-schema.ts +0 -487
  52. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/settings/settings-submenus.ts +0 -141
  53. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/settings/settings-ui.ts +0 -118
  54. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/settings-ui.ts +0 -3
  55. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/settings.ts +0 -33
  56. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/spinner-frames.ts +0 -11
  57. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/status-spinner.ts +0 -68
  58. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/terminal.ts +0 -60
  59. package/node_modules/@mrclrchtr/supi-code-runtime/node_modules/@mrclrchtr/supi-core/src/tool-framework.ts +0 -192
  60. package/node_modules/@mrclrchtr/supi-code-runtime/src/index.ts +0 -42
  61. package/node_modules/@mrclrchtr/supi-code-runtime/src/workspace/context.ts +0 -45
  62. package/node_modules/@mrclrchtr/supi-core/src/context/context-messages.ts +0 -119
  63. package/node_modules/@mrclrchtr/supi-core/src/progress-widget.ts +0 -189
  64. package/node_modules/@mrclrchtr/supi-core/src/settings/scoped-settings-list.ts +0 -373
  65. package/node_modules/@mrclrchtr/supi-core/src/settings/settings-action-menu.ts +0 -102
  66. package/node_modules/@mrclrchtr/supi-core/src/settings/settings-command.ts +0 -15
  67. package/node_modules/@mrclrchtr/supi-core/src/settings/settings-submenus.ts +0 -141
  68. package/node_modules/@mrclrchtr/supi-core/src/settings/settings-ui.ts +0 -118
  69. package/node_modules/@mrclrchtr/supi-core/src/settings-ui.ts +0 -3
  70. package/node_modules/@mrclrchtr/supi-core/src/tool-framework.ts +0 -192
  71. package/src/client/client-refresh.ts +0 -234
  72. package/src/diagnostics/diagnostics.ts +0 -99
  73. package/src/diagnostics/suppression-diagnostics.ts +0 -60
  74. package/src/index.ts +0 -41
@@ -1,234 +0,0 @@
1
- // LSP Client diagnostic refresh — pull diagnostics and push settle logic.
2
- // Extracted from client.ts to keep file sizes manageable.
3
-
4
- import { existsSync, readFileSync } from "node:fs";
5
- import type { DocumentDiagnosticReport, TextDocumentIdentifier } from "../config/types.ts";
6
- import { uriToFile } from "../utils.ts";
7
- import type { DiagnosticCacheEntry, LspClient } from "./client.ts";
8
- import type { JsonRpcClient } from "./transport.ts";
9
-
10
- interface ClientAccess {
11
- openDocs: Map<string, { version: number; languageId: string }>;
12
- rpc: JsonRpcClient | null;
13
- diagnosticStore: Map<string, DiagnosticCacheEntry>;
14
- releaseDiagnosticWaiters(uri: string): void;
15
- }
16
-
17
- function accessClient(client: LspClient): ClientAccess {
18
- return client as unknown as ClientAccess;
19
- }
20
-
21
- /**
22
- * Re-read and re-sync all currently open, existing documents for a client.
23
- * Uses pull diagnostics when the server supports them, otherwise falls back
24
- * to push-diagnostic settling. Never throws.
25
- */
26
- export async function refreshClientOpenDiagnostics(
27
- client: LspClient,
28
- options: { maxWaitMs?: number; quietMs?: number } = {},
29
- ): Promise<void> {
30
- const maxWaitMs = options.maxWaitMs ?? 3_000;
31
- const quietMs = options.quietMs ?? 200;
32
-
33
- if (client.status !== "running") return;
34
-
35
- const syncStart = Date.now();
36
-
37
- // Re-sync all open documents that still exist on disk
38
- const openDocs = accessClient(client).openDocs as Map<
39
- string,
40
- { version: number; languageId: string }
41
- >;
42
-
43
- for (const [uri, doc] of openDocs) {
44
- const filePath = uriToFile(uri);
45
- try {
46
- if (!existsSync(filePath)) {
47
- clearFileState(client, uri);
48
- sendNotification(client, "textDocument/didClose", {
49
- textDocument: { uri } satisfies TextDocumentIdentifier,
50
- });
51
- continue;
52
- }
53
- const content = readFileSync(filePath, "utf-8");
54
- doc.version++;
55
- sendDidChange(client, uri, doc.version, content);
56
- } catch {
57
- // Read error — skip this file, keep it open
58
- }
59
- }
60
-
61
- if (openDocs.size === 0) return;
62
-
63
- // Try pull diagnostics if server supports them
64
- if (client.hasDiagnosticProvider) {
65
- try {
66
- await pullDiagnosticsForOpenDocs(client, syncStart, maxWaitMs);
67
- return;
68
- } catch {
69
- // Pull diagnostics failed — fall back to push settle
70
- }
71
- }
72
-
73
- // Fall back to push-diagnostic settling
74
- await waitForDiagnosticSettle(client, syncStart, maxWaitMs, quietMs);
75
- }
76
-
77
- /** Send a didChange notification through the client's RPC. */
78
- function sendDidChange(client: LspClient, uri: string, version: number, content: string): void {
79
- sendNotification(client, "textDocument/didChange", {
80
- textDocument: { uri, version },
81
- contentChanges: [{ text: content }],
82
- });
83
- }
84
-
85
- /** Send an RPC notification through the client. */
86
- function sendNotification(client: LspClient, method: string, params: unknown): void {
87
- const rpc = accessClient(client).rpc;
88
- if (rpc) void rpc.sendNotification(method, params);
89
- }
90
-
91
- /** Clear open doc and diagnostic state for a URI. */
92
- function clearFileState(client: LspClient, uri: string): void {
93
- accessClient(client).openDocs.delete(uri);
94
- accessClient(client).diagnosticStore.delete(uri);
95
- accessClient(client).releaseDiagnosticWaiters(uri);
96
- }
97
-
98
- /**
99
- * Request pull diagnostics for all open documents.
100
- * Throws if no diagnostics were successfully retrieved.
101
- */
102
- async function pullDiagnosticsForOpenDocs(
103
- client: LspClient,
104
- syncStart: number,
105
- maxWaitMs: number,
106
- ): Promise<void> {
107
- const deadline = syncStart + maxWaitMs;
108
- const uris = Array.from((accessClient(client).openDocs as Map<string, unknown>).keys());
109
- const results = await Promise.allSettled(
110
- uris.map(async (uri) => {
111
- const remaining = deadline - Date.now();
112
- if (remaining <= 0) throw new Error("pull diagnostic timeout");
113
-
114
- return pullDiagnosticsForUri(client, uri, remaining);
115
- }),
116
- );
117
-
118
- const anySuccess = results.some((result) => result.status === "fulfilled" && result.value);
119
- const hadFailure = results.some((result) => result.status === "rejected");
120
-
121
- if ((hadFailure || !anySuccess) && uris.length > 0) {
122
- throw new Error("pull diagnostics incomplete");
123
- }
124
- }
125
-
126
- /** Pull diagnostics for a single URI and apply the report to the cache. */
127
- export async function pullDiagnosticsForUri(
128
- client: LspClient,
129
- uri: string,
130
- timeoutMs: number,
131
- ): Promise<boolean> {
132
- const report = await pullDocumentDiagnostics(client, uri, timeoutMs);
133
- if (!report) return false;
134
- applyPullReport(client, uri, report);
135
- return true;
136
- }
137
-
138
- /** Pull diagnostics for a single document with timeout. */
139
- async function pullDocumentDiagnostics(
140
- client: LspClient,
141
- uri: string,
142
- timeoutMs: number,
143
- ): Promise<DocumentDiagnosticReport | null> {
144
- const rpc = accessClient(client).rpc;
145
- if (!rpc || client.status !== "running") {
146
- throw new Error("client not running");
147
- }
148
-
149
- const previousResultId = accessClient(client).diagnosticStore.get(uri)?.resultId;
150
- // Wait for server readiness before pulling diagnostics. In steady state
151
- // this resolves immediately (isReady check). During active indexing, this
152
- // may add extra latency on top of the per-URI timeout budget — acceptable
153
- // because the server wouldn't return useful diagnostics while indexing anyway.
154
- await client.getReady();
155
- return rpc.sendRequest(
156
- "textDocument/diagnostic",
157
- {
158
- textDocument: { uri },
159
- previousResultId,
160
- },
161
- { timeoutMs },
162
- ) as Promise<DocumentDiagnosticReport>;
163
- }
164
-
165
- /** Apply a pull diagnostic report to the cache, including related documents. */
166
- function applyPullReport(client: LspClient, uri: string, report: DocumentDiagnosticReport): void {
167
- if (report.kind === "full") {
168
- accessClient(client).diagnosticStore.set(uri, {
169
- diagnostics: report.items,
170
- receivedAt: Date.now(),
171
- resultId: report.resultId,
172
- });
173
- } else if (report.kind === "unchanged" && report.resultId) {
174
- const current = accessClient(client).diagnosticStore.get(uri);
175
- if (current) current.resultId = report.resultId;
176
- }
177
-
178
- applyRelatedDocuments(client, report);
179
- }
180
-
181
- /** Extract and store related document diagnostics from a pull report. */
182
- function applyRelatedDocuments(client: LspClient, report: DocumentDiagnosticReport): void {
183
- const related = (report as unknown as Record<string, unknown>).relatedDocuments;
184
- if (!related || typeof related !== "object") return;
185
-
186
- for (const [relatedUri, relatedReport] of Object.entries(
187
- related as Record<string, DocumentDiagnosticReport>,
188
- )) {
189
- if (relatedReport.kind === "full" && relatedReport.items) {
190
- accessClient(client).diagnosticStore.set(relatedUri, {
191
- diagnostics: relatedReport.items,
192
- receivedAt: Date.now(),
193
- resultId: relatedReport.resultId,
194
- });
195
- }
196
- }
197
- }
198
-
199
- /**
200
- * Wait until no publishDiagnostics notifications arrive for quietMs
201
- * after syncStart, or until maxWaitMs elapses.
202
- */
203
- async function waitForDiagnosticSettle(
204
- client: LspClient,
205
- syncStart: number,
206
- maxWaitMs: number,
207
- quietMs: number,
208
- ): Promise<void> {
209
- const deadline = syncStart + maxWaitMs;
210
-
211
- while (Date.now() < deadline) {
212
- const lastReceived = lastDiagnosticReceivedTimeAfter(client, syncStart) || syncStart;
213
- const elapsed = Date.now() - lastReceived;
214
- if (elapsed >= quietMs) {
215
- return;
216
- }
217
-
218
- await new Promise((resolve) =>
219
- setTimeout(resolve, Math.min(quietMs - elapsed, deadline - Date.now(), 50)),
220
- );
221
- }
222
- }
223
-
224
- /** Get the most recent receivedAt timestamp after a given time. */
225
- function lastDiagnosticReceivedTimeAfter(client: LspClient, afterTime: number): number {
226
- let latest = 0;
227
- const store = accessClient(client).diagnosticStore as Map<string, { receivedAt: number }>;
228
- for (const entry of store.values()) {
229
- if (entry.receivedAt > afterTime && entry.receivedAt > latest) {
230
- latest = entry.receivedAt;
231
- }
232
- }
233
- return latest;
234
- }
@@ -1,99 +0,0 @@
1
- // Diagnostic formatting and severity utilities.
2
-
3
- import * as path from "node:path";
4
- import type { Diagnostic } from "../config/types.ts";
5
-
6
- /** Map severity number to label. */
7
- export function severityLabel(severity: number | undefined): string {
8
- switch (severity) {
9
- case 1:
10
- return "error";
11
- case 2:
12
- return "warning";
13
- case 3:
14
- return "info";
15
- case 4:
16
- return "hint";
17
- default:
18
- return "unknown";
19
- }
20
- }
21
-
22
- /** Map severity number to emoji. */
23
- function severityIcon(severity: number | undefined): string {
24
- switch (severity) {
25
- case 1:
26
- return "❌";
27
- case 2:
28
- return "⚠️";
29
- case 3:
30
- return "ℹ️";
31
- case 4:
32
- return "💡";
33
- default:
34
- return "❓";
35
- }
36
- }
37
-
38
- /**
39
- * Format a single diagnostic for display.
40
- * Output: "❌ error [source] (line:col): message"
41
- */
42
- export function formatDiagnostic(diag: Diagnostic): string {
43
- const icon = severityIcon(diag.severity);
44
- const sev = severityLabel(diag.severity);
45
- const line = diag.range.start.line + 1; // Convert 0-based to 1-based
46
- const col = diag.range.start.character + 1;
47
- const source = diag.source ? ` [${diag.source}]` : "";
48
- const code = diag.code !== undefined ? ` (${diag.code})` : "";
49
- const msg = typeof diag.message === "string" ? diag.message : diag.message.value;
50
- return `${icon} ${sev}${source}${code} (${line}:${col}): ${msg}`;
51
- }
52
-
53
- /**
54
- * Format a list of diagnostics for a file.
55
- */
56
- export function formatDiagnostics(
57
- filePath: string,
58
- diagnostics: Diagnostic[],
59
- cwd: string,
60
- ): string {
61
- if (diagnostics.length === 0) return "No diagnostics.";
62
-
63
- const relPath = path.relative(cwd, filePath);
64
- const lines = [`**${relPath}**:`];
65
-
66
- for (const diag of diagnostics) {
67
- lines.push(` ${formatDiagnostic(diag)}`);
68
- }
69
-
70
- return lines.join("\n");
71
- }
72
-
73
- /**
74
- * Format diagnostics grouped by file.
75
- */
76
- export function formatGroupedDiagnostics(
77
- entries: Array<{ file: string; diagnostics: Diagnostic[] }>,
78
- cwd: string,
79
- ): string {
80
- if (entries.length === 0) return "No diagnostics across any files.";
81
-
82
- const sections: string[] = [];
83
- for (const entry of entries) {
84
- if (entry.diagnostics.length > 0) {
85
- sections.push(formatDiagnostics(entry.file, entry.diagnostics, cwd));
86
- }
87
- }
88
-
89
- return sections.length > 0 ? sections.join("\n\n") : "No diagnostics.";
90
- }
91
-
92
- /**
93
- * Filter diagnostics by severity threshold.
94
- * Returns diagnostics with severity <= maxSeverity.
95
- * Severity 1 = error, 2 = warning, 3 = info, 4 = hint.
96
- */
97
- export function filterBySeverity(diagnostics: Diagnostic[], maxSeverity: number): Diagnostic[] {
98
- return diagnostics.filter((d) => d.severity !== undefined && d.severity <= maxSeverity);
99
- }
@@ -1,60 +0,0 @@
1
- import type { Diagnostic } from "../config/types.ts";
2
-
3
- const SUPPRESSION_WARNING_SEVERITY = 2;
4
-
5
- /** Detect diagnostics that represent stale suppression comments. */
6
- export function isStaleSuppressionDiagnostic(diagnostic: Diagnostic): boolean {
7
- const rawMessage =
8
- typeof diagnostic.message === "string" ? diagnostic.message : diagnostic.message.value;
9
- const message = rawMessage.toLowerCase();
10
-
11
- if (message.includes("unused '@ts-expect-error' directive")) {
12
- return true;
13
- }
14
-
15
- if (diagnostic.source !== "biome") {
16
- return false;
17
- }
18
-
19
- return (
20
- message.includes("suppression comment has no effect") || message.includes("unused suppression")
21
- );
22
- }
23
-
24
- /**
25
- * Split diagnostics into regular inline diagnostics and stale suppression cleanup.
26
- *
27
- * Stale suppression warnings stay visible even when regular inline diagnostics are
28
- * configured to show errors only.
29
- */
30
- export function splitSuppressionDiagnostics(
31
- diagnostics: Diagnostic[],
32
- maxSeverity: number,
33
- ): {
34
- regular: Diagnostic[];
35
- suppressions: Diagnostic[];
36
- } {
37
- const suppressionMaxSeverity = Math.max(maxSeverity, SUPPRESSION_WARNING_SEVERITY);
38
- const regular: Diagnostic[] = [];
39
- const suppressions: Diagnostic[] = [];
40
-
41
- for (const diagnostic of diagnostics) {
42
- const severity = diagnostic.severity;
43
- if (severity === undefined) {
44
- continue;
45
- }
46
-
47
- if (isStaleSuppressionDiagnostic(diagnostic)) {
48
- if (severity <= suppressionMaxSeverity) {
49
- suppressions.push(diagnostic);
50
- }
51
- continue;
52
- }
53
-
54
- if (severity <= maxSeverity) {
55
- regular.push(diagnostic);
56
- }
57
- }
58
-
59
- return { regular, suppressions };
60
- }
package/src/index.ts DELETED
@@ -1,41 +0,0 @@
1
- // Public library entrypoint for @mrclrchtr/supi-lsp/api.
2
- // Consumers should import the published API surface from
3
- // `@mrclrchtr/supi-lsp/api`, not the package root.
4
-
5
- export type { LspSettings } from "./config/lsp-settings.ts";
6
- export {
7
- getLspDisabledMessage,
8
- loadLspSettings,
9
- } from "./config/lsp-settings.ts";
10
- export type {
11
- CodeAction,
12
- Diagnostic,
13
- DocumentSymbol,
14
- Hover,
15
- Location,
16
- LocationLink,
17
- Position,
18
- ProjectServerInfo,
19
- Range,
20
- SymbolInformation,
21
- WorkspaceEdit,
22
- WorkspaceSymbol,
23
- } from "./config/types.ts";
24
- export { toLspPosition, toOneBasedPosition } from "./coordinates.ts";
25
- export type {
26
- LspControllerState,
27
- LspStartResult,
28
- } from "./session/runtime-controller.ts";
29
- export { LspRuntimeController } from "./session/runtime-controller.ts";
30
- export type {
31
- OutstandingDiagnosticSummaryEntry,
32
- RecoverDiagnosticsResult,
33
- SemanticReadinessResult,
34
- WorkspaceDiagnosticSummaryEntry,
35
- WorkspaceLspRuntime,
36
- WorkspaceLspRuntimeState,
37
- } from "./session/runtime-registry.ts";
38
- export {
39
- getWorkspaceLspRuntime,
40
- waitForWorkspaceLspRuntime,
41
- } from "./session/runtime-registry.ts";