Extensions
Extensions add capabilities to an ECP (Execution Control Protocol) environment: model providers, formats, memory, secrets, and more.Catalog and bind
Extension packages should callcatalogExtension(def) at module load so string ids resolve:
@executioncontrolprotocol/format-toon).
ensureBoundExtensionsRegistered() runs automatically before encode, decode, describe, and run when using the core environment path — you typically do not need a separate register step for cataloged packages.
Definitions vs invocations
Package boundaries
Extensions depend on@executioncontrolprotocol/types and @executioncontrolprotocol/core (plus focused third-party libs). They must not import:
@executioncontrolprotocol/node@executioncontrolprotocol/browser@executioncontrolprotocol/cli@executioncontrolprotocol/mcp