Skip to content

chore: extract Drive and catalog - #42612

Merged
kitlangton merged 2 commits into
v2from
drive-extraction
Aug 14, 2026
Merged

chore: extract Drive and catalog#42612
kitlangton merged 2 commits into
v2from
drive-extraction

Conversation

@kitlangton

Copy link
Copy Markdown
Contributor

What

Remove the in-repository packages/drive and packages/lab/catalog copies now that Drive and its catalog are authoritative in anomalyco/opencode-drive.

The standalone repository has the restored package/catalog ownership, current V2 --dev support, Copy image behavior, and Drive-owned screenshot rendering in PRs #57, #58, #59, and #60.

This removes roughly 148,000 lines and the catalog-only Canvas, font, Workerd, WTerm, and TypeScript 7 dependency graph from OpenCode.

How

  • Deletes packages/drive, packages/lab/catalog, the catalog deployment workflow, and the obsolete monorepo Drive skill/scripts.
  • Removes Drive/catalog workspace, Turbo, test matrix, and release exclusions.
  • Removes OpenCode's cross-repository Drive compatibility smoke test. Drive now owns that compatibility gate.
  • Retains packages/simulation and its production artifact checks as OpenCode's thin external RPC bridge.
  • Regenerates bun.lock without the extracted workspace packages and their exclusive dependencies.

Scope

  • Does not remove or invert the OpenCode-owned simulation RPC bridge.
  • Does not add a cross-repository Drive dependency to OpenCode CI.
  • Release target selection (latest, next, exact versions/tags, and --dev) remains standalone Drive work.

Testing

  • bun install --frozen-lockfile
  • bun typecheck in packages/cli
  • bun typecheck in packages/simulation
  • bun run lint -- packages/cli/script/service-smoke.ts packages/cli/script/verify-artifact.ts script/publish.ts
  • bun run script/build.ts --single --skip-install in packages/cli
  • bun run script/service-smoke.ts in packages/cli
  • Pre-push bun turbo typecheck --concurrency=3: 33 tasks passed across the remaining 40 packages
  • Standalone Drive PR feat: ayu theme #60: release validation and 269 Drive tests passed before merge

Flow

flowchart LR
  D[opencode-drive repository] -->|protocol client| P[OpenCode protocol]
  D -->|simulation RPC| S[OpenCode simulation bridge]
  S --> M[OpenCode model/tool/TUI state]
  D --> C[Drive catalog and captures]
  O[OpenCode repository] --> P
  O --> S
Loading

@kitlangton

Copy link
Copy Markdown
Contributor Author

Linux unit is blocked by the existing @opencode-ai/workerd-spike / ioredis import failure. The v2 run at 923cb28a fails with the identical redis-errors charCodeAt stack: https://github.com/anomalyco/opencode/actions/runs/31820374348/job/94832268109

Extraction-specific coverage is green: typecheck, Linux/Windows e2e, Windows unit, compiled service artifact smoke, and the newly scheduled 39-test @opencode-ai/simulation bridge suite. The Workerd failure is unrelated to this diff.

@kitlangton
kitlangton merged commit 737b6eb into v2 Aug 14, 2026
7 of 8 checks passed
@kitlangton
kitlangton deleted the drive-extraction branch August 14, 2026 17:05
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