This repository was archived by the owner on May 15, 2026. It is now read-only.
Commit db8e356
committed
fix(read_file): default anchor_line to offset in indentation mode
When mode='indentation' but anchor_line is not provided, now defaults to
the offset parameter (or 1 if neither is provided), rather than silently
falling back to slice mode. This aligns with the documented behavior in
packages/types/src/tool-params.ts.1 parent 4a95547 commit db8e356
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
| 245 | + | |
246 | 246 | | |
| 247 | + | |
| 248 | + | |
247 | 249 | | |
248 | | - | |
| 250 | + | |
249 | 251 | | |
250 | 252 | | |
251 | 253 | | |
| |||
0 commit comments