@codyswann/lisa 3.29.2 → 3.30.0
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/all/copy-overwrite/scripts/lisa-hooks/block-managed-file-edits.sh +48 -1
- package/all/copy-overwrite/scripts/lisa-work-item.mjs +29 -1
- package/dist/cli/doctor-serialize-legs-contract.d.ts +69 -0
- package/dist/cli/doctor-serialize-legs-contract.d.ts.map +1 -0
- package/dist/cli/doctor-serialize-legs-contract.js +159 -0
- package/dist/cli/doctor-serialize-legs-contract.js.map +1 -0
- package/dist/cli/doctor.d.ts.map +1 -1
- package/dist/cli/doctor.js +4 -0
- package/dist/cli/doctor.js.map +1 -1
- package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
- package/dist/core/lisa-owned-hash-ledger.js +3 -0
- package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +7 -3
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/dist/migrations/ensure-oxlint-base-configs.d.ts.map +1 -1
- package/dist/migrations/ensure-oxlint-base-configs.js +4 -1
- package/dist/migrations/ensure-oxlint-base-configs.js.map +1 -1
- package/dist/migrations/generated-paths.d.ts +33 -0
- package/dist/migrations/generated-paths.d.ts.map +1 -0
- package/dist/migrations/generated-paths.js +36 -0
- package/dist/migrations/generated-paths.js.map +1 -0
- package/package.json +16 -14
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa/hooks/block-managed-file-edits.sh +48 -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-copilot/hooks/block-managed-file-edits.sh +48 -1
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/hooks/block-managed-file-edits.sh +48 -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/plugins/src/base/hooks/block-managed-file-edits.sh +48 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.30.0",
|
|
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": "3.
|
|
3
|
+
"version": "3.30.0",
|
|
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": "3.
|
|
3
|
+
"version": "3.30.0",
|
|
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"
|
|
@@ -196,6 +196,45 @@ managed_source() {
|
|
|
196
196
|
return 0
|
|
197
197
|
fi
|
|
198
198
|
done
|
|
199
|
+
# A generated path has no template to point at — apply rebuilds it from the
|
|
200
|
+
# migration rather than copying it — so the source is named for the reader
|
|
201
|
+
# rather than resolved to a file that does not exist.
|
|
202
|
+
if generated_path "$rel"; then
|
|
203
|
+
printf '%s' "generated by lisa apply"
|
|
204
|
+
return 0
|
|
205
|
+
fi
|
|
206
|
+
return 1
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
# Whether a destination is a path `lisa apply` GENERATES rather than copies.
|
|
210
|
+
#
|
|
211
|
+
# Read out of the installed package, never restated here.
|
|
212
|
+
# `dist/migrations/generated-paths.js` is the single source the vendoring
|
|
213
|
+
# migration also imports, so a new generated tree is covered without editing this
|
|
214
|
+
# hook. A hook carrying its own copy of that list would be a second place to
|
|
215
|
+
# update that nobody updates, which then governs silently — the defect this file
|
|
216
|
+
# already documents for copy-overwrite, one step along.
|
|
217
|
+
#
|
|
218
|
+
# The distinction earns its keep because the two populations fail in OPPOSITE
|
|
219
|
+
# ways, and a guard that gives one answer is wrong for half the files it covers:
|
|
220
|
+
# an edited copy-overwrite file is PRESERVED and silently forks, while a
|
|
221
|
+
# generated file is REBUILT and the edit vanishes on the next install.
|
|
222
|
+
generated_path() {
|
|
223
|
+
local rel="$1"
|
|
224
|
+
local module="$package_root/dist/migrations/generated-paths.js"
|
|
225
|
+
[ -f "$module" ] || return 1
|
|
226
|
+
local prefixes
|
|
227
|
+
prefixes="$(grep -oE '"[^"]+"' "$module" 2>/dev/null | tr -d '"')"
|
|
228
|
+
local prefix
|
|
229
|
+
for prefix in $prefixes; do
|
|
230
|
+
case "$prefix" in
|
|
231
|
+
*/*) ;;
|
|
232
|
+
*) continue ;;
|
|
233
|
+
esac
|
|
234
|
+
case "$rel" in
|
|
235
|
+
"$prefix" | "$prefix"/*) return 0 ;;
|
|
236
|
+
esac
|
|
237
|
+
done
|
|
199
238
|
return 1
|
|
200
239
|
}
|
|
201
240
|
|
|
@@ -219,7 +258,15 @@ refuse() {
|
|
|
219
258
|
local source="$2"
|
|
220
259
|
local rel="$3"
|
|
221
260
|
local consequence
|
|
222
|
-
if
|
|
261
|
+
if generated_path "$rel"; then
|
|
262
|
+
consequence="\`lisa apply\` REGENERATES this file. It is not copied from a
|
|
263
|
+
template and it is not preserved: the next \`bun install\` rebuilds it and your
|
|
264
|
+
edit is gone, with nothing reporting that it had been.
|
|
265
|
+
|
|
266
|
+
That is the opposite failure from the copy-overwrite files this guard also
|
|
267
|
+
covers, where an edit SURVIVES and forks silently. Here the edit works locally,
|
|
268
|
+
CI agrees because CI regenerates too, and it disappears on the next install."
|
|
269
|
+
elif ledger_tracked "$rel"; then
|
|
223
270
|
consequence="\`lisa apply\` will KEEP your edit — this is a Lisa-owned guard,
|
|
224
271
|
and apply says so: \"its contents match no Lisa release, so Lisa cannot tell
|
|
225
272
|
whether it is out of date or deliberately stronger. Kept yours.\"
|