feat(dev): add no-touch OpenClaw config renderer and integration guide

This commit is contained in:
2026-02-25 13:47:00 +00:00
parent b99ec7c281
commit 1acaebf73f
3 changed files with 66 additions and 1 deletions

View File

@@ -0,0 +1,25 @@
const pluginPath = process.argv[2] || "/opt/WhisperGate/plugin";
const provider = process.argv[3] || "openai";
const model = process.argv[4] || "whispergate-no-reply-v1";
const bypass = (process.argv[5] || "").split(",").filter(Boolean);
const payload = {
plugins: {
load: { paths: [pluginPath] },
entries: {
whispergate: {
enabled: true,
config: {
enabled: true,
discordOnly: true,
bypassUserIds: bypass,
endSymbols: ["。", "", "", ".", "!", "?"],
noReplyProvider: provider,
noReplyModel: model,
},
},
},
},
};
console.log(JSON.stringify(payload, null, 2));