Repository navigation
feat(timeline): port Find prev/next, subagent pill, latest copy, tail padding, run commentary, and session references - #257
Merged
Merged
Conversation
… padding, run commentary, and session references
Ports six upstream WS-3 timeline and session-header improvements to
`anomalyco/opencode` `e51247f626` while preserving `ours.md` §3.1/§3.2
hot-path invariants (`.whole_rows()`, tight `rune::memo` keys, O(1)
per-row checks, and zero `preview.rs` wire-format changes):
- `UP-078` (`#64865`): Previous/Next match chevron buttons in Find bar
(240 pt width, disabled at 0.4 opacity on 0 matches, preserves focus
in `find-input` on click).
- `PRE-13` (`#63742`): Subagent header ancestor breadcrumb hover/focus
pill and separator insets.
- `UP-070` (`#64640`): Keep only the latest finished turn's Copy button
visible at rest, computing `latest_copy_message` once per timeline
build for O(1) per-row memo checks.
- `UP-091` (`#64973`): Dynamic `tail_extra` (`{s: 0, m: 4, l: 16}`)
bottom padding above the composer/activity pill.
- `UP-083` (`#64917`): Split turn commentary at `Entry::Idle` run
boundaries and honor provider `native.phase` (`commentary` /
`final_answer`) on `Assistant::text_phases` without changing `Part::Text`
or `preview.rs` binary encoding.
- `PRE-02` (`#63083`): Debug bar `SESSION` copy cell with `Copied` toast
(`plugins/debug/init.luau`), `SessionReferenceMenu` (`Open Session`,
`Copy Session ID`, `Copy Session Title` + toasts), muted-medium
hover-underline transcript links (`@Title`), and right-clickable raw
unknown/archived/active session IDs.
|
PR test build retired — merged into |
Hona
added a commit
that referenced
this pull request
Nov 20, 2026
…ing (#266) - Fold verified fleet PRs #247, #251, #252, #253, #254, #255, #256, #257, #258, #260, #261, #262, #263, #264, and #265 (Rune #1290 PRE-11 / #1296) into docs/upstream-sync/ledger.{json,md} - Audit upstream anomalyco/opencode through 92d35f8e18 (+9 commits past bf683129fa), adding UP-107..UP-113 and assigning UP-106/UP-108/UP-111 to BROWSER-UI - Update scripts/upstream-sync-check.ts to skip pure *.fixture.* test files and route browser UI/history vs extensions commits to BROWSER-UI and WS-9
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.
Summary
Ports six upstream WS-3 rows to
anomalyco/opencodee51247f626, preservingours.md§3.1/§3.2 (.whole_rows(), tightrune::memokeys, O(1) per-row checks, and backward-compatiblepreview.rsbinary cache):UP-078,#64865):features/find/src/view.rswidens the Find bar to 240 pt, adds Previous/Next match chevron buttons (ui.fileSearch.{previousMatch,nextMatch}, disabled at 0.4 opacity when count is 0), and keeps focus infind-inputwhen stepping by pointer.PRE-13,#63742):apps/desktop/src/shell/view/header.rsadds hover/focus pill styling and slash separator insets on ancestor breadcrumb buttons.UP-070,#64640):crates/session-view/src/timeline/{parts.rs,mod.rs}computeslatest_copy_messageonce per timeline build (O(1) per row even in 10k-message sessions) and keeps only that turn's Copy visible at rest while hiding earlier turns' footers until hover/focus.UP-091,#64973):crates/session-view/src/timeline/{rhythm.rs,mod.rs}addstail_extra((gap - S).max(0.0), matching{s: 0, m: 4, l: 16}) above the composer/activity pill.native.phase(UP-083,#64917):crates/opencode-kit/src/model/{mod.rs,parse.rs,transcript.rs,preview.rs}records optional providernative.phase(commentary/final_answer) inAssistant::text_phaseswithout changingpreview.rs's wire format;crates/session-view/src/{turns/mod.rs,timeline/{delivery.rs,mod.rs,span.rs}}splits commentary perEntry::Idle-bounded run and appliesnative.phaseprecedence.PRE-02,#63083):plugins/debug/init.luauadds the clickableSESSIONcopy cell (shortened8 + … + 4, exact casing,Copiedtoast);features/mentions/src/{lib.rs,refs.rs}+apps/desktop/src/session/composer/mentions.rsupgrade the context menu toSessionReferenceMenu(Open Session,Copy Session ID,Copy Session Title+ toasts) and keep active/archived sessions raw;crates/session-view/src/{session_chips.rs,style.rs,user_parts.rs}+crates/opencode-kit/src/mention.rsstyle known references as muted medium@Titlelinks and make unknown/archived/active IDs right-clickable while keeping their inline-code pill. (Composer@sessionpill right-click will wire in a follow-up once Rune#1293merges and pins.)Verification
pwsh scripts/guardrails.ps1: 5/5 passed.cargo check --workspace,cargo check -p session-view --examples,scripts/web.ps1 -Check(1002 files in 46 crates, nostd::time::Instant/SystemTime::now), andcargo build -p opencode-desktop: all passed with 0 errors and 0 warnings.#[test]/#[cfg(test)]added.proof/ws3/batch1/):find-matches-1x-light.png&find-matches-1.5x-dark.png+find-matches-tree.json:2/39stepped andfind-inputremains focused with blue focus border.find-zero-1x-light.png:0/0with dimmed Previous/Next chevrons.subagent-hover-1.5x-{light,dark}.png: rounded hover pill + full-title tooltip.session-chips-1.5x-light.png&session-ref-menu-1x-light.png: muted medium@Titlelinks, raw unknown ID chip, 3-itemSessionReferenceMenu, latest-only Copy at rest.debug-bar-1x-light.png&debug-bar-copied-1x-light.png:SESSION ses_fx00…aaaacell, tooltip, andCopiedtoast.