Skip to content

RecipesAPI

Defined in: namespaces-core-plugins.ts:847

Author-declared multi-step plans (fn-101), dispatched through the fn-89 Invoker with caller-declared scopes.

fn-101

triggers: object

Defined in: namespaces-core-plugins.ts:859

User-trigger contributor sub-bridge.

register(contribution): Promise<AnyJSONValue>

Registers a recipe trigger contribution.

AnyJSONValue

Promise<AnyJSONValue>

unregister(key): Promise<void>

Unregisters a trigger.

string

Promise<void>

register(spec): Promise<AnyJSONValue>

Defined in: namespaces-core-plugins.ts:849

Registers a recipe definition. [recipes.register]

AnyJSONValue

Promise<AnyJSONValue>


unregister(refOrHandle): Promise<void>

Defined in: namespaces-core-plugins.ts:851

Unregisters by ref or handle. [recipes.register]

AnyJSONValue

Promise<void>


run(params): Promise<AnyJSONValue>

Defined in: namespaces-core-plugins.ts:853

Runs a recipe. Returns a run handle. [recipes.run]

string

AnyJSONValue

AnyJSONValue

Promise<AnyJSONValue>


list(params?): Promise<{ recipes: AnyJSONValue[]; }>

Defined in: namespaces-core-plugins.ts:855

Lists visible recipes (no scope required).

AnyJSONValue

Promise<{ recipes: AnyJSONValue[]; }>


get(refOrParams): Promise<{ recipe: AnyJSONValue; }>

Defined in: namespaces-core-plugins.ts:857

Gets a recipe definition, or null (no scope required).

AnyJSONValue

Promise<{ recipe: AnyJSONValue; }>