Package io.agentscope.harness.agent.memory.session
package io.agentscope.harness.agent.memory.session
-
ClassesClassDescriptionBase class for all session tree entries (pi-mono-inspired JSONL session model).Non-destructive compaction marker.A message entry wrapping a conversation turn (user/assistant/system), or a placeholder when the message had no renderable text/tool blocks (e.g. image-only).Holds the text of a compaction summary (the condensed version of compacted messages).Structured tool-result record, paired with
SessionEntry.ToolUseEntryviatoolCallId.Structured tool-call record.Evaluates whether a session is still "fresh" or should be reset.Independent writer for the session transcript JSONL (.jsonl/.log.jsonl).Manages an append-only JSONL session tree (pi-mono-inspired).