Agent / API

foldkit-agent-native

foldkit-agent-native -- PROTOTYPE.

Compiles a Foldkit agent contract into a package action registry that registerPackageActions accepts. Foldkit stays the source of truth: a generated action only dispatches, and application behaviour stays in update.

Not published, and only partly verified against the framework. See the README.

Namespaces

Interfaces

ActionEntryOne entry of the record registerPackageActions takes.
ActionResultWhat an action reports back. run never decides anything itself.
ActionRunContextThe request context Agent Native hands an action.
ActionsOptions

Types

ActionRegistryThe registry, keyed by the contract's capability names when they are known, so a registered name needs no lookup check and a mistyped one does not compile.