Commit Graph

2 Commits

Author SHA1 Message Date
Levi Neely 24e4209a95 store: refactor to storeConfig architecture
- Replace FlatDir type with storeConfig (unexported) + NewFlatDir returning Store
- Refactor SkillStore to skillState + storeConfig, NewSkillStore returns Store
- SessionStore/BatchStore embed *storeConfig for Store interface methods
- Add Runnable interface (RunnableID, Cancel, Interrupt, AppendLog, LogInfo)
- Session and batchJob satisfy Runnable
- Add Terminator-style Shutdown/InterruptAll on SessionStore and BatchStore
- NewSession constructor replaces exported field access
- Rename AppendChat->AppendLog, ChatInfo->LogInfo on Session
2026-04-21 18:23:18 +02:00
Levi Neely 500f7fe96b store: move Session, SessionStore, SessionFileStore to core
Session holds chat buffer + agent.Core + context.
SessionStore takes SessionStoreConfig with OnRename callback for
protocol-level fixups. SessionFileStore unchanged (already used callbacks).
Also adds FormatParams, ParseParams, SessionStoreFileMode, ChatInfo.
2026-04-21 16:37:34 +02:00