feat(mintlify): add Mintlify integration - #6457
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR SummaryMedium Risk Overview The new block exposes 18 operations in one dropdown: deployments (update, status, preview), automations, documentation agent jobs, AI-prose detection, docs search/page fetch, the docs assistant, and analytics exports (feedback, conversations, searches, views, visitors). A single API Key field covers admin (
Also adds Reviewed by Cursor Bugbot for commit 007b313. Configure here. |
Greptile SummaryThe PR adds a Mintlify integration covering deployment, agent, assistant, content-retrieval, and analytics APIs, together with block registration, generated metadata, tests, icons, and documentation.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| apps/sim/blocks/blocks/mintlify.ts | Defines the Mintlify block, operation selection, conditional fields, and operation-scoped parameter normalization. |
| apps/sim/blocks/blocks/mintlify.test.ts | Tests tool selection, operation scoping, aliases, numeric coercion, and empty-value handling; the prior import-alias issue is fixed. |
| apps/sim/tools/mintlify/utils.ts | Provides shared response parsing and narrowing helpers; the prior untyped-payload issue is fixed. |
| apps/sim/tools/mintlify/index.ts | Exports the complete Mintlify tool collection for registry integration. |
| apps/docs/content/docs/en/integrations/mintlify.mdx | Documents authentication, configuration, inputs, and outputs for the new integration. |
Sequence Diagram
sequenceDiagram
participant User as Workflow user
participant Block as Mintlify block
participant Tool as Selected Mintlify tool
participant API as Mintlify REST API
User->>Block: Configure operation and inputs
Block->>Block: Scope, alias, and normalize parameters
Block->>Tool: Execute selected tool
Tool->>API: Authenticated API request
API-->>Tool: Response payload
Tool-->>Block: Normalized tool output
Block-->>User: Workflow result
Reviews (2): Last reviewed commit: "refactor(mintlify): tighten payload typi..." | Re-trigger Greptile
Adds all 18 documented Mintlify REST API endpoints across deployment, automation, agent jobs, prose detection, docs search/assistant, and analytics export.
580e11a to
007b313
Compare
|
@cursor review |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 007b313. Configure here.
Summary
mint_for deployment/agent/analytics, assistantmint_dsc_for search/page content/assistant)tools.config.paramsscopes params per operation so a retained advanced-mode value can't leak into a different operation, with a test covering the merged executor seamType of Change
Testing
bun run check:audits(22/22),bun run type-check,bun run lint, andapps/sim/blocks/blocks/mintlify.test.ts(11 tests) all pass. Verified the tests go red when the operation-scoping logic is removed.Checklist