Add agent thread sharing - #46140
Merged
Merged
Conversation
- Add AgentSharingFeatureFlag for gating the feature - Add SharedThread proto messages (ShareAgentThread, GetSharedAgentThread) - Add shared_threads database table with migration - Add SharedThreadId type and SeaORM entity - Add create_shared_thread and get_shared_thread database queries - Add RPC handlers for sharing and retrieving threads - Add integration tests for RPC flow - Add database tests for SQLite and PostgreSQL This implements the server-side infrastructure for agent thread sharing. Client-side implementation (SharedThread struct, UI, URL handling) to follow.
- Add 'imported' field to DbThread for tracking imported threads - Add 'imported' field to Thread and is_imported() method - SharedThread::to_db_thread() now sets imported: true - Add is_imported_thread() helper to AcpThreadView - Implement sync_thread() to fetch and reload imported threads - Add sync button (ArrowCircle) for imported threads in UI - Hide share button for imported threads to prevent re-sharing - Fix SharedThreadId to implement TryFromU64 and Nullable traits - Add tests for imported flag and sync functionality
Adds a simple modal that accepts any URL: - zed:// URLs are processed internally (agent sharing, extensions, etc.) - Other URLs are validated and opened in the default browser Useful for testing features like agent thread sharing across instances.
mikayla-maki
force-pushed
the
add-agent-sharing
branch
from
January 6, 2026 07:46
9578047 to
54d67b4
Compare
mikayla-maki
marked this pull request as ready for review
January 6, 2026 07:46
rtfeldman
approved these changes
Jan 6, 2026
rtfeldman
left a comment
Contributor
There was a problem hiding this comment.
Based on our realtime convo, approach seems good! 🤘
jonx
pushed a commit
to jonx/zed-aros
that referenced
this pull request
Jul 17, 2026
Staff only ship for now Here's the agent planning doc that guided this: https://gist.github.com/mikayla-maki/c826b7997bd85b58273c1def9397940b Release Notes: - N/A --------- Co-authored-by: Marshall Bowers <git@maxdeviant.com>
jolutz
pushed a commit
to jolutz/zed
that referenced
this pull request
Aug 8, 2026
Staff only ship for now Here's the agent planning doc that guided this: https://gist.github.com/mikayla-maki/c826b7997bd85b58273c1def9397940b Release Notes: - N/A --------- Co-authored-by: Marshall Bowers <git@maxdeviant.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Staff only ship for now
Here's the agent planning doc that guided this: https://gist.github.com/mikayla-maki/c826b7997bd85b58273c1def9397940b
Release Notes: