fix(codex): close symlink escape on GET /file, pin project writes to server cwd

This commit is contained in:
2026-09-08 20:07:57 +07:00
parent 32839332f2
commit 29ed86d672
7 changed files with 246 additions and 89 deletions
+1
View File
@@ -300,6 +300,7 @@ module.exports = {
deleteArtifact,
listBackups,
resolveTarget, // exported for tests
assertNotSymlinkEscape, // shared with codex-discovery.js's readFileSafe — one check, both verbs
TYPES,
NAME_RE,
};