Skip to content

feat: /lcd:vendor command (0.21.0) - #24

Open
stid wants to merge 2 commits into
mainfrom
feat/vendor-command
Open

stid wants to merge 2 commits into
mainfrom
feat/vendor-command

Conversation

@stid

@stid stid commented Oct 25, 2026

Copy link
Copy Markdown
Owner

Adds /lcd:vendor [install|update|check], so a plugin session can freeze LCD into the current project. Until now that meant calling lcd-vendor.sh by path. /lcd-update existed only inside frozen copies, so plugin projects had no command for this.

  • It previews with --dry-run, asks, applies, then runs doctor.
  • On install it offers to set "enabledPlugins": {"lcd@lcd": false} in the project's .claude/settings.json. Otherwise a session that also has the plugin enabled runs every hook twice.
  • It calls ${CLAUDE_PLUGIN_ROOT}/bin/lcd-vendor.sh by path. In a headless smoke test with two LCD copies loaded (a --plugin-dir build plus the installed one), the bare name on PATH resolved to the other copy's 0.20.0.
  • lcd-vendor.sh leaves this command out of the frozen copy, because the script it drives isn't vendored. The copy carries /lcd-update instead. A test in tests/test-vendor.sh checks this.

Verification:

  • Suite 14/14; claude plugin validate passes.
  • Headless smoke on the branch build: /lcd:vendor check reports vendored: 0.21.0 · source: 0.21.0 · up to date.

🤖 Generated with Claude Code

https://claude.ai/code/session_01VCp4cMxLbQXy83ZZv9RDXp

stid and others added 2 commits October 24, 2026 17:17
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VCp4cMxLbQXy83ZZv9RDXp
…plugin session

Calls its own plugin's lcd-vendor.sh by path; offers to disable the plugin for the
project on install. Excluded from the frozen copy (which carries /lcd-update).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VCp4cMxLbQXy83ZZv9RDXp
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