Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/sessions / agent-registry / AgentRegistryLookup

Type Alias: AgentRegistryLookup

ts
type AgentRegistryLookup = 
  | {
  agent: AgentRegistryEntry;
  kind: "agent";
}
  | {
  id: string;
  kind: "unknown";
};

Defined in: packages/sessions/src/agent-registry.ts:26

Result of AgentRegistry.resolveOrPlaceholder. Either the stored agent metadata, or a placeholder discriminated by kind: 'unknown' so callers can render "(deleted) Worker Agent".

Stable