Skip to content

Feat: Publish @mysten-incubation/oc-memwal to npm#62

Merged
hungtranphamminh merged 3 commits intostagingfrom
dev
Mar 30, 2026
Merged

Feat: Publish @mysten-incubation/oc-memwal to npm#62
hungtranphamminh merged 3 commits intostagingfrom
dev

Conversation

@hungtranphamminh
Copy link
Copy Markdown
Collaborator

@hungtranphamminh hungtranphamminh commented Mar 30, 2026

Summary

Why

The OpenClaw memory plugin (@mysten-incubation/oc-memwal) needs to be published to npm so users can install it via openclaw plugins install @mysten-incubation/oc-memwal.

What

  • Add CI workflow (release-oc-memwal.yml) for automated npm publishing on push to main/staging/dev
  • Prepare package.json with proper exports, files, build config, and repository field for npm OIDC provenance
  • Add tsconfig for the plugin package
  • Fix dependency issues that blocked openclaw plugins install

Solution

  • Added CI workflow for automated npm publishing with provenance
  • Added repository field to satisfy npm OIDC provenance requirements
  • Removed openclaw peer dep — openclaw is the runtime host, not an npm dependency (same approach as Mem0 plugin)
  • Downgraded zod to v3 to resolve conflict with @mysten-incubation/memwal@0.0.1 which declares peerOptional zod@^3.23.0
  • Merging to main will trigger the first stable publish to npm

Types of Changes

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Performance optimization (non-breaking change which addresses a performance issue)
  • Refactor (non-breaking change which does not change existing behavior or add new functionality)
  • Library update (non-breaking change that will update one or more libraries to newer versions)
  • Documentation (non-breaking change that doesn't change code behavior, can skip testing)
  • Test (non-breaking change related to testing)
  • Security awareness (changes that affect permission scope, security scenarios)

Testing

  • I have tested this code locally
  • I have added/updated unit tests
  • I have added/updated integration tests
  • I have tested in multiple browsers (if applicable)

Checklist

  • My code follows the code style of this project
  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed

Additional Notes

Confirmed openclaw plugins install @mysten-incubation/oc-memwal@0.0.1-dev.2 installs and loads successfully with the MemWal relayer.

* build(openclaw-plugin): prepare package for npm publish

Rename to @mysten-incubation/oc-memwal, add tsconfig, build scripts,
exports, types, and engine requirements. Compiled JS output in dist/.

* docs(openclaw-plugin): update install flow for npm, remove TEE references

Replace manual symlink install with openclaw plugins install command.
Update config examples to use oc-memwal. Remove TEE from relayer labels.

* ci(openclaw-plugin): add release workflow for npm publish

Auto-publish on push to main/staging/dev when plugin code changes.
Uses OIDC provenance, auto-increments dev/rc versions per branch.
Add typecheck script. Reset base version to 0.0.1.

* fix(openclaw-plugin): update outdated links in manifest and README

Replace app.memwal.com with memwal.ai in plugin uiHints.
Fix relative Mintlify links to use full docs.memwal.ai URLs.
)

Remove openclaw peer dependency that causes install failures via
openclaw plugins install. Downgrade zod from v4 to v3 for monorepo
compatibility. No API changes.
@hungtranphamminh hungtranphamminh changed the title Fix: OpenClaw memory plugin install dependencies Chore: Publish OpenClaw memory plugin to npm Mar 30, 2026
@hungtranphamminh hungtranphamminh changed the title Chore: Publish OpenClaw memory plugin to npm Feat: Publish @mysten-incubation/oc-memwal to npm Mar 30, 2026
@hungtranphamminh hungtranphamminh changed the base branch from main to staging March 30, 2026 09:36
@hungtranphamminh hungtranphamminh merged commit 7c98303 into staging Mar 30, 2026
9 of 10 checks passed
hungtranphamminh added a commit that referenced this pull request Mar 30, 2026
* Build: Prepare OpenClaw memory plugin for npm publish (#58)

* build(openclaw-plugin): prepare package for npm publish

Rename to @mysten-incubation/oc-memwal, add tsconfig, build scripts,
exports, types, and engine requirements. Compiled JS output in dist/.

* docs(openclaw-plugin): update install flow for npm, remove TEE references

Replace manual symlink install with openclaw plugins install command.
Update config examples to use oc-memwal. Remove TEE from relayer labels.

* ci(openclaw-plugin): add release workflow for npm publish

Auto-publish on push to main/staging/dev when plugin code changes.
Uses OIDC provenance, auto-increments dev/rc versions per branch.
Add typecheck script. Reset base version to 0.0.1.

* fix(openclaw-plugin): update outdated links in manifest and README

Replace app.memwal.com with memwal.ai in plugin uiHints.
Fix relative Mintlify links to use full docs.memwal.ai URLs.

* fix(openclaw-plugin): add repository field for npm OIDC provenance (#59)

* fix(openclaw-plugin): remove openclaw peer dep, downgrade zod to v3 (#60)

Remove openclaw peer dependency that causes install failures via
openclaw plugins install. Downgrade zod from v4 to v3 for monorepo
compatibility. No API changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants