mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 20:34:18 +01:00
feat(activity): surface active work across the session picker, tool rail and mobile
This commit is contained in:
1 parent
be874ee07c
commit
d8f2fcf29c
46 files changed
+3120
-277
No files matched your search
@@ -91,6 +91,7 @@ export const AssistantSettingsPatchSchema = UserPreferencesSchema.pick({
|
||||
mode: true,
|
||||
defaultModel: true,
|
||||
walkthroughModel: true,
|
||||
activityWindowMinutes: true,
|
||||
defaultAgent: true,
|
||||
autoScroll: true,
|
||||
expandDiffs: true,
|
||||
|
||||
@@ -66,6 +66,10 @@ export type STTConfig = {
|
||||
|
||||
export const DEFAULT_LEADER_KEY = 'Ctrl+X';
|
||||
|
||||
export const DEFAULT_ACTIVITY_WINDOW_MINUTES = 30;
|
||||
|
||||
export const ACTIVITY_WINDOW_MINUTE_OPTIONS = [15, 30, 60, 120, 240, 480, 1440] as const;
|
||||
|
||||
export const DEFAULT_KEYBOARD_SHORTCUTS = {
|
||||
submit: 'Cmd+Enter',
|
||||
abort: 'Escape',
|
||||
@@ -192,6 +196,7 @@ export const UserPreferencesSchema = z.object({
|
||||
mode: z.enum(["plan", "build"]),
|
||||
defaultModel: z.string().optional(),
|
||||
walkthroughModel: z.string().optional(),
|
||||
activityWindowMinutes: z.number().int().min(5).max(1440).optional(),
|
||||
defaultAgent: z.string().optional(),
|
||||
autoScroll: z.boolean(),
|
||||
expandDiffs: z.boolean(),
|
||||
@@ -249,6 +254,7 @@ export const DEFAULT_USER_PREFERENCES = {
|
||||
theme: "dark" as const,
|
||||
colorTheme: MANAGER_COLOR_THEME_ID,
|
||||
mode: "build" as const,
|
||||
activityWindowMinutes: DEFAULT_ACTIVITY_WINDOW_MINUTES,
|
||||
autoScroll: true,
|
||||
expandDiffs: true,
|
||||
expandToolCalls: false,
|
||||
|
||||
Reference in new issue
Block a user