@codyswann/lisa 2.220.0 → 2.221.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 (71) hide show
  1. package/cdk/package-lisa/package.lisa.json +2 -2
  2. package/dist/core/config.d.ts +1 -1
  3. package/dist/core/instruction-files-migration.d.ts +28 -0
  4. package/dist/core/instruction-files-migration.d.ts.map +1 -1
  5. package/dist/core/instruction-files-migration.js +116 -6
  6. package/dist/core/instruction-files-migration.js.map +1 -1
  7. package/dist/core/lisa.d.ts +6 -5
  8. package/dist/core/lisa.d.ts.map +1 -1
  9. package/dist/core/lisa.js +8 -6
  10. package/dist/core/lisa.js.map +1 -1
  11. package/package.json +1 -1
  12. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  13. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  14. package/plugins/lisa/rules/eager/project-learnings.md +15 -0
  15. package/plugins/lisa/rules/reference/project-learnings.md +37 -0
  16. package/plugins/lisa-agy/plugin.json +1 -1
  17. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  18. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  19. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  20. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  21. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  22. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  23. package/plugins/lisa-copilot/rules/eager/project-learnings.md +15 -0
  24. package/plugins/lisa-copilot/rules/reference/project-learnings.md +37 -0
  25. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  26. package/plugins/lisa-cursor/rules/project-learnings-reference.mdc +42 -0
  27. package/plugins/lisa-cursor/rules/project-learnings.mdc +20 -0
  28. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  29. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  30. package/plugins/lisa-expo-agy/plugin.json +1 -1
  31. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  32. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  33. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  34. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  35. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  36. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  37. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  38. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  39. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  40. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  41. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  42. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  43. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  44. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  45. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  46. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  47. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  48. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  49. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  50. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  51. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  52. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  53. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  54. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  55. package/plugins/lisa-rails-agy/plugin.json +1 -1
  56. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  57. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  58. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  59. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  60. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  61. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  62. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  63. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  64. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  65. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  66. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  67. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  68. package/plugins/src/base/rules/eager/project-learnings.md +15 -0
  69. package/plugins/src/base/rules/reference/project-learnings.md +37 -0
  70. package/scripts/generate-agy-plugin-artifacts.mjs +4 -3
  71. package/scripts/lib/per-agent-hook-filter.mjs +2 -2
@@ -25,7 +25,8 @@
25
25
  * MCP (user-global, NOT plugin-bundled): agy ignores plugin-bundled MCP and only
26
26
  * reads the user-global `~/.gemini/config/mcp_config.json`, so MCP is delivered
27
27
  * by the runtime installer (`src/agy/mcp-installer.ts`), and this generator
28
- * drops `.mcp.json`. Rules use the AGENTS.md bake (rules-once invariant).
28
+ * drops `.mcp.json`. Rules remain out of agy artifacts; the runtime reconciles
29
+ * only a bounded AGENTS.md project-learnings bridge.
29
30
  *
30
31
  * Net: the agy variant ships a root `hooks.json` (base only) + its agy-protocol
31
32
  * script under `hooks/`, but NO `mcp_config.json`, NO `.mcp.json`, NO `rules/`,
@@ -132,7 +133,7 @@ export function generateAgyVariant(srcDir, outDir, version) {
132
133
  // hooks.json (root) + the agy-protocol script are re-emitted by
133
134
  // emitAgyPluginHooks below.
134
135
  if (relPath.startsWith("hooks/") || relPath === "hooks") return false;
135
- if (relPath.startsWith("rules/") || relPath === "rules") return false; // rules delivered via AGENTS.md bake
136
+ if (relPath.startsWith("rules/") || relPath === "rules") return false; // no full rules tree in agy artifacts
136
137
  // Drop the untranslated Claude .mcp.json — agy ignores it (and the agy
137
138
  // MCP shape differs); MCP is delivered by the user-global runtime MCP installer.
138
139
  if (relPath === ".mcp.json") return false;
@@ -206,7 +207,7 @@ export function generateAgyVariant(srcDir, outDir, version) {
206
207
  * agy-protocol script copied into the variant's hooks/ and referenced by the
207
208
  * command. NOTE: install-pkgs / setup-jira-cli are SessionStart-only, which agy
208
209
  * hooks don't support, so they are intentionally absent. inject-rules is absent
209
- * too (rules-once via the AGENTS.md bake).
210
+ * too (rules stay out of agy artifacts).
210
211
  */
211
212
  const AGY_PLUGIN_HOOKS = [
212
213
  {
@@ -25,7 +25,7 @@
25
25
  * agy doesn't support SessionStart, so install-pkgs / setup-jira-cli can't
26
26
  * ship as agy hooks. The agy column below is retained only as conceptual
27
27
  * ship-list documentation (block-no-verify.sh, install-pkgs.sh,
28
- * setup-jira-cli.sh; strips inject-rules.sh — rules-once via AGENTS.md bake
28
+ * setup-jira-cli.sh; strips inject-rules.sh — no full rules tree on agy
29
29
  * — enforce-team-first.sh, inject-flow-context.sh, and `entire ...` calls).
30
30
  * - Copilot: strip SubagentStart hooks (event missing), strip Claude-team-specific
31
31
  * scripts, conditionally strip inject-rules.sh if the rules-auto-load probe is
@@ -54,7 +54,7 @@ const SCRIPT_RULES = {
54
54
  claude: true,
55
55
  codex: true,
56
56
  cursor: false, // rules ship as native rules/*.mdc (single delivery path); injecting would double-deliver
57
- agy: false, // rules delivered via AGENTS.md bake, not a hook (rules-once invariant)
57
+ agy: false, // no full rules tree on agy; AGENTS.md carries only bounded bridges
58
58
  copilot: true, // conservative default; conditionally stripped if rules-auto-load probe positive
59
59
  },
60
60
  "inject-flow-context.sh": {