From bf11c9d55cdefe1af52f87f953f05c7d329e13a8 Mon Sep 17 00:00:00 2001 From: Ralph Chang Date: Wed, 18 Feb 2026 09:57:46 +0800 Subject: [PATCH] =?UTF-8?q?Rename=20project:=20opencode-working-memory=20?= =?UTF-8?q?=E2=86=92=20oh-my-memory?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Updated package.json name and URLs - Updated README.md title and references - Updated docs/installation.md install commands - Updated AGENTS.md project name - Follows oh-my-opencode naming convention --- AGENTS.md | 10 +++++----- README.md | 12 ++++++------ docs/installation.md | 18 +++++++++--------- package.json | 11 ++++++----- 4 files changed, 26 insertions(+), 25 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 6f49b9b..1f77820 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,8 +1,8 @@ -# AGENTS.md - OpenCode Working Memory Plugin Development Guide +# AGENTS.md - Oh My Memory Development Guide ## Project Overview -The **OpenCode Working Memory Plugin** provides a four-tier memory architecture for AI agents: +**Oh My Memory** provides a four-tier memory architecture for AI agents: - **Core Memory** - Persistent blocks (goal/progress/context) that survive compaction - **Working Memory** - Session-scoped context with slots (error/decision/todo/dependency) and memory pool - **Smart Pruning** - Automatic filtering of tool outputs before adding to context @@ -14,8 +14,8 @@ Written in **TypeScript** for the OpenCode agent environment. ```bash # For development -git clone https://github.com/yourusername/opencode-working-memory.git -cd opencode-working-memory +git clone https://github.com/yourusername/oh-my-memory.git +cd oh-my-memory npm install # For usage (see README.md) @@ -40,7 +40,7 @@ Tests are manually verified through OpenCode sessions: ### File Structure ``` -opencode-working-memory/ +oh-my-memory/ ├── index.ts # Main plugin (1700+ lines) ├── package.json # Plugin manifest ├── tsconfig.json # TypeScript config diff --git a/README.md b/README.md index b388bd2..2e87393 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# OpenCode Working Memory Plugin +# Oh My Memory -[![npm version](https://img.shields.io/npm/v/opencode-working-memory.svg)](https://www.npmjs.com/package/opencode-working-memory) +[![npm version](https://img.shields.io/npm/v/oh-my-memory.svg)](https://www.npmjs.com/package/oh-my-memory) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE) **Advanced four-tier memory architecture that keeps your AI agent sharp, focused, and never forgets what matters.** @@ -25,8 +25,8 @@ Stop losing context across compactions. Stop watching your agent repeat the same Paste this into Claude Code, Cursor, or any AI agent: ``` -Install opencode-working-memory plugin by following: -https://raw.githubusercontent.com/yourusername/opencode-working-memory/main/docs/installation.md +Install oh-my-memory plugin by following: +https://raw.githubusercontent.com/yourusername/oh-my-memory/main/docs/installation.md ``` **Option B: Manual setup** @@ -35,7 +35,7 @@ https://raw.githubusercontent.com/yourusername/opencode-working-memory/main/docs ```json { - "plugin": ["opencode-working-memory"] + "plugin": ["oh-my-memory"] } ``` @@ -46,7 +46,7 @@ That's it! The plugin is now active. ### For LLM Agents 1. Read the OpenCode configuration file at `~/.config/opencode/opencode.json` -2. Add `"opencode-working-memory"` to the `plugin` array +2. Add `"oh-my-memory"` to the `plugin` array 3. Verify installation by checking the config file ## Quick Start diff --git a/docs/installation.md b/docs/installation.md index 28c73cb..8c49fec 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -10,7 +10,7 @@ ### Option 1: Install from npm (Recommended) ```bash -npm install opencode-working-memory +npm install oh-my-memory ``` Then add to your `.opencode/package.json`: @@ -18,7 +18,7 @@ Then add to your `.opencode/package.json`: ```json { "plugins": [ - "opencode-working-memory" + "oh-my-memory" ] } ``` @@ -30,10 +30,10 @@ Add to your `.opencode/package.json`: ```json { "dependencies": { - "opencode-working-memory": "github:yourusername/opencode-working-memory" + "oh-my-memory": "github:yourusername/oh-my-memory" }, "plugins": [ - "opencode-working-memory" + "oh-my-memory" ] } ``` @@ -50,8 +50,8 @@ npm install Clone the repository: ```bash -git clone https://github.com/yourusername/opencode-working-memory.git -cd opencode-working-memory +git clone https://github.com/yourusername/oh-my-memory.git +cd oh-my-memory npm install ``` @@ -59,7 +59,7 @@ Link to your OpenCode project: ```bash cd /path/to/your/project/.opencode -npm link /path/to/opencode-working-memory +npm link /path/to/oh-my-memory ``` Add to `.opencode/package.json`: @@ -67,7 +67,7 @@ Add to `.opencode/package.json`: ```json { "plugins": [ - "opencode-working-memory" + "oh-my-memory" ] } ``` @@ -119,7 +119,7 @@ The plugin works out-of-the-box with sensible defaults. For advanced configurati ```bash cd .opencode -npm uninstall opencode-working-memory +npm uninstall oh-my-memory ``` Remove from `.opencode/package.json` plugins array. Memory files in `.opencode/memory-*` will persist unless manually deleted. diff --git a/package.json b/package.json index de21e1b..7c156c1 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "opencode-working-memory", + "name": "oh-my-memory", "version": "1.0.0", "description": "Advanced four-tier memory architecture for OpenCode with intelligent pressure monitoring and auto-storage governance", "type": "module", @@ -10,18 +10,19 @@ "memory", "context-management", "ai-agent", - "llm" + "llm", + "oh-my-opencode" ], "author": "Your Name ", "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/yourusername/opencode-working-memory.git" + "url": "git+https://github.com/yourusername/oh-my-memory.git" }, "bugs": { - "url": "https://github.com/yourusername/opencode-working-memory/issues" + "url": "https://github.com/yourusername/oh-my-memory/issues" }, - "homepage": "https://github.com/yourusername/opencode-working-memory#readme", + "homepage": "https://github.com/yourusername/oh-my-memory#readme", "peerDependencies": { "@opencode-ai/plugin": "^1.2.0" },