refactor(session): decouple history tools from WebUI replay (#6017)

* refactor(session): decouple history tools from WebUI replay

* test(oauth): make callback expiry independent of thread scheduling
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-03 17:43:55 +08:00
1 parent ae6801d3eb
commit 4904305450
9 files changed
+273 -503

No files matched your search

+6
View File
@@ -178,6 +178,12 @@ explicit; do not treat the entire agent workspace as an allowed root.
Session history is the near-term conversation replay. Memory is the longer-term workspace state.
`nanobot/session/history.py` reads full persisted session records for
`search_sessions` and `read_session`, including messages before summary
checkpoints. Tool results contain public user and assistant text with indexes
into the original session messages. WebUI transcript events and replay pagination
are owned by the display adapter and do not supply tool history.
| Store | File area |
|---|---|
| Session JSONL files | `<config-dir>/sessions/<workspace-id>/` |