MCPcopy Create free account
hub / github.com/agent-tower/core / getCapabilities

Function getCapabilities

packages/server/src/executors/base.executor.ts:243–245  ·  view source on GitHub ↗

* 获取 Agent 能力

()

Source from the content-addressed store, hash-verified

241 const waitForExit = async (timeoutMs: number): Promise<void> => {
242 if (exited) return;
243 let timer: ReturnType<typeof setTimeout> | undefined;
244 await Promise.race([
245 exit,
246 new Promise<void>((resolve) => {
247 timer = setTimeout(resolve, timeoutMs);
248 (timer as { unref?: () => void }).unref?.();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected