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:1337
Type declaration
contexts?
optionalcontexts:Contexts
inputs
inputs:
Inputs
install()?
optionalinstall: (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>>