fix(opencode-plugin): rename package to @mem0/opencode-plugin (#5272)
This commit is contained in:
@@ -1,23 +1,23 @@
|
||||
# @mem0ai/opencode-plugin
|
||||
# @mem0/opencode-plugin
|
||||
|
||||
Persistent memory for [OpenCode](https://opencode.ai). Your agent remembers decisions, preferences, and learnings across sessions automatically.
|
||||
|
||||
## Install
|
||||
|
||||
```bash
|
||||
bunx @mem0ai/opencode-plugin@latest install
|
||||
bunx @mem0/opencode-plugin@latest install
|
||||
```
|
||||
|
||||
Or using OpenCode's built-in CLI:
|
||||
|
||||
```bash
|
||||
opencode plugin @mem0ai/opencode-plugin
|
||||
opencode plugin @mem0/opencode-plugin
|
||||
```
|
||||
|
||||
**Or let your agent do it** — paste this into OpenCode:
|
||||
|
||||
```
|
||||
Install @mem0ai/opencode-plugin by following https://raw.githubusercontent.com/mem0ai/mem0/main/mem0-plugin/.opencode-plugin/README.md
|
||||
Install @mem0/opencode-plugin by following https://raw.githubusercontent.com/mem0ai/mem0/main/mem0-plugin/.opencode-plugin/README.md
|
||||
```
|
||||
|
||||
All commands auto-add the plugin and MCP server to your `~/.config/opencode/opencode.json`. No manual config needed.
|
||||
@@ -77,7 +77,7 @@ If the `mem0` tools respond, you're all set.
|
||||
|---------|-----|
|
||||
| No tools appearing | Restart OpenCode after installing |
|
||||
| 401 Unauthorized | `echo $MEM0_API_KEY` must print your `m0-` key |
|
||||
| Plugin not loading | Run `opencode plugin @mem0ai/opencode-plugin` again |
|
||||
| Plugin not loading | Run `opencode plugin @mem0/opencode-plugin` again |
|
||||
|
||||
## License
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ import {
|
||||
import { join, dirname } from "path";
|
||||
import { homedir } from "os";
|
||||
|
||||
const PLUGIN_NAME = "@mem0ai/opencode-plugin";
|
||||
const PLUGIN_NAME = "@mem0/opencode-plugin";
|
||||
const MCP_CONFIG = {
|
||||
mem0: {
|
||||
type: "remote",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"plugin": ["@mem0ai/opencode-plugin"],
|
||||
"plugin": ["@mem0/opencode-plugin"],
|
||||
"mcp": {
|
||||
"mem0": {
|
||||
"type": "remote",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@mem0ai/opencode-plugin",
|
||||
"name": "@mem0/opencode-plugin",
|
||||
"version": "0.1.0",
|
||||
"type": "module",
|
||||
"description": "Mem0 persistent memory plugin for OpenCode — add, search, and manage memories across sessions",
|
||||
|
||||
Reference in New Issue
Block a user