mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-21 15:01:03 +00:00
42 lines
1.8 KiB
TypeScript
42 lines
1.8 KiB
TypeScript
// Narrow plugin-sdk surface for the bundled tlon plugin.
|
|
// Keep this list additive and scoped to symbols used under extensions/tlon.
|
|
|
|
import { createOptionalChannelSetupSurface } from "./channel-setup.js";
|
|
|
|
export type { ReplyPayload } from "../auto-reply/types.js";
|
|
export { buildChannelConfigSchema } from "../channels/plugins/config-schema.js";
|
|
export {
|
|
applyAccountNameToChannelSection,
|
|
patchScopedAccountConfig,
|
|
} from "../channels/plugins/setup-helpers.js";
|
|
export type {
|
|
ChannelAccountSnapshot,
|
|
ChannelOutboundAdapter,
|
|
ChannelSetupInput,
|
|
} from "../channels/plugins/types.js";
|
|
export type { ChannelPlugin } from "../channels/plugins/types.plugin.js";
|
|
export { createChannelReplyPipeline } from "./channel-reply-pipeline.js";
|
|
export type { OpenClawConfig } from "../config/config.js";
|
|
export { createDedupeCache } from "../infra/dedupe.js";
|
|
export { fetchWithSsrFGuard } from "../infra/net/fetch-guard.js";
|
|
export type { LookupFn, SsrFPolicy } from "../infra/net/ssrf.js";
|
|
export { isBlockedHostnameOrIp, SsrFBlockedError } from "../infra/net/ssrf.js";
|
|
export { emptyPluginConfigSchema } from "../plugins/config-schema.js";
|
|
export type { PluginRuntime } from "../plugins/runtime/types.js";
|
|
export type { OpenClawPluginApi } from "../plugins/types.js";
|
|
export { DEFAULT_ACCOUNT_ID, normalizeAccountId } from "../routing/session-key.js";
|
|
export type { RuntimeEnv } from "../runtime.js";
|
|
export { formatDocsLink } from "../terminal/links.js";
|
|
export type { WizardPrompter } from "../wizard/prompts.js";
|
|
export { createLoggerBackedRuntime } from "./runtime.js";
|
|
|
|
const tlonSetup = createOptionalChannelSetupSurface({
|
|
channel: "tlon",
|
|
label: "Tlon",
|
|
npmSpec: "@openclaw/tlon",
|
|
docsPath: "/channels/tlon",
|
|
});
|
|
|
|
export const tlonSetupAdapter = tlonSetup.setupAdapter;
|
|
export const tlonSetupWizard = tlonSetup.setupWizard;
|