@codyswann/lisa 4.99.10 → 4.99.11
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/dist/cli/ui-enabled-plugins.d.ts.map +1 -1
- package/dist/cli/ui-enabled-plugins.js +5 -29
- package/dist/cli/ui-enabled-plugins.js.map +1 -1
- package/dist/core/lisa.d.ts +10 -1
- package/dist/core/lisa.d.ts.map +1 -1
- package/dist/core/lisa.js +38 -3
- package/dist/core/lisa.js.map +1 -1
- package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/plugin-command.d.ts +14 -0
- package/dist/core/plugin-command.d.ts.map +1 -1
- package/dist/core/plugin-command.js +21 -3
- package/dist/core/plugin-command.js.map +1 -1
- package/dist/core/plugin-marketplace-filter.d.ts +36 -0
- package/dist/core/plugin-marketplace-filter.d.ts.map +1 -0
- package/dist/core/plugin-marketplace-filter.js +35 -0
- package/dist/core/plugin-marketplace-filter.js.map +1 -0
- package/dist/core/plugin-registration-prune.d.ts +31 -0
- package/dist/core/plugin-registration-prune.d.ts.map +1 -0
- package/dist/core/plugin-registration-prune.js +257 -0
- package/dist/core/plugin-registration-prune.js.map +1 -0
- package/dist/core/retired-plugin-keys.d.ts +24 -0
- package/dist/core/retired-plugin-keys.d.ts.map +1 -0
- package/dist/core/retired-plugin-keys.js +12 -0
- package/dist/core/retired-plugin-keys.js.map +1 -0
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +11 -1
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/dist/migrations/index.d.ts +1 -0
- package/dist/migrations/index.d.ts.map +1 -1
- package/dist/migrations/index.js +4 -0
- package/dist/migrations/index.js.map +1 -1
- package/dist/migrations/prune-retired-claude-stack-plugin-keys.d.ts +33 -0
- package/dist/migrations/prune-retired-claude-stack-plugin-keys.d.ts.map +1 -0
- package/dist/migrations/prune-retired-claude-stack-plugin-keys.js +98 -0
- package/dist/migrations/prune-retired-claude-stack-plugin-keys.js.map +1 -0
- package/dist/utils/marketplace-manifest.d.ts +19 -0
- package/dist/utils/marketplace-manifest.d.ts.map +1 -0
- package/dist/utils/marketplace-manifest.js +59 -0
- package/dist/utils/marketplace-manifest.js.map +1 -0
- 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-cdk-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.devin-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-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/.devin-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-expo-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/.devin-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-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.devin-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-nestjs-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.devin-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-openclaw-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-devin/.devin-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-phaser-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/.devin-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-rails-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/.devin-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-typescript-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.devin-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/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
- package/typescript/copy-contents/.husky/post-checkout +28 -0
|
@@ -4,10 +4,22 @@ import { spawn } from "node:child_process";
|
|
|
4
4
|
export const PLUGIN_PROBE_TIMEOUT_MS = 15_000;
|
|
5
5
|
/** Registration shares the normal reconciliation wait budget across commands. */
|
|
6
6
|
export const PLUGIN_REGISTRATION_TIMEOUT_MS = 120_000;
|
|
7
|
+
/**
|
|
8
|
+
* Budget for pruning dead-checkout registrations in one apply. A machine with a
|
|
9
|
+
* large backlog clears it over several applies instead of stalling one.
|
|
10
|
+
*/
|
|
11
|
+
export const PLUGIN_PRUNE_TIMEOUT_MS = 30_000;
|
|
7
12
|
/** Grace period for the owned CLI group to finish after termination. */
|
|
8
13
|
const TERMINATION_GRACE_MS = 2_000;
|
|
9
14
|
/** Preserve Node exec's default per-stream capture limit. */
|
|
10
15
|
const MAX_CAPTURE_BYTES = 1_048_576;
|
|
16
|
+
/**
|
|
17
|
+
* Capture limit for `claude plugin list --json`. The registry lists every
|
|
18
|
+
* project-scope registration on the machine, and a long-lived workstation's
|
|
19
|
+
* list passes 2 MB — over the default limit, which made each list call fail
|
|
20
|
+
* and every caller fall back silently (#4645).
|
|
21
|
+
*/
|
|
22
|
+
export const PLUGIN_LIST_MAX_CAPTURE_BYTES = 33_554_432;
|
|
11
23
|
/**
|
|
12
24
|
* Preserve the command's failure before attempting final cleanup.
|
|
13
25
|
* @param failure - Earlier stream or command error
|
|
@@ -35,6 +47,7 @@ export async function runPluginCommand(args, options) {
|
|
|
35
47
|
if (!Number.isFinite(options.timeoutMs) || options.timeoutMs <= 0) {
|
|
36
48
|
throw new Error("Plugin registration operation deadline reached");
|
|
37
49
|
}
|
|
50
|
+
const maxCaptureBytes = options.maxCaptureBytes ?? MAX_CAPTURE_BYTES;
|
|
38
51
|
return await new Promise((resolve, reject) => {
|
|
39
52
|
const grouped = process.platform !== "win32";
|
|
40
53
|
// The vendor CLI is user-installed; argv is never evaluated by a shell.
|
|
@@ -76,9 +89,14 @@ export async function runPluginCommand(args, options) {
|
|
|
76
89
|
stdoutBytes += size;
|
|
77
90
|
else
|
|
78
91
|
stderrBytes += size;
|
|
79
|
-
if (stdoutBytes >
|
|
80
|
-
|
|
81
|
-
|
|
92
|
+
if (stdoutBytes > maxCaptureBytes || stderrBytes > maxCaptureBytes) {
|
|
93
|
+
// Terminate once. Buffered chunks keep arriving after SIGTERM, and
|
|
94
|
+
// re-signalling a group whose leader has exited throws EPERM on macOS
|
|
95
|
+
// from inside this stream listener — an uncaught exception.
|
|
96
|
+
if (failure === undefined) {
|
|
97
|
+
failure = new Error("Plugin command output exceeded capture limit");
|
|
98
|
+
terminate();
|
|
99
|
+
}
|
|
82
100
|
}
|
|
83
101
|
else if (stream === "stdout" && failure === undefined) {
|
|
84
102
|
stdout += chunk;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-command.js","sourceRoot":"","sources":["../../src/core/plugin-command.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE3C,8CAA8C;AAC9C,MAAM,CAAC,MAAM,uBAAuB,GAAG,MAAM,CAAC;AAC9C,iFAAiF;AACjF,MAAM,CAAC,MAAM,8BAA8B,GAAG,OAAO,CAAC;AACtD,wEAAwE;AACxE,MAAM,oBAAoB,GAAG,KAAK,CAAC;AACnC,6DAA6D;AAC7D,MAAM,iBAAiB,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"plugin-command.js","sourceRoot":"","sources":["../../src/core/plugin-command.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE3C,8CAA8C;AAC9C,MAAM,CAAC,MAAM,uBAAuB,GAAG,MAAM,CAAC;AAC9C,iFAAiF;AACjF,MAAM,CAAC,MAAM,8BAA8B,GAAG,OAAO,CAAC;AACtD;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,MAAM,CAAC;AAC9C,wEAAwE;AACxE,MAAM,oBAAoB,GAAG,KAAK,CAAC;AACnC,6DAA6D;AAC7D,MAAM,iBAAiB,GAAG,SAAS,CAAC;AACpC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,UAAU,CAAC;AAUxD;;;;;;GAMG;AACH,SAAS,eAAe,CACtB,OAA0B,EAC1B,QAAiB,EACjB,IAAmB;IAEnB,OAAO,CACL,OAAO;QACP,CAAC,QAAQ;YACP,CAAC,CAAC,IAAI,KAAK,CAAC,0BAA0B,CAAC;YACvC,CAAC,CAAC,IAAI,KAAK,CAAC;gBACV,CAAC,CAAC,IAAI,KAAK,CAAC,yBAAyB,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC;gBACpD,CAAC,CAAC,SAAS,CAAC,CACjB,CAAC;AACJ,CAAC;AAED;;;;;;;GAOG;AAC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,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC;QACrE,MAAM,QAAQ,GAAG,UAAU,CAAC,GAAG,EAAE;YAC/B,QAAQ,GAAG,IAAI,CAAC;YAChB,SAAS,EAAE,CAAC;QACd,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;QACtB,KAAK,CAAC,EAAE,CAAC,OAAO,EAAE,KAAK,CAAC,EAAE;YACxB,YAAY,CAAC,QAAQ,CAAC,CAAC;YACvB,YAAY,CAAC,SAAS,CAAC,CAAC;YACxB,MAAM,CAAC,KAAK,CAAC,CAAC;QAChB,CAAC,CAAC,CAAC;QACH,KAAK,CAAC,EAAE,CAAC,OAAO,EAAE,IAAI,CAAC,EAAE;YACvB,sEAAsE;YACtE,uEAAuE;YACvE,YAAY,CAAC,QAAQ,CAAC,CAAC;YACvB,YAAY,CAAC,SAAS,CAAC,CAAC;YACxB,MAAM,YAAY,GAAG,eAAe,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC;YAC9D,IAAI,CAAC;gBACH,MAAM,CAAC,SAAS,CAAC,CAAC;YACpB,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,MAAM,CAAC,YAAY,IAAI,KAAK,CAAC,CAAC;gBAC9B,OAAO;YACT,CAAC;YACD,IAAI,YAAY,KAAK,SAAS;gBAAE,MAAM,CAAC,YAAY,CAAC,CAAC;;gBAChD,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC;QAC3B,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Decide which enabled plugin keys can be installed from the Lisa marketplace.
|
|
3
|
+
*
|
|
4
|
+
* A `<name>@lisa` key whose `<name>` the Lisa marketplace manifest does not
|
|
5
|
+
* list cannot be installed: the CLI fails it on every attempt, which warned on
|
|
6
|
+
* every `lisa apply` and kept the plugin sync from ever completing
|
|
7
|
+
* (CodySwannGT/lisa#4645). Such keys are skipped with one warning naming them,
|
|
8
|
+
* and the skip does not count as a failed install.
|
|
9
|
+
*
|
|
10
|
+
* Only `@lisa` keys are judged — another marketplace's keys are never skipped.
|
|
11
|
+
* When the manifest cannot be read, or names no plugin, nothing is skipped, so an unreadable
|
|
12
|
+
* manifest falls back to the previous install-everything behaviour rather
|
|
13
|
+
* than silently dropping real plugins.
|
|
14
|
+
* @module core/plugin-marketplace-filter
|
|
15
|
+
*/
|
|
16
|
+
import type { MarketplaceCatalog } from "../utils/marketplace-manifest.js";
|
|
17
|
+
/** Enabled keys split into what to install and what to skip. */
|
|
18
|
+
export interface PluginMarketplacePartition {
|
|
19
|
+
readonly installable: readonly string[];
|
|
20
|
+
readonly skipped: readonly string[];
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Split enabled plugin keys by whether the Lisa marketplace can supply them.
|
|
24
|
+
* @param plugins - Enabled plugin keys
|
|
25
|
+
* @param catalog - The Lisa marketplace catalog, or null when unreadable
|
|
26
|
+
* @returns Installable keys and skipped keys, each in input order
|
|
27
|
+
*/
|
|
28
|
+
export declare function partitionByLisaMarketplace(plugins: readonly string[], catalog: MarketplaceCatalog | null): PluginMarketplacePartition;
|
|
29
|
+
/**
|
|
30
|
+
* The one warning line for a skipped key, naming its successor when it is a
|
|
31
|
+
* key Lisa itself retired.
|
|
32
|
+
* @param key - Skipped plugin key
|
|
33
|
+
* @returns Warning text
|
|
34
|
+
*/
|
|
35
|
+
export declare function describeSkippedPluginKey(key: string): string;
|
|
36
|
+
//# sourceMappingURL=plugin-marketplace-filter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-marketplace-filter.d.ts","sourceRoot":"","sources":["../../src/core/plugin-marketplace-filter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAK3E,gEAAgE;AAChE,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,WAAW,EAAE,SAAS,MAAM,EAAE,CAAC;IACxC,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;CACrC;AAED;;;;;GAKG;AACH,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,SAAS,MAAM,EAAE,EAC1B,OAAO,EAAE,kBAAkB,GAAG,IAAI,GACjC,0BAA0B,CAa5B;AAED;;;;;GAKG;AACH,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAM5D"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { RETIRED_STACK_PLUGIN_KEYS } from "./retired-plugin-keys.js";
|
|
2
|
+
const LISA_SUFFIX = "@lisa";
|
|
3
|
+
/**
|
|
4
|
+
* Split enabled plugin keys by whether the Lisa marketplace can supply them.
|
|
5
|
+
* @param plugins - Enabled plugin keys
|
|
6
|
+
* @param catalog - The Lisa marketplace catalog, or null when unreadable
|
|
7
|
+
* @returns Installable keys and skipped keys, each in input order
|
|
8
|
+
*/
|
|
9
|
+
export function partitionByLisaMarketplace(plugins, catalog) {
|
|
10
|
+
// A manifest that names no plugin is as untrustworthy as an unreadable one:
|
|
11
|
+
// skipping against it would drop every real Lisa plugin.
|
|
12
|
+
if (catalog === null || catalog.plugins.length === 0) {
|
|
13
|
+
return { installable: plugins, skipped: [] };
|
|
14
|
+
}
|
|
15
|
+
const known = new Set(catalog.plugins.map(plugin => plugin.name));
|
|
16
|
+
const isMissing = (key) => key.endsWith(LISA_SUFFIX) && !known.has(key.slice(0, -LISA_SUFFIX.length));
|
|
17
|
+
return {
|
|
18
|
+
installable: plugins.filter(key => !isMissing(key)),
|
|
19
|
+
skipped: plugins.filter(isMissing),
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* The one warning line for a skipped key, naming its successor when it is a
|
|
24
|
+
* key Lisa itself retired.
|
|
25
|
+
* @param key - Skipped plugin key
|
|
26
|
+
* @returns Warning text
|
|
27
|
+
*/
|
|
28
|
+
export function describeSkippedPluginKey(key) {
|
|
29
|
+
const successor = RETIRED_STACK_PLUGIN_KEYS.get(key)?.successor;
|
|
30
|
+
const base = `Skipping plugin ${key}: not in the Lisa marketplace`;
|
|
31
|
+
return successor === undefined
|
|
32
|
+
? base
|
|
33
|
+
: `${base} (retired; its successor is ${successor})`;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=plugin-marketplace-filter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-marketplace-filter.js","sourceRoot":"","sources":["../../src/core/plugin-marketplace-filter.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAErE,MAAM,WAAW,GAAG,OAAO,CAAC;AAQ5B;;;;;GAKG;AACH,MAAM,UAAU,0BAA0B,CACxC,OAA0B,EAC1B,OAAkC;IAElC,4EAA4E;IAC5E,yDAAyD;IACzD,IAAI,OAAO,KAAK,IAAI,IAAI,OAAO,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACrD,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC/C,CAAC;IACD,MAAM,KAAK,GAAG,IAAI,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;IAClE,MAAM,SAAS,GAAG,CAAC,GAAW,EAAW,EAAE,CACzC,GAAG,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC;IAC7E,OAAO;QACL,WAAW,EAAE,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;QACnD,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,SAAS,CAAC;KACnC,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,wBAAwB,CAAC,GAAW;IAClD,MAAM,SAAS,GAAG,yBAAyB,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,SAAS,CAAC;IAChE,MAAM,IAAI,GAAG,mBAAmB,GAAG,+BAA+B,CAAC;IACnE,OAAO,SAAS,KAAK,SAAS;QAC5B,CAAC,CAAC,IAAI;QACN,CAAC,CAAC,GAAG,IAAI,+BAA+B,SAAS,GAAG,CAAC;AACzD,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/** Runs `claude <args>` in `cwd`; rejects when the command fails. */
|
|
2
|
+
export type ClaudeRunner = (args: readonly string[], cwd: string) => Promise<{
|
|
3
|
+
readonly stdout?: unknown;
|
|
4
|
+
}>;
|
|
5
|
+
/** Collaborators for {@link pruneDeadPluginRegistrations}. */
|
|
6
|
+
export interface PluginRegistrationPruneDeps {
|
|
7
|
+
readonly runClaude: ClaudeRunner;
|
|
8
|
+
/** True once the prune budget is spent; omitted means unbounded. */
|
|
9
|
+
readonly deadlineReached?: () => boolean;
|
|
10
|
+
readonly logger: {
|
|
11
|
+
readonly info: (message: string) => void;
|
|
12
|
+
readonly warn: (message: string) => void;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
/** How many dead registrations were removed, and how many could not be. */
|
|
16
|
+
export interface PluginRegistrationPruneOutcome {
|
|
17
|
+
readonly pruned: number;
|
|
18
|
+
readonly failed: number;
|
|
19
|
+
/** Left for the next apply because the budget ran out. */
|
|
20
|
+
readonly deferred: number;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Uninstall Lisa's project-scope registrations whose checkout no longer
|
|
24
|
+
* exists. Everything runs sequentially: a dead path's directory exists only
|
|
25
|
+
* while its own uninstalls run.
|
|
26
|
+
* @param cwd - Directory to run `claude plugin list --json` from
|
|
27
|
+
* @param deps - CLI runner and logger
|
|
28
|
+
* @returns Counts of pruned, unprunable and deferred registrations
|
|
29
|
+
*/
|
|
30
|
+
export declare function pruneDeadPluginRegistrations(cwd: string, deps: PluginRegistrationPruneDeps): Promise<PluginRegistrationPruneOutcome>;
|
|
31
|
+
//# sourceMappingURL=plugin-registration-prune.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-registration-prune.d.ts","sourceRoot":"","sources":["../../src/core/plugin-registration-prune.ts"],"names":[],"mappings":"AAyCA,qEAAqE;AACrE,MAAM,MAAM,YAAY,GAAG,CACzB,IAAI,EAAE,SAAS,MAAM,EAAE,EACvB,GAAG,EAAE,MAAM,KACR,OAAO,CAAC;IAAE,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC,CAAC;AAE5C,8DAA8D;AAC9D,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,SAAS,EAAE,YAAY,CAAC;IACjC,oEAAoE;IACpE,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,OAAO,CAAC;IACzC,QAAQ,CAAC,MAAM,EAAE;QACf,QAAQ,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;QACzC,QAAQ,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;KAC1C,CAAC;CACH;AAED,2EAA2E;AAC3E,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,0DAA0D;IAC1D,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC3B;AAmPD;;;;;;;GAOG;AACH,wBAAsB,4BAA4B,CAChD,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,2BAA2B,GAChC,OAAO,CAAC,8BAA8B,CAAC,CA+BzC"}
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Prune Claude Code project-scope registrations Lisa made for checkouts that
|
|
3
|
+
* no longer exist.
|
|
4
|
+
*
|
|
5
|
+
* Lisa registers its plugins with `claude plugin install <id> --scope
|
|
6
|
+
* project`, which records the checkout's path in Claude Code's plugin
|
|
7
|
+
* registry — once per checkout, so once per worktree. Nothing removed those
|
|
8
|
+
* records when a worktree was deleted, and they accumulated without bound
|
|
9
|
+
* (CodySwannGT/lisa#4645).
|
|
10
|
+
*
|
|
11
|
+
* The CLI's `uninstall` acts only on its working directory and has no path
|
|
12
|
+
* flag, so each dead path is recreated just long enough to run the uninstall
|
|
13
|
+
* from it, then only the directories this call created are removed again —
|
|
14
|
+
* and only while empty, so nothing the CLI might have written is deleted.
|
|
15
|
+
* `--keep-data` keeps the plugin's shared data directory, which live
|
|
16
|
+
* installations of the same plugin still use.
|
|
17
|
+
*
|
|
18
|
+
* Scope is deliberately narrow: `scope === "project"` entries whose id ends in
|
|
19
|
+
* `@lisa` and whose absolute `projectPath` is missing on disk. Other vendors'
|
|
20
|
+
* plugins, user/local scopes, and paths that exist are never touched. Any
|
|
21
|
+
* failure is reported with the command to run by hand; it never fails the
|
|
22
|
+
* apply. "Missing" includes a checkout on a volume that is not mounted right
|
|
23
|
+
* now; its registrations are pruned, and the next apply run there registers
|
|
24
|
+
* them again.
|
|
25
|
+
*
|
|
26
|
+
* The prune runs on a budget. Once {@link PluginRegistrationPruneDeps}'s
|
|
27
|
+
* `deadlineReached` says it is spent, no further uninstall starts, and what is
|
|
28
|
+
* left is reported as deferred to the next apply — never as a failure.
|
|
29
|
+
*
|
|
30
|
+
* Agent parity: only Claude Code keeps per-path plugin registrations. The
|
|
31
|
+
* Codex, Cursor, OpenCode, Antigravity, Copilot and Devin installers write
|
|
32
|
+
* project-local files and record no registry entry per checkout, so there is
|
|
33
|
+
* nothing equivalent to prune on those agents.
|
|
34
|
+
* @module core/plugin-registration-prune
|
|
35
|
+
*/
|
|
36
|
+
import { existsSync, mkdirSync, readdirSync, rmdirSync } from "node:fs";
|
|
37
|
+
import * as path from "node:path";
|
|
38
|
+
const LISA_SUFFIX = "@lisa";
|
|
39
|
+
const MAX_REPORTED_COMMANDS = 3;
|
|
40
|
+
/**
|
|
41
|
+
* Whether a registry entry is a Lisa project-scope registration for a path
|
|
42
|
+
* that no longer exists.
|
|
43
|
+
* @param entry - Raw `claude plugin list --json` entry
|
|
44
|
+
* @returns The entry's id and path when dead, else null
|
|
45
|
+
*/
|
|
46
|
+
function asDeadLisaRegistration(entry) {
|
|
47
|
+
if (typeof entry !== "object" || entry === null)
|
|
48
|
+
return null;
|
|
49
|
+
const id = Reflect.get(entry, "id");
|
|
50
|
+
const scope = Reflect.get(entry, "scope");
|
|
51
|
+
const projectPath = Reflect.get(entry, "projectPath");
|
|
52
|
+
const isDead = scope === "project" &&
|
|
53
|
+
typeof id === "string" &&
|
|
54
|
+
id.endsWith(LISA_SUFFIX) &&
|
|
55
|
+
typeof projectPath === "string" &&
|
|
56
|
+
path.isAbsolute(projectPath) &&
|
|
57
|
+
!existsSync(projectPath);
|
|
58
|
+
return isDead ? { id, projectPath } : null;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Group dead Lisa registrations by path, de-duplicating ids.
|
|
62
|
+
* @param stdout - `claude plugin list --json` output
|
|
63
|
+
* @returns Dead paths with their ids, or null when unparseable
|
|
64
|
+
*/
|
|
65
|
+
function findDeadPaths(stdout) {
|
|
66
|
+
try {
|
|
67
|
+
const parsed = JSON.parse(String(stdout ?? ""));
|
|
68
|
+
if (!Array.isArray(parsed))
|
|
69
|
+
return null;
|
|
70
|
+
const dead = parsed
|
|
71
|
+
.map(asDeadLisaRegistration)
|
|
72
|
+
.filter(registration => registration !== null);
|
|
73
|
+
const paths = [...new Set(dead.map(entry => entry.projectPath))];
|
|
74
|
+
return paths.map(projectPath => ({
|
|
75
|
+
projectPath,
|
|
76
|
+
ids: [
|
|
77
|
+
...new Set(dead
|
|
78
|
+
.filter(entry => entry.projectPath === projectPath)
|
|
79
|
+
.map(entry => entry.id)),
|
|
80
|
+
],
|
|
81
|
+
}));
|
|
82
|
+
}
|
|
83
|
+
catch {
|
|
84
|
+
return null;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* The command an operator runs by hand to remove one registration.
|
|
89
|
+
* @param projectPath - Dead checkout path
|
|
90
|
+
* @param id - Plugin id
|
|
91
|
+
* @returns Shell command line
|
|
92
|
+
*/
|
|
93
|
+
function manualCommand(projectPath, id) {
|
|
94
|
+
const quoted = shellQuote(projectPath);
|
|
95
|
+
return `mkdir -p ${quoted} && cd ${quoted} && claude plugin uninstall ${shellQuote(id)} --scope project --keep-data`;
|
|
96
|
+
}
|
|
97
|
+
/** A single quote as written inside a POSIX single-quoted string. */
|
|
98
|
+
const ESCAPED_QUOTE = String.raw `'\''`;
|
|
99
|
+
/**
|
|
100
|
+
* Single-quote a value for POSIX sh, so a printed recovery command stays
|
|
101
|
+
* copy-pasteable when a registry path contains a quote.
|
|
102
|
+
* @param value - Raw value
|
|
103
|
+
* @returns The value wrapped in single quotes with embedded quotes escaped
|
|
104
|
+
*/
|
|
105
|
+
function shellQuote(value) {
|
|
106
|
+
const escaped = value.replaceAll("'", ESCAPED_QUOTE);
|
|
107
|
+
return `'${escaped}'`;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* The directories from `dir` up to and including `top`, deepest first.
|
|
111
|
+
* @param dir - Starting directory (inside `top`)
|
|
112
|
+
* @param top - Topmost directory to include
|
|
113
|
+
* @returns The chain, or an empty list when `dir` is not inside `top`
|
|
114
|
+
*/
|
|
115
|
+
function directoriesUpTo(dir, top) {
|
|
116
|
+
if (dir === top)
|
|
117
|
+
return [dir];
|
|
118
|
+
if (!dir.startsWith(top + path.sep))
|
|
119
|
+
return [];
|
|
120
|
+
return [dir, ...directoriesUpTo(path.dirname(dir), top)];
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Remove the directories this prune created, deepest first, stopping at the
|
|
124
|
+
* first one that is not empty.
|
|
125
|
+
* @param projectPath - The recreated dead path
|
|
126
|
+
* @param firstCreated - Topmost directory `mkdirSync` created
|
|
127
|
+
* @returns True when every created directory was removed; false when one was
|
|
128
|
+
* not empty or could not be removed (never throws)
|
|
129
|
+
*/
|
|
130
|
+
function removeCreatedDirectories(projectPath, firstCreated) {
|
|
131
|
+
try {
|
|
132
|
+
for (const dir of directoriesUpTo(projectPath, firstCreated)) {
|
|
133
|
+
if (readdirSync(dir).length > 0)
|
|
134
|
+
return false;
|
|
135
|
+
rmdirSync(dir);
|
|
136
|
+
}
|
|
137
|
+
return true;
|
|
138
|
+
}
|
|
139
|
+
catch {
|
|
140
|
+
return false;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Recreate a dead path, returning the topmost directory created.
|
|
145
|
+
* @param projectPath - Dead checkout path
|
|
146
|
+
* @returns The first directory created, or null when nothing could be created
|
|
147
|
+
*/
|
|
148
|
+
function recreate(projectPath) {
|
|
149
|
+
try {
|
|
150
|
+
return mkdirSync(projectPath, { recursive: true }) ?? null;
|
|
151
|
+
}
|
|
152
|
+
catch {
|
|
153
|
+
return null;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* Uninstall one id from its dead path, unless the budget is already spent.
|
|
158
|
+
* @param dead - Dead path the uninstall runs from
|
|
159
|
+
* @param id - Plugin id
|
|
160
|
+
* @param deps - Collaborators
|
|
161
|
+
* @returns What happened to this registration
|
|
162
|
+
*/
|
|
163
|
+
async function uninstallOne(dead, id, deps) {
|
|
164
|
+
if (deps.deadlineReached?.() === true)
|
|
165
|
+
return "deferred";
|
|
166
|
+
return await deps
|
|
167
|
+
.runClaude(["plugin", "uninstall", id, "--scope", "project", "--keep-data"], dead.projectPath)
|
|
168
|
+
.then(() => "pruned", () => "failed");
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* Uninstall every Lisa id registered for one dead path, from that path.
|
|
172
|
+
* @param dead - Dead path and its ids
|
|
173
|
+
* @param deps - Collaborators
|
|
174
|
+
* @returns Pruned and deferred counts, and manual commands for failures
|
|
175
|
+
*/
|
|
176
|
+
async function pruneDeadPath(dead, deps) {
|
|
177
|
+
const firstCreated = recreate(dead.projectPath);
|
|
178
|
+
if (firstCreated === null) {
|
|
179
|
+
return {
|
|
180
|
+
pruned: 0,
|
|
181
|
+
deferred: 0,
|
|
182
|
+
failedCommands: dead.ids.map(id => manualCommand(dead.projectPath, id)),
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
const results = await dead.ids.reduce(async (previous, id) => [
|
|
186
|
+
...(await previous),
|
|
187
|
+
[id, await uninstallOne(dead, id, deps)],
|
|
188
|
+
], Promise.resolve([]));
|
|
189
|
+
if (!removeCreatedDirectories(dead.projectPath, firstCreated)) {
|
|
190
|
+
deps.logger.warn(`Left ${firstCreated} in place: it could not be removed after pruning (not empty or not removable)`);
|
|
191
|
+
}
|
|
192
|
+
const count = (kind) => results.filter(([, result]) => result === kind).length;
|
|
193
|
+
return {
|
|
194
|
+
pruned: count("pruned"),
|
|
195
|
+
deferred: count("deferred"),
|
|
196
|
+
failedCommands: results
|
|
197
|
+
.filter(([, result]) => result === "failed")
|
|
198
|
+
.map(([id]) => manualCommand(dead.projectPath, id)),
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* Report what the prune did.
|
|
203
|
+
* @param outcome - Pruned, failed and deferred counts
|
|
204
|
+
* @param failedCommands - Manual commands for those left behind
|
|
205
|
+
* @param deps - Collaborators
|
|
206
|
+
*/
|
|
207
|
+
function report(outcome, failedCommands, deps) {
|
|
208
|
+
const noun = (count) => count === 1 ? "registration" : "registrations";
|
|
209
|
+
const { pruned, deferred } = outcome;
|
|
210
|
+
if (pruned > 0) {
|
|
211
|
+
deps.logger.info(`Pruned ${pruned} Lisa plugin ${noun(pruned)} for deleted checkouts`);
|
|
212
|
+
}
|
|
213
|
+
if (deferred > 0) {
|
|
214
|
+
deps.logger.info(`Deferred ${deferred} Lisa plugin ${noun(deferred)} for deleted checkouts to the next apply (prune budget spent)`);
|
|
215
|
+
}
|
|
216
|
+
if (failedCommands.length > 0) {
|
|
217
|
+
const examples = failedCommands
|
|
218
|
+
.slice(0, MAX_REPORTED_COMMANDS)
|
|
219
|
+
.join("\n ");
|
|
220
|
+
deps.logger.warn(`Could not prune ${failedCommands.length} Lisa plugin ${noun(failedCommands.length)} for deleted checkouts; remove them by hand, e.g.:\n ${examples}`);
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* Uninstall Lisa's project-scope registrations whose checkout no longer
|
|
225
|
+
* exists. Everything runs sequentially: a dead path's directory exists only
|
|
226
|
+
* while its own uninstalls run.
|
|
227
|
+
* @param cwd - Directory to run `claude plugin list --json` from
|
|
228
|
+
* @param deps - CLI runner and logger
|
|
229
|
+
* @returns Counts of pruned, unprunable and deferred registrations
|
|
230
|
+
*/
|
|
231
|
+
export async function pruneDeadPluginRegistrations(cwd, deps) {
|
|
232
|
+
const listed = await deps
|
|
233
|
+
.runClaude(["plugin", "list", "--json"], cwd)
|
|
234
|
+
.then(result => findDeadPaths(result.stdout))
|
|
235
|
+
.catch(() => null);
|
|
236
|
+
if (listed === null) {
|
|
237
|
+
deps.logger.warn("Could not read the Claude plugin registry (`claude plugin list --json`); skipped pruning registrations for deleted checkouts");
|
|
238
|
+
return { pruned: 0, failed: 0, deferred: 0 };
|
|
239
|
+
}
|
|
240
|
+
const outcomes = await listed.reduce(async (previous, dead) => {
|
|
241
|
+
const done = await previous;
|
|
242
|
+
// Stop starting new paths once the budget is spent (no mkdir either).
|
|
243
|
+
const outcome = deps.deadlineReached?.() === true
|
|
244
|
+
? { pruned: 0, failedCommands: [], deferred: dead.ids.length }
|
|
245
|
+
: await pruneDeadPath(dead, deps);
|
|
246
|
+
return [...done, outcome];
|
|
247
|
+
}, Promise.resolve([]));
|
|
248
|
+
const failedCommands = outcomes.flatMap(outcome => outcome.failedCommands);
|
|
249
|
+
const result = {
|
|
250
|
+
pruned: outcomes.reduce((sum, outcome) => sum + outcome.pruned, 0),
|
|
251
|
+
failed: failedCommands.length,
|
|
252
|
+
deferred: outcomes.reduce((sum, outcome) => sum + outcome.deferred, 0),
|
|
253
|
+
};
|
|
254
|
+
report(result, failedCommands, deps);
|
|
255
|
+
return result;
|
|
256
|
+
}
|
|
257
|
+
//# sourceMappingURL=plugin-registration-prune.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-registration-prune.js","sourceRoot":"","sources":["../../src/core/plugin-registration-prune.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACxE,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAElC,MAAM,WAAW,GAAG,OAAO,CAAC;AAC5B,MAAM,qBAAqB,GAAG,CAAC,CAAC;AA2ChC;;;;;GAKG;AACH,SAAS,sBAAsB,CAC7B,KAAc;IAEd,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI;QAAE,OAAO,IAAI,CAAC;IAC7D,MAAM,EAAE,GAAY,OAAO,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAC7C,MAAM,KAAK,GAAY,OAAO,CAAC,GAAG,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACnD,MAAM,WAAW,GAAY,OAAO,CAAC,GAAG,CAAC,KAAK,EAAE,aAAa,CAAC,CAAC;IAC/D,MAAM,MAAM,GACV,KAAK,KAAK,SAAS;QACnB,OAAO,EAAE,KAAK,QAAQ;QACtB,EAAE,CAAC,QAAQ,CAAC,WAAW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AC9D,CAAC,CAAC,MAAM,aAAa,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QACtC,OAAO,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC,CAAC;IAC5B,CAAC,EACD,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,CACpB,CAAC;IACF,MAAM,cAAc,GAAG,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;IAC3E,MAAM,MAAM,GAAmC;QAC7C,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE,CAAC,GAAG,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;QAClE,MAAM,EAAE,cAAc,CAAC,MAAM;QAC7B,QAAQ,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE,CAAC,GAAG,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC;KACvE,CAAC;IACF,MAAM,CAAC,MAAM,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrC,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Plugin keys Lisa itself once wrote into hosts' `.claude/settings.json` and
|
|
3
|
+
* later renamed.
|
|
4
|
+
*
|
|
5
|
+
* The exact keys are read from git history, never matched by pattern:
|
|
6
|
+
* - `74981f5be1` (2026-03-01, #215) added `typescript@lisa`, `cdk@lisa`,
|
|
7
|
+
* `expo@lisa` and `nestjs@lisa` to the stacks' `merge/.claude/settings.json`;
|
|
8
|
+
* - `ad53b79a52` (2026-03-02) added `rails@lisa` the same way;
|
|
9
|
+
* - `9c3d871316` (2026-03-05) renamed all five to `lisa-<type>@lisa`.
|
|
10
|
+
*
|
|
11
|
+
* The merge strategy only adds keys, so hosts that applied Lisa in that window
|
|
12
|
+
* still carry the old names. They name no plugin in the Lisa marketplace, so
|
|
13
|
+
* every install attempt fails (CodySwannGT/lisa#4645).
|
|
14
|
+
* @module core/retired-plugin-keys
|
|
15
|
+
*/
|
|
16
|
+
import type { ProjectType } from "./config.js";
|
|
17
|
+
/** One retired key's replacement and the stack type both belong to. */
|
|
18
|
+
export interface RetiredPluginKey {
|
|
19
|
+
readonly successor: string;
|
|
20
|
+
readonly type: ProjectType;
|
|
21
|
+
}
|
|
22
|
+
/** Retired key → its `lisa-<type>@lisa` successor and stack type. */
|
|
23
|
+
export declare const RETIRED_STACK_PLUGIN_KEYS: ReadonlyMap<string, RetiredPluginKey>;
|
|
24
|
+
//# sourceMappingURL=retired-plugin-keys.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retired-plugin-keys.d.ts","sourceRoot":"","sources":["../../src/core/retired-plugin-keys.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,uEAAuE;AACvE,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;CAC5B;AAED,qEAAqE;AACrE,eAAO,MAAM,yBAAyB,EAAE,WAAW,CAAC,MAAM,EAAE,gBAAgB,CAUxE,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** Retired key → its `lisa-<type>@lisa` successor and stack type. */
|
|
2
|
+
export const RETIRED_STACK_PLUGIN_KEYS = new Map([
|
|
3
|
+
[
|
|
4
|
+
"typescript@lisa",
|
|
5
|
+
{ successor: "lisa-typescript@lisa", type: "typescript" },
|
|
6
|
+
],
|
|
7
|
+
["cdk@lisa", { successor: "lisa-cdk@lisa", type: "cdk" }],
|
|
8
|
+
["expo@lisa", { successor: "lisa-expo@lisa", type: "expo" }],
|
|
9
|
+
["nestjs@lisa", { successor: "lisa-nestjs@lisa", type: "nestjs" }],
|
|
10
|
+
["rails@lisa", { successor: "lisa-rails@lisa", type: "rails" }],
|
|
11
|
+
]);
|
|
12
|
+
//# sourceMappingURL=retired-plugin-keys.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retired-plugin-keys.js","sourceRoot":"","sources":["../../src/core/retired-plugin-keys.ts"],"names":[],"mappings":"AAuBA,qEAAqE;AACrE,MAAM,CAAC,MAAM,yBAAyB,GACpC,IAAI,GAAG,CAA2B;IAChC;QACE,iBAAiB;QACjB,EAAE,SAAS,EAAE,sBAAsB,EAAE,IAAI,EAAE,YAAY,EAAE;KAC1D;IACD,CAAC,UAAU,EAAE,EAAE,SAAS,EAAE,eAAe,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;IACzD,CAAC,WAAW,EAAE,EAAE,SAAS,EAAE,gBAAgB,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;IAC5D,CAAC,aAAa,EAAE,EAAE,SAAS,EAAE,kBAAkB,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;IAClE,CAAC,YAAY,EAAE,EAAE,SAAS,EAAE,iBAAiB,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;CAChE,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upstream-evidence-manifest.d.ts","sourceRoot":"","sources":["../../src/core/upstream-evidence-manifest.ts"],"names":[],"mappings":"AACA,iFAAiF;AACjF,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CA8jGpE,CAAC;AAEL,4EAA4E;AAC5E,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"upstream-evidence-manifest.d.ts","sourceRoot":"","sources":["../../src/core/upstream-evidence-manifest.ts"],"names":[],"mappings":"AACA,iFAAiF;AACjF,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CA8jGpE,CAAC;AAEL,4EAA4E;AAC5E,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CA+qVjE,CAAC;AAEL,sFAAsF;AACtF,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAk6I/D,CAAC"}
|
|
@@ -1497,7 +1497,7 @@ export const UPSTREAM_EVIDENCE_MANIFEST = Object.freeze({
|
|
|
1497
1497
|
"tsconfig/spec.json": "632851ffa0fc7185f8d78b508b1d31bf39440907fad3a91ad174cc4ab93383ab",
|
|
1498
1498
|
"tsconfig/typescript.json": "8cf66a6535640e0a723e24bdf7a2d8e58a634c451f0754875c7880811381a914",
|
|
1499
1499
|
"typescript/copy-contents/.husky/commit-msg": "d5fd8e5e77e651a7b4b21ee0aee2ad4e7930d56e0d87d35b3ca36f7834c8600d",
|
|
1500
|
-
"typescript/copy-contents/.husky/post-checkout": "
|
|
1500
|
+
"typescript/copy-contents/.husky/post-checkout": "ddb4044e28100c36aa6cb6cda9298ee032d902e45a30b242c127ec8b57971f86",
|
|
1501
1501
|
"typescript/copy-contents/.husky/post-merge": "8155564c7aed71d04bada189d66623e32a00d80598a8194782b6ecabec5134c0",
|
|
1502
1502
|
"typescript/copy-contents/.husky/pre-commit": "170a599896e3cf0773fcbc9fa12d49051a864698220b70e8f4b1ea6cca063365",
|
|
1503
1503
|
"typescript/copy-contents/.husky/pre-push": "ece830e70f522c417fe7fad5e6a834eda9838bc645a83279b49d9c30381046c9",
|
|
@@ -9668,6 +9668,8 @@ export const UPSTREAM_SURFACE_MANIFEST = Object.freeze({
|
|
|
9668
9668
|
"src/core/override-floors.ts": true,
|
|
9669
9669
|
"src/core/ownership-header.ts": true,
|
|
9670
9670
|
"src/core/plugin-command.ts": true,
|
|
9671
|
+
"src/core/plugin-marketplace-filter.ts": true,
|
|
9672
|
+
"src/core/plugin-registration-prune.ts": true,
|
|
9671
9673
|
"src/core/project-config-kane.ts": true,
|
|
9672
9674
|
"src/core/project-config-learnings.ts": true,
|
|
9673
9675
|
"src/core/project-config-nightly-e2e.ts": true,
|
|
@@ -9676,6 +9678,7 @@ export const UPSTREAM_SURFACE_MANIFEST = Object.freeze({
|
|
|
9676
9678
|
"src/core/rails-deploy-production-intent.ts": true,
|
|
9677
9679
|
"src/core/reconciliation-report.ts": true,
|
|
9678
9680
|
"src/core/retire-unmodified.ts": true,
|
|
9681
|
+
"src/core/retired-plugin-keys.ts": true,
|
|
9679
9682
|
"src/core/reusable-workflow-pin.ts": true,
|
|
9680
9683
|
"src/core/safe-relative-markdown-path.ts": true,
|
|
9681
9684
|
"src/core/self-apply.ts": true,
|
|
@@ -9759,6 +9762,7 @@ export const UPSTREAM_SURFACE_MANIFEST = Object.freeze({
|
|
|
9759
9762
|
"src/migrations/migration.interface.ts": true,
|
|
9760
9763
|
"src/migrations/preserve-verification-opt-ins.ts": true,
|
|
9761
9764
|
"src/migrations/prune-retired-claude-deny-rules.ts": true,
|
|
9765
|
+
"src/migrations/prune-retired-claude-stack-plugin-keys.ts": true,
|
|
9762
9766
|
"src/migrations/prune-retired-entire-hooks.ts": true,
|
|
9763
9767
|
"src/migrations/reconcile-claude-stack-plugins.ts": true,
|
|
9764
9768
|
"src/migrations/retire-native-safety-net.ts": true,
|
|
@@ -9834,6 +9838,7 @@ export const UPSTREAM_SURFACE_MANIFEST = Object.freeze({
|
|
|
9834
9838
|
"src/utils/index.ts": true,
|
|
9835
9839
|
"src/utils/json-utils.ts": true,
|
|
9836
9840
|
"src/utils/linked-worktree.ts": true,
|
|
9841
|
+
"src/utils/marketplace-manifest.ts": true,
|
|
9837
9842
|
"src/utils/package-manager-detect.ts": true,
|
|
9838
9843
|
"src/utils/path-utils.ts": true,
|
|
9839
9844
|
"src/utils/pm-env.ts": true,
|
|
@@ -10188,6 +10193,7 @@ export const UPSTREAM_SURFACE_MANIFEST = Object.freeze({
|
|
|
10188
10193
|
"tests/helpers/workflow-test-utils.ts": true,
|
|
10189
10194
|
"tests/integration/applied-project-pins-lisa-workflows.test.ts": true,
|
|
10190
10195
|
"tests/integration/apply-prompted-guard-downgrade.test.ts": true,
|
|
10196
|
+
"tests/integration/apply-prunes-plugin-state.test.ts": true,
|
|
10191
10197
|
"tests/integration/apply-reports-unchanged-manifest.test.ts": true,
|
|
10192
10198
|
"tests/integration/apply-rollback-removes-created-files.test.ts": true,
|
|
10193
10199
|
"tests/integration/apply-unattended-preserves-host-config.test.ts": true,
|
|
@@ -10941,7 +10947,9 @@ export const UPSTREAM_SURFACE_MANIFEST = Object.freeze({
|
|
|
10941
10947
|
"tests/unit/core/override-floors.test.ts": true,
|
|
10942
10948
|
"tests/unit/core/packed-learnings-contract.test.ts": true,
|
|
10943
10949
|
"tests/unit/core/plugin-command-lifecycle.test.ts": true,
|
|
10950
|
+
"tests/unit/core/plugin-marketplace-skip.test.ts": true,
|
|
10944
10951
|
"tests/unit/core/plugin-registration-liveness.test.ts": true,
|
|
10952
|
+
"tests/unit/core/plugin-registration-prune.test.ts": true,
|
|
10945
10953
|
"tests/unit/core/plugin-sync-marker.test.ts": true,
|
|
10946
10954
|
"tests/unit/core/project-config-harness-migration.test.ts": true,
|
|
10947
10955
|
"tests/unit/core/project-config-kane.test.ts": true,
|
|
@@ -11125,6 +11133,7 @@ export const UPSTREAM_SURFACE_MANIFEST = Object.freeze({
|
|
|
11125
11133
|
"tests/unit/hooks/operational-hazards-wiring.test.ts": true,
|
|
11126
11134
|
"tests/unit/hooks/operational-hazards.test.ts": true,
|
|
11127
11135
|
"tests/unit/hooks/parity-push-gate.test.ts": true,
|
|
11136
|
+
"tests/unit/hooks/post-checkout-retired-keys.test.ts": true,
|
|
11128
11137
|
"tests/unit/hooks/post-checkout.test.ts": true,
|
|
11129
11138
|
"tests/unit/hooks/pre-push-audit-transport-parity.test.ts": true,
|
|
11130
11139
|
"tests/unit/hooks/pre-push-coverage-scope.test.ts": true,
|
|
@@ -11200,6 +11209,7 @@ export const UPSTREAM_SURFACE_MANIFEST = Object.freeze({
|
|
|
11200
11209
|
"tests/unit/migrations/postinstall-failure-surfacing.test.ts": true,
|
|
11201
11210
|
"tests/unit/migrations/preserve-verification-opt-ins.test.ts": true,
|
|
11202
11211
|
"tests/unit/migrations/prune-retired-claude-deny-rules.test.ts": true,
|
|
11212
|
+
"tests/unit/migrations/prune-retired-claude-stack-plugin-keys.test.ts": true,
|
|
11203
11213
|
"tests/unit/migrations/prune-retired-entire-hooks.test.ts": true,
|
|
11204
11214
|
"tests/unit/migrations/reconcile-claude-stack-plugins.test.ts": true,
|
|
11205
11215
|
"tests/unit/migrations/seeded-gates-install-restraint.test.ts": true,
|