Skip to content

Commit 9ff6135

Browse files
Fix OB1 Agent Memory ClawHub install metadata
Marks the OpenClaw peer dependency optional for npm install planning while preserving the peer declaration for host SDK symlinking. Updates the package to 0.1.6 with install docs and release notes for the ClawHub one-line path. Admin-merged after local review because the PR was authored by the same GitHub user and could not receive a self-approval. Checks were green before merge.
1 parent c8c5fa4 commit 9ff6135

4 files changed

Lines changed: 61 additions & 15 deletions

File tree

integrations/openclaw-agent-memory/CLAW_HUB_PUBLISHING.md

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,20 @@ Prepared on 2026-05-22:
130130
- `clawhub package publish --dry-run --json` passed for
131131
`@natebjones/ob1-agent-memory` version `0.1.5`.
132132

133+
## Prepared 0.1.6 ClawHub Install Fix
134+
135+
Prepared on 2026-05-22:
136+
137+
- Package version bumped to `0.1.6`.
138+
- `openclaw` stays in `peerDependencies` so OpenClaw can symlink the host SDK
139+
during plugin install.
140+
- `peerDependenciesMeta.openclaw.optional` prevents npm from auto-installing a
141+
real nested `node_modules/openclaw` before OpenClaw creates the host SDK
142+
symlink.
143+
- The recommended install path is the one-line ClawHub resolver on OpenClaw
144+
`2026.5.7` and newer.
145+
- OpenClaw `2026.5.2` should continue using the published tarball fallback.
146+
133147
License note: the OB1 repository is `FSL-1.1-MIT`. ClawHub requires public
134148
skills to be `MIT-0`, so the standalone skill files in
135149
[../../skills/openclaw-agent-memory](../../skills/openclaw-agent-memory/) are
@@ -162,8 +176,8 @@ npx -y clawhub@0.12.2 package publish integrations/openclaw-agent-memory/plugin
162176
--family code-plugin \
163177
--name @natebjones/ob1-agent-memory \
164178
--display-name "NBJ OB1 Agent Memory for OpenClaw" \
165-
--version 0.1.5 \
166-
--changelog "OpenClaw/Claude compatibility fix: recall and write-back now expose explicit tool parameter properties instead of patternProperties-only schemas." \
179+
--version 0.1.6 \
180+
--changelog "ClawHub install fix: mark the OpenClaw peer dependency optional so npm does not materialize a nested OpenClaw package before the host SDK symlink is created." \
167181
--tags latest,nbj,nate-jones,ob1,openbrain,agent-memory,openclaw,provenance \
168182
--source-repo NateBJones-Projects/OB1 \
169183
--source-commit "$(git rev-parse HEAD)" \
@@ -199,8 +213,8 @@ npx -y clawhub@0.12.2 package publish integrations/openclaw-agent-memory/plugin
199213
--family code-plugin \
200214
--name @natebjones/ob1-agent-memory \
201215
--display-name "NBJ OB1 Agent Memory for OpenClaw" \
202-
--version 0.1.5 \
203-
--changelog "OpenClaw/Claude compatibility fix: recall and write-back now expose explicit tool parameter properties instead of patternProperties-only schemas." \
216+
--version 0.1.6 \
217+
--changelog "ClawHub install fix: mark the OpenClaw peer dependency optional so npm does not materialize a nested OpenClaw package before the host SDK symlink is created." \
204218
--tags latest,nbj,nate-jones,ob1,openbrain,agent-memory,openclaw,provenance \
205219
--source-repo NateBJones-Projects/OB1 \
206220
--source-commit "$(git rev-parse HEAD)" \
@@ -239,7 +253,7 @@ openclaw plugins install clawhub:@natebjones/ob1-agent-memory
239253

240254
- Plugin manifest validates.
241255
- Plugin manifest declares `contracts.tools` for every `openbrain_*` tool. OpenClaw rejects tool registration without the manifest contract.
242-
- Plugin config accepts `endpoint`, `workspaceId`, and `accessKey`. Prefer an OpenClaw SecretRef backed by a file, env, or exec provider so the access key does not live in plaintext config.
256+
- Plugin config accepts `endpoint`, `workspaceId`, and `accessKey`. Prefer an OpenClaw SecretRef backed by a file or exec provider so the access key does not live in plaintext config.
243257
- Tool entry uses `definePluginEntry`, `typebox` parameters, `label`, `execute(_id, params)`, and returns `details`.
244258
- Package includes compiled runtime output at `plugin/dist/index.js`; ClawHub rejects TypeScript-only plugin entrypoints.
245259
- Local linked install is tested in an isolated profile with `openclaw --profile ob1-agent-memory plugins install integrations/openclaw-agent-memory/plugin --link`.
@@ -257,7 +271,7 @@ openclaw plugins install clawhub:@natebjones/ob1-agent-memory
257271

