Skip to content

chore(deps): require OpenCode 1.0.69 or later - #25

Merged
marandaneto merged 1 commit into
mainfrom
chore/pin-opencode-1.0.69
Sep 2, 2026
Merged

chore(deps): require OpenCode 1.0.69 or later#25
marandaneto merged 1 commit into
mainfrom
chore/pin-opencode-1.0.69

Conversation

@marandaneto

Copy link
Copy Markdown
Member

Problem

The OpenCode peer and development dependencies currently allow any version. This means tests always use the latest release, while the peer range also accepts older releases that do not provide the UserMessage.agent field used by the plugin.

Changes

  • Require @opencode-ai/plugin 1.0.69 or later within the 1.x release line.
  • Pin the plugin and SDK development dependencies to 1.0.69, the first version where UserMessage.agent is available.
  • Add a minor changeset for the supported version range.

How did you test this code?

Automated checks run by the Pi coding agent:

  • pnpm typecheck
  • pnpm test (48 tests passed)
  • pnpm lint
  • pnpm build

The SDK type definitions for versions 1.0.68 and 1.0.69 were also compared to confirm that 1.0.69 is the first release with UserMessage.agent.

Checklist

  • Tests for new code (if applicable)
  • Accounted for backwards compatibility of any changes (no breaking changes!)
  • Added a changeset

🤖 Agent context

Autonomy: Human-driven (agent-assisted)

Authored with the Pi coding agent using Git, pnpm, npm package metadata, and autoreview. The agent session was not shared publicly. The minimum version was selected by checking adjacent published SDK type definitions rather than choosing an arbitrary 1.x release.

@marandaneto marandaneto self-assigned this Sep 2, 2026
@marandaneto
marandaneto marked this pull request as ready for review September 2, 2026 13:04
@marandaneto
marandaneto requested a review from a team as a code owner September 2, 2026 13:04
@marandaneto
marandaneto merged commit 892f87f into main Sep 2, 2026
11 checks passed
@marandaneto
marandaneto deleted the chore/pin-opencode-1.0.69 branch September 2, 2026 13:56
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