From c0e482f4bd60ec693e87c574d3dc953d6507dd76 Mon Sep 17 00:00:00 2001 From: scoootscooob <167050519+scoootscooob@users.noreply.github.com> Date: Sat, 21 Mar 2026 10:21:20 -0700 Subject: [PATCH] refactor: route iMessage runtime through plugin sdk (#51770) --- src/plugins/runtime/runtime-imessage.ts | 2 +- .../plugin-extension-import-boundary-inventory.json | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/src/plugins/runtime/runtime-imessage.ts b/src/plugins/runtime/runtime-imessage.ts index 56136197626..13fb1e2fd29 100644 --- a/src/plugins/runtime/runtime-imessage.ts +++ b/src/plugins/runtime/runtime-imessage.ts @@ -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"] { diff --git a/test/fixtures/plugin-extension-import-boundary-inventory.json b/test/fixtures/plugin-extension-import-boundary-inventory.json index c849a1b1e40..3472bf7d252 100644 --- a/test/fixtures/plugin-extension-import-boundary-inventory.json +++ b/test/fixtures/plugin-extension-import-boundary-inventory.json @@ -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,