New threads, model and mode picker, alerts, $EDITOR and terminal attach
- c starts a draft thread (project, model, mode, worktree) launched with orchestration.launchThread - m picks model, provider options and access mode from the server's providers, following the web's provider lock; model changes ride on the next message - Alerts port T3's notification gate: bell, OSC 9/99 desktop notifications when unfocused, in-app flash - ctrl+g edits the message in $EDITOR; ctrl+j attaches to the thread's T3 terminal - Credential gains terminal:read
This commit is contained in:
1 parent
121bbd9137
commit
626d37a4e9
18 files changed
+1074
-49
No files matched your search
+2
-1
@@ -7,6 +7,7 @@ import { colors } from "./theme.ts";
|
||||
*/
|
||||
export function Palette(props: {
|
||||
readonly query: string;
|
||||
readonly placeholder?: string;
|
||||
readonly groups: readonly PaletteGroup[];
|
||||
readonly selected: number;
|
||||
readonly width: number;
|
||||
@@ -31,7 +32,7 @@ export function Palette(props: {
|
||||
<box position="absolute" top={2} left={Math.floor((props.width - width) / 2)} width={width} zIndex={10} flexDirection="column" border borderStyle="rounded" borderColor={colors.borderFocused} backgroundColor={colors.panel}>
|
||||
<box paddingLeft={1} paddingRight={1} height={1} flexDirection="row">
|
||||
<text fg={colors.accent}>{"› "}</text>
|
||||
<input focused flexGrow={1} placeholder="Search commands and threads (> for commands only)" value={props.query} onInput={props.onQuery} onSubmit={props.onSubmit} backgroundColor={colors.panel} focusedBackgroundColor={colors.panel} />
|
||||
<input focused flexGrow={1} placeholder={props.placeholder ?? "Search commands and threads (> for commands only)"} value={props.query} onInput={props.onQuery} onSubmit={props.onSubmit} backgroundColor={colors.panel} focusedBackgroundColor={colors.panel} />
|
||||
</box>
|
||||
<box border={["top"]} borderColor={colors.border} flexDirection="column" height={listHeight + 1}>
|
||||
{rows.length === 0 ? <text fg={colors.muted} paddingLeft={1}>No matches</text> : null}
|
||||
|
||||
Reference in new issue
Block a user