pi-readseek 0.9.3 → 0.9.5
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/dist/index.ts +1059 -383
- package/package.json +2 -2
- package/prompts/def.md +1 -1
- package/prompts/refs.md +4 -4
- package/prompts/search.md +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-readseek",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.5",
|
|
4
4
|
"description": "Pi extension for LINE:HASH-anchored file operations and structural code navigation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"node": ">=20.0.0"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@jarkkojs/readseek": "^0.9.
|
|
43
|
+
"@jarkkojs/readseek": "^0.9.5",
|
|
44
44
|
"diff": "^9.0.0",
|
|
45
45
|
"xxhash-wasm": "^1.1.0"
|
|
46
46
|
},
|
package/prompts/def.md
CHANGED
|
@@ -4,7 +4,7 @@ Go to a symbol definition or declaration by name. Accepts qualified or unqualifi
|
|
|
4
4
|
|
|
5
5
|
- `name` — qualified or unqualified symbol name.
|
|
6
6
|
- `path` — file or directory; defaults to the current directory.
|
|
7
|
-
- `
|
|
7
|
+
- `language` — language override when detection is ambiguous.
|
|
8
8
|
- `cached`, `others`, `ignored` — Git file selection; `ignored` requires
|
|
9
9
|
`others`.
|
|
10
10
|
|
package/prompts/refs.md
CHANGED
|
@@ -2,14 +2,14 @@ Find references or usages of an identifier by name or cursor binding. Results in
|
|
|
2
2
|
|
|
3
3
|
## Parameters
|
|
4
4
|
|
|
5
|
-
- `name` — identifier to find
|
|
5
|
+
- `name` — identifier to find; required unless `scope` is set with `line`.
|
|
6
6
|
- `path` — file or directory; defaults to the current directory.
|
|
7
|
-
- `
|
|
7
|
+
- `language` — language override for ambiguous, extensionless, or generated source.
|
|
8
8
|
- `scope` — restrict results to the binding at `line` / `column` in one file;
|
|
9
|
-
requires `line`.
|
|
9
|
+
requires `line`. `name` is optional when scoped.
|
|
10
10
|
- `line` — one-based cursor line used with `scope`.
|
|
11
11
|
- `column` — optional one-based cursor byte column for disambiguation; used with
|
|
12
|
-
`scope`.
|
|
12
|
+
`scope`. Cursor fields require `scope`.
|
|
13
13
|
- `cached` — search tracked/indexed files in a Git repository.
|
|
14
14
|
- `others` — search untracked files in a Git repository.
|
|
15
15
|
- `ignored` — include ignored untracked files; requires `others`.
|
package/prompts/search.md
CHANGED
|
@@ -4,7 +4,7 @@ Search code by AST structure using ast-grep-style patterns. Results include line
|
|
|
4
4
|
|
|
5
5
|
- `pattern` — AST pattern to match.
|
|
6
6
|
- `path` — file or directory; defaults to the current directory.
|
|
7
|
-
- `
|
|
7
|
+
- `language` — language override for ambiguous, extensionless, generated, or
|
|
8
8
|
JSX-like source.
|
|
9
9
|
- `cached` — search tracked/indexed files in a Git repository.
|
|
10
10
|
- `others` — search untracked files in a Git repository.
|