Skip to content

fix: safe Polar SDK import#1

Open
dylanworrall wants to merge 4 commits intomainfrom
fix/safe-polar-import
Open

fix: safe Polar SDK import#1
dylanworrall wants to merge 4 commits intomainfrom
fix/safe-polar-import

Conversation

@dylanworrall
Copy link
Owner

Summary

  • Wrap require("@polar-sh/sdk") in try-catch to prevent crash when SDK is missing

Test plan

  • Call Polar tools when SDK is not installed — should return error message not crash

🤖 Generated with Claude Code

gilfoyle and others added 4 commits March 7, 2026 12:58
Add soshi.manifest.json with client metadata, events, actions, and
router keywords for Soshi integration. Add thin MCP server that
re-exports Vercel AI SDK tools over stdio transport.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Prevents server crash when @polar-sh/sdk is not installed or corrupted.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

1 participant