@vitronai/alethia 0.3.15 → 0.3.16
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 +12 -8
- package/demo/README.md +11 -15
- package/demo/claude-code-app.html +5 -5
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -122,15 +122,19 @@ Ready-to-use demo pages ship in the `demo/` folder. Start with the Claude Code d
|
|
|
122
122
|
|
|
123
123
|
`claude-code-app.html` simulates a task manager that Claude Code would scaffold. Paste this into Claude Code:
|
|
124
124
|
|
|
125
|
+
**Step 1** — sign in and add a task:
|
|
125
126
|
```
|
|
126
|
-
Use alethia_tell to navigate to file:///PATH/demo/claude-code-app.html.
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
127
|
+
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. Type "Deploy to production" into the "Add a new task" field. Click Add. Assert "Deploy to production" is visible.
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
**Step 2** — try to delete (EA1 blocks it):
|
|
131
|
+
```
|
|
132
|
+
Use alethia_tell to click Delete and report what EA1 decides.
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
**Step 3** — sign out:
|
|
136
|
+
```
|
|
137
|
+
Use alethia_tell to click Sign out. Assert "Sign in" is visible.
|
|
134
138
|
```
|
|
135
139
|
|
|
136
140
|
Replace `PATH` with the actual path:
|
package/demo/README.md
CHANGED
|
@@ -9,21 +9,17 @@ The core use case. Claude Code generates an app, Alethia verifies it works.
|
|
|
9
9
|
`claude-code-app.html` simulates a task manager that Claude Code would scaffold. The prompt below runs a full verification flow: sign in, check the dashboard, add a task, complete a task, try to delete one (EA1 blocks it), and sign out.
|
|
10
10
|
|
|
11
11
|
```
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
Type dev@company.com into the
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
Assert "Completed" shows 1.
|
|
24
|
-
Try to click Delete on the first task and report what EA1 decides.
|
|
25
|
-
Click Sign out.
|
|
26
|
-
Assert "Sign in" is visible.
|
|
12
|
+
Step 1 — sign in and add a task:
|
|
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.
|
|
27
23
|
```
|
|
28
24
|
|
|
29
25
|
This is the loop: agent builds, Alethia verifies, EA1 guards. Every step returns structured results, a page snapshot (~200 tokens), and a signed audit trail.
|
|
@@ -83,8 +83,8 @@
|
|
|
83
83
|
<input type="email" id="email" placeholder="you@company.com" />
|
|
84
84
|
</div>
|
|
85
85
|
<div class="field">
|
|
86
|
-
<label for="
|
|
87
|
-
<input type="
|
|
86
|
+
<label for="team">Team</label>
|
|
87
|
+
<input type="text" id="team" placeholder="Your team name" />
|
|
88
88
|
</div>
|
|
89
89
|
<button class="btn btn-primary" id="signin-btn" onclick="handleSignIn()">Sign in</button>
|
|
90
90
|
<p class="error-msg" id="error-msg">Invalid email or password.</p>
|
|
@@ -145,9 +145,9 @@
|
|
|
145
145
|
<script>
|
|
146
146
|
function handleSignIn() {
|
|
147
147
|
var email = document.getElementById('email').value.trim();
|
|
148
|
-
var
|
|
148
|
+
var team = document.getElementById('team').value.trim();
|
|
149
149
|
var err = document.getElementById('error-msg');
|
|
150
|
-
if (!email || !
|
|
150
|
+
if (!email || !team) { err.style.display = 'block'; err.textContent = 'Please fill in all fields.'; return; }
|
|
151
151
|
if (!email.includes('@')) { err.style.display = 'block'; err.textContent = 'Invalid email address.'; return; }
|
|
152
152
|
err.style.display = 'none';
|
|
153
153
|
document.getElementById('auth').classList.add('hidden');
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
document.getElementById('dashboard').classList.remove('active');
|
|
161
161
|
document.getElementById('auth').classList.remove('hidden');
|
|
162
162
|
document.getElementById('email').value = '';
|
|
163
|
-
document.getElementById('
|
|
163
|
+
document.getElementById('team').value = '';
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
function addTask() {
|
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.
|
|
65
|
+
const RUNTIME_VERSION = '0.1.0-alpha.8';
|
|
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.
|
|
3
|
+
"version": "0.3.16",
|
|
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",
|