Open-source, local-first AI agent team for your desktop: multi-agent group chats, computer use, browser, MCP, routines and approvals. macOS, Windows, Linux + Android. Built on pi.
TypeScript agentai-agentai-agentsai-assistantandroidautomationchatgptcoding-agentcomputer-usedesktop-appelectronllmlocal-firstmcpmulti-agentollamaopenaiprivacyself-hostedtypescript
import type { PreviewFile } from "@pibot/protocol";
import type { OpenFile, ReadingState } from "./state.ts";
export interface ViewerProps {
file: OpenFile;
result: PreviewFile;
update(key: string, patch: Partial<ReadingState>): void;
metadata(value: { total: number; sheets?: string[] }): void;
ready?(): void;
fail(): void;
}