@codyswann/lisa 2.151.0 → 2.152.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/dist/core/lisa.d.ts.map +1 -1
- package/dist/core/lisa.js +17 -10
- package/dist/core/lisa.js.map +1 -1
- package/dist/opencode/hooks-installer.d.ts +54 -0
- package/dist/opencode/hooks-installer.d.ts.map +1 -0
- package/dist/opencode/hooks-installer.js +300 -0
- package/dist/opencode/hooks-installer.js.map +1 -0
- package/dist/opencode/plugin-templates/lisa-block-migration-edits.ts +44 -0
- package/dist/opencode/plugin-templates/lisa-block-suppress-directives.ts +57 -0
- package/dist/opencode/plugin-templates/lisa-lint-on-edit.ts +53 -0
- package/dist/opencode/plugin-templates/lisa-rubocop-on-edit.ts +54 -0
- package/dist/opencode/plugin-templates/lisa-session-bootstrap.ts +76 -0
- package/dist/opencode/plugin-templates/lisa-sg-scan-on-edit.ts +50 -0
- package/package.json +2 -2
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -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-cursor/.claude-plugin/plugin.json +1 -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-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/scripts/copy-opencode-plugin-templates.mjs +29 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.152.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"
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* Copy OpenCode plugin templates next to the compiled OpenCode hooks installer.
|
|
4
|
+
*
|
|
5
|
+
* `src/opencode/plugin-templates/*.ts` are NOT app source — they run under
|
|
6
|
+
* OpenCode's Bun runtime inside a host project's `.opencode/plugin/`, so they
|
|
7
|
+
* are excluded from this repo's tsconfig (tsc never emits them). The installer
|
|
8
|
+
* (`dist/opencode/hooks-installer.js`) copies them verbatim into a host project
|
|
9
|
+
* at install time, resolving them from `dist/opencode/plugin-templates/`. This
|
|
10
|
+
* step puts the source `.ts` files there. Mirrors `copy-codex-scripts.mjs`.
|
|
11
|
+
*/
|
|
12
|
+
import fs from "node:fs";
|
|
13
|
+
import path from "node:path";
|
|
14
|
+
|
|
15
|
+
const repoRoot = path.resolve(import.meta.dirname, "..");
|
|
16
|
+
const sourceDir = path.join(repoRoot, "src", "opencode", "plugin-templates");
|
|
17
|
+
const destDir = path.join(repoRoot, "dist", "opencode", "plugin-templates");
|
|
18
|
+
|
|
19
|
+
fs.rmSync(destDir, { recursive: true, force: true });
|
|
20
|
+
fs.mkdirSync(destDir, { recursive: true });
|
|
21
|
+
|
|
22
|
+
for (const entry of fs.readdirSync(sourceDir, { withFileTypes: true })) {
|
|
23
|
+
if (!entry.isFile() || !entry.name.endsWith(".ts")) {
|
|
24
|
+
continue;
|
|
25
|
+
}
|
|
26
|
+
const sourcePath = path.join(sourceDir, entry.name);
|
|
27
|
+
const destPath = path.join(destDir, entry.name);
|
|
28
|
+
fs.copyFileSync(sourcePath, destPath);
|
|
29
|
+
}
|