fix(hermes): add missing SessionCompactionPolicy fields (T1/T3/T4)

Adds maxCachedInputTokens, rotateOnZeroOpenIssues, rotateOnNewIssueWake
to hermes gateway and local adapter defaults; these fields were added in
the ADR-0044 policy struct but hermes objects were not updated.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Paperclip Engineer 2026-07-05 13:26:03 +02:00
parent 08e2c3b2eb
commit d1a49877ec
2 changed files with 6 additions and 0 deletions

View File

@ -14,6 +14,9 @@ const sessionManagement: AdapterSessionManagement = {
maxSessionRuns: 0,
maxRawInputTokens: 0,
maxSessionAgeHours: 0,
maxCachedInputTokens: 0,
rotateOnZeroOpenIssues: false,
rotateOnNewIssueWake: false,
},
};

View File

@ -54,6 +54,9 @@ const sessionManagement: AdapterSessionManagement = {
maxSessionRuns: 0,
maxRawInputTokens: 0,
maxSessionAgeHours: 0,
maxCachedInputTokens: 0,
rotateOnZeroOpenIssues: false,
rotateOnNewIssueWake: false,
},
};