fix(plugin-lifecycle): match hyphenated npm package name for Pi host - #127
Merged
phodal merged 1 commit intoAug 28, 2026
Merged
Conversation
The Pi host reported not-installed after a user-scope npm install because the identity name list still had the pre-rename un-hyphenated @qoderai/better-harness entry, while the published package is @qoder-ai/better-harness. Keep the old entry for historical installs and add the hyphenated npm name so plugin status and doctor resolve the install state correctly. Closes QoderAI#126
L2ncE
marked this pull request as ready for review
August 28, 2026 09:43
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.
The Pi host reported not-installed after a user-scope npm install because the identity name list still had the pre-rename un-hyphenated @qoderai/better-harness entry, while the published package is @qoder-ai/better-harness. Keep the old entry for historical installs and add the hyphenated npm name so plugin status and doctor resolve the install state correctly.
Closes #126
Summary
plugin status --host pi(anddoctor --platform pi) now reportinstalled / enabled / <version> (same)after a user-scope npm install, instead ofnot-installed.One-line fix: the Better Harness identity name list in
scripts/host-support/profile-builders.mjsstill carried the pre-rename un-hyphenated@qoderai/better-harnessentry, while the published npm package is@qoder-ai/better-harness(issue #65 rename fallout). The old entry is kept for historical installs and the hyphenated npm name is added, so the Pi package plugin'sname/piPackageSourceresolve again.Why
agent-customize inventory --provider pi.Traceability and Scope
plugin status --host pireportsinstalled / enabled / 0.6.4 (same)after user-scope npm installChange Type
Test and Review Evidence
npm test(full suite)npx vitest run test/plugins/plugin-lifecycle.test.mjsnpm run pack:verifynode scripts/better-harness.mjs plugin status --host pi(real machine, npm user-scope install 0.6.4)pi/cli@user present installed enabled 0.6.4 (same) partialManual or visual evidence: reproduction before/after in #126.
Risk and Recovery
pack:verify@qoderai/better-harnessstay supported (entry retained); Windows/Linux receipts deferred to CIAI Involvement
Checklist
AGENTS.md,CONTRIBUTING.md, and the relevant canonical-owner guidance.CHANGELOG.md(skipped per AGENTS.md change-scope rule; maintainer decision).