Skip to content

chore: release 0.3.5#45

Merged
shekohex merged 1 commit into
shekohex:mainfrom
zjm54321:chore/release-0.3.5
Jul 5, 2026
Merged

chore: release 0.3.5#45
shekohex merged 1 commit into
shekohex:mainfrom
zjm54321:chore/release-0.3.5

Conversation

@zjm54321

@zjm54321 zjm54321 commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Bump package version to 0.3.5 so the existing release workflow publishes current main.
  • Current main already contains the bun-pty 0.4.10 compatibility fixes after v0.3.4; npm latest is still v0.3.4.

Why

  • The published npm package can fail to load when installed as an opencode npm plugin spec such as opencode-pty@latest.
  • v0.3.4 allows newer bun-pty versions through its dependency range, but the published runtime still throws when bun-pty > 0.4.8: bun-pty version ... is too new for patching; remove the workaround.
  • As a result, opencode sees the plugin origin but the plugin module import fails before PTY commands/tools are registered.
  • Main has already removed that guard and moved to bun-pty ^0.4.10, so publishing a new version should make npm-spec installs pick up the fixed code.

Verification

  • bun ci
  • bun run build:plugin
  • bun run typecheck
  • bun -e "const m = await import('./dist/index.js'); console.log(JSON.stringify(Object.keys(m)), typeof m.PTYPlugin)"
  • bun test test/types.test.ts test/pty-tools.test.ts

Note: full bun run unittest was also attempted on Windows and failed due existing Windows/environment issues (rm not found and PTY spawn failed), unrelated to this version-only change.

Copilot AI review requested due to automatic review settings July 4, 2026 15:35

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the package metadata to trigger publishing a new npm release (v0.3.5) from the current main, aligning npm “latest” with the already-merged bun-pty compatibility fixes.

Changes:

  • Bump package.json version from 0.3.4 to 0.3.5.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@shekohex shekohex merged commit cd40a8e into shekohex:main Jul 5, 2026
6 of 7 checks passed
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.

3 participants