pi-readseek 0.8.23 → 0.8.24

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 CHANGED
@@ -5675,7 +5675,7 @@ function formatGrepResultText(input) {
5675
5675
  // src/readseek-params.ts
5676
5676
  import { Type as Type4 } from "@sinclair/typebox";
5677
5677
  function searchPathParam() {
5678
- return Type4.Optional(Type4.String({ description: "File or directory to search" }));
5678
+ return Type4.Optional(Type4.String({ description: "File or directory to search; defaults to the current directory" }));
5679
5679
  }
5680
5680
  function langParam() {
5681
5681
  return Type4.Optional(Type4.String({ description: "Language override when auto-detection is ambiguous" }));
@@ -6638,7 +6638,7 @@ var HOVER_PROMPT_METADATA = defineToolPromptMetadata({
6638
6638
  var hoverSchema = Type9.Object({
6639
6639
  path: filePathParam(),
6640
6640
  line: Type9.Integer({ minimum: 1, description: "One-based cursor line" }),
6641
- column: Type9.Optional(Type9.Integer({ minimum: 1, description: "One-based cursor byte column" }))
6641
+ column: Type9.Optional(Type9.Integer({ minimum: 1, description: "One-based cursor byte column for disambiguation" }))
6642
6642
  });
6643
6643
  async function executeHover(opts) {
6644
6644
  const { params, signal, cwd } = opts;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-readseek",
3
- "version": "0.8.23",
3
+ "version": "0.8.24",
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.8.23",
43
+ "@jarkkojs/readseek": "^0.8.24",
44
44
  "diff": "^9.0.0",
45
45
  "xxhash-wasm": "^1.1.0"
46
46
  },
package/prompts/hover.md CHANGED
@@ -4,4 +4,4 @@ Inspect the symbol at a source location. This identifies the token and enclosing
4
4
 
5
5
  - `path` — source file.
6
6
  - `line` — one-based cursor line.
7
- - `column` — optional one-based cursor byte column.
7
+ - `column` — optional one-based cursor byte column for disambiguation.
package/prompts/refs.md CHANGED
@@ -1,4 +1,4 @@
1
- Find references or usages of an identifier by name or cursor binding. Results include enclosing symbols and edit-ready `LINE:HASH` anchors. Without cursor scope, results are identifier-name matches; with scope, they follow one binding and exclude shadows. Use text search for literal occurrences in strings or comments, and use this tool before renaming or deleting a symbol.
1
+ Find references or usages of an identifier by name or cursor binding. Results include enclosing symbols and line hashes usable as `LINE:HASH` anchors. Without cursor scope, results are identifier-name matches; with scope, they follow one binding and exclude shadows. Use text search for literal occurrences in strings or comments, and use this tool before renaming or deleting a symbol.
2
2
 
3
3
  ## Parameters
4
4
 
@@ -8,7 +8,7 @@ Find references or usages of an identifier by name or cursor binding. Results in
8
8
  - `scope` — restrict results to the binding at `line` / `column` in one file;
9
9
  requires `line`.
10
10
  - `line` — one-based cursor line used with `scope`.
11
- - `column` — optional one-based cursor byte column used with `scope`.
11
+ - `column` — optional one-based cursor byte column for disambiguation; used with `scope`.
12
12
  - `cached` — search tracked/indexed files in a Git repository.
13
13
  - `others` — search untracked files in a Git repository.
14
14
  - `ignored` — include ignored untracked files; requires `others`.
package/prompts/rename.md CHANGED
@@ -4,7 +4,7 @@ Rename a symbol at a source location. Resolvable same-named bindings are preserv
4
4
 
5
5
  - `path` — source file containing the cursor.
6
6
  - `line` — one-based cursor line.
7
- - `column` — optional one-based cursor byte column.
7
+ - `column` — optional one-based cursor byte column for disambiguation.
8
8
  - `to` — new plain identifier.
9
9
  - `workspace` — expand across the project. The cursor file remains binding-aware;
10
10
  other files use name matching where binding resolution is unavailable.
package/prompts/search.md CHANGED
@@ -1,4 +1,4 @@
1
- Search code by AST structure using ast-grep-style patterns. Results include edit-ready `LINE:HASH` anchors. Use `readSeek_grep` for identifiers, strings, comments, configuration, documentation, or other plain text and regex.
1
+ Search code by AST structure using ast-grep-style patterns. Results include line hashes usable as `LINE:HASH` anchors. Use `readSeek_grep` for identifiers, strings, comments, configuration, documentation, or other plain text and regex.
2
2
 
3
3
  ## Parameters
4
4