Skip to content

fix: advertise wheels packages add (not install) on docs and help - #3382

Merged
bpamiri merged 2 commits into
developfrom
cursor/packages-add-not-install-908c
Aug 20, 2026
Merged

fix: advertise wheels packages add (not install) on docs and help#3382
bpamiri merged 2 commits into
developfrom
cursor/packages-add-not-install-908c

Conversation

@bpamiri

@bpamiri bpamiri commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

Summary

Users type wheels packages install <name> and get LuCLI's extension installer ([INFO] No git or extension dependencies… or a lucee.json error) instead of a Wheels package. The official verb is wheels packages add. This PR makes that discoverable on every user-facing surface in this repo. This PR does not address #3378 (Basecoat mixin / showcase loading is out of scope) and does not change PackageLoader mixin behavior.

Related Issue

Related to #3378 (docs/help only — this is not the Basecoat mixin / UIBADGE work).

Type of Change

  • Bug fix
  • New feature
  • Enhancement to existing feature
  • Documentation update
  • Refactoring

What changed

  • Packages website (web/sites/packages/): copy-to-clipboard snippets and the index subhead now say wheels packages add. The detail page also states that install is not the verb. Visual baselines for packages-index and packages-wheels-sentry refreshed to match.
  • Guides: the CLI reference page moved from /commands/packages/install/ to /commands/packages/add/ (old URL redirects). Index, packages howto, and the Basecoat bonus chapter already used add; the chapter now has an optional showcase section: add the package, then copy from vendor/wheels-basecoat/, not the raw GitHub tree.
  • CLI (this repo's wheels module only):
    • packages() hint now leads with Add, matching wheels --help.
    • Unknown-subcommand errors point at wheels packages add.
    • $packagesHelp() already documented the LuCLI intercept; left as-is.

LuCLI limit (documented, not hooked)

wheels packages install is swallowed by LuCLI's built-in extension installer before Module.cfc runs. There is no safe in-module alias for the shell path. MCP / in-process callers already fall through case "install": to add (#2786). This PR does not invent a fragile pre-dispatch hook.

Feature Completeness Checklist

  • DCO sign-off -- Every commit carries Signed-off-by:
  • Tests -- Source-scan specs for help hint, unknown-subcommand copy, in-app packagelist snippet, and packages-site snippets
  • Framework Docs -- Updated v4 MDX + sidebar; install slug redirects to add
  • AI Reference Docs -- N/A (no .ai/wheels/ packages install verb)
  • CLAUDE.md -- Already documents wheels packages add
  • Changelog fragment -- changelog.d/3378-packages-add-verb.fixed.md
  • Test runner passes -- Required Lucee 7 + SQLite CI passed (includes the new specs). Local tools/test-local.sh could not start here (no wheels CLI / Docker). Source-scan assertions were re-checked independently.

Test Plan

  • Required CI: Lucee 7 + SQLite (LuCLI)
  • Deploy guides / Deploy packages succeeded
  • Visual baselines updated after intentional packages-site copy change
  • Confirm no user-facing wheels packages install remains as a recommended command (warnings that say "not the verb" are intentional)
Open in Web Open in Cursor 

LuCLI intercepts `packages install` before Module.cfc, so user-facing
copy, --help, and the packages website now lead with `add`. The Basecoat
chapter also copies the showcase from vendor/ after add, not GitHub.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>

Co-authored-by: Peter Amiri <peter@alurium.com>
The packages index and wheels-sentry canaries now screenshot
`wheels packages add` instead of the intercepted `install` verb.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>

Co-authored-by: Peter Amiri <peter@alurium.com>
@bpamiri
bpamiri marked this pull request as ready for review August 20, 2026 14:06
@bpamiri
bpamiri merged commit ae263f9 into develop Aug 20, 2026
24 checks passed
@bpamiri
bpamiri deleted the cursor/packages-add-not-install-908c branch August 20, 2026 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants