Repository navigation
feat(app): demo session in the debug bar - #57282
Closed
kitlangton wants to merge 68 commits into
Closed
kitlangton wants to merge 68 commits into
kitlangton wants to merge 68 commits into
Conversation
Contributor
Author
|
CI note: the red checks look unrelated to this change. |
kitlangton
force-pushed
the
debug-demo-session
branch
from
October 20, 2026 06:42
9d9bdfe to
3649844
Compare
While the timeline follows its end, rows grow to their measured height on one spring instead of landing, and the end rides that growth onto the composer. A row leaving near the end fades where it was while the rows above close its gap. Space the composer frees while rows grow is held under the last row for the reply to rise into. Scroll offsets stay on the layout grid, a prompt sent from the composer flies into its bubble, and Working and the background hint fade in their lane without doubling up.
The queue panel springs open and closed with a soft edge and keeps its last prompts while it closes, the activity pill fades out, the placeholder crossfades, and the Queue hint no longer flashes on every send. With reduced motion, the queue panel lands at once and the remaining fades stay short.
… run across directives
kitlangton
force-pushed
the
debug-demo-session
branch
from
October 22, 2026 22:30
3649844 to
7b0237c
Compare
Contributor
Author
|
Folding these controls into the Knobs pages (#58896) instead. |
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.
Why
Timeline motion (streaming text, tool rows growing, the Working line, the activity pill, the queue dock) is hard to watch on demand: it needs a model doing the right things at the right speed. The debug bar now has a Demo session that drives an open session through those states on OpenCode Drive's simulated model, so anyone tuning the timeline can trigger each state, slow it down, or loop it.
What Changes
[demo:<action> <speed>×] …) to the routed session. Finish turn interrupts it; Queue uses queue delivery; Auto-play loops a scripted mix, including a steer and a queued prompt mid-turn.script/drive/demo-session.tsstarts an isolated Drive server whose simulated model answers those prompts. Shell commands, patches, file reads and the background subagent run for real in Drive's throwaway project, so everything reaches the app through the normal server, event stream, data and timeline path.shortorcodegets those replies instead.simulationprovider, so a demo prompt never goes to a real model or a real conversation.Scope
Debug bar only; production builds drop the panel at build time, like the Motion workspace. No changes to the client data layer, server or protocol. The Drive script follows the existing
script/drive/*.tspattern (opencode-drive run …), documented inscript/drive/demo-session.md.Verification
bun typecheckandbun test src/debuginpackages/gui-extensions;bun run lint:changed origin/beta.https://problems.kitlangton.com/media/wsobxg2Sh2W2VwlC2uJnzw.mp4