docs(plugin-sdk): mark compatibility facades deprecated · openclaw/openclaw@a7c3755
vincentkoc
·
2026-04-29
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | /** |
2 | | - * Deprecated bundled-channel compatibility surface. |
| 2 | + * @deprecated Compatibility surface for bundled channel schemas. |
3 | 3 | * |
4 | 4 | * OpenClaw-maintained bundled plugins should import |
5 | 5 | * openclaw/plugin-sdk/bundled-channel-config-schema. Third-party plugins should |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -12,6 +12,10 @@ import {
|
12 | 12 | } from "./facade-loader.js"; |
13 | 13 | import { getRuntimeConfig, getRuntimeConfigSnapshot } from "./runtime-config-snapshot.js"; |
14 | 14 | |
| 15 | +/** |
| 16 | + * @deprecated Compatibility facade for the `openclaw/plugin-sdk/discord` subpath. |
| 17 | + * New channel plugins should use generic channel SDK subpaths. |
| 18 | + */ |
15 | 19 | export type { ChannelMessageActionAdapter, ChannelMessageActionName } from "./channel-contract.js"; |
16 | 20 | export type { ChannelPlugin } from "./channel-core.js"; |
17 | 21 | export type { OpenClawConfig } from "./config-types.js"; |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | import type { OpenClawConfig } from "./config-types.js"; |
2 | 2 | import { loadBundledPluginPublicSurfaceModuleSync } from "./facade-loader.js"; |
3 | 3 | |
| 4 | +/** |
| 5 | + * @deprecated Compatibility type for the `openclaw/plugin-sdk/telegram-account` facade. |
| 6 | + * New channel plugins should prefer injected runtime helpers and generic SDK subpaths. |
| 7 | + */ |
4 | 8 | export type TelegramAccountConfig = NonNullable< |
5 | 9 | NonNullable<OpenClawConfig["channels"]>["telegram"] |
6 | 10 | >; |
7 | 11 | |
| 12 | +/** |
| 13 | + * @deprecated Compatibility type for the `openclaw/plugin-sdk/telegram-account` facade. |
| 14 | + * New channel plugins should prefer injected runtime helpers and generic SDK subpaths. |
| 15 | + */ |
8 | 16 | export type ResolvedTelegramAccount = { |
9 | 17 | accountId: string; |
10 | 18 | enabled: boolean; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。