diff --git a/changelog_entry.yaml b/changelog_entry.yaml index 89996d811..ffa5821d1 100644 --- a/changelog_entry.yaml +++ b/changelog_entry.yaml @@ -14,6 +14,7 @@ - Publish the NJ Child Tax Credit increase calculator on /us/research with cover image and authorship - Add the NICs exemption for recently-inactive employees dashboard at /uk/nics-exemption-inactive-employees changed: + - Move the Claude plugin page to /:countryId/ai-agents (runtime-agnostic — the skills catalog serves Claude Code and Codex) with a permanent redirect from /:countryId/claude-plugin; refresh the hero eyebrow and add the Codex install path - Correct the Claude plugin page stats (they were frozen at 24 skills / 21 agents / 4 commands / 7 bundles) and read them from a checked-in pluginStats.json regenerated from policyengine-skills, so the page tracks the rebuilt catalog - Move the bill tracker to /us/bill-tracker (canonical URL); /us/state-legislative-tracker now permanently redirects there - Stop mirroring policy, household, and region writes to the deprecated API v2 alpha service; the app now uses the v1 API exclusively diff --git a/website/next.config.ts b/website/next.config.ts index bb38d560f..84f57e55e 100644 --- a/website/next.config.ts +++ b/website/next.config.ts @@ -48,6 +48,12 @@ const nextConfig: NextConfig = { destination: "/us", permanent: false, }, + // Claude-branded skills page → runtime-agnostic AI agents page + { + source: "/:countryId/claude-plugin", + destination: "/:countryId/ai-agents", + permanent: true, + }, // Legacy /blog → /research { source: "/:countryId/blog/:slug", diff --git a/website/src/__tests__/pages/static-pages.test.tsx b/website/src/__tests__/pages/static-pages.test.tsx index 2b97b5d48..8cbcf4c10 100644 --- a/website/src/__tests__/pages/static-pages.test.tsx +++ b/website/src/__tests__/pages/static-pages.test.tsx @@ -4,7 +4,7 @@ import DonatePage from "../../app/[countryId]/donate/page"; import PrivacyPage from "../../app/[countryId]/privacy/page"; import TermsPage from "../../app/[countryId]/terms/page"; import ResearchPage from "../../app/[countryId]/research/page"; -import ClaudePluginPage from "../../app/[countryId]/claude-plugin/page"; +import ClaudePluginPage from "../../app/[countryId]/ai-agents/page"; describe("static pages", () => { test("Donate page renders heading", async () => { diff --git a/website/src/app/[countryId]/claude-plugin/ClaudePluginClient.tsx b/website/src/app/[countryId]/ai-agents/ClaudePluginClient.tsx similarity index 99% rename from website/src/app/[countryId]/claude-plugin/ClaudePluginClient.tsx rename to website/src/app/[countryId]/ai-agents/ClaudePluginClient.tsx index 30dc4eccf..5e3e6dece 100644 --- a/website/src/app/[countryId]/claude-plugin/ClaudePluginClient.tsx +++ b/website/src/app/[countryId]/ai-agents/ClaudePluginClient.tsx @@ -467,7 +467,7 @@ export default function ClaudePluginClient({ marginBottom: 20, }} > - Claude Code Plugin + AI agent skills @@ -572,6 +572,12 @@ export default function ClaudePluginClient({ text="claude plugins add PolicyEngine/policyengine-claude" />
+ +