core: hide internal agents from desktop agent selector

This commit is contained in:
Dax Raad 2025-12-12 18:02:18 -05:00
commit cd3085802f
2 changed files with 3 additions and 3 deletions

View file

@ -78,7 +78,7 @@ export const { use: useLocal, provider: LocalProvider } = createSimpleContext({
})
const agent = (() => {
const list = createMemo(() => sync.data.agent.filter((x) => x.mode !== "subagent"))
const list = createMemo(() => sync.data.agent.filter((x) => x.mode !== "subagent" && !x.hidden))
const [store, setStore] = createStore<{
current: string
}>({