umer-wasim commited on
Commit
f42ab02
·
verified ·
1 Parent(s): a5e81ea

Rename to Arx (display name) with a new fortress icon; knowledge base: Who is Arx

Browse files
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- title: Endpoint Auditor
3
  emoji: 🛡️
4
  colorFrom: red
5
  colorTo: indigo
 
1
  ---
2
+ title: Arx · Devseis Endpoint Auditor
3
  emoji: 🛡️
4
  colorFrom: red
5
  colorTo: indigo
about.html CHANGED
@@ -3,7 +3,7 @@
3
  <head>
4
  <meta charset="utf-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1">
6
- <title>Devseis Endpoint Auditor</title>
7
  <meta name="description" content="Read-only endpoint audit for ISO 27001, GDPR and the EU AI Act. Stage 1, step 1: collectors, evidence format and synthetic data.">
8
  <style>
9
  :root {
@@ -53,7 +53,7 @@
53
  <body>
54
  <main>
55
  <span class="tag">Open source · stage 1</span>
56
- <h1>Devseis Endpoint Auditor</h1>
57
  <p class="lead">A read-only audit of Windows, Linux, macOS, iPhone and Android devices against a security baseline, GDPR technical controls, EU AI Act controls and organisational controls, written up by a small AI auditor model that runs on the device. <a href="index.html">ask the assistant</a>, <a href="phone.html">check your phone</a> or <a href="download.html">download the Mac app</a>.</p>
58
 
59
  <div class="grid">
 
3
  <head>
4
  <meta charset="utf-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <title>Arx · Devseis Endpoint Auditor</title>
7
  <meta name="description" content="Read-only endpoint audit for ISO 27001, GDPR and the EU AI Act. Stage 1, step 1: collectors, evidence format and synthetic data.">
8
  <style>
9
  :root {
 
53
  <body>
54
  <main>
55
  <span class="tag">Open source · stage 1</span>
56
+ <h1>Arx <span style="font-weight:400;color:var(--muted)">· Devseis Endpoint Auditor</span></h1>
57
  <p class="lead">A read-only audit of Windows, Linux, macOS, iPhone and Android devices against a security baseline, GDPR technical controls, EU AI Act controls and organisational controls, written up by a small AI auditor model that runs on the device. <a href="index.html">ask the assistant</a>, <a href="phone.html">check your phone</a> or <a href="download.html">download the Mac app</a>.</p>
58
 
59
  <div class="grid">
app/build/icon.png CHANGED
app/build/make-icon.cjs CHANGED
@@ -6,10 +6,17 @@ const html = `<html><body style="margin:0;background:transparent">
6
  <svg width="1024" height="1024" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg">
7
  <defs><linearGradient id="g" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#F2404D"/><stop offset="1" stop-color="#C81E2B"/></linearGradient></defs>
8
  <rect x="100" y="100" width="824" height="824" rx="185" fill="url(#g)"/>
9
- <path d="M512 230 L752 320 V500 C752 650 650 760 512 810 C374 760 272 650 272 500 V320 Z" fill="#fff" opacity="0.96"/>
10
- <text x="512" y="640" text-anchor="middle" font-family="-apple-system, Helvetica, Arial" font-weight="800" font-size="330" fill="#C81E2B">D</text>
11
- <circle cx="700" cy="760" r="92" fill="#00A1DE" stroke="#fff" stroke-width="22"/>
12
- <path d="M655 762 l32 32 l62 -66" fill="none" stroke="#fff" stroke-width="26" stroke-linecap="round" stroke-linejoin="round"/>
 
 
 
 
 
 
 
13
  </svg></body></html>`;
14
  app.whenReady().then(async () => {
15
  const win = new BrowserWindow({ width: 1024, height: 1024, show: false, transparent: true, backgroundColor: '#00000000', frame: false, useContentSize: true, webPreferences: { offscreen: true } });
 
6
  <svg width="1024" height="1024" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg">
7
  <defs><linearGradient id="g" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#F2404D"/><stop offset="1" stop-color="#C81E2B"/></linearGradient></defs>
8
  <rect x="100" y="100" width="824" height="824" rx="185" fill="url(#g)"/>
9
+ <!-- Arx: a fortress. Side walls with battlements, a taller central keep, an arched gate. -->
10
+ <g fill="#fff">
11
+ <path d="M232 470 h56 v-44 h44 v44 h44 v-44 h44 v44 h20 V780 H232 Z"/>
12
+ <path d="M572 470 h20 v-44 h44 v44 h44 v-44 h44 v44 h56 V780 H572 Z"/>
13
+ <path d="M392 380 h44 v-60 h56 v60 h40 v-60 h56 v60 h44 V780 H392 Z"/>
14
+ </g>
15
+ <path d="M452 780 V640 a60 60 0 0 1 120 0 V780 Z" fill="#C81E2B"/>
16
+ <rect x="296" y="530" width="20" height="70" rx="10" fill="#C81E2B"/>
17
+ <rect x="708" y="530" width="20" height="70" rx="10" fill="#C81E2B"/>
18
+ <circle cx="742" cy="742" r="104" fill="#00A1DE" stroke="#fff" stroke-width="24"/>
19
+ <path d="M692 744 l36 36 l70 -74" fill="none" stroke="#fff" stroke-width="28" stroke-linecap="round" stroke-linejoin="round"/>
20
  </svg></body></html>`;
21
  app.whenReady().then(async () => {
22
  const win = new BrowserWindow({ width: 1024, height: 1024, show: false, transparent: true, backgroundColor: '#00000000', frame: false, useContentSize: true, webPreferences: { offscreen: true } });
app/main.cjs CHANGED
@@ -70,7 +70,7 @@ function smokeTest() {
70
 
71
  function createWindow() {
72
  mainWindow = new BrowserWindow({
73
- width: 1100, height: 780, minWidth: 760, minHeight: 560, title: 'Devseis Endpoint Auditor',
74
  webPreferences: { preload: path.join(__dirname, 'preload.cjs'), contextIsolation: true, nodeIntegration: false, sandbox: true },
75
  });
76
  // DEVSEIS_SMOKE_MODEL=1 also loads the AI model (downloads it on first run).
@@ -234,7 +234,7 @@ const CHAT_URL = 'https://devseis-endpoint-auditor.static.hf.space/index.html';
234
  let chatWindow = null;
235
  ipcMain.handle('chat:open', async (event, evidenceText) => {
236
  if (chatWindow && !chatWindow.isDestroyed()) chatWindow.close();
237
- chatWindow = new BrowserWindow({ width: 1000, height: 820, minWidth: 420, minHeight: 560, title: 'Devseis Security Assistant',
238
  webPreferences: { contextIsolation: true, nodeIntegration: false, sandbox: true } });
239
  chatWindow.webContents.setWindowOpenHandler(({ url }) => (url.startsWith('blob:') ? { action: 'allow' } : (shell.openExternal(url), { action: 'deny' })));
240
  try {
 
70
 
71
  function createWindow() {
72
  mainWindow = new BrowserWindow({
73
+ width: 1100, height: 780, minWidth: 760, minHeight: 560, title: 'Arx · Devseis Endpoint Auditor',
74
  webPreferences: { preload: path.join(__dirname, 'preload.cjs'), contextIsolation: true, nodeIntegration: false, sandbox: true },
75
  });
76
  // DEVSEIS_SMOKE_MODEL=1 also loads the AI model (downloads it on first run).
 
234
  let chatWindow = null;
235
  ipcMain.handle('chat:open', async (event, evidenceText) => {
236
  if (chatWindow && !chatWindow.isDestroyed()) chatWindow.close();
237
+ chatWindow = new BrowserWindow({ width: 1000, height: 820, minWidth: 420, minHeight: 560, title: 'Arx · Devseis security assistant',
238
  webPreferences: { contextIsolation: true, nodeIntegration: false, sandbox: true } });
239
  chatWindow.webContents.setWindowOpenHandler(({ url }) => (url.startsWith('blob:') ? { action: 'allow' } : (shell.openExternal(url), { action: 'deny' })));
240
  try {
app/renderer/index.html CHANGED
@@ -4,7 +4,7 @@
4
  <meta charset="utf-8">
5
  <meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' 'wasm-unsafe-eval'; style-src 'self'; connect-src 'self' https://huggingface.co https://*.huggingface.co https://*.hf.co https://raw.githubusercontent.com; img-src 'self' data:; worker-src 'self' blob:">
6
  <meta name="viewport" content="width=device-width, initial-scale=1">
7
- <title>Devseis Endpoint Auditor</title>
8
  <link rel="stylesheet" href="styles.css">
9
  </head>
10
  <body>
@@ -55,7 +55,7 @@
55
  <div class="actions">
56
  <button class="secondary" id="again">Run another audit</button>
57
  <button class="primary" id="save-again">Save report as PDF</button>
58
- <button class="secondary" id="ask-chat">💬 Ask the assistant about this report</button>
59
  </div>
60
  <p class="muted" id="saved-note"></p>
61
  </section>
 
4
  <meta charset="utf-8">
5
  <meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' 'wasm-unsafe-eval'; style-src 'self'; connect-src 'self' https://huggingface.co https://*.huggingface.co https://*.hf.co https://raw.githubusercontent.com; img-src 'self' data:; worker-src 'self' blob:">
6
  <meta name="viewport" content="width=device-width, initial-scale=1">
7
+ <title>Arx · Devseis Endpoint Auditor</title>
8
  <link rel="stylesheet" href="styles.css">
9
  </head>
10
  <body>
 
55
  <div class="actions">
56
  <button class="secondary" id="again">Run another audit</button>
57
  <button class="primary" id="save-again">Save report as PDF</button>
58
+ <button class="secondary" id="ask-chat">💬 Ask Arx about this report</button>
59
  </div>
60
  <p class="muted" id="saved-note"></p>
61
  </section>
download.html CHANGED
@@ -5,7 +5,7 @@
5
  <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
6
  <meta name="description" content="Download the Devseis Endpoint Auditor for Mac, Windows and Linux: a free, read-only security and compliance check (ISO 27001, GDPR, EU AI Act) with an AI auditor that runs on your computer.">
7
  <meta name="theme-color" content="#ED2939">
8
- <title>Download Endpoint Auditor</title>
9
  <style>
10
  :root { --red: #ED2939; --red-dark: #C81E2B; --blue: #00A1DE; --bg: #f6f7fa; --card: #fff; --text: #16181d; --muted: #5b6270; --line: #e2e5eb; --soft: #fff4f4; --ok: #1a7f37; }
11
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #101216; --card: #1a1d23; --text: #eef0f4; --muted: #a2a9b6; --line: #2c313a; --soft: #2a1a1c; --ok: #3fb950; } }
@@ -68,13 +68,13 @@
68
  </head>
69
  <body>
70
  <header class="top">
71
- <div class="brand"><img src="app/build/icon.png" alt=""><span>Devseis <b>Endpoint Auditor</b></span></div>
72
- <nav><a href="index.html">Assistant</a><a href="phone.html">Phone check</a><a href="about.html">About</a></nav>
73
  </header>
74
 
75
  <main>
76
- <h1>Check your computer in 15 minutes</h1>
77
- <p class="lead">A free, safe check of your computer's security settings against <b>ISO 27001</b>, <b>GDPR</b> and the <b>EU AI Act</b>. An AI auditor writes a clear report with what to fix — <b>on your computer</b>, without sending anything anywhere.</p>
78
 
79
  <div class="facts">
80
  <div class="fact"><b>✅ Only looks, never changes</b><span>It reads settings. Nothing on your computer is changed.</span></div>
@@ -173,7 +173,7 @@
173
  <details><summary>What about my phone?</summary><p>Open <a href="phone.html">the phone check</a> on your iPhone or Android phone — the phone check runs in the browser, nothing to install.</p></details>
174
  <p class="muted">Not legal advice or a certification. Open source by Devseis: code Apache-2.0, data CC BY 4.0. <a href="https://huggingface.co/spaces/Devseis/endpoint-auditor/tree/main">Source</a> · <a href="https://huggingface.co/datasets/Devseis/endpoint-auditor-releases">All releases</a></p>
175
  </main>
176
- <footer class="foot">Devseis · <a href="index.html">Assistant</a> · <a href="phone.html">Phone check</a> · <a href="about.html">About</a></footer>
177
 
178
  <script>
179
  // Pick the visitor's system, and fill in links, sizes and checksums from the releases repository.
 
5
  <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
6
  <meta name="description" content="Download the Devseis Endpoint Auditor for Mac, Windows and Linux: a free, read-only security and compliance check (ISO 27001, GDPR, EU AI Act) with an AI auditor that runs on your computer.">
7
  <meta name="theme-color" content="#ED2939">
8
+ <title>Download Arx</title>
9
  <style>
10
  :root { --red: #ED2939; --red-dark: #C81E2B; --blue: #00A1DE; --bg: #f6f7fa; --card: #fff; --text: #16181d; --muted: #5b6270; --line: #e2e5eb; --soft: #fff4f4; --ok: #1a7f37; }
11
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #101216; --card: #1a1d23; --text: #eef0f4; --muted: #a2a9b6; --line: #2c313a; --soft: #2a1a1c; --ok: #3fb950; } }
 
68
  </head>
69
  <body>
70
  <header class="top">
71
+ <div class="brand"><img src="app/build/icon.png" alt=""><span><b>Arx</b> by Devseis</span></div>
72
+ <nav><a href="index.html">Arx</a><a href="phone.html">Phone check</a><a href="about.html">About</a></nav>
73
  </header>
74
 
75
  <main>
76
+ <h1>Check your computer with Arx in 15 minutes</h1>
77
+ <p class="lead">The desktop app (named <b>Devseis Endpoint Auditor</b> on your computer) runs a free, safe check of your computer's security settings against <b>ISO 27001</b>, <b>GDPR</b> and the <b>EU AI Act</b>. An AI auditor writes a clear report with what to fix — <b>on your computer</b>, without sending anything anywhere.</p>
78
 
79
  <div class="facts">
80
  <div class="fact"><b>✅ Only looks, never changes</b><span>It reads settings. Nothing on your computer is changed.</span></div>
 
173
  <details><summary>What about my phone?</summary><p>Open <a href="phone.html">the phone check</a> on your iPhone or Android phone — the phone check runs in the browser, nothing to install.</p></details>
174
  <p class="muted">Not legal advice or a certification. Open source by Devseis: code Apache-2.0, data CC BY 4.0. <a href="https://huggingface.co/spaces/Devseis/endpoint-auditor/tree/main">Source</a> · <a href="https://huggingface.co/datasets/Devseis/endpoint-auditor-releases">All releases</a></p>
175
  </main>
176
+ <footer class="foot">Devseis · <a href="index.html">Arx</a> · <a href="phone.html">Phone check</a> · <a href="about.html">About</a></footer>
177
 
178
  <script>
179
  // Pick the visitor's system, and fill in links, sizes and checksums from the releases repository.
index.html CHANGED
@@ -3,9 +3,9 @@
3
  <head>
4
  <meta charset="utf-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover, interactive-widget=resizes-content">
6
- <meta name="description" content="Devseis security assistant: ask about securing your computer or phone, ISO 27001, GDPR and the EU AI Act, and run a free audit. The AI runs on your device; nothing is uploaded.">
7
  <meta name="theme-color" content="#ED2939">
8
- <title>Devseis Security Assistant</title>
9
  <link rel="icon" href="app/build/icon.png">
10
  <link rel="apple-touch-icon" href="app/build/icon.png">
11
  <link rel="stylesheet" href="chat/chat.css">
@@ -16,7 +16,7 @@
16
  <button type="button" id="sidebarToggle" class="icon-btn" aria-label="Conversations" title="Conversations">
17
  <svg viewBox="0 0 24 24" width="20" height="20" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M4 6h16M4 12h16M4 18h16"/></svg>
18
  </button>
19
- <a class="brand" href="index.html"><img src="app/build/icon.png" alt=""><span>Devseis <b>Security Assistant</b></span></a>
20
  </div>
21
  <div class="header-actions">
22
  <button type="button" id="aiChip" class="ai-chip" data-state="off">⚡ Enable AI</button>
@@ -32,7 +32,7 @@
32
  <main id="chatMain">
33
  <div class="empty-state" id="emptyState">
34
  <div class="hero-icon"><img src="app/build/icon.png" alt=""></div>
35
- <h1>Hi, I'm your Devseis security assistant.</h1>
36
  <p class="hero-sub">Ask me how to secure your computer or phone, or about ISO 27001, GDPR and the EU AI Act. I can also <b>audit this device</b> for free. I run on your device: nothing you type is uploaded.</p>
37
  <div class="ai-card hidden" id="aiCard">
38
  <div><b>⚡ Turn on the AI assistant</b><br><span id="aiCardText">One-time download of about 1 GB; it then runs on this device, even offline. Until then I answer instantly from the Devseis knowledge base.</span></div>
@@ -54,7 +54,7 @@
54
  </button>
55
  <input type="file" id="fileInput" accept=".json,application/json" hidden>
56
  <div class="input-pill">
57
- <textarea id="input" rows="1" placeholder="Ask about security, or add your audit report…" aria-label="Message"></textarea>
58
  </div>
59
  <button type="submit" id="sendBtn" class="send-btn" aria-label="Send" disabled>
60
  <svg viewBox="0 0 24 24" width="18" height="18" fill="currentColor"><path d="M3.4 20.4l17.45-7.48a1 1 0 000-1.84L3.4 3.6a.99.99 0 00-1.39.91L2 9.12c0 .5.37.93.87.99L17 12 2.87 13.88c-.5.07-.87.5-.87 1l.01 4.61c0 .71.73 1.2 1.39.91z"/></svg>
 
3
  <head>
4
  <meta charset="utf-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover, interactive-widget=resizes-content">
6
+ <meta name="description" content="Arx by Devseis, your security assistant: ask about securing your computer or phone, ISO 27001, GDPR and the EU AI Act, and run a free audit. The AI runs on your device; nothing is uploaded.">
7
  <meta name="theme-color" content="#ED2939">
8
+ <title>Arx · Devseis security assistant</title>
9
  <link rel="icon" href="app/build/icon.png">
10
  <link rel="apple-touch-icon" href="app/build/icon.png">
11
  <link rel="stylesheet" href="chat/chat.css">
 
16
  <button type="button" id="sidebarToggle" class="icon-btn" aria-label="Conversations" title="Conversations">
17
  <svg viewBox="0 0 24 24" width="20" height="20" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M4 6h16M4 12h16M4 18h16"/></svg>
18
  </button>
19
+ <a class="brand" href="index.html"><img src="app/build/icon.png" alt=""><span><b>Arx</b> by Devseis</span></a>
20
  </div>
21
  <div class="header-actions">
22
  <button type="button" id="aiChip" class="ai-chip" data-state="off">⚡ Enable AI</button>
 
32
  <main id="chatMain">
33
  <div class="empty-state" id="emptyState">
34
  <div class="hero-icon"><img src="app/build/icon.png" alt=""></div>
35
+ <h1>Hi, I'm Arx, your Devseis security assistant.</h1>
36
  <p class="hero-sub">Ask me how to secure your computer or phone, or about ISO 27001, GDPR and the EU AI Act. I can also <b>audit this device</b> for free. I run on your device: nothing you type is uploaded.</p>
37
  <div class="ai-card hidden" id="aiCard">
38
  <div><b>⚡ Turn on the AI assistant</b><br><span id="aiCardText">One-time download of about 1 GB; it then runs on this device, even offline. Until then I answer instantly from the Devseis knowledge base.</span></div>
 
54
  </button>
55
  <input type="file" id="fileInput" accept=".json,application/json" hidden>
56
  <div class="input-pill">
57
+ <textarea id="input" rows="1" placeholder="Ask Arx about security, or add your audit report…" aria-label="Message"></textarea>
58
  </div>
59
  <button type="submit" id="sendBtn" class="send-btn" aria-label="Send" disabled>
60
  <svg viewBox="0 0 24 24" width="18" height="18" fill="currentColor"><path d="M3.4 20.4l17.45-7.48a1 1 0 000-1.84L3.4 3.6a.99.99 0 00-1.39.91L2 9.12c0 .5.37.93.87.99L17 12 2.87 13.88c-.5.07-.87.5-.87 1l.01 4.61c0 .71.73 1.2 1.39.91z"/></svg>
library/build_knowledge.py CHANGED
@@ -90,6 +90,10 @@ FAQ = [
90
  "The assistant and the report writer are a small language model fine-tuned by Devseis from Qwen2.5 and run on the "
91
  "device with WebLLM. Audit verdicts are decided by rules in code, not by the model; the model explains, prioritises and "
92
  "writes, and every report answer is checked against the evidence before it is used."),
 
 
 
 
93
  ]
94
 
95
 
 
90
  "The assistant and the report writer are a small language model fine-tuned by Devseis from Qwen2.5 and run on the "
91
  "device with WebLLM. Audit verdicts are decided by rules in code, not by the model; the model explains, prioritises and "
92
  "writes, and every report answer is checked against the evidence before it is used."),
93
+ ("Who is Arx?",
94
+ "Arx is the name of the Devseis security assistant and endpoint auditor (from the Latin for fortress). Arx answers "
95
+ "questions about securing computers and phones, ISO 27001, GDPR and the EU AI Act, and audits devices: computers with the "
96
+ "Devseis Endpoint Auditor desktop app, phones with the phone check in the browser. Arx runs on the device; nothing is uploaded."),
97
  ]
98
 
99
 
library/knowledge.json CHANGED
@@ -2382,6 +2382,12 @@
2382
  "kind": "faq",
2383
  "title": "The Devseis AI auditor model",
2384
  "text": "The assistant and the report writer are a small language model fine-tuned by Devseis from Qwen2.5 and run on the device with WebLLM. Audit verdicts are decided by rules in code, not by the model; the model explains, prioritises and writes, and every report answer is checked against the evidence before it is used."
 
 
 
 
 
 
2385
  }
2386
  ]
2387
  }
 
2382
  "kind": "faq",
2383
  "title": "The Devseis AI auditor model",
2384
  "text": "The assistant and the report writer are a small language model fine-tuned by Devseis from Qwen2.5 and run on the device with WebLLM. Audit verdicts are decided by rules in code, not by the model; the model explains, prioritises and writes, and every report answer is checked against the evidence before it is used."
2385
+ },
2386
+ {
2387
+ "id": "faq:13",
2388
+ "kind": "faq",
2389
+ "title": "Who is Arx?",
2390
+ "text": "Arx is the name of the Devseis security assistant and endpoint auditor (from the Latin for fortress). Arx answers questions about securing computers and phones, ISO 27001, GDPR and the EU AI Act, and audits devices: computers with the Devseis Endpoint Auditor desktop app, phones with the phone check in the browser. Arx runs on the device; nothing is uploaded."
2391
  }
2392
  ]
2393
  }
mobile/app.js CHANGED
@@ -270,7 +270,7 @@ function showResult() {
270
  $('pdf-note').textContent = 'The report stays on this phone until you save or share it.';
271
  try { localStorage.setItem('devseis.lastAudit', state.report.evidenceText); } catch { /* private mode */ }
272
  if (!document.getElementById('ask-assistant')) {
273
- document.querySelector('#s-done .actions').insertAdjacentHTML('afterbegin', '<a class="dl-mac" id="ask-assistant" href="index.html#audit">💬 Ask the assistant about this report</a>');
274
  }
275
  show('done');
276
  }
@@ -323,7 +323,7 @@ async function sharePdf() {
323
  const file = new File([blob], fileName('pdf'), { type: 'application/pdf' });
324
  if (navigator.canShare && navigator.canShare({ files: [file] })) {
325
  try {
326
- await navigator.share({ files: [file], title: 'Devseis phone check' });
327
  $('pdf-note').textContent = 'Shared. Choose "Save to Files" in the share sheet to keep a copy on the phone.';
328
  return;
329
  } catch (error) {
 
270
  $('pdf-note').textContent = 'The report stays on this phone until you save or share it.';
271
  try { localStorage.setItem('devseis.lastAudit', state.report.evidenceText); } catch { /* private mode */ }
272
  if (!document.getElementById('ask-assistant')) {
273
+ document.querySelector('#s-done .actions').insertAdjacentHTML('afterbegin', '<a class="dl-mac" id="ask-assistant" href="index.html#audit">💬 Ask Arx about this report</a>');
274
  }
275
  show('done');
276
  }
 
323
  const file = new File([blob], fileName('pdf'), { type: 'application/pdf' });
324
  if (navigator.canShare && navigator.canShare({ files: [file] })) {
325
  try {
326
+ await navigator.share({ files: [file], title: 'Arx phone check by Devseis' });
327
  $('pdf-note').textContent = 'Shared. Choose "Save to Files" in the share sheet to keep a copy on the phone.';
328
  return;
329
  } catch (error) {
phone.html CHANGED
@@ -5,13 +5,13 @@
5
  <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
6
  <meta name="description" content="Free, private security and compliance check for your phone (ISO 27001, GDPR, EU AI Act). Runs in your browser; nothing about your phone is uploaded.">
7
  <meta name="theme-color" content="#ED2939">
8
- <title>Devseis Phone Check</title>
9
  <link rel="stylesheet" href="mobile/styles.css">
10
  </head>
11
  <body>
12
  <header class="top">
13
- <div class="brand"><span class="mark">D</span><span>Devseis <b>Phone Check</b></span></div>
14
- <div style="display:flex;gap:8px;align-items:center"><div id="model-chip" class="chip hidden"></div><a class="chip" href="index.html">← Assistant</a></div>
15
  </header>
16
 
17
  <main>
 
5
  <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
6
  <meta name="description" content="Free, private security and compliance check for your phone (ISO 27001, GDPR, EU AI Act). Runs in your browser; nothing about your phone is uploaded.">
7
  <meta name="theme-color" content="#ED2939">
8
+ <title>Arx phone check · Devseis</title>
9
  <link rel="stylesheet" href="mobile/styles.css">
10
  </head>
11
  <body>
12
  <header class="top">
13
+ <div class="brand"><span class="mark">D</span><span><b>Arx</b> phone check</span></div>
14
+ <div style="display:flex;gap:8px;align-items:center"><div id="model-chip" class="chip hidden"></div><a class="chip" href="index.html">← Arx</a></div>
15
  </header>
16
 
17
  <main>