mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-10 19:43:19 +08:00
重构主控编排与运行时预热链路,统一工作区提示词/专家调度协议并补齐 wiki 记忆注入与写回闭环。
同时收敛启动与运维脚本默认行为(含 wiki worker)、更新 Admin 可观测性与相关测试,降低首轮时延并提高运行稳定性。 Made-with: Cursor
This commit is contained in:
parent
4a23b715a2
commit
dbbe3add6a
14438 changed files with 2693620 additions and 2546 deletions
128
openclaw/extensions/line/runtime-api.ts
Normal file
128
openclaw/extensions/line/runtime-api.ts
Normal file
|
|
@ -0,0 +1,128 @@
|
|||
// Private runtime barrel for the bundled LINE extension.
|
||||
// Keep this barrel thin and aligned with the local extension surface.
|
||||
|
||||
export type {
|
||||
ChannelAccountSnapshot,
|
||||
ChannelPlugin,
|
||||
OpenClawConfig,
|
||||
OpenClawPluginApi,
|
||||
PluginRuntime,
|
||||
} from "openclaw/plugin-sdk/core";
|
||||
export type {
|
||||
ChannelGatewayContext,
|
||||
ChannelStatusIssue,
|
||||
} from "openclaw/plugin-sdk/channel-contract";
|
||||
export { clearAccountEntryFields } from "openclaw/plugin-sdk/core";
|
||||
export { buildChannelConfigSchema } from "openclaw/plugin-sdk/channel-config-schema";
|
||||
export type { ReplyPayload } from "openclaw/plugin-sdk/reply-runtime";
|
||||
export type { ChannelSetupDmPolicy, ChannelSetupWizard } from "openclaw/plugin-sdk/setup";
|
||||
export {
|
||||
buildComputedAccountStatusSnapshot,
|
||||
buildTokenChannelStatusSummary,
|
||||
} from "openclaw/plugin-sdk/status-helpers";
|
||||
export {
|
||||
DEFAULT_ACCOUNT_ID,
|
||||
formatDocsLink,
|
||||
setSetupChannelEnabled,
|
||||
splitSetupEntries,
|
||||
} from "openclaw/plugin-sdk/setup";
|
||||
export { setLineRuntime } from "./src/runtime.js";
|
||||
export {
|
||||
firstDefined,
|
||||
isSenderAllowed,
|
||||
normalizeAllowFrom,
|
||||
normalizeDmAllowFromWithStore,
|
||||
} from "./src/bot-access.js";
|
||||
export { downloadLineMedia } from "./src/download.js";
|
||||
export { probeLineBot } from "./src/probe.js";
|
||||
export { buildTemplateMessageFromPayload } from "./src/template-messages.js";
|
||||
export {
|
||||
createQuickReplyItems,
|
||||
pushFlexMessage,
|
||||
pushLocationMessage,
|
||||
pushMessageLine,
|
||||
pushMessagesLine,
|
||||
pushTemplateMessage,
|
||||
pushTextMessageWithQuickReplies,
|
||||
sendMessageLine,
|
||||
} from "./src/send.js";
|
||||
export { monitorLineProvider } from "./src/monitor.js";
|
||||
export { hasLineDirectives, parseLineDirectives } from "./src/reply-payload-transform.js";
|
||||
|
||||
export * from "./src/accounts.js";
|
||||
export * from "./src/bot-access.js";
|
||||
export * from "./src/channel-access-token.js";
|
||||
export * from "./src/config-schema.js";
|
||||
export * from "./src/download.js";
|
||||
export * from "./src/group-keys.js";
|
||||
export * from "./src/markdown-to-line.js";
|
||||
export * from "./src/probe.js";
|
||||
export * from "./src/reply-payload-transform.js";
|
||||
export * from "./src/send.js";
|
||||
export * from "./src/signature.js";
|
||||
export * from "./src/template-messages.js";
|
||||
export type {
|
||||
LineChannelData,
|
||||
LineConfig,
|
||||
LineProbeResult,
|
||||
ResolvedLineAccount,
|
||||
} from "./src/types.js";
|
||||
export * from "./src/webhook-node.js";
|
||||
export * from "./src/webhook.js";
|
||||
export * from "./src/webhook-utils.js";
|
||||
export { datetimePickerAction, messageAction, postbackAction, uriAction } from "./src/actions.js";
|
||||
export type { Action } from "./src/actions.js";
|
||||
export {
|
||||
createActionCard,
|
||||
createAgendaCard,
|
||||
createAppleTvRemoteCard,
|
||||
createCarousel,
|
||||
createDeviceControlCard,
|
||||
createEventCard,
|
||||
createImageCard,
|
||||
createInfoCard,
|
||||
createListCard,
|
||||
createMediaPlayerCard,
|
||||
createNotificationBubble,
|
||||
createReceiptCard,
|
||||
toFlexMessage,
|
||||
} from "./src/flex-templates.js";
|
||||
export type {
|
||||
CardAction,
|
||||
FlexBox,
|
||||
FlexBubble,
|
||||
FlexButton,
|
||||
FlexCarousel,
|
||||
FlexComponent,
|
||||
FlexContainer,
|
||||
FlexImage,
|
||||
FlexText,
|
||||
ListItem,
|
||||
} from "./src/flex-templates.js";
|
||||
export {
|
||||
cancelDefaultRichMenu,
|
||||
createDefaultMenuConfig,
|
||||
createGridLayout,
|
||||
createRichMenu,
|
||||
createRichMenuAlias,
|
||||
deleteRichMenu,
|
||||
deleteRichMenuAlias,
|
||||
getDefaultRichMenuId,
|
||||
getRichMenu,
|
||||
getRichMenuIdOfUser,
|
||||
getRichMenuList,
|
||||
linkRichMenuToUser,
|
||||
linkRichMenuToUsers,
|
||||
setDefaultRichMenu,
|
||||
unlinkRichMenuFromUser,
|
||||
unlinkRichMenuFromUsers,
|
||||
uploadRichMenuImage,
|
||||
} from "./src/rich-menu.js";
|
||||
export type {
|
||||
CreateRichMenuParams,
|
||||
RichMenuArea,
|
||||
RichMenuAreaRequest,
|
||||
RichMenuRequest,
|
||||
RichMenuResponse,
|
||||
RichMenuSize,
|
||||
} from "./src/rich-menu.js";
|
||||
Loading…
Add table
Add a link
Reference in a new issue