@imfusion/web-ui 0.5.1-dev.30.gf9b152db → 0.5.1-dev.32.gddf4b438
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: imf-web-ui-update
|
|
3
3
|
description:
|
|
4
|
-
"Update @imfusion/web-ui in a consumer repository: refresh the package
|
|
5
|
-
|
|
6
|
-
separate approved commit."
|
|
4
|
+
"Update @imfusion/web-ui in a consumer repository: refresh the package, vendored skills, and lifecycle hooks, verify the
|
|
5
|
+
base update, then audit and optionally migrate affected or custom consumer components in a separate approved commit."
|
|
7
6
|
argument-hint: "[--dry-run] [optional version or reason]"
|
|
8
7
|
allowed-tools: Bash Read Grep
|
|
9
8
|
---
|
|
@@ -52,33 +51,21 @@ npm install @imfusion/web-ui
|
|
|
52
51
|
Use the equivalent command for another detected manager. Pass an explicit version only when the user supplied one. Do not use
|
|
53
52
|
`--force` or `--legacy-peer-deps` to make installation pass. Stop on install failure.
|
|
54
53
|
|
|
55
|
-
Then refresh the existing web-ui skill target:
|
|
54
|
+
Then refresh the existing web-ui skill target and lifecycle hooks:
|
|
56
55
|
|
|
57
56
|
```sh
|
|
58
|
-
npx web-ui-install --skills
|
|
57
|
+
npx --no-install web-ui-install --skills
|
|
58
|
+
npx --no-install web-ui-install --hooks
|
|
59
59
|
```
|
|
60
60
|
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
Run these from the consumer package after its dependency install. `--no-install` uses the installed package's binary and
|
|
62
|
+
fails clearly when the package is absent, rather than asking npm to download a nonexistent `web-ui-install` package. Use the
|
|
63
|
+
detected manager's runner for non-npm projects. Preserve the existing target (`.agents`, `.claude`, or both); do not silently
|
|
64
|
+
choose a new one.
|
|
63
65
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
- If current web-ui hooks cover a responsibility, do not reinstall it.
|
|
69
|
-
- If no equivalent hook exists and the installer-owned destination is clean, ask whether to run:
|
|
70
|
-
|
|
71
|
-
```sh
|
|
72
|
-
npx web-ui-install --hooks
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
Run it only after the user accepts. Use the detected runner otherwise.
|
|
76
|
-
|
|
77
|
-
- If another hook covers a responsibility, do not stack a duplicate. Report the overlap and ask whether to leave hooks alone
|
|
78
|
-
or adapt the existing hook in a separate approved change.
|
|
79
|
-
- Invalid settings or dirty installer-owned hook files are conflicts. Stop and ask for resolution.
|
|
80
|
-
|
|
81
|
-
A declined hook offer is valid. Report `hooks: skipped by user` and continue.
|
|
66
|
+
Always run both installer commands after the package update. Skills and installer-owned hook scripts may have changed even
|
|
67
|
+
when their existing registrations already cover session start, prompt submit, and post-edit verification. The hook installer
|
|
68
|
+
refreshes those scripts wholesale and merges registrations idempotently. Stop on malformed settings or installer conflicts.
|
|
82
69
|
|
|
83
70
|
## Verification
|
|
84
71
|
|