@prismshadow/penguin-library-agent · library/agent/src/ports.ts:168

AgentTaskOutcome

interface

The latest task's outcome, as a workbench reads it (the server's workbenchResult; the assembly binds it).

API

@Interface()
export abstract class AgentTaskOutcome {
  abstract result(status: string, messages: readonly AmspRecord[]): WorkbenchResult;
}

Contract Topology

Static AST wiring across @Module / @Provide / @Use
@Useconsumed by (1)

Members (1)

result

result(status: string, messages: readonly AmspRecord[]): WorkbenchResult
@paramstatusstring
@parammessagesreadonly AmspRecord[]
@returnsWorkbenchResult