@codyswann/lisa 4.107.9 → 4.107.11

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 (107) hide show
  1. package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
  2. package/dist/core/nightly-e2e-guard-behavior-certificate.js.map +1 -1
  3. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  4. package/dist/core/upstream-evidence-manifest.js +34 -4
  5. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  6. package/nestjs/create-only/.github/k6/README.md +18 -15
  7. package/nestjs/create-only/.github/k6/scenarios/smoke.js +4 -1
  8. package/package.json +4 -4
  9. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  10. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  11. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/ledger-lock-fs.mjs +124 -0
  12. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/ledger-lock-reclaim.mjs +266 -0
  13. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/ledger-lock.mjs +228 -0
  14. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/ledger.mjs +24 -7
  15. package/plugins/lisa/skills/lisa-session-manager/scripts/ledger-lock-fs.mjs +124 -0
  16. package/plugins/lisa/skills/lisa-session-manager/scripts/ledger-lock-reclaim.mjs +266 -0
  17. package/plugins/lisa/skills/lisa-session-manager/scripts/ledger-lock.mjs +228 -0
  18. package/plugins/lisa/skills/lisa-session-manager/scripts/ledger.mjs +24 -7
  19. package/plugins/lisa-agy/plugin.json +1 -1
  20. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/ledger-lock-fs.mjs +124 -0
  21. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/ledger-lock-reclaim.mjs +266 -0
  22. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/ledger-lock.mjs +228 -0
  23. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/ledger.mjs +24 -7
  24. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  25. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  26. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  27. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  28. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  29. package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
  30. package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
  31. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  32. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/ledger-lock-fs.mjs +124 -0
  33. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/ledger-lock-reclaim.mjs +266 -0
  34. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/ledger-lock.mjs +228 -0
  35. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/ledger.mjs +24 -7
  36. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  37. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/ledger-lock-fs.mjs +124 -0
  38. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/ledger-lock-reclaim.mjs +266 -0
  39. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/ledger-lock.mjs +228 -0
  40. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/ledger.mjs +24 -7
  41. package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
  42. package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
  43. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/ledger-lock-fs.mjs +124 -0
  44. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/ledger-lock-reclaim.mjs +266 -0
  45. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/ledger-lock.mjs +228 -0
  46. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/ledger.mjs +24 -7
  47. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  48. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  49. package/plugins/lisa-expo-agy/plugin.json +1 -1
  50. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  51. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  52. package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
  53. package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
  54. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  55. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  56. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  57. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  58. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  59. package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
  60. package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
  61. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  62. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  63. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  64. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  65. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  66. package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
  67. package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
  68. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  69. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  70. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  71. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  72. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  73. package/plugins/lisa-openclaw-devin/.claude-plugin/plugin.json +1 -1
  74. package/plugins/lisa-openclaw-devin/.devin-plugin/plugin.json +1 -1
  75. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  76. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  77. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  78. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  79. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  80. package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
  81. package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
  82. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  83. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  84. package/plugins/lisa-rails-agy/plugin.json +1 -1
  85. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  86. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  87. package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
  88. package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
  89. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  90. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  91. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  92. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  93. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  94. package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
  95. package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
  96. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  97. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  98. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  99. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  100. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  101. package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
  102. package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
  103. package/plugins/src/base/skills/lisa-session-manager/scripts/ledger-lock-fs.mjs +124 -0
  104. package/plugins/src/base/skills/lisa-session-manager/scripts/ledger-lock-reclaim.mjs +266 -0
  105. package/plugins/src/base/skills/lisa-session-manager/scripts/ledger-lock.mjs +228 -0
  106. package/plugins/src/base/skills/lisa-session-manager/scripts/ledger.mjs +24 -7
  107. package/typescript/copy-overwrite/.github/GITHUB_ACTIONS.md +5 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "Expo and React Native-specific skills, agents, rules, and MCP servers.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "Harper/Fabric-specific Lisa rules for TypeScript component apps.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (hand-written migration warning)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "NestJS-specific skills and a hand-written migration warning hook.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (hand-written migration warning)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (hand-written migration warning)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (hand-written migration warning)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (hand-written migration warning)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (hand-written migration warning)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-openclaw",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
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": "4.107.9",
3
+ "version": "4.107.11",
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": "4.107.9",
3
+ "version": "4.107.11",
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": "4.107.9",
3
+ "version": "4.107.11",
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": "4.107.9",
3
+ "version": "4.107.11",
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": "4.107.9",
3
+ "version": "4.107.11",
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": "4.107.9",
3
+ "version": "4.107.11",
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-phaser",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "Ruby on Rails-specific skills and hooks for RuboCop and ast-grep scanning on edit.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "TypeScript-specific hooks for formatting, linting, and ast-grep scanning on edit.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "Distributable LLM Wiki kernel — ingest, query, lint, and maintain a git-native markdown knowledge base across Claude and Codex.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "4.107.9",
3
+ "version": "4.107.11",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -0,0 +1,124 @@
1
+ /**
2
+ * Filesystem and process probes shared by the ledger lock
3
+ * (`ledger-lock.mjs`) and its stale-lock reclaim (`ledger-lock-reclaim.mjs`).
4
+ *
5
+ * Ported from Lisa's learnings-ledger lock (`src/core/learnings-lock-fs.ts`)
6
+ * rather than imported, because plugin scripts ship standalone and cannot
7
+ * reach `src/`. Both lock halves use these exact probes: a second, subtly
8
+ * different "is this process alive" or "is an absent file an error" is how a
9
+ * lock grows a hole.
10
+ * @module ledger-lock-fs
11
+ */
12
+
13
+ import { lstat, readFile, unlink } from "node:fs/promises";
14
+ import { uptime } from "node:os";
15
+
16
+ /** Largest owner record worth parsing; anything bigger is not ours. */
17
+ const MAX_OWNER_BYTES = 512;
18
+
19
+ /**
20
+ * Read file metadata without treating an absent path as an error.
21
+ * @param {string} filePath - Filesystem path
22
+ * @returns {Promise<import("node:fs").Stats | undefined>} Metadata, or undefined
23
+ */
24
+ export async function statFile(filePath) {
25
+ try {
26
+ return await lstat(filePath);
27
+ } catch (error) {
28
+ if (error?.code === "ENOENT") return undefined;
29
+ throw error;
30
+ }
31
+ }
32
+
33
+ /**
34
+ * Remove one path, treating an already-absent path as success.
35
+ * @param {string} filePath - Regular file or hard-link path
36
+ * @returns {Promise<void>}
37
+ */
38
+ export async function removeFileIfPresent(filePath) {
39
+ try {
40
+ await unlink(filePath);
41
+ } catch (error) {
42
+ if (error?.code !== "ENOENT") throw error;
43
+ }
44
+ }
45
+
46
+ /**
47
+ * Whether a pid may still be alive on this host. Only `ESRCH` means dead; a
48
+ * permission error means the process exists but belongs to someone else.
49
+ * @param {number} pid - Declared owner process id
50
+ * @returns {boolean} Whether the process may be alive
51
+ */
52
+ export function isProcessLive(pid) {
53
+ try {
54
+ process.kill(pid, 0);
55
+ return true;
56
+ } catch (error) {
57
+ return error?.code !== "ESRCH";
58
+ }
59
+ }
60
+
61
+ /**
62
+ * When this host last booted, in epoch ms. A pid recorded before then names
63
+ * a process from an earlier boot, whatever now runs under that number.
64
+ * @returns {number} Boot time
65
+ */
66
+ export function bootTimeMs() {
67
+ return Date.now() - uptime() * 1000;
68
+ }
69
+
70
+ /**
71
+ * Whether two paths are the same regular-file inode.
72
+ * @param {string} left - First path
73
+ * @param {string} right - Second path
74
+ * @returns {Promise<boolean>} Whether both name one inode
75
+ */
76
+ export async function sameFile(left, right) {
77
+ const [a, b] = await Promise.all([statFile(left), statFile(right)]);
78
+ return (
79
+ a !== undefined &&
80
+ b !== undefined &&
81
+ a.isFile() &&
82
+ b.isFile() &&
83
+ a.dev === b.dev &&
84
+ a.ino === b.ino
85
+ );
86
+ }
87
+
88
+ /**
89
+ * Read a small JSON record; a missing, oversized, special or unparseable file
90
+ * is `undefined`, never an error.
91
+ * @param {string} filePath - Record path
92
+ * @returns {Promise<unknown>} Parsed value, or undefined
93
+ */
94
+ export async function readSmallJson(filePath) {
95
+ const metadata = await statFile(filePath);
96
+ if (!metadata?.isFile() || metadata.size > MAX_OWNER_BYTES) return undefined;
97
+ try {
98
+ return JSON.parse(await readFile(filePath, "utf8"));
99
+ } catch {
100
+ return undefined;
101
+ }
102
+ }
103
+
104
+ /**
105
+ * Whether a parsed value is a plain object with exactly these keys.
106
+ * @param {unknown} value - Parsed value
107
+ * @param {string[]} keys - Required keys, and the only ones allowed
108
+ * @returns {boolean} Whether the shape matches
109
+ */
110
+ export function hasExactKeys(value, keys) {
111
+ if (value === null || typeof value !== "object") return false;
112
+ if (Object.getPrototypeOf(value) !== Object.prototype) return false;
113
+ const own = Reflect.ownKeys(value);
114
+ return own.length === keys.length && keys.every(key => own.includes(key));
115
+ }
116
+
117
+ /**
118
+ * Whether a value is a positive safe integer (a usable pid).
119
+ * @param {unknown} value - Candidate
120
+ * @returns {boolean} Whether it is a pid
121
+ */
122
+ export function isPid(value) {
123
+ return typeof value === "number" && Number.isSafeInteger(value) && value > 0;
124
+ }