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

@@ -287,6 +287,7 @@ class OpenCodeServerManager {
...gitIdentityEnv,
GIT_SSH_COMMAND: gitSshCommand,
XDG_DATA_HOME: path.join(openCodeServerDirectory, '.opencode/state'),
XDG_STATE_HOME: path.join(openCodeServerDirectory, '.opencode/state'),
XDG_CONFIG_HOME: path.join(openCodeServerDirectory, '.config'),
...(OPENCODE_SERVER_PUBLIC_URL ? { OPENCODE_PUBLIC_URL: OPENCODE_SERVER_PUBLIC_URL } : {}),
...(OPENCODE_SERVER_PASSWORD