Browse Source

docs: expose agent ownership in Cordis catalog

Tianyi Cui 3 months ago
parent
commit
00462f80a6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/cordis/tool-cordis/src/api-catalog.ts

+ 1 - 0
packages/cordis/tool-cordis/src/api-catalog.ts

@@ -72,6 +72,7 @@ export const SERVICE_API: readonly ServiceApiEntry[] = [
       'enter(agent: Agent, owner: Agent | undefined): () => void',
       'announce(agent: Agent): void',
       'get(id: SessionId): Agent | undefined',
+      'isOwnedBy(id: SessionId, owner: Agent): boolean',
       'list(): Agent[]',
       'roots(): Agent[]',
     ],