Repository navigation
Use Mintlify Visibility component for agent reminders - #1546
Conversation
…mponent Co-Authored-By: Konstantin Wohlwend <[email protected]>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (6)
📝 WalkthroughWalkthroughThe PR refactors agent reminder rendering across documentation and generator code. The hexclave-agent-reminders snippet changes from exporting a React component to exporting a string constant, and the generator and four MDX guide files are updated to import the text and render it within agent-scoped Visibility wrappers. ChangesAgent reminders export refactoring
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning Tools execution failed with the following error: Failed to run tools: 13 INTERNAL: Received RST_STREAM with code 2 (Internal server error) Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Greptile SummaryThis PR replaces the custom
Confidence Score: 5/5Safe to merge — this is a straightforward docs-layer refactor with no logic changes and no remaining references to the old export. All four docs pages and the generator script are updated consistently, the old HexclaveAgentReminders export name is gone from every file, and the reminder text content itself is byte-for-byte identical to before. The only behavioral change is that the text is now gated behind Mintlify's Visibility component instead of being rendered in a pre tag, which matches the stated intent. No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["generate-setup-prompt-docs.ts"] -->|"writes"| B["hexclave-agent-reminders.jsx\nexports hexclaveAgentRemindersText"]
A -->|"writes"| C["setup.mdx"]
B -->|"imported by"| C
B -->|"imported by"| D["ai-integration.mdx"]
B -->|"imported by"| E["cli.mdx"]
B -->|"imported by"| F["index.mdx"]
C --> G["Visibility for agents\n{hexclaveAgentRemindersText}"]
D --> G
E --> G
F --> G
G -->|"hidden from"| H["Human web UI"]
G -->|"included in"| I["Markdown output for AI agents"]
Reviews (1): Last reviewed commit: "Use Visibility component for agent remin..." | Re-trigger Greptile |
Summary
Replaces the custom
<HexclaveAgentReminders />JSX component with Mintlify's built-in<Visibility for="agents">so reminders are hidden from humans on the web UI but included in the Markdown output for agents.The snippet now exports a text constant (
hexclaveAgentRemindersText) instead of a React component, used inside page-level<Visibility>tags in each docs page.Link to Devin session: https://app.devin.ai/sessions/1c80447190b84f1a952849515ace1759
Requested by: @N2D4
Summary by cubic
Use Mintlify
Visibilityto gate agent reminders, replacing the custom<HexclaveAgentReminders />.The snippet now exports
hexclaveAgentRemindersTextused inside<Visibility for="agents">on each page; docs pages and the setup prompt generator were updated.Written for commit b4dcb42. Summary will update on new commits.
Summary by CodeRabbit
Release Notes
Documentation
Refactor