mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-22 07:20:59 +00:00
refactor: route iMessage runtime through plugin sdk (#51770)
This commit is contained in:
@@ -2,7 +2,7 @@ import {
|
||||
monitorIMessageProvider,
|
||||
probeIMessage,
|
||||
sendMessageIMessage,
|
||||
} from "../../../extensions/imessage/runtime-api.js";
|
||||
} from "../../plugin-sdk/imessage.js";
|
||||
import type { PluginRuntimeChannel } from "./types-channel.js";
|
||||
|
||||
export function createRuntimeIMessage(): PluginRuntimeChannel["imessage"] {
|
||||
|
||||
@@ -1,12 +1,4 @@
|
||||
[
|
||||
{
|
||||
"file": "src/plugins/runtime/runtime-imessage.ts",
|
||||
"line": 5,
|
||||
"kind": "import",
|
||||
"specifier": "../../../extensions/imessage/runtime-api.js",
|
||||
"resolvedPath": "extensions/imessage/runtime-api.js",
|
||||
"reason": "imports extension-owned file from src/plugins"
|
||||
},
|
||||
{
|
||||
"file": "src/plugins/runtime/runtime-telegram-ops.runtime.ts",
|
||||
"line": 5,
|
||||
|
||||
Reference in New Issue
Block a user