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:
Callum Alpass committed 2026-11-02 18:55:47 +11:00
1 parent 121bbd9137
commit 626d37a4e9
18 files changed
+1074 -49

No files matched your search

+6
View File
@@ -15,6 +15,12 @@ const LABELS: { readonly [K in keyof Tui3Config]: { readonly label: string; read
sendShortcut: { label: "Send with", help: "ctrl+enter needs kitty keyboard support; alt+enter also sends", values: { enter: "enter", "ctrl-enter": "ctrl+enter (enter adds a line)" } },
timestampFormat: { label: "Times", help: "automation schedules", values: { locale: "system locale", "12-hour": "12-hour", "24-hour": "24-hour" } },
diffIgnoreWhitespace: { label: "Diffs", help: "whitespace-only changes", values: { true: "ignore whitespace", false: "show whitespace" } },
notificationMode: {
label: "Alerts",
help: "when a thread needs you or finishes; notifications only while the terminal is unfocused",
values: { off: "off", sound: "bell", notifications: "desktop notifications", "notifications-and-sound": "bell and desktop notifications" },
},
inAppNotificationsEnabled: { label: "In-app alerts", help: "a line at the bottom for other threads", values: { true: "on", false: "off" } },
};
/** tui3's own settings, in display order, each cycled with enter. */