Skip to content

Feat/proanimer - #23

Open
drowning-in-codes wants to merge 14 commits into
metowolf:masterfrom
drowning-in-codes:feat/proanimer
Open

drowning-in-codes wants to merge 14 commits into
metowolf:masterfrom
drowning-in-codes:feat/proanimer

Conversation

@drowning-in-codes

Copy link
Copy Markdown

No description provided.

Copilot AI lite review requested due to automatic review settings September 26, 2026 17:36

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

The Vercel entrypoints are incompatible with classic serverless functions, and prefix-boundary routing and test-count documentation also need correction.

Review effort: Lite
Findings: 2 High severity

Open (2)
What changed in this PR

Adds RESTful routing and shared Bun/Vercel deployment support while preserving legacy API endpoints.

Changes:

  • Adds shared routing, authentication, API handling, and Vercel entrypoints.
  • Adds caching, cookie behavior, rewrites, and tests.
  • Updates documentation, tooling, and migration plans.
File Summary
vercel.json Adds the /demo rewrite.
test/​router.test.js Tests route parsing.
test/​lyric.test.js Tests lyric formatting.
test/​auth.test.js Tests authentication.
test/​api.test.js Tests API contracts.
src/​utils/​cookie.js Handles serverless cookies.
src/​service/​auth.js Provides HMAC authentication.
src/​service/​api.js Refactors API resolution and caching.
src/​router.js Adds legacy and RESTful routing.
src/​index.js Uses the shared Bun handler.
src/​config.js Adds Vercel URL fallback configuration.
src/​app.js Provides shared request handling and CORS.
README.md Documents RESTful and Vercel usage.
package.json Adds the test script.
docs/​superpowers/​specs/​2026-09-27-vercel-restful-migration-design.md Adds the migration design.
docs/​superpowers/​plans/​2026-09-27-vercel-restful-migration.md Adds the implementation plan.
CLAUDE.md Updates architecture guidance.
api/​index.js Defines the Vercel root entrypoint.
api/​[...path].js Defines the Vercel catch-all entrypoint.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread api/[...path].js
Comment on lines +5 to +6
export const GET = app
export const OPTIONS = app
Comment thread api/index.js
Comment on lines +5 to +6
export const GET = app
export const OPTIONS = app
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