Skip to content

Commit 59fe09a

Browse files
committed
Rename package to memory-powermem
1 parent 4f8cfac commit 59fe09a

10 files changed

Lines changed: 30 additions & 30 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
PKG_VER="dev-$(date +%Y%m%d)-${GITHUB_SHA::7}"
5050
fi
5151
mkdir -p release
52-
git archive --format=zip --prefix=openclaw-extension-powermem/ HEAD -o release/openclaw-extension-powermem-$PKG_VER.zip
52+
git archive --format=zip --prefix=memory-powermem/ HEAD -o release/memory-powermem-$PKG_VER.zip
5353
5454
# Create GitHub Release only when run on a tag
5555
- name: Create GitHub Release

INSTALL.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@ Give [OpenClaw](https://github.com/openclaw/openclaw) long-term memory via [Powe
99
**Prerequisites:** OpenClaw installed (`openclaw --version`). PowerMem is **not** installed by this script—you either run a PowerMem server yourself (HTTP mode) or use the `pmem` CLI (CLI mode). The script only deploys the plugin and configures OpenClaw.
1010

1111
```bash
12-
curl -fsSL https://raw.githubusercontent.com/ob-labs/openclaw-extension-powermem/main/install.sh | bash
12+
curl -fsSL https://raw.githubusercontent.com/ob-labs/memory-powermem/main/install.sh | bash
1313
```
1414

1515
Or run from the repo root (no download):
1616

1717
```bash
18-
cd /path/to/openclaw-extension-powermem
18+
cd /path/to/memory-powermem
1919
bash install.sh
2020
```
2121

2222
Non-interactive (defaults: HTTP mode, baseUrl http://localhost:8000):
2323

2424
```bash
25-
curl -fsSL https://raw.githubusercontent.com/ob-labs/openclaw-extension-powermem/main/install.sh | bash -s -y
25+
curl -fsSL https://raw.githubusercontent.com/ob-labs/memory-powermem/main/install.sh | bash -s -y
2626
```
2727

2828
Install to a specific OpenClaw instance:
@@ -45,15 +45,15 @@ Copy the skill file into OpenClaw’s skill directory, then ask OpenClaw to do t
4545

4646
```bash
4747
mkdir -p ~/.openclaw/skills/install-powermem-memory
48-
cp /path/to/openclaw-extension-powermem/skills/install-powermem-memory/SKILL.md \
48+
cp /path/to/memory-powermem/skills/install-powermem-memory/SKILL.md \
4949
~/.openclaw/skills/install-powermem-memory/
5050
```
5151

5252
**Windows (PowerShell):**
5353

5454
```powershell
5555
New-Item -ItemType Directory -Force "$env:USERPROFILE\.openclaw\skills\install-powermem-memory"
56-
Copy-Item "path\to\openclaw-extension-powermem\skills\install-powermem-memory\SKILL.md" `
56+
Copy-Item "path\to\memory-powermem\skills\install-powermem-memory\SKILL.md" `
5757
"$env:USERPROFILE\.openclaw\skills\install-powermem-memory\"
5858
```
5959

@@ -92,9 +92,9 @@ Verify: `curl -s http://localhost:8000/api/v1/system/health`
9292
### 2. Install the plugin into OpenClaw
9393

9494
```bash
95-
openclaw plugins install /path/to/openclaw-extension-powermem
95+
openclaw plugins install /path/to/memory-powermem
9696
# Or symlink for development:
97-
openclaw plugins install -l /path/to/openclaw-extension-powermem
97+
openclaw plugins install -l /path/to/memory-powermem
9898
```
9999

100100
Confirm: `openclaw plugins list` shows `memory-powermem`.

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -147,16 +147,16 @@ On your machine (use your actual plugin path):
147147

148148
```bash
149149
# Install from npm (recommended for end users; OpenClaw downloads the package from the npm registry)
150-
openclaw plugins install openclaw-extension-powermem
150+
openclaw plugins install memory-powermem
151151

152152
# Install from a local directory (e.g. cloned repo)
153-
openclaw plugins install /path/to/openclaw-extension-powermem
153+
openclaw plugins install /path/to/memory-powermem
154154

155155
# For development (symlink, no copy)
156-
openclaw plugins install -l /path/to/openclaw-extension-powermem
156+
openclaw plugins install -l /path/to/memory-powermem
157157
```
158158

159-
**Note:** Running `npm i openclaw-extension-powermem` in a Node project only adds the package to that project’s `node_modules`; it does **not** register the plugin with OpenClaw. To use this as an OpenClaw plugin, you must run `openclaw plugins install openclaw-extension-powermem` (or install from a path as above), then restart the gateway.
159+
**Note:** Running `npm i memory-powermem` in a Node project only adds the package to that project’s `node_modules`; it does **not** register the plugin with OpenClaw. To use this as an OpenClaw plugin, you must run `openclaw plugins install memory-powermem` (or install from a path as above), then restart the gateway.
160160

161161
After install, run `openclaw plugins list` and confirm `memory-powermem` is listed. The plugin uses **default config** when none is set: `baseUrl: "http://localhost:8000"`, `autoCapture`, `autoRecall`, and `inferOnAdd` enabled — so you do not need to edit `~/.openclaw/openclaw.json` for the typical setup (PowerMem on localhost:8000).
162162

@@ -320,7 +320,7 @@ Exposed to OpenClaw agents:
320320
## Development
321321

322322
```bash
323-
cd /path/to/openclaw-extension-powermem
323+
cd /path/to/memory-powermem
324324
pnpm install
325325
pnpm lint # type-check
326326
pnpm test # run tests (if any)

README_CN.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -148,16 +148,16 @@ curl -s http://localhost:8000/api/v1/system/health
148148

149149
```bash
150150
# 从 npm 安装(推荐给终端用户;会从 npm 官方源自动下载并安装)
151-
openclaw plugins install openclaw-extension-powermem
151+
openclaw plugins install memory-powermem
152152

153153
# 若插件在本机目录(例如克隆下来的)
154-
openclaw plugins install /path/to/openclaw-extension-powermem
154+
openclaw plugins install /path/to/memory-powermem
155155

156156
# 开发时想改代码即生效,可用链接方式(不拷贝)
157-
openclaw plugins install -l /path/to/openclaw-extension-powermem
157+
openclaw plugins install -l /path/to/memory-powermem
158158
```
159159

160-
**说明:** 在某个 Node 项目里执行 `npm i openclaw-extension-powermem` 只会把包装进该项目的 `node_modules`**不会**在 OpenClaw 里注册插件。若要在 OpenClaw 里使用本插件,必须执行 `openclaw plugins install openclaw-extension-powermem`(或按上面用本地路径安装),再重启 gateway。
160+
**说明:** 在某个 Node 项目里执行 `npm i memory-powermem` 只会把包装进该项目的 `node_modules`**不会**在 OpenClaw 里注册插件。若要在 OpenClaw 里使用本插件,必须执行 `openclaw plugins install memory-powermem`(或按上面用本地路径安装),再重启 gateway。
161161

162162
安装成功后,可用 `openclaw plugins list` 确认能看到 `memory-powermem`。未在配置中书写本插件 config 时,插件会使用 **默认配置**`baseUrl: "http://localhost:8000"`,并开启 `autoCapture``autoRecall``inferOnAdd`,因此典型情况(PowerMem 跑在 localhost:8000)下无需编辑 `~/.openclaw/openclaw.json`
163163

@@ -321,7 +321,7 @@ openclaw ltm search "咖啡"
321321
## 本仓库开发命令
322322

323323
```bash
324-
cd /path/to/openclaw-extension-powermem
324+
cd /path/to/memory-powermem
325325
pnpm install
326326
pnpm lint # 类型检查
327327
pnpm test # 运行测试(若有)

config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export const DEFAULT_AGENT_ID = "openclaw-agent";
151151

152152
/**
153153
* Default plugin config when openclaw.json has no plugins.entries["memory-powermem"].config.
154-
* Allows "openclaw plugins install openclaw-extension-powermem" to work without manual config.
154+
* Allows "openclaw plugins install memory-powermem" to work without manual config.
155155
*/
156156
export const DEFAULT_PLUGIN_CONFIG: PowerMemConfig = {
157157
mode: "http",

install.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22
#
33
# OpenClaw + PowerMem memory plugin installer
44
# Usage (from GitHub):
5-
# curl -fsSL https://raw.githubusercontent.com/ob-labs/openclaw-extension-powermem/main/install.sh | bash
5+
# curl -fsSL https://raw.githubusercontent.com/ob-labs/memory-powermem/main/install.sh | bash
66
# Or from repo root:
77
# bash install.sh [ -y ] [ --workdir PATH ]
88
#
99
# Env:
10-
# REPO=owner/repo - GitHub repo for download (default: ob-labs/openclaw-extension-powermem)
10+
# REPO=owner/repo - GitHub repo for download (default: ob-labs/memory-powermem)
1111
# BRANCH=branch - Branch/tag (default: main)
1212
# INSTALL_YES=1 - Non-interactive (same as -y)
1313
# SKIP_OPENCLAW=1 - Skip openclaw presence check
1414
#
1515

1616
set -e
1717

18-
REPO="${REPO:-ob-labs/openclaw-extension-powermem}"
18+
REPO="${REPO:-ob-labs/memory-powermem}"
1919
BRANCH="${BRANCH:-main}"
2020
INSTALL_YES="${INSTALL_YES:-0}"
2121
SKIP_OC="${SKIP_OPENCLAW:-0}"
@@ -176,8 +176,8 @@ deploy_from_repo() {
176176
}
177177

178178
deploy_from_github() {
179-
# REPO defaults to ob-labs/openclaw-extension-powermem
180-
[[ -n "$REPO" ]] || REPO="ob-labs/openclaw-extension-powermem"
179+
# REPO defaults to ob-labs/memory-powermem
180+
[[ -n "$REPO" ]] || REPO="ob-labs/memory-powermem"
181181
local gh_raw="https://raw.githubusercontent.com/${REPO}/${BRANCH}"
182182
local files=(
183183
"index.ts"

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "openclaw-extension-powermem",
2+
"name": "memory-powermem",
33
"version": "1.0.0",
44
"description": "OpenClaw plugin: long-term memory via PowerMem (HTTP or local CLI; intelligent extraction, Ebbinghaus forgetting curve).",
55
"type": "module",

skills/install-powermem-memory/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ This skill folder includes supplementary docs to reference when needed:
3737
3. **Install the plugin**
3838
If the user has the repo path:
3939
```bash
40-
openclaw plugins install /path/to/openclaw-extension-powermem
40+
openclaw plugins install /path/to/memory-powermem
4141
```
4242
Or from GitHub one-liner:
4343
```bash
44-
curl -fsSL https://raw.githubusercontent.com/ob-labs/openclaw-extension-powermem/main/install.sh | bash
44+
curl -fsSL https://raw.githubusercontent.com/ob-labs/memory-powermem/main/install.sh | bash
4545
```
4646

4747
4. **Configure OpenClaw**

skills/install-powermem-memory/powermem-intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Use this doc when the user asks "what is PowerMem", "why use PowerMem", or needs
2727
## Relationship with OpenClaw
2828

2929
- **OpenClaw**: Provides gateway, sessions, tool dispatch, etc.; its **memory slot** must be implemented by a plugin.
30-
- **openclaw-extension-powermem**: Implements the memory slot and forwards store/recall/forget requests to PowerMem (HTTP or CLI).
30+
- **memory-powermem**: Implements the memory slot and forwards store/recall/forget requests to PowerMem (HTTP or CLI).
3131
- **PowerMem**: Handles storage, retrieval, intelligent extraction, and forgetting curve; it is where data actually lives.
3232

3333
So: the user must **install and run PowerMem first** (or install the `pmem` CLI), then install this plugin and configure the connection (HTTP `baseUrl` or CLI `pmemPath`).

0 commit comments

Comments
 (0)