mirror of
http://192.168.0.88:13333/lywsvip/openclaw-zero-token.git
synced 2026-05-07 15:50:59 +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
56 lines
2.1 KiB
TypeScript
56 lines
2.1 KiB
TypeScript
// Shared agent/reply runtime helpers for channel plugins. Keep channel plugins
|
|
// off direct src/auto-reply imports by routing common reply primitives here.
|
|
|
|
export {
|
|
chunkMarkdownText,
|
|
chunkMarkdownTextWithMode,
|
|
chunkText,
|
|
chunkTextWithMode,
|
|
resolveChunkMode,
|
|
resolveTextChunkLimit,
|
|
} from "../auto-reply/chunk.js";
|
|
export type { ChunkMode } from "../auto-reply/chunk.js";
|
|
export {
|
|
dispatchInboundMessage,
|
|
dispatchInboundMessageWithBufferedDispatcher,
|
|
dispatchInboundMessageWithDispatcher,
|
|
} from "../auto-reply/dispatch.js";
|
|
export {
|
|
normalizeGroupActivation,
|
|
parseActivationCommand,
|
|
} from "../auto-reply/group-activation.js";
|
|
export {
|
|
HEARTBEAT_PROMPT,
|
|
DEFAULT_HEARTBEAT_ACK_MAX_CHARS,
|
|
resolveHeartbeatPrompt,
|
|
stripHeartbeatToken,
|
|
} from "../auto-reply/heartbeat.js";
|
|
export { resolveHeartbeatReplyPayload } from "../auto-reply/heartbeat-reply-payload.js";
|
|
export { getReplyFromConfig } from "../auto-reply/reply.js";
|
|
export { HEARTBEAT_TOKEN, isSilentReplyText, SILENT_REPLY_TOKEN } from "../auto-reply/tokens.js";
|
|
export { isAbortRequestText } from "../auto-reply/reply/abort.js";
|
|
export { isBtwRequestText } from "../auto-reply/reply/btw-command.js";
|
|
export { resetInboundDedupe } from "../auto-reply/reply/inbound-dedupe.js";
|
|
export { finalizeInboundContext } from "../auto-reply/reply/inbound-context.js";
|
|
export {
|
|
dispatchReplyWithBufferedBlockDispatcher,
|
|
dispatchReplyWithDispatcher,
|
|
} from "../auto-reply/reply/provider-dispatcher.js";
|
|
export {
|
|
createReplyDispatcher,
|
|
createReplyDispatcherWithTyping,
|
|
} from "../auto-reply/reply/reply-dispatcher.js";
|
|
export type {
|
|
ReplyDispatcher,
|
|
ReplyDispatcherOptions,
|
|
ReplyDispatcherWithTypingOptions,
|
|
} from "../auto-reply/reply/reply-dispatcher.js";
|
|
export { createReplyReferencePlanner } from "../auto-reply/reply/reply-reference.js";
|
|
export type { GetReplyOptions, ReplyPayload } from "../auto-reply/types.js";
|
|
export type { FinalizedMsgContext, MsgContext } from "../auto-reply/templating.js";
|
|
export {
|
|
resolveAutoTopicLabelConfig,
|
|
generateTopicLabel,
|
|
} from "../auto-reply/reply/auto-topic-label.js";
|
|
export type { AutoTopicLabelParams } from "../auto-reply/reply/auto-topic-label.js";
|