Forráskód Böngészése

docs: regenerate services catalog for the register() disposer signature

Tianyi Cui 2 hónapja
szülő
commit
d5d5e3fa3c
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      docs/cordis-catalog/services.md

+ 1 - 1
docs/cordis-catalog/services.md

@@ -31,7 +31,7 @@ Agent registry (`ctx.agents`): tracks live agents so UI, hook, and orchestrator
 setFactory(factory: AgentFactory): () => void
 create(options: CreateAgentOptions): AgentHandle
 async resume(options: ResumeAgentOptions): Promise<AgentHandle>
-register(agent: Agent): () => void
+register(agent: Agent): () => Promise<void> | void
 get(id: AgentId): Agent | undefined
 list(): Agent[]
 ```