refactor!: rename chat providers to channels
This commit is contained in:
@@ -6,7 +6,7 @@ import type { Command } from "commander";
|
||||
import { resolveDefaultAgentWorkspaceDir } from "../agents/workspace.js";
|
||||
import { gatewayStatusCommand } from "../commands/gateway-status.js";
|
||||
import {
|
||||
formatHealthProviderLines,
|
||||
formatHealthChannelLines,
|
||||
type HealthSummary,
|
||||
} from "../commands/health.js";
|
||||
import { handleReset } from "../commands/onboard-helpers.js";
|
||||
@@ -47,7 +47,7 @@ import { colorize, isRich, theme } from "../terminal/theme.js";
|
||||
import {
|
||||
GATEWAY_CLIENT_MODES,
|
||||
GATEWAY_CLIENT_NAMES,
|
||||
} from "../utils/message-provider.js";
|
||||
} from "../utils/message-channel.js";
|
||||
import { resolveUserPath } from "../utils.js";
|
||||
import { forceFreePortAndWait } from "./ports.js";
|
||||
import { withProgress } from "./progress.js";
|
||||
@@ -958,10 +958,8 @@ export function registerGatewayCli(program: Command) {
|
||||
durationMs != null ? ` (${durationMs}ms)` : ""
|
||||
}`,
|
||||
);
|
||||
if (obj.providers && typeof obj.providers === "object") {
|
||||
for (const line of formatHealthProviderLines(
|
||||
obj as HealthSummary,
|
||||
)) {
|
||||
if (obj.channels && typeof obj.channels === "object") {
|
||||
for (const line of formatHealthChannelLines(obj as HealthSummary)) {
|
||||
defaultRuntime.log(line);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user