Theseus Navigator — Silent Mode's Electron browser with the Ariadne resolver built in.
Electron ships Chromium's renderer without the browser-side web-app install machinery, so beforeinstallprompt never fires and every site's own "Install our app" chip (coin-spectrum.com's, for one) stays hidden in Theseus. The browser side now exists: - webapps.js reads a page's <link rel="manifest">, accepts it when it names an app with a standalone-style display mode and a start_url on the page's origin, and records the descriptor on the tab. - The address bar shows an install chip for such pages (filled once the app is installed: click then opens or removes it); the page context menu carries the same entry. - Pages get a synthetic beforeinstallprompt whose prompt() routes to the Theseus install dialog and resolves userChoice like Chrome, and an appinstalled event afterwards, so sites' own chips appear and work. - Installing stores the app under <userData>/webapps/, wraps the manifest icon into an .ico, writes a Start Menu (optionally desktop) shortcut that launches Theseus with --app=<start_url>, and opens the app in a chromeless window with its own taskbar identity. The window shares the session, BCNR resolution, fingerprint and add-on bridges with tabs; popups and "open in Theseus" go to the browser window, Alt+arrows / F5 / Ctrl+R cover navigation without a toolbar. - Theseus takes the single-instance lock so a shortcut launch lands in the running browser (second-instance) instead of a second profile owner; launched cold, --app= opens only the app window and a later plain launch brings the browser window back. |
||
|---|---|---|
| addon-build/docx-editor | ||
| bundled-addons | ||
| dev | ||
| docs | ||
| lib | ||
| nsis | ||
| scripts | ||
| snapshots | ||
| addon-inject-preload.js | ||
| addon-tab-preload.js | ||
| addon-update-pubkeys.js | ||
| addon-updater.js | ||
| addons-host.js | ||
| address-picker-preload.js | ||
| address-picker.html | ||
| approval-preload.js | ||
| approval.html | ||
| auth-prompt-preload.js | ||
| auth-prompt.html | ||
| bcnr-origin.js | ||
| bcnr-preload.js | ||
| BROWSER-PROMPT.md | ||
| chrome.html | ||
| collision-preload.js | ||
| collision.html | ||
| DESIGN-integrated-wallet.md | ||
| DESIGN-password-manager.md | ||
| DESIGN-wallet-multi-account-amendment.md | ||
| downloads-preload.js | ||
| downloads.html | ||
| engine-picker-preload.js | ||
| engine-picker.html | ||
| error-preload.js | ||
| error.html | ||
| GOTCHAS.md | ||
| home-preload.js | ||
| home.html | ||
| link-status-preload.js | ||
| link-status.html | ||
| main.js | ||
| messages-preload.js | ||
| messages.html | ||
| package-lock.json | ||
| package.json | ||
| PACKAGING-PROMPT.md | ||
| PENDING.md | ||
| popover-preload.js | ||
| popover.html | ||
| preload.js | ||
| pw-fill-preload.js | ||
| pw-fill.html | ||
| README.md | ||
| RELEASE-HANDOFF.md | ||
| ROADMAP-identity-wallet.md | ||
| SESSION-PROMPT-identity-wallet.md | ||
| settings-preload.js | ||
| settings.html | ||
| sidebar-preload.js | ||
| test-installer.wsb | ||
| webapps.js | ||
Theseus Navigator
The browser — the consumer face of the stack. Native .bch support with the
resolver built in, so a user installs one app instead of modifying their
operating system. Named for the thread through the labyrinth: the chain is the
thread.
Scope
- Electron shell (Chromium engine, no forking): tabs, address bar, history.
- In-process
.bchresolution — no system daemon, no NRPT, no OS trust-store changes; reusesbns.jsfrom the BNS repo as a library. - Record handling:
hrender,ipconnect,p/s3via in-app gateway,uredirect. - TLS via cert-verify hook (Electron
setCertificateVerifyProc) against the BNS root / on-chaintlsfingerprints — no OS store touched. - Provenance indicator: shows whether a page came from the chain / Sia / a direct server, with NFT category and record type — the decentralized padlock.
Status: not started
Build it in its own session/repo. The ready-to-paste brief is
BROWSER-PROMPT.md (a reference copy in this folder; canonical source is
D:\Dev\NameCoin\BROWSER-PROMPT.md — if they diverge, NameCoin wins). It points
here and reuses the resolver core. theseus.bch is registered and should
eventually serve the browser's own homepage over the protocol it implements.
Roadmap
BUILD-ROADMAP.md Stage 5.