@codyswann/lisa 2.157.1 → 2.158.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/dist/migrations/ensure-sonar-excludes-lisa-harness.d.ts +40 -0
- package/dist/migrations/ensure-sonar-excludes-lisa-harness.d.ts.map +1 -0
- package/dist/migrations/ensure-sonar-excludes-lisa-harness.js +111 -0
- package/dist/migrations/ensure-sonar-excludes-lisa-harness.js.map +1 -0
- package/dist/migrations/index.d.ts +1 -0
- package/dist/migrations/index.d.ts.map +1 -1
- package/dist/migrations/index.js +3 -0
- package/dist/migrations/index.js.map +1 -1
- 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-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
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { Migration, MigrationContext, MigrationResult } from "./migration.interface.js";
|
|
2
|
+
/**
|
|
3
|
+
* Migration: ensure the Lisa-generated harness directories are listed in
|
|
4
|
+
* `sonar.exclusions` of `sonar-project.properties`.
|
|
5
|
+
*
|
|
6
|
+
* Only runs when the project actually ships a `sonar-project.properties`
|
|
7
|
+
* (SonarCloud-using repos). Idempotent — appends only the harness globs that
|
|
8
|
+
* are missing, preserving every existing exclusion. Single-line exclusions are
|
|
9
|
+
* the supported (and Lisa-emitted) shape; a backslash-continued value is left
|
|
10
|
+
* untouched to avoid corrupting a multi-line property.
|
|
11
|
+
*
|
|
12
|
+
* Mirrors the host-config reconciliation pattern of the other `ensure-*`
|
|
13
|
+
* migrations. Uses node:fs/promises for the raw read/write because fs-extra's
|
|
14
|
+
* fs-passthrough methods are undefined in the bundled dist.
|
|
15
|
+
*/
|
|
16
|
+
export declare class EnsureSonarExcludesLisaHarnessMigration implements Migration {
|
|
17
|
+
readonly name = "ensure-sonar-excludes-lisa-harness";
|
|
18
|
+
readonly description = "Add the Lisa-generated harness dirs (.codex/.opencode/.agents) to sonar.exclusions";
|
|
19
|
+
/**
|
|
20
|
+
* Read and parse the current sonar.exclusions state for the project.
|
|
21
|
+
* @param projectDir - The destination project directory
|
|
22
|
+
* @returns The file text, the matched exclusions line, and any missing globs
|
|
23
|
+
*/
|
|
24
|
+
private readState;
|
|
25
|
+
/**
|
|
26
|
+
* Applies when a sonar-project.properties exists and is missing at least one
|
|
27
|
+
* harness glob.
|
|
28
|
+
* @param ctx - Migration context
|
|
29
|
+
* @returns True when there is work to do
|
|
30
|
+
*/
|
|
31
|
+
applies(ctx: MigrationContext): Promise<boolean>;
|
|
32
|
+
/**
|
|
33
|
+
* Append the missing harness globs to sonar.exclusions (creating the line if
|
|
34
|
+
* absent), preserving all existing exclusions.
|
|
35
|
+
* @param ctx - Migration context
|
|
36
|
+
* @returns Result describing the action taken
|
|
37
|
+
*/
|
|
38
|
+
apply(ctx: MigrationContext): Promise<MigrationResult>;
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=ensure-sonar-excludes-lisa-harness.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ensure-sonar-excludes-lisa-harness.d.ts","sourceRoot":"","sources":["../../src/migrations/ensure-sonar-excludes-lisa-harness.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,SAAS,EACT,gBAAgB,EAChB,eAAe,EAChB,MAAM,0BAA0B,CAAC;AA+BlC;;;;;;;;;;;;;GAaG;AACH,qBAAa,uCAAwC,YAAW,SAAS;IACvE,QAAQ,CAAC,IAAI,wCAAwC;IACrD,QAAQ,CAAC,WAAW,wFACmE;IAEvF;;;;OAIG;YACW,SAAS;IA0BvB;;;;;OAKG;IACG,OAAO,CAAC,GAAG,EAAE,gBAAgB,GAAG,OAAO,CAAC,OAAO,CAAC;IAKtD;;;;;OAKG;IACG,KAAK,CAAC,GAAG,EAAE,gBAAgB,GAAG,OAAO,CAAC,eAAe,CAAC;CAoC7D"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { readFile, writeFile } from "node:fs/promises";
|
|
2
|
+
import * as path from "node:path";
|
|
3
|
+
import * as fse from "fs-extra";
|
|
4
|
+
const SONAR_FILE = "sonar-project.properties";
|
|
5
|
+
const EXCLUSIONS_KEY = "sonar.exclusions";
|
|
6
|
+
/**
|
|
7
|
+
* Glob patterns for the Lisa-generated multi-agent harness directories.
|
|
8
|
+
*
|
|
9
|
+
* `lisa apply` commits the full Codex/OpenCode/Copilot harness (hundreds of
|
|
10
|
+
* generated .md/.toml/.sh/.py/.ts files) so marketplace-less agents work
|
|
11
|
+
* in-repo. They are generated scaffolding, not project source, and must not be
|
|
12
|
+
* analyzed by SonarCloud — otherwise the quality gate trips on generated code.
|
|
13
|
+
*/
|
|
14
|
+
const HARNESS_GLOBS = [
|
|
15
|
+
".codex/**",
|
|
16
|
+
".opencode/**",
|
|
17
|
+
".agents/**",
|
|
18
|
+
];
|
|
19
|
+
/**
|
|
20
|
+
* Migration: ensure the Lisa-generated harness directories are listed in
|
|
21
|
+
* `sonar.exclusions` of `sonar-project.properties`.
|
|
22
|
+
*
|
|
23
|
+
* Only runs when the project actually ships a `sonar-project.properties`
|
|
24
|
+
* (SonarCloud-using repos). Idempotent — appends only the harness globs that
|
|
25
|
+
* are missing, preserving every existing exclusion. Single-line exclusions are
|
|
26
|
+
* the supported (and Lisa-emitted) shape; a backslash-continued value is left
|
|
27
|
+
* untouched to avoid corrupting a multi-line property.
|
|
28
|
+
*
|
|
29
|
+
* Mirrors the host-config reconciliation pattern of the other `ensure-*`
|
|
30
|
+
* migrations. Uses node:fs/promises for the raw read/write because fs-extra's
|
|
31
|
+
* fs-passthrough methods are undefined in the bundled dist.
|
|
32
|
+
*/
|
|
33
|
+
export class EnsureSonarExcludesLisaHarnessMigration {
|
|
34
|
+
name = "ensure-sonar-excludes-lisa-harness";
|
|
35
|
+
description = "Add the Lisa-generated harness dirs (.codex/.opencode/.agents) to sonar.exclusions";
|
|
36
|
+
/**
|
|
37
|
+
* Read and parse the current sonar.exclusions state for the project.
|
|
38
|
+
* @param projectDir - The destination project directory
|
|
39
|
+
* @returns The file text, the matched exclusions line, and any missing globs
|
|
40
|
+
*/
|
|
41
|
+
async readState(projectDir) {
|
|
42
|
+
const file = path.join(projectDir, SONAR_FILE);
|
|
43
|
+
if (!(await fse.pathExists(file))) {
|
|
44
|
+
return { text: null, line: null, missing: [] };
|
|
45
|
+
}
|
|
46
|
+
const text = await readFile(file, "utf8");
|
|
47
|
+
const line = text
|
|
48
|
+
.split("\n")
|
|
49
|
+
.find(l => l.replace(/\s/g, "").startsWith(`${EXCLUSIONS_KEY}=`)) ??
|
|
50
|
+
null;
|
|
51
|
+
// A backslash-continued value spans multiple physical lines; leave it be.
|
|
52
|
+
if (line !== null && line.trimEnd().endsWith("\\")) {
|
|
53
|
+
return { text, line, missing: [] };
|
|
54
|
+
}
|
|
55
|
+
const current = line
|
|
56
|
+
? line
|
|
57
|
+
.slice(line.indexOf("=") + 1)
|
|
58
|
+
.split(",")
|
|
59
|
+
.map(g => g.trim())
|
|
60
|
+
.filter(Boolean)
|
|
61
|
+
: [];
|
|
62
|
+
const missing = HARNESS_GLOBS.filter(g => !current.includes(g));
|
|
63
|
+
return { text, line, missing };
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Applies when a sonar-project.properties exists and is missing at least one
|
|
67
|
+
* harness glob.
|
|
68
|
+
* @param ctx - Migration context
|
|
69
|
+
* @returns True when there is work to do
|
|
70
|
+
*/
|
|
71
|
+
async applies(ctx) {
|
|
72
|
+
const { text, missing } = await this.readState(ctx.projectDir);
|
|
73
|
+
return text !== null && missing.length > 0;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Append the missing harness globs to sonar.exclusions (creating the line if
|
|
77
|
+
* absent), preserving all existing exclusions.
|
|
78
|
+
* @param ctx - Migration context
|
|
79
|
+
* @returns Result describing the action taken
|
|
80
|
+
*/
|
|
81
|
+
async apply(ctx) {
|
|
82
|
+
const file = path.join(ctx.projectDir, SONAR_FILE);
|
|
83
|
+
const { text, line, missing } = await this.readState(ctx.projectDir);
|
|
84
|
+
if (text === null || missing.length === 0) {
|
|
85
|
+
return { name: this.name, action: "noop" };
|
|
86
|
+
}
|
|
87
|
+
const base = text === "" || text.endsWith("\n") ? text : `${text}\n`;
|
|
88
|
+
const updated = line === null
|
|
89
|
+
? `${base}${EXCLUSIONS_KEY}=${missing.join(",")}\n`
|
|
90
|
+
: text.replace(line, `${line.trimEnd()}${line.trimEnd().endsWith("=") ? "" : ","}${missing.join(",")}`);
|
|
91
|
+
const message = `Added ${missing.length} harness glob(s) to ${EXCLUSIONS_KEY} (${missing.join(", ")})`;
|
|
92
|
+
if (ctx.dryRun) {
|
|
93
|
+
ctx.logger.dry(`Would update ${EXCLUSIONS_KEY}: ${missing.join(", ")}`);
|
|
94
|
+
return {
|
|
95
|
+
name: this.name,
|
|
96
|
+
action: "applied",
|
|
97
|
+
changedFiles: [SONAR_FILE],
|
|
98
|
+
message,
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
await writeFile(file, updated);
|
|
102
|
+
ctx.logger.success(message);
|
|
103
|
+
return {
|
|
104
|
+
name: this.name,
|
|
105
|
+
action: "applied",
|
|
106
|
+
changedFiles: [SONAR_FILE],
|
|
107
|
+
message,
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
//# sourceMappingURL=ensure-sonar-excludes-lisa-harness.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ensure-sonar-excludes-lisa-harness.js","sourceRoot":"","sources":["../../src/migrations/ensure-sonar-excludes-lisa-harness.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,KAAK,GAAG,MAAM,UAAU,CAAC;AAOhC,MAAM,UAAU,GAAG,0BAA0B,CAAC;AAC9C,MAAM,cAAc,GAAG,kBAAkB,CAAC;AAE1C;;;;;;;GAOG;AACH,MAAM,aAAa,GAAsB;IACvC,WAAW;IACX,cAAc;IACd,YAAY;CACb,CAAC;AAcF;;;;;;;;;;;;;GAaG;AACH,MAAM,OAAO,uCAAuC;IACzC,IAAI,GAAG,oCAAoC,CAAC;IAC5C,WAAW,GAClB,oFAAoF,CAAC;IAEvF;;;;OAIG;IACK,KAAK,CAAC,SAAS,CAAC,UAAkB;QACxC,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;QAC/C,IAAI,CAAC,CAAC,MAAM,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC;YAClC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;QACjD,CAAC;QACD,MAAM,IAAI,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAC1C,MAAM,IAAI,GACR,IAAI;aACD,KAAK,CAAC,IAAI,CAAC;aACX,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CAAC;QACJ,CAAC;QAED,MAAM,SAAS,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QAC/B,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QAC5B,OAAO;YACL,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,MAAM,EAAE,SAAS;YACjB,YAAY,EAAE,CAAC,UAAU,CAAC;YAC1B,OAAO;SACR,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -3,6 +3,7 @@ export type { Migration, MigrationAction, MigrationContext, MigrationResult, } f
|
|
|
3
3
|
export { EnsureAuditIgnoreLocalExclusionsMigration } from "./ensure-audit-ignore-local-exclusions.js";
|
|
4
4
|
export { EnsureJestRnMockAccessibilityManagerMigration } from "./ensure-jest-rn-mock-accessibility-manager.js";
|
|
5
5
|
export { EnsureLisaPostinstallMigration } from "./ensure-lisa-postinstall.js";
|
|
6
|
+
export { EnsureSonarExcludesLisaHarnessMigration } from "./ensure-sonar-excludes-lisa-harness.js";
|
|
6
7
|
export { EnsureTsconfigLocalFilesFallbackMigration } from "./ensure-tsconfig-local-files-fallback.js";
|
|
7
8
|
export { EnsureTsconfigLocalIncludesMigration } from "./ensure-tsconfig-local-includes.js";
|
|
8
9
|
export { ReconcileClaudeStackPluginsMigration } from "./reconcile-claude-stack-plugins.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/migrations/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/migrations/index.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EACV,SAAS,EACT,gBAAgB,EAChB,eAAe,EAChB,MAAM,0BAA0B,CAAC;AAElC,YAAY,EACV,SAAS,EACT,eAAe,EACf,gBAAgB,EAChB,eAAe,GAChB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,yCAAyC,EAAE,MAAM,2CAA2C,CAAC;AACtG,OAAO,EAAE,6CAA6C,EAAE,MAAM,gDAAgD,CAAC;AAC/G,OAAO,EAAE,8BAA8B,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAE,uCAAuC,EAAE,MAAM,yCAAyC,CAAC;AAClG,OAAO,EAAE,yCAAyC,EAAE,MAAM,2CAA2C,CAAC;AACtG,OAAO,EAAE,oCAAoC,EAAE,MAAM,qCAAqC,CAAC;AAC3F,OAAO,EAAE,oCAAoC,EAAE,MAAM,qCAAqC,CAAC;AAE3F;;GAEG;AACH,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAuB;IAElD;;;OAGG;gBACS,UAAU,CAAC,EAAE,SAAS,SAAS,EAAE;IAY7C;;;OAGG;IACH,MAAM,IAAI,SAAS,SAAS,EAAE;IAI9B;;;;OAIG;IACG,mBAAmB,CAAC,GAAG,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC;IAQ/D;;;;OAIG;IACG,MAAM,CAAC,GAAG,EAAE,gBAAgB,GAAG,OAAO,CAAC,SAAS,eAAe,EAAE,CAAC;CAazE;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,IAAI,iBAAiB,CAE3D"}
|
package/dist/migrations/index.js
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { EnsureAuditIgnoreLocalExclusionsMigration } from "./ensure-audit-ignore-local-exclusions.js";
|
|
2
2
|
import { EnsureJestRnMockAccessibilityManagerMigration } from "./ensure-jest-rn-mock-accessibility-manager.js";
|
|
3
3
|
import { EnsureLisaPostinstallMigration } from "./ensure-lisa-postinstall.js";
|
|
4
|
+
import { EnsureSonarExcludesLisaHarnessMigration } from "./ensure-sonar-excludes-lisa-harness.js";
|
|
4
5
|
import { EnsureTsconfigLocalFilesFallbackMigration } from "./ensure-tsconfig-local-files-fallback.js";
|
|
5
6
|
import { EnsureTsconfigLocalIncludesMigration } from "./ensure-tsconfig-local-includes.js";
|
|
6
7
|
import { ReconcileClaudeStackPluginsMigration } from "./reconcile-claude-stack-plugins.js";
|
|
7
8
|
export { EnsureAuditIgnoreLocalExclusionsMigration } from "./ensure-audit-ignore-local-exclusions.js";
|
|
8
9
|
export { EnsureJestRnMockAccessibilityManagerMigration } from "./ensure-jest-rn-mock-accessibility-manager.js";
|
|
9
10
|
export { EnsureLisaPostinstallMigration } from "./ensure-lisa-postinstall.js";
|
|
11
|
+
export { EnsureSonarExcludesLisaHarnessMigration } from "./ensure-sonar-excludes-lisa-harness.js";
|
|
10
12
|
export { EnsureTsconfigLocalFilesFallbackMigration } from "./ensure-tsconfig-local-files-fallback.js";
|
|
11
13
|
export { EnsureTsconfigLocalIncludesMigration } from "./ensure-tsconfig-local-includes.js";
|
|
12
14
|
export { ReconcileClaudeStackPluginsMigration } from "./reconcile-claude-stack-plugins.js";
|
|
@@ -26,6 +28,7 @@ export class MigrationRegistry {
|
|
|
26
28
|
new EnsureAuditIgnoreLocalExclusionsMigration(),
|
|
27
29
|
new EnsureJestRnMockAccessibilityManagerMigration(),
|
|
28
30
|
new EnsureLisaPostinstallMigration(),
|
|
31
|
+
new EnsureSonarExcludesLisaHarnessMigration(),
|
|
29
32
|
new ReconcileClaudeStackPluginsMigration(),
|
|
30
33
|
];
|
|
31
34
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/migrations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yCAAyC,EAAE,MAAM,2CAA2C,CAAC;AACtG,OAAO,EAAE,6CAA6C,EAAE,MAAM,gDAAgD,CAAC;AAC/G,OAAO,EAAE,8BAA8B,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAE,yCAAyC,EAAE,MAAM,2CAA2C,CAAC;AACtG,OAAO,EAAE,oCAAoC,EAAE,MAAM,qCAAqC,CAAC;AAC3F,OAAO,EAAE,oCAAoC,EAAE,MAAM,qCAAqC,CAAC;AAa3F,OAAO,EAAE,yCAAyC,EAAE,MAAM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IAAI,iBAAiB,EAAE,CAAC;AACjC,CAAC"}
|
package/package.json
CHANGED
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"lodash": ">=4.18.1"
|
|
85
85
|
},
|
|
86
86
|
"name": "@codyswann/lisa",
|
|
87
|
-
"version": "2.
|
|
87
|
+
"version": "2.158.1",
|
|
88
88
|
"description": "Claude Code governance framework that applies guardrails, guidance, and automated enforcement to projects",
|
|
89
89
|
"main": "dist/index.js",
|
|
90
90
|
"exports": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.158.1",
|
|
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.
|
|
3
|
+
"version": "2.158.1",
|
|
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.
|
|
3
|
+
"version": "2.158.1",
|
|
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.
|
|
3
|
+
"version": "2.158.1",
|
|
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.
|
|
3
|
+
"version": "2.158.1",
|
|
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"
|