Skip to content

Function: registerBuiltInActions()

Makaio Framework


Makaio Framework / services-core / registerBuiltInActions

registerBuiltInActions(bus?): void

Defined in: ../../../packages/services/core/src/session/session-editor/actions/index.ts:26

Register all built-in actions. Call this at service startup. Safe to call multiple times.

Base actions (no bus required) are registered once on first call. Bus-dependent actions (e.g. llm-extract) are registered on the first call that supplies a bus instance, independently of whether base registration has already occurred.

IMakaioBus

Optional bus instance. When provided, bus-dependent actions (e.g. llm-extract) are also registered. Existing callers that pass no args continue to work without change.

void