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

Function defaultExecFile

packages/server/src/services/agent-cli/detection.ts:31–45  ·  view source on GitHub ↗
(
  command: string,
  args: string[],
  options: Parameters<AgentCliExecFile>[2]
)

Source from the content-addressed store, hash-verified

29 toolId: item.id,
30 installStatus: 'unknown',
31 versionStatus: 'unknown',
32 version: null,
33 authStatus: 'unknown',
34 checkedAt: null,
35 stale: true,
36 })),
37 checkedAt: null,
38 stale: true,
39 };
40 }
41
42 async refresh(manifest: AgentCliInstallManifestItem[]): Promise<AgentCliEnvironmentStatus> {
43 const checkedAt = new Date().toISOString();
44 const tools: AgentCliToolStatus[] = [];
45
46 for (const item of manifest) {
47 tools.push(await this.detectTool(item, checkedAt));
48 }

Callers

nothing calls this directly

Calls 1

rejectFunction · 0.85

Tested by

no test coverage detected