@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 CHANGED
@@ -79,7 +79,7 @@
79
79
  "lodash": ">=4.18.1"
80
80
  },
81
81
  "name": "@codyswann/lisa",
82
- "version": "2.8.1",
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": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "2.8.1",
3
+ "version": "2.8.2",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "2.8.1",
3
+ "version": "2.8.2",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "2.8.1",
3
+ "version": "2.8.2",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "2.8.1",
3
+ "version": "2.8.2",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (migration write-protection)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "2.8.1",
3
+ "version": "2.8.2",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "2.8.1",
3
+ "version": "2.8.2",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -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