Tlon: import channel account snapshot type

This commit is contained in:
Gustavo Madeira Santana 2026-03-18 02:18:02 +00:00
parent 8e98019b6a
commit 09de192b77
No known key found for this signature in database
3 changed files with 8 additions and 3 deletions

View File

@ -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";

View File

@ -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;

View File

@ -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);