From 09de192b770e851f9b5810b0818972b56c62f19f Mon Sep 17 00:00:00 2001 From: Gustavo Madeira Santana Date: Wed, 18 Mar 2026 02:18:02 +0000 Subject: [PATCH] Tlon: import channel account snapshot type --- extensions/tlon/src/channel.runtime.ts | 7 ++++++- extensions/tlon/src/channel.ts | 2 +- extensions/tlon/src/config-schema.ts | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/extensions/tlon/src/channel.runtime.ts b/extensions/tlon/src/channel.runtime.ts index c6523f61739..98da82480fa 100644 --- a/extensions/tlon/src/channel.runtime.ts +++ b/extensions/tlon/src/channel.runtime.ts @@ -1,6 +1,11 @@ import crypto from "node:crypto"; import { configureClient } from "@tloncorp/api"; -import type { ChannelOutboundAdapter, ChannelPlugin, OpenClawConfig } from "../api.js"; +import type { + ChannelAccountSnapshot, + ChannelOutboundAdapter, + ChannelPlugin, + OpenClawConfig, +} from "../api.js"; import { createLoggerBackedRuntime, createReplyPrefixOptions } from "../api.js"; import { monitorTlonProvider } from "./monitor/index.js"; import { tlonSetupWizard } from "./setup-surface.js"; diff --git a/extensions/tlon/src/channel.ts b/extensions/tlon/src/channel.ts index 0e22d237589..92d22feedd5 100644 --- a/extensions/tlon/src/channel.ts +++ b/extensions/tlon/src/channel.ts @@ -1,4 +1,5 @@ import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime"; +import type { ChannelAccountSnapshot, ChannelPlugin, OpenClawConfig } from "../api.js"; import { tlonChannelConfigSchema } from "./config-schema.js"; import { applyTlonSetupConfig, @@ -13,7 +14,6 @@ import { resolveTlonOutboundTarget, } from "./targets.js"; import { resolveTlonAccount, listTlonAccountIds } from "./types.js"; -import type { ChannelAccountSnapshot, ChannelPlugin, OpenClawConfig } from "../api.js"; import { validateUrbitBaseUrl } from "./urbit/base-url.js"; const TLON_CHANNEL_ID = "tlon" as const; diff --git a/extensions/tlon/src/config-schema.ts b/extensions/tlon/src/config-schema.ts index 7f12949f30d..e7ec5ef2ecf 100644 --- a/extensions/tlon/src/config-schema.ts +++ b/extensions/tlon/src/config-schema.ts @@ -1,5 +1,5 @@ -import { buildChannelConfigSchema } from "../api.js"; import { z } from "zod"; +import { buildChannelConfigSchema } from "../api.js"; const ShipSchema = z.string().min(1); const ChannelNestSchema = z.string().min(1);