feat(installer): support pi package remove and update
This commit is contained in:
+12
-1
@@ -79,11 +79,22 @@ Workflow skills install/update the reviewer-runtime helper bundle automatically
|
||||
|
||||
## Pi Package Mode
|
||||
|
||||
Pi can be managed as a package install or by manual skill copy. Package mode installs the full Pi bundle and bootstraps packaged runtimes:
|
||||
Pi can be managed as a package install or by manual skill copy. Package mode always manages the full Pi bundle; per-skill prompts and `--skill` narrowing are ignored for `packageGlobal` and `packageLocal`.
|
||||
|
||||
Package-mode actions:
|
||||
|
||||
- `install`: register the package if needed, list bundled skills, and skip already-bootstrapped runtimes.
|
||||
- `update`: sync the Pi package mirror, reinstall the package registration, and rerun runtime dependency bootstrapping.
|
||||
- `reinstall`: same behavior as `update`, kept for action parity with manual skill scopes.
|
||||
- `remove`: unregister the package with `pi remove`; this does not delete repo files or `node_modules`.
|
||||
|
||||
Examples:
|
||||
|
||||
```bash
|
||||
node scripts/manage-skills.mjs --client pi --scope packageGlobal --pi-package --action install --yes
|
||||
node scripts/manage-skills.mjs --client pi --scope packageLocal --pi-package --action install --yes
|
||||
node scripts/manage-skills.mjs --client pi --scope packageGlobal --pi-package --action update --yes
|
||||
node scripts/manage-skills.mjs --client pi --scope packageGlobal --pi-package --action remove --yes
|
||||
```
|
||||
|
||||
The compatibility script remains available:
|
||||
|
||||
Reference in New Issue
Block a user