MCPcopy
hub / github.com/shareAI-lab/Kode-CLI / join

Method join

kode-agent-sdk/src/core/room.ts:13–18  ·  view source on GitHub ↗
(name: string, agentId: string)

Source from the content-addressed store, hash-verified

11 constructor(private pool: AgentPool) {}
12
13 join(name: string, agentId: string): void {
14 if (this.members.has(name)) {
15 throw new Error(`Member already exists: ${name}`);
16 }
17 this.members.set(name, agentId);
18 }
19
20 leave(name: string): void {
21 this.members.delete(name);

Callers 15

mainFunction · 0.95
findPackageRootFunction · 0.80
readPackageJsonFunction · 0.80
mainFunction · 0.80
findPackageRootFunction · 0.80
readPackageJsonFunction · 0.80
mainFunction · 0.80
renderToolUseMessageFunction · 0.80
runGrepToolFunction · 0.80
renderToolUseMessageFunction · 0.80
renderResultForAssistantFunction · 0.80
extractAssistantTextFunction · 0.80

Calls 2

hasMethod · 0.65
setMethod · 0.65

Tested by 15

runFunction · 0.64
waitForFunction · 0.64
waitForFunction · 0.64
writeAgentFileFunction · 0.64
extractAssistantTextFunction · 0.64
writeAgentFileFunction · 0.64
writeMarketplaceRepoFunction · 0.64
writeSessionJsonlFunction · 0.64
extractTextFunction · 0.64
writeSkillFileFunction · 0.64