mirror of
https://github.com/volcengine/OpenViking.git
synced 2026-09-28 03:32:56 +08:00
Extract working-memory, archive, checkpoint, and tool-output externalization logic from session.py into dedicated modules: - working_memory.py: working-memory assembly and inline-image redaction - archive_store.py: archive state/read and abstract extraction - checkpoints.py: checkpoint planning and snapshots - tool_output_externalizer.py: externalized tool result storage/hydration Session delegates to these modules while preserving its public API. Also aligns the session_auto_commit configuration with the split. Co-authored-by: TRAE CLI <traecli@bytedance.com>