(config: OpencodeConfig)
| 236 | } |
| 237 | |
| 238 | export async function saveConfig(config: OpencodeConfig): Promise<void> { |
| 239 | await api.post('/config', config); |
| 240 | } |
| 241 | |
| 242 | export async function getAgents(): Promise<AgentInfo[]> { |
| 243 | const { data } = await api.get<AgentsResponse>('/agents'); |
no outgoing calls
no test coverage detected