What's Changed
Features
- Directory Files Upload — upload markdown files from local folders as OpenCode commands and agents via the Settings UI (file or folder picker)
- Deferred Restart Model — config saves, skill CRUD, and directory file operations return
restartRequired: trueinstead of restarting the server immediately. An amber "Restart Now" banner appears when a restart is pending vcs.branch.updatedSSE Handling — the frontend now reacts to branch-change events from the OpenCode server, keeping git status caches in sync
Refactors
- Cache Invalidation Consolidation —
invalidateRepoGitCaches,setRepoGitStatusCaches,invalidateRepoGitCachesDebouncedhelpers replace scattered per-call-site invalidation; all 8+ git mutation sites migrated - Skills Service Trim — directory config management extracted from
skills.tsto new dedicated service;normalizeInstallRelativePathunified into sharednormalizeUploadRelativePath - Upload Utilities Extracted —
parseUploadManifest/readUploadedManifestFilesshared between skill install and directory file upload routes useCommands→useQuery— migrated fromuseState/useEffectto React Query withinitialData- Touch Handling Consolidation — new
useTouchTapSelecthook replaces inline touch-tap logic inCommandSuggestionsandMentionSuggestions useRefreshOnOpenHook — reusable pattern for refreshing stale data when panels/sheets openRestartServerDialogSimplified —isSavingprop removedOpenCodeConfigManagerLayout Fix —min-h-0,safe-area-inset-bottomsupportSettingsListEmpty State — improved sizing constraints (max-h-40,min-h-24)
Fixes
- Visual Viewport Detection — added
isTextInputFocusedguard, additional event listeners forfocusout/pageshow/visibilitychange - ModelQuickSelect Styling — variant selector trigger restyled as compact button with chevron
- Docker Workflow —
workflow_dispatchtrigger added;vprefix stripped from OpenCode version
Commits
- feat: directory files upload system, deferred restart model, cache invalidation consolidation, and misc improvements (#281)
- chore: add workflow_dispatch to Docker build workflow
- fix: strip v prefix from opencode version in Docker workflow
Full Changelog: v0.14.0...v0.14.1