refactor: move retry and recovery paths to structured output helpers

This commit is contained in:
Eyejoker
2026-03-28 06:17:52 +09:00
parent 47dda19ded
commit 38d96578a4
8 changed files with 144 additions and 18 deletions

View File

@@ -54,7 +54,10 @@ describe('classifySuppressTokenOutput', () => {
it('treats a truncated structured silent envelope as mixed', () => {
expect(
classifySuppressTokenOutput('{"ejclaw":{"visibility":"silent"', undefined),
classifySuppressTokenOutput(
'{"ejclaw":{"visibility":"silent"',
undefined,
),
).toBe('mixed');
});