refactor: simplify upload API and remove user IDs from templates #78
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Simplified the code system upload API by consolidating request types and removing unnecessary fields. Removed user_id fields from various template types across agent, fhir provider, summary, tools, and workflow resources for cleaner data structures.
Key changes:
🌿 Generated with Fern
Note
Medium Risk
This is a breaking change to public SDK types (request/response contracts and removed
user_idfields), so downstream consumers may fail to compile or have runtime expectations mismatched despite minimal internal logic changes.Overview
Breaking SDK update to v6.0.0 that simplifies the Construe code system upload surface and cleans up several response/template shapes.
The Construe upload API is refactored to use a single
construe.UploadRequest(moved underclient/requests) instead of format-specific request types, and the optionalasyncflag is removed while docs now state uploads return immediately and processing happens asynchronously via polling. The upload response typeConstrueUploadCodeSystemResponsenow includesnameandversion.Across agent, FHIR provider, summary, tools MCP server/tool, and workflows types,
user_idfields are removed from templates/responses, and wire tests are updated accordingly to match the new shapes.Written by Cursor Bugbot for commit dbb05dd. This will update automatically on new commits. Configure here.