@vitronai/alethia 0.4.3 → 0.4.4

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.
@@ -1,6 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
3
3
  <head>
4
+ <meta charset="utf-8">
4
5
  <title>Admin Panel — Classified</title>
5
6
  <style>
6
7
  * { box-sizing: border-box; margin: 0; padding: 0; }
@@ -1,6 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
3
3
  <head>
4
+ <meta charset="utf-8">
4
5
  <title>Agent Oversight — Autonomous System Monitor</title>
5
6
  <style>
6
7
  * { box-sizing: border-box; margin: 0; padding: 0; }
@@ -1,6 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
3
3
  <head>
4
+ <meta charset="utf-8">
4
5
  <title>TaskFlow - AI-Generated Task Manager</title>
5
6
  <style>
6
7
  * { box-sizing: border-box; margin: 0; padding: 0; }
@@ -1,6 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
3
3
  <head>
4
+ <meta charset="utf-8">
4
5
  <title>Post-Quantum Cryptographic Readiness Assessment</title>
5
6
  <style>
6
7
  * { box-sizing: border-box; margin: 0; padding: 0; }
@@ -1,6 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
3
3
  <head>
4
+ <meta charset="utf-8">
4
5
  <title>EA1 Policy Stress Test</title>
5
6
  <style>
6
7
  * { box-sizing: border-box; margin: 0; padding: 0; }
@@ -1,6 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
3
3
  <head>
4
+ <meta charset="utf-8">
4
5
  <title>Trading Platform — Risk Monitor</title>
5
6
  <style>
6
7
  * { box-sizing: border-box; margin: 0; padding: 0; }
@@ -1,6 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
3
3
  <head>
4
+ <meta charset="utf-8">
4
5
  <title>SIEM — Incident Response Console</title>
5
6
  <style>
6
7
  * { box-sizing: border-box; margin: 0; padding: 0; }
@@ -1,6 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
3
3
  <head>
4
+ <meta charset="utf-8">
4
5
  <title>Federal Asset Management System</title>
5
6
  <style>
6
7
  * { box-sizing: border-box; margin: 0; padding: 0; }
@@ -1,6 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
3
3
  <head>
4
+ <meta charset="utf-8">
4
5
  <title>Threat Intelligence Platform</title>
5
6
  <style>
6
7
  * { box-sizing: border-box; margin: 0; padding: 0; }
@@ -1,6 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
3
  <head>
4
+ <meta charset="utf-8">
4
5
  <style>
5
6
  * { box-sizing: border-box; margin: 0; padding: 0; }
6
7
  body { font-family: 'SF Mono', monospace; background: #080c14; color: #c8d6e5; min-height: 100vh; padding: 1.5rem; font-size: 0.85rem; }
@@ -16,7 +17,7 @@
16
17
  .expect-fail { font-size: 0.7rem; padding: 0.15rem 0.5rem; border-radius: 3px; background: #1a0808; color: #ff4444; border: 1px solid #ff4444; }
17
18
  button { padding: 0.35rem 0.7rem; border-radius: 4px; border: 1px solid #1a2744; background: #111d30; color: #7eb8da; cursor: pointer; font: inherit; font-size: 0.75rem; }
18
19
  input { padding: 0.35rem 0.5rem; border-radius: 4px; border: 1px solid #1a2744; background: #111d30; color: #e2e8f0; font: inherit; font-size: 0.8rem; width: 180px; }
19
- img { display: inline-block; width: 60px; height: 40px; background: #1a2744; border-radius: 4px; }
20
+ img { display: inline-block; width: 60px; height: 40px; background: #2a3a5a; border: 1px solid #4a6a9a; border-radius: 4px; margin: 0.3rem 0.3rem 0 0; }
20
21
  .low-contrast { color: #1a2744; }
21
22
  .tiny-text { font-size: 6px; }
22
23
  .score-bar { display: flex; gap: 1.5rem; padding: 0.8rem; background: #111d30; border-radius: 8px; border: 1px solid #1a2744; margin-bottom: 1rem; }
@@ -42,9 +43,9 @@
42
43
  <span class="violation-label">Image without alt</span>
43
44
  <span class="expect-fail">SHOULD CATCH</span>
44
45
  </div>
45
- <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" />
46
- <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" />
47
- <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" />
46
+ <img src="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'><rect width='60' height='40' fill='%234a6a9a'/><circle cx='16' cy='14' r='4' fill='%23ffd166'/><polygon points='6,32 22,18 32,26 44,14 54,32' fill='%237eb8da'/></svg>" />
47
+ <img src="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'><rect width='60' height='40' fill='%234a6a9a'/><circle cx='16' cy='14' r='4' fill='%23ffd166'/><polygon points='6,32 22,18 32,26 44,14 54,32' fill='%237eb8da'/></svg>" />
48
+ <img src="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'><rect width='60' height='40' fill='%234a6a9a'/><circle cx='16' cy='14' r='4' fill='%23ffd166'/><polygon points='6,32 22,18 32,26 44,14 54,32' fill='%237eb8da'/></svg>" />
48
49
  </div>
49
50
 
50
51
  <div class="panel">
@@ -96,7 +97,7 @@
96
97
  <span class="violation-label">Image with alt text</span>
97
98
  <span style="font-size:0.7rem;padding:0.15rem 0.5rem;border-radius:3px;background:#001a0a;color:#00cc66;border:1px solid #00cc66">SHOULD PASS</span>
98
99
  </div>
99
- <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" alt="Decorative placeholder" />
100
+ <img src="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'><rect width='60' height='40' fill='%234a6a9a'/><circle cx='16' cy='14' r='4' fill='%23ffd166'/><polygon points='6,32 22,18 32,26 44,14 54,32' fill='%237eb8da'/></svg>" alt="Decorative placeholder" />
100
101
  <div class="violation">
101
102
  <span class="violation-label">Input with aria-label</span>
102
103
  <span style="font-size:0.7rem;padding:0.15rem 0.5rem;border-radius:3px;background:#001a0a;color:#00cc66;border:1px solid #00cc66">SHOULD PASS</span>
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.3.1';
126
+ const RUNTIME_VERSION = '0.3.2';
127
127
  // Allow override via env var so tests (and unusual installs) can sandbox the path.
128
128
  const RUNTIME_DIR = process.env.ALETHIA_RUNTIME_DIR ?? join(homedir(), '.alethia', 'runtime');
129
129
  const RUNTIME_MARKER = join(RUNTIME_DIR, '.installed');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitronai/alethia",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
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",