fix: installed run typecheck fails inside SDK client layer
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 58/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- bun, typescript
Research direction
Start with src/driver/opencode.ts around line 77 and reproduce the installed global Bun CLI failure using the one-shot Effect program described in the issue. Compare dependency resolution with the source-checkout CLI, and consider the issue done when a fully provided program typechecks and launches the requested OpenCode revision without the HttpClient type error.
Written by the indexing model from the issue text.
Description
Drive 2.1.3, installed globally with Bun. Running a one-shot Effect program with opencode-drive run demo.ts fails during typechecking in Drive itself:
src/driver/opencode.ts(77,3): TS2719: Two different types with this name exist, but they are unrelated.
Type HttpClient is not assignable to type never.
The demo uses import { Effect } from "effect" and import { OpenCodeDriver } from "opencode-drive", then exports OpenCodeDriver.use(...). The failure occurs before launching the requested OpenCode revision (dd786c62af). Expected: a valid fully provided program should typecheck and launch. The global installation resolves Effect and the generated SDK client through distinct dependency paths; the error comes from the SDK service layer in driver/opencode.ts.
Trying the source-checkout CLI to keep dependency resolution within one installation.
- Dominant language
- TypeScript
- Stars
- 32
- Forks
- 4
- Avg merge
- 10m
- Merged PRs (30d)
- 13
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from anomalyco/opencode-drive
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
anomalyco/opencode-drive#102 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 50/100
anomalyco/opencode-drive#103 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 55/100
anomalyco/opencode-drive#97 ·
Maintainers usually reply within 1 day
-
documentation
Difficulty 3/5 1-2 days Newbie friendliness 68/100
anomalyco/opencode-drive#86 · 1 comment ·
Maintainers usually reply within 1 day
-
documentation
Difficulty 4/5 3-5 days Newbie friendliness 52/100
anomalyco/opencode-drive#85 ·
Maintainers usually reply within 1 day
All issues in anomalyco/opencode-drive
Similar issues
-
needs:triage
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
ai-discovered
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
jessepollak/home#1627 ·
Maintainers usually reply within 1 day
-
agent-canvas bug llm priority:low ready-for-dev
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
OpenHands/OpenHands#17806 · 3 comments ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
radius-project/ai-extensions#923 ·
Maintainers usually reply within 1 day