Extension
@daydreamsai/core / Extension
Type Alias: Extension<TContext, Contexts, Inputs>
Extension<
TContext
,Contexts
,Inputs
> =Pick
<Config
<TContext
>,"inputs"
|"outputs"
|"actions"
|"services"
|"events"
> &object
Defined in: packages/core/src/types.ts:1332
Type declaration
contexts?
optional
contexts:Contexts
inputs
inputs:
Inputs
install()?
optional
install: (agent
) =>Promise
<void
> |void
Parameters
agent
Returns
Promise
<void
> | void
name
name:
string
Type Parameters
TContext
TContext
extends AnyContext
= AnyContext
Contexts
Contexts
extends Record
<string
, AnyContext
> = Record
<string
, AnyContext
>
Inputs
Inputs
extends Record
<string
, InputConfig
<any
, any
>> = Record
<string
, InputConfig
<any
, any
>>