Skip to content

Add LLM metadata endpoints#1499

Open
N2D4 wants to merge 12 commits into
devfrom
devin/1779833967-llms-agent-reminders
Open

Add LLM metadata endpoints#1499
N2D4 wants to merge 12 commits into
devfrom
devin/1779833967-llms-agent-reminders

Conversation

@N2D4
Copy link
Copy Markdown
Contributor

@N2D4 N2D4 commented May 27, 2026

Adds LLM-readable metadata surfaces across public apps and Mintlify docs.

  • Adds shared llms.txt / llms-full.txt helpers and endpoints for dashboard, backend, MCP, skills, and hosted components
  • Adds Mintlify llms-full.txt and agents-only reminder snippets on key docs pages
  • Updates CLI help and MCP instructions with Hexclave agent guidance
  • Keeps generated prompt/docs artifacts wired through generate-setup-prompt-docs, including fresh docs.json-based llms-full.txt generation

Link to Devin session: https://app.devin.ai/sessions/cd5eb97972444dbca08e22850bd4bdaf
Requested by: @N2D4

@devin-ai-integration
Copy link
Copy Markdown
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR that start with 'DevinAI' or '@devin'.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 27, 2026

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Adds shared LLMS prompt templates and a response factory, implements llms.txt / llms-full.txt GET+HEAD routes across apps, updates the docs generator to emit embedded docs JSON and llms outputs, adds an agent reminders component integrated into multiple MDX pages, and wires reminders into the MCP handler and configs.

Changes

LLMs.txt Support and AI Documentation

Layer / File(s) Summary
Shared LLMS Module
packages/stack-shared/src/ai/llms/llms.ts
Exports llmsTxt and llmsFullTxt, immutable llmsTextHeaders, and createLlmsTextResponse(body) which validates body and returns a Response with headers.
LLMs.txt Routes Across All Apps
apps/backend/src/app/llms*.txt/route.ts, apps/dashboard/src/app/llms*.txt/route.ts, apps/hosted-components/src/server/routes/llms*.txt.ts, apps/mcp/src/app/llms*.txt/route.ts, apps/skills/src/app/llms*.txt/route.ts
Adds GET and HEAD handlers that return text responses produced from llmsTxt or llmsFullTxt using the shared response factory or smart route helper.
Documentation Generator & Embedded Docs JSON
scripts/generate-setup-prompt-docs.ts, packages/stack-shared/src/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.ts, packages/stack-shared/src/ai/unified-prompts/skill-site-prompt-parts/docs-index.ts
Generator reads docs-mintlify/docs.json, emits a typed docs-json.generated.ts, updates generated MDX templates to import reminders, and writes generated snippets and llms-full outputs.
Generated LLMS Full Documentation
docs-mintlify/llms-full.txt
Large generated skill document including headers, docs sidebar, SDK/Convex/Supabase/CLI setup guides, AI Agent configuration, and agent rules.
Agent Reminders Component
docs-mintlify/snippets/hexclave-agent-reminders.jsx
Exports hexclaveReminders string and HexclaveAgentReminders React component that renders reminders within a <pre> element.
Documentation Page Integration
docs-mintlify/guides/getting-started/ai-integration.mdx, docs-mintlify/guides/getting-started/setup.mdx, docs-mintlify/guides/going-further/cli.mdx, docs-mintlify/index.mdx
MDX pages updated to import and render the HexclaveAgentReminders snippet component.
MCP, CLI, and Config Updates
apps/mcp/src/mcp-handler.ts, packages/stack-cli/src/index.ts, apps/skills/package.json, apps/hosted-components/vite.config.ts, apps/backend/src/route-handlers/smart-request.tsx
MCP handler appends remindersPrompt to server instructions; CLI description expanded; skills app depends on @stackframe/stack-shared; Nitro Vite plugin scanDirs restricted to src/server; backend smart-request now accepts HEAD.

Sequence Diagram(s)

sequenceDiagram
  participant Client
  participant RouteHandler
  participant SharedLLMS
  participant ResponseFactory
  Client->>RouteHandler: GET /llms.txt or /llms-full.txt
  RouteHandler->>SharedLLMS: read llmsTxt / llmsFullTxt
  RouteHandler->>ResponseFactory: createLlmsTextResponse(body)
  ResponseFactory->>SharedLLMS: validate body, attach llmsTextHeaders
  ResponseFactory-->>Client: 200 text/plain response
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested reviewers

  • nams1570
  • mantrakp04

Poem

