Skip to content

Conversation

@sweetmantech
Copy link
Collaborator

Summary

  • Delete app/api/artist/create/route.ts (REST endpoint migrated to recoup-api POST /api/artist)
  • Delete lib/tools/createArtist.tsx (MCP tool now provided by recoup-api MCP server)
  • Delete lib/supabase/copyRoom.ts (only used by deleted createArtist.tsx)
  • Update lib/tools/getMcpTools.ts to remove create_new_artist registration
  • Create types/CreateArtistResult.ts shared type for UI components
  • Update UI component imports to use new type location

Test plan

  • All 9 unit tests pass in Recoup-Chat (pnpm test)
  • Build succeeds (pnpm build)
  • Verify create_new_artist MCP tool works via recoup-api in staging
  • Verify CreateArtistToolResult UI component renders correctly

Notes

  • lib/supabase/createArtistInDb.ts retained - still used by /api/workspace/create endpoint
  • This completes MYC-3928 cleanup after MYC-3923 (MCP migration) and MYC-3927 (endpoint refactor)

🤖 Generated with Claude Code

- Delete app/api/artist/create/route.ts (migrated to recoup-api POST /api/artist)
- Delete lib/tools/createArtist.tsx (MCP tool now provided by recoup-api)
- Delete lib/supabase/copyRoom.ts (only used by deleted createArtist.tsx)
- Update lib/tools/getMcpTools.ts to remove create_new_artist registration
- Create types/CreateArtistResult.ts for shared type definition
- Update UI components to import from new type location

This completes MYC-3928 cleanup after MYC-3923 (MCP migration) and MYC-3927 (endpoint refactor).

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@vercel
Copy link

vercel bot commented Jan 15, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
recoup-chat Ready Ready Preview Jan 15, 2026 2:23pm

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 15, 2026

Warning

Rate limit exceeded

@sweetmantech has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 17 minutes and 40 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between 55cc45a and b48a6b9.

⛔ Files ignored due to path filters (1)
  • types/CreateArtistResult.ts is excluded by none and included by none
📒 Files selected for processing (7)
  • app/api/artist/create/route.ts
  • components/VercelChat/ToolComponents.tsx
  • components/VercelChat/tools/CreateArtistToolResult.tsx
  • hooks/useCreateArtistTool.ts
  • lib/supabase/copyRoom.ts
  • lib/tools/createArtist.tsx
  • lib/tools/getMcpTools.ts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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