mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 19:31:00 +00:00
fix(boundary): align channel gateway context types
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user