You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compile and run upstream OpenCode directly from its TypeScript/JavaScript source graph with Perry:
entry: packages/opencode/src/index.ts
reference revision from the current corpus: fc80874f45a595ff6874a4d36b1090f6a64424d2
no pre-bundled optimized OpenCode artifact
no feature-removal/minimal-profile patch
no V8 or runtime JavaScript fallback
preserve the full CLI, TUI, providers, Code Mode, database, watcher, image, shell, LSP/formatter, plugin, mDNS, and web UI paths
This supersedes the narrower milestone tracked by #6566. That issue proved selected Bun/Node surfaces against an earlier target; this tracker requires the complete current upstream source graph.
literal and statically discoverable dynamic-import correctness
Solid/JSX and the OpenTUI wrapper compiled from source
Acceptance
A clean checkout of the pinned OpenCode revision installs normally.
Perry compiles the complete source graph from packages/opencode/src/index.ts without a feature-removal patch.
The output contains no runtime JavaScript engine and does not route reachable JS modules to one.
Headless commands, server mode, the full TUI, persistence, providers, Code Mode, shell/PTY, watcher, image/tree-sitter paths, plugins, mDNS, and web UI receive smoke coverage.
CI retains a pinned full-source OpenCode corpus fixture and reports compile time, output size, and smoke-test status.
Goal
Compile and run upstream OpenCode directly from its TypeScript/JavaScript source graph with Perry:
packages/opencode/src/index.tsfc80874f45a595ff6874a4d36b1090f6a64424d2This supersedes the narrower milestone tracked by #6566. That issue proved selected Bun/Node surfaces against an earlier target; this tracker requires the complete current upstream source graph.
Native/runtime workstreams
node:fficompatibility, for OpenTUI/Yoga and FFF.wasmassetsbun:sqlitefacade over Perry's native SQLite enginetypescript.transpileModulecompatibility for Code Mode@parcel/watchercompatibility facadeCompiler/linker workstreams
Native adapters must not conceal compiler bugs in pure JS/TS dependencies.
Acceptance
packages/opencode/src/index.tswithout a feature-removal patch.