Fix the packaged prompt path (#15)

Resolve the packaged prompt from the repository root after TypeScript moved into `src/`.

Adds a regression test that verifies every module-relative runtime asset exists. Root suite: 38 passed.

Reviewed-on: #15
Co-authored-by: Danny Kim <temeddix@gmail.com>
Co-committed-by: Danny Kim <temeddix@gmail.com>
This commit was merged in pull request #15.
This commit is contained in:
Danny Kim
2026-09-23 20:23:40 +00:00
committed by temeddix
parent e56ea246bf
commit 535a7a486c
2 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -152,7 +152,7 @@ async function renderPrompt(
ANCHORS_PATH: anchorsPath,
};
const template = await Deno.readTextFile(
new URL("prompt.md", import.meta.url),
new URL("../prompt.md", import.meta.url),
);
return {
prompt: template.replace(