fix(plugins): make metadata generator formatter portable

This commit is contained in:
Vincent Koc 2026-03-22 18:40:12 -07:00
parent 2dd3425584
commit a59db4c9f4
1 changed files with 3 additions and 0 deletions

View File

@ -8,7 +8,10 @@ const GENERATED_BY = "scripts/generate-bundled-plugin-metadata.mjs";
const DEFAULT_OUTPUT_PATH = "src/plugins/bundled-plugin-metadata.generated.ts";
const MANIFEST_KEY = "openclaw";
const FORMATTER_CWD = path.resolve(import.meta.dirname, "..");
<<<<<<< HEAD
const OXFMT_BIN = path.join(FORMATTER_CWD, "node_modules", ".bin", "oxfmt");
=======
>>>>>>> 521b33dd85 (fix(plugins): make metadata generator formatter portable)
const CANONICAL_PACKAGE_ID_ALIASES = {
"elevenlabs-speech": "elevenlabs",
"microsoft-speech": "microsoft",