@codyswann/lisa 4.68.0 → 4.69.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.
Files changed (86) hide show
  1. package/all/copy-overwrite/scripts/lisa-work-item.mjs +96 -5
  2. package/all/deletions.json +4 -2
  3. package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
  4. package/dist/core/lisa-owned-hash-ledger.js +8 -0
  5. package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
  6. package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
  7. package/dist/core/project-config.d.ts +6 -0
  8. package/dist/core/project-config.d.ts.map +1 -1
  9. package/dist/core/project-config.js.map +1 -1
  10. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  11. package/dist/core/upstream-evidence-manifest.js +22 -15
  12. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  13. package/dist/opencode/plugin-templates/lisa-session-bootstrap.ts +41 -1
  14. package/package.json +4 -4
  15. package/plugins/lisa/.claude-plugin/plugin.json +11 -1
  16. package/plugins/lisa/.codex-plugin/hooks.json +10 -0
  17. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  18. package/plugins/lisa/hooks/auto-update.mjs +756 -0
  19. package/plugins/lisa/hooks/auto-update.sh +31 -0
  20. package/plugins/lisa/hooks/enforcement-vintage-npm.mjs +2 -2
  21. package/plugins/lisa-agy/plugin.json +1 -1
  22. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  23. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  24. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  25. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  26. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  27. package/plugins/lisa-copilot/.claude-plugin/plugin.json +11 -1
  28. package/plugins/lisa-copilot/hooks/auto-update.mjs +756 -0
  29. package/plugins/lisa-copilot/hooks/auto-update.sh +31 -0
  30. package/plugins/lisa-copilot/hooks/enforcement-vintage-npm.mjs +2 -2
  31. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  32. package/plugins/lisa-cursor/hooks/auto-update.mjs +756 -0
  33. package/plugins/lisa-cursor/hooks/auto-update.sh +31 -0
  34. package/plugins/lisa-cursor/hooks/enforcement-vintage-npm.mjs +2 -2
  35. package/plugins/lisa-cursor/hooks/hooks.json +4 -0
  36. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  37. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  38. package/plugins/lisa-expo-agy/plugin.json +1 -1
  39. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  40. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  41. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  42. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  43. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  44. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  45. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  46. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  47. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  48. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  49. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  50. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  51. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  52. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  53. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  54. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  55. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  56. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  57. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  58. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  59. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  60. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  61. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  62. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  63. package/plugins/lisa-rails-agy/plugin.json +1 -1
  64. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  65. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  66. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  67. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  68. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  69. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  70. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  71. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  72. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  73. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  74. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  75. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  76. package/plugins/src/base/.claude-plugin/plugin.json +10 -0
  77. package/plugins/src/base/hooks/auto-update.mjs +756 -0
  78. package/plugins/src/base/hooks/auto-update.sh +31 -0
  79. package/plugins/src/base/hooks/enforcement-vintage-npm.mjs +2 -2
  80. package/rails/copy-overwrite/config/initializers/version.rb +1 -0
  81. package/scripts/lib/per-agent-hook-filter.mjs +13 -0
  82. package/scripts/two-channel-couplings.json +1 -1
  83. package/typescript/copy-overwrite/.prettierignore +0 -1
  84. package/all/copy-overwrite/scripts/lisa-self-update.mjs +0 -1047
  85. package/all/create-only/.github/workflows/lisa-update.yml +0 -99
  86. package/scripts/lisa-self-update.mjs +0 -14
