Repository navigation
feat(drive): upgrade Effect to 4.0.1 and refresh V2 dependencies - #122
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #104
Closes #115
Closes #116
Closes #117
Closes #121
Why
OpenCode V2 moved to Effect 4.0.1 and expanded its schema and UI surfaces (
Integration.ExternalMethod, Unicode ellipses…, grouped exploration rows for web tools, and updated question review tabs). Meanwhile,opencode-drive2.1.3 remained pinned toeffect@4.0.0-rc.112,@opencode/client@0.0.0-dev-19767, and Bun 1.4.0, andopencode-drive check/runonly mappeddist/*.d.tsunderpaths["effect/*"]— causing directory-index exports such aseffect/httpto bypass path mapping and fail withTS2719: Two different types with this name existin installed consumers.What Changes
@opencode/clienteffect@4.0.0-rc.112,@opencode/client@0.0.0-dev-19767,effect/unstable/*importseffect@4.0.1,@opencode/client@0.0.0-dev-20807, top-leveleffect/cli,effect/http,effect/process,effect/rpcimportstooling.ts)paths["effect/*"]mapped onlydist/*.d.tsand spawnedbin/tsgo.js, failing oneffect/httpand newer@typescript/native-previewpaths["effect/*"]maps bothdist/*.d.tsanddist/*/index.d.ts, and spawnslib/tsgo.jsapps/catalog)openNewSessionand tool scenarios waited for ASCII...(Ask anything...,Writing command...,Fetching from the web...,Searching web...),Reviewheading, and wrote legacy.opencode/tui.jsonAsk anything, ellipsis-agnostic markers, exploration group labels (1 fetch,1 search),Validation: Focused, and configures themes via V2tuiConfig@wterm/ghostty0.5.4)core.getCursor()object{ row, col, visible }to preserve theCapturedFramecontractexamples/simple.tswaited for a second titlellm.send;examples/serve.tsandsession-switching.tspassed V1filePathtoreadllm.sendand updatedreadtool inputs to V2pathScope
Updates root,
packages/drive, andapps/catalogdependencies (effect4.0.1,@opencode/client0.0.0-dev-20807, Bun 1.4.2,@typescript/native-preview7.0.0-dev.20260707.2, TypeScript 7.0.2, Vitest 5.0.3,@wterm/*0.5.4, Motion 14.1.0,@napi-rs/canvas1.0.11, oxlint 1.87.0, React 19.3.0, Wrangler 4.149.0) and adds the minor changeset for the upcoming release.@fontsource/noto-sans-mathremains pinned at5.2.8because5.2.9+ upstream dropped themathsubset required byfont-coverage.test.ts.Verification
bun run check: 0 lint warnings, 0 typecheck errors acrosspackages/driveandapps/catalog.bun run test: 277 Effect/unit tests, 62 CLI integration tests, and 40 catalog tests pass.opencode-drive checkandopencode-drive runsucceed both standalone and alongside a mismatched top-leveleffectinstall, andopencode.integration.list()decodesIntegration.ExternalMethod.current-v2,interaction-lifecycle,server-restart,quiescence, all 5compact-admissioncases,padding-gauntlet,plugin-registry) and catalog capture flows (read-file-lifecycle,shell-lifecycle,web-lifecycle,question-lifecycle) pass againstorigin/v2(multi-tool-interleavingsfails onorigin/v2with the expectedmetadata.hiddenserver bug and passes againstanomalyco/opencode#54090).