feat(model): add favorites system for model selection (#201)

* fix: sync model selection with OpenCode state

* feat(model): add favorites system for model selection

- Add toggleFavoriteModel API endpoint
- Add favorite toggle UI in ModelQuickSelect and ModelSelectDialog
- Show provider name prefix when model display names are ambiguous
- Fix directory scoping for getProviders API calls

feat(assistant): send welcome message on new session creation

- Send setup guidance message when creating new assistant session

---------

Co-authored-by: Chris Scott <>
This commit is contained in:
Chris ScottandChris Scott authored and GitHub committed 2026-04-26 21:49:13 -04:00
1 parent 3dd8e34f98
commit e6ff8733cf
11 files changed
+470 -80

No files matched your search

@@ -937,7 +937,7 @@ if (isIOS && isSecureContext && navigator.clipboard && navigator.clipboard.read)
const client = useOpenCodeClient(opcodeUrl, directory)
const { data: providersData } = useQuery({
queryKey: ['opencode', 'providers', opcodeUrl, directory],
queryFn: () => getProviders(),
queryFn: () => getProviders(directory),
enabled: !!client,
staleTime: 30000,
})