fix: rename plugin package to clawmetry-plugin for ClawHub#818
Open
vivekchand wants to merge 1 commit intomainfrom
Open
fix: rename plugin package to clawmetry-plugin for ClawHub#818vivekchand wants to merge 1 commit intomainfrom
vivekchand wants to merge 1 commit intomainfrom
Conversation
ClawHub does not allow package names that collide with existing skill slugs. Since the skill is published as "clawmetry", the plugin package uses "clawmetry-plugin". Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
6ed8b54 to
160ca49
Compare
vivekchand
commented
May 5, 2026
Owner
Author
vivekchand
left a comment
There was a problem hiding this comment.
Test plan & review notes
What changed
- Single-line rename in
clawhub-plugin/package.json:@clawmetry/openclaw-plugin→clawmetry-pluginto satisfy ClawHub's slug collision rule.
Smoke commands
make testormake test-apicd clawhub-plugin && npm install && npm pack— verify the published package name resolves correctly under the new name- Confirm the ClawHub-published
clawmetry-plugin@1.0.0matches thispackage.jsonexactly - Confirm old
clawmetryCLI entry point still works:clawmetry --help
Likely failure modes from the diff
- Any CI workflow, docs, or README that references
@clawmetry/openclaw-plugin(the old scoped name) will now be stale — worth a quick grep across the repo to catch lingering references. - If downstream consumers
npm install @clawmetry/openclaw-pluginthey will silently get nothing; consider adding a deprecation notice ornpm deprecateon the old name if it was ever published. - No Python import paths are affected (change is JS-only, inside
clawhub-plugin/), so the coreclawmetrypackage is unaffected.
Issue link
- No linked issue found in the PR body — consider adding
Closes #Nif there is a tracking issue for the ClawHub slug conflict.
Generated by Claude Code
vivekchand
commented
May 5, 2026
Owner
Author
vivekchand
left a comment
There was a problem hiding this comment.
Test plan & review notes
What changed
- Single-line rename of the npm package in
clawhub-plugin/package.jsonfrom@clawmetry/openclaw-plugintoclawmetry-pluginso the package name does not collide with the existingclawmetryskill slug on ClawHub.
Smoke commands
make test-apipython3 dashboard.py --port 8900
What to look at
- Verify
openclaw plugins install clawmetry-pluginresolves the correct package from ClawHub (i.e. the registry entry atclawmetry-plugin@1.0.0that was already published). - Check that no other file in the repo still references
@clawmetry/openclaw-pluginas an install target, peer dependency, or in docs — a grep for@clawmetry/openclaw-pluginacross*.md,*.json, and*.shfiles would confirm the rename is complete. - Note that PR #819 (
fix/plugin-security-scanner) also touchespackage.jsonand bumps the version to1.2.0while setting the name toclawmetry-plugin. If #818 merges into main first, #819 will merge cleanly since both set the same name; but if the merge order is reversed the rename here becomes a no-op. Worth confirming the intended merge order.
Likely failure modes
- If any
install.shor CI step still doesnpm install @clawmetry/openclaw-pluginit will 404 after this merges. - ClawHub may have cached the old scoped package name and could serve the wrong package until cache invalidation; worth testing the install end-to-end against the live registry after merging.
Issue link
- No issue linked — consider adding one.
Generated by Claude Code
vivekchand
commented
May 6, 2026
Owner
Author
vivekchand
left a comment
There was a problem hiding this comment.
Test plan & review notes
Repo: vivekchand/clawmetry
What changed
package.jsonname changed from@clawmetry/openclaw-plugin→clawmetry-plugin
Smoke commands
cat package.json | python3 -c "import sys,json; d=json.load(sys.stdin); assert d['name']=='clawmetry-plugin', d['name']; print('OK')"— verify namegrep -rn '@clawmetry/openclaw-plugin' .— should return nothing (any stale references in docs/README/CHANGELOG need updating)
Likely failure modes from the diff
package-lock.jsonoryarn.lockmay still reference the old scoped name — regenerate the lock file after the rename if it exists- Version in
package.jsonshould match the already-publishedclawmetry-plugin@1.0.0; a mismatch would cause confusion on the next publish
Issue link
- No linked issue found
Generated by Claude Code
vivekchand
commented
May 7, 2026
Owner
Author
vivekchand
left a comment
There was a problem hiding this comment.
Test plan & review notes
Repo: vivekchand/clawmetry
What changed
clawhub-plugin/package.json:namerenamed from@clawmetry/openclaw-plugintoclawmetry-plugin(1-line change, no logic touched)
Smoke commands
make lintpip install -e . && clawmetry --versionto confirm the Python CLI is unaffected- If there's a ClawHub publish step:
cd clawhub-plugin && npm publish --dry-runto validate the new package name resolves cleanly before a real push
Likely failure modes from the diff
- Any other file that still references the old scoped name
@clawmetry/openclaw-plugin(README, install docs, CI publish workflow, orclawhub-plugin/source imports) will be silently stale — worth a quickgrep -r "@clawmetry/openclaw-plugin" .to catch stragglers - If a CI step does
npm install @clawmetry/openclaw-pluginor pins the old name in a lockfile, it will start failing after merge - The PR body says it's already published to ClawHub as
clawmetry-plugin@1.0.0— make sureversioninpackage.jsonstays in sync if a re-publish is ever needed
Issue link
- No linked issue found — consider opening one (or adding
Closes #Nto the PR body) so the ClawHub rejection is tracked for posterity
Generated by Claude Code
Owner
Author
Test plan & review notesRepo: vivekchand/clawmetry What changed
Smoke commands
Likely failure modes from the diff
Issue link
Generated by Claude Code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@clawmetry/openclaw-plugintoclawmetry-pluginin package.jsonclawmetry, so the plugin package must beclawmetry-pluginAlready published to ClawHub as
clawmetry-plugin@1.0.0.Generated with Claude Code