pi-readseek 0.7.7 → 0.7.8
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 +28 -46
- package/dist/index.js +7333 -0
- package/package.json +8 -7
- package/index.ts +0 -147
- package/src/binary-detect.ts +0 -22
- package/src/check.ts +0 -92
- package/src/coerce-obvious-int.ts +0 -41
- package/src/confusable-hyphens.ts +0 -6
- package/src/def.ts +0 -143
- package/src/diff-data.ts +0 -302
- package/src/edit-classify.ts +0 -58
- package/src/edit-diff.ts +0 -359
- package/src/edit-output.ts +0 -110
- package/src/edit-render-helpers.ts +0 -141
- package/src/edit-syntax-validate.ts +0 -65
- package/src/edit.ts +0 -686
- package/src/file-map.ts +0 -17
- package/src/fs-error.ts +0 -33
- package/src/grep-budget.ts +0 -35
- package/src/grep-output.ts +0 -181
- package/src/grep-render-helpers.ts +0 -77
- package/src/grep-symbol-scope.ts +0 -184
- package/src/grep.ts +0 -608
- package/src/hashline.ts +0 -736
- package/src/hover.ts +0 -140
- package/src/path-utils.ts +0 -24
- package/src/pending-diff-preview.ts +0 -269
- package/src/read-local-bundle.ts +0 -75
- package/src/read-output.ts +0 -186
- package/src/read-render-helpers.ts +0 -104
- package/src/read.ts +0 -661
- package/src/readseek/constants.ts +0 -17
- package/src/readseek/enums.ts +0 -38
- package/src/readseek/formatter.ts +0 -350
- package/src/readseek/symbol-error-format.ts +0 -18
- package/src/readseek/symbol-lookup.ts +0 -240
- package/src/readseek/symbol-tree.ts +0 -21
- package/src/readseek/types.ts +0 -49
- package/src/readseek-client.ts +0 -1250
- package/src/readseek-params.ts +0 -39
- package/src/readseek-settings.ts +0 -263
- package/src/readseek-value.ts +0 -184
- package/src/refs-output.ts +0 -47
- package/src/refs.ts +0 -161
- package/src/register-tool.ts +0 -29
- package/src/rename.ts +0 -182
- package/src/replace-symbol.ts +0 -77
- package/src/runtime.ts +0 -3
- package/src/search-output.ts +0 -50
- package/src/search.ts +0 -214
- package/src/session-anchors.ts +0 -34
- package/src/stat-search-path.ts +0 -29
- package/src/syntax-validate-mode.ts +0 -15
- package/src/tool-prompt-metadata.ts +0 -107
- package/src/tool-types.ts +0 -12
- package/src/tui-diff-component.ts +0 -108
- package/src/tui-diff-renderer.ts +0 -92
- package/src/tui-render-utils.ts +0 -286
- package/src/view.ts +0 -158
- package/src/write.ts +0 -357
package/src/readseek/types.ts
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import type { DetailLevel, SymbolKind } from "./enums.js";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Represents a symbol extracted from a file.
|
|
5
|
-
*/
|
|
6
|
-
export interface FileSymbol {
|
|
7
|
-
/** Symbol name (e.g., class name, function name) */
|
|
8
|
-
name: string;
|
|
9
|
-
/** Symbol kind */
|
|
10
|
-
kind: SymbolKind;
|
|
11
|
-
/** Starting line number (1-indexed) */
|
|
12
|
-
startLine: number;
|
|
13
|
-
/** Ending line number (1-indexed) */
|
|
14
|
-
endLine: number;
|
|
15
|
-
/** Child symbols (for nested structures like methods in classes) */
|
|
16
|
-
children?: FileSymbol[];
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Information about truncated symbol display.
|
|
21
|
-
*/
|
|
22
|
-
export interface TruncatedInfo {
|
|
23
|
-
/** Total number of symbols in the original file */
|
|
24
|
-
totalSymbols: number;
|
|
25
|
-
/** Number of symbols shown in the truncated view */
|
|
26
|
-
shownSymbols: number;
|
|
27
|
-
/** Number of symbols omitted from the truncated view */
|
|
28
|
-
omittedSymbols: number;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Result of generating a file map.
|
|
33
|
-
*/
|
|
34
|
-
export interface FileMap {
|
|
35
|
-
/** Absolute file path */
|
|
36
|
-
path: string;
|
|
37
|
-
/** Total line count */
|
|
38
|
-
totalLines: number;
|
|
39
|
-
/** Total file size in bytes */
|
|
40
|
-
totalBytes: number;
|
|
41
|
-
/** Detected language */
|
|
42
|
-
language: string;
|
|
43
|
-
/** Extracted symbols */
|
|
44
|
-
symbols: FileSymbol[];
|
|
45
|
-
/** Detail level used for this map */
|
|
46
|
-
detailLevel: DetailLevel;
|
|
47
|
-
/** Truncation metadata (present when symbols are truncated) */
|
|
48
|
-
truncatedInfo?: TruncatedInfo;
|
|
49
|
-
}
|