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.

417 B
Raw Blame
const AUTHORIZATION_SENSITIVE_READ_PREFIXES = [
  '/api/projects',
  '/api/workbench/projects-bootstrap',
  '/api/sessions',
  '/api/inbox',
  '/api/search',
  '/api/show-pages',
  '/api/agents',
  '/api/skills',
  '/api/vault/',
] as const;

export function isAuthorizationSensitiveReadPath(path: string): boolean {
  return AUTHORIZATION_SENSITIVE_READ_PREFIXES.some((prefix) =>
    path.startsWith(prefix),
  );
}