MCPcopy Create free account
hub / github.com/cloudflare/agents / applyEditPlan

Method applyEditPlan

packages/shell/src/memory.ts:409–414  ·  view source on GitHub ↗
(
    plan: StateEditPlan,
    options?: StateApplyEditsOptions
  )

Source from the content-addressed store, hash-verified

407 }
408
409 async applyEditPlan(
410 plan: StateEditPlan,
411 options?: StateApplyEditsOptions
412 ): Promise<StateApplyEditsResult> {
413 return this.applyEdits(planToStateEdits(plan), options);
414 }
415
416 async applyEdits(
417 edits: StateEdit[],

Callers

nothing calls this directly

Calls 2

applyEditsMethod · 0.95
planToStateEditsFunction · 0.90

Tested by

no test coverage detected