refactor(subagent): split extension into modules
This commit is contained in:
10
src/constants.ts
Normal file
10
src/constants.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import * as path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
|
||||
const SRC_DIR = path.dirname(fileURLToPath(import.meta.url));
|
||||
|
||||
export const EXTENSION_DIR = path.dirname(SRC_DIR);
|
||||
export const EXTENSION_ENTRY = path.join(EXTENSION_DIR, "index.ts");
|
||||
export const PROMPTS_DIR = path.join(EXTENSION_DIR, "prompts");
|
||||
export const FINALIZE_TOOL_NAME = "subagent_finalize";
|
||||
export const MAX_FINALIZE_RETRIES = 2;
|
||||
Reference in New Issue
Block a user