@@ -1,99 +0,0 @@
1
- # Seeded by Lisa on first setup — this file is YOURS.
2
- # Lisa will not overwrite it. (copy-overwrite assets ARE replaced each run.)
3
- #
4
- # Keeps this project on the current Lisa release (CodySwannGT/lisa#4325).
5
- #
6
- # Once a day it compares the installed @codyswann/lisa with npm latest. When a
7
- # newer release exists it opens ONE pull request on a `lisa/update-<version>`
8
- # branch: the dependency bump plus the template changes Lisa applies for that
9
- # version. Older update pull requests are closed as superseded, and auto-merge
10
- # is armed so the update lands as soon as every required check passes. Nothing
11
- # skips a check.
12
- #
13
- # The logic lives in `scripts/lisa-self-update.mjs`, which Lisa refreshes on
14
- # every apply, so this file only needs to call it.
15
- #
16
- # ## Requires a `PAT` secret
17
- #
18
- # A pull request opened with the built-in GITHUB_TOKEN never starts the
19
- # pull request's own CI — GitHub prevents workflows triggering workflows — so
20
- # required checks would never run and auto-merge would never fire. Store a
21
- # token that can push branches and open pull requests as the `PAT` secret.
22
- #
23
- # ## Work items
24
- #
25
- # If this project tracks work in GitHub Issues (`tracker: github`), each update
26
- # files its own work item and links it, so a traceability gate is satisfied.
27
- # Otherwise, set the repository variable `LISA_UPDATE_WORK_ITEM` to an OPEN work
28
- # item for the next update (`PROJ-123`, `org/repo#123`); merging completes it,
29
- # so it needs replacing after each update.
30
- #
31
- # Change the cron to suit; disable the workflow to opt out.
32
- name: 🔄 Lisa Update
33
-
34
- on:
35
- schedule:
36
- # 06:00 UTC daily.
37
- - cron: '0 6 * * *'
38
- workflow_dispatch:
39
-
40
- permissions:
41
- contents: read
42
-
43
- concurrency:
44
- group: lisa-update
45
- cancel-in-progress: false
46
-
47
- jobs:
48
- update:
49
- name: 🔄 Open a Lisa update pull request
50
- runs-on: ubuntu-latest
51
- timeout-minutes: 30
52
- steps:
53
- - name: Require the PAT secret
54
- env:
55
- PAT: ${{ secrets.PAT }}
56
- run: |
57
- if [ -z "$PAT" ]; then
58
- echo "::error title=Lisa Update needs a PAT secret::This workflow opens a pull request that must run your normal checks, and pull requests opened with the built-in token never start them. Add a token that can push branches and open pull requests as the repository secret PAT, then re-run."
59
- exit 1
60
- fi
61
- - uses: actions/checkout@v6
62
- with:
63
- token: ${{ secrets.PAT }}
64
- fetch-depth: 0
65
- # Keep the token out of .git/config, where every dependency lifecycle
66
- # script could read it. The updater authenticates git per command.
67
- persist-credentials: false
68
- - uses: actions/setup-node@v6
69
- with:
70
- node-version: '22.21.1'
71
- package-manager-cache: false
72
- # Use the Bun the project pins in `engines.bun`, so the lockfile is
73
- # written by the same Bun the project's own CI uses.
74
- - name: Read the pinned Bun version
75
- id: bun
76
- run: |
77
- version=$(node -p "const v=(require('./package.json').engines||{}).bun||''; /^\d+\.\d+\.\d+$/.test(v)?v:''")
78
- echo "version=${version}" >> "$GITHUB_OUTPUT"
79
- - uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
80
- if: steps.bun.outputs.version != ''
81
- with:
82
- bun-version: ${{ steps.bun.outputs.version }}
83
- - name: Configure the commit author
84
- run: |
85
- git config user.name 'lisa-update[bot]'
86
- git config user.email 'lisa-update@users.noreply.github.com'
87
- - name: Open the update pull request
88
- env:
89
- # Not GH_TOKEN: the updater hands the credential only to the commands
90
- # that talk to GitHub, never to installs or lifecycle scripts.
91
- LISA_UPDATE_TOKEN: ${{ secrets.PAT }}
92
- GITHUB_REPOSITORY: ${{ github.repository }}
93
- LISA_DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
94
- LISA_UPDATE_WORK_ITEM: ${{ vars.LISA_UPDATE_WORK_ITEM }}
95
- # Local commit hooks are not the gate here: the pull request's own
96
- # CI runs every required check on these commits.
97
- HUSKY: '0'
98
- LEFTHOOK: '0'
99
- run: node scripts/lisa-self-update.mjs
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env node
2
- /**
3
- * Lisa's own entry point for the shipped updater (CodySwannGT/lisa#4331).
4
- *
5
- * `.github/workflows/lisa-update.yml` runs `node scripts/lisa-self-update.mjs`,
6
- * and that path is the CALLER's tree: a host gets it from
7
- * `all/copy-overwrite/scripts/` on apply, and in this repository it is this
8
- * file. A re-export rather than a second copy, so there is one implementation;
9
- * here it runs in self mode because this manifest's name is `@codyswann/lisa`.
10
- * @module scripts/lisa-self-update
11
- */
12
- import { runCli } from "../all/copy-overwrite/scripts/lisa-self-update.mjs";
13
-
14
- runCli();