258272
## Release Notes
259273

260-
See [RELEASE_NOTES_0.1.5.md](./RELEASE_NOTES_0.1.5.md).
274+
See [RELEASE_NOTES_0.1.6.md](./RELEASE_NOTES_0.1.6.md).
261275

262276
Public release copy should always include a short Nate Jones CTA. Keep it useful-first, not hype-first: Nate gives away practical AI systems like this, and the next step is following or subscribing for more.
263277

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# NBJ OB1 Agent Memory for OpenClaw 0.1.6
2+
3+
ClawHub install compatibility fix.
4+
5+
## Changed
6+
7+
- Marks the `openclaw` peer dependency as optional for npm install planning.
8+
- Keeps the OpenClaw peer declaration so the host SDK can still be symlinked by
9+
OpenClaw during plugin install.
10+
- Updates install docs so OpenClaw `2026.5.7` and newer use the one-line
11+
ClawHub install path.
12+
- Keeps the tarball fallback documented for OpenClaw `2026.5.2`.
13+
14+
## Verification Target
15+
16+
The one-line install should work from a clean profile:
17+
18+
```bash
19+
openclaw --profile ob1-agent-memory plugins install clawhub:@natebjones/ob1-agent-memory
20+
openclaw --profile ob1-agent-memory plugins inspect nbj-ob1-agent-memory --runtime --json
21+
```
22+
23+
Runtime inspect should show version `0.1.6`, all seven `openbrain_*` tools,
24+
and no diagnostics.

integrations/openclaw-agent-memory/plugin/README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,25 @@ Built by Nate B. Jones / OB1. Follow Nate for practical AI systems, agent workfl
66

77
## Install
88

9-
Current OpenClaw `2026.5.2` installs the ClawHub-hosted package cleanly from the published tarball:
9+
Recommended for OpenClaw `2026.5.7` and newer:
1010

1111
```bash
12-
curl -fsSL \
13-
https://clawhub.ai/api/npm/@natebjones/ob1-agent-memory/-/natebjones-ob1-agent-memory-0.1.5.tgz \
14-
-o natebjones-ob1-agent-memory-0.1.5.tgz
15-
16-
openclaw plugins install ./natebjones-ob1-agent-memory-0.1.5.tgz
12+
openclaw plugins install clawhub:@natebjones/ob1-agent-memory
1713
```
1814

19-
The package is also published on ClawHub as `@natebjones/ob1-agent-memory`. When OpenClaw's `clawhub:` resolver accepts npm-pack artifact metadata directly, this should become the normal one-line install:
15+
OpenClaw `2026.5.2` predates the current ClawHub npm-pack resolver metadata
16+
path. Use the published tarball fallback on that host version:
2017

2118
```bash
22-
openclaw plugins install clawhub:@natebjones/ob1-agent-memory
19+
curl -fsSL \
20+
https://clawhub.ai/api/npm/@natebjones/ob1-agent-memory/-/natebjones-ob1-agent-memory-0.1.6.tgz \
21+
-o natebjones-ob1-agent-memory-0.1.6.tgz
22+
23+
openclaw plugins install ./natebjones-ob1-agent-memory-0.1.6.tgz
2324
```
2425

26+
The package is published on ClawHub as `@natebjones/ob1-agent-memory`.
27+
2528
For local linked development:
2629

2730
```bash

integrations/openclaw-agent-memory/plugin/package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@natebjones/ob1-agent-memory",
3-
"version": "0.1.5",
3+
"version": "0.1.6",
44
"description": "Governed NBJ OB1 Agent Memory tools for OpenClaw: recall before work, write back after, inspect everything.",
55
"type": "module",
66
"license": "MIT-0",
@@ -47,6 +47,11 @@
4747
"peerDependencies": {
4848
"openclaw": ">=2026.3.24-beta.2"
4949
},
50+
"peerDependenciesMeta": {
51+
"openclaw": {
52+
"optional": true
53+
}
54+
},
5055
"openclaw": {
5156
"extensions": [
5257
"./dist/index.js"

0 commit comments

Comments
 (0)