fix: update settings and skills handling with assistant redirect (#220)

* fix: enable swipe-back suspension on more drawer and remove unused variable

* refactor(frontend): improve dialog component and settings navigation

* fix: disable route swipe suspension in MoreDrawer to prevent unintended navigation

* fix(frontend): enable swipe-back suspension on more drawer route

* refactor(frontend): improve mobile navigation drawer and tab bar

* feat: add schedules service and workspace hook with navigation updates

* chore: add workspace hook, schedules library, and tests

* fix: prevent MoreDrawer sentinel from undoing navigation

* feat: per-agent model selection and UI refinements (#217)

* feat: per-agent model selection and UI refinements

- Add agentModels store with setAgentModel/getAgentModel
- PromptInput uses session model priority and stores agent model on change
- useContextUsage derives model from assistant message instead of global
- Migrate sub-agent/subtask badges from purple to blue with refined styling
- Fix MoreDrawer sentinel to skip history-back on navigation

* refactor: improve per-agent model selection and task tool call status indicators

* feat: add repo management skill and internal repos API

* fix: improve assistant session launcher and UI components

* fix: update atomic-json test assertions

* refactor: split Assistant Mode instructions between AGENTS.md and assistant.md

* loop: todo-header-mobile completed after 3 iterations (#218)

* loop: stt-perf-1 completed after 5 iterations

* fix: load audio worklet per recording context

* fix: canonicalize assistant navigation routes

* fix: adjust scroll-up threshold for header visibility

* fix: update settings and skills handling with assistant redirect

* refactor: simplify context usage indicator and extract token sum helper

* feat: add currently selected model row to popover and fix responsive truncate
This commit is contained in:
Chris Scott authored and GitHub committed 2026-05-07 18:36:03 -04:00
1 parent c7291518c8
commit 74cdeb3926
73 files changed
+4073 -632

No files matched your search

+19 -4
View File
@@ -19,6 +19,10 @@ export const RepoSchema = z.object({
isLocal: z.boolean().optional(),
})
export const InternalRepoListResponseSchema = z.object({
repos: z.array(RepoSchema),
})
export const CreateRepoRequestSchema = z.object({
repoUrl: z.string().url().optional(),
localPath: z.string().optional(),
@@ -61,6 +65,11 @@ export const AssistantModeStatusSchema = z.object({
repoId: z.number(),
directory: z.string(),
relativePath: z.literal('repos/assistant'),
warnings: z.array(z.object({
code: z.string(),
path: z.string(),
message: z.string(),
})).optional(),
files: z.object({
agentsMd: AssistantModeFileSchema,
opencodeJson: AssistantModeFileSchema,
@@ -68,22 +77,28 @@ export const AssistantModeStatusSchema = z.object({
internalToken: z.object({
path: z.string(),
created: z.boolean(),
exists: z.boolean().optional(),
}).optional(),
schedulesSkill: z.object({
path: z.string(),
created: z.boolean(),
exists: z.boolean().optional(),
}).optional(),
notificationsSkill: z.object({
path: z.string(),
created: z.boolean(),
exists: z.boolean().optional(),
}).optional(),
settingsSkill: z.object({
path: z.string(),
created: z.boolean(),
exists: z.boolean().optional(),
}).optional(),
repoManagementSkill: z.object({
path: z.string(),
created: z.boolean(),
}).optional(),
defaultAgent: z.object({
name: z.literal('assistant'),
path: z.string(),
exists: z.boolean(),
created: z.boolean(),
}).optional(),
})
+2
View File
@@ -12,6 +12,7 @@ import {
} from '../schemas/settings'
import {
RepoSchema,
InternalRepoListResponseSchema,
CreateRepoRequestSchema,
DiscoverReposRequestSchema,
DiscoverReposResponseSchema,
@@ -57,6 +58,7 @@ export type UpdateOpenCodeConfigRequest = z.infer<typeof UpdateOpenCodeConfigReq
export type OpenCodeConfigResponse = z.infer<typeof OpenCodeConfigResponseSchema>
export type Repo = z.infer<typeof RepoSchema>
export type InternalRepoListResponse = z.infer<typeof InternalRepoListResponseSchema>
export type CreateRepoRequest = z.infer<typeof CreateRepoRequestSchema>
export type DiscoverReposRequest = z.infer<typeof DiscoverReposRequestSchema>
export type DiscoverReposResponse = z.infer<typeof DiscoverReposResponseSchema>