Skip to content

acp tools: Add button to copy all observed messages - #40076

Merged
agu-z merged 6 commits into
zed-industries:mainfrom
yordis:yordis/add-copy-acp-thread
Oct 14, 2025
Merged

acp tools: Add button to copy all observed messages#40076
agu-z merged 6 commits into
zed-industries:mainfrom
yordis:yordis/add-copy-acp-thread

Conversation

@yordis

@yordis yordis commented Oct 13, 2025

Copy link
Copy Markdown
Contributor

Added a "Copy All Messages" button to the ACP logs toolbar that copies all messages in the watched stream to the clipboard as structured JSON.

Motivation

When troubleshooting ACP protocol implementations, it's helpful to provide the entire message thread to an LLM for analysis. Previously, I had to copy individual messages one at a time, which was tedious and time-consuming. This feature allows copying the entire conversation history in a single click.

Release Notes:

  • Added: Copy All Messages button to ACP logs view

@cla-bot

cla-bot Bot commented Oct 13, 2025

Copy link
Copy Markdown

We require contributors to sign our Contributor License Agreement, and we don't have @yordis on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.

@yordis

yordis commented Oct 13, 2025

Copy link
Copy Markdown
Contributor Author
Screen.Recording.2025-10-13.at.1.35.29.AM.mov

@yordis

yordis commented Oct 13, 2025

Copy link
Copy Markdown
Contributor Author

@cla-bot check

@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Oct 13, 2025
@cla-bot

cla-bot Bot commented Oct 13, 2025

Copy link
Copy Markdown

The cla-bot has been summoned, and re-checked this pull request!

@yordis
yordis marked this pull request as ready for review October 13, 2025 05:39
Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
@yordis
yordis force-pushed the yordis/add-copy-acp-thread branch from b6fe59e to 903b979 Compare October 13, 2025 05:52
@SomeoneToIgnore SomeoneToIgnore added the area:ai Related to Agent Panel, Edit Prediction, Copilot, or other AI features label Oct 13, 2025
@benbrandt
benbrandt requested a review from agu-z October 14, 2025 11:30
@agu-z

agu-z commented Oct 14, 2025

Copy link
Copy Markdown
Contributor

Hey @yordis! This is a great addition!

I pushed some UX improvements, and tweaks to the output JSON to make it look more like the raw JSON-RPC messages. I kept type and direction though, as those seem useful for debugging.

I also renamed "Copy Thread" to "Copy All Messages", because we think of "thread" as the actual LLM conversation/request, and this is at the ACP stream level.

Merging when CI is green. Thank you!

@agu-z agu-z changed the title Implement copy_thread method in AcpTools acp tools: Add button to copy all stream messages Oct 14, 2025
@agu-z agu-z changed the title acp tools: Add button to copy all stream messages acp tools: Add button to copy all observed messages Oct 14, 2025
@agu-z
agu-z enabled auto-merge (squash) October 14, 2025 13:41
@yordis

yordis commented Oct 14, 2025

Copy link
Copy Markdown
Contributor Author

TIL thanks @agu-z

@agu-z
agu-z disabled auto-merge October 14, 2025 14:55
@agu-z
agu-z enabled auto-merge (squash) October 14, 2025 14:55
@agu-z
agu-z merged commit 8c7fb26 into zed-industries:main Oct 14, 2025
42 of 44 checks passed
jolutz pushed a commit to jolutz/zed that referenced this pull request Aug 8, 2026
…0076)

Added a "Copy All Messages" button to the ACP logs toolbar that copies
all messages in the watched stream to the clipboard as structured JSON.

## Motivation

When troubleshooting ACP protocol implementations, it's helpful to
provide the entire message thread to an LLM for analysis. Previously, I
had to copy individual messages one at a time, which was tedious and
time-consuming. This feature allows copying the entire conversation
history in a single click.

Release Notes:

- Added: Copy All Messages button to ACP logs view

---------

Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
Co-authored-by: Agus Zubiaga <agus@zed.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ai Related to Agent Panel, Edit Prediction, Copilot, or other AI features cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants