|
|
@@ -23,13 +23,13 @@ When you share a conversation, opencode:
|
|
|
|
|
|
## Sharing
|
|
|
|
|
|
-You can manually share a conversation or enable automatic sharing for all new conversations.
|
|
|
+opencode supports three sharing modes that control how conversations are shared:
|
|
|
|
|
|
---
|
|
|
|
|
|
-### Manual
|
|
|
+### Manual (default)
|
|
|
|
|
|
-Use the `/share` command in any conversation to create a shareable link:
|
|
|
+By default, opencode uses manual sharing mode. Sessions are not shared automatically, but you can manually share them using the `/share` command:
|
|
|
|
|
|
```
|
|
|
/share
|
|
|
@@ -37,38 +37,35 @@ Use the `/share` command in any conversation to create a shareable link:
|
|
|
|
|
|
This will generate a unique URL that'll be copied to your clipboard.
|
|
|
|
|
|
----
|
|
|
-
|
|
|
-### Auto-share
|
|
|
-
|
|
|
-You can enable automatic sharing for all new conversations through the `autoshare` option in your [config file](/docs/config).
|
|
|
+To explicitly set manual mode in your [config file](/docs/config):
|
|
|
|
|
|
```json title="opencode.json"
|
|
|
{
|
|
|
"$schema": "https://opencode.ai/config.json",
|
|
|
- "share": "auto"
|
|
|
+ "share": "manual"
|
|
|
}
|
|
|
```
|
|
|
|
|
|
-By default, automatic sharing is disabled.
|
|
|
-
|
|
|
---
|
|
|
|
|
|
-## Un-sharing
|
|
|
+### Auto-share
|
|
|
|
|
|
-To stop sharing a conversation and remove it from public access:
|
|
|
+You can enable automatic sharing for all new conversations by setting the `share` option to `"auto"` in your [config file](/docs/config):
|
|
|
|
|
|
-```
|
|
|
-/unshare
|
|
|
+```json title="opencode.json"
|
|
|
+{
|
|
|
+ "$schema": "https://opencode.ai/config.json",
|
|
|
+ "share": "auto"
|
|
|
+}
|
|
|
```
|
|
|
|
|
|
-This will remove the share link and delete the data related to the conversation.
|
|
|
+With auto-share enabled, every new conversation will automatically be shared and a link will be generated.
|
|
|
|
|
|
---
|
|
|
|
|
|
-## Disable
|
|
|
+### Disabled
|
|
|
|
|
|
-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).
|
|
|
+You can disable sharing entirely by setting the `share` option to `"disabled"` in your [config file](/docs/config):
|
|
|
|
|
|
```json title="opencode.json"
|
|
|
{
|
|
|
@@ -81,6 +78,18 @@ To enforce this across your team for a given project, add it to the `opencode.js
|
|
|
|
|
|
---
|
|
|
|
|
|
+## Un-sharing
|
|
|
+
|
|
|
+To stop sharing a conversation and remove it from public access:
|
|
|
+
|
|
|
+```
|
|
|
+/unshare
|
|
|
+```
|
|
|
+
|
|
|
+This will remove the share link and delete the data related to the conversation.
|
|
|
+
|
|
|
+---
|
|
|
+
|
|
|
## Privacy
|
|
|
|
|
|
There are a few things to keep in mind when sharing a conversation.
|