Comprehensive guide to the elizaOS plugin system architecture and implementation
/Users/studio/Documents/GitHub/eliza/packages/core/src/types/plugin.ts
, the full Plugin interface includes:
/Users/studio/Documents/GitHub/eliza/packages/core/src/types/components.ts
:
/Users/studio/Documents/GitHub/eliza/packages/core/src/runtime.ts
, the initialization process:
registerPlugin
method):
init()
method if present/Users/studio/Documents/GitHub/eliza/packages/core/src/types/service.ts
:
/Users/studio/Documents/GitHub/eliza/packages/core/src/types/events.ts
:
/Users/studio/Documents/GitHub/eliza/packages/core/src/types/database.ts
:
The IDatabaseAdapter interface is extensive, including methods for:
ActionResult
interface for passing data between actions.
ActionResult
object that standardizes how actions communicate their outcomes:
HandlerCallback
provides a mechanism for actions to send immediate feedback to users before the action completes:
ActionContext
that provides access to previous action results:
options
parameter:
processActions
method manages the execution flow:
ActionResult
object:
ActionResult
.