콘텐츠로 이동

createFileCheckpointStore

이 콘텐츠는 아직 번역되지 않았습니다.

function createFileCheckpointStore(options): CheckpointStore;

缺省文件实现工厂(包 kernel K-1 原语): <dir>/<sessionId>/<checkpointId>.json 快照体 <dir>/<sessionId>/<checkpointId>.meta.json 旁挂头部(list 只读此件) <dir>/<sessionId>/attachments/<sha256hex> image 字节(内容寻址,快照自包含) 独立目录 = 独立生命周期(不随会话删除);会话同居形态由 createFileSessionStore 的 checkpoints 成员提供(同一实现、根目录按会话派生)。

CreateFileCheckpointStoreOptions

CheckpointStore