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
import { createContext } from 'react';
import type {
UnsavedChangesActionAuthorization,
UnsavedChangesRegistrationId,
} from '../lib/unsavedChangesRegistry';
export interface UnsavedChangesContextValue {
setRegistration: (id: UnsavedChangesRegistrationId, message: string | null) => void;
/** Confirm before an action mutates data and later navigates. Null means the user canceled. */
authorizeRouteAction: () => UnsavedChangesActionAuthorization | null;
}
export const UnsavedChangesContext = createContext<UnsavedChangesContextValue | null>(null);