llonebot-dist 7.9.1 → 7.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/llbot.js
CHANGED
|
@@ -2145,7 +2145,6 @@ class PMHQBase {
|
|
|
2145
2145
|
onDisconnect(timeout2, callback) {
|
|
2146
2146
|
const id2 = randomUUID();
|
|
2147
2147
|
this.disconnectCallbacks.set(id2, { timeout: timeout2, callback, triggered: false });
|
|
2148
|
-
console.info(`[PMHQ] Registered disconnect callback ${id2} with timeout ${timeout2}ms`);
|
|
2149
2148
|
return id2;
|
|
2150
2149
|
}
|
|
2151
2150
|
offDisconnect(id2) {
|
|
@@ -2153,7 +2152,6 @@ class PMHQBase {
|
|
|
2153
2152
|
}
|
|
2154
2153
|
startDisconnectMonitoring() {
|
|
2155
2154
|
if (this.disconnectCheckTimer) return;
|
|
2156
|
-
console.info("[PMHQ] Starting disconnect monitoring");
|
|
2157
2155
|
this.disconnectCheckTimer = setInterval(() => {
|
|
2158
2156
|
const isConnected = this.get_is_connected();
|
|
2159
2157
|
if (isConnected) {
|
|
@@ -7208,7 +7206,7 @@ class WebUITokenUtil {
|
|
|
7208
7206
|
}
|
|
7209
7207
|
const webuiTokenUtil = new WebUITokenUtil(path__default.join(DATA_DIR, "webui_token.txt"));
|
|
7210
7208
|
const logFileName = `llbot-${(/* @__PURE__ */ new Date()).toLocaleString("zh-CN")}.log`.replace(/\//g, "-").replace(/:/g, "-");
|
|
7211
|
-
const version$3 = "7.9.
|
|
7209
|
+
const version$3 = "7.9.2";
|
|
7212
7210
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
7213
7211
|
function getDefaultExportFromCjs(x) {
|
|
7214
7212
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
@@ -84198,7 +84196,6 @@ class EmailConfigManager {
|
|
|
84198
84196
|
}
|
|
84199
84197
|
const content = await readFile(this.configPath, "utf-8");
|
|
84200
84198
|
this.config = JSON.parse(content);
|
|
84201
|
-
this.logger?.info("[EmailConfig] Configuration loaded successfully");
|
|
84202
84199
|
return this.config;
|
|
84203
84200
|
} catch (error2) {
|
|
84204
84201
|
this.logger?.error("[EmailConfig] Failed to load configuration:", error2);
|