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

File api.ts

client-next/src/lib/api.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import axios from 'axios';
2import type { OpencodeConfig, SkillFile, PluginFile, SkillInfo, PluginInfo, AuthInfo, AuthProvider, StudioConfig, PluginModelsConfig, AuthProfilesInfo, Preset, PresetConfig, AgentConfig, AgentInfo, AgentsResponse, SystemToolInfo, RulesResponse, MCPConfig } from '@/types';
3
4const BACKEND_BASE_PORT = 1920;

Callers

nothing calls this directly

Calls 1

discoverBackendPortFunction · 0.85

Tested by

no test coverage detected