@vitronai/alethia 0.3.0 → 0.3.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.
Files changed (2) hide show
  1. package/README.md +17 -28
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -13,17 +13,17 @@
13
13
 
14
14
  **This npm package is the open-source MCP bridge — a thin (~22 KB) stdio→HTTP relay**, MIT-licensed and freely usable. It does not contain the runtime. By itself it cannot drive a browser, run a test, or do anything except forward MCP requests to a local HTTP endpoint.
15
15
 
16
- **The Alethia desktop runtime** — the part that actually contains the patent-pending in-process zero-IPC executor, the VITRON-EA1 policy gate, and the NLP compiler — is **closed-source, patent-pending**, and currently distributed through the **design-partner alpha program**.
16
+ **The Alethia desktop runtime** — the part that actually contains the patent-pending in-process zero-IPC executor, the VITRON-EA1 policy gate, and the NLP compiler — is **closed-source and patent-pending**. As of v0.3, the bridge **auto-downloads the signed runtime on first use** — no manual steps, no signup required.
17
17
 
18
18
  | Component | License | How to get it |
19
19
  |---|---|---|
20
20
  | `@vitronai/alethia` (this npm package — the MCP bridge) | **MIT, open source** | `npm install -g @vitronai/alethia` |
21
21
  | Bridge source mirror | **MIT, open source** | [github.com/vitron-ai/alethia-mcp](https://github.com/vitron-ai/alethia-mcp) |
22
- | **Alethia desktop runtime** (the patented in-process executor) | **Closed-source, Patent Pending — U.S. App. 19/571,437** | Design-partner alpha. Request access: **gatekeeper@vitron.ai** |
22
+ | **Alethia desktop runtime** (the patented in-process executor) | **Closed-source, Patent Pending — U.S. App. 19/571,437** | Auto-installed by the bridge on first use. Ed25519 verified. |
23
23
 
24
- **The MIT license on this bridge does not, under any circumstances, grant any patent license under U.S. Application No. 19/571,437 or any other vitron.ai patent rights.** The runtime is a separate licensable artifact. Public binary releases of the runtime ship with the v0.3 milestone.
24
+ **The MIT license on this bridge does not, under any circumstances, grant any patent license under U.S. Application No. 19/571,437 or any other vitron.ai patent rights.** The runtime is a separate licensable artifact.
25
25
 
26
- **Bottom line for developers:** installing this npm package is free and unrestricted. Using the actual Alethia runtime in production requires either (a) the design-partner alpha (free during the alpha period, by request) or (b) a future commercial license once the patent grants.
26
+ **Bottom line for developers:** `npm install -g @vitronai/alethia` gets you everything you need. The bridge auto-downloads the signed headless runtime on first use. Commercial and production use of the runtime may require a patent license once the patent grants. For licensing inquiries: **gatekeeper@vitron.ai**.
27
27
 
28
28
  ---
29
29
 
@@ -44,28 +44,17 @@ Alethia is a different shape entirely. The driver and the DOM live in **the same
44
44
  | Telemetry | on by default in cloud product | **off by default; opt-in only** |
45
45
  | Patent moat | none | **U.S. App 19/571,437** |
46
46
 
47
- Benchmarks: `click-assert-wait` scenario, 20 iterations. Numbers from `benchmarks/league-latest.json` in the [alethia-core](https://github.com/vitron-ai/alethia-core) repo.
47
+ Benchmarks: `click-assert-wait` scenario, 20 iterations.
48
48
 
49
49
  ---
50
50
 
51
51
  ## Install
52
52
 
53
- ### Step 1 — Install the MCP bridge from npm (this package)
54
-
55
53
  ```bash
56
54
  npm install -g @vitronai/alethia
57
55
  ```
58
56
 
59
- ### Step 2 Get the Alethia desktop runtime
60
-
61
- The bridge alone does nothing — it's a relay. You also need the **Alethia desktop runtime** (the patent-pending closed-source Electron app) running locally on `127.0.0.1:47432`.
62
-
63
- The desktop runtime is currently in **design-partner alpha**. To request access:
64
-
65
- 👉 **Landing page:** [github.com/vitron-ai/alethia](https://github.com/vitron-ai/alethia)
66
- 👉 **Request access:** **gatekeeper@vitron.ai**
67
-
68
- Public binary releases ship with the v0.3 milestone. During the alpha, runtime access is free for design partners (typically AI coding agent tool builders integrating Alethia into their product).
57
+ That's it. The bridge auto-downloads the signed headless runtime on first use — Ed25519 verified, SHA-256 checked, no signup required.
69
58
 
70
59
  ### Verify the install
71
60
 
@@ -202,13 +191,13 @@ Clear an active kill switch and reset the shared executor state. Re-enables `tel
202
191
  │ HTTP POST 127.0.0.1:47432 (loopback only, never networked)
203
192
 
204
193
  ┌────────────────────────┐
205
- │ Alethia desktop app │ Electron main process
194
+ │ Alethia desktop app │ Desktop runtime — main process
206
195
  │ local JSON-RPC server │ - tools/list, tools/call
207
196
  └──────────┬─────────────┘ - loopback bind, never reachable from network
208
- webContents.executeJavaScript('window.__alethia.tell(...)')
197
+ in-process JS bridge
209
198
 
210
199
  ┌────────────────────────┐
211
- │ Alethia renderer │ Electron renderer process — IS the browser
200
+ │ Alethia renderer │ Embedded browser — IS the browser
212
201
  │ zero-IPC runtime │ - tell() → NLP compiler → Action IR
213
202
  └──────────┬─────────────┘ - VITRON-EA1 policy gate (per-step, fail-closed)
214
203
  │ direct DOM access (no protocol, no marshalling)
@@ -218,7 +207,7 @@ Clear an active kill switch and reset the shared executor state. Re-enables `tel
218
207
  └────────────────────────┘
219
208
  ```
220
209
 
221
- **Two process boundaries** between your agent and the runtime (agent ↔ shim, shim ↔ Electron). Then **zero** boundaries between the runtime and the DOM. That's the architectural difference that makes Alethia 45× faster than Playwright.
210
+ **Two process boundaries** between your agent and the runtime (agent ↔ shim, shim ↔ desktop app). Then **zero** boundaries between the runtime and the DOM. That's the architectural difference that makes Alethia 45× faster than Playwright.
222
211
 
223
212
  ---
224
213
 
@@ -247,13 +236,13 @@ alethia-mcp --debug Run with debug logging on stderr
247
236
 
248
237
  ### "Alethia desktop runtime is not running on 127.0.0.1:47432"
249
238
 
250
- The npm package you installed is the **MCP bridge only** a thin relay. The actual runtime (the Electron app containing the patent-pending zero-IPC executor) is a separate, closed-source artifact distributed through the design-partner program.
239
+ The bridge auto-installs the headless runtime on first use. If you're seeing this error:
251
240
 
252
- **To get runtime access:**
253
- 👉 [github.com/vitron-ai/alethia](https://github.com/vitron-ai/alethia)
254
- 👉 **gatekeeper@vitron.ai**
241
+ 1. Run `alethia-mcp --health-check` — this will trigger auto-install if the runtime isn't present yet
242
+ 2. Check that the runtime process is running (it binds to `127.0.0.1:47432`)
243
+ 3. If auto-install failed, check your network connection and try again
255
244
 
256
- Public binary releases ship in v0.3. Once you have the runtime and launch it, you should see in its console:
245
+ Once the runtime is running, you should see:
257
246
 
258
247
  ```
259
248
  [alethia] local RPC server listening on 127.0.0.1:47432
@@ -286,7 +275,7 @@ Only do this when you are knowingly testing a real auth or payment flow.
286
275
 
287
276
  ### `Script failed to execute`
288
277
 
289
- The Electron renderer hasn't loaded `window.__alethia` yet (or crashed). Restart the desktop app. If it persists, file an issue.
278
+ The runtime hasn't loaded `window.__alethia` yet (or crashed). Restart the desktop app. If it persists, file an issue.
290
279
 
291
280
  ---
292
281
 
@@ -295,7 +284,7 @@ The Electron renderer hasn't loaded `window.__alethia` yet (or crashed). Restart
295
284
  Alethia is **local-first with zero telemetry by default.**
296
285
 
297
286
  - **The MCP bridge** (this npm package) only speaks to `127.0.0.1` (loopback). It cannot reach any other host. No data leaves your machine through the bridge — verify yourself by reading [`src/index.ts`](./src/index.ts), it's ~590 lines, single file.
298
- - **The desktop runtime** has a production webRequest filter that blocks all non-`file://`, non-`app://`, non-`localhost` requests. The runtime is **architecturally loopback-only** in production builds.
287
+ - **The desktop runtime** has a production request filter that blocks all non-`file://`, non-`app://`, non-`localhost` requests. The runtime is **architecturally loopback-only** in production builds.
299
288
  - **Zero telemetry collection** in v0.2 — the runtime does not phone home, does not collect usage metrics, does not report crashes anywhere by default.
300
289
  - **Future cloud features** (signed evidence as a service, team dashboards, agent observability) will be **opt-in only**, clearly labeled, with disclosed data flow. They are separate paid products you explicitly enroll in — not defaults that turn on silently.
301
290
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vitronai/alethia",
3
- "version": "0.3.0",
4
- "description": "MIT-licensed MCP bridge to the Alethia desktop runtime — the patent-pending zero-IPC E2E test runtime built for AI agents. 45x faster than Playwright on the localhost loop. Local-first, zero telemetry by default, opt-in cloud. Runtime is closed-source, patent-pending (US App 19/571,437); request access at gatekeeper@vitron.ai.",
3
+ "version": "0.3.1",
4
+ "description": "MIT-licensed MCP bridge to the Alethia desktop runtime — the patent-pending zero-IPC E2E test runtime built for AI agents. 45x faster than Playwright on the localhost loop. Local-first, zero telemetry by default. Auto-installs the signed headless runtime on first use.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "bin": {