Skip to content

Allow commander in bundled CLI production dependencies - #5

Merged
gersham merged 1 commit into
mainfrom
cursor/allow-commander-cli-dep-a5d2
Sep 10, 2026
Merged

gersham merged 1 commit into
mainfrom
cursor/allow-commander-cli-dep-a5d2

Conversation

@gersham

@gersham gersham commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Problem

screenrig/cli main now uses Commander (cli#7). Public plugin gates fail after packing that CLI:

bundled CLI dependencies must be exactly ['@napi-rs/canvas', 'ajv', 'ajv-formats']; extra ['commander']; missing []

cli#10 already restored flat leaf paths in root --help, so skill-vs-binary is not the blocker.

Change

  • Add commander to the exact production-dependency allowlist in scripts/check-public-repo.py. The set remains closed: @napi-rs/canvas, ajv, ajv-formats, commander.
  • Pin that set in scripts/test-public-dependencies.py and reject a missing commander declaration.
  • Regenerate plugins/screenrig/ from current screenrig/cli main and record provenance in components.lock.json.

Verification

Local public gates passed on this revision:

  • python3 scripts/check-public-repo.py
  • plugins/screenrig/skills/screenrig/scripts/screenrig --json version
  • python3 scripts/build-plugin.py --check --cli-artifact <packed-cli-main>
  • python3 scripts/validate-plugin.py --cli-artifact <packed-cli-main> --cli-source <cli-main> (includes stale-language audit)
  • python3 scripts/test-public-dependencies.py (8 tests)
  • python3 scripts/test-skill-commands.py
  • python3 scripts/test-plugin-freshness.py
  • python3 scripts/test-launcher.py

Bundled CLI: screenrig/cli 6b85d88e478b827cb3d8ba453a17625ff14b74ca, artifact sha256 bee8279b52401f006c0b69fae8b7aaace1ae7b6764d425d81c83b2069c25dc9c.

Skipped: marketplace install, live API, native hardware, production deployment.

Open in Web Open in Cursor 

CLI main now declares commander after the parser move. Keep the public
gate exact-set check, add commander only, and regenerate the plugin from
current screenrig/cli main so the committed bundle matches.

Co-authored-by: Gersham Meharg <gersham@users.noreply.github.com>
@gersham
gersham marked this pull request as ready for review September 10, 2026 21:00
@gersham
gersham merged commit a9c8fdd into main Sep 10, 2026
3 checks passed
@gersham
gersham deleted the cursor/allow-commander-cli-dep-a5d2 branch September 10, 2026 21:01
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.

2 participants