diff --git a/docs/RELEASE.md b/docs/RELEASE.md index 6c98b8c..8d646d1 100644 --- a/docs/RELEASE.md +++ b/docs/RELEASE.md @@ -8,17 +8,17 @@ node scripts/package-plugin.mjs Output: -- `dist/plugin/index.ts` -- `dist/plugin/rules.ts` -- `dist/plugin/openclaw.plugin.json` -- `dist/plugin/README.md` -- `dist/plugin/package.json` +- `dist/whispergate/index.ts` +- `dist/whispergate/rules.ts` +- `dist/whispergate/openclaw.plugin.json` +- `dist/whispergate/README.md` +- `dist/whispergate/package.json` ## Use packaged plugin path Point OpenClaw `plugins.load.paths` to: -`/absolute/path/to/WhisperGate/dist/plugin` +`/absolute/path/to/WhisperGate/dist/whispergate` ## Verify package completeness diff --git a/scripts/install-whispergate-openclaw.sh b/scripts/install-whispergate-openclaw.sh index b96b4fb..267b9fe 100755 --- a/scripts/install-whispergate-openclaw.sh +++ b/scripts/install-whispergate-openclaw.sh @@ -9,7 +9,7 @@ set -Eeuo pipefail # - every install writes a change record OPENCLAW_CONFIG_PATH="${OPENCLAW_CONFIG_PATH:-$HOME/.openclaw/openclaw.json}" -PLUGIN_PATH="${PLUGIN_PATH:-/root/.openclaw/workspace-operator/WhisperGate/dist/plugin}" +PLUGIN_PATH="${PLUGIN_PATH:-/root/.openclaw/workspace-operator/WhisperGate/dist/whispergate}" NO_REPLY_PROVIDER_ID="${NO_REPLY_PROVIDER_ID:-whisper-gateway}" NO_REPLY_MODEL_ID="${NO_REPLY_MODEL_ID:-no-reply}" NO_REPLY_BASE_URL="${NO_REPLY_BASE_URL:-http://127.0.0.1:8787/v1}" diff --git a/scripts/package-plugin.mjs b/scripts/package-plugin.mjs index 46e6326..9e65873 100644 --- a/scripts/package-plugin.mjs +++ b/scripts/package-plugin.mjs @@ -3,7 +3,7 @@ import path from "node:path"; const root = process.cwd(); const pluginDir = path.join(root, "plugin"); -const outDir = path.join(root, "dist", "plugin"); +const outDir = path.join(root, "dist", "whispergate"); fs.rmSync(outDir, { recursive: true, force: true }); fs.mkdirSync(outDir, { recursive: true });