simulate_chain
Simulates a sequence of edits step-by-step, returning diagnostics to identify the last safe step, enabling safe partial application of multi-step changes.
Instructions
Apply a sequence of edits and evaluate after each step. Returns per-step diagnostics and identifies the safe-to-apply-through step (last step with net delta == 0). Use this to find the safest partial application of a multi-step change. All line/column positions in each edit are 1-indexed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edits | Yes | ||
| session_id | Yes | ||
| timeout_ms | No |