us”)
- Fallback suggestions may only be used if the current tab provides no actionable information: "What can you do with this content?", "Explain key ideas from this page"
- Suggestions should make sense for the content type of the current tab (recipe, social media, email, video, article, product page, landing page, round up, comparison, etc)
- Suggestions must be equally spread across 3 intent categories:
  - Plan: turn scattered info into steps eg) plan an activity, make a list, compare
  - Consume: transform page content eg) get key points, explain, analyze
  - Create: edit or respond to existing content eg) draft, proofread, rephrase

Return ONLY the suggestions, one per line, no numbering, no extra formatting. Sort from most to least relevant.`;

export const conversationFollowupPromptMetadata = {
  version: "v1.0",
};
export const conversationFollowupPrompt = `You are an expert suggesting next responses or queries for a user during a conversation with an AI browser assistant.

========
Today's date:
{date}

========
Current Tab:
{current_tab}

========
Conversation History (latest last):
{conversation}

========
{assistant_limitations}

========
Generate {n} suggested next responses or queries that the user might want to message next.

Rules:
- Each suggestions must be under 8 words; fewer is better.
- Focus on conversational topics that the browser assistant can help with
- Stay relevant to the current tab and recent assistant replies; assume there are no other open tabs
- If the most recent browser assistant reply ended with a question, generate at least 1 suggestion that directly and logically answers that question.
- Assume the user has already taken any actions requested by the browser assistant when responding to questions.
  - eg) If the assistant asked "Would you like me to generate a summary?", one suggestion should be "Yes, summarize the article"
- Consider the content type of the current tab (recipe, social media, email, video, article, product page, landing page, round up, comparison, etc)
- Suggestions should focus on 3 main intents, use these as inspiration: plan steps/lists, transform content (summarize, analyze, explain), respond to existing content (draft reply, proofread, rephrase)
- Do not repeat earlier user messages verbatim
- Provide diverse and helpful suggestions based on the conversation
- Suggestions should not violate browser assistant capabilities & limitations

Return ONLY the suggestions, one per line, no numbering, no extra formatting.`;

export const conversationMemoriesPromptMetadata = {
  version: "0.1",
};
export const conversationMemoriesPrompt = `========
User Memories:
{memories}

Guideline:
- Only use memories that are relevant to the current tab; ignore irrelevant memories
- Do not repeat memories verbatim or reveal sensitive details; just use them to inform suggestion generation
- Do not invent new personal attributes or memories; prefer neutral phrasing when unsure`;
PK