@prismshadow/penguin-server · packages/server/src/workbenches/engines.ts:34

AgentStateEngines

interface

Which engine records Agent State versions.

API

@Interface()
export abstract class AgentStateEngines {
  abstract current(): AgentStateEngine | null;
  abstract drop(engine: AgentStateEngine): void;
}

Contract Topology

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

Members (2)

current

current(): AgentStateEngine | null

The first contributed engine that is ready and has not failed to run; null: the built-in one.

@returnsAgentStateEngine | null

drop

drop(engine: AgentStateEngine): void

Stops using an engine for the rest of this App: it could not run.

@paramengineAgentStateEngine
@returnsvoid