mesa-doc /mesa-pro/docs/pack-install
docs

Pro pack install (stage 1)

mesa-pack install is the commercial entry point for solution packs.

mesa-pack install --pack ./demo.core --project ../my-shop \
  --license-file ./acme.license [--force] [--json]

mesa-pack list --project ../my-shop [--json]
mesa-pack remove --project ../my-shop --id demo.pack [--json]
mesa-pack upgrade --pack ./demo.core --project ../my-shop [--allow-breaking] [--json]
mesa-pack rollback --project ../my-shop --id demo.pack [--json]
mesa-pack disable --project ../my-shop --id demo.pack [--json]
mesa-pack enable --pack ./demo.core --project ../my-shop [--json]

License gate

  • Reads pack.json, derives plugin = pack.<id>.
  • Verifies MESA_LICENSE_FILE/--license-file through the base modu license verify --json.
  • Requires limits.plugins to contain pack.<id> (or *); otherwise PLUGIN_NOT_LICENSED. The same check applies to upgrade and enable (both re-introduce files).
  • Only then runs the Pro engine (apply).

Migration status

Pro now owns the full pack lifecycle engine (install/list/remove/upgrade/rollback/disable/enable) in src/pack/engine.mjs. The base still has the old engine until the next slice removes its installer verbs; format/pack verify stay in the base. Pro never imports base source.

源文件 · mesa-pro/docs/pack-install.md