Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions packages/web/src/content/docs/cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,13 @@ List all OpenCode sessions.
opencode session list
```

Session commands are project-scoped:

- inside a Git repository, OpenCode shows sessions for that project
- outside Git, OpenCode uses the global project scope

If you are trying to access a session created in another project, run session commands from that project's directory.

##### Flags

| Flag | Short | Description |
Expand Down Expand Up @@ -429,6 +436,9 @@ opencode export [sessionID]

If you don't provide a session ID, you'll be prompted to select from available sessions.

Like `session list`, this command shows sessions for the current project scope.
For where sessions are stored on disk, see [Troubleshooting: Storage](/docs/troubleshooting#storage).

---

### import
Expand Down
Loading