## Summary - add SideCar support across the server and UI, including proxied tabs, picker/settings flows, and websocket-aware proxying - unify top-level tab handling so workspace instances and SideCars share the same tab model and navigation flows - limit SideCars to port-based services only, removing server-managed process control from the final API and UI --------- Co-authored-by: Shantur <shantur@Mac.home> Co-authored-by: Shantur <shantur@Shanturs-MacBook-Pro-M5.local>
18 lines
590 B
TypeScript
18 lines
590 B
TypeScript
import { createSignal } from "solid-js"
|
|
|
|
export type SettingsSectionId = "appearance" | "notifications" | "remote" | "speech" | "opencode" | "sidecars"
|
|
|
|
const [settingsOpen, setSettingsOpen] = createSignal(false)
|
|
const [activeSettingsSection, setActiveSettingsSection] = createSignal<SettingsSectionId>("appearance")
|
|
|
|
export function openSettings(section: SettingsSectionId = "appearance") {
|
|
setActiveSettingsSection(section)
|
|
setSettingsOpen(true)
|
|
}
|
|
|
|
export function closeSettings() {
|
|
setSettingsOpen(false)
|
|
}
|
|
|
|
export { settingsOpen, activeSettingsSection, setActiveSettingsSection }
|