Implement layered maps and context retrieval

This commit is contained in:
2026-06-11 12:56:18 +02:00
parent 010e4b83eb
commit c6064f8d94
35 changed files with 4410 additions and 383 deletions
+5
View File
@@ -9,6 +9,8 @@ export interface SkillConfig {
llmBaseUrl?: string;
contextBudget: number;
autoInjectPrompt: boolean;
tagCap: number;
workflowHintCap: number;
}
export const DEFAULT_CONFIG: SkillConfig = {
@@ -24,6 +26,7 @@ export const DEFAULT_CONFIG: SkillConfig = {
".DS_Store",
"*.log",
".pi-map.md",
".pi-map.index.md",
".cache",
"tmp",
"temp",
@@ -38,6 +41,8 @@ export const DEFAULT_CONFIG: SkillConfig = {
llmModel: "gpt-4o-mini",
contextBudget: 4000,
autoInjectPrompt: true,
tagCap: 8,
workflowHintCap: 5,
};
export function loadConfig(cwd: string = process.cwd()): SkillConfig {