fix(agent-teams): store data under project .sisyphus

This commit is contained in:
Nguyen Khac Trung Kien 2026-02-08 08:33:04 +07:00 committed by YeonGyu-Kim
parent 0f9c93fd55
commit 766794e0f5

View File

@ -1,10 +1,10 @@
import { join } from "node:path"
import { getOpenCodeConfigDir } from "../../shared/opencode-config-dir"
const SISYPHUS_DIR = ".sisyphus"
const AGENT_TEAMS_DIR = "agent-teams"
export function getAgentTeamsRootDir(): string {
return join(getOpenCodeConfigDir({ binary: "opencode" }), AGENT_TEAMS_DIR)
return join(process.cwd(), SISYPHUS_DIR, AGENT_TEAMS_DIR)
}
export function getTeamsRootDir(): string {