@codyswann/lisa 2.165.2 → 2.165.4
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/codex/scripts/lint-on-edit.sh +12 -1
- package/dist/opencode/plugin-templates/lisa-lint-on-edit.ts +7 -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/hooks/shell-write-nudge.sh +0 -0
- 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-copilot/hooks/shell-write-nudge.sh +0 -0
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/hooks/shell-write-nudge.sh +0 -0
- 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/hooks/inject-rules.sh +0 -0
- package/plugins/lisa-phaser-agy/plugin.json +1 -1
- package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-copilot/hooks/inject-rules.sh +0 -0
- 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/hooks/lint-on-edit.sh +6 -0
- package/plugins/lisa-typescript-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/hooks/lint-on-edit.sh +6 -0
- package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/hooks/lint-on-edit.sh +6 -0
- 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/base/hooks/shell-write-nudge.sh +0 -0
- package/plugins/src/phaser/hooks/inject-rules.sh +0 -0
- package/plugins/src/typescript/hooks/lint-on-edit.sh +6 -0
- package/scripts/build-plugins.sh +6 -0
|
@@ -31,7 +31,18 @@ while IFS= read -r FILE_PATH; do
|
|
|
31
31
|
ts | tsx | js | jsx | mjs | cjs) ;;
|
|
32
32
|
*) continue ;;
|
|
33
33
|
esac
|
|
34
|
-
"$OXLINT" --quiet "${FILE_PATH}"
|
|
34
|
+
OX_OUTPUT=$("$OXLINT" --quiet "${FILE_PATH}" 2>&1)
|
|
35
|
+
OX_EXIT=$?
|
|
36
|
+
if [ "$OX_EXIT" -eq 0 ]; then
|
|
37
|
+
continue
|
|
38
|
+
fi
|
|
39
|
+
case "$OX_OUTPUT" in
|
|
40
|
+
*"No files found to lint"* | *" on 0 files"* | *" on 0 file"*)
|
|
41
|
+
continue
|
|
42
|
+
;;
|
|
43
|
+
esac
|
|
44
|
+
echo "$OX_OUTPUT" >&2
|
|
45
|
+
STATUS=1
|
|
35
46
|
done <<EOF
|
|
36
47
|
$(lisa_extract_edit_paths "$JSON_INPUT")
|
|
37
48
|
EOF
|
|
@@ -44,6 +44,13 @@ export const LisaLintOnEdit = async ({
|
|
|
44
44
|
if (res.exitCode === 0) return;
|
|
45
45
|
const out =
|
|
46
46
|
`${res.stdout?.toString() ?? ""}${res.stderr?.toString() ?? ""}`.trim();
|
|
47
|
+
if (
|
|
48
|
+
out.includes("No files found to lint") ||
|
|
49
|
+
out.includes(" on 0 files") ||
|
|
50
|
+
out.includes(" on 0 file")
|
|
51
|
+
) {
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
47
54
|
throw new Error(
|
|
48
55
|
`lint-on-edit: oxlint reported problems in ${filePath}:\n${out}`
|
|
49
56
|
);
|
package/package.json
CHANGED
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"lodash": ">=4.18.1"
|
|
86
86
|
},
|
|
87
87
|
"name": "@codyswann/lisa",
|
|
88
|
-
"version": "2.165.
|
|
88
|
+
"version": "2.165.4",
|
|
89
89
|
"description": "Claude Code governance framework that applies guardrails, guidance, and automated enforcement to projects",
|
|
90
90
|
"main": "dist/index.js",
|
|
91
91
|
"exports": {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.165.
|
|
3
|
+
"version": "2.165.4",
|
|
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.165.
|
|
3
|
+
"version": "2.165.4",
|
|
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.165.
|
|
3
|
+
"version": "2.165.4",
|
|
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.165.
|
|
3
|
+
"version": "2.165.4",
|
|
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.165.
|
|
3
|
+
"version": "2.165.4",
|
|
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"
|
|
File without changes
|
|
File without changes
|
|
@@ -79,6 +79,12 @@ echo "Running oxlint on: $FILE_PATH"
|
|
|
79
79
|
OX_OUTPUT=$($OXLINT_CMD --quiet "$FILE_PATH" 2>&1)
|
|
80
80
|
OX_EXIT=$?
|
|
81
81
|
if [ $OX_EXIT -ne 0 ]; then
|
|
82
|
+
case "$OX_OUTPUT" in
|
|
83
|
+
*"No files found to lint"* | *" on 0 files"* | *" on 0 file"*)
|
|
84
|
+
echo "oxlint: Ignored by lint config: $FILE_PATH"
|
|
85
|
+
exit 0
|
|
86
|
+
;;
|
|
87
|
+
esac
|
|
82
88
|
echo "oxlint found errors in: $FILE_PATH" >&2
|
|
83
89
|
echo "$OX_OUTPUT" >&2
|
|
84
90
|
exit 2
|
|
@@ -79,6 +79,12 @@ echo "Running oxlint on: $FILE_PATH"
|
|
|
79
79
|
OX_OUTPUT=$($OXLINT_CMD --quiet "$FILE_PATH" 2>&1)
|
|
80
80
|
OX_EXIT=$?
|
|
81
81
|
if [ $OX_EXIT -ne 0 ]; then
|
|
82
|
+
case "$OX_OUTPUT" in
|
|
83
|
+
*"No files found to lint"* | *" on 0 files"* | *" on 0 file"*)
|
|
84
|
+
echo "oxlint: Ignored by lint config: $FILE_PATH"
|
|
85
|
+
exit 0
|
|
86
|
+
;;
|
|
87
|
+
esac
|
|
82
88
|
echo "oxlint found errors in: $FILE_PATH" >&2
|
|
83
89
|
echo "$OX_OUTPUT" >&2
|
|
84
90
|
exit 2
|
|
@@ -79,6 +79,12 @@ echo "Running oxlint on: $FILE_PATH"
|
|
|
79
79
|
OX_OUTPUT=$($OXLINT_CMD --quiet "$FILE_PATH" 2>&1)
|
|
80
80
|
OX_EXIT=$?
|
|
81
81
|
if [ $OX_EXIT -ne 0 ]; then
|
|
82
|
+
case "$OX_OUTPUT" in
|
|
83
|
+
*"No files found to lint"* | *" on 0 files"* | *" on 0 file"*)
|
|
84
|
+
echo "oxlint: Ignored by lint config: $FILE_PATH"
|
|
85
|
+
exit 0
|
|
86
|
+
;;
|
|
87
|
+
esac
|
|
82
88
|
echo "oxlint found errors in: $FILE_PATH" >&2
|
|
83
89
|
echo "$OX_OUTPUT" >&2
|
|
84
90
|
exit 2
|
|
File without changes
|
|
File without changes
|
|
@@ -79,6 +79,12 @@ echo "Running oxlint on: $FILE_PATH"
|
|
|
79
79
|
OX_OUTPUT=$($OXLINT_CMD --quiet "$FILE_PATH" 2>&1)
|
|
80
80
|
OX_EXIT=$?
|
|
81
81
|
if [ $OX_EXIT -ne 0 ]; then
|
|
82
|
+
case "$OX_OUTPUT" in
|
|
83
|
+
*"No files found to lint"* | *" on 0 files"* | *" on 0 file"*)
|
|
84
|
+
echo "oxlint: Ignored by lint config: $FILE_PATH"
|
|
85
|
+
exit 0
|
|
86
|
+
;;
|
|
87
|
+
esac
|
|
82
88
|
echo "oxlint found errors in: $FILE_PATH" >&2
|
|
83
89
|
echo "$OX_OUTPUT" >&2
|
|
84
90
|
exit 2
|
package/scripts/build-plugins.sh
CHANGED
|
@@ -38,6 +38,12 @@ build_plugin() {
|
|
|
38
38
|
rm -rf "$out"
|
|
39
39
|
mkdir -p "$out"
|
|
40
40
|
cp -r "$src/." "$out/"
|
|
41
|
+
# Hook scripts are invoked by path from hooks.json, and the marketplace git
|
|
42
|
+
# clone delivers whatever mode is committed — force the exec bit so a source
|
|
43
|
+
# file added without +x can't ship a "Permission denied" hook.
|
|
44
|
+
if [ -d "$out/hooks" ]; then
|
|
45
|
+
find "$out/hooks" -name '*.sh' -exec chmod +x {} +
|
|
46
|
+
fi
|
|
41
47
|
inject_version "$out/.claude-plugin/plugin.json"
|
|
42
48
|
node "$ROOT_DIR/scripts/generate-codex-plugin-artifacts.mjs" "$out" "$VERSION"
|
|
43
49
|
echo "Built plugins/$out_name (v$VERSION)"
|