filens-ocr-linux-x64 0.5.0 → 0.5.2
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
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# filens Agent CLI
|
|
2
2
|
|
|
3
3
|
<!-- agent-cli-size:npm:start -->
|
|
4
|
-
**v0.5.
|
|
4
|
+
**v0.5.2 · MIT · CLI executable 2.18 MiB · Lite 7.87 MiB · Full 31.09 MiB** (macOS arm64; Lite/Full installed sizes; Full includes OCR models).
|
|
5
5
|
|
|
6
6
|
| Platform | CLI executable | Lite installed / download | Full installed / download |
|
|
7
7
|
| --- | ---: | ---: | ---: |
|
|
8
|
-
| darwin-arm64 | 2.
|
|
9
|
-
| linux-x64 | 1.
|
|
10
|
-
| linux-arm64 | 1.80 MiB | 7.
|
|
11
|
-
| win32-x64 | 1.
|
|
8
|
+
| darwin-arm64 | 2.18 MiB | 7.87 / 5.97 MiB | 31.09 / 20.17 MiB |
|
|
9
|
+
| linux-x64 | 1.91 MiB | 7.60 / 6.68 MiB | 36.56 / 22.66 MiB |
|
|
10
|
+
| linux-arm64 | 1.80 MiB | 7.50 / 6.57 MiB | 30.93 / 20.36 MiB |
|
|
11
|
+
| win32-x64 | 1.83 MiB | 7.52 / 6.60 MiB | 36.30 / 22.83 MiB |
|
|
12
12
|
|
|
13
13
|
Totals add the launcher and selected platform packages from npm pack. Node.js, npm caches, filesystem overhead and the optional frontend preview package are excluded. Bundled dependencies retain their own licenses; see THIRD-PARTY-NOTICES.md in the platform packages.
|
|
14
14
|
<!-- agent-cli-size:npm:end -->
|
|
@@ -42,7 +42,7 @@ npx --yes filens-cli-lite read report.pdf --json
|
|
|
42
42
|
The CLI is Rust, built with stripped symbols, LTO and size optimization.
|
|
43
43
|
Windows/Linux executables use UPX `--best --lzma`, followed by `--test`.
|
|
44
44
|
Mach-O arm64 is unsupported by UPX and remains uncompressed.
|
|
45
|
-
WASM resources use
|
|
45
|
+
WASM resources use gzip level 9 compression and are decoded locally as needed.
|
|
46
46
|
The package includes `skills/filens/SKILL.md`, with standard YAML front matter
|
|
47
47
|
and agent guidance for evidence, partial results, OCR and coordinate units.
|
|
48
48
|
Copy `skills/filens/` to your agent's skills directory to enable discovery.
|
|
@@ -150,6 +150,12 @@ Similarity fingerprints are recomputed each time. The document search cache and
|
|
|
150
150
|
[similarity guide](https://github.com/IceWhaleTech/filens/blob/main/docs/agent-cli-similarity.md)
|
|
151
151
|
for source builds, limits, grouping semantics and the measured resource-size delta.
|
|
152
152
|
|
|
153
|
+
## Workspace storage
|
|
154
|
+
|
|
155
|
+
Version 0.5.2 defaults to an in-process memory workspace for input copies, conversion results and PDF/OCR intermediate images. Parallel workers share a 512 MiB file-data quota, without automatic disk fallback. This excludes WASM linear memory, native OCR allocations and transport copies; operating-system swapping is outside the CLI's control.
|
|
156
|
+
|
|
157
|
+
Use `--workspace disk` (or stdin JSON `"workspace":"disk"`) to select disk scratch explicitly. Final conversion outputs and exported preview HTML still require write permission. The directory walker uses stdin/stdout for options and results. OCR requires the matching 0.5.2 platform package with byte-input support.
|
|
158
|
+
|
|
153
159
|
## Limits and conversion
|
|
154
160
|
|
|
155
161
|
Paraphrasing, translation, questions, field extraction, page selection and URL fetching
|
|
@@ -206,4 +212,4 @@ one profile at a time. Platform packages are implementation components.
|
|
|
206
212
|
[Protocol, limitations and source build](https://github.com/IceWhaleTech/filens/blob/main/docs/agent-cli.md)
|
|
207
213
|
|
|
208
214
|
Locally built release tarballs can also be installed with
|
|
209
|
-
`npm install -g /path/to/filens-cli-0.5.
|
|
215
|
+
`npm install -g /path/to/filens-cli-0.5.2.tgz /path/to/filens-cli-PLATFORM-0.5.2.tgz /path/to/filens-ocr-PLATFORM-0.5.2.tgz`.
|
package/THIRD-PARTY-NOTICES.md
CHANGED
|
@@ -24,8 +24,9 @@ serde_yaml, regex, flate2, png, tempfile and ctrlc. The locked dependencies'
|
|
|
24
24
|
license texts and version metadata are collected into licenses/rust-cli.txt.
|
|
25
25
|
PDFium remains the WASM artifact from go-pdfium v1.17.3, verified by SHA-256;
|
|
26
26
|
its upstream license notice is included as go-pdfium@v1.17.3-LICENSE.txt.
|
|
27
|
-
The optional image WASM engine uses jpeg-encoder and the repository's modified
|
|
28
|
-
rawloader 0.37.2 (LGPL-2.1).
|
|
27
|
+
The optional image WASM engine uses jpeg-encoder, moxcms and png, and the repository's modified
|
|
28
|
+
rawloader 0.37.2 (LGPL-2.1). HEIF color/PNG dependency notices are also included
|
|
29
|
+
in licenses/rust-cli.txt. RAW source and local changes are maintained at
|
|
29
30
|
wasm/converter-image-rust/vendor/rawloader in the filens source repository;
|
|
30
31
|
the package includes its LGPL and X3F notices in licenses/rust-cli.txt.
|
|
31
32
|
|
|
Binary file
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
"sourceSHA256": "2c781788bb7eb5d91e0bdb8fcb12b7415d49045e13b32c9b959e740432a833b7",
|
|
4
4
|
"platform": "linux-x64",
|
|
5
5
|
"trimpath": true,
|
|
6
|
+
"memoryInputSHA256": "999ccad4672bbe65388e4c6620f500d55bfb00e08d3c2a75d2d73fda8a43736f",
|
|
6
7
|
"minimumGlibc": "2.17",
|
|
7
8
|
"compiler": "zig cc",
|
|
8
|
-
"sha256": "
|
|
9
|
+
"sha256": "e4f96e913c7fc7fb43b8d5b91f5d114ed72974e15d1ea7cfac49b4ccb7a574a7"
|
|
9
10
|
}
|