d0f1e7d1f2
* feat(bridge): refactor compression to use DB history and add structured logging - Extract buildDbHistory() to share message loading between buildCompressedHistory and forceCompressBridgeHistory - forceCompressBridgeHistory now reads from local DB instead of using Python-provided messages, ensuring consistency with api_server path - Pass sessionId to compressor for snapshot-aware compression - Add force_compress flag to bridge chat requests - Add bridgeLogger structured logging for compression lifecycle - Simplify schemas, session-sync, and providers Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * fix bridge compression history handling --------- Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
14 lines
505 B
TypeScript
14 lines
505 B
TypeScript
/**
|
|
* Hermes session import is intentionally disabled.
|
|
*
|
|
* Hermes state.db remains a read-only source for Hermes-specific history APIs.
|
|
* The web-ui local sessions/messages tables must not be populated from Hermes
|
|
* on startup, because that can mix ownership and make data-loss incidents much
|
|
* harder to reason about.
|
|
*/
|
|
import { logger } from '../logger'
|
|
|
|
export async function syncAllHermesSessionsOnStartup(): Promise<void> {
|
|
logger.info('[session-sync] Hermes session import is disabled')
|
|
}
|