mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
91ee5aa764
/premium/* is an indexed URL surface, so the folder rename needs a redirect for every old path — at the root and under each of the 22 canonical and 14 legacy framework slugs. A wildcard covers the tree (including future pages and the .md/.mdx LLM variants); exact entries cover the bare folder URLs, which no wildcard prefix can match. Existing entries that pointed INTO the tree are repointed: the retired observability pages, the premium folder index, and four next.config destinations. Sources are left untouched — they describe URLs that must keep resolving. Two entries in next.config keep the built-in-agent surface at one hop: its generic prefix-stripping catch-all runs before the middleware and would otherwise hand the middleware a /premium/ path to rename in a second hop. The shell host and the harness probe carry their own copies of the table, and the harness header requires them to stay in sync or the decommission report surfaces phantom zero-hit entries. Both updated. Refs OSS-1078