You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 81b9ede
Browse filesBrowse the repository at this point in the historyBrowse files
Show the answering model in the inspector and mark model switches on the strip (#8)
TranscriptMessage now carries providerID/modelID (it was already on OpenCode's
own message, just never copied over), so the inspector shows a Model line for
assistant turns and steps, not only branch headers. The Model lane's turn rule
also thickens to a heavier glyph at the turn where the model actually
switched, since colour there is already spoken for by kind (text/reasoning).
Also fixes two `y`-copy papercuts found while testing this: a branch/separator
row silently did nothing instead of saying there's nothing to copy, and OSC 52
"success" (which has no ack from the terminal) is no longer trusted alone —
copyText always writes the local fallback file too, so a paste that silently
didn't land still has one reliable place to read it from.
if(!row.inContext)muted("not in this branch's context")
753
759
if(row.tokenFields){
754
760
consttf=row.tokenFields
@@ -859,6 +865,11 @@ export function TreeRoute(props: TreeRouteProps) {
859
865
notify(picks.length ? `marked ${picks.length} unprotected ${c.source} result${picks.length===1 ? "" : "s"} — ⏎ to apply` : `every ${c.source} result is protected; mark with space (twice) to override`)
860
866
}
861
867
868
+
/** OSC 52 clipboard "success" has no ack from the terminal, so `copyText` always writes
869
+
* `COPY_HINT` too — surface it even on a reported clipboard hit, since that's the only
870
+
* place a large paste that silently didn't land is still reliably sitting. */
871
+
constcopyNotice=(length: number,hint: string)=>`copied ${length} chars → ${hint}${hint==="clipboard" ? ` (paste empty? it's also at ${COPY_HINT})` : ""}`
872
+
862
873
functioncopySelected(){
863
874
// in the consumers panel `y` copies the selected entry — the only way to read a system
864
875
// part in full, since it is not a message and has no row of its own
@@ -867,17 +878,24 @@ export function TreeRoute(props: TreeRouteProps) {
0 commit comments