The page forwarded every key to the remote desktop and cancelled it, so F5 and Ctrl+R could not reload, though the disconnect message tells the operator to reload, and Enter or Space on the fit and debug buttons did nothing. F5, F12, Ctrl/Cmd+R, Ctrl/Cmd+L and any key pressed on a button now go to the browser; the rest still go to the remote desktop. The filter is a small module with a test, bundled for the page as static/screen-keys.js, and the agent-page doc describes it.
19 lines
616 B
JSON
19 lines
616 B
JSON
{
|
|
"name": "@hive/agent",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"description": "hive-ag3nt per-container web UI. Bundled by esbuild into a static dist; served by the in-container Rust binary at runtime via tower_http::ServeDir. Per-agent additions are layered on top via the services.hyperhive.agent.frontend.extraFiles nix option.",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "node ./build.mjs",
|
|
"test": "node --test test/*.test.mjs",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@hive/shared": "*",
|
|
"preact": "11.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "7.0.2"
|
|
}
|
|
}
|