No JSDoc comment in source yet.
API
@Component({ name: "HostAgentTasksImpl", key: "@prismshadow/penguin-server#HostAgentTasks" })
export class HostAgentTasks {
@Use() private readonly access!: Access;
@Use() private readonly agentConfig!: AgentConfig;
@Use() private readonly sessionService!: AgentTaskSessions;
@Use() private readonly manager!: AgentTaskRunner;
@Use() private readonly drivers!: SessionDrivers;
@Use() private readonly sessionIndex!: SessionIndex;
@Use() private readonly projectEvents!: ProjectEvents;
@Use() private readonly traces!: Traces;
@Use() private readonly outcome!: AgentTaskOutcome;
async start(raw: AgentTaskStart): Promise<{ sessionId: string }>;
async status(userId: string, sessionId: string): Promise<AgentTaskStatus | null>;
}Dependencies & Wiring
Extracted from class decorators@Userequires (9)
access: Access · agentConfig: AgentConfig · sessionService: AgentTaskSessions · manager: AgentTaskRunner · drivers: SessionDrivers · sessionIndex: SessionIndex · projectEvents: ProjectEvents · traces: Traces · outcome: AgentTaskOutcomeMethods (2)
start
async start(raw: AgentTaskStart): Promise<{ sessionId: string }>@paramraw
AgentTaskStart@returns
Promise<{ sessionId: string }>status
async status(userId: string, sessionId: string): Promise<AgentTaskStatus | null>@paramuserId
string@paramsessionId
string@returns
Promise<AgentTaskStatus | null>