claude-code - 💡(How to fix) Fix [Bug] File operations execute with Accept Edits disabled [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#54040Fetched 2026-04-28 06:40:52
View on GitHub
Comments
2
Participants
2
Timeline
6
Reactions
0
Author
Timeline (top)
labeled ×4commented ×2

Error Message

[{"error":"McpToolCallError: Hot restart failed: s1.hotRestart: (-32000) Unable to restart: (-32603) \n#0 HotRunner._restartService (package:flutter_tools/src/run_hot.dart:200:7)\n<asynchronous suspension>\n#1 setUpVmService.<anonymous closure> (package:flutter_tools/src/vmservice.dart:214:7)\n<asynchronous suspension>\n#2 VmService._routeRequest (package:vm_service/src/vm_service.dart:2087:14)\n<asynchronous suspension>\n#3 VmService._processRequest (package:vm_service/src/vm_service.dart:2053:20)\n<asynchronous suspension>\n\n at xb7 (/$bunfs/root/src/entrypoints/cli.js:4831:63)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-27T18:33:58.537Z"},{"error":"McpToolCallError: String "request_data" is not one of the allowed values: get_health, enter_text, send_text_input_action, get_text, scroll, scrollIntoView, set_text_entry_emulation, tap, waitFor, waitForAbsent, waitForTappable, get_offset, get_diagnostics_tree, screenshot at path #root["command"]\n at xb7 (/$bunfs/root/src/entrypoints/cli.js:4831:63)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-27T18:58:35.968Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-27T19:02:06.709Z"},{"error":"AxiosError: Request failed with status code 404\n at Al (/$bunfs/root/src/entrypoints/cli.js:114:1194)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:12696)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:865:50)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/src/entrypoints/cli.js:121:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-27T19:05:32.370Z"},{"error":"AxiosError: Request failed with status code 404\n at Al (/$bunfs/root/src/entrypoints/cli.js:114:1194)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:12696)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:865:50)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/src/entrypoints/cli.js:121:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-27T19:05:36.984Z"},{"error":"AxiosError: Request failed with status code 404\n at Al (/$bunfs/root/src/entrypoints/cli.js:114:1194)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:12696)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:865:50)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/src/entrypoints/cli.js:121:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-27T19:07:40.124Z"}]

Code Example

[{"error":"McpToolCallError: Hot restart failed: s1.hotRestart: (-32000) Unable to restart: (-32603) \n#0      HotRunner._restartService (package:flutter_tools/src/run_hot.dart:200:7)\n<asynchronous suspension>\n#1      setUpVmService.<anonymous closure> (package:flutter_tools/src/vmservice.dart:214:7)\n<asynchronous suspension>\n#2      VmService._routeRequest (package:vm_service/src/vm_service.dart:2087:14)\n<asynchronous suspension>\n#3      VmService._processRequest (package:vm_service/src/vm_service.dart:2053:20)\n<asynchronous suspension>\n\n    at xb7 (/$bunfs/root/src/entrypoints/cli.js:4831:63)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-27T18:33:58.537Z"},{"error":"McpToolCallError: String \"request_data\" is not one of the allowed values: get_health, enter_text, send_text_input_action, get_text, scroll, scrollIntoView, set_text_entry_emulation, tap, waitFor, waitForAbsent, waitForTappable, get_offset, get_diagnostics_tree, screenshot at path #root[\"command\"]\n    at xb7 (/$bunfs/root/src/entrypoints/cli.js:4831:63)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-27T18:58:35.968Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-27T19:02:06.709Z"},{"error":"AxiosError: Request failed with status code 404\n    at Al (/$bunfs/root/src/entrypoints/cli.js:114:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:12696)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:865:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:121:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-27T19:05:32.370Z"},{"error":"AxiosError: Request failed with status code 404\n    at Al (/$bunfs/root/src/entrypoints/cli.js:114:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:12696)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:865:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:121:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-27T19:05:36.984Z"},{"error":"AxiosError: Request failed with status code 404\n    at Al (/$bunfs/root/src/entrypoints/cli.js:114:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:12696)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:865:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:121:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-27T19:07:40.124Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description Accept Edits is OFF. Claude Sonnet 4.6 just created and wrote to a file with accept edits off.

Environment Info

  • Platform: linux
  • Terminal: vscode
  • Version: 2.1.119
  • Feedback ID: 0d9e199c-3a85-447c-8c92-b4a322da54d0

Errors

[{"error":"McpToolCallError: Hot restart failed: s1.hotRestart: (-32000) Unable to restart: (-32603) \n#0      HotRunner._restartService (package:flutter_tools/src/run_hot.dart:200:7)\n<asynchronous suspension>\n#1      setUpVmService.<anonymous closure> (package:flutter_tools/src/vmservice.dart:214:7)\n<asynchronous suspension>\n#2      VmService._routeRequest (package:vm_service/src/vm_service.dart:2087:14)\n<asynchronous suspension>\n#3      VmService._processRequest (package:vm_service/src/vm_service.dart:2053:20)\n<asynchronous suspension>\n\n    at xb7 (/$bunfs/root/src/entrypoints/cli.js:4831:63)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-27T18:33:58.537Z"},{"error":"McpToolCallError: String \"request_data\" is not one of the allowed values: get_health, enter_text, send_text_input_action, get_text, scroll, scrollIntoView, set_text_entry_emulation, tap, waitFor, waitForAbsent, waitForTappable, get_offset, get_diagnostics_tree, screenshot at path #root[\"command\"]\n    at xb7 (/$bunfs/root/src/entrypoints/cli.js:4831:63)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-27T18:58:35.968Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-27T19:02:06.709Z"},{"error":"AxiosError: Request failed with status code 404\n    at Al (/$bunfs/root/src/entrypoints/cli.js:114:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:12696)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:865:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:121:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-27T19:05:32.370Z"},{"error":"AxiosError: Request failed with status code 404\n    at Al (/$bunfs/root/src/entrypoints/cli.js:114:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:12696)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:865:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:121:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-27T19:05:36.984Z"},{"error":"AxiosError: Request failed with status code 404\n    at Al (/$bunfs/root/src/entrypoints/cli.js:114:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:12696)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:865:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:121:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-27T19:07:40.124Z"}]

extent analysis

TL;DR

The issue seems to be related to a tooling or configuration problem, and a potential fix could involve checking the version compatibility or configuration settings.

Guidance

  • Review the version of the tools and frameworks being used (e.g., vscode version 2.1.119) to ensure they are compatible with each other.
  • Investigate the McpToolCallError and AxiosError messages to determine if there are any specific configuration or request issues that need to be addressed.
  • Check the entrypoints/cli.js file for any potential issues or errors that could be causing the problems.
  • Consider checking the network requests and responses to see if there are any issues with the requests being sent or the responses being received.

Example

No specific code example can be provided without more context, but reviewing the entrypoints/cli.js file and the network requests and responses may help identify the issue.

Notes

The issue seems to be related to a complex tooling and configuration setup, and without more information, it's difficult to provide a specific fix. The errors suggest that there may be issues with the requests being sent or the responses being received, and investigating these areas may help resolve the problem.

Recommendation

Apply workaround: Given the complexity of the issue and the lack of specific information, it may be best to try to identify and address the specific errors and configuration issues rather than trying to apply a general fix.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [Bug] File operations execute with Accept Edits disabled [2 comments, 2 participants]