Skip to content

fix: install.sh auto-resolve npm version & update download URL#1444

Merged
hijzy merged 3 commits intoMemTensor:openclaw-local-plugin-20260408from
hijzy:codex/update-openclaw-memory-hooks
Apr 9, 2026
Merged

fix: install.sh auto-resolve npm version & update download URL#1444
hijzy merged 3 commits intoMemTensor:openclaw-local-plugin-20260408from
hijzy:codex/update-openclaw-memory-hooks

Conversation

@hijzy
Copy link
Copy Markdown
Collaborator

@hijzy hijzy commented Apr 9, 2026

Summary

  • Auto-resolve latest npm version: install.sh now queries npm view for the latest published version before downloading, fixing the issue where npm pack fails for prerelease versions (e.g. 1.0.0-beta.1) without an explicit version specifier
  • --version flag: Users can pin a specific version via bash install.sh --version 1.0.0-beta.1 or curl ... | bash -s -- --version <ver>
  • Update download URL: Point the curl one-liner in install.sh and www/docs/index.html to the actual GitHub raw path (MemTensor/MemOS/openclaw-local-plugin-20260408)

Changed files

File Change
apps/memos-local-plugin/install.sh Add --version arg parsing, auto-resolve latest version via npm view
apps/memos-local-plugin/www/docs/index.html Update curl URL in docs

Test plan

  • curl -fsSL <raw-url>/install.sh | bash — auto-downloads 1.0.0-beta.1
  • curl ... | bash -s -- --version 1.0.0-beta.1 — explicit version works
  • Verify docs page shows correct install command

hijzy added 3 commits April 9, 2026 15:01
Point curl one-liner to MemTensor/MemOS repo on openclaw-local-plugin-20260408 branch.
npm pack requires explicit version for prerelease packages. The script
now queries npm for the latest published version automatically, and
accepts --version <ver> to pin a specific release.
@hijzy hijzy merged commit cd7ea9c into MemTensor:openclaw-local-plugin-20260408 Apr 9, 2026
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.

1 participant