Skip to content

v0.4.1

Choose a tag to compare

@Rahularya01 Rahularya01 released this 03 Sep 07:27
· 5 commits to main since this release
d04b1fd

What's Changed

  • Thinking Defaults: Default unspecified thinking effort to HIGH to match Antigravity CLI and OpenCode conventions.
  • Token Persistence: Atomically persist rotated OAuth access and refresh tokens to OpenCode's auth.json.
  • Packaging & Types: Add bundled TypeScript declaration files (plugin.d.ts, sdk.d.ts) and export maps in package.json.
  • Session & Envelope Fixes: Avoid deriving deterministic session IDs from prompt content when sessionId is omitted.
  • Emoji Support: Fix Unicode surrogate sanitization to preserve emoji and standard surrogate pairs.
  • Stream Cancellation & Error Handling: Support ReadableStream cancellation via abort signals and fail fast on 401 Unauthorized without retrying all candidate models.
  • Custom Base URL & Headers: Allow passing baseURL and custom headers down through the SDK and stream generators.