fix: harden session caching and topic transcripts

This commit is contained in:
Peter Steinberger
2026-01-07 22:38:41 +00:00
parent 8da4f259dd
commit 67d1f61872
13 changed files with 75 additions and 289 deletions
-11
View File
@@ -31,15 +31,6 @@ export type SessionSendPolicyConfig = {
rules?: SessionSendPolicyRule[];
};
export type SessionCacheConfig = {
/** Enable session store caching (default: true). Set to false to disable. */
enabled?: boolean;
/** Session store cache TTL in milliseconds (default: 45000 = 45s). Set to 0 to disable. */
storeTtlMs?: number;
/** SessionManager cache TTL in milliseconds (default: 45000 = 45s). Set to 0 to disable. */
managerTtlMs?: number;
};
export type SessionConfig = {
scope?: SessionScope;
resetTriggers?: string[];
@@ -50,8 +41,6 @@ export type SessionConfig = {
typingMode?: TypingMode;
mainKey?: string;
sendPolicy?: SessionSendPolicyConfig;
/** Session caching configuration. */
cache?: SessionCacheConfig;
agentToAgent?: {
/** Max ping-pong turns between requester/target (05). Default: 5. */
maxPingPongTurns?: number;