Repository navigation
Control panel: always tunnel through the tap, and fix the wrapping layout - #89
Merged
Merged
Conversation
…wrapping, for #88 In a live call the panel fell back to PUBLIC_URL (an existing tunnel to server.js), so the bot's think calls never passed through the tap: no transcript, 0 actions, and a cost line that claimed the models had cost $0.000. The panel now always opens its own quick tunnel to the tap, whatever PUBLIC_URL says; the tap still forwards to the server on PORT. If the tunnel can't open, sending fails with that error instead of quietly losing the feed. "models —" until a think call reports its usage, because no data isn't $0. The brand and status pill no longer wrap, the rail shows the meeting code with the full link as a tooltip and a copy button, and the empty transcript reads as waiting, not as an error. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Closes #88
Why
In a live Meet call the panel said "No live feed — Cue is using PUBLIC_URL". With a server and tunnel already running, the panel gave Recall PUBLIC_URL, which goes straight to server.js. Think calls never passed through the panel's tap, so the transcript stayed empty, actions read 0, and the cost line claimed "models $0.000". Tyler's running panel has no cloudflared child of its own, which confirms that fallback.
Change
scripts/panel.mjs: every bot the panel sends now goes through the panel's own cloudflared quick tunnel to its tap, whatever PUBLIC_URL says. This reusesopenTunnelfrom launch.mjs, and the tap still forwards to the server on PORT, so an existing server is reused as before. The PUBLIC_URL fallback is gone: if the tunnel can't open, sending fails and shows that error rather than silently losing the feed. A second send reuses the panel's tunnel only while the panel's own tunnel process is alive.white-space: nowrap; flex-shrink: 0).zxb-pcxx-xxx), with the full link as a tooltip and a copy button.Screenshots
1280×720, against a stand-in Recall and a stand-in Cue server.
Idle:

In the call, waiting for the first line (PUBLIC_URL set, and the cost line reads "models —"):

In the call, after one think call through the tunnel:

Verified
npm run checkpasses.PUBLIC_URLpointing at a stand-in Cue server that serves the page, andRECALL_APIpointing at a stand-in Recall. Sending a bot started a real cloudflared quick tunnel to the tap. The stand-in Recall received the*.trycloudflare.comaddress, not PUBLIC_URL. A POST to/api/thinkthrough that tunnel showed up in the feed (2 lines, 1 action, "On Cue's screen" updated) and turned the cost line into "models $0.012".Review
Skipped under CLAUDE.md's rule: no change to
server.js,agent.jsor Cue's API. This changes only the local panel (scripts/panel.mjs,panel/*).🤖 Generated with Claude Code