@codyswann/lisa 2.8.1 → 2.8.2
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 +1 -1
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/scripts/install-claude-plugins.sh +21 -0
package/package.json
CHANGED
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"lodash": ">=4.18.1"
|
|
80
80
|
},
|
|
81
81
|
"name": "@codyswann/lisa",
|
|
82
|
-
"version": "2.8.
|
|
82
|
+
"version": "2.8.2",
|
|
83
83
|
"description": "Claude Code governance framework that applies guardrails, guidance, and automated enforcement to projects",
|
|
84
84
|
"main": "dist/index.js",
|
|
85
85
|
"exports": {
|
|
@@ -103,6 +103,27 @@ if ! command -v claude &>/dev/null; then exit 0; fi
|
|
|
103
103
|
# pointing to the GitHub repo (CodySwannGT/lisa). Built plugins are committed to the repo
|
|
104
104
|
# so relative paths in marketplace.json resolve correctly.
|
|
105
105
|
|
|
106
|
+
# Heal stale local registrations of the "lisa" marketplace.
|
|
107
|
+
# Earlier Lisa versions (pre-2.0) registered node_modules/@codyswann/lisa as a
|
|
108
|
+
# *local* marketplace named "lisa" via `claude marketplace add "$LISA_DIR"`.
|
|
109
|
+
# That registration persists in the host project's claude state across upgrades
|
|
110
|
+
# and shadows the github source declared in extraKnownMarketplaces, which makes
|
|
111
|
+
# Claude Code's plugin UI mark the lisa plugin as a local plugin and refuse the
|
|
112
|
+
# "Update now" action with: "Local plugins cannot be updated remotely."
|
|
113
|
+
# If we detect a non-github marketplace named "lisa", uninstall the plugins
|
|
114
|
+
# sourced from it and remove the registration so the github source can take over.
|
|
115
|
+
if command -v jq >/dev/null 2>&1; then
|
|
116
|
+
STALE_LISA_SOURCE=$(claude plugin marketplace list --json 2>/dev/null \
|
|
117
|
+
| jq -r '.[] | select(.name == "lisa" and .source != "github") | .source' 2>/dev/null \
|
|
118
|
+
| head -n 1)
|
|
119
|
+
if [ -n "${STALE_LISA_SOURCE:-}" ]; then
|
|
120
|
+
for stale_plugin in "lisa@lisa" "lisa-typescript@lisa" "lisa-expo@lisa" "lisa-nestjs@lisa" "lisa-cdk@lisa" "lisa-rails@lisa"; do
|
|
121
|
+
claude plugin uninstall "$stale_plugin" --scope project </dev/null >/dev/null 2>&1 || true
|
|
122
|
+
done
|
|
123
|
+
claude plugin marketplace remove lisa </dev/null >/dev/null 2>&1 || true
|
|
124
|
+
fi
|
|
125
|
+
fi
|
|
126
|
+
|
|
106
127
|
# Always install the base plugin (universal governance for all projects)
|
|
107
128
|
claude plugin install "lisa@lisa" --scope project </dev/null 2>&1 || true
|
|
108
129
|
|