Skip to content

An agentic browser harness: an AI side panel & orb in your own logged-in Chrome, Edge, Arc, Brave or even Firefox run by the agent/subscription you already use (Claude Code, Codex, Antigravity). Free, open source, no API key. Also an MCP server.

556 B
Raw Blame
import { z } from 'zod';
import { ActionError, defineAction } from '../core';

export const listFiles = defineAction({
  name: 'page.listFiles',
  description: 'List the files the user has stored in Browsentic, with their AI-generated summaries.',
  input: z.object({
    nameContains: z
      .string()
      .optional()
      .describe('Only return files whose name contains this text (case-insensitive).'),
  }),
  execute() {
    throw new ActionError('page.listFiles is resolved by the Browsentic extension, not in the page', 'UNSUPPORTED');
  },
});