refactor(plugin): extract dirigent slash command and fix recursive prepare copy

This commit is contained in:
2026-03-07 22:27:03 +00:00
parent b63c1dfe94
commit 3a8b85eb7b
3 changed files with 65 additions and 45 deletions

View File

@@ -17,7 +17,7 @@
"TASKLIST.md"
],
"scripts": {
"prepare": "mkdir -p dist/dirigent && cp plugin/* dist/dirigent/",
"prepare": "mkdir -p dist/dirigent && cp -r plugin/* dist/dirigent/",
"postinstall": "node scripts/install-dirigent-openclaw.mjs --install",
"uninstall": "node scripts/install-dirigent-openclaw.mjs --uninstall",
"update": "node scripts/install-dirigent-openclaw.mjs --update"