Skip to content

docs: document chat sharing#25592

Merged
david-fraley merged 3 commits into
mainfrom
docs/chat-sharing-coverage
Jun 1, 2026
Merged

docs: document chat sharing#25592
david-fraley merged 3 commits into
mainfrom
docs/chat-sharing-coverage

Conversation

@DanielleMaywood
Copy link
Copy Markdown
Contributor

@DanielleMaywood DanielleMaywood commented May 21, 2026

Note

🤖 This PR was written by Coder Agent on behalf of Danielle Maywood

Adds a dedicated Coder Agents Chat Sharing page instead of putting this detail in the overview.

The page covers sharing root chats with users or groups, read-only access behavior, direct-link access, inherited sub-agent chat sharing, and the deployment options for disabling chat sharing.

@github-actions
Copy link
Copy Markdown

Docs preview

📖 View docs preview for docs/ai-coder/agents/index.md

@DanielleMaywood DanielleMaywood force-pushed the docs/chat-sharing-coverage branch from 8a0d976 to 091ee4c Compare May 21, 2026 21:52
@DanielleMaywood DanielleMaywood changed the title docs(docs/ai-coder/agents): document chat sharing docs: document chat sharing May 21, 2026
@DanielleMaywood DanielleMaywood force-pushed the docs/chat-sharing-coverage branch 4 times, most recently from 45cfe0e to b968ad7 Compare May 22, 2026 09:57
@DanielleMaywood DanielleMaywood force-pushed the docs/chat-sharing-coverage branch from b968ad7 to e272ec6 Compare May 22, 2026 10:00
@DanielleMaywood DanielleMaywood marked this pull request as ready for review May 22, 2026 11:09
Comment thread docs/ai-coder/agents/chat-sharing.md Outdated

## Share a chat

1. Open the root chat you want to share on the **Agents** page.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Root is unfamiliar to readers.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 This comment was written by Coder Agent on behalf of Danielle Maywood 🤖

Switched to "top-level chats" and "sub-agent chats" and merged the inheritance note into the same step. Fixed in 4f522e1.

Comment thread docs/ai-coder/agents/chat-sharing.md Outdated

Coder does not create a separate share link or notify recipients. Shared users and groups must open the chat from the URL you send them.

Sub-agent child chats inherit sharing from the root chat and cannot be shared separately.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we don’t surface the chat in the sidebar, they are inaccessible for the time being unless you find them in the chat history and access them that way.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 This comment was written by Coder Agent on behalf of Danielle Maywood 🤖

Good catch. Added a note that recipients reach sub-agent chats by following sub-agent links inside the parent chat or by opening a direct URL, since shared chats don't appear in their normal chat list. Fixed in 4f522e1.

Comment thread docs/ai-coder/agents/chat-sharing.md Outdated

## Shared chat access

Shared users can open the chat from a direct link, view messages, stream live updates, and download chat attachments.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hope we’re not sharing users.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 This comment was written by Coder Agent on behalf of Danielle Maywood 🤖

"Shared users" is gone. Used "recipients" for the sending step and "viewers" for the read-only access description. Fixed in 4f522e1.

Comment thread docs/ai-coder/agents/chat-sharing.md Outdated

Shared users can open the chat from a direct link, view messages, stream live updates, and download chat attachments.

Shared chats do not appear in the recipient's normal chat list. Read-only users cannot continue the chat, edit messages, archive it, regenerate its title, or change sharing.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It subject in archive feels a bit misplaced after edit messages. Consider reordering or restructuring. Change sharing => settings/preferences?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 This comment was written by Coder Agent on behalf of Danielle Maywood 🤖

Reordered the read-only restrictions and rephrased "change sharing" as "change its sharing settings". Fixed in 4f522e1.

@DanielleMaywood
Copy link
Copy Markdown
Contributor Author

@mafredri Apologies for the agent response, but I think the new change is an improvement.

@DanielleMaywood DanielleMaywood requested a review from mafredri May 27, 2026 15:10
Copy link
Copy Markdown
Collaborator

@david-fraley david-fraley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally ok with this, but have some questions/comments for ya


## Disable chat sharing

Administrators can disable chat sharing for a deployment with `--disable-chat-sharing`, `CODER_DISABLE_CHAT_SHARING`, or `disableChatSharing`. When disabled, only chat owners can access their chats.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there an in UI flag for this? Or does it have to be disabled via deployment config.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not believe so, although I think we probably should to match Workspace Sharing, which is available at /organizations/coder/settings


Chat sharing lets you give other users or groups read-only access to a Coder Agents conversation.

## Share a chat
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it worth calling out how to do this programmatically?


## Share a chat

1. Open the chat you want to share on the **Agents** page. Only top-level chats can be shared; sub-agent chats inherit sharing from their parent.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nit about ; use here, looks sloppy.

@david-fraley david-fraley merged commit 372265a into main Jun 1, 2026
26 checks passed
@david-fraley david-fraley deleted the docs/chat-sharing-coverage branch June 1, 2026 17:29
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants