(baseDir: string, scope: 'project' | 'user')
| 46 | * how teamai resolves every other OpenCode path.) |
| 47 | */ |
| 48 | export function resolveOpencodePluginDir(baseDir: string, scope: 'project' | 'user'): string { |
| 49 | const configDir = scope === 'project' ? '.opencode' : path.join('.config', 'opencode'); |
| 50 | return path.join(baseDir, configDir, OPENCODE_PLUGIN_DIR); |
| 51 | } |
| 52 | |
| 53 | /** |
| 54 | * Build the teamai OpenCode plugin source. |
no outgoing calls
no test coverage detected