- Task 1: Identity prompt now includes Discord userId
- Task 2: Added configurable schedulingIdentifier (default: ➡️)
- Task 3: Moderator handoff uses <@userId>+identifier instead of semantic messages
- Task 4: All prompts/comments/help text converted to English
- Task 5: Full project rename WhisperGate → Dirigent across all files
Breaking: config key changed from plugins.entries.whispergate to plugins.entries.dirigent
Breaking: channel policies file renamed to dirigent-channel-policies.json
Breaking: tool name changed from whispergate_tools to dirigent_tools
26 lines
671 B
JavaScript
26 lines
671 B
JavaScript
const pluginPath = process.argv[2] || "/opt/Dirigent/plugin";
|
||
const provider = process.argv[3] || "openai";
|
||
const model = process.argv[4] || "dirigent-no-reply-v1";
|
||
const bypass = (process.argv[5] || "").split(",").filter(Boolean);
|
||
|
||
const payload = {
|
||
plugins: {
|
||
load: { paths: [pluginPath] },
|
||
entries: {
|
||
dirigent: {
|
||
enabled: true,
|
||
config: {
|
||
enabled: true,
|
||
discordOnly: true,
|
||
bypassUserIds: bypass,
|
||
endSymbols: ["。", "!", "?", ".", "!", "?"],
|
||
noReplyProvider: provider,
|
||
noReplyModel: model,
|
||
},
|
||
},
|
||
},
|
||
},
|
||
};
|
||
|
||
console.log(JSON.stringify(payload, null, 2));
|