Skip to content

Held input asks first, radio/deck fixes, phantom typing, bug log - #320

Merged
kordless merged 8 commits into
refactor/css-out-of-codefrom
feat/held-input-toast
Oct 14, 2026
Merged

kordless merged 8 commits into
refactor/css-out-of-codefrom
feat/held-input-toast

Conversation

@kordless

Copy link
Copy Markdown

Stacked on #319. Bugs found while running agents and the hertz radio on 2026-10-14; each is a row in plan/bug-log.md (new).

Delivery

  • feat(delivery) an agent's send into the pane the human is in shows a top-right "⌨️ … Send now / Later" toast instead of waiting silently. Send now releases that one op past the focus guard (sidecar queue + main's GuardedInput) and blurs the pane. Release endpoint is Hyperia-app only. New top-right toast-layer anchor.
  • feat(mail) mail notices held by focus get the same toast ("📨 … Deliver now / Later"). Hold list shared in held_input::HELD.
  • fix(input) mouse/focus reports and terminal query replies no longer count as the human typing. Claude Code's mouse tracking made a pane look typed-in whenever the pointer crossed it, holding mail notices for minutes.

Radio

  • fix(radio) radio mail opens with "You were called as “”, this pane's call sign at the time of the call" — signs rotate, and agents were ignoring real calls as "not addressed to me".
  • fix(radio) a bound agent's transmission records its pane, so the deck sounds it from the pane rather than the top of the ring.

Control Deck

  • fix(proto_viz) "io-approx" host I/O (disk + network) is grey, labelled DISK+NET EST., and doesn't light the uplink, so idle Claude panes don't look like they're downloading.
  • feat(proto_viz) call signs in gold under pane names, from a new loopback-only GET /api/radio/badges.

Build

  • fix(build) build-local's guard matches the repo path plus a separator, so a sibling checkout's dev watchers don't block (shipped in 0.21.12; wasn't on any pushed branch).

Tests: 379 unit tests; new sidecar tests for held input, radio addressing; cargo check clean. Full sidecar suite: 5 TTS tests need HYPERIA_MISAKI_DIR locally, and one MCP-session test is flaky under parallel load (passes alone). The toasts haven't been exercised in a running app yet.

🤖 Generated with Claude Code

kordless and others added 8 commits October 14, 2026 12:32
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>
@kordless
kordless merged commit 6ec6a1c into refactor/css-out-of-code Oct 14, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant