@codyswann/lisa 2.289.1 → 2.289.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/dist/core/lisa.d.ts +15 -2
- package/dist/core/lisa.d.ts.map +1 -1
- package/dist/core/lisa.js +41 -5
- package/dist/core/lisa.js.map +1 -1
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +3 -1
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/linked-worktree.d.ts +18 -0
- package/dist/utils/linked-worktree.d.ts.map +1 -0
- package/dist/utils/linked-worktree.js +42 -0
- package/dist/utils/linked-worktree.js.map +1 -0
- 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 +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 +61 -2
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./fibonacci.js";
|
|
2
2
|
export * from "./file-operations.js";
|
|
3
3
|
export * from "./json-utils.js";
|
|
4
|
+
export * from "./linked-worktree.js";
|
|
4
5
|
export * from "./path-utils.js";
|
|
5
6
|
export * from "./usage-accounting.js";
|
|
6
7
|
export { isRunningAsLifecycleScript, isRunningAsTrampoline, shouldSchedulePostinstallReconciliation, } from "./postinstall-trampoline.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AAKtC,OAAO,EACL,0BAA0B,EAC1B,qBAAqB,EACrB,uCAAuC,GACxC,MAAM,6BAA6B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AAKtC,OAAO,EACL,0BAA0B,EAC1B,qBAAqB,EACrB,uCAAuC,GACxC,MAAM,6BAA6B,CAAC"}
|
package/dist/utils/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./fibonacci.js";
|
|
2
2
|
export * from "./file-operations.js";
|
|
3
3
|
export * from "./json-utils.js";
|
|
4
|
+
export * from "./linked-worktree.js";
|
|
4
5
|
export * from "./path-utils.js";
|
|
5
6
|
export * from "./usage-accounting.js";
|
|
6
7
|
// Intentionally narrow: the reconciliation trampoline's dist-path resolver and
|
package/dist/utils/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,+EAA+E;AAC/E,mFAAmF;AACnF,gFAAgF;AAChF,8CAA8C;AAC9C,OAAO,EACL,0BAA0B,EAC1B,qBAAqB,EACrB,uCAAuC,GACxC,MAAM,6BAA6B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,+EAA+E;AAC/E,mFAAmF;AACnF,gFAAgF;AAChF,8CAA8C;AAC9C,OAAO,EACL,0BAA0B,EAC1B,qBAAqB,EACrB,uCAAuC,GACxC,MAAM,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Resolve the primary checkout root when a directory is a linked git
|
|
3
|
+
* worktree.
|
|
4
|
+
*
|
|
5
|
+
* A linked worktree has a `.git` FILE containing
|
|
6
|
+
* `gitdir: <primary>/.git/worktrees/<name>`; a primary checkout has a `.git`
|
|
7
|
+
* directory. Parsing the file avoids spawning git — this runs inside
|
|
8
|
+
* package-manager lifecycle scripts where every child process is a
|
|
9
|
+
* measurable cost. Submodule `.git` files point at `.git/modules/<name>` and
|
|
10
|
+
* deliberately do not match. The primary is only returned when its `.claude`
|
|
11
|
+
* directory exists, mirroring install-claude-plugins.sh and the
|
|
12
|
+
* install-pkgs.sh node_modules link (add08b409).
|
|
13
|
+
* @param dir - Directory to inspect (typically the Lisa destDir)
|
|
14
|
+
* @returns Primary checkout root, or null when dir is not a linked worktree
|
|
15
|
+
* of a reachable primary checkout
|
|
16
|
+
*/
|
|
17
|
+
export declare function resolvePrimaryWorktreeRoot(dir: string): Promise<string | null>;
|
|
18
|
+
//# sourceMappingURL=linked-worktree.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linked-worktree.d.ts","sourceRoot":"","sources":["../../src/utils/linked-worktree.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;GAeG;AACH,wBAAsB,0BAA0B,CAC9C,GAAG,EAAE,MAAM,GACV,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CA0BxB"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { existsSync } from "node:fs";
|
|
2
|
+
import { readFile } from "node:fs/promises";
|
|
3
|
+
import * as path from "node:path";
|
|
4
|
+
/**
|
|
5
|
+
* Resolve the primary checkout root when a directory is a linked git
|
|
6
|
+
* worktree.
|
|
7
|
+
*
|
|
8
|
+
* A linked worktree has a `.git` FILE containing
|
|
9
|
+
* `gitdir: <primary>/.git/worktrees/<name>`; a primary checkout has a `.git`
|
|
10
|
+
* directory. Parsing the file avoids spawning git — this runs inside
|
|
11
|
+
* package-manager lifecycle scripts where every child process is a
|
|
12
|
+
* measurable cost. Submodule `.git` files point at `.git/modules/<name>` and
|
|
13
|
+
* deliberately do not match. The primary is only returned when its `.claude`
|
|
14
|
+
* directory exists, mirroring install-claude-plugins.sh and the
|
|
15
|
+
* install-pkgs.sh node_modules link (add08b409).
|
|
16
|
+
* @param dir - Directory to inspect (typically the Lisa destDir)
|
|
17
|
+
* @returns Primary checkout root, or null when dir is not a linked worktree
|
|
18
|
+
* of a reachable primary checkout
|
|
19
|
+
*/
|
|
20
|
+
export async function resolvePrimaryWorktreeRoot(dir) {
|
|
21
|
+
const resolvedDir = path.resolve(dir);
|
|
22
|
+
const gitdirContent = await readFile(path.join(resolvedDir, ".git"), "utf-8").catch(() => null);
|
|
23
|
+
if (gitdirContent === null) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
const gitdirMatch = /^gitdir:(.*)$/m.exec(gitdirContent);
|
|
27
|
+
const gitdirTarget = gitdirMatch?.[1]?.trim();
|
|
28
|
+
if (gitdirTarget === undefined || gitdirTarget === "") {
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
const gitdir = path.resolve(resolvedDir, gitdirTarget);
|
|
32
|
+
const worktreesMatch = /^(.*)[/\\]\.git[/\\]worktrees[/\\][^/\\]+$/.exec(gitdir);
|
|
33
|
+
if (!worktreesMatch?.[1]) {
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
const primaryRoot = worktreesMatch[1];
|
|
37
|
+
if (primaryRoot === resolvedDir) {
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
return existsSync(path.join(primaryRoot, ".claude")) ? primaryRoot : null;
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=linked-worktree.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linked-worktree.js","sourceRoot":"","sources":["../../src/utils/linked-worktree.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAElC;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,KAAK,UAAU,0BAA0B,CAC9C,GAAW;IAEX,MAAM,WAAW,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACtC,MAAM,aAAa,GAAG,MAAM,QAAQ,CAClC,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC,EAC9B,OAAO,CACR,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,CAAC;IACpB,IAAI,aAAa,KAAK,IAAI,EAAE,CAAC;QAC3B,OAAO,IAAI,CAAC;IACd,CAAC;IACD,MAAM,WAAW,GAAG,gBAAgB,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;IACzD,MAAM,YAAY,GAAG,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC;IAC9C,IAAI,YAAY,KAAK,SAAS,IAAI,YAAY,KAAK,EAAE,EAAE,CAAC;QACtD,OAAO,IAAI,CAAC;IACd,CAAC;IACD,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;IACvD,MAAM,cAAc,GAAG,4CAA4C,CAAC,IAAI,CACtE,MAAM,CACP,CAAC;IACF,IAAI,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QACzB,OAAO,IAAI,CAAC;IACd,CAAC;IACD,MAAM,WAAW,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC;IACtC,IAAI,WAAW,KAAK,WAAW,EAAE,CAAC;QAChC,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC;AAC5E,CAAC"}
|
package/package.json
CHANGED
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
"brace-expansion": ">=5.0.6"
|
|
114
114
|
},
|
|
115
115
|
"name": "@codyswann/lisa",
|
|
116
|
-
"version": "2.289.
|
|
116
|
+
"version": "2.289.2",
|
|
117
117
|
"description": "Claude Code governance framework that applies guardrails, guidance, and automated enforcement to projects",
|
|
118
118
|
"main": "dist/index.js",
|
|
119
119
|
"exports": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.289.
|
|
3
|
+
"version": "2.289.2",
|
|
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": "2.289.
|
|
3
|
+
"version": "2.289.2",
|
|
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": "2.289.
|
|
3
|
+
"version": "2.289.2",
|
|
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": "2.289.
|
|
3
|
+
"version": "2.289.2",
|
|
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": "2.289.
|
|
3
|
+
"version": "2.289.2",
|
|
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"
|