Namespace JD.AI.Core.Sessions
Classes
- FileTouchRecord
A file operation recorded during a turn.
- InMemorySessionRepository
In-memory session repository for testing and lightweight deployments. Not suitable for production multi-node use.
- IntegrityResult
Result of an integrity check across SQLite store and JSON exports.
- ProjectHasher
Helpers for project path hashing.
- SessionExporter
Exports and imports sessions as human-readable JSON files.
- SessionInfo
Top-level session metadata. Stored in SQLite and as the root of JSON exports.
- SessionIntegrity
Cross-checks SQLite store ↔ JSON exports and repairs inconsistencies.
- SessionRecord
Normalized session record for cross-backend portability.
- SessionStore
SQLite-backed session store. Handles all CRUD against ~/.jdai/sessions.db.
- ToolCallRecord
A single tool invocation within a turn.
- TurnRecord
A single conversation turn (user message or assistant response).
Interfaces
- ISessionRepository
Abstraction for session persistence. The existing SessionStore (SQLite) implements this interface. Distributed backends (PostgreSQL, Redis) can provide alternative implementations for multi-node deployments.