@prismshadow/penguin-server · packages/server/src/services/agent-service.ts:33 · Child of AgentsModule

AgentServiceProvider

module

The agent service assembly: binds the service's paths port and its server-mechanism ports. The node keeps the service's name (AgentService), the one plugins require and replace by.

API

@Module({ name: "AgentService" })
export class AgentServiceProvider {
  @Use() private readonly paths!: Paths;
  @Use() private readonly agents!: AgentIndex;
  @Use() private readonly agentConfig!: AgentConfig;
  @Use() private readonly snapshots!: Snapshots;
  @Use() private readonly pluginLibrary!: PluginLibrary;
  @Use() private readonly pluginModules!: PluginModules;
  @Provide() AgentLifecycle!: AgentLifecycle;
  @Provide() AgentService!: AgentService;
  async setup(ctx: ClassCtx);
}

Dependencies & Wiring

Extracted from class decorators
@Userequires (6)
paths: Paths · agents: AgentIndex · agentConfig: AgentConfig · snapshots: Snapshots · pluginLibrary: PluginLibrary · pluginModules: PluginModules
@Provideprovides (2)
AgentLifecycle: AgentLifecycle · AgentService: AgentService

Children (0)

No child modules or components declared in @Module.

Exports (0)

None (module-private).