({
outputRoot,
global = false,
}: {
outputRoot: string;
global?: boolean;
})
| 23 | * @see https://opencode.ai/docs/agents/#json |
| 24 | */ |
| 25 | export function getOpencodeConfigDir({ |
| 26 | outputRoot, |
| 27 | global = false, |
| 28 | }: { |
| 29 | outputRoot: string; |
| 30 | global?: boolean; |
| 31 | }): string { |
| 32 | return join(outputRoot, global ? OPENCODE_GLOBAL_DIR : "."); |
| 33 | } |
| 34 | |
| 35 | export async function readOpencodeConfig({ |
| 36 | outputRoot, |
no outgoing calls
no test coverage detected
searching dependent graphs…