From 1efef3542f067b93d1852358ecfcc5742c79114f Mon Sep 17 00:00:00 2001 From: MaheshtheDev <38828053+MaheshtheDev@users.noreply.github.com> Date: Thu, 29 Oct 2026 15:35:14 +0000 Subject: [PATCH 1/8] docs: sync plugin sign-in with OAuth login Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- apps/docs/integrations/claude-code.mdx | 6 ++++-- apps/docs/integrations/codex.mdx | 10 +++++++++- apps/docs/integrations/cursor.mdx | 4 ++-- apps/docs/integrations/muse-code.mdx | 4 ++-- apps/docs/integrations/opencode.mdx | 6 +++++- 5 files changed, 22 insertions(+), 8 deletions(-) diff --git a/apps/docs/integrations/claude-code.mdx b/apps/docs/integrations/claude-code.mdx index 1bce1aac2..f0d2f5d37 100644 --- a/apps/docs/integrations/claude-code.mdx +++ b/apps/docs/integrations/claude-code.mdx @@ -42,7 +42,9 @@ icon: "/images/claude-code-icon.svg" ## Authenticate -Start a Claude Code session and the plugin opens a browser login, then saves the key to `~/.supermemory-claude/credentials.json`. +Start a Claude Code session and the plugin opens Supermemory's authorization page in your browser. Sign in, choose the access to grant, and approve. You have 5 minutes to approve. If the session starts before you finish, memory turns on from your next message. If the browser does not open, the session message prints a `login` command to run. + +The plugin signs in with OAuth and saves its tokens to `~/.supermemory-claude/credentials.json`. Tokens refresh automatically. The plugin shows up on the [Agents page](https://console.supermemory.ai/agents) in the console, where you can change its access or disconnect it. Or create a Supermemory API key from the [API Keys](https://console.supermemory.ai/keys) page in the console and add it to your shell profile: @@ -140,7 +142,7 @@ Per-repo overrides in `.claude/.supermemory-claude/config.json`. Create the file | `namespace` | Override the project container. Takes precedence over `repoContainerTag` | | `repoContainerTag` | Override the project container (checked before `SUPERMEMORY_REPO_TAG`) | -API key precedence is `SUPERMEMORY_CC_API_KEY`, project `apiKey`, then `~/.supermemory-claude/credentials.json`. +Credential precedence is `SUPERMEMORY_CC_API_KEY`, project `apiKey`, then the browser login saved in `~/.supermemory-claude/credentials.json`. ## Next steps diff --git a/apps/docs/integrations/codex.mdx b/apps/docs/integrations/codex.mdx index 489fce243..1d1697c82 100644 --- a/apps/docs/integrations/codex.mdx +++ b/apps/docs/integrations/codex.mdx @@ -31,7 +31,13 @@ Restart Codex CLI after installing. ## Authenticate -**Browser auth is preferred.** Start Codex CLI — a browser window opens to authenticate with Supermemory. +**Browser auth is preferred.** Start Codex CLI and Supermemory's authorization page opens in your browser. Sign in, choose the access to grant, and approve. To sign in from a terminal instead: + +```bash +npx codex-supermemory@latest login +``` + +The plugin signs in with OAuth, saves its tokens to `~/.codex/supermemory/credentials.json`, and refreshes them automatically. `npx codex-supermemory@latest status` shows how it is authenticated. `npx codex-supermemory@latest logout` revokes the login and pauses automatic browser login until you run `login` again. You can also change the plugin's access or disconnect it from the [Agents page](https://console.supermemory.ai/agents) in the console. Alternatively, set an API key from [API Keys](https://console.supermemory.ai/keys): @@ -56,6 +62,8 @@ Alternatively, set an API key from [API Keys](https://console.supermemory.ai/key +An API key from `SUPERMEMORY_CODEX_API_KEY` or `apiKey` in `~/.codex/supermemory.json` takes precedence over the browser login. + ## How it works Once installed, the plugin runs on every Codex session: diff --git a/apps/docs/integrations/cursor.mdx b/apps/docs/integrations/cursor.mdx index 81f1bee1d..5416ae879 100644 --- a/apps/docs/integrations/cursor.mdx +++ b/apps/docs/integrations/cursor.mdx @@ -31,7 +31,7 @@ Open a new chat in Cursor and run: /supermemory-setup ``` -A browser window opens. Sign in to Supermemory and you are done. +Supermemory's authorization page opens in your browser. Sign in, choose the access to grant, and approve. The plugin signs in with OAuth and refreshes its tokens automatically. You can change its access or disconnect it from the [Agents page](https://console.supermemory.ai/agents) in the console. As a fallback, set an API key from [API Keys](https://console.supermemory.ai/keys): @@ -71,7 +71,7 @@ node "${CURSOR_PLUGIN_ROOT}/dist/cli.js" logout `CURSOR_PLUGIN_ROOT` is set for plugin hooks. If it is empty in your shell, run `node dist/cli.js ` from the installed plugin directory. -Credentials are stored in `~/.supermemory-cursor/credentials.json`. +Credentials are stored in `~/.supermemory-cursor/credentials.json`. `logout` revokes the browser login and removes them. An API key from `SUPERMEMORY_API_KEY` or a config `apiKey` takes precedence over the browser login. ## How it works diff --git a/apps/docs/integrations/muse-code.mdx b/apps/docs/integrations/muse-code.mdx index 8eaa0d63b..3b6039f36 100644 --- a/apps/docs/integrations/muse-code.mdx +++ b/apps/docs/integrations/muse-code.mdx @@ -38,9 +38,9 @@ muse plugins approve supermemory Muse runs hooks with a **cleared environment**, so an exported API key in your shell does not reach them. Auth is file-based. -The first session opens a browser login and writes `~/.supermemory-muse/credentials.json`. +The first session opens Supermemory's authorization page in your browser. Sign in, choose the access to grant, and approve. The plugin signs in with OAuth, writes its tokens to `~/.supermemory-muse/credentials.json`, and refreshes them automatically. -If you already logged in through the [Claude Code plugin](/integrations/claude-code), that key is reused from `~/.supermemory-claude/credentials.json`. +If `~/.supermemory-claude/credentials.json` holds an API key from the [Claude Code plugin](/integrations/claude-code), Muse Code reuses that key instead. A Claude Code browser login is not shared, so Muse Code asks you to sign in on its own. Or write the file yourself with a key from [API Keys](https://console.supermemory.ai/keys): diff --git a/apps/docs/integrations/opencode.mdx b/apps/docs/integrations/opencode.mdx index a51fc5e98..518aaa3cf 100644 --- a/apps/docs/integrations/opencode.mdx +++ b/apps/docs/integrations/opencode.mdx @@ -31,6 +31,8 @@ Browser login (recommended): bunx opencode-supermemory@latest login ``` +This opens Supermemory's authorization page. Sign in, choose the access to grant, and approve. The plugin signs in with OAuth, saves its tokens to `~/.supermemory-opencode/credentials.json`, and refreshes them automatically. Running OpenCode sessions pick up a login or logout without a restart. You can change the plugin's access or disconnect it from the [Agents page](https://console.supermemory.ai/agents) in the console. + Check the connection any time: ```bash @@ -60,6 +62,8 @@ Or set an API key manually from the [API Keys](https://console.supermemory.ai/ke +`SUPERMEMORY_API_KEY` or `apiKey` in `~/.config/opencode/supermemory.jsonc` takes precedence over the browser login. + OpenCode V1 and OpenCode 2 read different keys from `~/.config/opencode/opencode.jsonc`. Use the config for the version you run: @@ -127,7 +131,7 @@ The installer adds these in-chat commands: |---------|-------------| | `/supermemory-index` | Explore and index your codebase structure into memory (`/supermemory-init` is an alias) | | `/supermemory-login` | Authenticate with Supermemory in the browser | -| `/supermemory-logout` | Clear stored credentials | +| `/supermemory-logout` | Revoke the browser login and clear stored credentials | | `/supermemory-status` | Show the Supermemory connection status | ## Tools From 28c7fcaacd36ea1dcf75a37a7c00b3d9e8c971d9 Mon Sep 17 00:00:00 2001 From: MaheshtheDev <38828053+MaheshtheDev@users.noreply.github.com> Date: Thu, 29 Oct 2026 15:36:31 +0000 Subject: [PATCH 2/8] chore: retrigger Mintlify deployment Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> From f740052ecee787373a00dbb0e71f2ff470b0d1f4 Mon Sep 17 00:00:00 2001 From: MaheshtheDev <38828053+MaheshtheDev@users.noreply.github.com> Date: Thu, 29 Oct 2026 15:48:00 +0000 Subject: [PATCH 3/8] docs: retrigger Mintlify preview build Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- apps/docs/integrations/claude-code.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/docs/integrations/claude-code.mdx b/apps/docs/integrations/claude-code.mdx index f0d2f5d37..5ec42a383 100644 --- a/apps/docs/integrations/claude-code.mdx +++ b/apps/docs/integrations/claude-code.mdx @@ -155,3 +155,4 @@ Credential precedence is `SUPERMEMORY_CC_API_KEY`, project `apiKey`, then the br Memory for your Cursor chats. + From be163d0c5c31102702a9c8515033de788459087a Mon Sep 17 00:00:00 2001 From: MaheshtheDev <38828053+MaheshtheDev@users.noreply.github.com> Date: Thu, 29 Oct 2026 15:48:00 +0000 Subject: [PATCH 4/8] Revert "docs: retrigger Mintlify preview build" This reverts commit f740052ecee787373a00dbb0e71f2ff470b0d1f4. --- apps/docs/integrations/claude-code.mdx | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/docs/integrations/claude-code.mdx b/apps/docs/integrations/claude-code.mdx index 5ec42a383..f0d2f5d37 100644 --- a/apps/docs/integrations/claude-code.mdx +++ b/apps/docs/integrations/claude-code.mdx @@ -155,4 +155,3 @@ Credential precedence is `SUPERMEMORY_CC_API_KEY`, project `apiKey`, then the br Memory for your Cursor chats. - From c89926daf4f23e9d9a2aca0e23dadb6a8e6f36e4 Mon Sep 17 00:00:00 2001 From: MaheshtheDev <38828053+MaheshtheDev@users.noreply.github.com> Date: Thu, 29 Oct 2026 16:34:18 +0000 Subject: [PATCH 5/8] docs: drop token refresh detail and align the Agents page line across plugin pages Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- apps/docs/integrations/claude-code.mdx | 2 +- apps/docs/integrations/codex.mdx | 2 +- apps/docs/integrations/cursor.mdx | 2 +- apps/docs/integrations/muse-code.mdx | 2 +- apps/docs/integrations/opencode.mdx | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/docs/integrations/claude-code.mdx b/apps/docs/integrations/claude-code.mdx index f0d2f5d37..e291327fb 100644 --- a/apps/docs/integrations/claude-code.mdx +++ b/apps/docs/integrations/claude-code.mdx @@ -44,7 +44,7 @@ icon: "/images/claude-code-icon.svg" Start a Claude Code session and the plugin opens Supermemory's authorization page in your browser. Sign in, choose the access to grant, and approve. You have 5 minutes to approve. If the session starts before you finish, memory turns on from your next message. If the browser does not open, the session message prints a `login` command to run. -The plugin signs in with OAuth and saves its tokens to `~/.supermemory-claude/credentials.json`. Tokens refresh automatically. The plugin shows up on the [Agents page](https://console.supermemory.ai/agents) in the console, where you can change its access or disconnect it. +The plugin signs in with OAuth, so there is no API key to manage. You can manage the plugin, change its access, or disconnect it from the [Agents page](https://console.supermemory.ai/agents) in the console. Or create a Supermemory API key from the [API Keys](https://console.supermemory.ai/keys) page in the console and add it to your shell profile: diff --git a/apps/docs/integrations/codex.mdx b/apps/docs/integrations/codex.mdx index 1d1697c82..9cb83c2b0 100644 --- a/apps/docs/integrations/codex.mdx +++ b/apps/docs/integrations/codex.mdx @@ -37,7 +37,7 @@ Restart Codex CLI after installing. npx codex-supermemory@latest login ``` -The plugin signs in with OAuth, saves its tokens to `~/.codex/supermemory/credentials.json`, and refreshes them automatically. `npx codex-supermemory@latest status` shows how it is authenticated. `npx codex-supermemory@latest logout` revokes the login and pauses automatic browser login until you run `login` again. You can also change the plugin's access or disconnect it from the [Agents page](https://console.supermemory.ai/agents) in the console. +The plugin signs in with OAuth. `npx codex-supermemory@latest status` shows how it is authenticated. `npx codex-supermemory@latest logout` revokes the login and pauses automatic browser login until you run `login` again. You can manage the plugin, change its access, or disconnect it from the [Agents page](https://console.supermemory.ai/agents) in the console. Alternatively, set an API key from [API Keys](https://console.supermemory.ai/keys): diff --git a/apps/docs/integrations/cursor.mdx b/apps/docs/integrations/cursor.mdx index 5416ae879..cbb1959b9 100644 --- a/apps/docs/integrations/cursor.mdx +++ b/apps/docs/integrations/cursor.mdx @@ -31,7 +31,7 @@ Open a new chat in Cursor and run: /supermemory-setup ``` -Supermemory's authorization page opens in your browser. Sign in, choose the access to grant, and approve. The plugin signs in with OAuth and refreshes its tokens automatically. You can change its access or disconnect it from the [Agents page](https://console.supermemory.ai/agents) in the console. +Supermemory's authorization page opens in your browser. Sign in, choose the access to grant, and approve. The plugin signs in with OAuth. You can manage the plugin, change its access, or disconnect it from the [Agents page](https://console.supermemory.ai/agents) in the console. As a fallback, set an API key from [API Keys](https://console.supermemory.ai/keys): diff --git a/apps/docs/integrations/muse-code.mdx b/apps/docs/integrations/muse-code.mdx index 3b6039f36..86acfb82b 100644 --- a/apps/docs/integrations/muse-code.mdx +++ b/apps/docs/integrations/muse-code.mdx @@ -38,7 +38,7 @@ muse plugins approve supermemory Muse runs hooks with a **cleared environment**, so an exported API key in your shell does not reach them. Auth is file-based. -The first session opens Supermemory's authorization page in your browser. Sign in, choose the access to grant, and approve. The plugin signs in with OAuth, writes its tokens to `~/.supermemory-muse/credentials.json`, and refreshes them automatically. +The first session opens Supermemory's authorization page in your browser. Sign in, choose the access to grant, and approve. The plugin signs in with OAuth. You can manage the plugin, change its access, or disconnect it from the [Agents page](https://console.supermemory.ai/agents) in the console. If `~/.supermemory-claude/credentials.json` holds an API key from the [Claude Code plugin](/integrations/claude-code), Muse Code reuses that key instead. A Claude Code browser login is not shared, so Muse Code asks you to sign in on its own. diff --git a/apps/docs/integrations/opencode.mdx b/apps/docs/integrations/opencode.mdx index 518aaa3cf..f711d2e42 100644 --- a/apps/docs/integrations/opencode.mdx +++ b/apps/docs/integrations/opencode.mdx @@ -31,7 +31,7 @@ Browser login (recommended): bunx opencode-supermemory@latest login ``` -This opens Supermemory's authorization page. Sign in, choose the access to grant, and approve. The plugin signs in with OAuth, saves its tokens to `~/.supermemory-opencode/credentials.json`, and refreshes them automatically. Running OpenCode sessions pick up a login or logout without a restart. You can change the plugin's access or disconnect it from the [Agents page](https://console.supermemory.ai/agents) in the console. +This opens Supermemory's authorization page. Sign in, choose the access to grant, and approve. The plugin signs in with OAuth. Running OpenCode sessions pick up a login or logout without a restart. You can manage the plugin, change its access, or disconnect it from the [Agents page](https://console.supermemory.ai/agents) in the console. Check the connection any time: From 403f1e4c8438381d9f542820debde0d54f295b16 Mon Sep 17 00:00:00 2001 From: MaheshtheDev <38828053+MaheshtheDev@users.noreply.github.com> Date: Thu, 29 Oct 2026 16:35:39 +0000 Subject: [PATCH 6/8] docs: retrigger Mintlify preview build Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- apps/docs/integrations/claude-code.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/docs/integrations/claude-code.mdx b/apps/docs/integrations/claude-code.mdx index e291327fb..8db2856ca 100644 --- a/apps/docs/integrations/claude-code.mdx +++ b/apps/docs/integrations/claude-code.mdx @@ -155,3 +155,4 @@ Credential precedence is `SUPERMEMORY_CC_API_KEY`, project `apiKey`, then the br Memory for your Cursor chats. + From 135881baaf71bed9c44d683d843ad0ebe3af521b Mon Sep 17 00:00:00 2001 From: MaheshtheDev <38828053+MaheshtheDev@users.noreply.github.com> Date: Thu, 29 Oct 2026 16:35:57 +0000 Subject: [PATCH 7/8] Revert "docs: retrigger Mintlify preview build" This reverts commit 403f1e4c8438381d9f542820debde0d54f295b16. --- apps/docs/integrations/claude-code.mdx | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/docs/integrations/claude-code.mdx b/apps/docs/integrations/claude-code.mdx index 8db2856ca..e291327fb 100644 --- a/apps/docs/integrations/claude-code.mdx +++ b/apps/docs/integrations/claude-code.mdx @@ -155,4 +155,3 @@ Credential precedence is `SUPERMEMORY_CC_API_KEY`, project `apiKey`, then the br Memory for your Cursor chats. - From 24814bcca90520b97a7b90e48eb6431be1486910 Mon Sep 17 00:00:00 2001 From: MaheshtheDev <38828053+MaheshtheDev@users.noreply.github.com> Date: Thu, 29 Oct 2026 20:38:35 +0000 Subject: [PATCH 8/8] docs: keep only the Agents page line on the Cursor, OpenCode and Muse Code pages Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- apps/docs/integrations/claude-code.mdx | 6 ++---- apps/docs/integrations/codex.mdx | 10 +--------- apps/docs/integrations/cursor.mdx | 6 ++++-- apps/docs/integrations/muse-code.mdx | 6 ++++-- apps/docs/integrations/opencode.mdx | 6 ++---- 5 files changed, 13 insertions(+), 21 deletions(-) diff --git a/apps/docs/integrations/claude-code.mdx b/apps/docs/integrations/claude-code.mdx index e291327fb..1bce1aac2 100644 --- a/apps/docs/integrations/claude-code.mdx +++ b/apps/docs/integrations/claude-code.mdx @@ -42,9 +42,7 @@ icon: "/images/claude-code-icon.svg" ## Authenticate -Start a Claude Code session and the plugin opens Supermemory's authorization page in your browser. Sign in, choose the access to grant, and approve. You have 5 minutes to approve. If the session starts before you finish, memory turns on from your next message. If the browser does not open, the session message prints a `login` command to run. - -The plugin signs in with OAuth, so there is no API key to manage. You can manage the plugin, change its access, or disconnect it from the [Agents page](https://console.supermemory.ai/agents) in the console. +Start a Claude Code session and the plugin opens a browser login, then saves the key to `~/.supermemory-claude/credentials.json`. Or create a Supermemory API key from the [API Keys](https://console.supermemory.ai/keys) page in the console and add it to your shell profile: @@ -142,7 +140,7 @@ Per-repo overrides in `.claude/.supermemory-claude/config.json`. Create the file | `namespace` | Override the project container. Takes precedence over `repoContainerTag` | | `repoContainerTag` | Override the project container (checked before `SUPERMEMORY_REPO_TAG`) | -Credential precedence is `SUPERMEMORY_CC_API_KEY`, project `apiKey`, then the browser login saved in `~/.supermemory-claude/credentials.json`. +API key precedence is `SUPERMEMORY_CC_API_KEY`, project `apiKey`, then `~/.supermemory-claude/credentials.json`. ## Next steps diff --git a/apps/docs/integrations/codex.mdx b/apps/docs/integrations/codex.mdx index 9cb83c2b0..489fce243 100644 --- a/apps/docs/integrations/codex.mdx +++ b/apps/docs/integrations/codex.mdx @@ -31,13 +31,7 @@ Restart Codex CLI after installing. ## Authenticate -**Browser auth is preferred.** Start Codex CLI and Supermemory's authorization page opens in your browser. Sign in, choose the access to grant, and approve. To sign in from a terminal instead: - -```bash -npx codex-supermemory@latest login -``` - -The plugin signs in with OAuth. `npx codex-supermemory@latest status` shows how it is authenticated. `npx codex-supermemory@latest logout` revokes the login and pauses automatic browser login until you run `login` again. You can manage the plugin, change its access, or disconnect it from the [Agents page](https://console.supermemory.ai/agents) in the console. +**Browser auth is preferred.** Start Codex CLI — a browser window opens to authenticate with Supermemory. Alternatively, set an API key from [API Keys](https://console.supermemory.ai/keys): @@ -62,8 +56,6 @@ Alternatively, set an API key from [API Keys](https://console.supermemory.ai/key -An API key from `SUPERMEMORY_CODEX_API_KEY` or `apiKey` in `~/.codex/supermemory.json` takes precedence over the browser login. - ## How it works Once installed, the plugin runs on every Codex session: diff --git a/apps/docs/integrations/cursor.mdx b/apps/docs/integrations/cursor.mdx index cbb1959b9..0fdcc6283 100644 --- a/apps/docs/integrations/cursor.mdx +++ b/apps/docs/integrations/cursor.mdx @@ -31,7 +31,9 @@ Open a new chat in Cursor and run: /supermemory-setup ``` -Supermemory's authorization page opens in your browser. Sign in, choose the access to grant, and approve. The plugin signs in with OAuth. You can manage the plugin, change its access, or disconnect it from the [Agents page](https://console.supermemory.ai/agents) in the console. +A browser window opens. Sign in to Supermemory and you are done. + +You can manage the plugin, change its access, or disconnect it from the [Agents page](https://console.supermemory.ai/agents) in the console. As a fallback, set an API key from [API Keys](https://console.supermemory.ai/keys): @@ -71,7 +73,7 @@ node "${CURSOR_PLUGIN_ROOT}/dist/cli.js" logout `CURSOR_PLUGIN_ROOT` is set for plugin hooks. If it is empty in your shell, run `node dist/cli.js ` from the installed plugin directory. -Credentials are stored in `~/.supermemory-cursor/credentials.json`. `logout` revokes the browser login and removes them. An API key from `SUPERMEMORY_API_KEY` or a config `apiKey` takes precedence over the browser login. +Credentials are stored in `~/.supermemory-cursor/credentials.json`. ## How it works diff --git a/apps/docs/integrations/muse-code.mdx b/apps/docs/integrations/muse-code.mdx index 86acfb82b..08d6e6f15 100644 --- a/apps/docs/integrations/muse-code.mdx +++ b/apps/docs/integrations/muse-code.mdx @@ -38,9 +38,11 @@ muse plugins approve supermemory Muse runs hooks with a **cleared environment**, so an exported API key in your shell does not reach them. Auth is file-based. -The first session opens Supermemory's authorization page in your browser. Sign in, choose the access to grant, and approve. The plugin signs in with OAuth. You can manage the plugin, change its access, or disconnect it from the [Agents page](https://console.supermemory.ai/agents) in the console. +The first session opens a browser login and writes `~/.supermemory-muse/credentials.json`. -If `~/.supermemory-claude/credentials.json` holds an API key from the [Claude Code plugin](/integrations/claude-code), Muse Code reuses that key instead. A Claude Code browser login is not shared, so Muse Code asks you to sign in on its own. +You can manage the plugin, change its access, or disconnect it from the [Agents page](https://console.supermemory.ai/agents) in the console. + +If you already logged in through the [Claude Code plugin](/integrations/claude-code), that key is reused from `~/.supermemory-claude/credentials.json`. Or write the file yourself with a key from [API Keys](https://console.supermemory.ai/keys): diff --git a/apps/docs/integrations/opencode.mdx b/apps/docs/integrations/opencode.mdx index f711d2e42..8de6db972 100644 --- a/apps/docs/integrations/opencode.mdx +++ b/apps/docs/integrations/opencode.mdx @@ -31,7 +31,7 @@ Browser login (recommended): bunx opencode-supermemory@latest login ``` -This opens Supermemory's authorization page. Sign in, choose the access to grant, and approve. The plugin signs in with OAuth. Running OpenCode sessions pick up a login or logout without a restart. You can manage the plugin, change its access, or disconnect it from the [Agents page](https://console.supermemory.ai/agents) in the console. +You can manage the plugin, change its access, or disconnect it from the [Agents page](https://console.supermemory.ai/agents) in the console. Check the connection any time: @@ -62,8 +62,6 @@ Or set an API key manually from the [API Keys](https://console.supermemory.ai/ke -`SUPERMEMORY_API_KEY` or `apiKey` in `~/.config/opencode/supermemory.jsonc` takes precedence over the browser login. - OpenCode V1 and OpenCode 2 read different keys from `~/.config/opencode/opencode.jsonc`. Use the config for the version you run: @@ -131,7 +129,7 @@ The installer adds these in-chat commands: |---------|-------------| | `/supermemory-index` | Explore and index your codebase structure into memory (`/supermemory-init` is an alias) | | `/supermemory-login` | Authenticate with Supermemory in the browser | -| `/supermemory-logout` | Revoke the browser login and clear stored credentials | +| `/supermemory-logout` | Clear stored credentials | | `/supermemory-status` | Show the Supermemory connection status | ## Tools