- JumPHP\Tauri\BrowserRuntime: the same App, PHP in the WebAssembly engine, the native commands sent to the page
through JsBridge ({t: 'tauri'}); App::start() (not blocking) and App::events(); wasm.php starts an App for
ui: webview
- engine/web/jumphp-app.js: what Tauri does, in HTML: windows (main + floating), menu bar and shortcuts, dialogs,
file picker (files into PHP's /tmp/open), save = download (/tmp/save), notifications, links, clipboard, drops
- engine/web/jumphp-app-frame.js: window.jumphp in the app's pages (same API as in Tauri), added to their <head>
by render-web.php (pages copied to app/); stage-web.sh: no service container for apps; package-web.sh copies folders
- tried in headless Chrome with hello-desktop: greeting from PHP, menu check item, confirm dialog, "Save as"
downloading the note, no error; Pong's browser build unchanged
- docs: "In the browser, on phones" (Android through bin/jumphp twa, iPhone as a web app)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01X3cUrs2Lzdw6UxLPgG4Xp1