feat(tools): wire team-mode into skill and subagent resolvers

This commit is contained in:
YeonGyu-Kim
2026-04-28 10:48:00 +09:00
parent 2078f9cad1
commit 39f27b91b1
3 changed files with 94 additions and 7 deletions
+7 -1
View File
@@ -4,7 +4,13 @@ import { discoverSkills } from "../../features/opencode-skill-loader"
export async function resolveSkillContent(
skills: string[],
options: { gitMasterConfig?: GitMasterConfig; browserProvider?: BrowserAutomationProvider, disabledSkills?: Set<string>, directory?: string }
options: {
gitMasterConfig?: GitMasterConfig
browserProvider?: BrowserAutomationProvider
disabledSkills?: Set<string>
teamModeEnabled?: boolean
directory?: string
}
): Promise<{ content: string | undefined; contents: string[]; error: string | null }> {
if (skills.length === 0) {
return { content: undefined, contents: [], error: null }