Fix #10: Add --json output to klaatcode whoami - #12
Conversation
|
@nandanadileep please attach the ss of the output. Thanks |
|
🤖 KlaatAI Review Bot (powered by Klaatu, advisory only — a maintainer makes the real call) Issue match Test coverage Correctness concerns Verdict This is an automated review to help triage faster, not a gate. Nothing here blocks merging. |
- Add --json option to `klaatai whoami` in src/main.tsx and pass it through to runWhoami - Emit JSON error state on console.error (consistent with non-JSON catch path that also uses stderr) - Restore trailing newline at end of src/auth/login.ts - Add src/auth/login.test.ts covering all three states (unauthenticated / authenticated+online / authenticated+unreachable) for both json:false and json:true
|
Addressed the review bot's concerns + attaching the requested output (cc @aakashrajput). Changes in this push (
|
|
🤖 KlaatAI Review Bot (powered by Klaatu, advisory only — a maintainer makes the real call) Issue match Test coverage Correctness concerns Verdict This is an automated review to help triage faster, not a gate. Nothing here blocks merging. |
|
@nandanadileep Really appreciate you taking the time to improve KlaatCode. Your contribution helps make the project better for everyone. If you haven't already, we'd love it if you could ⭐ star the repository and follow @KlaatAI on GitHub to stay updated with new features and releases. Feel free to keep using KlaatAI for your projects, and don't hesitate to open more issues, suggest ideas, or submit future PRs—we're always happy to have contributors like you in the community. Looking forward to seeing your next contribution. Happy coding! 🚀 |
Fixes #10
#10