Skip to content

deps: OpenCode SDK/plugin 1.19.0 and Pi SDK 1.2.0 as matched sets - #383

Merged
ualtinok merged 2 commits into
mainfrom
deps/host-sdks-opencode-1.19-pi-1.2
Oct 17, 2026
Merged

ualtinok merged 2 commits into
mainfrom
deps/host-sdks-opencode-1.19-pi-1.2

Conversation

@antauth-alfonso

@antauth-alfonso antauth-alfonso Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

Moves the host SDK families together, and supersedes Dependabot's separate bumps of @opencode-ai/plugin, @opencode-ai/sdk and @earendil-works/pi-coding-agent (each failed the typecheck with a second, nested copy).

  • OpenCode plugin and SDK 1.18.35 → 1.19.0 together. The plugin pins the SDK exactly, which is why one alone failed. Published .d.ts: plugin declarations unchanged; the SDK only changed a doc comment. Our peer range stays *; E2E and the packed smoke still run against the OpenCode 1.18.18 host.
  • Pi SDK family 1.1.0 → 1.2.0 together. pi-agent-core is added as a direct dev dependency at 1.2.0, because pi-coding-agent 1.2.0's ^1.2.0 would otherwise resolve 1.3.0, which pins pi-ai 1.3.0 and recreates the nested copy. No source change was needed: the type changes are re-exports and additions we don't use. Peer range >=0.86.1 <2 is unchanged.
  • Dependabot now groups @opencode-ai/* and @earendil-works/*, like the existing @opentui/* group, so each family arrives in one pull request.

Verified with Bun 1.3.14: workspace lock check, all typechecks and builds, Core, OpenCode and Pi suites, the real Pi host tool round-trip, and the packed smoke.


Summary by cubic

Updates the OpenCode and Pi host SDK test dependencies as matched sets, because each family can install a nested, type-mismatched copy when its packages are bumped individually.

  • OpenCode plugin and SDK move to 1.19.0 together; the plugin pins the SDK exactly, so one alone recreated the nested copy.
  • Pi packages (pi-coding-agent, pi-ai, pi-tui) move to 1.2.0, with pi-agent-core 1.2.0 added as a direct dev dependency so pi-coding-agent's ^1.2.0 doesn't resolve to 1.3.0 and pull in a second pi-ai.
  • Dependabot now groups @opencode-ai/* and @earendil-works/* so each family arrives in one pull request.
  • The 1.19.0 and 1.2.0 type changes are re-exports and additions we don't use, so no source changes; peer ranges and the OpenCode 1.18.18 E2E host are unchanged.

Written for commit eda7975. Summary will update on new commits.

View guided diff Turn on auto-fix

The plugin pins @opencode-ai/sdk exactly, so bumping either alone installs a
nested second SDK whose OpencodeClient type does not match ours. Both move
together; the root devDependency on the plugin and the E2E package's SDK
dependency now resolve to one hoisted 1.19.0 copy.

Published .d.ts diff 1.18.35 -> 1.19.0: the plugin's declarations are
unchanged; the SDK changes only the doc comment on the v2 Config
`autoupdate` field (updates are never installed automatically). Our only use
is `autoupdate: false` in the E2E runner, which still disables checks. No
code changes needed. The plugin peer range ("*") and the OpenCode 1.18.18
host pinned for the process E2E and packed smoke are unchanged.
…dates

Move @earendil-works/pi-coding-agent, pi-ai and pi-tui to 1.2.0 and add
pi-agent-core 1.2.0 as a direct dev dependency. pi-coding-agent 1.2.0 asks
for pi-agent-core ^1.2.0, which otherwise resolves to 1.3.0; that release
pins pi-ai 1.3.0 exactly and installs a nested pi-ai whose TranscriptContext
and Provider types differ from our top-level pi-ai. With the direct pin there
is a single pi-ai 1.2.0 in the main tree. The pi-coding-agent-1 alias (1.0.4)
keeps its own 1.1.0 dependency set for the older-host contract test.

Published .d.ts diff 1.1.0 -> 1.2.0: pi-ai moves model and compat types into
schema modules but re-exports the same names; pi-coding-agent splits
BeforeAgentStartEvent into a user/custom union and adds tool reach metadata;
pi-tui adds fake-cursor helpers. ProviderConfig.streamSimple already took an
optional options argument in 1.1.0, and our provider already reads
options?.sessionId. None of these affect our code, so no source changes; the
Pi peer range (>=0.86.1 <2) is unchanged.

Dependabot now groups @opencode-ai/* and @earendil-works/* so each family
arrives in one pull request, following the existing opentui group.
@socket-security

Copy link
Copy Markdown

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.

1 participant