CHECKPOINT_EXPORT_FORMAT
const CHECKPOINT_EXPORT_FORMAT: "tansr-checkpoint/1";导出体格式判别(自包含字节形):{ format, checkpoint, attachments }——checkpoint 为落盘形
(image 块以 $ref:'sha256:<hex>' 引用,不内联字节;messageCount 等头部字段齐全),
attachments 为 sha256hex → base64 字节(快照引用的全部图像,导入端逐项校验摘要)。
纯函数,不触盘:sdk exportCheckpoint / serve GET …/export 以 CheckpointStore.get 的逻辑形
喂入;导入端反向为 ContextCheckpointInput 交 writeCheckpoint / CheckpointStore.put。
本文是否有帮助?
感谢反馈,我们会持续改进这篇文章。