当地代理

checkpoints()

agent.checkpoints() → Promise<Point[]>

回到哪里,最古老的先——每个点都站住什么,回到什么不会消失。

freeneeds a session20 at most
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

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: falsecheckpoints_disabled
一个子试剂没有任何保留
压缩删除了信件临存对话下面的点被遗忘

二十

届会的最后二十条信息可以重播。 旧点被删除, 存储的内容一旦一无任何提及就会被收集。