@jarkkojs/readseek 0.4.20 → 0.4.22

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 (2) hide show
  1. package/README.md +19 -0
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -47,6 +47,21 @@ Use `def --from-identify` to pipe `identify` JSON into definition lookup:
47
47
  readseek identify src/main.rs:42 --column 8 | readseek def --from-identify src --format plain
48
48
  ```
49
49
 
50
+ ## Images
51
+
52
+ `detect` reports format, dimensions, and animation status for images. Add a vision
53
+ flag to analyze image contents with the embedded Florence-2 model:
54
+
55
+ ```sh
56
+ readseek detect screenshot.png --transcribe # text + per-region bounding quads
57
+ readseek detect photo.jpg --caption # detailed natural-language caption
58
+ readseek detect photo.jpg --objects # object labels + bounding boxes
59
+ ```
60
+
61
+ The flags can be combined; the model loads once per invocation. The model is
62
+ embedded in the binary, so no download or network access is required at runtime.
63
+ Inference is CPU-only and takes a few seconds per image.
64
+
50
65
  ## Cache
51
66
 
52
67
  `readseek init [path]` creates a `.readseek/` directory containing map cache files
@@ -70,3 +85,7 @@ The JavaScript npm wrapper is licensed under `Apache-2.0`. The Rust source and
70
85
  native binaries are licensed under `LGPL-2.1-or-later`. Corresponding source for
71
86
  each published native binary is available from the GitHub repository tag that
72
87
  matches the package version.
88
+
89
+ The binary embeds the Florence-2 model (`onnx-community/Florence-2-base-ft`, a
90
+ re-export of `microsoft/Florence-2-base-ft`), which is licensed under `MIT`. See
91
+ `LICENSE-Florence-2` for its license text.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jarkkojs/readseek",
3
- "version": "0.4.20",
3
+ "version": "0.4.22",
4
4
  "description": "A structural read command",
5
5
  "license": "Apache-2.0 AND LGPL-2.1-or-later",
6
6
  "homepage": "https://github.com/jarkkojs/readseek#readme",
@@ -21,9 +21,9 @@
21
21
  "LICENSE-LGPL-2.1"
22
22
  ],
23
23
  "optionalDependencies": {
24
- "@jarkkojs/readseek-darwin-arm64": "0.4.20",
25
- "@jarkkojs/readseek-linux-x64": "0.4.20",
26
- "@jarkkojs/readseek-win32-x64": "0.4.20"
24
+ "@jarkkojs/readseek-darwin-arm64": "0.4.22",
25
+ "@jarkkojs/readseek-linux-x64": "0.4.22",
26
+ "@jarkkojs/readseek-win32-x64": "0.4.22"
27
27
  },
28
28
  "publishConfig": {
29
29
  "access": "public"