session-history
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseFetch recent session history using the MCP tool (provided by the agentmemory server that this plugin wires up automatically via ). Pass to get a meaningful window.
memory_sessions.mcp.jsonlimit: 20Present the returned sessions in reverse chronological order:
- Show the session ID (first 8 chars), project, start time, and status
- For each session with observations, show the key highlights (type + title)
- Note the total observation count per session
- If a session summary exists, surface the title and the key decisions
Format as a clean timeline. Do NOT make up sessions — only show what the MCP tool actually returned. If isn't available, the stdio MCP shim didn't start — tell the user to:
memory_sessions- Run in Claude Code and confirm
/plugin listshows as enabled.agentmemory - Restart Claude Code (the plugin's is only read on startup).
.mcp.json - Check to see whether the
/mcpMCP server is connected.agentmemory
使用 MCP工具(由本插件通过自动连接的agentmemory服务器提供)获取近期会话历史。传入以获取有效的时间范围。
memory_sessions.mcp.jsonlimit: 20按时间倒序展示返回的会话:
- 展示会话ID(前8个字符)、项目、开始时间和状态
- 对于有观测记录的会话,展示关键要点(类型+标题)
- 标注每个会话的观测记录总数
- 如果存在会话摘要,展示摘要标题和关键决策
格式化为清晰的时间线。请勿编造会话——仅展示MCP工具实际返回的内容。如果不可用,说明stdio MCP垫片未启动,请告知用户执行以下步骤:
memory_sessions- 在Claude Code中运行,确认
/plugin list已启用。agentmemory - 重启Claude Code(插件的仅在启动时读取)。
.mcp.json - 查看,确认
/mcpMCP服务器已连接。agentmemory