mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 12:54:20 +01:00
feat: add assistant mode, SSE streaming, and OpenCode server integration (#214)
This commit is contained in:
1 parent
3cc24288a6
commit
c3d6549f01
133 files changed
+7284
-6293
No files matched your search
@@ -2,7 +2,6 @@ import { useState } from 'react'
|
||||
import { useLocation, useNavigate } from 'react-router-dom'
|
||||
import { useDesktop } from '@/hooks/useDesktop'
|
||||
import { useSidebarCollapsed } from '@/hooks/useSidebarCollapsed'
|
||||
import { useMemoryPluginStatus } from '@/hooks/useMemoryPluginStatus'
|
||||
import { useAuth } from '@/hooks/useAuth'
|
||||
import { buildNavModel, type MoreDrawerItem, type NavPrimaryCta } from '@/components/navigation/moreDrawerItems'
|
||||
import { RepoQuickSwitchSheet } from '@/components/navigation/RepoQuickSwitchSheet'
|
||||
@@ -19,7 +18,6 @@ export function DesktopSidebar() {
|
||||
const navigate = useNavigate()
|
||||
const [collapsed, toggle] = useSidebarCollapsed()
|
||||
const [repoSwitcherOpen, setRepoSwitcherOpen] = useState(false)
|
||||
const { memoryPluginEnabled } = useMemoryPluginStatus()
|
||||
const { isAuthenticated, isLoading, logout } = useAuth()
|
||||
|
||||
const isDesktop = useDesktop()
|
||||
@@ -32,7 +30,7 @@ export function DesktopSidebar() {
|
||||
return null
|
||||
}
|
||||
|
||||
const { primary, items } = buildNavModel(location.pathname, { memoryPluginEnabled })
|
||||
const { primary, items } = buildNavModel(location.pathname)
|
||||
|
||||
const handlePrimaryClick = (item: NavPrimaryCta) => {
|
||||
if (item.to) {
|
||||
|
||||
Reference in new issue
Block a user