🐰 I nibble lines of text and code,
I stitch the prompts along the road,
Routes hum soft, docs sing clear and bright,
Reminders tucked in MDX at night,
Rabbit hops—LLMs take flight.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Add LLM metadata endpoints' clearly and specifically summarizes the main change: adding new endpoints that serve LLM-readable metadata files across multiple applications.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description check ✅ Passed PR description is complete and follows the template structure with clear title, summary, bullet points, and reference link.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch devin/1779833967-llms-agent-reminders

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
stack-auth-hosted-components Ready Ready Preview, Comment May 28, 2026 12:21am
stack-auth-internal-tool Ready Ready Preview, Comment May 28, 2026 12:21am
stack-auth-mcp Ready Ready Preview, Comment May 28, 2026 12:21am
stack-auth-skills Ready Ready Preview, Comment May 28, 2026 12:21am
stack-backend Ready Ready Preview, Comment May 28, 2026 12:21am
stack-dashboard Ready Ready Preview, Comment May 28, 2026 12:21am
stack-demo Ready Ready Preview, Comment May 28, 2026 12:21am
stack-docs Ready Ready Preview, Comment May 28, 2026 12:21am
stack-preview-backend Ready Ready Preview, Comment May 28, 2026 12:21am
stack-preview-dashboard Ready Ready Preview, Comment May 28, 2026 12:21am

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented May 27, 2026

Greptile Summary

This PR exposes /llms.txt and /llms-full.txt metadata endpoints across the backend, dashboard, MCP, skills, and hosted-components apps, and surfaces the same content in Mintlify docs (llms-full.txt, HexclaveAgentReminders snippets). Content is centralized in @stackframe/stack-shared and wired through the existing generate-setup-prompt-docs script.

  • New shared helpers (packages/stack-shared/src/ai/llms/llms.ts): exports llmsTxt, llmsFullTxt, and createLlmsTextResponse with uniform Cache-Control, CORS, and Content-Type headers; consumed identically by all app routes.
  • Per-app routes: Next.js apps (backend, dashboard, MCP, skills) export GET/HEAD; hosted-components uses a Nitro fetch handler, with scanDirs: ['server'] added to the Vite config so the routes are discovered.
  • Docs and guidance: llms-full.txt committed to docs-mintlify, HexclaveAgentReminders snippet injected into key getting-started pages, CLI description and MCP instructions updated to point agents to skill/docs URLs.

Confidence Score: 4/5

Purely additive change that exposes new read-only public endpoints; no existing behavior is modified and no sensitive data is involved.

The backend llms.txt/llms-full.txt routes bypass the createSmartRouteHandler wrapper that every other backend route uses, and the hosted-components Nitro routes respond to all HTTP methods rather than just GET and HEAD. Both are style/consistency gaps rather than functional failures for these static-content endpoints.

apps/backend/src/app/llms.txt/route.ts and apps/backend/src/app/llms-full.txt/route.ts (SmartRouteHandler pattern); apps/hosted-components/src/server/routes/llms.txt.ts and llms-full.txt.ts (method guard).

Important Files Changed

Filename Overview
packages/stack-shared/src/ai/llms/llms.ts New shared helpers: exports llmsTxt, llmsFullTxt, and createLlmsTextResponse with uniform cache/CORS headers; clean and straightforward.
apps/backend/src/app/llms.txt/route.ts New /llms.txt endpoint; uses plain Next.js GET/HEAD exports instead of the backend's required createSmartRouteHandler pattern.
apps/hosted-components/src/server/routes/llms.txt.ts New Nitro /llms.txt route; fetch() handler responds to all HTTP methods with 200, unlike the per-method Next.js exports in other apps.
apps/hosted-components/vite.config.ts Adds scanDirs: ['server'] to Nitro config so new server/ routes are picked up automatically; safe mechanical change.
apps/mcp/src/mcp-handler.ts Appends remindersPrompt to the MCP server instructions using a template literal; straightforward and low-risk.
scripts/generate-setup-prompt-docs.ts Extended to generate docs-json.generated.ts, hexclave-agent-reminders.jsx, and docs-mintlify/llms-full.txt; each writeFileSyncIfChanged call is clean and idempotent.
packages/stack-shared/src/ai/unified-prompts/skill-site-prompt-parts/docs-index.ts Switches docs JSON import from a direct path into docs-mintlify to the generated file, keeping the module self-contained.
apps/skills/package.json Adds @stackframe/stack-shared workspace dependency to support new llms.txt route imports; straightforward.

Sequence Diagram

