import { ChatPanelWrapper } from 'officerdev'; // The prompt belongs to this panel rather than to the workspace, so the panel that gets it is the one that // mounts it. // // `email_db` is an MCP tool resolved at runtime from PI_TOOLS_DIRS. It is NOT in this repository and does // not travel with this plugin — the platform points it at the account's SQLite store. If that stops // happening, this prompt is describing a tool the agent does not have, which is worse than no prompt. const PROMPT_PREFIX = `You are an email assistant. The user has a local SQLite email database available via the "email_db" tool — use it for all email queries (search, count, stats, aggregations, deletions) unless the user explicitly asks you to use Gmail. Do not use the Gmail integration for questions about existing emails.`; export const EmailChatPanel = () => ;