Files
zeekay c6018bd5cf plugin: a family in process is its engine's http.Handler
The zen and enso engines ship as Go packages that already host their
module: hanzo-inc/zen lib, which is their Rust core run through wasm2go.
The package pumps the module, makes the upstream calls with the keys it
is opened with, and writes the answers. So ai keeps no second host
beside it. The hz_* ABI, its upstream handles, the WASI sandbox and the
Rust stub are deleted.

package plugin is now a registry. plugin.Register(name, handler) makes
plugin://<name> that handler, called in process. plugin.Transport serves
the request under the caller's context, which ends when the caller
leaves or closes the body early. The body crosses through a pipe, so a
caller who stops reading stops the handler. Declared trailers arrive at
the body's end. The family client's header timeout bounds how long the
answer may take to begin.

A test serves the same family service at its network address and
registered in process, and holds every body and every debit equal.

Claude-Session: https://claude.ai/code/session_01SCPMGSQsLNF2YtHFL4bwyp
2026-10-08 21:23:52 -07:00
..