Migration logistic-sentry to Tinyfish SDK #205
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
simantak-dabhade
left a comment
There was a problem hiding this comment.
Clean migration. Fixed stale README project structure, added .env to gitignore, removed unused variable. Build passes.
Migrates Logistics Sentry from raw TinyFish HTTP calls to the official SDK across all three API routes. The app uses both the Search API (to discover official port and carrier URLs when they're not in the knowledge base) and the Agent API (to navigate those pages and extract structured risk signals).
Fixes the leaked .env.local — key has been rotated by @simantak-dabhade. .gitignore added so this can't happen again. env.example renamed to .env.example with the get-your-key URL comment. Package name corrected from inventory-risk-agent to logistics-sentry. README completed — the previous version ended mid-sentence at step 2 of setup.