Skip to content

Sync search types and fetch errors with platform API#32

Merged
Shedna merged 1 commit into
mainfrom
cursor/platform-sdk-sync-20260522
May 22, 2026
Merged

Sync search types and fetch errors with platform API#32
Shedna merged 1 commit into
mainfrom
cursor/platform-sdk-sync-20260522

Conversation

@Shedna
Copy link
Copy Markdown
Contributor

@Shedna Shedna commented May 22, 2026

  • Missing/outdated API contract: sourced-answer and structured-with-sources search response types did not match the platform DTOs, and FETCH_UNSUPPORTED_CONTENT_TYPE was not mapped in the SDK.
  • SDK sync: narrowed sourced-answer sources to Source[], aligned structured-with-sources sources with search result types, added the unsupported content type fetch error mapping while keeping the legacy file-url alias, and updated tests.
  • Validation: npm run build, npm run lint, npm test.

@Shedna Shedna force-pushed the cursor/platform-sdk-sync-20260522 branch from 109a149 to d320fd2 Compare May 22, 2026 12:38
@Shedna Shedna merged commit d320fd2 into main May 22, 2026
2 checks passed
@Shedna Shedna deleted the cursor/platform-sdk-sync-20260522 branch May 22, 2026 12:39
@Shedna
Copy link
Copy Markdown
Contributor Author

Shedna commented May 22, 2026

🎉 This PR is included in version 3.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

2 participants