refactor(webchat): SwiftUI-only WebChat UI

# Conflicts:
#	apps/macos/Package.swift
This commit is contained in:
Peter Steinberger
2025-12-17 23:05:28 +01:00
parent ca85d217ec
commit 875cf9a054
7451 changed files with 218063 additions and 776607 deletions

View File

@@ -7,8 +7,6 @@ import {
webAuthExists,
} from "../web/session.js";
const DEFAULT_WEBCHAT_PORT = 18788;
export async function buildProviderSummary(
cfg?: ClawdisConfig,
): Promise<string[]> {
@@ -35,13 +33,6 @@ export async function buildProviderSummary(
: chalk.cyan("Telegram: not configured"),
);
if (effective.webchat?.enabled === false) {
lines.push(chalk.yellow("WebChat: disabled"));
} else {
const port = effective.webchat?.port ?? DEFAULT_WEBCHAT_PORT;
lines.push(chalk.green(`WebChat: enabled (port ${port})`));
}
const allowFrom = effective.inbound?.allowFrom?.length
? effective.inbound.allowFrom.map(normalizeE164).filter(Boolean)
: [];