Skip to content

acp: Use new Rust SDK - #52997

Merged
benbrandt merged 25 commits into
mainfrom
new-acp-sdk
Apr 22, 2026
Merged

acp: Use new Rust SDK#52997
benbrandt merged 25 commits into
mainfrom
new-acp-sdk

Conversation

@benbrandt

@benbrandt benbrandt commented Apr 2, 2026

Copy link
Copy Markdown
Member

Testing out Niko's new SDK design

Self-Review Checklist:

  • I've reviewed my own diff for quality, security, and reliability
  • Unsafe blocks (if any) have justifying comments
  • The content is consistent with the UI/UX checklist
  • Tests cover the new/changed behavior
  • Performance impact has been considered and is acceptable

Release Notes:

  • N/A

Bridge `SentRequest` results through a oneshot-backed future so ACP
requests can be safely awaited from GPUI foreground tasks instead of
using `block_task` outside `ConnectionTo::spawn`.
@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Apr 2, 2026
@zed-community-bot zed-community-bot Bot added the staff Pull requests authored by a current member of Zed staff label Apr 2, 2026
@benbrandt

Copy link
Copy Markdown
Member Author

Waiting on this to merge: #52910

@benbrandt
benbrandt requested a review from bennetbo April 16, 2026 20:45
@benbrandt

Copy link
Copy Markdown
Member Author

Will update to official release before merge, but I think it's ready

@benbrandt
benbrandt marked this pull request as ready for review April 16, 2026 20:45
@benbrandt
benbrandt enabled auto-merge (squash) April 22, 2026 14:47
@benbrandt
benbrandt merged commit 58e2b7e into main Apr 22, 2026
31 checks passed
@benbrandt
benbrandt deleted the new-acp-sdk branch April 22, 2026 15:03
dennismysh added a commit to cerebral-work/dreamcode that referenced this pull request May 3, 2026
The merge in e71fcf8 brought in three upstream API changes that
dreamcode-side code didn't track:

- acp::* moved into agent_client_protocol::schema (zed-industries#52997). Update
  reverie_agent's connection/observer/augment/tests to import the
  alias from the new path.
- AgentPanel::create_thread was removed in zed-industries#54774. Switch the Reverie
  menu handler in agent_ui::agent_panel to the upstream-aligned
  new_external_agent_thread pattern that the Zed Agent item next
  to it already uses.
- Dreamcode's Agent::server now requires &Entity<Project> + &App.
  Update the call site in acp_tools::restart_selected_connection
  to pass the workspace's project handle.

Workspace cargo check, dream_inspector + reverie_agent test suites
(31/31), and ./script/clippy on the pinned 1.95 toolchain are all
green after these changes.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
kathbigra pushed a commit to kathbigra/zed that referenced this pull request May 10, 2026
Testing out Niko's new SDK design

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable


Release Notes:

- N/A
Zenor27 pushed a commit to Zenor27/zed that referenced this pull request Jul 4, 2026
Testing out Niko's new SDK design

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable


Release Notes:

- N/A
jonx pushed a commit to jonx/zed-aros that referenced this pull request Jul 17, 2026
Testing out Niko's new SDK design

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable


Release Notes:

- N/A
jolutz pushed a commit to jolutz/zed that referenced this pull request Aug 8, 2026
Testing out Niko's new SDK design

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable


Release Notes:

- N/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants