The plugins' server modules, brought along at the end of Agent creation (the server's PluginModules.ensure; the assembly binds it).
API
@Interface()
export abstract class AgentPluginModules {
abstract ensure(
projectId: string,
plugins: readonly string[],
actor: ModuleActor | null,
ask: "install" | "explicit",
agentId?: string,
): Promise<AgentPluginModuleAction[]>;
}Contract Topology
Static AST wiring across @Module / @Provide / @UseMembers (1)
ensure
ensure(projectId: string, plugins: readonly string[], actor: ModuleActor | null, ask: "install" | "explicit", agentId?: string): Promise<AgentPluginModuleAction[]>Applies the module rule to the named library plugins; may re-assemble the App, so a caller runs it last. Never throws for one plugin: what went wrong is that plugin's failed action.
@paramprojectId
string@paramplugins
readonly string[]@paramactor
ModuleActor | null@paramask
"install" | "explicit"@paramagentId?
string@returns
Promise<AgentPluginModuleAction[]>