Skip to content

fix: add support for ACP writeTextFile clientCapability#22674

Draft
aprogramq wants to merge 2 commits intoanomalyco:devfrom
aprogramq:fix-write-text-file-capability
Draft

fix: add support for ACP writeTextFile clientCapability#22674
aprogramq wants to merge 2 commits intoanomalyco:devfrom
aprogramq:fix-write-text-file-capability

Conversation

@aprogramq
Copy link
Copy Markdown

Issue for this PR

Fixes #4240

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

This fixes ACP file syncing for clients that advertise the fs.writeTextFile capability.
The change stores clientCapabilities during ACP initialization, includes sessionID in file.edited events, and on file edits sends the updated file contents back to the ACP client through writeTextFile.

The SDK/OpenAPI types were updated as part of the event shape change.

How did you verify your code works?

Zed editor

2026-04-13-152258_hyprshot

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

I'm reopening this pull request 6902, as it was closed due to the time limit expiring. The issue is still relevant.

@aprogramq aprogramq force-pushed the fix-write-text-file-capability branch from 9400ac8 to e394255 Compare April 25, 2026 13:57
@aprogramq aprogramq force-pushed the fix-write-text-file-capability branch 2 times, most recently from d8d7a58 to 821b0e5 Compare May 3, 2026 00:13
@aprogramq aprogramq marked this pull request as draft May 6, 2026 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

acp, zed: does not support native changes review

1 participant