MCPcopy Create free account
hub / github.com/agenticsorg/edge-agents / createCheckpoint

Method createCheckpoint

scripts/sparc2/src/agent/agent.ts:167–175  ·  view source on GitHub ↗

* Create a checkpoint * @param name Name of the checkpoint * @returns Checkpoint hash

(name: string)

Source from the content-addressed store, hash-verified

165 * @returns Checkpoint hash
166 */
167 async createCheckpoint(name: string): Promise<string> {
168 const hash = await createCheckpoint(name);
169
170 await logInfo(`Created checkpoint: ${name}`, {
171 hash,
172 });
173
174 return hash;
175 }
176
177 /**
178 * Rollback changes

Callers 3

checkpointCommandFunction · 0.95
planAndExecuteMethod · 0.95
handleCheckpointFunction · 0.80

Calls 2

createCheckpointFunction · 0.90
logInfoFunction · 0.90

Tested by

no test coverage detected