feat(agents): add file:// URI support in prompt_append configuration

Port devxoul's PR #821 feature to current codebase structure.
Supports absolute, relative, ~/home paths with percent-encoding.
Gracefully handles malformed URIs and missing files with warnings.

Co-authored-by: devxoul <devxoul@gmail.com>
This commit is contained in:
YeonGyu-Kim
2026-02-13 11:25:40 +09:00
parent ad468ec93f
commit 60b4d20fd8
12 changed files with 166 additions and 12 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ export function collectPendingBuiltinAgents(input: {
config = applyEnvironmentContext(config, directory)
}
config = applyOverrides(config, override, mergedCategories)
config = applyOverrides(config, override, mergedCategories, directory)
// Store for later - will be added after sisyphus and hephaestus
pendingAgentConfigs.set(name, config)