Repository navigation
Add npm run cue: one command puts Cue in a call and takes it out - #30
Merged
Merged
Conversation
Tyler chose, for the hackathon, to run Cue on your own machine and hand it a Meet link (#16). By hand that took four steps: start the server, open a tunnel, copy its address into PUBLIC_URL, send the bot. And nothing ever removed the bot, which keeps billing Recall until it leaves. `npm run cue -- <link>` reuses a running server and a PUBLIC_URL that serves Cue's page, or starts them itself. That way a stale quick-tunnel address can't be sent to Recall. It then sends the bot, prints its status in plain words, and removes it on Ctrl+C or after CUE_MAX_MINUTES. Recall's own default already covers the case where everyone else leaves. The Recall calls move to scripts/recall.mjs, so send-bot and cue share one bot definition. server.js is untouched: the launcher runs it as a child process. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 13, 2026
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 #29
Why
Tyler chose to run Cue on your own machine for the hackathon and hand it a Meet link (#16). By hand that took four steps, and nothing ever removed the bot, which keeps billing Recall until it leaves ($5 budget, about $0.65/h).
Change
npm run cue -- <meeting-url>(scripts/cue.mjs):PORTif one already serves Cue's page, or startsserver.jsas a child process and passes its think lines through.PUBLIC_URLif it serves Cue's page, or opens a cloudflared quick tunnel and waits until its new address resolves. So a stale tunnel address is never sent to Recall.CUE_MAX_MINUTES(60 by default). A second Ctrl+C exits at once. Recall itself leaves about 2 s after everyone else has gone.scripts/recall.mjs: Recall's bot API (create, status, leave), sosend-botandcueshare one bot definition.send-botworks as before.Not changed:
server.js,agent.js, the API.Screenshots
None: nothing on Cue's screen changes.
Verified
npm run checkpasses.PORT=3100, noPUBLIC_URL): it started the server, opened a tunnel, and waited until the tunnel served the page. Recall rejected the fake meeting link with a 400, which the launcher printed, and then it stopped both the server and the tunnel. Port 3100 was free afterwards.PUBLIC_URL, used both, and left them running after its error exit.npmon Windows, Ctrl+C may also print "Terminate batch job (Y/N)?". I'll check all of this in Tyler's next call.Review
No review rule applies:
server.js,agent.jsand the API are unchanged. It adds no dependencies and doesn't raise spend; it cuts it, by removing forgotten bots.🤖 Generated with Claude Code