MCPcopy Create free account
hub / github.com/cortexkit/magic-context / hasPluginEntry

Method hasPluginEntry

packages/cli/src/adapters/pi.ts:32–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30 }
31
32 hasPluginEntry(): boolean {
33 const settings = readPiSettings();
34 if (!settings) return false;
35 const packages = (settings.packages ?? []) as unknown[];
36 return packages.some((entry) => matchesPiPackage(entry));
37 }
38
39 getConfigPaths(): HarnessConfigPaths {
40 const dir = getPiAgentConfigDir();

Callers

nothing calls this directly

Calls 2

readPiSettingsFunction · 0.85
matchesPiPackageFunction · 0.85

Tested by

no test coverage detected