@mrclrchtr/supi-code-intelligence 4.9.0 → 5.0.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.
- package/README.md +2 -1
- package/node_modules/@mrclrchtr/supi-code-runtime/README.md +2 -0
- package/node_modules/@mrclrchtr/supi-code-runtime/package.json +1 -1
- package/node_modules/@mrclrchtr/supi-code-runtime/src/api.ts +9 -0
- package/node_modules/@mrclrchtr/supi-code-runtime/src/capability/types.ts +53 -13
- package/node_modules/@mrclrchtr/supi-code-runtime/src/request-control.ts +47 -0
- package/node_modules/@mrclrchtr/supi-code-runtime/src/types.ts +13 -1
- package/node_modules/@mrclrchtr/supi-core/README.md +2 -0
- package/node_modules/@mrclrchtr/supi-core/package.json +1 -1
- package/node_modules/@mrclrchtr/supi-core/src/config/config.ts +31 -0
- package/node_modules/@mrclrchtr/supi-core/src/config.ts +2 -0
- package/node_modules/@mrclrchtr/supi-core/src/debug-registry.ts +19 -3
- package/node_modules/@mrclrchtr/supi-core/src/debug-timing.ts +34 -21
- package/node_modules/@mrclrchtr/supi-core/src/settings/settings-registry.ts +3 -0
- package/node_modules/@mrclrchtr/supi-lsp/README.md +80 -5
- package/node_modules/@mrclrchtr/supi-lsp/node_modules/@mrclrchtr/supi-code-runtime/README.md +2 -0
- package/node_modules/@mrclrchtr/supi-lsp/node_modules/@mrclrchtr/supi-code-runtime/package.json +1 -1
- package/node_modules/@mrclrchtr/supi-lsp/node_modules/@mrclrchtr/supi-code-runtime/src/api.ts +9 -0
- package/node_modules/@mrclrchtr/supi-lsp/node_modules/@mrclrchtr/supi-code-runtime/src/capability/types.ts +53 -13
- package/node_modules/@mrclrchtr/supi-lsp/node_modules/@mrclrchtr/supi-code-runtime/src/request-control.ts +47 -0
- package/node_modules/@mrclrchtr/supi-lsp/node_modules/@mrclrchtr/supi-code-runtime/src/types.ts +13 -1
- package/node_modules/@mrclrchtr/supi-lsp/node_modules/@mrclrchtr/supi-core/README.md +2 -0
- package/node_modules/@mrclrchtr/supi-lsp/node_modules/@mrclrchtr/supi-core/package.json +1 -1
- package/node_modules/@mrclrchtr/supi-lsp/node_modules/@mrclrchtr/supi-core/src/config/config.ts +31 -0
- package/node_modules/@mrclrchtr/supi-lsp/node_modules/@mrclrchtr/supi-core/src/config.ts +2 -0
- package/node_modules/@mrclrchtr/supi-lsp/node_modules/@mrclrchtr/supi-core/src/debug-registry.ts +19 -3
- package/node_modules/@mrclrchtr/supi-lsp/node_modules/@mrclrchtr/supi-core/src/debug-timing.ts +34 -21
- package/node_modules/@mrclrchtr/supi-lsp/node_modules/@mrclrchtr/supi-core/src/settings/settings-registry.ts +3 -0
- package/node_modules/@mrclrchtr/supi-lsp/package.json +7 -6
- package/node_modules/@mrclrchtr/supi-lsp/src/api.ts +10 -0
- package/node_modules/@mrclrchtr/supi-lsp/src/client/client-diagnostic-cache.ts +206 -0
- package/node_modules/@mrclrchtr/supi-lsp/src/client/client-diagnostic-capabilities.ts +78 -0
- package/node_modules/@mrclrchtr/supi-lsp/src/client/client-diagnostic-collection.ts +114 -0
- package/node_modules/@mrclrchtr/supi-lsp/src/client/client-diagnostic-evidence.ts +372 -0
- package/node_modules/@mrclrchtr/supi-lsp/src/client/client-diagnostic-host.ts +14 -0
- package/node_modules/@mrclrchtr/supi-lsp/src/client/client-diagnostic-pull.ts +62 -0
- package/node_modules/@mrclrchtr/supi-lsp/src/client/client-diagnostic-refresh.ts +491 -0
- package/node_modules/@mrclrchtr/supi-lsp/src/client/client-diagnostic-request.ts +9 -0
- package/node_modules/@mrclrchtr/supi-lsp/src/client/client-diagnostic-timing.ts +215 -0
- package/node_modules/@mrclrchtr/supi-lsp/src/client/client-diagnostic-waiters.ts +206 -0
- package/node_modules/@mrclrchtr/supi-lsp/src/client/client-diagnostics.ts +370 -266
- package/node_modules/@mrclrchtr/supi-lsp/src/client/client-document-state.ts +52 -0
- package/node_modules/@mrclrchtr/supi-lsp/src/client/client-document-sync.ts +185 -0
- package/node_modules/@mrclrchtr/supi-lsp/src/client/client-file-state.ts +25 -0
- package/node_modules/@mrclrchtr/supi-lsp/src/client/client.ts +467 -115
- package/node_modules/@mrclrchtr/supi-lsp/src/client/transport.ts +238 -11
- package/node_modules/@mrclrchtr/supi-lsp/src/config/capabilities.ts +10 -1
- package/node_modules/@mrclrchtr/supi-lsp/src/config/defaults.json +1 -1
- package/node_modules/@mrclrchtr/supi-lsp/src/debug-telemetry.ts +45 -0
- package/node_modules/@mrclrchtr/supi-lsp/src/diagnostics/evidence.ts +38 -0
- package/node_modules/@mrclrchtr/supi-lsp/src/manager/manager-client-state.ts +79 -9
- package/node_modules/@mrclrchtr/supi-lsp/src/manager/manager-diagnostics.ts +13 -4
- package/node_modules/@mrclrchtr/supi-lsp/src/manager/manager-workspace-recovery.ts +300 -24
- package/node_modules/@mrclrchtr/supi-lsp/src/manager/manager-workspace-symbol.ts +5 -2
- package/node_modules/@mrclrchtr/supi-lsp/src/manager/manager.ts +464 -96
- package/node_modules/@mrclrchtr/supi-lsp/src/provider/lsp-refactor-provider.ts +130 -0
- package/node_modules/@mrclrchtr/supi-lsp/src/provider/lsp-semantic-provider.ts +45 -329
- package/node_modules/@mrclrchtr/supi-lsp/src/provider/refactor-planning.ts +57 -120
- package/node_modules/@mrclrchtr/supi-lsp/src/provider/semantic-edit-normalizer.ts +320 -0
- package/node_modules/@mrclrchtr/supi-lsp/src/provider/semantic-symbol-mapper.ts +207 -0
- package/node_modules/@mrclrchtr/supi-lsp/src/session/readiness.ts +72 -2
- package/node_modules/@mrclrchtr/supi-lsp/src/session/runtime-controller.ts +151 -26
- package/node_modules/@mrclrchtr/supi-lsp/src/session/runtime-diagnostic-surface.ts +40 -0
- package/node_modules/@mrclrchtr/supi-lsp/src/session/runtime-diagnostics.ts +50 -0
- package/node_modules/@mrclrchtr/supi-lsp/src/session/runtime-registry.ts +136 -120
- package/node_modules/@mrclrchtr/supi-lsp/src/session/runtime-transition-debug.ts +49 -0
- package/node_modules/@mrclrchtr/supi-lsp/src/session/workspace-lsp-runtime.ts +102 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/README.md +26 -6
- package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/@mrclrchtr/supi-code-runtime/README.md +2 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/@mrclrchtr/supi-code-runtime/package.json +1 -1
- package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/@mrclrchtr/supi-code-runtime/src/api.ts +9 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/@mrclrchtr/supi-code-runtime/src/capability/types.ts +53 -13
- package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/@mrclrchtr/supi-code-runtime/src/request-control.ts +47 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/@mrclrchtr/supi-code-runtime/src/types.ts +13 -1
- package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/@mrclrchtr/supi-core/README.md +2 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/@mrclrchtr/supi-core/package.json +1 -1
- package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/@mrclrchtr/supi-core/src/config/config.ts +31 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/@mrclrchtr/supi-core/src/config.ts +2 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/@mrclrchtr/supi-core/src/debug-registry.ts +19 -3
- package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/@mrclrchtr/supi-core/src/debug-timing.ts +34 -21
- package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/@mrclrchtr/supi-core/src/settings/settings-registry.ts +3 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/jiti/LICENSE +21 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/jiti/README.md +258 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/jiti/dist/babel.cjs +257 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/jiti/dist/jiti.cjs +1 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/jiti/lib/jiti-cli.mjs +34 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/jiti/lib/jiti-hooks.mjs +124 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/jiti/lib/jiti-native.mjs +121 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/jiti/lib/jiti-register.d.mts +1 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/jiti/lib/jiti-register.mjs +4 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/jiti/lib/jiti-static.mjs +23 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/jiti/lib/jiti.cjs +30 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/jiti/lib/jiti.d.cts +8 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/jiti/lib/jiti.d.mts +8 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/jiti/lib/jiti.mjs +29 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/jiti/lib/types.d.ts +420 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/jiti/package.json +146 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/web-tree-sitter/debug/web-tree-sitter.wasm +0 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/web-tree-sitter/debug/web-tree-sitter.wasm.map +4 -4
- package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/web-tree-sitter/package.json +1 -1
- package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/web-tree-sitter/web-tree-sitter.wasm +0 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/web-tree-sitter/web-tree-sitter.wasm.map +4 -4
- package/node_modules/@mrclrchtr/supi-tree-sitter/package.json +7 -3
- package/node_modules/@mrclrchtr/supi-tree-sitter/resources/grammars/kotlin/tree-sitter-kotlin.wasm.json +1 -1
- package/node_modules/@mrclrchtr/supi-tree-sitter/resources/grammars/sql/tree-sitter-sql.wasm.json +1 -1
- package/node_modules/@mrclrchtr/supi-tree-sitter/src/api.ts +0 -9
- package/node_modules/@mrclrchtr/supi-tree-sitter/src/index.ts +0 -8
- package/node_modules/@mrclrchtr/supi-tree-sitter/src/provider/tree-sitter-provider.ts +16 -12
- package/node_modules/@mrclrchtr/supi-tree-sitter/src/session/runtime-controller.ts +65 -87
- package/node_modules/@mrclrchtr/supi-tree-sitter/src/session/session.ts +47 -95
- package/node_modules/@mrclrchtr/supi-tree-sitter/src/session/structural-timing.ts +147 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/src/session/structural-worker-client-lifecycle.ts +39 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/src/session/structural-worker-client.ts +561 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/src/session/structural-worker-message-size.ts +24 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/src/session/structural-worker-protocol.ts +452 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/src/tool/call-sites.ts +4 -2
- package/node_modules/@mrclrchtr/supi-tree-sitter/src/tool/callees.ts +12 -4
- package/node_modules/@mrclrchtr/supi-tree-sitter/src/tool/exports.ts +4 -2
- package/node_modules/@mrclrchtr/supi-tree-sitter/src/tool/imports.ts +4 -2
- package/node_modules/@mrclrchtr/supi-tree-sitter/src/tool/node-at.ts +5 -3
- package/node_modules/@mrclrchtr/supi-tree-sitter/src/types.ts +33 -12
- package/node_modules/@mrclrchtr/supi-tree-sitter/src/worker/blocking-test-bootstrap.mjs +34 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/src/worker/bootstrap.mjs +8 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/src/worker/parsed-file-store-helpers.ts +23 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/src/worker/parsed-file-store.ts +400 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/src/worker/request-control.ts +48 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/src/worker/runtime-parser-helpers.ts +24 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/src/worker/runtime-query-helpers.ts +43 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/src/worker/runtime.ts +421 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/src/worker/service.ts +116 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/src/worker/worker-main.ts +201 -0
- package/package.json +5 -5
- package/src/analysis/health/diagnostics.ts +236 -24
- package/src/analysis/health/recovery.ts +6 -2
- package/src/analysis/provider.ts +58 -0
- package/src/analysis/readiness.ts +30 -9
- package/src/analysis/refactor/apply.ts +59 -20
- package/src/analysis/refactor/mutation-authority.ts +143 -0
- package/src/analysis/refactor/position.ts +47 -0
- package/src/analysis/refactor/safety.ts +18 -10
- package/src/analysis/relations/callees.ts +9 -1
- package/src/analysis/relations/types.ts +5 -2
- package/src/analysis/search/ast-scan-timing.ts +9 -4
- package/src/analysis/search/ast-scan.ts +1 -1
- package/src/analysis/search/deadline.ts +2 -2
- package/src/analysis/search/pattern-analysis.ts +46 -32
- package/src/analysis/search/pattern.ts +12 -2
- package/src/analysis/target/anchored.ts +20 -11
- package/src/analysis/target/file.ts +18 -11
- package/src/analysis/target/identity.ts +19 -3
- package/src/analysis/target/symbol.ts +36 -15
- package/src/api.ts +4 -0
- package/src/diagnostics/evidence.ts +51 -0
- package/src/session/capability-adapter.ts +12 -3
- package/src/session/find-workflow.ts +17 -7
- package/src/session/graph/collect.ts +18 -2
- package/src/session/graph-workflow.ts +19 -12
- package/src/session/health-refresh.ts +148 -0
- package/src/session/health-types.ts +37 -15
- package/src/session/health-workflow.ts +37 -39
- package/src/session/inspect/collect.ts +20 -3
- package/src/session/inspect-workflow.ts +10 -5
- package/src/session/orientation/collect.ts +10 -1
- package/src/session/orientation/context-facts.ts +3 -1
- package/src/session/orientation/context-sections.ts +20 -7
- package/src/session/orientation/gather.ts +17 -11
- package/src/session/orientation-types.ts +2 -1
- package/src/session/orientation-workflow.ts +15 -8
- package/src/session/refactor-plans.ts +2 -0
- package/src/session/refactor-workflow.ts +59 -14
- package/src/session/session.ts +4 -1
- package/src/session/target-workflow.ts +54 -23
- package/src/session/workflow-control.ts +7 -3
- package/src/substrate/lsp/lifecycle.ts +26 -46
- package/src/substrate/lsp/maintenance.ts +199 -25
- package/src/substrate/lsp/state.ts +2 -2
- package/src/substrate/workspace-provider-host.ts +25 -3
- package/src/tool/find/execute.ts +7 -1
- package/src/tool/find/render.ts +20 -3
- package/src/tool/find/tui.ts +23 -21
- package/src/tool/graph/execute.ts +23 -3
- package/src/tool/graph/tui.ts +59 -46
- package/src/tool/health/execute.ts +7 -2
- package/src/tool/health/markdown.ts +56 -14
- package/src/tool/health/refresh-status.ts +105 -0
- package/src/tool/health/tui.ts +95 -98
- package/src/tool/infra/workflow-control.ts +8 -0
- package/src/tool/inspect/execute.ts +7 -1
- package/src/tool/inspect/tui.ts +26 -18
- package/src/tool/orientation/execute.ts +21 -3
- package/src/tool/orientation/tui.ts +51 -35
- package/src/tool/refactor-apply/execute.ts +3 -0
- package/src/tool/refactor-apply/tui.ts +43 -25
- package/src/tool/refactor-plan/execute.ts +4 -0
- package/src/tool/refactor-plan/tui.ts +33 -20
- package/src/tool/register.ts +127 -22
- package/src/tool/resolve/execute.ts +18 -1
- package/src/tool/resolve/tui.ts +42 -24
- package/src/tool/result/display.ts +107 -0
- package/src/tool/result/errors.ts +20 -17
- package/src/tool/result/find.ts +52 -8
- package/src/tool/result/graph.ts +44 -1
- package/src/tool/result/health.ts +53 -1
- package/src/tool/result/inspect.ts +113 -1
- package/src/tool/result/orientation.ts +66 -14
- package/src/tool/result/refactor.ts +36 -4
- package/src/tool/result/resolve.ts +44 -7
- package/src/tool/result/types.ts +20 -0
- package/src/types/execution.ts +18 -5
- package/src/types/index.ts +8 -1
- package/src/ui/status-command.ts +5 -3
- package/src/ui/status-overlay.ts +4 -0
- package/src/ui/tui/common.ts +108 -10
- package/src/ui/tui/display.ts +48 -0
- package/node_modules/@mrclrchtr/supi-tree-sitter/src/session/runtime.ts +0 -247
package/node_modules/@mrclrchtr/supi-lsp/node_modules/@mrclrchtr/supi-code-runtime/src/api.ts
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
// Capability interfaces and availability states
|
|
10
10
|
export type {
|
|
11
11
|
CapabilityState,
|
|
12
|
+
CodeRequestControl,
|
|
12
13
|
SemanticProvider,
|
|
13
14
|
StructuralProvider,
|
|
14
15
|
StructuralResult,
|
|
@@ -21,6 +22,13 @@ export {
|
|
|
21
22
|
partialCodeQuery,
|
|
22
23
|
unavailableCodeQuery,
|
|
23
24
|
} from "./query-result.ts";
|
|
25
|
+
export {
|
|
26
|
+
CodeRequestDeadlineError,
|
|
27
|
+
isCodeRequestDeadlineError,
|
|
28
|
+
isCodeRequestInterrupted,
|
|
29
|
+
isCodeRequestInterruption,
|
|
30
|
+
throwIfCodeRequestInterrupted,
|
|
31
|
+
} from "./request-control.ts";
|
|
24
32
|
// Shared canonical types
|
|
25
33
|
export type {
|
|
26
34
|
CalleeDepth,
|
|
@@ -34,6 +42,7 @@ export type {
|
|
|
34
42
|
DeclarationNesting,
|
|
35
43
|
DisambiguationCandidate,
|
|
36
44
|
DocumentCodeSymbol,
|
|
45
|
+
DocumentEditPrecondition,
|
|
37
46
|
ExportData,
|
|
38
47
|
FileEdit,
|
|
39
48
|
ImportData,
|
|
@@ -43,6 +43,16 @@ export type CapabilityState =
|
|
|
43
43
|
|
|
44
44
|
// ── Provider interfaces ────────────────────────────────────────────────
|
|
45
45
|
|
|
46
|
+
/** Request control that adapters preserve and cooperative providers apply. */
|
|
47
|
+
export interface CodeRequestControl {
|
|
48
|
+
/** Opaque Debug Operation ID for work directly owned by one public Tool call. */
|
|
49
|
+
readonly operationId?: string;
|
|
50
|
+
/** Caller cancellation signal, when one exists. */
|
|
51
|
+
readonly signal?: AbortSignal;
|
|
52
|
+
/** Absolute wall-clock deadline in Unix epoch milliseconds. */
|
|
53
|
+
readonly deadline?: number;
|
|
54
|
+
}
|
|
55
|
+
|
|
46
56
|
/**
|
|
47
57
|
* Semantic analysis capability backed by a language server (LSP).
|
|
48
58
|
*
|
|
@@ -51,16 +61,31 @@ export type CapabilityState =
|
|
|
51
61
|
* null values are completed observations rather than capability failures.
|
|
52
62
|
*/
|
|
53
63
|
export interface SemanticProvider {
|
|
54
|
-
references(
|
|
64
|
+
references(
|
|
65
|
+
filePath: string,
|
|
66
|
+
position: CodePosition,
|
|
67
|
+
control?: CodeRequestControl,
|
|
68
|
+
): Promise<CodeQueryResult<CodeLocation[]>>;
|
|
55
69
|
implementation(
|
|
56
70
|
filePath: string,
|
|
57
71
|
position: CodePosition,
|
|
72
|
+
control?: CodeRequestControl,
|
|
58
73
|
): Promise<CodeQueryResult<CodeLocation[]>>;
|
|
59
|
-
documentSymbols(
|
|
60
|
-
|
|
74
|
+
documentSymbols(
|
|
75
|
+
filePath: string,
|
|
76
|
+
control?: CodeRequestControl,
|
|
77
|
+
): Promise<CodeQueryResult<DocumentCodeSymbol[]>>;
|
|
78
|
+
workspaceSymbols(
|
|
79
|
+
query: string,
|
|
80
|
+
control?: CodeRequestControl,
|
|
81
|
+
): Promise<CodeQueryResult<CodeSymbol[]>>;
|
|
61
82
|
|
|
62
83
|
/** Optional definition capability with explicit completed-empty semantics. */
|
|
63
|
-
definition?(
|
|
84
|
+
definition?(
|
|
85
|
+
filePath: string,
|
|
86
|
+
position: CodePosition,
|
|
87
|
+
control?: CodeRequestControl,
|
|
88
|
+
): Promise<CodeQueryResult<CodeLocation[]>>;
|
|
64
89
|
|
|
65
90
|
/**
|
|
66
91
|
* Optional hover capability. A completed `null` data value means the
|
|
@@ -69,6 +94,7 @@ export interface SemanticProvider {
|
|
|
69
94
|
hover?(
|
|
70
95
|
filePath: string,
|
|
71
96
|
position: CodePosition,
|
|
97
|
+
control?: CodeRequestControl,
|
|
72
98
|
): Promise<CodeQueryResult<{ contents: string; range?: SourceRange } | null>>;
|
|
73
99
|
|
|
74
100
|
/**
|
|
@@ -79,7 +105,7 @@ export interface SemanticProvider {
|
|
|
79
105
|
* organize imports, dead-code cleanup, etc.) without exposing that branching
|
|
80
106
|
* to callers.
|
|
81
107
|
*/
|
|
82
|
-
refactor?(request: RefactorRequest): Promise<RefactorResult>;
|
|
108
|
+
refactor?(request: RefactorRequest, control?: CodeRequestControl): Promise<RefactorResult>;
|
|
83
109
|
|
|
84
110
|
/**
|
|
85
111
|
* Optional rename capability. When present, the provider supports
|
|
@@ -88,7 +114,12 @@ export interface SemanticProvider {
|
|
|
88
114
|
* This remains a lower-level substrate helper for providers that expose
|
|
89
115
|
* symbol rename independently of their general refactor planner.
|
|
90
116
|
*/
|
|
91
|
-
rename?(
|
|
117
|
+
rename?(
|
|
118
|
+
file: string,
|
|
119
|
+
position: CodePosition,
|
|
120
|
+
newName: string,
|
|
121
|
+
control?: CodeRequestControl,
|
|
122
|
+
): Promise<RefactorResult>;
|
|
92
123
|
|
|
93
124
|
/**
|
|
94
125
|
* Optional code actions capability. When present, the provider
|
|
@@ -96,7 +127,11 @@ export interface SemanticProvider {
|
|
|
96
127
|
*
|
|
97
128
|
* Kept as a low-level substrate helper and for lightweight introspection.
|
|
98
129
|
*/
|
|
99
|
-
codeActions?(
|
|
130
|
+
codeActions?(
|
|
131
|
+
file: string,
|
|
132
|
+
position: CodePosition,
|
|
133
|
+
control?: CodeRequestControl,
|
|
134
|
+
): Promise<RefactorResult[]>;
|
|
100
135
|
}
|
|
101
136
|
|
|
102
137
|
/**
|
|
@@ -111,14 +146,19 @@ export interface StructuralProvider {
|
|
|
111
146
|
file: string,
|
|
112
147
|
line: number,
|
|
113
148
|
character: number,
|
|
114
|
-
depth?: CalleeDepth,
|
|
149
|
+
depthOrOptions?: CalleeDepth | { depth?: CalleeDepth; control?: CodeRequestControl },
|
|
115
150
|
): Promise<CodeResult<CalleesData>>;
|
|
116
|
-
exports(file: string): Promise<CodeResult<ExportData[]>>;
|
|
117
|
-
outline(file: string): Promise<CodeResult<OutlineData[]>>;
|
|
118
|
-
imports(file: string): Promise<CodeResult<ImportData[]>>;
|
|
119
|
-
nodeAt(
|
|
151
|
+
exports(file: string, control?: CodeRequestControl): Promise<CodeResult<ExportData[]>>;
|
|
152
|
+
outline(file: string, control?: CodeRequestControl): Promise<CodeResult<OutlineData[]>>;
|
|
153
|
+
imports(file: string, control?: CodeRequestControl): Promise<CodeResult<ImportData[]>>;
|
|
154
|
+
nodeAt(
|
|
155
|
+
file: string,
|
|
156
|
+
line: number,
|
|
157
|
+
character: number,
|
|
158
|
+
control?: CodeRequestControl,
|
|
159
|
+
): Promise<CodeResult<NodeAtData>>;
|
|
120
160
|
/** Find all call-site identifiers in a file. Returns name + start line for each match. */
|
|
121
|
-
callSites(file: string): Promise<CodeResult<CallSite[]>>;
|
|
161
|
+
callSites(file: string, control?: CodeRequestControl): Promise<CodeResult<CallSite[]>>;
|
|
122
162
|
}
|
|
123
163
|
|
|
124
164
|
/** Convenience alias for `CodeResult` used in structural contexts. */
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { CodeRequestControl } from "./capability/types.ts";
|
|
2
|
+
|
|
3
|
+
/** Error raised when an absolute code-request deadline has elapsed. */
|
|
4
|
+
export class CodeRequestDeadlineError extends Error {
|
|
5
|
+
constructor() {
|
|
6
|
+
super("Code request deadline exceeded");
|
|
7
|
+
this.name = "CodeRequestDeadlineError";
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/** Test whether request cancellation or its absolute deadline has elapsed. */
|
|
12
|
+
export function isCodeRequestInterrupted(
|
|
13
|
+
control: CodeRequestControl | undefined,
|
|
14
|
+
now: () => number = Date.now,
|
|
15
|
+
): boolean {
|
|
16
|
+
return (
|
|
17
|
+
control?.signal?.aborted === true ||
|
|
18
|
+
(control?.deadline !== undefined && now() >= control.deadline)
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/** Throw the caller abort reason or a canonical absolute-deadline error. */
|
|
23
|
+
export function throwIfCodeRequestInterrupted(
|
|
24
|
+
control: CodeRequestControl | undefined,
|
|
25
|
+
now: () => number = Date.now,
|
|
26
|
+
): void {
|
|
27
|
+
control?.signal?.throwIfAborted();
|
|
28
|
+
if (control?.deadline !== undefined && now() >= control.deadline) {
|
|
29
|
+
throw new CodeRequestDeadlineError();
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/** Identify an absolute-deadline error across bundled package copies. */
|
|
34
|
+
export function isCodeRequestDeadlineError(error: unknown): error is Error {
|
|
35
|
+
return (
|
|
36
|
+
error instanceof CodeRequestDeadlineError ||
|
|
37
|
+
(error instanceof Error && error.name === "CodeRequestDeadlineError")
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/** Identify an error caused by the supplied request control. */
|
|
42
|
+
export function isCodeRequestInterruption(
|
|
43
|
+
error: unknown,
|
|
44
|
+
control: CodeRequestControl | undefined,
|
|
45
|
+
): boolean {
|
|
46
|
+
return isCodeRequestDeadlineError(error) || control?.signal?.aborted === true;
|
|
47
|
+
}
|
package/node_modules/@mrclrchtr/supi-lsp/node_modules/@mrclrchtr/supi-code-runtime/src/types.ts
CHANGED
|
@@ -149,11 +149,18 @@ export interface FileEdit {
|
|
|
149
149
|
newText: string;
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
+
/** A document-state precondition established when semantic edits are normalized. */
|
|
153
|
+
export type DocumentEditPrecondition =
|
|
154
|
+
| { file: string; kind: "open-document-version"; version: number }
|
|
155
|
+
| { file: string; kind: "disk-content" };
|
|
156
|
+
|
|
152
157
|
/**
|
|
153
158
|
* A precise workspace edit — one or more file edits to apply atomically.
|
|
154
159
|
*/
|
|
155
160
|
export interface WorkspaceEdit {
|
|
156
161
|
edits: FileEdit[];
|
|
162
|
+
/** Document state that the semantic provider validated before it made this plan. */
|
|
163
|
+
documentPreconditions?: DocumentEditPrecondition[];
|
|
157
164
|
}
|
|
158
165
|
|
|
159
166
|
/**
|
|
@@ -202,7 +209,12 @@ export interface DisambiguationCandidate {
|
|
|
202
209
|
* - `unavailable`: refactoring not possible
|
|
203
210
|
*/
|
|
204
211
|
export type RefactorResult =
|
|
205
|
-
| {
|
|
212
|
+
| {
|
|
213
|
+
kind: "precise";
|
|
214
|
+
edits: WorkspaceEdit;
|
|
215
|
+
/** Provider roots authorized by the semantic route. Consumers canonicalize before storage. */
|
|
216
|
+
authorizedMutationRoots: string[];
|
|
217
|
+
}
|
|
206
218
|
| { kind: "ambiguous"; candidates: DisambiguationCandidate[] }
|
|
207
219
|
| { kind: "unavailable"; reason: string };
|
|
208
220
|
|
|
@@ -28,6 +28,7 @@ pnpm add @mrclrchtr/supi-core
|
|
|
28
28
|
- `loadSupiConfig()` — merged config with resolution order `defaults <- global <- project`
|
|
29
29
|
- `loadSupiConfigForScope()` — load one scope at a time for settings UIs
|
|
30
30
|
- `writeSupiConfig()` — persist values
|
|
31
|
+
- `replaceSupiConfigSection()` — replace one nested section while preserving other sections
|
|
31
32
|
- `removeSupiConfigKey()` — remove a key or override
|
|
32
33
|
|
|
33
34
|
Config file locations:
|
|
@@ -49,6 +50,7 @@ Config file locations:
|
|
|
49
50
|
|
|
50
51
|
- context-provider registry for `/supi-context`
|
|
51
52
|
- debug-event registry and monotonic phase timers for producers that want shared debug capture
|
|
53
|
+
- optional Debug Operation IDs for exact, directly owned public Tool-call correlation; ambient events stay uncorrelated
|
|
52
54
|
- settings registry used by `/supi-settings`
|
|
53
55
|
|
|
54
56
|
### Project and session helpers
|
package/node_modules/@mrclrchtr/supi-lsp/node_modules/@mrclrchtr/supi-core/src/config/config.ts
CHANGED
|
@@ -148,6 +148,37 @@ export function writeSupiConfig(
|
|
|
148
148
|
fs.writeFileSync(configPath, `${JSON.stringify(existing, null, 2)}\n`, "utf-8");
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
+
/**
|
|
152
|
+
* Replace one complete config section while preserving other sections.
|
|
153
|
+
*
|
|
154
|
+
* This is useful for nested settings that must remove stale keys as part of
|
|
155
|
+
* one update. An empty section is removed from the config file.
|
|
156
|
+
*/
|
|
157
|
+
export function replaceSupiConfigSection(
|
|
158
|
+
loc: SupiConfigLocation,
|
|
159
|
+
value: Record<string, unknown>,
|
|
160
|
+
options?: SupiConfigOptions,
|
|
161
|
+
): void {
|
|
162
|
+
const configPath = getSupiConfigPath(loc.scope, loc.cwd, options);
|
|
163
|
+
const existing = readJsonFile(configPath) ?? {};
|
|
164
|
+
|
|
165
|
+
if (Object.keys(value).length > 0) existing[loc.section] = value;
|
|
166
|
+
else delete existing[loc.section];
|
|
167
|
+
|
|
168
|
+
const content = Object.keys(existing).length > 0 ? `${JSON.stringify(existing, null, 2)}\n` : "";
|
|
169
|
+
if (content) {
|
|
170
|
+
fs.mkdirSync(path.dirname(configPath), { recursive: true });
|
|
171
|
+
fs.writeFileSync(configPath, content, "utf-8");
|
|
172
|
+
return;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
try {
|
|
176
|
+
fs.unlinkSync(configPath);
|
|
177
|
+
} catch {
|
|
178
|
+
// File may not exist.
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
151
182
|
/**
|
|
152
183
|
* Remove a key from a config section.
|
|
153
184
|
* Used by `interval default` to remove the project override.
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
// supi-core config domain — config loading.
|
|
2
2
|
export type { SupiConfigLocation, SupiConfigOptions } from "./config/config.ts";
|
|
3
3
|
export {
|
|
4
|
+
getSupiConfigPath,
|
|
4
5
|
loadSupiConfig,
|
|
5
6
|
loadSupiConfigForScope,
|
|
6
7
|
loadSupiConfigSectionForScope,
|
|
7
8
|
readJsonFile,
|
|
8
9
|
removeSupiConfigKey,
|
|
10
|
+
replaceSupiConfigSection,
|
|
9
11
|
writeSupiConfig,
|
|
10
12
|
} from "./config/config.ts";
|
package/node_modules/@mrclrchtr/supi-lsp/node_modules/@mrclrchtr/supi-core/src/debug-registry.ts
CHANGED
|
@@ -25,6 +25,8 @@ export const DEBUG_REGISTRY_DEFAULTS: DebugRegistryConfig = {
|
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
export interface DebugEventInput {
|
|
28
|
+
/** Opaque identity for events directly owned by one public Tool call. */
|
|
29
|
+
operationId?: string;
|
|
28
30
|
source: string;
|
|
29
31
|
level: DebugLevel;
|
|
30
32
|
category: string;
|
|
@@ -42,6 +44,8 @@ export interface DebugEvent extends DebugEventInput {
|
|
|
42
44
|
}
|
|
43
45
|
|
|
44
46
|
export interface DebugEventQuery {
|
|
47
|
+
/** Match one exact Debug Operation ID. */
|
|
48
|
+
operationId?: string;
|
|
45
49
|
source?: string;
|
|
46
50
|
level?: DebugLevel;
|
|
47
51
|
category?: string;
|
|
@@ -53,6 +57,7 @@ export interface DebugEventQuery {
|
|
|
53
57
|
export interface DebugEventView {
|
|
54
58
|
id: number;
|
|
55
59
|
timestamp: number;
|
|
60
|
+
operationId?: string;
|
|
56
61
|
source: string;
|
|
57
62
|
level: DebugLevel;
|
|
58
63
|
category: string;
|
|
@@ -84,6 +89,7 @@ interface DebugRegistryState {
|
|
|
84
89
|
}
|
|
85
90
|
|
|
86
91
|
const REGISTRY_KEY = Symbol.for("@mrclrchtr/supi-core/debug-registry");
|
|
92
|
+
const DEBUG_OPERATION_ID_RE = /^op-[A-Za-z0-9_-]{21}[AQgw]$/;
|
|
87
93
|
const SECRET_KEY_RE = /(?:token|password|passwd|secret|api[_-]?key|authorization|credential)/i;
|
|
88
94
|
const ENV_SECRET_RE =
|
|
89
95
|
/\b([A-Za-z0-9_]*(?:token|password|passwd|secret|api[_-]?key|authorization|credential)[A-Za-z0-9_]*)=(?:'[^']*'|"[^"]*"|\S+)/gi;
|
|
@@ -135,11 +141,17 @@ export function isDebugLevel(value: unknown): value is DebugLevel {
|
|
|
135
141
|
return value === "debug" || value === "info" || value === "warning" || value === "error";
|
|
136
142
|
}
|
|
137
143
|
|
|
138
|
-
/**
|
|
144
|
+
/** Return whether a value has the exact 16-byte base64url Debug Operation ID form. */
|
|
145
|
+
export function isDebugOperationId(value: unknown): value is string {
|
|
146
|
+
return typeof value === "string" && DEBUG_OPERATION_ID_RE.test(value);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/** Match a debug event against the supported exact filters. */
|
|
139
150
|
export function matchesDebugEventQuery(
|
|
140
|
-
event: Pick<DebugEventView, "source" | "level" | "category">,
|
|
141
|
-
query: Pick<DebugEventQuery, "source" | "level" | "category">,
|
|
151
|
+
event: Pick<DebugEventView, "operationId" | "source" | "level" | "category">,
|
|
152
|
+
query: Pick<DebugEventQuery, "operationId" | "source" | "level" | "category">,
|
|
142
153
|
): boolean {
|
|
154
|
+
if (query.operationId && event.operationId !== query.operationId) return false;
|
|
143
155
|
if (query.source && event.source !== query.source) return false;
|
|
144
156
|
if (query.level && event.level !== query.level) return false;
|
|
145
157
|
if (query.category && event.category !== query.category) return false;
|
|
@@ -197,6 +209,7 @@ function toSanitizedView(event: DebugEvent): DebugEventView {
|
|
|
197
209
|
return {
|
|
198
210
|
id: event.id,
|
|
199
211
|
timestamp: event.timestamp,
|
|
212
|
+
operationId: event.operationId,
|
|
200
213
|
source: event.source,
|
|
201
214
|
level: event.level,
|
|
202
215
|
category: event.category,
|
|
@@ -216,6 +229,9 @@ export function subscribeDebugEvents(listener: DebugEventListener): () => void {
|
|
|
216
229
|
/** Record a session-local debug event if debugging is enabled. */
|
|
217
230
|
export function recordDebugEvent(input: DebugEventInput): DebugEvent | null {
|
|
218
231
|
const state = getState();
|
|
232
|
+
if (input.operationId !== undefined && !isDebugOperationId(input.operationId)) {
|
|
233
|
+
return null;
|
|
234
|
+
}
|
|
219
235
|
if (!state.config.enabled) {
|
|
220
236
|
return null;
|
|
221
237
|
}
|
package/node_modules/@mrclrchtr/supi-lsp/node_modules/@mrclrchtr/supi-core/src/debug-timing.ts
CHANGED
|
@@ -46,13 +46,21 @@ export interface DebugTimer {
|
|
|
46
46
|
* names are accumulated. Event data reserves the `timing` field. When Debug is
|
|
47
47
|
* disabled at start, this returns a no-op timer and does not read the clock.
|
|
48
48
|
* Pass a factory to `finish()` to avoid event-data construction when disabled.
|
|
49
|
+
* Clock, event-construction, and registry failures are isolated from the
|
|
50
|
+
* measured operation and make the timer a no-op.
|
|
49
51
|
*/
|
|
50
52
|
export function startDebugTimer(options: DebugTimerOptions = {}): DebugTimer {
|
|
51
53
|
if (!isDebugRegistryEnabled()) return DISABLED_DEBUG_TIMER;
|
|
52
54
|
const now = options.now ?? performance.now.bind(performance);
|
|
53
|
-
|
|
55
|
+
let startedAt: number;
|
|
56
|
+
try {
|
|
57
|
+
startedAt = now();
|
|
58
|
+
} catch {
|
|
59
|
+
return DISABLED_DEBUG_TIMER;
|
|
60
|
+
}
|
|
54
61
|
let previousAt = startedAt;
|
|
55
62
|
let finished = false;
|
|
63
|
+
let failed = false;
|
|
56
64
|
const phases = new Map<string, number>();
|
|
57
65
|
|
|
58
66
|
const markAt = (phase: string, current: number): void => {
|
|
@@ -65,30 +73,35 @@ export function startDebugTimer(options: DebugTimerOptions = {}): DebugTimer {
|
|
|
65
73
|
return {
|
|
66
74
|
enabled: true,
|
|
67
75
|
mark(phase) {
|
|
68
|
-
if (finished) return;
|
|
69
|
-
|
|
76
|
+
if (finished || failed) return;
|
|
77
|
+
try {
|
|
78
|
+
markAt(phase, now());
|
|
79
|
+
} catch {
|
|
80
|
+
failed = true;
|
|
81
|
+
}
|
|
70
82
|
},
|
|
71
83
|
finish(input, finalPhase) {
|
|
72
|
-
if (finished) return null;
|
|
73
|
-
|
|
74
|
-
|
|
84
|
+
if (finished || failed) return null;
|
|
85
|
+
finished = true;
|
|
86
|
+
try {
|
|
87
|
+
if (!isDebugRegistryEnabled()) return null;
|
|
88
|
+
const completedAt = now();
|
|
89
|
+
if (finalPhase) markAt(finalPhase, completedAt);
|
|
90
|
+
const phasesMs = Object.fromEntries(
|
|
91
|
+
[...phases.entries()].map(([name, value]) => [name, duration(value)]),
|
|
92
|
+
);
|
|
93
|
+
const timing: DebugTiming = {
|
|
94
|
+
durationMs: duration(completedAt - startedAt),
|
|
95
|
+
phasesMs,
|
|
96
|
+
};
|
|
97
|
+
const eventInput = typeof input === "function" ? input() : input;
|
|
98
|
+
return recordDebugEvent({
|
|
99
|
+
...eventInput,
|
|
100
|
+
data: { ...eventInput.data, timing },
|
|
101
|
+
});
|
|
102
|
+
} catch {
|
|
75
103
|
return null;
|
|
76
104
|
}
|
|
77
|
-
const completedAt = now();
|
|
78
|
-
if (finalPhase) markAt(finalPhase, completedAt);
|
|
79
|
-
finished = true;
|
|
80
|
-
const phasesMs = Object.fromEntries(
|
|
81
|
-
[...phases.entries()].map(([name, value]) => [name, duration(value)]),
|
|
82
|
-
);
|
|
83
|
-
const timing: DebugTiming = {
|
|
84
|
-
durationMs: duration(completedAt - startedAt),
|
|
85
|
-
phasesMs,
|
|
86
|
-
};
|
|
87
|
-
const eventInput = typeof input === "function" ? input() : input;
|
|
88
|
-
return recordDebugEvent({
|
|
89
|
-
...eventInput,
|
|
90
|
-
data: { ...eventInput.data, timing },
|
|
91
|
-
});
|
|
92
105
|
},
|
|
93
106
|
};
|
|
94
107
|
}
|
|
@@ -41,7 +41,10 @@ export interface SettingsApplyResult {
|
|
|
41
41
|
*/
|
|
42
42
|
export interface SettingsModule {
|
|
43
43
|
id: string;
|
|
44
|
+
/** Human-readable section label shown in the UI. */
|
|
44
45
|
label: string;
|
|
46
|
+
/** Optional label that groups this module within its section. */
|
|
47
|
+
subsection?: string;
|
|
45
48
|
read(context: SettingsContext): Promise<SettingsSnapshot>;
|
|
46
49
|
apply(request: SettingsActionRequest): Promise<SettingsApplyResult>;
|
|
47
50
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mrclrchtr/supi-lsp",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "Language Server Protocol runtime for SuPi code intelligence",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"ignore": "^7.0.5",
|
|
36
36
|
"typescript": "6.0.3",
|
|
37
37
|
"vscode-jsonrpc": "^9.0.0",
|
|
38
|
-
"vscode-languageserver-protocol": "^3.
|
|
39
|
-
"vscode-languageserver-types": "^3.
|
|
40
|
-
"@mrclrchtr/supi-
|
|
41
|
-
"@mrclrchtr/supi-
|
|
38
|
+
"vscode-languageserver-protocol": "^3.18.0",
|
|
39
|
+
"vscode-languageserver-types": "^3.18.0",
|
|
40
|
+
"@mrclrchtr/supi-code-runtime": "5.0.0",
|
|
41
|
+
"@mrclrchtr/supi-core": "5.0.0"
|
|
42
42
|
},
|
|
43
43
|
"bundledDependencies": [
|
|
44
44
|
"@mrclrchtr/supi-code-runtime",
|
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
"exports": {
|
|
54
54
|
"./api": "./src/api.ts",
|
|
55
55
|
"./package.json": "./package.json",
|
|
56
|
-
"./provider/lsp-semantic-provider": "./src/provider/lsp-semantic-provider.ts"
|
|
56
|
+
"./provider/lsp-semantic-provider": "./src/provider/lsp-semantic-provider.ts",
|
|
57
|
+
"./debug-telemetry": "./src/debug-telemetry.ts"
|
|
57
58
|
}
|
|
58
59
|
}
|
|
@@ -33,16 +33,26 @@ export {
|
|
|
33
33
|
scanWorkspaceSentinels,
|
|
34
34
|
syncWorkspaceSentinelSnapshot,
|
|
35
35
|
} from "./diagnostics/workspace-sentinels.ts";
|
|
36
|
+
export { raceReadinessValue, raceRequestControl } from "./session/readiness.ts";
|
|
36
37
|
export type {
|
|
37
38
|
LspControllerState,
|
|
39
|
+
LspRuntimeTransition,
|
|
40
|
+
LspRuntimeTransitionKind,
|
|
41
|
+
LspRuntimeTransitionListener,
|
|
38
42
|
LspStartResult,
|
|
39
43
|
} from "./session/runtime-controller.ts";
|
|
40
44
|
export { LspRuntimeController } from "./session/runtime-controller.ts";
|
|
41
45
|
export type {
|
|
46
|
+
DiagnosticEvidenceDocument,
|
|
47
|
+
DiagnosticEvidenceStatus,
|
|
48
|
+
DiagnosticEvidenceSummary,
|
|
42
49
|
OutstandingDiagnosticSummaryEntry,
|
|
43
50
|
RecoverDiagnosticsResult,
|
|
51
|
+
RoutedMutationResponse,
|
|
44
52
|
SemanticReadinessResult,
|
|
53
|
+
WorkspaceDiagnosticSnapshot,
|
|
45
54
|
WorkspaceDiagnosticSummaryEntry,
|
|
55
|
+
WorkspaceLspDiagnosticSurface,
|
|
46
56
|
WorkspaceLspRuntime,
|
|
47
57
|
WorkspaceLspRuntimeState,
|
|
48
58
|
} from "./session/runtime-registry.ts";
|