sequenceDiagram
    participant Agent as LLM / AI Agent
    participant App as Any App<br/>(backend/dashboard/mcp/skills/hosted)
    participant Shared as stack-shared<br/>llms.ts
    participant Content as remindersPrompt /<br/>skillSitePrompt

    Agent->>App: GET /llms.txt
    App->>Shared: createLlmsTextResponse(llmsTxt)
    Shared->>Content: deindent remindersPrompt
    Content-->>Shared: prompt string
    Shared-->>App: Response (text/plain + cache/CORS headers)
    App-->>Agent: 200 OK

    Agent->>App: GET /llms-full.txt
    App->>Shared: createLlmsTextResponse(llmsFullTxt)
    Shared->>Content: deindent skillSitePrompt
    Content-->>Shared: full prompt string
    Shared-->>App: Response (text/plain + cache/CORS headers)
    App-->>Agent: 200 OK
Loading
Prompt To Fix All With AI
Fix the following 2 code review issues. Work through them one at a time, proposing concise fixes.

---

### Issue 1 of 2
apps/backend/src/app/llms.txt/route.ts:3-9
**Plain route handler instead of SmartRouteHandler**

The backend uses `createSmartRouteHandler` for all route handlers (see `apps/backend/src/app/api/latest/check-version/route.ts` and every route under `/api/`). Exporting bare `GET`/`HEAD` functions bypasses that wrapper, which means error handling, logging, and any middleware it provides won't apply to these endpoints. The same pattern is repeated in `apps/backend/src/app/llms-full.txt/route.ts`.

### Issue 2 of 2
apps/hosted-components/src/server/routes/llms.txt.ts:3-6
**Unguarded HTTP method handling in Nitro route**

The `fetch()` handler is called for every HTTP method (POST, DELETE, PATCH, etc.), not just GET and HEAD. Unlike the Next.js routes in the other apps, which only expose the methods they export, a Nitro `fetch` handler catches all traffic. A crawler or malformed request using POST/PUT will get `200 OK` with the full text body instead of `405 Method Not Allowed`. The same applies to `llms-full.txt.ts`.

Reviews (1): Last reviewed commit: "Simplify llms prompt wrapper" | Re-trigger Greptile

Comment thread apps/backend/src/app/llms.txt/route.ts Outdated
Comment on lines +3 to +9
export function GET() {
return createLlmsTextResponse(llmsTxt);
}

