Skip to content

Session Sharing (Removed)

OpenCode used to let you publish a session to a share link so other people could read the conversation. That feature was removed. This page explains what changed and what to use instead.

What changed

Before v1.19.1Now
Publish a session/share in the TUIRemoved
Remove a share link/unshare in the TUIRemoved
Config option"share": "manual" / "auto" / "disabled"Removed — the key is no longer read
Existing share linksOpened in the browserNo longer served
Import from a share URLopencode import https://opncd.ai/s/…No longer supported

If your opencode.json still contains a share key, remove it — the setting is ignored and may be reported as an unknown field.

What to use instead

  • Share the outcome, not the session: commit the change, or export what matters (opencode export <sessionID> writes the session as JSON).
  • Keep the transcript locally: sessions are stored on your machine under ~/.local/share/opencode/ — see Troubleshooting for the exact paths.
  • Self-hosted, auditable collaboration: run OpenCode Enterprise with your own SSO and an internal AI gateway, so code and prompts never leave your infrastructure — see Enterprise.

For enterprise deployments

Earlier documentation described disabling or self-hosting the share pages. Those instructions no longer apply: there is no sharing service to disable or host. What remains relevant is the rest of the Enterprise guidance — centralized config, SSO, and your own AI gateway.

Historical reference

If you are reading an older tutorial that describes the share config key or the /share command, it predates v1.19.1. The official release notes for that version record the removal; see the changelog.

Next Steps