fix: load supported document attachments (#205)

This commit is contained in:
Eyejoker
2026-05-31 22:30:49 +09:00
committed by GitHub
parent 778ed9b94a
commit b6e7e060cc
11 changed files with 398 additions and 30 deletions

View File

@@ -118,4 +118,12 @@ describe('codex app-server input', () => {
{ type: 'localImage', path: imagePath },
]);
});
it('keeps supported document references visible for Codex when no structured document input exists', () => {
const input = parseAppServerInput('증거\nMEDIA:/tmp/report.pdf');
expect(input).toEqual([
{ type: 'text', text: '증거\n[File: report.pdf → /tmp/report.pdf]' },
]);
});
});