@vitronai/alethia 0.3.2 → 0.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 CHANGED
@@ -66,7 +66,7 @@ alethia-mcp --health-check
66
66
  Expected:
67
67
 
68
68
  ```
69
- ✓ Connected. 5 MCP tools available.
69
+ ✓ Connected. 7 MCP tools available.
70
70
  runtime version: 0.1.0-alpha.1
71
71
  default profile: controlled-web
72
72
  kill switch: inactive
@@ -123,7 +123,7 @@ After saving the config, restart your MCP client.
123
123
 
124
124
  ## Usage
125
125
 
126
- Once configured, your agent has five Alethia tools available. The most common one:
126
+ Once configured, your agent has seven Alethia tools available. The most common one:
127
127
 
128
128
  > *"Use alethia_tell to navigate to localhost:3000, sign in as admin@example.com / password123, and verify the dashboard heading is visible."*
129
129
 
@@ -173,6 +173,12 @@ Liveness probe + identity. Returns runtime version, default policy profile, kill
173
173
  ### `alethia_reset_kill_switch`
174
174
  Clear an active kill switch and reset the shared executor state. Re-enables `tell()` calls. The reset itself is logged.
175
175
 
176
+ ### `alethia_screenshot`
177
+ Capture a PNG screenshot of the current page and return it as a base64-encoded image. Use this to visually verify what the browser is showing after running test steps with `alethia_tell`.
178
+
179
+ ### `alethia_eval`
180
+ Evaluate a JavaScript expression in the page under test and return the result. Runs in the context of the navigated page, not the Alethia host UI. Use this for queries the NLP compiler cannot express — counting elements, reading computed styles, checking localStorage, or any DOM inspection that needs raw JS.
181
+
176
182
  ---
177
183
 
178
184
  ## Architecture
package/dist/index.js CHANGED
@@ -62,7 +62,7 @@ const debug = (...args) => {
62
62
  // ---------------------------------------------------------------------------
63
63
  // Auto-install: download, verify, extract, and spawn the headless runtime
64
64
  // ---------------------------------------------------------------------------
65
- const RUNTIME_VERSION = '0.1.0-alpha.2';
65
+ const RUNTIME_VERSION = '0.1.0-alpha.3';
66
66
  const RUNTIME_DIR = join(homedir(), '.alethia', 'runtime');
67
67
  const RUNTIME_MARKER = join(RUNTIME_DIR, '.installed');
68
68
  const GITHUB_RELEASE_BASE = `https://github.com/vitron-ai/alethia/releases/download/v${RUNTIME_VERSION}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitronai/alethia",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
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",