fix(boundary): align channel gateway context types

This commit is contained in:
Peter Steinberger
2026-04-07 14:22:14 +01:00
parent 1409d5a160
commit 83d08440dc
2 changed files with 8 additions and 4 deletions

View File

@@ -1,10 +1,12 @@
import { createLazyRuntimeNamedExport } from "openclaw/plugin-sdk/lazy-runtime";
import type { ChannelAccountSnapshot } from "openclaw/plugin-sdk/status-helpers";
import {
createAccountStatusSink,
runPassiveAccountLifecycle,
type OpenClawConfig,
type ResolvedGoogleChatAccount,
} from "./channel.deps.runtime.js";
import type { GoogleChatRuntimeEnv } from "./monitor-types.js";
const loadGoogleChatChannelRuntime = createLazyRuntimeNamedExport(
() => import("./channel.runtime.js"),
@@ -14,9 +16,9 @@ const loadGoogleChatChannelRuntime = createLazyRuntimeNamedExport(
export async function startGoogleChatGatewayAccount(ctx: {
account: ResolvedGoogleChatAccount;
cfg: OpenClawConfig;
runtime: unknown;
runtime: GoogleChatRuntimeEnv;
abortSignal: AbortSignal;
setStatus: (patch: Record<string, unknown>) => void;
setStatus: (next: ChannelAccountSnapshot) => void;
log?: {
info?: (message: string) => void;
};