feat: add cache-ttl pruning mode

This commit is contained in:
Peter Steinberger committed 2026-01-21 19:46:24 +00:00
1 parent c415ccaed5
commit 9f59ff325b
18 files changed
+164 -123

No files matched your search

@@ -4,6 +4,7 @@ export type ContextPruningRuntimeValue = {
settings: EffectiveContextPruningSettings;
contextWindowTokens?: number | null;
isToolPrunable: (toolName: string) => boolean;
lastCacheTouchAt?: number | null;
};
// Session-scoped runtime registry keyed by object identity.