fix(prompts-core): block prompt path traversal

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
YeonGyu-Kim
2026-05-24 17:50:18 +09:00
parent 74d5f7018d
commit 436c618706
4 changed files with 46 additions and 10 deletions
+1 -1
View File
@@ -8,4 +8,4 @@ export type {
} from "./types"
export { resolveVariant } from "./variant-resolver"
export type { ResolveVariantInput } from "./variant-resolver"
export { loadPrompt, PromptFileNotFoundError } from "./loader"
export { loadPrompt, PromptFileNotFoundError, PromptPathTraversalError } from "./loader"