@codyswann/lisa 2.162.0 → 2.163.1
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/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-agy/plugin.json +1 -1
- package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +12 -1
- package/plugins/lisa-harper-fabric/.codex-plugin/hooks.json +11 -0
- package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/hooks/enforce-config-extensions.mjs +143 -0
- package/plugins/lisa-harper-fabric/hooks/enforce-config-extensions.sh +19 -0
- package/plugins/lisa-harper-fabric/rules/harper-fabric.md +1 -0
- package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +12 -1
- package/plugins/lisa-harper-fabric-copilot/hooks/enforce-config-extensions.mjs +143 -0
- package/plugins/lisa-harper-fabric-copilot/hooks/enforce-config-extensions.sh +19 -0
- package/plugins/lisa-harper-fabric-copilot/rules/harper-fabric.md +1 -0
- package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-cursor/hooks/enforce-config-extensions.mjs +143 -0
- package/plugins/lisa-harper-fabric-cursor/hooks/enforce-config-extensions.sh +19 -0
- package/plugins/lisa-harper-fabric-cursor/hooks/hooks.json +6 -0
- package/plugins/lisa-harper-fabric-cursor/rules/harper-fabric.mdc +1 -0
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-agy/plugin.json +1 -1
- package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-agy/plugin.json +1 -1
- package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-agy/plugin.json +1 -1
- package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-agy/plugin.json +1 -1
- package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/src/harper-fabric/.claude-plugin/plugin.json +8 -0
- package/plugins/src/harper-fabric/hooks/enforce-config-extensions.mjs +143 -0
- package/plugins/src/harper-fabric/hooks/enforce-config-extensions.sh +19 -0
- package/plugins/src/harper-fabric/rules/harper-fabric.md +1 -0
- package/typescript/copy-contents/.husky/pre-push +21 -9
|
@@ -144,17 +144,29 @@ else
|
|
|
144
144
|
echo "✅ No high or critical vulnerabilities found in production dependencies (excluding known false positives)"
|
|
145
145
|
|
|
146
146
|
elif [ "$PACKAGE_MANAGER" = "bun" ]; then
|
|
147
|
-
#
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
147
|
+
# NOTE: bun's `--ignore` flag is unreliable when many exclusions are passed
|
|
148
|
+
# (bun <=1.3.x silently stops applying ignores past a small count, leaking
|
|
149
|
+
# excluded high/critical advisories and failing the gate). So instead of
|
|
150
|
+
# `bun audit --audit-level=high --ignore ...`, parse `bun audit --json` and
|
|
151
|
+
# apply the exclusion list ourselves with jq — same approach as the npm/yarn
|
|
152
|
+
# paths above.
|
|
153
|
+
AUDIT_JSON=$(bun audit --json 2>/dev/null || true)
|
|
154
|
+
UNFIXED_HIGH=$(echo "$AUDIT_JSON" | jq -r --arg ids "$AUDIT_EXCLUSIONS" '
|
|
155
|
+
($ids | split(" ") | map(select(length > 0))) as $ex
|
|
156
|
+
| [ .[]? | .[]?
|
|
157
|
+
| select(.severity == "high" or .severity == "critical")
|
|
158
|
+
| (.url | sub(".*/"; "")) as $g
|
|
159
|
+
| select(($ex | index($g)) | not)
|
|
160
|
+
| $g ]
|
|
161
|
+
| unique')
|
|
162
|
+
UNFIXED_COUNT=$(echo "$UNFIXED_HIGH" | jq -r 'length' 2>/dev/null || echo 0)
|
|
163
|
+
if [ "$UNFIXED_COUNT" -gt 0 ]; then
|
|
164
|
+
echo "⚠️ Security audit failed. Unresolved high/critical advisories in production dependencies:"
|
|
165
|
+
echo "$UNFIXED_HIGH" | jq -r '.[]'
|
|
166
|
+
echo "Fix them, or add the GHSA id to audit.ignore.local.json with a justification, before pushing."
|
|
155
167
|
exit 1
|
|
156
168
|
fi
|
|
157
|
-
echo "✅ No high or critical vulnerabilities found in production dependencies"
|
|
169
|
+
echo "✅ No high or critical vulnerabilities found in production dependencies (excluding known false positives)"
|
|
158
170
|
fi
|
|
159
171
|
fi
|
|
160
172
|
|