feat: add localhost HTTP API server for external integrations#66
feat: add localhost HTTP API server for external integrations#66MASAKASUNO1 wants to merge 1 commit intoamicalhq:mainfrom
Conversation
- Add HttpApiManager to expose tRPC router over HTTP on localhost - Server runs on port 21417 (127.0.0.1 only for security) - Includes CORS headers for local development - Gracefully handles port conflicts - Integrates with ServiceManager lifecycle (start/stop) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
📝 WalkthroughWalkthroughA new Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
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. Comment |
|
@MASAKASUNO1 Can you please elaborate on how this integration is meant to be used, the problem you are solving for? |
Summary
HttpApiManagerto expose the existing tRPC router over HTTP on localhost21417(127.0.0.1 only for security)ServiceManagerlifecycle (automatic start/stop)Usage
Once the desktop app is running, you can access the tRPC API at:
Example (get transcriptions):
Test plan
🤖 Generated with Claude Code
Summary by CodeRabbit
Release Notes
✏️ Tip: You can customize this high-level summary in your review settings.