mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-22 03:16:35 +00:00
wip: desktop work
This commit is contained in:
parent
bb82d43094
commit
c04e892991
3 changed files with 32 additions and 16 deletions
|
|
@ -467,6 +467,11 @@ function init() {
|
|||
return sync.session.get(store.active)
|
||||
})
|
||||
|
||||
createEffect(() => {
|
||||
if (!store.active) return
|
||||
sync.session.sync(store.active)
|
||||
})
|
||||
|
||||
return {
|
||||
active,
|
||||
setActive(sessionId: string | undefined) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue