opencode/packages/codemode-rust/conformance
kommander e336bbafd1 feat(codemode): add schema tools, search, hooks, async host calls and extensions to the Rust port
Tools take validating or render-only JSON Schemas (the Rust form of Effect
Schemas and the reference's JsonSchema), render byte-identical TypeScript
signatures, and report InvalidToolInput and InvalidToolOutput. Namespaces,
freeform tools, the catalog, toolExpression, searchSignature and the BM25
search built-in follow tool-runtime.ts; conformance/catalog.ts regenerates
the expectations from the reference.

Tools and extension globals may return futures. execute_async runs on any
executor; execute drives it with a small built-in block_on, and a shared
timer thread enforces timeouts while host work is pending. Dropping a run
cancels its calls, which after hooks see as interrupted.

Extensions cross values as copies both ways, including functions in results,
errors, maps and sets, and programs load them with import, require and
import() by Node module name. Runtime::program adds the reference's
program API with run ids.
2026-11-18 18:54:08 +01:00
..
cases feat(codemode): add embeddable Rust port 2026-11-18 18:53:56 +01:00
catalog.json feat(codemode): add schema tools, search, hooks, async host calls and extensions to the Rust port 2026-11-18 18:54:08 +01:00
catalog.ts feat(codemode): add schema tools, search, hooks, async host calls and extensions to the Rust port 2026-11-18 18:54:08 +01:00
generate.ts feat(codemode): add embeddable Rust port 2026-11-18 18:53:56 +01:00