pi-readseek 0.9.8 → 0.9.10
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 +5 -5
- package/dist/index.ts +1563 -1413
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
`pi-readseek` adds ReadSeek's anchored file operations, structural search,
|
|
4
4
|
symbol navigation, and document tools to Pi. Built-ins remain available unless
|
|
5
|
-
`overrideTools` maps `
|
|
5
|
+
`overrideTools` maps `edit`, `write`, or `grep` to a ReadSeek-backed
|
|
6
6
|
implementation.
|
|
7
7
|
|
|
8
8
|
## Install
|
|
@@ -12,7 +12,8 @@ pi install npm:pi-readseek
|
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
The package depends on `@jarkkojs/readseek`, which supplies the native binary on
|
|
15
|
-
supported platforms.
|
|
15
|
+
supported platforms. A user-managed `readseek` on `PATH` (for example a
|
|
16
|
+
system-package or developer install) takes precedence over the bundled binary.
|
|
16
17
|
|
|
17
18
|
## Tools
|
|
18
19
|
|
|
@@ -49,7 +50,6 @@ Defaults:
|
|
|
49
50
|
"maxBytes": 51200
|
|
50
51
|
},
|
|
51
52
|
"display": {
|
|
52
|
-
"read": "compact",
|
|
53
53
|
"grep": "compact",
|
|
54
54
|
"edit": "expanded",
|
|
55
55
|
"write": "expanded"
|
|
@@ -58,7 +58,7 @@ Defaults:
|
|
|
58
58
|
}
|
|
59
59
|
```
|
|
60
60
|
|
|
61
|
-
- `overrideTools`: any of `"
|
|
61
|
+
- `overrideTools`: any of `"edit"`, `"write"`, and `"grep"`.
|
|
62
62
|
- `imageMode`: `"auto"` uses Pi's native image input when available, `"on"`
|
|
63
63
|
always runs local analysis, and `"off"` skips standalone images. Image modes
|
|
64
64
|
are `all`, `ocr`, `caption`, and `objects`; in `"auto"`, `none` returns a
|
|
@@ -71,7 +71,7 @@ Defaults:
|
|
|
71
71
|
- `timeoutMs`: native command timeout in milliseconds.
|
|
72
72
|
- `grep.maxLines` and `grep.maxBytes`: output limits; larger values are clamped
|
|
73
73
|
to the defaults.
|
|
74
|
-
- `display`: initial `"compact"` or `"expanded"` state for `
|
|
74
|
+
- `display`: initial `"compact"` or `"expanded"` state for `grep`,
|
|
75
75
|
`edit`, and `write` results.
|
|
76
76
|
|
|
77
77
|
## Development
|