Skip to content

refactor(effect): upgrade opencode to beta.46 context APIs#21977

Merged
kitlangton merged 2 commits intodevfrom
migrate/effect-beta-46-v2
Apr 11, 2026
Merged

refactor(effect): upgrade opencode to beta.46 context APIs#21977
kitlangton merged 2 commits intodevfrom
migrate/effect-beta-46-v2

Conversation

@kitlangton
Copy link
Copy Markdown
Contributor

Summary

  • upgrade effect and @effect/platform-node to 4.0.0-beta.46 and refresh @effect/language-service
  • migrate opencode services from ServiceMap to Context and update affected beta.46 APIs (Reference, fiber context access, contextWith, child-process unref, and sync constructor call sites)
  • rename the local ALS helper to LocalContext to avoid colliding with Effect's Context, and simplify a few schema wrappers while updating the migration spec

Verification

  • bun run typecheck
  • bun run test

@kitlangton kitlangton merged commit 9581bf0 into dev Apr 11, 2026
8 of 10 checks passed
@kitlangton kitlangton deleted the migrate/effect-beta-46-v2 branch April 11, 2026 03:06
mrsimpson pushed a commit to mrsimpson/opencode that referenced this pull request Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant