Build the libfx agent kernel - #544
Draft
fazxes wants to merge 7 commits into
Draft
Conversation
fazxes
force-pushed
the
fazxes/libfx-kernel
branch
4 times, most recently
from
September 1, 2026 12:27
8f772d4 to
2b0864e
Compare
- Expose one conversation through prompt, checkpoint, and close. - Run JavaScript tools and optional MCP and skills adapters at the host edge. - Align native and WebAssembly behavior across Node, Bun, and browsers. - Add TTFT, bridge, Pi, Bun, and packed-package coverage.
Use the minimal turn result contract and allow the live smoke test to force native or WebAssembly backends.
Preserve caller-built bounded context projections. Collapse the headless SDK to one session and active turn. Remove duplicate lifecycle and startup state while retaining checkpoint freshness. Include optional adapters in local package staging.
Ignore libfx host capabilities in ordinary ACP sessions. Return method not found for private bootstrap and checkpoint calls outside minimal-kernel runtimes. Preserve the active durable session and native tool projection.
Close native and WebAssembly runtimes when bootstrap fails. Enforce the kernel 64 KiB instruction limit before runtime creation.
Read tool-call history from the Agent-owned session state.
Discard host-tool completions that settle after cancellation or close. Preserve native Agent errors when automatic Wasm fallback cannot run.
fazxes
force-pushed
the
fazxes/libfx-kernel
branch
from
September 1, 2026 14:42
2b0864e to
3658f78
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
prompt,checkpoint, andclose.