@hanzo/bot 2026.2.9 → 2026.2.10
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/dist/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/plugin-sdk/index.js +7 -7
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/google-antigravity-auth/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/lobster/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +6 -0
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +6 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +6 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +6 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +6 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +6 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +6 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
5bbcd01051178dccaefb1fd2ed45c10b9a79c278140247694b44b94956dca4d0
|
package/dist/plugin-sdk/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import path from "node:path";
|
|
|
5
5
|
import fs, { createWriteStream, existsSync, readFileSync, statSync } from "node:fs";
|
|
6
6
|
import os, { homedir } from "node:os";
|
|
7
7
|
import { Logger } from "tslog";
|
|
8
|
-
import
|
|
8
|
+
import json5 from "json5";
|
|
9
9
|
import chalk, { Chalk } from "chalk";
|
|
10
10
|
import fs$1 from "node:fs/promises";
|
|
11
11
|
import { execFile, execFileSync, spawn } from "node:child_process";
|
|
@@ -2420,7 +2420,7 @@ function readLoggingConfig() {
|
|
|
2420
2420
|
try {
|
|
2421
2421
|
if (!fs.existsSync(configPath)) return;
|
|
2422
2422
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
2423
|
-
const logging =
|
|
2423
|
+
const logging = json5.parse(raw)?.logging;
|
|
2424
2424
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
2425
2425
|
return logging;
|
|
2426
2426
|
} catch {
|
|
@@ -8726,7 +8726,7 @@ var IncludeProcessor = class IncludeProcessor {
|
|
|
8726
8726
|
};
|
|
8727
8727
|
const defaultResolver = {
|
|
8728
8728
|
readFile: (p) => fs.readFileSync(p, "utf-8"),
|
|
8729
|
-
parseJson: (raw) =>
|
|
8729
|
+
parseJson: (raw) => json5.parse(raw)
|
|
8730
8730
|
};
|
|
8731
8731
|
/**
|
|
8732
8732
|
* Resolves all $include directives in a parsed config object.
|
|
@@ -11445,7 +11445,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
11445
11445
|
function normalizeDeps(overrides = {}) {
|
|
11446
11446
|
return {
|
|
11447
11447
|
fs: overrides.fs ?? fs,
|
|
11448
|
-
json5: overrides.json5 ??
|
|
11448
|
+
json5: overrides.json5 ?? json5,
|
|
11449
11449
|
env: overrides.env ?? process.env,
|
|
11450
11450
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
11451
11451
|
configPath: overrides.configPath ?? "",
|
|
@@ -11456,11 +11456,11 @@ function maybeLoadDotEnvForConfig(env) {
|
|
|
11456
11456
|
if (env !== process.env) return;
|
|
11457
11457
|
loadDotEnv({ quiet: true });
|
|
11458
11458
|
}
|
|
11459
|
-
function parseConfigJson5(raw, json5 =
|
|
11459
|
+
function parseConfigJson5(raw, json5$1 = json5) {
|
|
11460
11460
|
try {
|
|
11461
11461
|
return {
|
|
11462
11462
|
ok: true,
|
|
11463
|
-
parsed: json5.parse(raw)
|
|
11463
|
+
parsed: json5$1.parse(raw)
|
|
11464
11464
|
};
|
|
11465
11465
|
} catch (err) {
|
|
11466
11466
|
return {
|
|
@@ -11974,7 +11974,7 @@ function loadSessionStore(storePath, opts = {}) {
|
|
|
11974
11974
|
let mtimeMs = getFileMtimeMs(storePath);
|
|
11975
11975
|
try {
|
|
11976
11976
|
const raw = fs.readFileSync(storePath, "utf-8");
|
|
11977
|
-
const parsed =
|
|
11977
|
+
const parsed = json5.parse(raw);
|
|
11978
11978
|
if (isSessionStoreRecord(parsed)) store = parsed;
|
|
11979
11979
|
mtimeMs = getFileMtimeMs(storePath) ?? mtimeMs;
|
|
11980
11980
|
} catch {}
|