filens-ocr-linux-x64 0.4.2 → 0.5.1

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.4.2 · MIT · CLI executable 2.15 MiB · Lite 8.04 MiB · Full 31.25 MiB** (macOS arm64; Lite/Full installed sizes; Full includes OCR models).
4
+ **v0.5.1 · MIT · CLI executable 2.17 MiB · Lite 7.86 MiB · Full 31.06 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.15 MiB | 8.04 / 6.14 MiB | 31.25 / 20.34 MiB |
9
- | linux-x64 | 1.89 MiB | 7.78 / 6.86 MiB | 36.74 / 22.84 MiB |
10
- | linux-arm64 | 1.78 MiB | 7.68 / 6.75 MiB | 31.10 / 20.54 MiB |
11
- | win32-x64 | 1.81 MiB | 7.71 / 6.78 MiB | 36.48 / 23.01 MiB |
8
+ | darwin-arm64 | 2.17 MiB | 7.86 / 5.95 MiB | 31.06 / 20.16 MiB |
9
+ | linux-x64 | 1.90 MiB | 7.59 / 6.67 MiB | 36.54 / 22.65 MiB |
10
+ | linux-arm64 | 1.79 MiB | 7.48 / 6.56 MiB | 30.91 / 20.35 MiB |
11
+ | win32-x64 | 1.82 MiB | 7.51 / 6.59 MiB | 36.29 / 22.82 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 fast gzip compression and are decoded locally as needed.
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.
@@ -55,6 +55,16 @@ The first preview installs the separate `filens-preview` package; run
55
55
  Frontend assets are measured separately from the CLI installation. See the [preview guide](https://github.com/IceWhaleTech/filens/blob/main/packages/preview/README.md#cli-preview)
56
56
  for building the single-file/split runtime and packaging it with `--with-preview`.
57
57
 
58
+ Version 0.5.0 generates a self-contained offline HTML by default and exits
59
+ after opening it. `filens preview FILE --output preview.html --no-open` saves a
60
+ portable copy without overwriting an existing file. The HTML contains the source
61
+ file; delete temporary copies when no longer needed. `--no-open --json` returns a
62
+ `file:` URL and path. Use `--mode serve` for the previous loopback HTTP mode and
63
+ Ctrl-C lifecycle. The page checks browser support, blocks external requests and
64
+ includes a GitHub icon linking to the repository. Preview 0.2.0 includes 28
65
+ toolbar languages and application-icon previews; capabilities and fidelity
66
+ limits are shared by the split and all-in-one builds.
67
+
58
68
  ```sh
59
69
  filens '支持哪些格式?用 JSON 返回'
60
70
  filens '请读取 "季度 报告.txt",以纯文本输出'
@@ -196,4 +206,4 @@ one profile at a time. Platform packages are implementation components.
196
206
  [Protocol, limitations and source build](https://github.com/IceWhaleTech/filens/blob/main/docs/agent-cli.md)
197
207
 
198
208
  Locally built release tarballs can also be installed with
199
- `npm install -g /path/to/filens-cli-0.4.2.tgz /path/to/filens-cli-PLATFORM-0.4.2.tgz /path/to/filens-ocr-PLATFORM-0.4.2.tgz`.
209
+ `npm install -g /path/to/filens-cli-0.5.1.tgz /path/to/filens-cli-PLATFORM-0.5.1.tgz /path/to/filens-ocr-PLATFORM-0.5.1.tgz`.
@@ -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). RAW source and local changes are maintained at
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "filens-ocr-linux-x64",
3
- "version": "0.4.2",
3
+ "version": "0.5.1",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",