@cueai/omni-reader-mcp 1.3.2 → 1.3.3
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 +25 -18
- package/dist/cli/agent-config.js +2 -2
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -15,10 +15,14 @@ Parse https://example.com/report.pdf with Omni
|
|
|
15
15
|
Parse ./report.pdf with Omni and summarize the revenue changes
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
a
|
|
21
|
-
|
|
18
|
+
Install Bridge as the default: it handles a URL and a local file through the same call, so
|
|
19
|
+
neither the agent nor the user has to reason about which kind of source it is. The only
|
|
20
|
+
exception is a deployment that will genuinely never need local files — that case is covered
|
|
21
|
+
by a remote-only MCP connection instead, with nothing to install. Otherwise, before
|
|
22
|
+
installing Bridge the agent should first explain the minimal directory authorization and
|
|
23
|
+
data handling and obtain confirmation, then install a pinned Bridge version. After parsing
|
|
24
|
+
completes, the agent continues the original task — summarization, Q&A, field extraction —
|
|
25
|
+
rather than stopping at "parse done".
|
|
22
26
|
|
|
23
27
|
## Requirements
|
|
24
28
|
|
|
@@ -60,7 +64,7 @@ differ from the numbers above, report the live values.
|
|
|
60
64
|
Always use an audited exact version, never an implicit `latest`:
|
|
61
65
|
|
|
62
66
|
```sh
|
|
63
|
-
npx -y @cueai/omni-reader-mcp@1.3.
|
|
67
|
+
npx -y @cueai/omni-reader-mcp@1.3.3 setup
|
|
64
68
|
```
|
|
65
69
|
|
|
66
70
|
The interactive setup supports Hermes, Cursor, Claude Desktop, and generic stdio
|
|
@@ -68,9 +72,9 @@ configuration. Non-interactive installation uses the same argument parsing and w
|
|
|
68
72
|
logic:
|
|
69
73
|
|
|
70
74
|
```sh
|
|
71
|
-
npx -y @cueai/omni-reader-mcp@1.3.
|
|
72
|
-
npx -y @cueai/omni-reader-mcp@1.3.
|
|
73
|
-
npx -y @cueai/omni-reader-mcp@1.3.
|
|
75
|
+
npx -y @cueai/omni-reader-mcp@1.3.3 setup --client hermes --allowed-root /absolute/minimum/root --yes --json
|
|
76
|
+
npx -y @cueai/omni-reader-mcp@1.3.3 setup --client cursor --add-root /absolute/minimum/root --yes --json
|
|
77
|
+
npx -y @cueai/omni-reader-mcp@1.3.3 setup --client claude-desktop --allowed-root /absolute/minimum/root --yes --json
|
|
74
78
|
```
|
|
75
79
|
|
|
76
80
|
When an agent or script runs under a pty (stdin is still a TTY), declare non-interactive
|
|
@@ -78,7 +82,7 @@ mode explicitly with `--headless` (alias `--non-interactive`): no `--yes` is req
|
|
|
78
82
|
stdin is never read:
|
|
79
83
|
|
|
80
84
|
```sh
|
|
81
|
-
npx -y @cueai/omni-reader-mcp@1.3.
|
|
85
|
+
npx -y @cueai/omni-reader-mcp@1.3.3 setup --client cursor --allowed-root /absolute/minimum/root --headless --json
|
|
82
86
|
```
|
|
83
87
|
|
|
84
88
|
## Cache and journal isolation
|
|
@@ -199,22 +203,25 @@ Bridge validates the local source before grant, upload, and billing:
|
|
|
199
203
|
- `UNSUPPORTED_MEDIA_TYPE`: unsupported media type, with the current authoritative
|
|
200
204
|
`supported_extensions`.
|
|
201
205
|
|
|
202
|
-
|
|
203
|
-
|
|
206
|
+
Do not upload the source to a public site to work around a constraint. Splitting or
|
|
207
|
+
transcoding the source yourself (with your own tools, outside Bridge) is fine, but only
|
|
208
|
+
after explicitly telling the user what you intend to do to it and getting their
|
|
209
|
+
confirmation — never do this silently. Otherwise, ask the user for a new source that
|
|
210
|
+
satisfies the constraints.
|
|
204
211
|
|
|
205
212
|
## Commands
|
|
206
213
|
|
|
207
214
|
```sh
|
|
208
|
-
npx -y @cueai/omni-reader-mcp@1.3.
|
|
209
|
-
npx -y @cueai/omni-reader-mcp@1.3.
|
|
210
|
-
npx -y @cueai/omni-reader-mcp@1.3.
|
|
211
|
-
npx -y @cueai/omni-reader-mcp@1.3.
|
|
215
|
+
npx -y @cueai/omni-reader-mcp@1.3.3 doctor
|
|
216
|
+
npx -y @cueai/omni-reader-mcp@1.3.3 doctor --json
|
|
217
|
+
npx -y @cueai/omni-reader-mcp@1.3.3 clean
|
|
218
|
+
npx -y @cueai/omni-reader-mcp@1.3.3 uninstall --yes --json
|
|
212
219
|
```
|
|
213
220
|
|
|
214
221
|
Running the pinned version without a command starts the stdio MCP server:
|
|
215
222
|
|
|
216
223
|
```sh
|
|
217
|
-
npx -y @cueai/omni-reader-mcp@1.3.
|
|
224
|
+
npx -y @cueai/omni-reader-mcp@1.3.3
|
|
218
225
|
```
|
|
219
226
|
|
|
220
227
|
`doctor --json` returns package/npm/client adapter, Key present/absent, allowed-root
|
|
@@ -223,12 +230,12 @@ status; it never prints the Key, private source paths, or content.
|
|
|
223
230
|
|
|
224
231
|
## Uninstall and rollback
|
|
225
232
|
|
|
226
|
-
`uninstall --yes --json` removes only a trusted 1.3.
|
|
233
|
+
`uninstall --yes --json` removes only a trusted 1.3.2 or 1.3.3 Bridge entry; when a
|
|
227
234
|
matching trusted backup exists, it restores the original URL-only `omni-reader` entry.
|
|
228
235
|
Uninstall never deletes user source files and never silently removes unexpired local
|
|
229
236
|
results.
|
|
230
237
|
|
|
231
|
-
To roll back from 1.3.
|
|
238
|
+
To roll back from 1.3.3:
|
|
232
239
|
|
|
233
240
|
1. stop recommending or installing that version;
|
|
234
241
|
2. run `uninstall --yes --json` to restore the trusted URL-only entry;
|
package/dist/cli/agent-config.js
CHANGED
|
@@ -4,7 +4,7 @@ import { chmod, lstat, mkdir, open, realpath, rename, unlink, } from "node:fs/pr
|
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import { BRIDGE_RELEASE_VERSION, REMOTE_OMNI_MCP_URL, } from "../constants.js";
|
|
6
6
|
const PACKAGE_SPEC = `@cueai/omni-reader-mcp@${BRIDGE_RELEASE_VERSION}`;
|
|
7
|
-
const PREVIOUS_PACKAGE_SPEC = "@cueai/omni-reader-mcp@1.3.
|
|
7
|
+
const PREVIOUS_PACKAGE_SPEC = "@cueai/omni-reader-mcp@1.3.2";
|
|
8
8
|
const LEGACY_PACKAGE_SPEC = "@cueai/omni-reader-mcp";
|
|
9
9
|
const TRUSTED_EXACT_PACKAGE_SPECS = new Set([PREVIOUS_PACKAGE_SPEC, PACKAGE_SPEC]);
|
|
10
10
|
function isRecord(value) {
|
|
@@ -586,7 +586,7 @@ function expectedBridgeVersion(target, value) {
|
|
|
586
586
|
if (!isExpectedOmniEntry(target, value))
|
|
587
587
|
return undefined;
|
|
588
588
|
const packageSpec = value.args[1];
|
|
589
|
-
return packageSpec === PREVIOUS_PACKAGE_SPEC ? "1.3.
|
|
589
|
+
return packageSpec === PREVIOUS_PACKAGE_SPEC ? "1.3.2" : BRIDGE_RELEASE_VERSION;
|
|
590
590
|
}
|
|
591
591
|
function isLegacyBridgeEntry(target, value) {
|
|
592
592
|
if (!isRecord(value) || value.command !== "npx")
|
package/dist/constants.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare const CUBE_GRANT_PROTOCOL_VERSION = "omni.parse_grant.v1";
|
|
|
6
6
|
export declare const GRANTED_STREAM_PROTOCOL_VERSION = "omni.granted_parse_stream.v1";
|
|
7
7
|
export declare const DEFAULT_CUBE_BASE_URL = "https://mcp.cuecue.cn";
|
|
8
8
|
export declare const DEFAULT_IIIS_GRANTED_BASE_URL = "https://cubefile.ai.iiis.co:9443/omni/granted/";
|
|
9
|
-
export declare const BRIDGE_RELEASE_VERSION = "1.3.
|
|
9
|
+
export declare const BRIDGE_RELEASE_VERSION = "1.3.3";
|
|
10
10
|
export declare const REMOTE_OMNI_MCP_URL = "https://mcp.cuecue.cn/api/omni-reader/mcp/";
|
|
11
11
|
export declare const FOREGROUND_BUDGET_MS = 15000;
|
|
12
12
|
export declare const STATUS_LONG_POLL_MAX_MS = 20000;
|
package/dist/constants.js
CHANGED
|
@@ -6,7 +6,7 @@ export const CUBE_GRANT_PROTOCOL_VERSION = "omni.parse_grant.v1";
|
|
|
6
6
|
export const GRANTED_STREAM_PROTOCOL_VERSION = "omni.granted_parse_stream.v1";
|
|
7
7
|
export const DEFAULT_CUBE_BASE_URL = "https://mcp.cuecue.cn";
|
|
8
8
|
export const DEFAULT_IIIS_GRANTED_BASE_URL = "https://cubefile.ai.iiis.co:9443/omni/granted/";
|
|
9
|
-
export const BRIDGE_RELEASE_VERSION = "1.3.
|
|
9
|
+
export const BRIDGE_RELEASE_VERSION = "1.3.3";
|
|
10
10
|
export const REMOTE_OMNI_MCP_URL = "https://mcp.cuecue.cn/api/omni-reader/mcp/";
|
|
11
11
|
export const FOREGROUND_BUDGET_MS = 15_000;
|
|
12
12
|
export const STATUS_LONG_POLL_MAX_MS = 20_000;
|