refactor(constants): use ~/.pi/agent/subagents for idiomatic pi path
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user