const points = await agent.checkpoints();
// [{ n: 1, at: "2026-10-07T09:12:44.000Z", text: "Rename every component…",
// files: 184, partial: false, outside: [] },
// { n: 2, at: "…", text: "Now update the imports.",
// files: 184, partial: false, outside: ["write_storage"] }]points = agent.checkpoints()
# [{"n": 1, "at": "2026-10-07T09:12:44Z", "text": "Rename every component…",
# "files": 184, "partial": False},
# {"n": 2, "at": "…", "text": "Now update the imports.",
# "files": 184, "partial": False}]ninteger信息号码 rewind(n) 拿着这个
atstring拍下照片时
textstring之前的讯息
filesinteger点记记录有多少文件
partialboolean工作空间大于快照所能支撑的面积。
outsidestring[]机器在这一点之后留下的 - 倒带不会撤销它
提供回放前显示的外部是
警告之前,而不是之后
如果外部不是空的, 发生一些事情, 回到过去时不会反转, 发来的信息、 发布的网站、 保存的文字、 命令运行。 在点击之前说, 选择和惊喜之间的差别 。
const target = points.find((p) => p.n === 2);
if (target.outside.length) {
console.warn("Going back will not undo:", target.outside.join(", "));
}target = next(p for p in points if p["n"] == 2)
if target["partial"]:
print("Some files were not copied: going back will not restore them.")空列表
| 原因 | 然后 |
|---|---|
| 否会 号 | rewind() 答答答答答答 session_required |
checkpoints: false | checkpoints_disabled |
| 一个子试剂 | 没有任何保留 |
| 压缩删除了信件 | 临存对话下面的点被遗忘 |
二十
届会的最后二十条信息可以重播。 旧点被删除, 存储的内容一旦一无任何提及就会被收集。