Skip to content

fix: add support for ACP writeTextFile clientCapability#22609

Closed
aprogramq wants to merge 1 commit intoanomalyco:devfrom
aprogramq:fix-write-text-file-capability
Closed

fix: add support for ACP writeTextFile clientCapability#22609
aprogramq wants to merge 1 commit 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 marked this pull request as draft April 15, 2026 11:17
@aprogramq aprogramq force-pushed the fix-write-text-file-capability branch 4 times, most recently from 91c27fb to 6c0366c Compare April 15, 2026 22:32
@aprogramq aprogramq force-pushed the fix-write-text-file-capability branch from 6c0366c to 9400ac8 Compare April 15, 2026 22:41
@aprogramq aprogramq closed this Apr 15, 2026
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