Agent / foldkit-agent-native
ActionRegistry
type · packages/agent-native/src/actions.ts:118
type ActionRegistry<ByName = Record<string, unknown>> =
string extends keyof ByName
? Record<string, ActionEntry>
: {
readonly [Name in keyof ByName]: ActionEntry
}The 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.