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.
Files changed (60) hide show
  1. package/README.md +28 -46
  2. package/dist/index.js +7333 -0
  3. package/package.json +8 -7
  4. package/index.ts +0 -147
  5. package/src/binary-detect.ts +0 -22
  6. package/src/check.ts +0 -92
  7. package/src/coerce-obvious-int.ts +0 -41
  8. package/src/confusable-hyphens.ts +0 -6
  9. package/src/def.ts +0 -143
  10. package/src/diff-data.ts +0 -302
  11. package/src/edit-classify.ts +0 -58
  12. package/src/edit-diff.ts +0 -359
  13. package/src/edit-output.ts +0 -110
  14. package/src/edit-render-helpers.ts +0 -141
  15. package/src/edit-syntax-validate.ts +0 -65
  16. package/src/edit.ts +0 -686
  17. package/src/file-map.ts +0 -17
  18. package/src/fs-error.ts +0 -33
  19. package/src/grep-budget.ts +0 -35
  20. package/src/grep-output.ts +0 -181
  21. package/src/grep-render-helpers.ts +0 -77
  22. package/src/grep-symbol-scope.ts +0 -184
  23. package/src/grep.ts +0 -608
  24. package/src/hashline.ts +0 -736
  25. package/src/hover.ts +0 -140
  26. package/src/path-utils.ts +0 -24
  27. package/src/pending-diff-preview.ts +0 -269
  28. package/src/read-local-bundle.ts +0 -75
  29. package/src/read-output.ts +0 -186
  30. package/src/read-render-helpers.ts +0 -104
  31. package/src/read.ts +0 -661
  32. package/src/readseek/constants.ts +0 -17
  33. package/src/readseek/enums.ts +0 -38
  34. package/src/readseek/formatter.ts +0 -350
  35. package/src/readseek/symbol-error-format.ts +0 -18
  36. package/src/readseek/symbol-lookup.ts +0 -240
  37. package/src/readseek/symbol-tree.ts +0 -21
  38. package/src/readseek/types.ts +0 -49
  39. package/src/readseek-client.ts +0 -1250
  40. package/src/readseek-params.ts +0 -39
  41. package/src/readseek-settings.ts +0 -263
  42. package/src/readseek-value.ts +0 -184
  43. package/src/refs-output.ts +0 -47
  44. package/src/refs.ts +0 -161
  45. package/src/register-tool.ts +0 -29
  46. package/src/rename.ts +0 -182
  47. package/src/replace-symbol.ts +0 -77
  48. package/src/runtime.ts +0 -3
  49. package/src/search-output.ts +0 -50
  50. package/src/search.ts +0 -214
  51. package/src/session-anchors.ts +0 -34
  52. package/src/stat-search-path.ts +0 -29
  53. package/src/syntax-validate-mode.ts +0 -15
  54. package/src/tool-prompt-metadata.ts +0 -107
  55. package/src/tool-types.ts +0 -12
  56. package/src/tui-diff-component.ts +0 -108
  57. package/src/tui-diff-renderer.ts +0 -92
  58. package/src/tui-render-utils.ts +0 -286
  59. package/src/view.ts +0 -158
  60. package/src/write.ts +0 -357
@@ -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
- }