Skip to content

armgit / mimik

Public Imported from GitHub
0

🎬 A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots πŸ“–

docs: resync the ai module tree with what is actually there

davbiobb6a98e093f4
diff --git a/AGENTS.md b/AGENTS.md
index 7953a8f..e722210 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -25,9 +25,10 @@ src/
β”‚ β”œβ”€β”€ capture/ # Recording pipeline
β”‚ β”‚ β”œβ”€β”€ ai/ # AI description + title generation (Vercel AI SDK)
β”‚ β”‚ β”‚ β”œβ”€β”€ description.ts # getAIDescription (DOM context β†’ AI β†’ step text)
-β”‚ β”‚ β”‚ β”œβ”€β”€ title.ts # generateGuideTitle (steps β†’ AI β†’ guide name)
+β”‚ β”‚ β”‚ β”œβ”€β”€ meta.ts # generateGuideMeta (steps β†’ AI β†’ guide title + description)
β”‚ β”‚ β”‚ β”œβ”€β”€ models.ts # AI_PROVIDERS config (OpenAI/Anthropic model lists)
-β”‚ β”‚ β”‚ β”œβ”€β”€ prompts.ts # Prompt templates
+β”‚ β”‚ β”‚ β”œβ”€β”€ prompts.ts # Prompt templates + per-language instructions
+β”‚ β”‚ β”‚ β”œβ”€β”€ examples.ts # Prompt examples per AI description language
β”‚ β”‚ β”‚ └── provider.ts # createModel factory (OpenAI/Anthropic)
β”‚ β”‚ β”œβ”€β”€ dom/ # DOM extraction utilities
β”‚ β”‚ β”‚ β”œβ”€β”€ context.ts # DOMContext extraction + serialization