@mrclrchtr/supi-code-runtime 8.0.1 → 9.1.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/package.json +1 -1
- package/src/types.ts +10 -1
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -94,6 +94,10 @@ export type ConfidenceMode = "semantic" | "structural" | "heuristic" | "unavaila
|
|
|
94
94
|
export interface OutlineData {
|
|
95
95
|
name: string;
|
|
96
96
|
kind: string;
|
|
97
|
+
/** Exact 1-based start of the declaration name token, when known. */
|
|
98
|
+
nameAnchor?: SymbolAnchor;
|
|
99
|
+
/** Exclusive 1-based end of a verified literal name span, when known. */
|
|
100
|
+
nameEndAnchor?: SymbolAnchor;
|
|
97
101
|
startLine: number;
|
|
98
102
|
startCharacter: number;
|
|
99
103
|
endLine: number;
|
|
@@ -216,7 +220,12 @@ export type RefactorResult =
|
|
|
216
220
|
authorizedMutationRoots: string[];
|
|
217
221
|
}
|
|
218
222
|
| { kind: "ambiguous"; candidates: DisambiguationCandidate[] }
|
|
219
|
-
| {
|
|
223
|
+
| {
|
|
224
|
+
kind: "unavailable";
|
|
225
|
+
reason: string;
|
|
226
|
+
/** Roots authorized by the routed LSP client, when a route returned no edit. */
|
|
227
|
+
authorizedMutationRoots?: string[];
|
|
228
|
+
};
|
|
220
229
|
|
|
221
230
|
// ── Structural data shapes (value types, range-flattened) ──────────────
|
|
222
231
|
|