Fields
nintegerThe point this concerns.
skippedarray[{ path, reason }] — what was not copied, and why.
{
type: "checkpoint_partial",
n: 3,
skipped: [
{ path: "data/dump.sql", reason: "over 25 MB: recorded, not copied" },
{ path: "tmp/locked.db", reason: "unreadable" }
]
}{
"type": "checkpoint_partial",
"n": 3,
"skipped": [
{"path": "data/dump.sql", "reason": "file was too large or could not be copied"},
{"path": "tmp/locked.db", "reason": "file was too large or could not be copied"},
],
}The reasons
| Reason | Means |
|---|---|
| over 25 MB: recorded, not copied | Its size and date are kept; its content is not. A rewind cannot restore it. |
| unreadable | The file could not be read at snapshot time — locked, in use, gone. |
A workspace of more than 5 000 files is not reported here but marks the point partial in checkpoints().
Why it is said at the time
Discovering at rewind time that a 40 MB file was never copied is too late — the decision to go back was already made. Saying it when the point is taken lets an interface mark it, and lets a person move the file out of the workspace.
It is on the listing too
const points = await agent.checkpoints();
// [{ n: 3, at, text, files, partial: true, outside: [] }, …]points = agent.checkpoints()
# [{"n": 3, "at", "text", "files", "partial": True}, …]partial is the same fact, available later. And rewind() returns its own files.skipped for what could not be put back, which is a different list — one is about taking, the other about restoring.