Commit graph

2 commits

Author SHA1 Message Date
Sebastian Herrlinger
5208cfd308 test(codemode): record streaming and crossings through the reference's language runtime 2026-11-19 01:53:45 +01:00
Sebastian Herrlinger
71a99f6d7e test(codemode): record host-call argument cases from the reference
conformance/frames/hostargs.ts adds streaming programs for what tools, search
and extension functions receive: functions left out at every position,
promises fulfilled, pending and rejected at every position, nested promises, a
promise fulfilling with a function, cycles through promises, built-in objects
and errors in tool arguments with toJSON never called, Uint8Array failures,
when a waiting call starts and the jobs its waits take, search and extension
calls that wait, a function from a host result handed back to an extension
function, and an unknown tool's call rejecting its promise (caught with .catch,
try/await, Promise.allSettled, unawaited), plus suspensions while a call waits.

catalog.ts gains a separate block of boundary programs at the end of its list
for the host values an extension function receives under the same rules.
streaming.json and catalog.json are regenerated at integration.
2026-11-18 21:29:00 +01:00