export function HEAD() {
return GET();
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Plain route handler instead of SmartRouteHandler

The backend uses createSmartRouteHandler for all route handlers (see apps/backend/src/app/api/latest/check-version/route.ts and every route under /api/). Exporting bare GET/HEAD functions bypasses that wrapper, which means error handling, logging, and any middleware it provides won't apply to these endpoints. The same pattern is repeated in apps/backend/src/app/llms-full.txt/route.ts.

Rule Used: Use SmartRouteHandler for all API route handlers i... (source)

Learned From
stack-auth/stack-auth#825
stack-auth/stack-auth#472

Prompt To Fix With AI
This is a comment left during a code review.
Path: apps/backend/src/app/llms.txt/route.ts
Line: 3-9

Comment:
**Plain route handler instead of SmartRouteHandler**

The backend uses `createSmartRouteHandler` for all route handlers (see `apps/backend/src/app/api/latest/check-version/route.ts` and every route under `/api/`). Exporting bare `GET`/`HEAD` functions bypasses that wrapper, which means error handling, logging, and any middleware it provides won't apply to these endpoints. The same pattern is repeated in `apps/backend/src/app/llms-full.txt/route.ts`.

**Rule Used:** Use SmartRouteHandler for all API route handlers i... ([source](https://app.greptile.com/hexclave/-/custom-context?memory=ab376f82-1d3d-4684-a503-9fb6824b49c2))

**Learned From**
[stack-auth/stack-auth#825](https://github.com/stack-auth/stack-auth/pull/825)
[stack-auth/stack-auth#472](https://github.com/stack-auth/stack-auth/pull/472)

How can I resolve this? If you propose a fix, please make it concise.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in eb5259843: the backend /llms.txt and /llms-full.txt routes now use createSmartRouteHandler.

Comment on lines +3 to +6
export default {
fetch() {
return createLlmsTextResponse(llmsTxt);
},
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Unguarded HTTP method handling in Nitro route

The fetch() handler is called for every HTTP method (POST, DELETE, PATCH, etc.), not just GET and HEAD. Unlike the Next.js routes in the other apps, which only expose the methods they export, a Nitro fetch handler catches all traffic. A crawler or malformed request using POST/PUT will get 200 OK with the full text body instead of 405 Method Not Allowed. The same applies to llms-full.txt.ts.

Prompt To Fix With AI
This is a comment left during a code review.
Path: apps/hosted-components/src/server/routes/llms.txt.ts
Line: 3-6

Comment:
**Unguarded HTTP method handling in Nitro route**

The `fetch()` handler is called for every HTTP method (POST, DELETE, PATCH, etc.), not just GET and HEAD. Unlike the Next.js routes in the other apps, which only expose the methods they export, a Nitro `fetch` handler catches all traffic. A crawler or malformed request using POST/PUT will get `200 OK` with the full text body instead of `405 Method Not Allowed`. The same applies to `llms-full.txt.ts`.

How can I resolve this? If you propose a fix, please make it concise.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in eb5259843: the hosted-components /llms.txt and /llms-full.txt routes now use assertMethod(event, "GET", true) so non-GET/HEAD methods return 405.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds LLM-readable metadata surfaces (/llms.txt and /llms-full.txt) across public apps plus Mintlify docs, sharing a single helper and generator-produced content.

Changes:

  • New shared llmsTxt/llmsFullTxt/createLlmsTextResponse helper in @stackframe/stack-shared, wired into /llms.txt + /llms-full.txt routes in backend, dashboard, mcp, skills, and hosted-components.
  • Mintlify gets a generated llms-full.txt, a HexclaveAgentReminders snippet rendered on key docs pages, and a generated docs-json.generated.ts that replaces direct imports of docs.json.
  • CLI description and MCP server instructions updated with Hexclave agent guidance.

Reviewed changes

Copilot reviewed 24 out of 24 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
packages/stack-shared/src/ai/llms/llms.ts New shared helper composing llmsTxt/llmsFullTxt and response factory
packages/stack-shared/src/ai/unified-prompts/skill-site-prompt-parts/docs-index.ts Switch docs index source from docs.json to generated TS
packages/stack-shared/src/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.ts Generated mirror of Mintlify docs.json
scripts/generate-setup-prompt-docs.ts Generates docs-json.generated.ts, agent-reminders snippet, and llms-full.txt
apps/{backend,dashboard,mcp,skills}/src/app/llms.txt/route.ts, llms-full.txt/route.ts Next route handlers serving shared LLM text
apps/hosted-components/src/server/routes/llms.txt.ts, llms-full.txt.ts Nitro server routes for the hosted-components app
apps/hosted-components/vite.config.ts Enables Nitro scanDirs: ['server'] to pick up new routes
apps/skills/package.json Adds @stackframe/stack-shared workspace dep used by new routes
apps/mcp/src/mcp-handler.ts Appends remindersPrompt to MCP server instructions
packages/stack-cli/src/index.ts CLI description points humans to docs and agents to skill site
docs-mintlify/snippets/hexclave-agent-reminders.jsx Generated agent-only reminders snippet
docs-mintlify/{index.mdx, guides/getting-started/ai-integration.mdx, guides/going-further/cli.mdx, guides/getting-started/setup.mdx} Mount HexclaveAgentReminders on key pages
docs-mintlify/llms-full.txt Generated full LLM text artifact

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +280 to +289
writeFileSyncIfChanged(
path.join(repoRoot, "packages/stack-shared/src/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.ts"),
deindent`
// This file is generated from docs-mintlify/docs.json.

const docsJson = ${JSON.stringify(JSON.parse(readFileSync(path.join(repoRoot, "docs-mintlify/docs.json"), "utf-8")), null, 2)} as const;

export default docsJson;
` + "\n",
);
Comment on lines +11 to +16
export const llmsFullTxt = deindent`
# Hexclave

${skillSitePrompt}
`;

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 4e19809. Configure here.

writeFileSyncIfChanged(
path.join(repoRoot, "docs-mintlify/llms-full.txt"),
llmsFullTxt + "\n",
);
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Script produces stale llms-full.txt after docs change

Medium Severity

llmsFullTxt is imported at module load time (line 7), which evaluates it from the existing docs-json.generated.ts. The script then writes an updated docs-json.generated.ts (line 280) from the live docs.json, but llmsFullTxt still holds the value computed from the old generated file. When llms-full.txt is written (line 499), it contains stale docs-index content. A second run of the script is needed to produce correct output.

Additional Locations (2)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 4e19809. Configure here.

'server',
],
},
}),
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitro scanDirs path unlikely to find route files

High Severity

scanDirs: ['server'] resolves relative to the Nitro/Vite root directory (apps/hosted-components/), pointing to a non-existent apps/hosted-components/server/ directory. The actual route files live at apps/hosted-components/src/server/routes/. The value likely needs to be 'src/server' for Nitro to discover the llms.txt and llms-full.txt routes.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 4e19809. Configure here.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
packages/stack-shared/src/ai/llms/llms.ts (1)

17-23: Verify the cache duration is intentional.

The Cache-Control header sets a 1-hour cache duration for LLM metadata. Confirm this aligns with expected update frequency for AI documentation.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@packages/stack-shared/src/ai/llms/llms.ts` around lines 17 - 23, The
Cache-Control value in the exported constant llmsTextHeaders currently uses
"public, max-age=3600, s-maxage=3600" (1 hour); confirm this is the intended
cache duration for LLM metadata and either adjust those values in
llmsTextHeaders to the correct seconds (e.g., shorter if metadata updates often
or longer if stable) or make the duration configurable (env var or config
constant) and reference that config when setting Cache-Control to ensure the
header aligns with expected update frequency.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@packages/stack-shared/src/ai/llms/llms.ts`:
- Around line 25-29: The createLlmsTextResponse function must validate its body
parameter and throw early on invalid input; update createLlmsTextResponse to
check that body is a non-empty string (e.g., typeof body === "string" and body
!== "" && body !== null && body !== undefined) and throw a clear TypeError if
the check fails, then proceed to return new Response(body, { headers:
llmsTextHeaders }); this ensures the Response constructor never receives
"undefined" or "null" stringified values.

---

Nitpick comments:
In `@packages/stack-shared/src/ai/llms/llms.ts`:
- Around line 17-23: The Cache-Control value in the exported constant
llmsTextHeaders currently uses "public, max-age=3600, s-maxage=3600" (1 hour);
confirm this is the intended cache duration for LLM metadata and either adjust
those values in llmsTextHeaders to the correct seconds (e.g., shorter if
metadata updates often or longer if stable) or make the duration configurable
(env var or config constant) and reference that config when setting
Cache-Control to ensure the header aligns with expected update frequency.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 63b50717-b16b-4d22-8313-f784d6f7cf3d

📥 Commits

Reviewing files that changed from the base of the PR and between c753ab2 and 4e19809.

📒 Files selected for processing (24)
  • apps/backend/src/app/llms-full.txt/route.ts
  • apps/backend/src/app/llms.txt/route.ts
  • apps/dashboard/src/app/llms-full.txt/route.ts
  • apps/dashboard/src/app/llms.txt/route.ts
  • apps/hosted-components/src/server/routes/llms-full.txt.ts
  • apps/hosted-components/src/server/routes/llms.txt.ts
  • apps/hosted-components/vite.config.ts
  • apps/mcp/src/app/llms-full.txt/route.ts
  • apps/mcp/src/app/llms.txt/route.ts
  • apps/mcp/src/mcp-handler.ts
  • apps/skills/package.json
  • apps/skills/src/app/llms-full.txt/route.ts
  • apps/skills/src/app/llms.txt/route.ts
  • docs-mintlify/guides/getting-started/ai-integration.mdx
  • docs-mintlify/guides/getting-started/setup.mdx
  • docs-mintlify/guides/going-further/cli.mdx
  • docs-mintlify/index.mdx
  • docs-mintlify/llms-full.txt
  • docs-mintlify/snippets/hexclave-agent-reminders.jsx
  • packages/stack-cli/src/index.ts
  • packages/stack-shared/src/ai/llms/llms.ts
  • packages/stack-shared/src/ai/unified-prompts/skill-site-prompt-parts/docs-index.ts
  • packages/stack-shared/src/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.ts
  • scripts/generate-setup-prompt-docs.ts

Comment thread packages/stack-shared/src/ai/llms/llms.ts
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4 issues found across 24 files

Reply with feedback, questions, or to request a fix.

Fix all with cubic | Re-trigger cubic

Comment thread apps/hosted-components/vite.config.ts Outdated
Comment thread docs-mintlify/llms-full.txt Outdated
Comment thread packages/stack-shared/src/ai/llms/llms.ts Outdated
Comment thread scripts/generate-setup-prompt-docs.ts Outdated
Copy link
Copy Markdown

@vercel vercel Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additional Suggestion:

Documentation and prompts refer to non-existent ask_stack_auth tool instead of the actual ask_hexclave tool name

Fix on Vercel

Comment thread docs-mintlify/snippets/hexclave-agent-reminders.jsx Outdated
Comment thread scripts/generate-setup-prompt-docs.ts Outdated
Comment thread packages/stack-shared/src/ai/llms/llms.ts Outdated
Comment thread apps/hosted-components/vite.config.ts Outdated
@devin-ai-integration
Copy link
Copy Markdown
Contributor

Addressed CodeRabbit’s HEAD parsing nit in 2e5960770: HEAD now follows the same no-body parsing path as GET. Targeted backend typecheck still reaches only the existing unrelated src/polyfills.tsx type error after this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants