MCPcopy Create free account
hub / github.com/Microck/opencode-studio / getPlugins

Function getPlugins

client-next/src/lib/api.ts:305–308  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

303}
304
305export async function getPlugins(): Promise<PluginInfo[]> {
306 const { data } = await api.get<PluginInfo[]>('/plugins');
307 return data;
308}
309
310export async function getPlugin(name: string): Promise<PluginFile> {
311 const { data } = await api.get<PluginFile>(`/plugins/${name}`);

Callers 1

AppProviderFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected