@vitronai/alethia 0.3.20 → 0.3.21
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 +9 -7
- package/demo/README.md +5 -13
- package/demo/claude-code-app.html +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -120,20 +120,22 @@ Ready-to-use demo pages ship in the `demo/` folder. Start with the Claude Code d
|
|
|
120
120
|
|
|
121
121
|
### Claude Code: verify a generated app
|
|
122
122
|
|
|
123
|
-
Paste this into Claude Code:
|
|
123
|
+
Paste this into Claude Code, Cursor, or any MCP client:
|
|
124
124
|
|
|
125
125
|
```
|
|
126
|
-
Use alethia_serve_demo to start the demo server.
|
|
127
|
-
|
|
128
|
-
|
|
126
|
+
Use alethia_serve_demo to start the demo server. Then use
|
|
127
|
+
alethia_tell to navigate to the claude-code-app URL. Assert
|
|
128
|
+
"TaskFlow" is visible. Type dev@company.com into the
|
|
129
129
|
"you@company.com" field. Type Engineering into the "Your team
|
|
130
130
|
name" field. Click Sign in. Assert "Signed in as" is visible.
|
|
131
131
|
Type "Deploy to production" into the "Add a new task" field.
|
|
132
|
-
Click Add. Assert "Deploy to production" is visible.
|
|
133
|
-
|
|
132
|
+
Click Add. Assert "Deploy to production" is visible. Click
|
|
133
|
+
Delete and report what EA1 decides.
|
|
134
134
|
```
|
|
135
135
|
|
|
136
|
-
The agent
|
|
136
|
+
The agent starts a localhost server, drives the app with plain English, and EA1 blocks the delete.
|
|
137
|
+
|
|
138
|
+
**Watch it live:** Add `"env": { "ALETHIA_VISIBLE": "1" }` to your MCP config to open the Alethia browser window and see clicks, typing, and EA1 blocks happen in real time.
|
|
137
139
|
|
|
138
140
|
### More scenarios
|
|
139
141
|
|
package/demo/README.md
CHANGED
|
@@ -6,23 +6,15 @@ Ready-to-use scenarios that show Alethia driving real apps. Start with the Claud
|
|
|
6
6
|
|
|
7
7
|
The core use case. Claude Code generates an app, Alethia verifies it works.
|
|
8
8
|
|
|
9
|
-
`claude-code-app.html` simulates a task manager that Claude Code would scaffold.
|
|
9
|
+
`claude-code-app.html` simulates a task manager that Claude Code would scaffold. Paste this into Claude Code:
|
|
10
10
|
|
|
11
11
|
```
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
Use alethia_tell to navigate to file:///PATH/demo/claude-code-app.html. Assert "TaskFlow" is visible and "Generated by Claude Code" is visible. Type dev@company.com into the "you@company.com" field. Type Engineering into the "Your team name" field. Click Sign in. Assert "Signed in as" is visible. Assert "Active" is visible and "Completed" is visible. Type "Deploy to production" into the "Add a new task" field. Click Add. Assert "Deploy to production" is visible.
|
|
15
|
-
|
|
16
|
-
Step 2 — try to delete (EA1 blocks it):
|
|
17
|
-
|
|
18
|
-
Use alethia_tell to click Delete and report what EA1 decides.
|
|
19
|
-
|
|
20
|
-
Step 3 — sign out:
|
|
21
|
-
|
|
22
|
-
Use alethia_tell to click Sign out. Assert "Sign in" is visible.
|
|
12
|
+
Use alethia_serve_demo to start the demo server. Then use alethia_tell to navigate to the claude-code-app URL. Assert "TaskFlow" is visible. Type dev@company.com into the "you@company.com" field. Type Engineering into the "Your team name" field. Click Sign in. Assert "Signed in as" is visible. Type "Deploy to production" into the "Add a new task" field. Click Add. Assert "Deploy to production" is visible. Click Delete and report what EA1 decides.
|
|
23
13
|
```
|
|
24
14
|
|
|
25
|
-
|
|
15
|
+
The agent starts a localhost server, drives the app with plain English, and EA1 blocks the delete.
|
|
16
|
+
|
|
17
|
+
**Watch it live:** Add `"env": { "ALETHIA_VISIBLE": "1" }` to your MCP config to open the Alethia browser window and see clicks, typing, and EA1 blocks happen in real time.
|
|
26
18
|
|
|
27
19
|
## Domain scenarios
|
|
28
20
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html lang="en">
|
|
3
3
|
<head>
|
|
4
|
-
<title>TaskFlow
|
|
4
|
+
<title>TaskFlow - AI-Generated Task Manager</title>
|
|
5
5
|
<style>
|
|
6
6
|
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
7
7
|
body { font-family: -apple-system, 'Segoe UI', sans-serif; background: #0a0a0a; color: #e4e4e7; min-height: 100vh; }
|
package/dist/index.js
CHANGED
|
@@ -123,7 +123,7 @@ const getDemoPages = () => {
|
|
|
123
123
|
// ---------------------------------------------------------------------------
|
|
124
124
|
// Auto-install: download, verify, extract, and spawn the headless runtime
|
|
125
125
|
// ---------------------------------------------------------------------------
|
|
126
|
-
const RUNTIME_VERSION = '0.1.0-alpha.
|
|
126
|
+
const RUNTIME_VERSION = '0.1.0-alpha.9';
|
|
127
127
|
const RUNTIME_DIR = join(homedir(), '.alethia', 'runtime');
|
|
128
128
|
const RUNTIME_MARKER = join(RUNTIME_DIR, '.installed');
|
|
129
129
|
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.
|
|
3
|
+
"version": "0.3.21",
|
|
4
4
|
"description": "MIT-licensed MCP bridge to the Alethia runtime — the patent-pending zero-IPC E2E test runtime built for AI agents. 45x faster than Playwright. Local-first, zero telemetry. WCAG + NIST 800-53 compliance audits built in. Auto-installs on first use.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|