Skip to content

armgit / avibe

Public Imported from GitHub
0

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.

466 B
Raw Blame
import type { Frame, FrameSpec } from './frame';

const modules = import.meta.glob<{ default: FrameSpec[] }>('./frames/**/*.design.tsx', { eager: true });

export const ALL_FRAMES: Frame[] = Object.entries(modules)
  .flatMap(([path, module]) => {
    const file = path.replace('./frames/', '').replace(/\.design\.tsx$/, '');
    return module.default.map((spec) => ({ ...spec, file, id: `${file}/${spec.name}` }));
  })
  .sort((a, b) => a.id.localeCompare(b.id));