@codyswann/lisa 4.71.8 → 4.71.9
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/README.md +7 -0
- package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +2 -1
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/dist/strategies/merge.d.ts +1 -1
- package/dist/strategies/merge.d.ts.map +1 -1
- package/dist/strategies/merge.js +22 -2
- package/dist/strategies/merge.js.map +1 -1
- package/package.json +4 -4
- 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 +1 -1
- package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
- 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/scripts/install-claude-plugins.sh +8 -4
|
@@ -4,7 +4,7 @@ import type { ICopyStrategy, StrategyContext } from "./strategy.interface.js";
|
|
|
4
4
|
* Produce the exact JSON merge result without filesystem access.
|
|
5
5
|
* @param source - Lisa template object
|
|
6
6
|
* @param destination - Existing host object
|
|
7
|
-
* @returns Merged object with Lisa
|
|
7
|
+
* @returns Merged object with Lisa governance and explicit Sentry choice preserved
|
|
8
8
|
*/
|
|
9
9
|
export declare function mergeTemplateJson(source: Record<string, unknown>, destination: Record<string, unknown>): Record<string, unknown>;
|
|
10
10
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"merge.d.ts","sourceRoot":"","sources":["../../src/strategies/merge.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"merge.d.ts","sourceRoot":"","sources":["../../src/strategies/merge.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAW9E;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GACnC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAsBzB;AAED;;;;;GAKG;AACH,qBAAa,aAAc,YAAW,aAAa;IACjD,QAAQ,CAAC,IAAI,EAAG,OAAO,CAAU;IAEjC;;;;;;;OAOG;IACG,KAAK,CACT,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,eAAe,GACvB,OAAO,CAAC,mBAAmB,CAAC;CAoDhC"}
|
package/dist/strategies/merge.js
CHANGED
|
@@ -4,14 +4,34 @@ import { isPostinstallSafeApply } from "../core/apply-mode.js";
|
|
|
4
4
|
import { ensureParentDir } from "../utils/file-operations.js";
|
|
5
5
|
import { readJson, writeJson, deepMergeWithArrayUnion, } from "../utils/json-utils.js";
|
|
6
6
|
import { JsonMergeError } from "../errors/index.js";
|
|
7
|
+
const OFFICIAL_SENTRY_PLUGIN = "sentry@claude-plugins-official";
|
|
7
8
|
/**
|
|
8
9
|
* Produce the exact JSON merge result without filesystem access.
|
|
9
10
|
* @param source - Lisa template object
|
|
10
11
|
* @param destination - Existing host object
|
|
11
|
-
* @returns Merged object with Lisa
|
|
12
|
+
* @returns Merged object with Lisa governance and explicit Sentry choice preserved
|
|
12
13
|
*/
|
|
13
14
|
export function mergeTemplateJson(source, destination) {
|
|
14
|
-
|
|
15
|
+
const merged = deepMergeWithArrayUnion(destination, source);
|
|
16
|
+
const existing = destination["enabledPlugins"];
|
|
17
|
+
const plugins = merged["enabledPlugins"];
|
|
18
|
+
if (!existing ||
|
|
19
|
+
typeof existing !== "object" ||
|
|
20
|
+
Array.isArray(existing) ||
|
|
21
|
+
!plugins ||
|
|
22
|
+
typeof plugins !== "object" ||
|
|
23
|
+
Array.isArray(plugins))
|
|
24
|
+
return merged;
|
|
25
|
+
const choice = existing[OFFICIAL_SENTRY_PLUGIN];
|
|
26
|
+
if (typeof choice !== "boolean")
|
|
27
|
+
return merged;
|
|
28
|
+
// The official Claude plugin is optional, not a Lisa enforcement surface.
|
|
29
|
+
// Other runtimes keep their native Sentry integrations; this preference only
|
|
30
|
+
// names Claude's plugin. Missing choices still receive the template default.
|
|
31
|
+
return {
|
|
32
|
+
...merged,
|
|
33
|
+
enabledPlugins: { ...plugins, [OFFICIAL_SENTRY_PLUGIN]: choice },
|
|
34
|
+
};
|
|
15
35
|
}
|
|
16
36
|
/**
|
|
17
37
|
* Merge strategy: Deep merge JSON files (Lisa values take precedence)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"merge.js","sourceRoot":"","sources":["../../src/strategies/merge.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAG/D,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EACL,QAAQ,EACR,SAAS,EACT,uBAAuB,GACxB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD;;;;;GAKG;AACH,MAAM,UAAU,iBAAiB,CAC/B,MAA+B,EAC/B,WAAoC;IAEpC,
|
|
1
|
+
{"version":3,"file":"merge.js","sourceRoot":"","sources":["../../src/strategies/merge.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAG/D,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EACL,QAAQ,EACR,SAAS,EACT,uBAAuB,GACxB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,MAAM,sBAAsB,GAAG,gCAAgC,CAAC;AAEhE;;;;;GAKG;AACH,MAAM,UAAU,iBAAiB,CAC/B,MAA+B,EAC/B,WAAoC;IAEpC,MAAM,MAAM,GAAG,uBAAuB,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;IAC5D,MAAM,QAAQ,GAAG,WAAW,CAAC,gBAAgB,CAAC,CAAC;IAC/C,MAAM,OAAO,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC;IACzC,I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16.0"
|
|
190
190
|
},
|
|
191
191
|
"name": "@codyswann/lisa",
|
|
192
|
-
"version": "4.71.
|
|
192
|
+
"version": "4.71.9",
|
|
193
193
|
"description": "Claude Code governance framework that applies guardrails, guidance, and automated enforcement to projects",
|
|
194
194
|
"main": "dist/index.js",
|
|
195
195
|
"exports": {
|
|
@@ -345,7 +345,7 @@
|
|
|
345
345
|
"test": "tests"
|
|
346
346
|
},
|
|
347
347
|
"types": "./dist/index.d.ts",
|
|
348
|
-
"lisaReleaseCommit": "
|
|
349
|
-
"gitHead": "
|
|
350
|
-
"lisaReleaseTag": "v4.71.
|
|
348
|
+
"lisaReleaseCommit": "6699cdf1eb04972144936ab42c85297e8ddab62d",
|
|
349
|
+
"gitHead": "6699cdf1eb04972144936ab42c85297e8ddab62d",
|
|
350
|
+
"lisaReleaseTag": "v4.71.9"
|
|
351
351
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "4.71.
|
|
3
|
+
"version": "4.71.9",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "4.71.
|
|
3
|
+
"version": "4.71.9",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, across Claude and Codex.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "4.71.
|
|
3
|
+
"version": "4.71.9",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "4.71.
|
|
3
|
+
"version": "4.71.9",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "4.71.
|
|
3
|
+
"version": "4.71.9",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -580,16 +580,20 @@ done
|
|
|
580
580
|
|
|
581
581
|
# Retire third-party plugins Lisa no longer curates. The base lisa plugin
|
|
582
582
|
# bundles the Sentry MCP server (plugins/src/base/.mcp.json) for every agent
|
|
583
|
-
# runtime
|
|
584
|
-
#
|
|
583
|
+
# runtime. The official Claude plugin remains disabled by default to avoid
|
|
584
|
+
# duplicate registration (#1955), but an explicit host choice enables its own
|
|
585
|
+
# maintained skills and must survive sync (#4318). Likewise, the Lisa-native
|
|
585
586
|
# parity-safety-net.sh hook screens every Bash command, so the upstream
|
|
586
587
|
# safety-net plugin double-screened each command; its material guards were
|
|
587
|
-
# absorbed into the Lisa hook (issue #1960).
|
|
588
|
-
# both enabledPlugins entries to false; this removes the installs themselves.
|
|
588
|
+
# absorbed into the Lisa hook (issue #1960). Remove unchosen retired installs.
|
|
589
589
|
# Version-gated like the other one-time heals so same-version runs don't spawn
|
|
590
590
|
# the CLI.
|
|
591
591
|
if [ "$FORCE_PLUGIN_SYNC" = "true" ]; then
|
|
592
592
|
for retired_plugin in "sentry@claude-plugins-official" "safety-net@cc-marketplace"; do
|
|
593
|
+
if [ "$retired_plugin" = "sentry@claude-plugins-official" ] &&
|
|
594
|
+
node -e 'try { const s = JSON.parse(require("node:fs").readFileSync(process.argv[1], "utf8")); process.exit(s.enabledPlugins?.["sentry@claude-plugins-official"] === true ? 0 : 1); } catch { process.exit(1); }' "$SETTINGS_FILE"; then
|
|
595
|
+
continue
|
|
596
|
+
fi
|
|
593
597
|
claude plugin uninstall "$retired_plugin" --scope project </dev/null >/dev/null 2>&1 || true
|
|
594
598
|
done
|
|
595
599
|
fi
|