Repository navigation
Conversation
An agent's pane_send/terminal_run into the pane the human is focused on was held silently until they left it. The owning window now shows a top-right prompt: "<agent> wants to type into this pane: ..." with Send now / Later. Send now releases that one operation past the focus guard (sidecar queue and main's GuardedInput both honour it) and blurs the pane so the human's typing can't interleave. Later keeps the old behaviour. The toast closes itself when the input is delivered, expires or is cancelled. The release endpoint is Hyperia-app only. Adds a 'top-right' toast-layer anchor below the tab strip. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… waiting A mail notice for a pane the human is in was withheld until they left it, so radio calls from hertz looked ~1 min slow. The held-input toast now covers mail too: "📨 <sender> has mail for this pane: N messages · <subject>" with Deliver now / Later. Deliver now lets that one notice past the focus guard; the toast closes when the notice goes in or the agent reads the mail itself. The hold list moves to held_input::HELD (keyed by op ID or mail:<pane>) so the delivery queue and the notice loop share it. Starts plan/bug-log.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ne's Call signs are single-use and rotate on every call, so an agent reading a queue of radio mail sees signs it never held and has to guess whether they're meant for it. radio_deliver now opens each mail with "You were called as “<sign>”, this pane's call sign at the time of the call". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
/api/tts used an agent's pane binding to choose the spoken name but only recorded from_pane when the caller was a pane, so an agent's transmission had no anchor and the Control Deck drew it at the top of the ring. Record the pane found for the name as the transmission's from_pane. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Host agents without the counting proxy report "io-approx": their process tree's total I/O, disk included. An idle Claude reading its own files drew in the network colours and lit the uplink, so idle panes looked like they were downloading. Estimates are now grey, labelled "DISK+NET EST.", and left out of the uplink's level. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Main stamped "user activity" on every byte xterm sent to the PTY. When a program enables mouse tracking (Claude Code does), just moving the pointer across its pane sends a report every few ms, so the pane looked typed-in and agent input and mail notices were held though nobody was there. Terminal-generated reports (SGR/X10/urxvt mouse, focus in/out, cursor position, DA and OSC/DCS replies) no longer count. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Kord asked for each agent pane's radio call sign on the deck. A local-only GET /api/radio/badges returns the signs (like the radio log, loopback only), and the deck draws each in gold under its pane's name while the radio runs. An older sidecar without the route just shows none. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…uild The repo-process guard matched the repo path as a plain substring, so watchers in hyperia-css (a sibling whose name starts with 'hyperia') blocked a build in hyperia. Command lines now match the path plus a trailing separator, like the executable check already did. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The viewer's empty corners get four Star Trek–style elbow panels: - 01 OPS: sends and mail held for focus, awaiting approval, queued, failed and delivered in the last hour, pane mail unread 3+ minutes - 02 GPU: utilisation, temperature, power, VRAM, and the processes holding it (Windows GPU counters; vmwp shown as "WSL / Docker VM") - 03 HOST: CPU, RAM, sidecar version and uptime, warnings/errors in the last hour - 04 RADIO: hertz up or down, call signs, last heard, last transmission Data comes from a new loopback-only GET /api/deck/health; slow probes (nvidia-smi, typeperf) run on a background loop. Canvas callouts and the hint line move clear of the corners, which hide on small viewers. An older sidecar shows what the deck already has (VRAM, radio log). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The sidecar's focus check counted a pane as keyboard-focused when it was the active pane of its tab in the focused window, without checking that the tab was the one showing. Electron's paneProtected does check it. So every background tab's active pane looked occupied, and mail notices and agent sends to it waited for a tab switch (Magnificent Vole's PR breakdown sat 20+ minutes). Require tab_active too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…routing Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A console left with ENABLE_PROCESSED_INPUT off (a raw-mode program killed before it restored the console) stays that way: PSReadLine restores the mode it found at each prompt, so every later command runs with Ctrl-C disabled and ^C queues as a keystroke until the program exits. Hertzd and lume in two panes couldn't be stopped by Kord's Ctrl-C or terminal_keys. The pwsh integration now turns Ctrl-C processing back on before each prompt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Kord asked by radio: signs rotate on every call, so after an agent answers he doesn't know its next one. The spoken frame now ends "This is <pane>, call sign <sign>. Over and out." while the radio runs and the speaker's pane holds a sign. It's played on the local speaker, so only the room hears the new sign. Raw (frame=false) speech is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Kord asked by radio. Both recognizers mishear Quebec ("Quebec Golf" came out
as "Tibet Gulf" and "Cubac Golf", "Quebec Mike" as "Too big, Mike"). New
signs use the other 25 NATO words; the unbiased picker now sizes itself
from the word list. Existing signs rotate out on their own.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Focus protected a pane for as long as it stayed selected in the front window. Kord uses the radio when away from the keyboard, so a radio call to the agent he'd last been looking at waited until he came back and clicked elsewhere (Stable Xerinae: "open squelch problem, look at the logs", 10 min). Focus now protects a pane only within 5 minutes of the last click or keystroke there, in both the sidecar and main. Typing protection is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
n8 marks a fired trigger "running" until it finishes "ok" or "error". The sticky runner's poll ended on any non-ok status once the trigger had fired, so a run failed about 17 s in with "agent run ended with running" and the trigger was deleted mid-run (Kord's "Elegant Cat" on antigravity). Keep polling while it's running. The poll takes an injectable request so it can be tested; two tests cover running→ok and running→error. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Kord asked for the selected tab to read clearly as selected: a faint uplight in the tab's top-strip colours, as if lit from a hidden source below. The active tab gets a layer of its indicator colours (a blend when it holds several panes) at 18% opacity, masked by a radial falloff anchored below the bottom edge, so it's brightest at the bottom centre and gone two-thirds of the way up. It sits behind the text in the tab's own stacking context. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The sidecar mirrors each pane in a vt100 parser, and terminal_screen and scrollback read from it. On a shrink vt100 keeps the top rows and clamps the cursor to the last row, but xterm keeps the cursor's row and pushes the top into scrollback. After Magnificent Vole's pane went from 68 to 32 rows the mirror was misaligned, and Claude Code's cursor-relative redraws landed on the wrong rows: dropped letters, then a blank screen. Scroll the mirror up before shrinking so the cursor row stays put, as in xterm. Growing still differs (xterm pulls lines back from scrollback). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… link The per-shell log store kept every shell ever opened, closed ones too, and reached 1,104 shells and 6.5M lines (482 MB on disk). Every 45 s persist() cloned and serialized all of it while holding the lock the Electron reader takes for each PTY chunk, then wrote it with a blocking call on a runtime thread. The reader stalled past Electron's 15 s heartbeat timeout, so Electron reconnected every few minutes: the pane table was cleared (blank screen mirrors for agents) and in-flight mail notices were lost. - Cap the store at 400k lines and 200 shells; the least recently written shells go first, never the one being written. - Persist only when changed; serialize and write (tmp + rename) on a blocking thread after releasing the lock. - Trim an oversized store from an older build when it loads. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each reconnect cleared the session table, so every pane's vt100 mirror was recreated blank on re-register. An idle pane then read blank through terminal_screen until it printed again; Adequate Primate concluded output retrieval was broken while Marine Hornet's scrollback had everything. Park the screens on reconnect and hand each back when its pane re-registers with the same pid (resized to the new size). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Kord: a different local decision-model solution is coming, so Sailfish goes. Removed: - the "sailfish" ghost provider id (and its endpoint/port default, the keyless exemption, its default model and small-model classification) - the Sailfish probe and model list in /api/agent/models (the per-request Ollama cloud-tag injection that shared that path stays, as inject_live) - sailfish / sailfish_api from /api/agent/services and from the dashboard system snapshot - the Sailfish provider, service row and status lights in the agent config page, the deck's services panel and pods, and the shell's boot banner - Sailfish-specific doors tests; comments now say "local model" Generic OpenAI-compatible local endpoints (llama.cpp, vLLM) still work via the openai provider. Historical plan/ notes are left as they were. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
desktopCapturer.getSources thumbnails every window on the desktop and, on Windows, keeps the capture threads and buffers: each /api/window/image call leaked ~33 threads and ~140 MB in the main process. A 10-minute capture loop took main to 20 GB / 5,400 threads and starved the machine. Capture the window's renderer with capturePage and paint its visible web panes over it at their bounds instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A full-screen program whose terminal link dies (an n8 docker attach cut by sleep) never sends its exit sequences, so the pane stayed on the alt screen with mouse tracking on and the prompt filled with mouse reports. The idle reset skipped alt-screen panes; on the step to idle it now leaves the alt screen first, then switches the reporting off. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
When n8 (or anything that runs `docker attach`) dies, the attach client can outlive it on the pane's terminal, so it and the shell both read the keyboard. The sidecar now remembers attach clients seen under each pane's shell; one still alive after leaving that tree is killed and the human gets a notice with the reattach command. The container keeps running. Uses the process tree only, so it works on every platform. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Enter handler looked up the first word with Get-Command to report the
running app. A word like "[Console]::Write(" is an invalid wildcard, which
throws past -ErrorAction SilentlyContinue, so the handler died before
AcceptLine and Enter did nothing. Skip the lookup for wildcard words and
keep the marks in a try so they can never block Enter.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
d26f928 parked screens when the new Electron link connected, but the disconnect handler had already cleared the session table, so a real link drop still left every idle pane's screen blank (seen in a dev copy: 10 lines before the drop, 0 after). Park on disconnect instead; the test now goes through on_disconnect. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Approving a held create runs it straight from the respond handler (or the agent's in-flight wait), neither of which goes through has_create, so the one-shot grant stayed behind and the agent's next split went through without asking. Use the one-shot up when the approval runs the create. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… is flashing The active tab never flashes and the active pane's bell clears, so the access prompt now says "that's the pane you're in" there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…to your pane Clicking a button on the consent prompt moved focus to it; the prompt then unmounted and left focus on the page, so typing went nowhere until a click. Refocus the active terminal only when focus was lost to the page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…d sticky menus Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The pane runner only used pane_send, which the sidecar refuses (409) for a pane at a shell prompt, so Run on a pwsh pane always failed. On that refusal the note's text goes to terminal_run instead. 4 tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…etween them The result used to sit under the prompt and take over the sticky once it filled up, with no way to put it away. Now one side shows at a time: the footer's "↻ result" / "↻ note" link flips (a dot marks a new result), status and errors stay in the footer, and the result side can be edited or cleared by the human. Agents already update both via sticky_note_update. Also moves the engine's generic-error test off 409, which now means "run it as a shell command". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An agent's create card never appeared and its pill revived nothing: the window sent cards to a native layer that never became visible, and once any layer failed to build main refused all new ones while the host still believed in them. Now main checks each send shows within 2 s and otherwise tells the window to draw its toasts itself. Layer failures are logged to ~/.hyperia/logs/renderer-errors.log (main's stdout goes nowhere installed). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
capturePage waits for a frame; a window or web pane that isn't painting never sends one, so window_image timed out. Each capture now gives up after 4 s (a stuck web pane is skipped, the window errors). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ault browser
An agent (for example one in an n8 container) can now hand one web page to
the human's own system browser: sign-in, OAuth and device-code pages, or a
site that blocks embedded views.
- New MCP tool open_in_browser {url, purpose?}, route POST /api/browser/open,
and CLI verb `hyperia browser <url> [--why ..]`.
- It asks every time. Each call raises its own prompt naming the site and
showing the full URL; an approval opens that page once and records no
grant of any kind. This holds even with enforcement switched off. Only the
Hyperia app itself opens without a prompt.
- Only http(s) is accepted. Other schemes, URLs with a username or password,
control characters and oversize URLs are refused before the human is asked.
Lookalike hosts are shown as punycode. Electron re-checks the scheme before
calling shell.openExternal.
- The call waits ~8 s for the answer. After that it returns pending; the page
still opens on approval, and calling again with the same URL reports the
result instead of asking twice. A different URL replaces the waiting prompt
(one per agent). A denial is remembered for the usual cooldown.
- The consent log records the full URL.
Tests: URL checks, parking and result hand-off, the perms rule that an
approval grants nothing, three handler tests, and the prompt wording.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…esses Clicking a hyperlink a program printed (an OSC 8 link, or a detected URL) handed any address to the OS, including file: and application schemes, and a string that wasn't a URL at all. Whatever prints to a terminal chooses that address, so only http, https and mailto now reach shell.openExternal; anything else does nothing. Loopback links still open a web pane. The unused 'open external' window message gets the same check. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…isleading Found while auditing the MCP tools for open_in_browser. Access: - workspace_save/export/import/delete/rename and style_create/delete refused every caller: their identity check read a whoami field that no longer exists. They now accept any identified caller, as documented. - settings_set, settings_add_profile and settings_delete_profile needed no identity. They now use the same "writes need identity" bar. settings_set also echoed the unredacted old value; both values are now redacted like settings_get. - render with a path showed any file under the create grant. Documents (.md, .txt, ...) still render; Hyperia's own state directory never does; any other file needs the `files` capability. The resolved path is what is checked and served. Anonymous callers no longer learn whether a path exists, and a refused render no longer leaves its document registered. - open_web_pane and terminal_split accepted any URL scheme from an agent. http(s) and scheme-less input load as before, file:// needs the `files` capability, and other schemes are refused. - window_image needs an identified caller and the MCP tool forwards it. - A sticky run that targets an agent or a pane keeps the prompt it was approved for: pausing no longer unlocks the prompt for non-System callers (pause, edit, resume ran new text on the old approval). Correctness: - Gates on routes that hold nothing told the agent its command was held and would run automatically; after approval nothing happened. Those routes (cd, pulse set, close, new window, sticky create, request_access and every capability gate) now say to call again. open_web_pane is now really held, like split, new tab and render. - open_web_pane and render reported success when Electron refused. - request_access with pane "__audio__" (what the audio denial tells agents to call) returned 404; it now re-asks for audio. - shell_confirm sent without the caller's identity, was refused, and still reported "Sent". It forwards identity and reports what happened. - pane_pulse_clear with neither id nor address cleared every pulse on the human's focused pane; it is now a 400. - audio_play was limited to axum's 2 MB default body, far below its documented 32 MB cap. - tab_image read status keys that are no longer emitted: no pane labels and every pane drawn as a shell. - agents.json is written atomically, and an unreadable file is kept as agents.json.bad instead of being replaced by an empty list. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…u're in An n8 agent asked (over the radio) to close the Grub dashboard web pane. It was approved and reported closed, but the web pane stayed and the human's own pane, an antigravity n8 agent, was closed instead. The bridge closed a pane by selecting it and then, 80 ms later, closing the active pane. A web pane has no session, so selecting it by id did nothing and the close hit whatever the human was in. Any close by id could also take the wrong pane if focus moved in those 80 ms, and it moved the human's view. Electron now sends the pane id to the window, which closes that pane's own group: a terminal found by its session, a web pane by its group id. If the id isn't in the window, nothing is closed. The selection step is gone, so a close no longer moves focus. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A circular-arrow icon next to the pulse clock starts the pane's own profile again, fresh, in the same folder (the same in-place swap as Switch Shell). If something is running in the pane it asks for a second click first, as close does. Shell panes only, not pickers or web panes. The controls' spacing tightens (10 px down to 6 px between icons) to make room, and the button is the first thing the width ladder drops: below 420 px it disappears, before the split buttons go at 380 px. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The held-input / held-mail prompt is about one pane, so it now shows under that pane's top bar at its right edge. The renderer measures the pane while a prompt is up and sends the box to the toast layer (toast-layer:region); the top-right layer places itself there, clamped to the window. A pane narrower than the prompt lets it run left. Prompts for different panes, or a pane that can't be measured, keep the window corner. The DOM fallback follows the same box. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Brings in the quiet download (no curl progress bar) and the macOS temp-dir fix for GNU mktemp. hyperia-web serves the script; this copy had drifted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
| sendResult(seq, JSON.stringify({ok: false, error: 'Only http(s) pages can be opened'})); | ||
| break; | ||
| } | ||
| electronShell.openExternal(url).then( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Everything fixed since 0.21.11 that isn't on
canaryyet: the held-input / mail-delivery work (feat/held-input-toast), the newopen_in_browsertool, a pass over the sidecar's MCP tools, and the fixes reported since. Merges cleanly intocanary. Bug log rows #30–#53 inplan/bug-log.mdcover each fix.New
open_in_browserMCP tool (alsohyperia browser <url>): an agent asks to open one http(s) page in your default browser, e.g. a sign-in page. Every call prompts, and an approval opens that page once and is never remembered. A denial is remembered for 5 minutes, and one prompt per agent waits at a time.Fixed
terminal_closeclosed the wrong pane. Asked to close a web pane, it closed the pane you were in. It now closes the pane it names, and if it can't find that pane it closes nothing (MCP server: expose skills() so Claude knows available Hyperia capabilities #51).renderwith a path no longer shows Hyperia's own state files, and other files need the files capability.shell_confirm,window_image,tab_image,audio_play(32 MB clips) andpane_pulse_clearare fixed, andagents.jsonis saved atomically.mktemp -t hyperiafailed under GNU mktemp. The script now uses a temp folder that both versions accept, and cleans up on any exit. This repo'ssite/install.shwas out of date, so it is now synced with the copyhyperia-webserves (that repo has its own PR).[-lines work.Testing
ava: 406 passed.cargo test: all pass except 5 TTS tests that already failed before this branch. ESLint andtsc -p appare clean.🤖 Generated with Claude Code