Add version notifications for new releases (#139)

* Add SSH known hosts support and optimize git status fetching

* Add opencode-manager version to health endpoint

* Add version notifications for new releases

---------

Co-authored-by: Fran Boon <fran@aidiq.com>
This commit is contained in:
Chris ScottandFran Boon authored and GitHub committed 2026-02-16 20:07:20 -05:00
1 parent 9562867f1d
commit b38b9e3aca
15 files changed
+261 -18

No files matched your search

@@ -38,6 +38,7 @@ export function BranchesTab({ repoId, currentBranch, repoUrl, isRepoWorktree }:
onSuccess: (updatedRepo) => {
queryClient.setQueryData(['repo', repoId], updatedRepo)
queryClient.invalidateQueries({ queryKey: ['repos'] })
queryClient.invalidateQueries({ queryKey: ['reposGitStatus'] })
queryClient.invalidateQueries({ queryKey: ['gitStatus', repoId] })
refetch()
showToast.success(`Switched to branch: ${updatedRepo.currentBranch}`)
@@ -55,6 +56,7 @@ export function BranchesTab({ repoId, currentBranch, repoUrl, isRepoWorktree }:
mutationFn: (branch: string) => createRepo(repoUrl || undefined, undefined, branch, undefined, true),
onSuccess: () => {
queryClient.invalidateQueries({ queryKey: ['repos'] })
queryClient.invalidateQueries({ queryKey: ['reposGitStatus'] })
setNewBranchName('')
setIsCreating(false)
setUseWorktree(false)