filens-ocr-linux-arm64 0.4.1 → 0.5.0

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 +16 -6
  2. package/package.json +1 -1
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.1 · MIT · CLI 2.15 MiB · Lite 8.04 MiB · Full 31.25 MiB** (macOS arm64, installed; Full includes OCR models).
4
+ **v0.5.0 · MIT · CLI executable 2.17 MiB · Lite 8.05 MiB · Full 31.25 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 | 8.05 / 6.14 MiB | 31.25 / 20.34 MiB |
9
+ | linux-x64 | 1.90 MiB | 7.78 / 6.86 MiB | 36.74 / 22.84 MiB |
10
+ | linux-arm64 | 1.80 MiB | 7.68 / 6.75 MiB | 31.10 / 20.53 MiB |
11
+ | win32-x64 | 1.82 MiB | 7.70 / 6.78 MiB | 36.48 / 23.01 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 -->
@@ -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.1.tgz /path/to/filens-cli-PLATFORM-0.4.1.tgz /path/to/filens-ocr-PLATFORM-0.4.1.tgz`.
209
+ `npm install -g /path/to/filens-cli-0.5.0.tgz /path/to/filens-cli-PLATFORM-0.5.0.tgz /path/to/filens-ocr-PLATFORM-0.5.0.tgz`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "filens-ocr-linux-arm64",
3
- "version": "0.4.1",
3
+ "version": "0.5.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",