diff --git a/site/integrations/llms-markdown.ts b/site/integrations/llms-markdown.ts index 3258bc5aee..85142536c8 100644 --- a/site/integrations/llms-markdown.ts +++ b/site/integrations/llms-markdown.ts @@ -1107,6 +1107,10 @@ export function generateDocsIndex( content += `> The \`video.js\` package on npm is still Video.js 8. Video.js 10 ships as \`@videojs/${framework}\`; to move existing Video.js 8 code, read ${siteUrl}/docs/framework/${framework}/guides/migrate-from-video-js-8.md\n\n`; + const vidstackPackage = framework === 'react' ? '@vidstack/react' : 'vidstack'; + + content += `> Vidstack Player is in security-only maintenance. To move existing \`${vidstackPackage}\` code, read ${siteUrl}/docs/framework/${framework}/guides/migrate-from-vidstack.md\n\n`; + content += `> Print version-matched installation options without changing files: \`npx @videojs/cli agents init\`, then pass \`--framework ${framework}\` with the other choices. Installation guide index: ${siteUrl}/docs/guides/installation.md\n\n`; // Get sidebar filtered for this framework (production only) diff --git a/site/integrations/tests/llms-markdown.test.ts b/site/integrations/tests/llms-markdown.test.ts index 6a41372a76..b130f05f4e 100644 --- a/site/integrations/tests/llms-markdown.test.ts +++ b/site/integrations/tests/llms-markdown.test.ts @@ -460,6 +460,9 @@ describe('generateDocsIndex', () => { expect(index).toContain( '> The `video.js` package on npm is still Video.js 8. Video.js 10 ships as `@videojs/html`; to move existing Video.js 8 code, read https://videojs.org/docs/framework/html/guides/migrate-from-video-js-8.md\n' ); + expect(index).toContain( + '> Vidstack Player is in security-only maintenance. To move existing `vidstack` code, read https://videojs.org/docs/framework/html/guides/migrate-from-vidstack.md\n' + ); expect(index).toContain( '## Guides\n\n' + 'Installation, migration, concepts, playback guides, customization, and tooling for Video.js.\n\n' + diff --git a/site/src/components/AgentPrompt.astro b/site/src/components/AgentPrompt.astro index 7702ec8f6c..86de960b80 100644 --- a/site/src/components/AgentPrompt.astro +++ b/site/src/components/AgentPrompt.astro @@ -1,4 +1,5 @@ --- +import CollapsibleCode from '@/components/CollapsibleCode'; import CopyButton from '@/components/CopyButton'; import P from '@/components/typography/P.astro'; @@ -15,10 +16,14 @@ const { prompt } = Astro.props; class="mx-auto my-6 max-w-3xl overflow-hidden rounded-xl corner-squircle border border-line bg-surface shadow-xs" data-agent-prompt-card > -
{prompt}
+
+ +
{prompt}
+
+