дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-08 19:02:17 +02:00
* feat(agents): Select, copy, quote and search the conversation - Conversation text can be selected and copied. - Selected text gets a Quote button that replies to it in the composer. - Messages have Copy on hover; your own messages also have Edit and Resend and Send Again. - Code blocks are highlighted and have a Copy button. - File paths in replies (`src/lib.rs:12`) open in the editor when the file exists. - Find in Conversation (⌘F / Ctrl+F) highlights every match and steps through them, opening collapsed tool output. - Jump to Bottom appears after scrolling up. - Your messages show when they were sent and how long the agent took; a running turn shows its elapsed time. * feat(agents): Quote a selection from the context menu * feat(agents): Drop Jump to Bottom from the conversation * feat(agents): Drop the hover Copy button from agent messages * fix(agents): Highlight only the find matches on screen WebKit paints a highlight range inside a collapsed tool output over the text next to it. Matches in collapsed output still count, and stepping to one expands it. * fix(agents): Repaint find highlights as the search changes WebKit doesn't repaint where a replaced highlight object was, so matches of an earlier search stayed painted; each highlight is now one object changed in place.
16 рядки
429 B
TypeScript
16 рядки
429 B
TypeScript
/** The agent session tab holding focus, for actions that act on it (Find in Conversation). */
|
|
import { setContext } from "@/platform/context";
|
|
|
|
export interface FocusedSession {
|
|
openFind(): void;
|
|
}
|
|
|
|
let focused: FocusedSession | null = null;
|
|
|
|
export function setFocusedSession(session: FocusedSession | null) {
|
|
focused = session;
|
|
setContext("agentSessionFocus", !!session);
|
|
}
|
|
|
|
export const focusedSession = () => focused;
|