콘텐츠로 이동

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。