mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-02 02:57:51 +00:00
refactor: clean bundled channel bootstrap boundaries
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
export { bluebubblesPlugin } from "./src/channel.js";
|
||||
export { bluebubblesSetupPlugin } from "./src/channel.setup.js";
|
||||
export * from "./src/conversation-id.js";
|
||||
export * from "./src/conversation-bindings.js";
|
||||
export { collectBlueBubblesStatusIssues } from "./src/status-issues.js";
|
||||
|
||||
@@ -1,14 +1,16 @@
|
||||
import { defineChannelPluginEntry } from "openclaw/plugin-sdk/channel-core";
|
||||
import { bluebubblesPlugin } from "./src/channel.js";
|
||||
import { setBlueBubblesRuntime } from "./src/runtime.js";
|
||||
import { defineBundledChannelEntry } from "openclaw/plugin-sdk/channel-entry-contract";
|
||||
|
||||
export { bluebubblesPlugin } from "./src/channel.js";
|
||||
export { setBlueBubblesRuntime } from "./src/runtime.js";
|
||||
|
||||
export default defineChannelPluginEntry({
|
||||
export default defineBundledChannelEntry({
|
||||
id: "bluebubbles",
|
||||
name: "BlueBubbles",
|
||||
description: "BlueBubbles channel plugin (macOS app)",
|
||||
plugin: bluebubblesPlugin,
|
||||
setRuntime: setBlueBubblesRuntime,
|
||||
importMetaUrl: import.meta.url,
|
||||
plugin: {
|
||||
specifier: "./api.js",
|
||||
exportName: "bluebubblesPlugin",
|
||||
},
|
||||
runtime: {
|
||||
specifier: "./runtime-api.js",
|
||||
exportName: "setBlueBubblesRuntime",
|
||||
},
|
||||
});
|
||||
|
||||
@@ -2,3 +2,4 @@ export {
|
||||
resolveBlueBubblesGroupRequireMention,
|
||||
resolveBlueBubblesGroupToolPolicy,
|
||||
} from "./src/group-policy.js";
|
||||
export { setBlueBubblesRuntime } from "./src/runtime.js";
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import { defineSetupPluginEntry } from "openclaw/plugin-sdk/channel-core";
|
||||
import { bluebubblesSetupPlugin } from "./src/channel.setup.js";
|
||||
import { defineBundledChannelSetupEntry } from "openclaw/plugin-sdk/channel-entry-contract";
|
||||
|
||||
export { bluebubblesSetupPlugin } from "./src/channel.setup.js";
|
||||
|
||||
export default defineSetupPluginEntry(bluebubblesSetupPlugin);
|
||||
export default defineBundledChannelSetupEntry({
|
||||
importMetaUrl: import.meta.url,
|
||||
plugin: {
|
||||
specifier: "./api.js",
|
||||
exportName: "bluebubblesSetupPlugin",
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user