Dashboardopencode@loreai/opencode server bundle

@loreai/opencode server bundle

Category: architecture
Confidence: 1.00
ID: 01a0889b-6d26-7d06-9dc8-12583e059513
Project ID: c0425955-02bc-4c17-9af2-b114c00077e7
Cross-project: No
Recalled in other projects: 1
Source session: 16od9eLodujFsAeYb
Created: 2026-09-09 03:13:47
Updated: 2026-09-09 23:58:02

Cross-Project Recalls

ProjectHitsLast recalled
opencode-lore 6 13h ago

Content

Chose the legacy root export plus compiled @loreai/opencode/server, with source-backed types and a build-only server-core.ts shim, over externalizing @loreai/core or bundling its barrel. Externalization lets pnpm resolve an incompatible same-version registry copy; barrel bundling inflated the server from 31,960 bytes to 16.5 MB. Keep Gateway external and verify the extracted tarball with plain Node because in-process Vitest imports can hide package-boundary defects through workspace aliases.

Move to: