refactor(constants): use ~/.pi/agent/subagents for idiomatic pi path

This commit is contained in:
2026-05-12 16:42:37 -04:00
parent 84bcff94a0
commit fbbc58810c

View File

@@ -6,6 +6,6 @@ const SRC_DIR = path.dirname(fileURLToPath(import.meta.url));
export const EXTENSION_DIR = path.dirname(SRC_DIR); export const EXTENSION_DIR = path.dirname(SRC_DIR);
export const EXTENSION_ENTRY = path.join(EXTENSION_DIR, "index.ts"); export const EXTENSION_ENTRY = path.join(EXTENSION_DIR, "index.ts");
export const SUBAGENTS_DIR = path.join(homedir(), ".pi", "subagents"); export const SUBAGENTS_DIR = path.join(homedir(), ".pi", "agent", "subagents");
export const FINALIZE_TOOL_NAME = "subagent_finalize"; export const FINALIZE_TOOL_NAME = "subagent_finalize";
export const MAX_FINALIZE_RETRIES = 2; export const MAX_FINALIZE_RETRIES = 2;