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 20ae857869
commit e9bc78b9a0
12 changed files with 166 additions and 12 deletions
@@ -85,7 +85,7 @@ export function maybeCreateHephaestusConfig(input: {
}
if (hephaestusOverride) {
hephaestusConfig = mergeAgentConfig(hephaestusConfig, hephaestusOverride)
hephaestusConfig = mergeAgentConfig(hephaestusConfig, hephaestusOverride, directory)
}
return hephaestusConfig
}