SessionStoreForkInput
store.fork 输入(AgentSession.fork / createSession({ fork }) 经此落新会话记录)
checkpoint
Section titled “checkpoint”checkpoint: ContextCheckpoint;作为新会话初始历史的快照(逻辑形,image 已内联;CheckpointStore.get 产物)
cwd: string;新会话工作目录(记入 meta;缺省沿源会话 = AgentSession 当前 cwd)
newSessionId?
Section titled “newSessionId?”optional newSessionId?: string;新会话 id;缺省由 store 铸造 UUID
sourceSessionId
Section titled “sourceSessionId”sourceSessionId: string;源会话 id(= checkpoint.sessionId;源会话记录恒不改)
title?
Section titled “title?”optional title?: string;新会话标题(缺省与 create 同律:首条用户输入截断)
本文是否有帮助?
感谢反馈,我们会持续改进这篇文章。