refactor(installer): rename to install.mjs, remove record/restore flow, add --no-reply-port and wire config port
This commit is contained in:
@@ -58,6 +58,7 @@ export default {
|
||||
enableDirigentPolicyTool: true,
|
||||
schedulingIdentifier: "➡️",
|
||||
waitIdentifier: "👤",
|
||||
noReplyPort: 8787,
|
||||
...(api.pluginConfig || {}),
|
||||
} as DirigentConfig & {
|
||||
enableDiscordControlTool: boolean;
|
||||
@@ -89,7 +90,7 @@ export default {
|
||||
api.logger.warn(`dirigent: cannot read parent dir: ${String(e)}`);
|
||||
}
|
||||
|
||||
startNoReplyApi(api.logger, pluginDir);
|
||||
startNoReplyApi(api.logger, pluginDir, Number(live.noReplyPort || 8787));
|
||||
|
||||
const live = getLivePluginConfig(api, baseConfig as DirigentConfig);
|
||||
api.logger.info(`dirigent: config loaded, moderatorBotToken=${live.moderatorBotToken ? "[set]" : "[not set]"}`);
|
||||
|
||||
Reference in New Issue
Block a user