Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

fix: installed run typecheck fails inside SDK client layer

Open
#104 1 comment 0 reactions 0 assignees View on GitHub

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
Domain
api, cli

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from anomalyco/opencode-drive

All issues in anomalyco/opencode-drive

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.