fix: restore tsc build and plugin install tests

This commit is contained in:
Peter Steinberger
2026-01-31 07:51:26 +00:00
parent c4feb7a457
commit a42e1c82d9
26 changed files with 90 additions and 86 deletions

View File

@@ -268,7 +268,7 @@ export async function channelsStatusCommand(
runtime.log(JSON.stringify(payload, null, 2));
return;
}
runtime.log(formatGatewayChannelsStatusLines(payload as Record<string, unknown>).join("\n"));
runtime.log(formatGatewayChannelsStatusLines(payload).join("\n"));
} catch (err) {
runtime.error(`Gateway not reachable: ${String(err)}`);
const cfg = await requireValidConfig(runtime);

View File

@@ -30,7 +30,7 @@ export async function checkGatewayHealth(params: {
if (healthOk) {
try {
const status = await callGateway<Record<string, unknown>>({
const status = await callGateway({
method: "channels.status",
params: { probe: true, timeoutMs: 5000 },
timeoutMs: 6000,

View File

@@ -230,7 +230,7 @@ export async function statusAllCommand(
: { error: gatewayProbe?.error ?? "gateway unreachable" };
const channelsStatus = gatewayReachable
? await callGateway<Record<string, unknown>>({
? await callGateway({
method: "channels.status",
params: { probe: false, timeoutMs: opts?.timeoutMs ?? 10_000 },
timeoutMs: Math.min(8000, opts?.timeoutMs ?? 10_000),

View File

@@ -127,7 +127,7 @@ export async function scanStatus(
progress.setLabel("Querying channel status…");
const channelsStatus = gatewayReachable
? await callGateway<Record<string, unknown>>({
? await callGateway({
method: "channels.status",
params: {
probe: false,