feat: add Z.AI env support and live test

This commit is contained in:
Peter Steinberger
2025-12-31 11:36:57 +01:00
parent 4bdc25d072
commit 21237dae98
6 changed files with 83 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ import {
saveSessionStore,
} from "./config/sessions.js";
import { ensureBinary } from "./infra/binaries.js";
import { normalizeEnv } from "./infra/env.js";
import { isMainModule } from "./infra/is-main.js";
import { ensureClawdisCliOnPath } from "./infra/path-env.js";
import {
@@ -32,6 +33,7 @@ import { monitorWebProvider } from "./provider-web.js";
import { assertProvider, normalizeE164, toWhatsappJid } from "./utils.js";
dotenv.config({ quiet: true });
normalizeEnv();
ensureClawdisCliOnPath();
// Capture all console output into structured logs while keeping stdout/stderr behavior.