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

Function getConfig

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

Source from the content-addressed store, hash-verified

231}
232
233export async function getConfig(): Promise<OpencodeConfig> {
234 const { data } = await api.get<OpencodeConfig>('/config');
235 return data;
236}
237
238export async function saveConfig(config: OpencodeConfig): Promise<void> {
239 await api.post('/config', config);

Callers 4

AppProviderFunction · 0.90
getCommandFunction · 0.85
saveCommandFunction · 0.85
deleteCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected