@@ -23,52 +23,49 @@ When you share a conversation, opencode:
2323
2424## Sharing
2525
26- You can manually share a conversation or enable automatic sharing for all new conversations.
26+ opencode supports three sharing modes that control how conversations are shared:
2727
2828---
2929
30- ### Manual
30+ ### Manual (default)
3131
32- Use the ` /share ` command in any conversation to create a shareable link :
32+ By default, opencode uses manual sharing mode. Sessions are not shared automatically, but you can manually share them using the ` /share ` command :
3333
3434```
3535/share
3636```
3737
3838This will generate a unique URL that'll be copied to your clipboard.
3939
40- ---
41-
42- ### Auto-share
43-
44- You can enable automatic sharing for all new conversations through the ` autoshare ` option in your [ config file] ( /docs/config ) .
40+ To explicitly set manual mode in your [ config file] ( /docs/config ) :
4541
4642``` json title="opencode.json"
4743{
4844 "$schema" : " https://opencode.ai/config.json" ,
49- "share" : " auto "
45+ "share" : " manual "
5046}
5147```
5248
53- By default, automatic sharing is disabled.
54-
5549---
5650
57- ## Un-sharing
51+ ### Auto-share
5852
59- To stop sharing a conversation and remove it from public access :
53+ You can enable automatic sharing for all new conversations by setting the ` share ` option to ` "auto" ` in your [ config file ] ( /docs/config ) :
6054
61- ```
62- /unshare
55+ ``` json title="opencode.json"
56+ {
57+ "$schema" : " https://opencode.ai/config.json" ,
58+ "share" : " auto"
59+ }
6360```
6461
65- This will remove the share link and delete the data related to the conversation .
62+ With auto-share enabled, every new conversation will automatically be shared and a link will be generated .
6663
6764---
6865
69- ## Disable
66+ ### Disabled
7067
71- If you'd like to disable sharing entirely, you can do so by setting the ` share ` option to ` "disabled" ` in your [ config file] ( /docs/config ) .
68+ You can disable sharing entirely by setting the ` share ` option to ` "disabled" ` in your [ config file] ( /docs/config ) :
7269
7370``` json title="opencode.json"
7471{
@@ -81,6 +78,18 @@ To enforce this across your team for a given project, add it to the `opencode.js
8178
8279---
8380
81+ ## Un-sharing
82+
83+ To stop sharing a conversation and remove it from public access:
84+
85+ ```
86+ /unshare
87+ ```
88+
89+ This will remove the share link and delete the data related to the conversation.
90+
91+ ---
92+
8493## Privacy
8594
8695There are a few things to keep in mind when sharing a conversation.
0 commit comments