feat(coding-agent): added auto-rebase for stale atom/hashline anchors
- Added auto-rebasing for stale atom and hashline anchors within ±2 lines, with warning diagnostics. - Removed atom range-locator support and dropped `between` ops, updating docs/tests for `sub` over `set` nudges. - Changed no-op handling to track unchanged hashline edits and emit contextual hints for unchanged ranges. - Expanded Anthropic strict error handling to retry on schema-too-complex and compiled-grammar-too-large errors. - Added anchor-retargeting warning checks and updated edit tests to expect locator and range-locator rejections. - Updated python tool-call fixtures by adding `title` to executed-cell payloads and adjusting related test expectations.
This commit is contained in:
@@ -48,7 +48,7 @@ describe("python tool execution", () => {
|
||||
const tool = new PythonTool(createSession(tempDir.path(), kernelOwnerId));
|
||||
const result = await tool.execute(
|
||||
"call-id",
|
||||
{ cells: [{ code: "print('hi')" }], timeout: 5, cwd: tempDir.path(), reset: true },
|
||||
{ cells: [{ title: "hello-world", code: "print('hi')" }], timeout: 5, reset: true },
|
||||
undefined,
|
||||
undefined,
|
||||
undefined,
|
||||
|
||||
Reference in New Issue
Block a user