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
+7
-1
@@ -14,9 +14,13 @@ export interface Tui3Config {
|
||||
readonly sendShortcut: "enter" | "ctrl-enter";
|
||||
readonly timestampFormat: "locale" | "12-hour" | "24-hour";
|
||||
readonly diffIgnoreWhitespace: boolean;
|
||||
/** As the web's notificationMode: sound is the terminal bell, notifications go through the terminal. */
|
||||
readonly notificationMode: "off" | "notifications" | "sound" | "notifications-and-sound";
|
||||
/** As the web's in-app toasts: a line at the bottom for threads you aren't looking at. */
|
||||
readonly inAppNotificationsEnabled: boolean;
|
||||
}
|
||||
|
||||
export const DEFAULT_CONFIG: Tui3Config = { followUpBehavior: "steer", sendShortcut: "enter", timestampFormat: "locale", diffIgnoreWhitespace: true };
|
||||
export const DEFAULT_CONFIG: Tui3Config = { followUpBehavior: "steer", sendShortcut: "enter", timestampFormat: "locale", diffIgnoreWhitespace: true, notificationMode: "sound", inAppNotificationsEnabled: true };
|
||||
|
||||
/** Every setting with its choices in cycling order, for the settings view. */
|
||||
export const CONFIG_CHOICES: { readonly [K in keyof Tui3Config]: readonly Tui3Config[K][] } = {
|
||||
@@ -24,6 +28,8 @@ export const CONFIG_CHOICES: { readonly [K in keyof Tui3Config]: readonly Tui3Co
|
||||
sendShortcut: ["enter", "ctrl-enter"],
|
||||
timestampFormat: ["locale", "12-hour", "24-hour"],
|
||||
diffIgnoreWhitespace: [true, false],
|
||||
notificationMode: ["off", "sound", "notifications", "notifications-and-sound"],
|
||||
inAppNotificationsEnabled: [true, false],
|
||||
};
|
||||
|
||||
export const configPath = () => join(configDir(), "config.json");
|
||||
|
||||
Reference in new issue
Block a user