Problem
The BuyCredits command is fully implemented in packages/entrypoints/src/commands/BuyCredits/ but is commented out in the command registry with a TODO:
// TODO: Uncomment when the Pricing Packages are ready
// buyCredit: {
// name: "buy-credits",
// definition: buyCreditsCommandDefinition,
// handler: createBuyCreditsCommandHandlerFactory({...})
// }
Dead implemented code increases confusion — contributors may not know if this is intentional, broken, or in-progress.
Fix
- Delete
packages/entrypoints/src/commands/BuyCredits/ directory and all files inside
- Remove the commented-out block and its import from
commands/index.ts
- When buy credits is actually ready to ship, it should be re-introduced in a new PR
Problem
The
BuyCreditscommand is fully implemented inpackages/entrypoints/src/commands/BuyCredits/but is commented out in the command registry with a TODO:Dead implemented code increases confusion — contributors may not know if this is intentional, broken, or in-progress.
Fix
packages/entrypoints/src/commands/BuyCredits/directory and all files insidecommands/index.ts