mirror of
http://192.168.0.88:13333/lywsvip/openclaw-zero-token.git
synced 2026-06-19 19:57:31 +08:00
Major upgrade from e26988a38 to upstream v2026.3.28 (f9b107928).
Key changes:
- Upstream src/, ui/, extensions/ (89 bundled extensions)
- Zero-token web providers preserved in src/zero-token/
- AskOnce plugin restored and registered as CLI command
- Added missing packages: @anthropic-ai/vertex-sdk, @modelcontextprotocol/sdk
- Fixed tsconfig rootDir, skipLibCheck for plugin-sdk DTS build
- Added askonce to bundled plugin metadata and package.json exports
- Fixed AskOnce CLI command registration (missing commands metadata)
- Restored AskOnce adapter imports (correct 5-level relative paths)
- Removed stale migration artifacts from root directory
47 lines
1.8 KiB
TypeScript
47 lines
1.8 KiB
TypeScript
// Private helper surface for the bundled twitch plugin.
|
|
// Keep this list additive and scoped to symbols used under extensions/twitch.
|
|
|
|
import { createOptionalChannelSetupSurface } from "./channel-setup.js";
|
|
|
|
export type { ReplyPayload } from "../auto-reply/types.js";
|
|
export { buildChannelConfigSchema } from "../channels/plugins/config-schema.js";
|
|
export type {
|
|
ChannelGatewayContext,
|
|
ChannelOutboundAdapter,
|
|
ChannelOutboundContext,
|
|
ChannelResolveKind,
|
|
ChannelResolveResult,
|
|
ChannelStatusAdapter,
|
|
} from "../channels/plugins/types.adapters.js";
|
|
export type {
|
|
BaseProbeResult,
|
|
ChannelAccountSnapshot,
|
|
ChannelCapabilities,
|
|
ChannelLogSink,
|
|
ChannelMessageActionAdapter,
|
|
ChannelMessageActionContext,
|
|
ChannelMeta,
|
|
ChannelStatusIssue,
|
|
} 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 { MarkdownConfigSchema } from "../config/zod-schema.core.js";
|
|
export type { OutboundDeliveryResult } from "../infra/outbound/deliver.js";
|
|
export { DEFAULT_ACCOUNT_ID, normalizeAccountId } from "./account-id.js";
|
|
export { emptyPluginConfigSchema } from "../plugins/config-schema.js";
|
|
export type { PluginRuntime } from "../plugins/runtime/types.js";
|
|
export type { OpenClawPluginApi } from "../plugins/types.js";
|
|
export type { RuntimeEnv } from "../runtime.js";
|
|
export { formatDocsLink } from "../terminal/links.js";
|
|
export type { WizardPrompter } from "../wizard/prompts.js";
|
|
|
|
const twitchSetup = createOptionalChannelSetupSurface({
|
|
channel: "twitch",
|
|
label: "Twitch",
|
|
npmSpec: "@openclaw/twitch",
|
|
});
|
|
|
|
export const twitchSetupAdapter = twitchSetup.setupAdapter;
|
|
export const twitchSetupWizard = twitchSetup.setupWizard;
|