Skip to content

Commit 77c9758

Browse files
dannyneiraoz-agent
andauthored
changelog: add v0.2026.04.27.15.32 stable release (#12)
* updated licenses and telemetry docs * updated changelog based on the latest channel versions * fix: exclude open-source-licenses from llms-txt generation to fix stack overflow open-source-licenses.mdx is ~25k lines and causes a RangeError (Maximum call stack size exceeded) in hast-util-to-text when starlight-llms-txt tries to convert its large code blocks to markdown. Changes: - astro.config.mjs: add top-level exclude for the licenses page (covers /llms-full.txt via patch and /llms-small.txt natively), and enumerate support-and-community subdirs explicitly for the Support custom set (micromatch isMatch ORs patterns so negation doesn't work there) - patch-package: patch starlight-llms-txt@0.8.1 llms-full.txt.ts to pass starlightLllmsTxtContext.exclude to generateLlmsTxt (upstream bug — the route had no filtering at all) - package.json: add patch-package devDependency + postinstall script Co-Authored-By: Oz <oz-agent@warp.dev> --------- Co-authored-by: Oz <oz-agent@warp.dev>
1 parent dd39167 commit 77c9758

8 files changed

Lines changed: 25964 additions & 476 deletions

File tree

astro.config.mjs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,10 @@ export default defineConfig({
139139
// widely consumed by AI agents.
140140
starlightLlmsTxt({
141141
projectName: 'Warp',
142+
// Excludes open-source-licenses from llms-full.txt and llms-small.txt.
143+
// The file is ~25k lines and causes a stack overflow in hast-util-to-text.
144+
// llms-custom sets exclude it separately via explicit path enumeration below.
145+
exclude: ['support-and-community/community/open-source-licenses'],
142146
description:
143147
'Documentation for Warp, the agentic development environment, and Oz, Warp\'s programmable agent for running and coordinating agents at scale.',
144148
customSets: [
@@ -149,7 +153,9 @@ export default defineConfig({
149153
{ label: 'Getting Started', description: 'Installation, quickstart, and migration guides.', paths: ['getting-started/**'] },
150154
{ label: 'Knowledge and Collaboration', description: 'Warp Drive, teams, and the Admin Panel.', paths: ['knowledge-and-collaboration/**'] },
151155
{ label: 'Reference', description: 'CLI and API reference.', paths: ['reference/**'] },
152-
{ label: 'Support', description: 'Troubleshooting, billing, and privacy.', paths: ['support-and-community/**'] },
156+
// Excludes support-and-community/community/ — open-source-licenses.mdx is ~25k
157+
// lines and causes a stack overflow in hast-util-to-text during llms-txt generation.
158+
{ label: 'Support', description: 'Troubleshooting, billing, and privacy.', paths: ['support-and-community/index', 'support-and-community/plans-and-billing/**', 'support-and-community/privacy-and-security/**', 'support-and-community/troubleshooting-and-support/**'] },
153159
{ label: 'Guides (Warp University)', description: 'Task-oriented walkthroughs.', paths: ['university/**'] },
154160
],
155161
}),

0 commit comments

Comments
 (0)