What's Changed
Features
- cli.bundle.mjs for marketplace installs: Marketplace installs (via
/plugin install) now have full CLI support. Thecli.bundle.mjsbundle (likeserver.bundle.mjs) provides upgrade and doctor commands without needing thebuild/directory.
Bug Fixes
- getPluginRoot() path resolution: Correctly resolves plugin root whether running from
build/cli.jsorcli.bundle.mjsat project root. - Upgrade skill: Now uses
cli.bundle.mjswith fallback tobuild/cli.js— works in both marketplace and npm installs. - Doctor skill: Same fallback pattern, replaces
npx tsxwithnodefor faster execution.
CI
- Bundle workflow now commits both
server.bundle.mjsandcli.bundle.mjs.
Tests
- 12 new tests for cli-bundle feature covering package config, bundle artifact, source contracts, skills, and gitignore.