mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-29 11:42:17 +00:00
765 B
765 B
@opencode/codemode
interpreter-support.mdis a checklist, not a changelog: check off newly added support and add unchecked items for significant gaps. Leave it alone for fixes and refactors.- Program values are
Value(src/runtime/objects.ts). Host values areunknownand enter only throughfromHostandfromJson; do not widen program-facing signatures tounknown. - Each built-in object kind is one
Objsubclass (WrapperorOpaque) that overrides the hooks it needs. Ask the object instead of addinginstanceofladders. - The core VM, compiler, prelude, snapshot, and stdlib modules must not import
effect; Effect lives only in the host boundary and driver (src/runtime/,src/openapi/, and the top-level tool/runtime entrypoints).