Operation Registry
The Operation Registry is the core of Conductor’s plugin system. It’s a global singleton that stores all operations (built-in and custom) and makes them available across all contexts.Key Concepts
Universal Operations
Once an operation is registered, it works everywhere:- ✅ Ensembles
- ✅ Pages
- ✅ Forms
- ✅ APIs
- ✅ Webhooks
Singleton Pattern
The registry is a singleton - there’s only one instance per Worker:Built-in Operations
Conductor includes these built-in operations:fetch-data
Fetch data from various sources:
transform
Declarative data transformations - return literal values, apply modifiers (pick/omit/defaults), or merge data:
The
transform operation is a first-class agent operation. Expression interpolation (${...}) is resolved by the runtime before the agent executes. See the Transform Agent documentation for full details.custom-code
Execute custom JavaScript:
Registering Operations
Basic Registration
With Metadata
Operation Context
Operations receive a context object:Executing Operations
Direct Execution
With Custom Handler
Override the registered handler for a specific invocation:Discovery API
List All Operations
List by Context
List by Tag
Check if Operation Exists
Get Metadata
Context-Aware Operations
Operations can check their execution context:Metadata Schema
Complete metadata interface:Testing Operations
Best Practices
Naming Convention: Usenamespace:operation format

