/**
 * Auto-generated prompt templates for elizaOS
 * DO NOT EDIT - Generated from packages/prompts/prompts/*.txt
 *
 * These prompts use Handlebars-style template syntax:
 * - {{variableName}} for simple substitution
 * - {{#each items}}...{{/each}} for iteration
 * - {{#if condition}}...{{/if}} for conditionals
 */
export declare const addContactTemplate = "task: Extract contact information to add to the relationships.\n\ncontext:\n{{providers}}\n\nrecent_messages:\n{{recentMessages}}\n\ncurrent_message:\n{{message}}\n\ninstructions[5]:\n- identify the contact name being added\n- include entityId only if it is explicitly known from context\n- return categories as a comma-separated list\n- include notes, timezone, and language only when clearly present\n- include a short reason for why this contact should be saved\n\noutput:\nTOON only. Return exactly one TOON document. No prose before or after it. No <think>.\n\nExample:\ncontactName: Jane Doe\nentityId:\ncategories: vip,colleague\nnotes: Met at the design summit\ntimezone: America/New_York\nlanguage: English\nreason: Important collaborator to remember";
export declare const ADD_CONTACT_TEMPLATE = "task: Extract contact information to add to the relationships.\n\ncontext:\n{{providers}}\n\nrecent_messages:\n{{recentMessages}}\n\ncurrent_message:\n{{message}}\n\ninstructions[5]:\n- identify the contact name being added\n- include entityId only if it is explicitly known from context\n- return categories as a comma-separated list\n- include notes, timezone, and language only when clearly present\n- include a short reason for why this contact should be saved\n\noutput:\nTOON only. Return exactly one TOON document. No prose before or after it. No <think>.\n\nExample:\ncontactName: Jane Doe\nentityId:\ncategories: vip,colleague\nnotes: Met at the design summit\ntimezone: America/New_York\nlanguage: English\nreason: Important collaborator to remember";
export declare const autonomyContinuousContinueTemplate = "Your job: reflect on context, decide what you want to do next, and act if appropriate.\n- Use available actions/tools when they can advance the goal.\n- Use thinking to think about and plan what you want to do.\n- Do NOT speak out loud. This loop is internal-only.\n- Output structure: ONLY a <thought> plus any actions. No other message text.\n- If you don't need to make a change this round, take no action and output only a <thought>.\n- If you cannot act, explain what is missing inside <thought> and take no action.\n- Keep the response concise, focused on the next action.\n\nUSER CONTEXT (most recent last):\n{{targetRoomContext}}\n\nYour last autonomous note: \"{{lastThought}}\"\n\nContinue from that note. Output <thought> and take action if needed.";
export declare const AUTONOMY_CONTINUOUS_CONTINUE_TEMPLATE = "Your job: reflect on context, decide what you want to do next, and act if appropriate.\n- Use available actions/tools when they can advance the goal.\n- Use thinking to think about and plan what you want to do.\n- Do NOT speak out loud. This loop is internal-only.\n- Output structure: ONLY a <thought> plus any actions. No other message text.\n- If you don't need to make a change this round, take no action and output only a <thought>.\n- If you cannot act, explain what is missing inside <thought> and take no action.\n- Keep the response concise, focused on the next action.\n\nUSER CONTEXT (most recent last):\n{{targetRoomContext}}\n\nYour last autonomous note: \"{{lastThought}}\"\n\nContinue from that note. Output <thought> and take action if needed.";
export declare const autonomyContinuousFirstTemplate = "Your job: reflect on context, decide what you want to do next, and act if appropriate.\n- Use available actions/tools when they can advance the goal.\n- Use thinking to think about and plan what you want to do.\n- Do NOT speak out loud. This loop is internal-only.\n- Output structure: ONLY a <thought> plus any actions. No other message text.\n- If you don't need to make a change this round, take no action and output only a <thought>.\n- If you cannot act, explain what is missing inside <thought> and take no action.\n- Keep the response concise, focused on the next action.\n\nUSER CONTEXT (most recent last):\n{{targetRoomContext}}\n\nThink briefly, then output <thought> and take action if needed.";
export declare const AUTONOMY_CONTINUOUS_FIRST_TEMPLATE = "Your job: reflect on context, decide what you want to do next, and act if appropriate.\n- Use available actions/tools when they can advance the goal.\n- Use thinking to think about and plan what you want to do.\n- Do NOT speak out loud. This loop is internal-only.\n- Output structure: ONLY a <thought> plus any actions. No other message text.\n- If you don't need to make a change this round, take no action and output only a <thought>.\n- If you cannot act, explain what is missing inside <thought> and take no action.\n- Keep the response concise, focused on the next action.\n\nUSER CONTEXT (most recent last):\n{{targetRoomContext}}\n\nThink briefly, then output <thought> and take action if needed.";
export declare const autonomyTaskContinueTemplate = "You are running in AUTONOMOUS TASK MODE.\n\nYour job: continue helping the user and make progress toward the task.\n- Use available actions/tools to gather information or execute steps.\n- Use thinking to think about and plan what you want to do.\n- Do NOT speak out loud. This loop is internal-only.\n- Output structure: ONLY a <thought> plus any actions. No other message text.\n- If you don't need to make a change this round, take no action and output only a <thought>.\n- If you cannot act, explain what is missing inside <thought> and take no action.\n- Keep the response concise, focused on the next action.\n\nUSER CHAT CONTEXT (most recent last):\n{{targetRoomContext}}\n\nYour last autonomous note: \"{{lastThought}}\"\n\nContinue the task. Output <thought> and take action now.";
export declare const AUTONOMY_TASK_CONTINUE_TEMPLATE = "You are running in AUTONOMOUS TASK MODE.\n\nYour job: continue helping the user and make progress toward the task.\n- Use available actions/tools to gather information or execute steps.\n- Use thinking to think about and plan what you want to do.\n- Do NOT speak out loud. This loop is internal-only.\n- Output structure: ONLY a <thought> plus any actions. No other message text.\n- If you don't need to make a change this round, take no action and output only a <thought>.\n- If you cannot act, explain what is missing inside <thought> and take no action.\n- Keep the response concise, focused on the next action.\n\nUSER CHAT CONTEXT (most recent last):\n{{targetRoomContext}}\n\nYour last autonomous note: \"{{lastThought}}\"\n\nContinue the task. Output <thought> and take action now.";
export declare const autonomyTaskFirstTemplate = "You are running in AUTONOMOUS TASK MODE.\n\nYour job: continue helping the user and make progress toward the task.\n- Use available actions/tools to gather information or execute steps.\n- If you need UI control, use ComputerUse actions.\n- In MCP mode, selector-based actions require a process scope (pass process=... or prefix selector with \"process:<name> >> ...\").\n- Prefer safe, incremental steps; if unsure, gather more UI context before acting.\n- Do NOT speak out loud. This loop is internal-only.\n- Output structure: ONLY a <thought> plus any actions. No other message text.\n\nUSER CHAT CONTEXT (most recent last):\n{{targetRoomContext}}\n\nDecide what to do next. Output <thought>, then take the most useful action.";
export declare const AUTONOMY_TASK_FIRST_TEMPLATE = "You are running in AUTONOMOUS TASK MODE.\n\nYour job: continue helping the user and make progress toward the task.\n- Use available actions/tools to gather information or execute steps.\n- If you need UI control, use ComputerUse actions.\n- In MCP mode, selector-based actions require a process scope (pass process=... or prefix selector with \"process:<name> >> ...\").\n- Prefer safe, incremental steps; if unsure, gather more UI context before acting.\n- Do NOT speak out loud. This loop is internal-only.\n- Output structure: ONLY a <thought> plus any actions. No other message text.\n\nUSER CHAT CONTEXT (most recent last):\n{{targetRoomContext}}\n\nDecide what to do next. Output <thought>, then take the most useful action.";
export declare const chooseOptionTemplate = "# Task: Choose an option from the available choices.\n\n{{providers}}\n\n# Available Options:\n{{options}}\n\n# Instructions: \nAnalyze the options and select the most appropriate one based on the current context.\nProvide your reasoning and the selected option ID.\n\nRespond using TOON like this:\nthought: Your reasoning for the selection\nselected_id: The ID of the selected option\n\nIMPORTANT: Your response must ONLY contain the TOON document above.";
export declare const CHOOSE_OPTION_TEMPLATE = "# Task: Choose an option from the available choices.\n\n{{providers}}\n\n# Available Options:\n{{options}}\n\n# Instructions: \nAnalyze the options and select the most appropriate one based on the current context.\nProvide your reasoning and the selected option ID.\n\nRespond using TOON like this:\nthought: Your reasoning for the selection\nselected_id: The ID of the selected option\n\nIMPORTANT: Your response must ONLY contain the TOON document above.";
export declare const extractSecretOperationTemplate = "You are helping manage secrets for an AI agent.\n\nDetermine what operation the user wants to perform:\n- get: Retrieve a secret value\n- set: Store a new secret\n- delete: Remove a secret\n- list: Show all available secrets (without values)\n- check: Check if a secret exists\n\nCommon patterns:\n- \"What is my OpenAI key?\" -> operation: get, key: OPENAI_API_KEY\n- \"Do I have a Discord token set?\" -> operation: check, key: DISCORD_BOT_TOKEN\n- \"Show me my secrets\" -> operation: list\n- \"Delete my old API key\" -> operation: delete\n- \"Remove TWITTER_API_KEY\" -> operation: delete, key: TWITTER_API_KEY\n- \"Set my key to sk-...\" -> operation: set, key: <infer>, value: sk-...\n\n{{recentMessages}}\n\nExtract the operation, key (if applicable), value (if applicable), and level from the user's message.";
export declare const EXTRACT_SECRET_OPERATION_TEMPLATE = "You are helping manage secrets for an AI agent.\n\nDetermine what operation the user wants to perform:\n- get: Retrieve a secret value\n- set: Store a new secret\n- delete: Remove a secret\n- list: Show all available secrets (without values)\n- check: Check if a secret exists\n\nCommon patterns:\n- \"What is my OpenAI key?\" -> operation: get, key: OPENAI_API_KEY\n- \"Do I have a Discord token set?\" -> operation: check, key: DISCORD_BOT_TOKEN\n- \"Show me my secrets\" -> operation: list\n- \"Delete my old API key\" -> operation: delete\n- \"Remove TWITTER_API_KEY\" -> operation: delete, key: TWITTER_API_KEY\n- \"Set my key to sk-...\" -> operation: set, key: <infer>, value: sk-...\n\n{{recentMessages}}\n\nExtract the operation, key (if applicable), value (if applicable), and level from the user's message.";
export declare const extractSecretRequestTemplate = "You are helping an AI agent request a missing secret.\nDetermine what secret the agent needs and why based on the recent conversation.\n\nCommon patterns:\n- \"I need an API key for OpenAI\" -> key: OPENAI_API_KEY\n- \"Missing TWITTER_TOKEN\" -> key: TWITTER_TOKEN\n- \"I cannot proceed without a Discord token\" -> key: DISCORD_TOKEN\n\nRecent Messages:\n{{recentMessages}}\n\nOutput JSON with:\n- key: The name of the secret needed (e.g. OPENAI_API_KEY)\n- reason: Why it is needed (optional)\n\nIf no specific secret is requested, return null json.";
export declare const EXTRACT_SECRET_REQUEST_TEMPLATE = "You are helping an AI agent request a missing secret.\nDetermine what secret the agent needs and why based on the recent conversation.\n\nCommon patterns:\n- \"I need an API key for OpenAI\" -> key: OPENAI_API_KEY\n- \"Missing TWITTER_TOKEN\" -> key: TWITTER_TOKEN\n- \"I cannot proceed without a Discord token\" -> key: DISCORD_TOKEN\n\nRecent Messages:\n{{recentMessages}}\n\nOutput JSON with:\n- key: The name of the secret needed (e.g. OPENAI_API_KEY)\n- reason: Why it is needed (optional)\n\nIf no specific secret is requested, return null json.";
export declare const extractSecretsTemplate = "You are extracting secret/configuration values from the user's message.\n\nThe user wants to set one or more secrets. Extract:\n1. The secret key (should be UPPERCASE_WITH_UNDERSCORES format)\n2. The secret value\n3. Optional description\n4. Secret type (api_key, secret, credential, url, or config)\n\nCommon patterns:\n- \"Set my OpenAI key to sk-...\" -> key: OPENAI_API_KEY, value: sk-...\n- \"My Anthropic API key is sk-ant-...\" -> key: ANTHROPIC_API_KEY, value: sk-ant-...\n- \"Use this Discord token: ...\" -> key: DISCORD_BOT_TOKEN, value: ...\n- \"Set DATABASE_URL to postgres://...\" -> key: DATABASE_URL, value: postgres://...\n\n{{recentMessages}}\n\nExtract the secrets from the user's message. If the key name isn't explicitly specified, infer an appropriate UPPERCASE_WITH_UNDERSCORES name based on the context.";
export declare const EXTRACT_SECRETS_TEMPLATE = "You are extracting secret/configuration values from the user's message.\n\nThe user wants to set one or more secrets. Extract:\n1. The secret key (should be UPPERCASE_WITH_UNDERSCORES format)\n2. The secret value\n3. Optional description\n4. Secret type (api_key, secret, credential, url, or config)\n\nCommon patterns:\n- \"Set my OpenAI key to sk-...\" -> key: OPENAI_API_KEY, value: sk-...\n- \"My Anthropic API key is sk-ant-...\" -> key: ANTHROPIC_API_KEY, value: sk-ant-...\n- \"Use this Discord token: ...\" -> key: DISCORD_BOT_TOKEN, value: ...\n- \"Set DATABASE_URL to postgres://...\" -> key: DATABASE_URL, value: postgres://...\n\n{{recentMessages}}\n\nExtract the secrets from the user's message. If the key name isn't explicitly specified, infer an appropriate UPPERCASE_WITH_UNDERSCORES name based on the context.";
export declare const imageDescriptionTemplate = "Task: Analyze the provided image and generate a comprehensive description with multiple levels of detail.\n\nInstructions:\nCarefully examine the image and provide:\n1. A concise, descriptive title that captures the main subject or scene\n2. A brief summary description (1-2 sentences) highlighting the key elements\n3. An extensive, detailed description that covers all visible elements, composition, lighting, colors, mood, and any other relevant details\n\nBe objective and descriptive. Focus on what you can actually see in the image rather than making assumptions about context or meaning.\n\nOutput:\n\nRespond using TOON like this:\ntitle: A concise, descriptive title for the image\ndescription: A brief 1-2 sentence summary of the key elements in the image\ntext: An extensive, detailed description covering all visible elements, composition, lighting, colors, mood, setting, objects, people, activities, and any other relevant details you can observe in the image\n\nIMPORTANT: Your response must ONLY contain the TOON document above. Do not include any text, thinking, or reasoning before or after it.";
export declare const IMAGE_DESCRIPTION_TEMPLATE = "Task: Analyze the provided image and generate a comprehensive description with multiple levels of detail.\n\nInstructions:\nCarefully examine the image and provide:\n1. A concise, descriptive title that captures the main subject or scene\n2. A brief summary description (1-2 sentences) highlighting the key elements\n3. An extensive, detailed description that covers all visible elements, composition, lighting, colors, mood, and any other relevant details\n\nBe objective and descriptive. Focus on what you can actually see in the image rather than making assumptions about context or meaning.\n\nOutput:\n\nRespond using TOON like this:\ntitle: A concise, descriptive title for the image\ndescription: A brief 1-2 sentence summary of the key elements in the image\ntext: An extensive, detailed description covering all visible elements, composition, lighting, colors, mood, setting, objects, people, activities, and any other relevant details you can observe in the image\n\nIMPORTANT: Your response must ONLY contain the TOON document above. Do not include any text, thinking, or reasoning before or after it.";
export declare const imageGenerationTemplate = "# Task: Generate an image prompt for {{agentName}}.\n\n{{providers}}\n\n# Instructions:\nBased on the conversation, create a detailed prompt for image generation.\nThe prompt should be specific, descriptive, and suitable for AI image generation.\n\n# Recent conversation:\n{{recentMessages}}\n\nRespond using TOON like this:\nthought: Your reasoning for the image prompt\nprompt: Detailed image generation prompt\n\nIMPORTANT: Your response must ONLY contain the TOON document above.";
export declare const IMAGE_GENERATION_TEMPLATE = "# Task: Generate an image prompt for {{agentName}}.\n\n{{providers}}\n\n# Instructions:\nBased on the conversation, create a detailed prompt for image generation.\nThe prompt should be specific, descriptive, and suitable for AI image generation.\n\n# Recent conversation:\n{{recentMessages}}\n\nRespond using TOON like this:\nthought: Your reasoning for the image prompt\nprompt: Detailed image generation prompt\n\nIMPORTANT: Your response must ONLY contain the TOON document above.";
export declare const initialSummarizationTemplate = "# Task: Summarize Conversation\n\nYou are analyzing a conversation to create a concise summary that captures the key points, topics, and important details.\n\n# Recent Messages\n{{recentMessages}}\n\n# Instructions\nGenerate a summary that:\n1. Captures the main topics discussed\n2. Highlights key information shared\n3. Notes any decisions made or questions asked\n4. Maintains context for future reference\n5. Is concise but comprehensive\n\n**IMPORTANT**: Keep the summary under 2500 tokens. Be comprehensive but concise.\n\nAlso extract:\n- **Topics**: List of main topics discussed (comma-separated)\n- **Key Points**: Important facts or decisions (bullet points)\n\nRespond in TOON:\ntext: Your comprehensive summary here\ntopics[0]: topic1\ntopics[1]: topic2\ntopics[2]: topic3\nkeyPoints[0]: First key point\nkeyPoints[1]: Second key point";
export declare const INITIAL_SUMMARIZATION_TEMPLATE = "# Task: Summarize Conversation\n\nYou are analyzing a conversation to create a concise summary that captures the key points, topics, and important details.\n\n# Recent Messages\n{{recentMessages}}\n\n# Instructions\nGenerate a summary that:\n1. Captures the main topics discussed\n2. Highlights key information shared\n3. Notes any decisions made or questions asked\n4. Maintains context for future reference\n5. Is concise but comprehensive\n\n**IMPORTANT**: Keep the summary under 2500 tokens. Be comprehensive but concise.\n\nAlso extract:\n- **Topics**: List of main topics discussed (comma-separated)\n- **Key Points**: Important facts or decisions (bullet points)\n\nRespond in TOON:\ntext: Your comprehensive summary here\ntopics[0]: topic1\ntopics[1]: topic2\ntopics[2]: topic3\nkeyPoints[0]: First key point\nkeyPoints[1]: Second key point";
export declare const longTermExtractionTemplate = "# Task: Extract Long-Term Memory (Strict Criteria)\n\nYou are analyzing a conversation to extract ONLY the most critical, persistent information about the user using cognitive science memory categories.\n\n# Recent Messages\n{{recentMessages}}\n\n# Current Long-Term Memories\n{{existingMemories}}\n\n# Memory Categories (Based on Cognitive Science)\n\n## 1. EPISODIC Memory\nPersonal experiences and specific events with temporal/spatial context.\n**Examples:**\n- \"User completed migration project from MongoDB to PostgreSQL in Q2 2024\"\n- \"User encountered authentication bug in production on March 15th\"\n- \"User had a negative experience with Docker networking in previous job\"\n\n**Requirements:**\n- Must include WHO did WHAT, WHEN/WHERE\n- Must be a specific, concrete event (not a pattern)\n- Must have significant impact or relevance to future work\n\n## 2. SEMANTIC Memory\nGeneral facts, concepts, knowledge, and established truths about the user.\n**Examples:**\n- \"User is a senior backend engineer with 8 years experience\"\n- \"User specializes in distributed systems and microservices architecture\"\n- \"User's primary programming language is TypeScript\"\n- \"User works at Acme Corp as technical lead\"\n\n**Requirements:**\n- Must be factual, timeless information\n- Must be explicitly stated or demonstrated conclusively\n- No speculation or inference from single instances\n- Core identity, expertise, or knowledge only\n\n## 3. PROCEDURAL Memory\nSkills, workflows, methodologies, and how-to knowledge.\n**Examples:**\n- \"User follows strict TDD workflow: write tests first, then implementation\"\n- \"User prefers git rebase over merge to maintain linear history\"\n- \"User's debugging process: check logs \u2192 reproduce locally \u2192 binary search\"\n- \"User always writes JSDoc comments before implementing functions\"\n\n**Requirements:**\n- Must describe HOW user does something\n- Must be a repeated, consistent pattern (seen 3+ times or explicitly stated as standard practice)\n- Must be a workflow, methodology, or skill application\n- Not one-off preferences\n\n# ULTRA-STRICT EXTRACTION CRITERIA\n\n## DO EXTRACT (Only These):\n\n**EPISODIC:**\n- Significant completed projects or milestones\n- Important bugs, incidents, or problems encountered\n- Major decisions made with lasting impact\n- Formative experiences that shape future work\n\n**SEMANTIC:**\n- Professional identity (role, title, company)\n- Core expertise and specializations (stated explicitly or demonstrated conclusively)\n- Primary languages, frameworks, or tools (not exploratory use)\n- Established facts about their work context\n\n**PROCEDURAL:**\n- Consistent workflows demonstrated 3+ times or explicitly stated\n- Standard practices user always follows\n- Methodology preferences with clear rationale\n- Debugging, testing, or development processes\n\n## NEVER EXTRACT:\n\n- **One-time requests or tasks** (e.g., \"can you generate an image\", \"help me debug this\")\n- **Casual conversations** without lasting significance\n- **Exploratory questions** (e.g., \"how does X work?\")\n- **Temporary context** (current bug, today's task)\n- **Preferences from single occurrence** (e.g., user asked for code once)\n- **Social pleasantries** (thank you, greetings)\n- **Testing or experimentation** (trying out a feature)\n- **Common patterns everyone has** (likes clear explanations)\n- **Situational information** (working on feature X today)\n- **Opinions without persistence** (single complaint, isolated praise)\n- **General knowledge** (not specific to user)\n\n# Quality Gates (ALL Must Pass)\n\n1. **Significance Test**: Will this matter in 3+ months?\n2. **Specificity Test**: Is this concrete and actionable?\n3. **Evidence Test**: Is there strong evidence (3+ instances OR explicit self-identification)?\n4. **Uniqueness Test**: Is this specific to THIS user (not generic)?\n5. **Confidence Test**: Confidence must be >= 0.85 (be VERY conservative)\n6. **Non-Redundancy Test**: Does this add NEW information not in existing memories?\n\n# Confidence Scoring (Be Conservative)\n\n- **0.95-1.0**: User explicitly stated as core identity/practice AND demonstrated multiple times\n- **0.85-0.94**: User explicitly stated OR consistently demonstrated 5+ times\n- **0.75-0.84**: Strong pattern (3-4 instances) with supporting context\n- **Below 0.75**: DO NOT EXTRACT (insufficient evidence)\n\n# Critical Instructions\n\n1. **Default to NOT extracting** - When in doubt, skip it\n2. **Require overwhelming evidence** - One or two mentions is NOT enough\n3. **Focus on what's PERSISTENT** - Not what's temporary or situational\n4. **Verify against existing memories** - Don't duplicate or contradict\n5. **Maximum 2-3 extractions per run** - Quality over quantity\n\n**If there are no qualifying facts (which is common), return no memories entries.**\n\n# Response Format\n\nmemories[0]:\n  category: semantic\n  content: User is a senior TypeScript developer with 8 years of backend experience\n  confidence: 0.95\nmemories[1]:\n  category: procedural\n  content: User follows TDD workflow: writes tests before implementation, runs tests after each change\n  confidence: 0.88\nmemories[2]:\n  category: episodic\n  content: User led database migration from MongoDB to PostgreSQL for payment system in Q2 2024\n  confidence: 0.92";
export declare const LONG_TERM_EXTRACTION_TEMPLATE = "# Task: Extract Long-Term Memory (Strict Criteria)\n\nYou are analyzing a conversation to extract ONLY the most critical, persistent information about the user using cognitive science memory categories.\n\n# Recent Messages\n{{recentMessages}}\n\n# Current Long-Term Memories\n{{existingMemories}}\n\n# Memory Categories (Based on Cognitive Science)\n\n## 1. EPISODIC Memory\nPersonal experiences and specific events with temporal/spatial context.\n**Examples:**\n- \"User completed migration project from MongoDB to PostgreSQL in Q2 2024\"\n- \"User encountered authentication bug in production on March 15th\"\n- \"User had a negative experience with Docker networking in previous job\"\n\n**Requirements:**\n- Must include WHO did WHAT, WHEN/WHERE\n- Must be a specific, concrete event (not a pattern)\n- Must have significant impact or relevance to future work\n\n## 2. SEMANTIC Memory\nGeneral facts, concepts, knowledge, and established truths about the user.\n**Examples:**\n- \"User is a senior backend engineer with 8 years experience\"\n- \"User specializes in distributed systems and microservices architecture\"\n- \"User's primary programming language is TypeScript\"\n- \"User works at Acme Corp as technical lead\"\n\n**Requirements:**\n- Must be factual, timeless information\n- Must be explicitly stated or demonstrated conclusively\n- No speculation or inference from single instances\n- Core identity, expertise, or knowledge only\n\n## 3. PROCEDURAL Memory\nSkills, workflows, methodologies, and how-to knowledge.\n**Examples:**\n- \"User follows strict TDD workflow: write tests first, then implementation\"\n- \"User prefers git rebase over merge to maintain linear history\"\n- \"User's debugging process: check logs \u2192 reproduce locally \u2192 binary search\"\n- \"User always writes JSDoc comments before implementing functions\"\n\n**Requirements:**\n- Must describe HOW user does something\n- Must be a repeated, consistent pattern (seen 3+ times or explicitly stated as standard practice)\n- Must be a workflow, methodology, or skill application\n- Not one-off preferences\n\n# ULTRA-STRICT EXTRACTION CRITERIA\n\n## DO EXTRACT (Only These):\n\n**EPISODIC:**\n- Significant completed projects or milestones\n- Important bugs, incidents, or problems encountered\n- Major decisions made with lasting impact\n- Formative experiences that shape future work\n\n**SEMANTIC:**\n- Professional identity (role, title, company)\n- Core expertise and specializations (stated explicitly or demonstrated conclusively)\n- Primary languages, frameworks, or tools (not exploratory use)\n- Established facts about their work context\n\n**PROCEDURAL:**\n- Consistent workflows demonstrated 3+ times or explicitly stated\n- Standard practices user always follows\n- Methodology preferences with clear rationale\n- Debugging, testing, or development processes\n\n## NEVER EXTRACT:\n\n- **One-time requests or tasks** (e.g., \"can you generate an image\", \"help me debug this\")\n- **Casual conversations** without lasting significance\n- **Exploratory questions** (e.g., \"how does X work?\")\n- **Temporary context** (current bug, today's task)\n- **Preferences from single occurrence** (e.g., user asked for code once)\n- **Social pleasantries** (thank you, greetings)\n- **Testing or experimentation** (trying out a feature)\n- **Common patterns everyone has** (likes clear explanations)\n- **Situational information** (working on feature X today)\n- **Opinions without persistence** (single complaint, isolated praise)\n- **General knowledge** (not specific to user)\n\n# Quality Gates (ALL Must Pass)\n\n1. **Significance Test**: Will this matter in 3+ months?\n2. **Specificity Test**: Is this concrete and actionable?\n3. **Evidence Test**: Is there strong evidence (3+ instances OR explicit self-identification)?\n4. **Uniqueness Test**: Is this specific to THIS user (not generic)?\n5. **Confidence Test**: Confidence must be >= 0.85 (be VERY conservative)\n6. **Non-Redundancy Test**: Does this add NEW information not in existing memories?\n\n# Confidence Scoring (Be Conservative)\n\n- **0.95-1.0**: User explicitly stated as core identity/practice AND demonstrated multiple times\n- **0.85-0.94**: User explicitly stated OR consistently demonstrated 5+ times\n- **0.75-0.84**: Strong pattern (3-4 instances) with supporting context\n- **Below 0.75**: DO NOT EXTRACT (insufficient evidence)\n\n# Critical Instructions\n\n1. **Default to NOT extracting** - When in doubt, skip it\n2. **Require overwhelming evidence** - One or two mentions is NOT enough\n3. **Focus on what's PERSISTENT** - Not what's temporary or situational\n4. **Verify against existing memories** - Don't duplicate or contradict\n5. **Maximum 2-3 extractions per run** - Quality over quantity\n\n**If there are no qualifying facts (which is common), return no memories entries.**\n\n# Response Format\n\nmemories[0]:\n  category: semantic\n  content: User is a senior TypeScript developer with 8 years of backend experience\n  confidence: 0.95\nmemories[1]:\n  category: procedural\n  content: User follows TDD workflow: writes tests before implementation, runs tests after each change\n  confidence: 0.88\nmemories[2]:\n  category: episodic\n  content: User led database migration from MongoDB to PostgreSQL for payment system in Q2 2024\n  confidence: 0.92";
export declare const messageClassifierTemplate = "Analyze this user request and classify it for planning purposes:\n\n\"{{text}}\"\n\nClassify the request across these dimensions:\n\n1. COMPLEXITY LEVEL:\n- simple: Direct actions that don't require planning\n- medium: Multi-step tasks requiring coordination\n- complex: Strategic initiatives with multiple stakeholders\n- enterprise: Large-scale transformations with full complexity\n\n2. PLANNING TYPE:\n- direct_action: Single action, no planning needed\n- sequential_planning: Multiple steps in sequence\n- strategic_planning: Complex coordination with stakeholders\n\n3. REQUIRED CAPABILITIES:\n- List specific capabilities needed (analysis, communication, project_management, etc.)\n\n4. STAKEHOLDERS:\n- List types of people/groups involved\n\n5. CONSTRAINTS:\n- List limitations or requirements mentioned\n\n6. DEPENDENCIES:\n- List dependencies between tasks or external factors\n\nRespond in this exact format:\nCOMPLEXITY: [simple|medium|complex|enterprise]\nPLANNING: [direct_action|sequential_planning|strategic_planning]\nCAPABILITIES: [comma-separated list]\nSTAKEHOLDERS: [comma-separated list]\nCONSTRAINTS: [comma-separated list]\nDEPENDENCIES: [comma-separated list]\nCONFIDENCE: [0.0-1.0]";
export declare const MESSAGE_CLASSIFIER_TEMPLATE = "Analyze this user request and classify it for planning purposes:\n\n\"{{text}}\"\n\nClassify the request across these dimensions:\n\n1. COMPLEXITY LEVEL:\n- simple: Direct actions that don't require planning\n- medium: Multi-step tasks requiring coordination\n- complex: Strategic initiatives with multiple stakeholders\n- enterprise: Large-scale transformations with full complexity\n\n2. PLANNING TYPE:\n- direct_action: Single action, no planning needed\n- sequential_planning: Multiple steps in sequence\n- strategic_planning: Complex coordination with stakeholders\n\n3. REQUIRED CAPABILITIES:\n- List specific capabilities needed (analysis, communication, project_management, etc.)\n\n4. STAKEHOLDERS:\n- List types of people/groups involved\n\n5. CONSTRAINTS:\n- List limitations or requirements mentioned\n\n6. DEPENDENCIES:\n- List dependencies between tasks or external factors\n\nRespond in this exact format:\nCOMPLEXITY: [simple|medium|complex|enterprise]\nPLANNING: [direct_action|sequential_planning|strategic_planning]\nCAPABILITIES: [comma-separated list]\nSTAKEHOLDERS: [comma-separated list]\nCONSTRAINTS: [comma-separated list]\nDEPENDENCIES: [comma-separated list]\nCONFIDENCE: [0.0-1.0]";
export declare const messageHandlerTemplate = "task: Generate dialog and actions for {{agentName}}.\n\ncontext:\n{{providers}}\n\nrules[11]:\n- think briefly, then respond\n- always include a <thought> field, even for direct replies\n- actions execute in listed order\n- if replying without another grounded state/action query, REPLY goes first\n- use IGNORE or STOP only by themselves\n- include providers only when needed\n- use provider_hints from context when present instead of restating the same rules\n- if an action needs inputs, include them inside that action's <params> block\n- if a required param is unknown, ask for clarification in text\n- for live status questions or remaining-work queries, do not answer from recent conversation alone; call the relevant action/provider to refresh state, and do not pair it with a speculative REPLY that guesses the result\n- when an action will fetch the state and produce the final grounded answer, do not add REPLY just to say \"checking\", \"let me look\", or similar filler; use the action alone and leave text empty\n- for LifeOps create requests with a clear defaultable habit or natural window, such as drinking water, stretch breaks during the day, weekday-after-lunch Invisalign checks, or brushing when waking up and before bed, call LIFE instead of asking for exact clock times unless the user explicitly asks for precise scheduling\n\ncontrol_actions:\n- STOP means the task is done and the agent should end the run without executing more actions\n- STOP is a terminal control action even if it is not listed in available actions\n\nfields[5]{name,meaning}:\n- thought | short plan\n- actions | ordered <action> entries inside <actions>\n- providers | array of provider names, or empty\n- text | next message for {{agentName}}\n- simple | true or false\n\nformatting:\n- wrap multi-line code in fenced code blocks\n- use inline backticks for short code identifiers\n\noutput:\nXML only. Return exactly one <response>...</response> document. No prose before or after it. No <think>.\n\nExample:\n<response>\n  <thought>Reply briefly. No extra providers needed.</thought>\n  <actions>\n    <action>\n      <name>REPLY</name>\n    </action>\n  </actions>\n  <providers></providers>\n  <text>Your message here</text>\n  <simple>true</simple>\n</response>";
export declare const MESSAGE_HANDLER_TEMPLATE = "task: Generate dialog and actions for {{agentName}}.\n\ncontext:\n{{providers}}\n\nrules[11]:\n- think briefly, then respond\n- always include a <thought> field, even for direct replies\n- actions execute in listed order\n- if replying without another grounded state/action query, REPLY goes first\n- use IGNORE or STOP only by themselves\n- include providers only when needed\n- use provider_hints from context when present instead of restating the same rules\n- if an action needs inputs, include them inside that action's <params> block\n- if a required param is unknown, ask for clarification in text\n- for live status questions or remaining-work queries, do not answer from recent conversation alone; call the relevant action/provider to refresh state, and do not pair it with a speculative REPLY that guesses the result\n- when an action will fetch the state and produce the final grounded answer, do not add REPLY just to say \"checking\", \"let me look\", or similar filler; use the action alone and leave text empty\n- for LifeOps create requests with a clear defaultable habit or natural window, such as drinking water, stretch breaks during the day, weekday-after-lunch Invisalign checks, or brushing when waking up and before bed, call LIFE instead of asking for exact clock times unless the user explicitly asks for precise scheduling\n\ncontrol_actions:\n- STOP means the task is done and the agent should end the run without executing more actions\n- STOP is a terminal control action even if it is not listed in available actions\n\nfields[5]{name,meaning}:\n- thought | short plan\n- actions | ordered <action> entries inside <actions>\n- providers | array of provider names, or empty\n- text | next message for {{agentName}}\n- simple | true or false\n\nformatting:\n- wrap multi-line code in fenced code blocks\n- use inline backticks for short code identifiers\n\noutput:\nXML only. Return exactly one <response>...</response> document. No prose before or after it. No <think>.\n\nExample:\n<response>\n  <thought>Reply briefly. No extra providers needed.</thought>\n  <actions>\n    <action>\n      <name>REPLY</name>\n    </action>\n  </actions>\n  <providers></providers>\n  <text>Your message here</text>\n  <simple>true</simple>\n</response>";
export declare const multiStepDecisionTemplate = "Determine the next step the assistant should take in this conversation to help the user reach their goal.\n\n{{recentMessages}}\n\n# Multi-Step Workflow\n\nIn each step, decide:\n\n1. **Which providers (if any)** should be called to gather necessary data.\n2. **Which action (if any)** should be executed after providers return.\n3. Decide whether the task is complete. If so, set `isFinish: true`. Do not select the `REPLY` action; replies are handled separately after task completion.\n\nYou can select **multiple providers** and at most **one action** per step.\n\nIf the task is fully resolved and no further steps are needed, mark the step as `isFinish: true`.\n\n---\n\n{{actionsWithDescriptions}}\n\n{{providersWithDescriptions}}\n\nThese are the actions or data provider calls that have already been used in this run. Use this to avoid redundancy and guide your next move.\n\n{{actionResults}}\n\nkeys:\n\"thought\" Clearly explain your reasoning for the selected providers and/or action, and how this step contributes to resolving the user's request.\n\"action\"  Name of the action to execute after providers return (can be empty if no action is needed).\n\"providers\" List of provider names to call in this step (can be empty if none are needed).\n\"isFinish\" Set to true only if the task is fully complete.\n\n\u26A0\uFE0F IMPORTANT: Do **not** mark the task as `isFinish: true` immediately after calling an action. Wait for the action to complete before deciding the task is finished.\n\noutput:\nthought: Your thought here\naction: ACTION\nproviders[2]: PROVIDER1,PROVIDER2\nisFinish: false";
export declare const MULTI_STEP_DECISION_TEMPLATE = "Determine the next step the assistant should take in this conversation to help the user reach their goal.\n\n{{recentMessages}}\n\n# Multi-Step Workflow\n\nIn each step, decide:\n\n1. **Which providers (if any)** should be called to gather necessary data.\n2. **Which action (if any)** should be executed after providers return.\n3. Decide whether the task is complete. If so, set `isFinish: true`. Do not select the `REPLY` action; replies are handled separately after task completion.\n\nYou can select **multiple providers** and at most **one action** per step.\n\nIf the task is fully resolved and no further steps are needed, mark the step as `isFinish: true`.\n\n---\n\n{{actionsWithDescriptions}}\n\n{{providersWithDescriptions}}\n\nThese are the actions or data provider calls that have already been used in this run. Use this to avoid redundancy and guide your next move.\n\n{{actionResults}}\n\nkeys:\n\"thought\" Clearly explain your reasoning for the selected providers and/or action, and how this step contributes to resolving the user's request.\n\"action\"  Name of the action to execute after providers return (can be empty if no action is needed).\n\"providers\" List of provider names to call in this step (can be empty if none are needed).\n\"isFinish\" Set to true only if the task is fully complete.\n\n\u26A0\uFE0F IMPORTANT: Do **not** mark the task as `isFinish: true` immediately after calling an action. Wait for the action to complete before deciding the task is finished.\n\noutput:\nthought: Your thought here\naction: ACTION\nproviders[2]: PROVIDER1,PROVIDER2\nisFinish: false";
export declare const multiStepSummaryTemplate = "Summarize what the assistant has done so far and provide a final response to the user based on the completed steps.\n\n# Context Information\n{{bio}}\n\n---\n\n{{system}}\n\n---\n\n{{messageDirections}}\n\n# Conversation Summary\nBelow is the user's original request and conversation so far:\n{{recentMessages}}\n\n# Execution Trace\nHere are the actions taken by the assistant to fulfill the request:\n{{actionResults}}\n\n# Assistant's Last Reasoning Step\n{{recentMessage}}\n\n# Instructions\n\n - Review the execution trace and last reasoning step carefully\n\n - Your final output MUST be TOON in this format:\noutput:\nthought: Your thought here\ntext: Your final message to the user";
export declare const MULTI_STEP_SUMMARY_TEMPLATE = "Summarize what the assistant has done so far and provide a final response to the user based on the completed steps.\n\n# Context Information\n{{bio}}\n\n---\n\n{{system}}\n\n---\n\n{{messageDirections}}\n\n# Conversation Summary\nBelow is the user's original request and conversation so far:\n{{recentMessages}}\n\n# Execution Trace\nHere are the actions taken by the assistant to fulfill the request:\n{{actionResults}}\n\n# Assistant's Last Reasoning Step\n{{recentMessage}}\n\n# Instructions\n\n - Review the execution trace and last reasoning step carefully\n\n - Your final output MUST be TOON in this format:\noutput:\nthought: Your thought here\ntext: Your final message to the user";
export declare const optionExtractionTemplate = "# Task: Extract selected task and option from user message\n\n# Available Tasks:\n{{tasks}}\n\n# Recent Messages:\n{{recentMessages}}\n\n# Instructions:\n1. Review the user's message and identify which task and option they are selecting\n2. Match against the available tasks and their options, including ABORT\n3. Return the task ID (shortened UUID) and selected option name exactly as listed above\n4. If no clear selection is made, return null for both fields\n\n\nReturn in TOON format:\ntaskId: string_or_null\nselectedOption: OPTION_NAME_or_null\n\nIMPORTANT: Your response must ONLY contain the TOON document above. Do not include any text, thinking, or reasoning before or after it.";
export declare const OPTION_EXTRACTION_TEMPLATE = "# Task: Extract selected task and option from user message\n\n# Available Tasks:\n{{tasks}}\n\n# Recent Messages:\n{{recentMessages}}\n\n# Instructions:\n1. Review the user's message and identify which task and option they are selecting\n2. Match against the available tasks and their options, including ABORT\n3. Return the task ID (shortened UUID) and selected option name exactly as listed above\n4. If no clear selection is made, return null for both fields\n\n\nReturn in TOON format:\ntaskId: string_or_null\nselectedOption: OPTION_NAME_or_null\n\nIMPORTANT: Your response must ONLY contain the TOON document above. Do not include any text, thinking, or reasoning before or after it.";
export declare const postActionDecisionTemplate = "Continue helping the user after reviewing the latest action results.\n\ncontext:\n{{providers}}\n\nrecent conversation:\n{{recentMessages}}\n\nrecent action results:\n{{actionResults}}\n\nlatest reflection task status:\n{{taskCompletionStatus}}\n\nrules[10]:\n- think briefly, then continue the task from the latest action results\n- actions execute in listed order\n- if replying, REPLY goes first\n- use IGNORE or STOP only by themselves\n- include providers only when needed\n- use provider_hints from context when present instead of restating the same rules\n- if an action needs inputs, include them under params keyed by action name\n- if a required param is unknown, ask for clarification in text\n- if reflection says the task is incomplete, keep working or explain the concrete follow-up you still need\n- if the task is complete, either reply to the user or use STOP to end the run\n- STOP is a terminal control action even if it is not listed in available actions\n\noutput:\nTOON only. Return exactly one TOON document. No prose before or after it. No <think>.\n\nthought: Your thought here\nactions[1]: ACTION\nproviders[0]:\ntext: Your message here\nsimple: true";
export declare const POST_ACTION_DECISION_TEMPLATE = "Continue helping the user after reviewing the latest action results.\n\ncontext:\n{{providers}}\n\nrecent conversation:\n{{recentMessages}}\n\nrecent action results:\n{{actionResults}}\n\nlatest reflection task status:\n{{taskCompletionStatus}}\n\nrules[10]:\n- think briefly, then continue the task from the latest action results\n- actions execute in listed order\n- if replying, REPLY goes first\n- use IGNORE or STOP only by themselves\n- include providers only when needed\n- use provider_hints from context when present instead of restating the same rules\n- if an action needs inputs, include them under params keyed by action name\n- if a required param is unknown, ask for clarification in text\n- if reflection says the task is incomplete, keep working or explain the concrete follow-up you still need\n- if the task is complete, either reply to the user or use STOP to end the run\n- STOP is a terminal control action even if it is not listed in available actions\n\noutput:\nTOON only. Return exactly one TOON document. No prose before or after it. No <think>.\n\nthought: Your thought here\nactions[1]: ACTION\nproviders[0]:\ntext: Your message here\nsimple: true";
export declare const postCreationTemplate = "# Task: Create a post in the voice and style and perspective of {{agentName}} @{{xUserName}}.\n\nExample task outputs:\n1. A post about the importance of AI in our lives\nthought: I am thinking about writing a post about the importance of AI in our lives\npost: AI is changing the world and it is important to understand how it works\nimagePrompt: A futuristic cityscape with flying cars and people using AI to do things\n\n2. A post about dogs\nthought: I am thinking about writing a post about dogs\npost: Dogs are man's best friend and they are loyal and loving\nimagePrompt: A dog playing with a ball in a park\n\n3. A post about finding a new job\nthought: Getting a job is hard, I bet there's a good post in that\npost: Just keep going!\nimagePrompt: A person looking at a computer screen with a job search website\n\n{{providers}}\n\nWrite a post that is {{adjective}} about {{topic}} (without mentioning {{topic}} directly), from the perspective of {{agentName}}. Do not add commentary or acknowledge this request, just write the post.\nYour response should be 1, 2, or 3 sentences (choose the length at random).\nYour response should not contain any questions. Brief, concise statements only. The total character count MUST be less than 280. No emojis. Use \\n\\n (double spaces) between statements if there are multiple statements in your response.\n\nYour output should be formatted as TOON like this:\nthought: Your thought here\npost: Your post text here\nimagePrompt: Optional image prompt here\n\nThe \"post\" field should be the post you want to send. Do not including any thinking or internal reflection in the \"post\" field.\nThe \"imagePrompt\" field is optional and should be a prompt for an image that is relevant to the post. It should be a single sentence that captures the essence of the post. ONLY USE THIS FIELD if it makes sense that the post would benefit from an image.\nThe \"thought\" field should be a short description of what the agent is thinking about before responding, including a brief justification for the response. Includate an explanation how the post is relevant to the topic but unique and different than other posts.\n\n\nIMPORTANT: Your response must ONLY contain the TOON document above. Do not include any text, thinking, or reasoning before or after it.";
export declare const POST_CREATION_TEMPLATE = "# Task: Create a post in the voice and style and perspective of {{agentName}} @{{xUserName}}.\n\nExample task outputs:\n1. A post about the importance of AI in our lives\nthought: I am thinking about writing a post about the importance of AI in our lives\npost: AI is changing the world and it is important to understand how it works\nimagePrompt: A futuristic cityscape with flying cars and people using AI to do things\n\n2. A post about dogs\nthought: I am thinking about writing a post about dogs\npost: Dogs are man's best friend and they are loyal and loving\nimagePrompt: A dog playing with a ball in a park\n\n3. A post about finding a new job\nthought: Getting a job is hard, I bet there's a good post in that\npost: Just keep going!\nimagePrompt: A person looking at a computer screen with a job search website\n\n{{providers}}\n\nWrite a post that is {{adjective}} about {{topic}} (without mentioning {{topic}} directly), from the perspective of {{agentName}}. Do not add commentary or acknowledge this request, just write the post.\nYour response should be 1, 2, or 3 sentences (choose the length at random).\nYour response should not contain any questions. Brief, concise statements only. The total character count MUST be less than 280. No emojis. Use \\n\\n (double spaces) between statements if there are multiple statements in your response.\n\nYour output should be formatted as TOON like this:\nthought: Your thought here\npost: Your post text here\nimagePrompt: Optional image prompt here\n\nThe \"post\" field should be the post you want to send. Do not including any thinking or internal reflection in the \"post\" field.\nThe \"imagePrompt\" field is optional and should be a prompt for an image that is relevant to the post. It should be a single sentence that captures the essence of the post. ONLY USE THIS FIELD if it makes sense that the post would benefit from an image.\nThe \"thought\" field should be a short description of what the agent is thinking about before responding, including a brief justification for the response. Includate an explanation how the post is relevant to the topic but unique and different than other posts.\n\n\nIMPORTANT: Your response must ONLY contain the TOON document above. Do not include any text, thinking, or reasoning before or after it.";
export declare const reflectionEvaluatorTemplate = "# Task: Generate Agent Reflection, Extract Facts and Relationships\n\n{{providers}}\n\n# Examples:\n{{evaluationExamples}}\n\n# Entities in Room\n{{entitiesInRoom}}\n\n# Existing Relationships\n{{existingRelationships}}\n\n# Current Context:\nAgent Name: {{agentName}}\nRoom Type: {{roomType}}\nMessage Sender: {{senderName}} (ID: {{senderId}})\n\n{{recentMessages}}\n\n# Known Facts:\n{{knownFacts}}\n\n# Latest Action Results:\n{{actionResults}}\n\n# Instructions:\n1. Generate a self-reflective thought on the conversation about your performance and interaction quality.\n2. Extract only durable new facts from the conversation.\n  - Prefer facts about the current user/sender that will still matter in a week: identity, stable preferences, recurring collaborators, durable setup, long-term projects, or ongoing constraints.\n  - Do NOT extract temporary status updates, current debugging/work items, one-off session metrics, isolated praise/complaints, or facts that are only true right now.\n  - If a fact would feel stale, irrelevant, or surprising to store a week from now, skip it.\n  - When in doubt, omit the fact.\n3. Identify and describe relationships between entities.\n  - The sourceEntityId is the UUID of the entity initiating the interaction.\n  - The targetEntityId is the UUID of the entity being interacted with.\n  - Relationships are one-direction, so a friendship would be two entity relationships where each entity is both the source and the target of the other.\n4. It is normal to return no facts when nothing durable was learned.\n5. Always decide whether the user's task or request is actually complete right now.\n  - Set `task_completed: true` only if the user no longer needs additional action or follow-up from you in this turn.\n  - If you asked a clarifying question, an action failed, work is still pending, or you only partially completed the request, set `task_completed: false`.\n6. Always include a short `task_completion_reason` grounded in the conversation and action results.\n\nOutput:\nTOON only. Return exactly one TOON document. No prose before or after it. No <think>.\nDo not output JSON, XML, Markdown fences, or commentary.\nUse indexed TOON fields exactly like this:\nthought: \"a self-reflective thought on the conversation\"\ntask_completed: false\ntask_completion_reason: \"The request is still incomplete because the needed action has not happened yet.\"\nfacts[0]:\n  claim: durable factual statement\n  type: fact\n  in_bio: false\n  already_known: false\nrelationships[0]:\n  sourceEntityId: entity_initiating_interaction\n  targetEntityId: entity_being_interacted_with\n  tags[0]: dm_interaction\n\nFor additional entries, increment the index: facts[1], relationships[1], tags[1], etc.\nAlways include `task_completed` and `task_completion_reason`.\nIf there are no durable new facts, omit all facts[...] entries.\nIf there are no relationships, omit all relationships[...] entries.\n\nIMPORTANT: Your response must ONLY contain the TOON document above. Do not include any text, thinking, or reasoning before or after it.";
export declare const REFLECTION_EVALUATOR_TEMPLATE = "# Task: Generate Agent Reflection, Extract Facts and Relationships\n\n{{providers}}\n\n# Examples:\n{{evaluationExamples}}\n\n# Entities in Room\n{{entitiesInRoom}}\n\n# Existing Relationships\n{{existingRelationships}}\n\n# Current Context:\nAgent Name: {{agentName}}\nRoom Type: {{roomType}}\nMessage Sender: {{senderName}} (ID: {{senderId}})\n\n{{recentMessages}}\n\n# Known Facts:\n{{knownFacts}}\n\n# Latest Action Results:\n{{actionResults}}\n\n# Instructions:\n1. Generate a self-reflective thought on the conversation about your performance and interaction quality.\n2. Extract only durable new facts from the conversation.\n  - Prefer facts about the current user/sender that will still matter in a week: identity, stable preferences, recurring collaborators, durable setup, long-term projects, or ongoing constraints.\n  - Do NOT extract temporary status updates, current debugging/work items, one-off session metrics, isolated praise/complaints, or facts that are only true right now.\n  - If a fact would feel stale, irrelevant, or surprising to store a week from now, skip it.\n  - When in doubt, omit the fact.\n3. Identify and describe relationships between entities.\n  - The sourceEntityId is the UUID of the entity initiating the interaction.\n  - The targetEntityId is the UUID of the entity being interacted with.\n  - Relationships are one-direction, so a friendship would be two entity relationships where each entity is both the source and the target of the other.\n4. It is normal to return no facts when nothing durable was learned.\n5. Always decide whether the user's task or request is actually complete right now.\n  - Set `task_completed: true` only if the user no longer needs additional action or follow-up from you in this turn.\n  - If you asked a clarifying question, an action failed, work is still pending, or you only partially completed the request, set `task_completed: false`.\n6. Always include a short `task_completion_reason` grounded in the conversation and action results.\n\nOutput:\nTOON only. Return exactly one TOON document. No prose before or after it. No <think>.\nDo not output JSON, XML, Markdown fences, or commentary.\nUse indexed TOON fields exactly like this:\nthought: \"a self-reflective thought on the conversation\"\ntask_completed: false\ntask_completion_reason: \"The request is still incomplete because the needed action has not happened yet.\"\nfacts[0]:\n  claim: durable factual statement\n  type: fact\n  in_bio: false\n  already_known: false\nrelationships[0]:\n  sourceEntityId: entity_initiating_interaction\n  targetEntityId: entity_being_interacted_with\n  tags[0]: dm_interaction\n\nFor additional entries, increment the index: facts[1], relationships[1], tags[1], etc.\nAlways include `task_completed` and `task_completion_reason`.\nIf there are no durable new facts, omit all facts[...] entries.\nIf there are no relationships, omit all relationships[...] entries.\n\nIMPORTANT: Your response must ONLY contain the TOON document above. Do not include any text, thinking, or reasoning before or after it.";
export declare const reflectionTemplate = "# Task: Reflect on recent agent behavior and interactions.\n\n{{providers}}\n\n# Recent Interactions:\n{{recentInteractions}}\n\n# Instructions:\nAnalyze the agent's recent behavior and interactions. Consider:\n1. Was the communication clear and helpful?\n2. Were responses appropriate for the context?\n3. Were any mistakes made?\n4. What could be improved?\n\nRespond using TOON like this:\nthought: Your detailed analysis\nquality_score: Score 0-100 for overall quality\nstrengths: What went well\nimprovements: What could be improved\nlearnings: Key takeaways for future interactions\n\nIMPORTANT: Your response must ONLY contain the TOON document above.";
export declare const REFLECTION_TEMPLATE = "# Task: Reflect on recent agent behavior and interactions.\n\n{{providers}}\n\n# Recent Interactions:\n{{recentInteractions}}\n\n# Instructions:\nAnalyze the agent's recent behavior and interactions. Consider:\n1. Was the communication clear and helpful?\n2. Were responses appropriate for the context?\n3. Were any mistakes made?\n4. What could be improved?\n\nRespond using TOON like this:\nthought: Your detailed analysis\nquality_score: Score 0-100 for overall quality\nstrengths: What went well\nimprovements: What could be improved\nlearnings: Key takeaways for future interactions\n\nIMPORTANT: Your response must ONLY contain the TOON document above.";
export declare const removeContactTemplate = "task: Extract the contact removal request.\n\ncontext:\n{{providers}}\n\ncurrent_message:\n{{message}}\n\ninstructions[4]:\n- identify the contact name to remove\n- set confirmed to yes only when the user explicitly confirms removal\n- set confirmed to no when confirmation is absent or ambiguous\n- return only the requested contact\n\noutput:\nTOON only. Return exactly one TOON document. No prose before or after it. No <think>.\n\nExample:\ncontactName: Jane Doe\nconfirmed: yes";
export declare const REMOVE_CONTACT_TEMPLATE = "task: Extract the contact removal request.\n\ncontext:\n{{providers}}\n\ncurrent_message:\n{{message}}\n\ninstructions[4]:\n- identify the contact name to remove\n- set confirmed to yes only when the user explicitly confirms removal\n- set confirmed to no when confirmation is absent or ambiguous\n- return only the requested contact\n\noutput:\nTOON only. Return exactly one TOON document. No prose before or after it. No <think>.\n\nExample:\ncontactName: Jane Doe\nconfirmed: yes";
export declare const replyTemplate = "# Task: Generate dialog for the character {{agentName}}.\n\n{{providers}}\n\n# Instructions: Write the next message for {{agentName}}.\n\"thought\" should be a short description of what the agent is thinking about and planning.\n\"text\" should be the next message for {{agentName}} which they will send to the conversation.\n\nIMPORTANT CODE BLOCK FORMATTING RULES:\n- If {{agentName}} includes code examples, snippets, or multi-line code in the response, ALWAYS wrap the code with ``` fenced code blocks (specify the language if known, e.g., ```python).\n- ONLY use fenced code blocks for actual code. Do NOT wrap non-code text, instructions, or single words in fenced code blocks.\n- If including inline code (short single words or function names), use single backticks (`) as appropriate.\n- This ensures the user sees clearly formatted and copyable code when relevant.\n\nDo NOT include any thinking, reasoning, or <think> sections in your response.\nGo directly to the TOON response format without any preamble or explanation.\n\nRespond using TOON like this:\nthought: Your thought here\ntext: Your message here\n\nIMPORTANT: Your response must ONLY contain the TOON document above. Do not include any text, thinking, or reasoning before or after it.";
export declare const REPLY_TEMPLATE = "# Task: Generate dialog for the character {{agentName}}.\n\n{{providers}}\n\n# Instructions: Write the next message for {{agentName}}.\n\"thought\" should be a short description of what the agent is thinking about and planning.\n\"text\" should be the next message for {{agentName}} which they will send to the conversation.\n\nIMPORTANT CODE BLOCK FORMATTING RULES:\n- If {{agentName}} includes code examples, snippets, or multi-line code in the response, ALWAYS wrap the code with ``` fenced code blocks (specify the language if known, e.g., ```python).\n- ONLY use fenced code blocks for actual code. Do NOT wrap non-code text, instructions, or single words in fenced code blocks.\n- If including inline code (short single words or function names), use single backticks (`) as appropriate.\n- This ensures the user sees clearly formatted and copyable code when relevant.\n\nDo NOT include any thinking, reasoning, or <think> sections in your response.\nGo directly to the TOON response format without any preamble or explanation.\n\nRespond using TOON like this:\nthought: Your thought here\ntext: Your message here\n\nIMPORTANT: Your response must ONLY contain the TOON document above. Do not include any text, thinking, or reasoning before or after it.";
export declare const scheduleFollowUpTemplate = "task: Extract follow-up scheduling information from the request.\n\ncontext:\n{{providers}}\n\ncurrent_message:\n{{message}}\n\ncurrent_datetime:\n{{currentDateTime}}\n\ninstructions[5]:\n- identify who to follow up with\n- include entityId only when it is explicitly known\n- convert requested timing into an ISO datetime in scheduledAt\n- normalize priority to high, medium, or low\n- include message only when the user asked for a specific note or reminder text\n\noutput:\nTOON only. Return exactly one TOON document. No prose before or after it. No <think>.\n\nExample:\ncontactName: Jane Doe\nentityId:\nscheduledAt: 2026-04-06T14:00:00.000Z\nreason: Check in on the proposal\npriority: medium\nmessage: Send the latest deck before the call";
export declare const SCHEDULE_FOLLOW_UP_TEMPLATE = "task: Extract follow-up scheduling information from the request.\n\ncontext:\n{{providers}}\n\ncurrent_message:\n{{message}}\n\ncurrent_datetime:\n{{currentDateTime}}\n\ninstructions[5]:\n- identify who to follow up with\n- include entityId only when it is explicitly known\n- convert requested timing into an ISO datetime in scheduledAt\n- normalize priority to high, medium, or low\n- include message only when the user asked for a specific note or reminder text\n\noutput:\nTOON only. Return exactly one TOON document. No prose before or after it. No <think>.\n\nExample:\ncontactName: Jane Doe\nentityId:\nscheduledAt: 2026-04-06T14:00:00.000Z\nreason: Check in on the proposal\npriority: medium\nmessage: Send the latest deck before the call";
export declare const searchContactsTemplate = "task: Extract contact search criteria from the request.\n\ncontext:\n{{providers}}\n\ncurrent_message:\n{{message}}\n\ninstructions[5]:\n- return categories as a comma-separated list when the user filters by category\n- return tags as a comma-separated list when the user filters by tags\n- return searchTerm for any name or free-text lookup\n- set intent to count when the user only wants a count, otherwise list\n- omit fields that are not clearly requested\n\noutput:\nTOON only. Return exactly one TOON document. No prose before or after it. No <think>.\n\nExample:\ncategories: vip,colleague\nsearchTerm: Jane\ntags: ai,design\nintent: list";
export declare const SEARCH_CONTACTS_TEMPLATE = "task: Extract contact search criteria from the request.\n\ncontext:\n{{providers}}\n\ncurrent_message:\n{{message}}\n\ninstructions[5]:\n- return categories as a comma-separated list when the user filters by category\n- return tags as a comma-separated list when the user filters by tags\n- return searchTerm for any name or free-text lookup\n- set intent to count when the user only wants a count, otherwise list\n- omit fields that are not clearly requested\n\noutput:\nTOON only. Return exactly one TOON document. No prose before or after it. No <think>.\n\nExample:\ncategories: vip,colleague\nsearchTerm: Jane\ntags: ai,design\nintent: list";
export declare const shouldFollowRoomTemplate = "task: Decide whether {{agentName}} should follow this room.\n\ncontext:\n{{providers}}\n\ncurrent_message:\n{{message}}\n\ninstructions[3]:\n- return true only when the user is clearly asking {{agentName}} to follow, join, listen to, or stay engaged in this room\n- return false when the request is ambiguous or unrelated\n- prefer false when uncertain\n\noutput:\nTOON only. Return exactly one TOON document. No prose before or after it. No <think>.\n\nExample:\ndecision: true";
export declare const SHOULD_FOLLOW_ROOM_TEMPLATE = "task: Decide whether {{agentName}} should follow this room.\n\ncontext:\n{{providers}}\n\ncurrent_message:\n{{message}}\n\ninstructions[3]:\n- return true only when the user is clearly asking {{agentName}} to follow, join, listen to, or stay engaged in this room\n- return false when the request is ambiguous or unrelated\n- prefer false when uncertain\n\noutput:\nTOON only. Return exactly one TOON document. No prose before or after it. No <think>.\n\nExample:\ndecision: true";
export declare const shouldMuteRoomTemplate = "task: Decide whether {{agentName}} should mute this room.\n\ncontext:\n{{providers}}\n\ncurrent_message:\n{{message}}\n\ninstructions[3]:\n- return true only when the user is clearly asking {{agentName}} to mute, silence, or ignore this room\n- return false when the request is ambiguous or unrelated\n- prefer false when uncertain\n\noutput:\nTOON only. Return exactly one TOON document. No prose before or after it. No <think>.\n\nExample:\ndecision: true";
export declare const SHOULD_MUTE_ROOM_TEMPLATE = "task: Decide whether {{agentName}} should mute this room.\n\ncontext:\n{{providers}}\n\ncurrent_message:\n{{message}}\n\ninstructions[3]:\n- return true only when the user is clearly asking {{agentName}} to mute, silence, or ignore this room\n- return false when the request is ambiguous or unrelated\n- prefer false when uncertain\n\noutput:\nTOON only. Return exactly one TOON document. No prose before or after it. No <think>.\n\nExample:\ndecision: true";
export declare const shouldRespondTemplate = "task: Decide whether {{agentName}} should respond, ignore, or stop.\n\ncontext:\n{{providers}}\n\nrules[6]:\n- direct mention of {{agentName}} -> RESPOND\n- different assistant name or talking to someone else -> IGNORE unless {{agentName}} is also directly addressed\n- prior participation by {{agentName}} in the thread is not enough by itself; the newest message must still clearly expect {{agentName}} -> otherwise IGNORE\n- request to stop or be quiet directed at {{agentName}} -> STOP\n- if multiple people are mentioned and {{agentName}} is one of the addressees -> RESPOND\n- if unsure whether the speaker is talking to {{agentName}}, prefer IGNORE over hallucinating relevance\n\navailable_contexts:\n{{availableContexts}}\n\ncontext_routing:\n- primaryContext: choose one context from available_contexts, or \"general\" if none apply\n- secondaryContexts: optional comma-separated list of additional relevant contexts\n- evidenceTurnIds: optional comma-separated list of message IDs supporting the decision\n\ndecision_note:\n- respond only when the latest message is talking TO {{agentName}}\n- talking TO {{agentName}} means name mention, reply chain, or a clear follow-up that still expects {{agentName}} to answer\n- mentions of other people do not cancel a direct address to {{agentName}}\n- casual conversation between other users is not enough\n- if another assistant already answered and nobody re-addressed {{agentName}}, IGNORE\n- if {{agentName}} already replied recently and nobody re-addressed {{agentName}}, IGNORE\n- talking ABOUT {{agentName}} or continuing a room conversation around them is not enough\n\noutput:\nTOON only. Return exactly one TOON document. No prose before or after it. No <think>.\n\nExample:\nname: {{agentName}}\nreasoning: Direct mention and clear follow-up.\naction: RESPOND\nprimaryContext: general\nsecondaryContexts:\nevidenceTurnIds:";
export declare const SHOULD_RESPOND_TEMPLATE = "task: Decide whether {{agentName}} should respond, ignore, or stop.\n\ncontext:\n{{providers}}\n\nrules[6]:\n- direct mention of {{agentName}} -> RESPOND\n- different assistant name or talking to someone else -> IGNORE unless {{agentName}} is also directly addressed\n- prior participation by {{agentName}} in the thread is not enough by itself; the newest message must still clearly expect {{agentName}} -> otherwise IGNORE\n- request to stop or be quiet directed at {{agentName}} -> STOP\n- if multiple people are mentioned and {{agentName}} is one of the addressees -> RESPOND\n- if unsure whether the speaker is talking to {{agentName}}, prefer IGNORE over hallucinating relevance\n\navailable_contexts:\n{{availableContexts}}\n\ncontext_routing:\n- primaryContext: choose one context from available_contexts, or \"general\" if none apply\n- secondaryContexts: optional comma-separated list of additional relevant contexts\n- evidenceTurnIds: optional comma-separated list of message IDs supporting the decision\n\ndecision_note:\n- respond only when the latest message is talking TO {{agentName}}\n- talking TO {{agentName}} means name mention, reply chain, or a clear follow-up that still expects {{agentName}} to answer\n- mentions of other people do not cancel a direct address to {{agentName}}\n- casual conversation between other users is not enough\n- if another assistant already answered and nobody re-addressed {{agentName}}, IGNORE\n- if {{agentName}} already replied recently and nobody re-addressed {{agentName}}, IGNORE\n- talking ABOUT {{agentName}} or continuing a room conversation around them is not enough\n\noutput:\nTOON only. Return exactly one TOON document. No prose before or after it. No <think>.\n\nExample:\nname: {{agentName}}\nreasoning: Direct mention and clear follow-up.\naction: RESPOND\nprimaryContext: general\nsecondaryContexts:\nevidenceTurnIds:";
export declare const shouldRespondWithContextTemplate = "task: Decide whether {{agentName}} should respond and which domain context applies.\n\ncontext:\n{{providers}}\n\navailable_contexts:\n{{availableContexts}}\n\nrules[6]:\n- direct mention of {{agentName}} -> RESPOND\n- different assistant name or talking to someone else -> IGNORE unless {{agentName}} is also directly addressed\n- prior participation by {{agentName}} in the thread is not enough by itself; the newest message must still clearly expect {{agentName}} -> otherwise IGNORE\n- request to stop or be quiet directed at {{agentName}} -> STOP\n- if multiple people are mentioned and {{agentName}} is one of the addressees -> RESPOND\n- if unsure whether the speaker is talking to {{agentName}}, prefer IGNORE over hallucinating relevance\n\ncontext_routing:\n- primaryContext: the single best-matching domain from available_contexts\n- secondaryContexts: zero or more additional domains that are relevant\n- action intent does not only come from the last message; consider the full recent conversation\n- if no specific domain applies, use \"general\"\n\ndecision_note:\n- respond only when the latest message is talking TO {{agentName}}\n- talking TO {{agentName}} means name mention, reply chain, or a clear follow-up that still expects {{agentName}} to answer\n- mentions of other people do not cancel a direct address to {{agentName}}\n- casual conversation between other users is not enough\n- if another assistant already answered and nobody re-addressed {{agentName}}, IGNORE\n- if {{agentName}} already replied recently and nobody re-addressed {{agentName}}, IGNORE\n- talking ABOUT {{agentName}} or continuing a room conversation around them is not enough\n- context routing always applies, even for IGNORE/STOP decisions\n\noutput:\nTOON only. Return exactly one TOON document. No prose before or after it. No <think>.\n\nExample:\nname: {{agentName}}\nreasoning: Direct mention asking about token balance.\naction: RESPOND\nprimaryContext: wallet\nsecondaryContexts: []";
export declare const SHOULD_RESPOND_WITH_CONTEXT_TEMPLATE = "task: Decide whether {{agentName}} should respond and which domain context applies.\n\ncontext:\n{{providers}}\n\navailable_contexts:\n{{availableContexts}}\n\nrules[6]:\n- direct mention of {{agentName}} -> RESPOND\n- different assistant name or talking to someone else -> IGNORE unless {{agentName}} is also directly addressed\n- prior participation by {{agentName}} in the thread is not enough by itself; the newest message must still clearly expect {{agentName}} -> otherwise IGNORE\n- request to stop or be quiet directed at {{agentName}} -> STOP\n- if multiple people are mentioned and {{agentName}} is one of the addressees -> RESPOND\n- if unsure whether the speaker is talking to {{agentName}}, prefer IGNORE over hallucinating relevance\n\ncontext_routing:\n- primaryContext: the single best-matching domain from available_contexts\n- secondaryContexts: zero or more additional domains that are relevant\n- action intent does not only come from the last message; consider the full recent conversation\n- if no specific domain applies, use \"general\"\n\ndecision_note:\n- respond only when the latest message is talking TO {{agentName}}\n- talking TO {{agentName}} means name mention, reply chain, or a clear follow-up that still expects {{agentName}} to answer\n- mentions of other people do not cancel a direct address to {{agentName}}\n- casual conversation between other users is not enough\n- if another assistant already answered and nobody re-addressed {{agentName}}, IGNORE\n- if {{agentName}} already replied recently and nobody re-addressed {{agentName}}, IGNORE\n- talking ABOUT {{agentName}} or continuing a room conversation around them is not enough\n- context routing always applies, even for IGNORE/STOP decisions\n\noutput:\nTOON only. Return exactly one TOON document. No prose before or after it. No <think>.\n\nExample:\nname: {{agentName}}\nreasoning: Direct mention asking about token balance.\naction: RESPOND\nprimaryContext: wallet\nsecondaryContexts: []";
export declare const shouldUnfollowRoomTemplate = "task: Decide whether {{agentName}} should unfollow this room.\n\ncontext:\n{{providers}}\n\ncurrent_message:\n{{message}}\n\ninstructions[3]:\n- return true only when the user is clearly asking {{agentName}} to stop following or leave this room\n- return false when the request is ambiguous or unrelated\n- prefer false when uncertain\n\noutput:\nTOON only. Return exactly one TOON document. No prose before or after it. No <think>.\n\nExample:\ndecision: true";
export declare const SHOULD_UNFOLLOW_ROOM_TEMPLATE = "task: Decide whether {{agentName}} should unfollow this room.\n\ncontext:\n{{providers}}\n\ncurrent_message:\n{{message}}\n\ninstructions[3]:\n- return true only when the user is clearly asking {{agentName}} to stop following or leave this room\n- return false when the request is ambiguous or unrelated\n- prefer false when uncertain\n\noutput:\nTOON only. Return exactly one TOON document. No prose before or after it. No <think>.\n\nExample:\ndecision: true";
export declare const shouldUnmuteRoomTemplate = "task: Decide whether {{agentName}} should unmute this room.\n\ncontext:\n{{providers}}\n\ncurrent_message:\n{{message}}\n\ninstructions[3]:\n- return true only when the user is clearly asking {{agentName}} to unmute or resume listening to this room\n- return false when the request is ambiguous or unrelated\n- prefer false when uncertain\n\noutput:\nTOON only. Return exactly one TOON document. No prose before or after it. No <think>.\n\nExample:\ndecision: true";
export declare const SHOULD_UNMUTE_ROOM_TEMPLATE = "task: Decide whether {{agentName}} should unmute this room.\n\ncontext:\n{{providers}}\n\ncurrent_message:\n{{message}}\n\ninstructions[3]:\n- return true only when the user is clearly asking {{agentName}} to unmute or resume listening to this room\n- return false when the request is ambiguous or unrelated\n- prefer false when uncertain\n\noutput:\nTOON only. Return exactly one TOON document. No prose before or after it. No <think>.\n\nExample:\ndecision: true";
export declare const thinkTemplate = "# Task: Think deeply and reason carefully for {{agentName}}.\n\n{{providers}}\n\n# Context\nThe initial planning phase identified this question as requiring deeper analysis.\nThe following is the conversation so far and all available context.\n\n# Instructions\nYou are {{agentName}}. A question or request has been identified as complex, ambiguous, or requiring careful reasoning. Your job is to think through this thoroughly before responding.\n\nApproach this systematically:\n1. Identify the core question or problem being asked\n2. Consider multiple angles, approaches, or interpretations\n3. Evaluate trade-offs, risks, and constraints\n4. Draw on relevant knowledge and context from the conversation\n5. Arrive at a well-reasoned conclusion or recommendation\n\nBe thorough but concise. Prioritize depth of reasoning over length. If there are genuine unknowns, acknowledge them rather than guessing.\n\nRespond using TOON:\nthought: Your detailed internal reasoning \u2014 the full chain of thought, alternatives considered, and why you reached your conclusion\ntext: Your response to the user \u2014 clear, structured, and well-reasoned. Use headings, lists, or code blocks as appropriate for the content.\n\nIMPORTANT: Your response must ONLY contain the TOON document above. Do not include any preamble or explanation outside of it.";
export declare const THINK_TEMPLATE = "# Task: Think deeply and reason carefully for {{agentName}}.\n\n{{providers}}\n\n# Context\nThe initial planning phase identified this question as requiring deeper analysis.\nThe following is the conversation so far and all available context.\n\n# Instructions\nYou are {{agentName}}. A question or request has been identified as complex, ambiguous, or requiring careful reasoning. Your job is to think through this thoroughly before responding.\n\nApproach this systematically:\n1. Identify the core question or problem being asked\n2. Consider multiple angles, approaches, or interpretations\n3. Evaluate trade-offs, risks, and constraints\n4. Draw on relevant knowledge and context from the conversation\n5. Arrive at a well-reasoned conclusion or recommendation\n\nBe thorough but concise. Prioritize depth of reasoning over length. If there are genuine unknowns, acknowledge them rather than guessing.\n\nRespond using TOON:\nthought: Your detailed internal reasoning \u2014 the full chain of thought, alternatives considered, and why you reached your conclusion\ntext: Your response to the user \u2014 clear, structured, and well-reasoned. Use headings, lists, or code blocks as appropriate for the content.\n\nIMPORTANT: Your response must ONLY contain the TOON document above. Do not include any preamble or explanation outside of it.";
export declare const updateContactTemplate = "task: Extract contact updates from the request.\n\ncontext:\n{{providers}}\n\ncurrent_message:\n{{message}}\n\ninstructions[6]:\n- identify the contact name to update\n- set operation to replace unless the user clearly says to add_to or remove_from\n- return categories and tags as comma-separated lists\n- return preferences and customFields as comma-separated key:value pairs\n- include notes only when explicitly requested\n- omit fields that are not being changed\n\noutput:\nTOON only. Return exactly one TOON document. No prose before or after it. No <think>.\n\nExample:\ncontactName: Jane Doe\noperation: add_to\ncategories: vip\ntags: ai,friend\npreferences: timezone:America/New_York,language:English\ncustomFields: company:Acme,title:Designer\nnotes: Prefers async communication";
export declare const UPDATE_CONTACT_TEMPLATE = "task: Extract contact updates from the request.\n\ncontext:\n{{providers}}\n\ncurrent_message:\n{{message}}\n\ninstructions[6]:\n- identify the contact name to update\n- set operation to replace unless the user clearly says to add_to or remove_from\n- return categories and tags as comma-separated lists\n- return preferences and customFields as comma-separated key:value pairs\n- include notes only when explicitly requested\n- omit fields that are not being changed\n\noutput:\nTOON only. Return exactly one TOON document. No prose before or after it. No <think>.\n\nExample:\ncontactName: Jane Doe\noperation: add_to\ncategories: vip\ntags: ai,friend\npreferences: timezone:America/New_York,language:English\ncustomFields: company:Acme,title:Designer\nnotes: Prefers async communication";
export declare const updateEntityTemplate = "# Task: Update entity information.\n\n{{providers}}\n\n# Current Entity Information:\n{{entityInfo}}\n\n# Instructions:\nBased on the request, determine what information about the entity should be updated.\nOnly update fields that the user has explicitly requested to change.\n\nRespond using TOON like this:\nthought: Your reasoning for the entity update\nentity_id: The entity ID to update\nupdates[1]{name,value}:\n  field_name,new_value\n\nIMPORTANT: Your response must ONLY contain the TOON document above.";
export declare const UPDATE_ENTITY_TEMPLATE = "# Task: Update entity information.\n\n{{providers}}\n\n# Current Entity Information:\n{{entityInfo}}\n\n# Instructions:\nBased on the request, determine what information about the entity should be updated.\nOnly update fields that the user has explicitly requested to change.\n\nRespond using TOON like this:\nthought: Your reasoning for the entity update\nentity_id: The entity ID to update\nupdates[1]{name,value}:\n  field_name,new_value\n\nIMPORTANT: Your response must ONLY contain the TOON document above.";
export declare const updateRoleTemplate = "task: Extract the requested role change.\n\ncontext:\n{{providers}}\n\ncurrent_roles:\n{{roles}}\n\nrecent_messages:\n{{recentMessages}}\n\ncurrent_message:\n{{message}}\n\ninstructions[6]:\n- identify the single entity whose role should be updated\n- return entity_id only when the UUID is explicit in context\n- normalize new_role to one of OWNER, ADMIN, MEMBER, GUEST, or NONE\n- if the user is removing elevated access without naming a new role, use NONE\n- do not invent entity ids or roles\n- include a short thought describing the change\n\noutput:\nTOON only. Return exactly one TOON document. No prose before or after it. No <think>.\n\nExample:\nthought: Sarah should become an admin.\nentity_id: 00000000-0000-0000-0000-000000000000\nnew_role: ADMIN";
export declare const UPDATE_ROLE_TEMPLATE = "task: Extract the requested role change.\n\ncontext:\n{{providers}}\n\ncurrent_roles:\n{{roles}}\n\nrecent_messages:\n{{recentMessages}}\n\ncurrent_message:\n{{message}}\n\ninstructions[6]:\n- identify the single entity whose role should be updated\n- return entity_id only when the UUID is explicit in context\n- normalize new_role to one of OWNER, ADMIN, MEMBER, GUEST, or NONE\n- if the user is removing elevated access without naming a new role, use NONE\n- do not invent entity ids or roles\n- include a short thought describing the change\n\noutput:\nTOON only. Return exactly one TOON document. No prose before or after it. No <think>.\n\nExample:\nthought: Sarah should become an admin.\nentity_id: 00000000-0000-0000-0000-000000000000\nnew_role: ADMIN";
export declare const updateSettingsTemplate = "# Task: Update settings based on the request.\n\n{{providers}}\n\n# Current Settings:\n{{settings}}\n\n# Instructions:\nBased on the request, determine which settings to update.\nOnly update settings that the user has explicitly requested.\n\nRespond using TOON like this:\nthought: Your reasoning for the settings changes\nupdates[1]{key,value}:\n  setting_key,new_value\n\nIMPORTANT: Your response must ONLY contain the TOON document above.";
export declare const UPDATE_SETTINGS_TEMPLATE = "# Task: Update settings based on the request.\n\n{{providers}}\n\n# Current Settings:\n{{settings}}\n\n# Instructions:\nBased on the request, determine which settings to update.\nOnly update settings that the user has explicitly requested.\n\nRespond using TOON like this:\nthought: Your reasoning for the settings changes\nupdates[1]{key,value}:\n  setting_key,new_value\n\nIMPORTANT: Your response must ONLY contain the TOON document above.";
export declare const updateSummarizationTemplate = "# Task: Update and Condense Conversation Summary\n\nYou are updating an existing conversation summary with new messages, while keeping the total summary concise.\n\n# Existing Summary\n{{existingSummary}}\n\n# Existing Topics\n{{existingTopics}}\n\n# New Messages Since Last Summary\n{{newMessages}}\n\n# Instructions\nUpdate the summary by:\n1. Merging the existing summary with insights from the new messages\n2. Removing redundant or less important details to stay under the token limit\n3. Keeping the most important context and decisions\n4. Adding new topics if they emerge\n5. **CRITICAL**: Keep the ENTIRE updated summary under 2500 tokens\n\nThe goal is a rolling summary that captures the essence of the conversation without growing indefinitely.\n\nRespond in TOON:\ntext: Your updated and condensed summary here\ntopics[0]: topic1\ntopics[1]: topic2\ntopics[2]: topic3\nkeyPoints[0]: First key point\nkeyPoints[1]: Second key point";
export declare const UPDATE_SUMMARIZATION_TEMPLATE = "# Task: Update and Condense Conversation Summary\n\nYou are updating an existing conversation summary with new messages, while keeping the total summary concise.\n\n# Existing Summary\n{{existingSummary}}\n\n# Existing Topics\n{{existingTopics}}\n\n# New Messages Since Last Summary\n{{newMessages}}\n\n# Instructions\nUpdate the summary by:\n1. Merging the existing summary with insights from the new messages\n2. Removing redundant or less important details to stay under the token limit\n3. Keeping the most important context and decisions\n4. Adding new topics if they emerge\n5. **CRITICAL**: Keep the ENTIRE updated summary under 2500 tokens\n\nThe goal is a rolling summary that captures the essence of the conversation without growing indefinitely.\n\nRespond in TOON:\ntext: Your updated and condensed summary here\ntopics[0]: topic1\ntopics[1]: topic2\ntopics[2]: topic3\nkeyPoints[0]: First key point\nkeyPoints[1]: Second key point";
export declare const booleanFooter = "Respond with only a YES or a NO.";
export declare const BOOLEAN_FOOTER = "Respond with only a YES or a NO.";
//# sourceMappingURL=prompts.d.ts.map