github chriswritescode-dev/opencode-manager v0.14.1

4 hours ago

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: true instead of restarting the server immediately. An amber "Restart Now" banner appears when a restart is pending
  • vcs.branch.updated SSE Handling — the frontend now reacts to branch-change events from the OpenCode server, keeping git status caches in sync

Refactors

  • Cache Invalidation ConsolidationinvalidateRepoGitCaches, setRepoGitStatusCaches, invalidateRepoGitCachesDebounced helpers replace scattered per-call-site invalidation; all 8+ git mutation sites migrated
  • Skills Service Trim — directory config management extracted from skills.ts to new dedicated service; normalizeInstallRelativePath unified into shared normalizeUploadRelativePath
  • Upload Utilities ExtractedparseUploadManifest/readUploadedManifestFiles shared between skill install and directory file upload routes
  • useCommandsuseQuery — migrated from useState/useEffect to React Query with initialData
  • Touch Handling Consolidation — new useTouchTapSelect hook replaces inline touch-tap logic in CommandSuggestions and MentionSuggestions
  • useRefreshOnOpen Hook — reusable pattern for refreshing stale data when panels/sheets open
  • RestartServerDialog SimplifiedisSaving prop removed
  • OpenCodeConfigManager Layout Fixmin-h-0, safe-area-inset-bottom support
  • SettingsList Empty State — improved sizing constraints (max-h-40, min-h-24)

Fixes

  • Visual Viewport Detection — added isTextInputFocused guard, additional event listeners for focusout/pageshow/visibilitychange
  • ModelQuickSelect Styling — variant selector trigger restyled as compact button with chevron
  • Docker Workflowworkflow_dispatch trigger added; v prefix 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

Don't miss a new opencode-manager release

NewReleases is sending notifications on new releases.