Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.
Python agentagent-osaiai-agentsai-partnerchatopsclaudeclaude-codecodexdevtoolsdiscord-botlark-botllmlocal-firstlong-term-memoryopencodeslack-botvibe-codingvibeywechat
refactor(ui): simplify channel sorting logic
Max980d54a4c640
diff --git a/ui/src/components/steps/ChannelList.tsx b/ui/src/components/steps/ChannelList.tsxindex 4371840a3..6d7e35a67 100644--- a/ui/src/components/steps/ChannelList.tsx+++ b/ui/src/components/steps/ChannelList.tsx@@ -189,13 +189,9 @@ export const ChannelList: React.FC<ChannelListProps> = ({ data = {}, onNext, onB// Sort channels: enabled channels firstconst sortedChannels = React.useMemo(() => {- return [...channels].sort((a, b) => {- const aEnabled = isChannelEnabled(a.id);- const bEnabled = isChannelEnabled(b.id);- if (aEnabled && !bEnabled) return -1;- if (!aEnabled && bEnabled) return 1;- return 0;- });+ return [...channels].sort((a, b) =>+ Number(isChannelEnabled(b.id)) - Number(isChannelEnabled(a.id))+ );}, [channels, configs]);return (