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.

515 B
Raw Blame
import type { ReactNode } from 'react';

import { ShowPageAnnotationHostContext } from './ShowPageAnnotationHostContext';
import { useShowPageAnnotation } from './useShowPageAnnotation';

export const ShowPageAnnotationHost: React.FC<{
  src: string | null;
  children: ReactNode;
}> = ({ src, children }) => {
  const annotation = useShowPageAnnotation(src);
  return (
    <ShowPageAnnotationHostContext.Provider value={{ src, annotation }}>
      {children}
    </ShowPageAnnotationHostContext.Provider>
  );
};