MCPcopy Index your code
hub / github.com/codeaashu/claude-code / findPluginOptionsTarget

Function findPluginOptionsTarget

src/commands/plugin/PluginOptionsFlow.tsx:27–33  ·  view source on GitHub ↗
(pluginId: string)

Source from the content-addressed store, hash-verified

25 * Install should have cleared caches already; loadAllPlugins reads fresh.
26 */
27export async function findPluginOptionsTarget(pluginId: string): Promise<LoadedPlugin | undefined> {
28 const {
29 enabled,
30 disabled
31 } = await loadAllPlugins();
32 return [...enabled, ...disabled].find(p => p.repository === pluginId || p.source === pluginId);
33}
34
35/**
36 * A single dialog step in the walk. Top-level options and channels both

Callers 2

Calls 1

loadAllPluginsFunction · 0.85

Tested by

no test coverage detected