mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-05 20:30:21 +00:00
Revert "feat: add Linq channel — real iMessage via API, no Mac required"
This reverts commit d4a142fd8f.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { createRequire } from "node:module";
|
||||
import type { PluginRuntime } from "./types.js";
|
||||
import { resolveEffectiveMessagesConfig, resolveHumanDelayConfig } from "../../agents/identity.js";
|
||||
import { createMemoryGetTool, createMemorySearchTool } from "../../agents/tools/memory-tool.js";
|
||||
import { handleSlackAction } from "../../agents/tools/slack-actions.js";
|
||||
@@ -91,14 +92,6 @@ import {
|
||||
sendMessageLine,
|
||||
} from "../../line/send.js";
|
||||
import { buildTemplateMessageFromPayload } from "../../line/template-messages.js";
|
||||
import {
|
||||
listLinqAccountIds,
|
||||
resolveDefaultLinqAccountId,
|
||||
resolveLinqAccount,
|
||||
} from "../../linq/accounts.js";
|
||||
import { monitorLinqProvider } from "../../linq/monitor.js";
|
||||
import { probeLinq } from "../../linq/probe.js";
|
||||
import { sendMessageLinq } from "../../linq/send.js";
|
||||
import { getChildLogger } from "../../logging.js";
|
||||
import { normalizeLogLevel } from "../../logging/levels.js";
|
||||
import { convertMarkdownTables } from "../../markdown/tables.js";
|
||||
@@ -146,7 +139,6 @@ import {
|
||||
} from "../../web/auth-store.js";
|
||||
import { loadWebMedia } from "../../web/media.js";
|
||||
import { formatNativeDependencyHint } from "./native-deps.js";
|
||||
import type { PluginRuntime } from "./types.js";
|
||||
|
||||
let cachedVersion: string | null = null;
|
||||
|
||||
@@ -386,14 +378,6 @@ export function createPluginRuntime(): PluginRuntime {
|
||||
probeIMessage,
|
||||
sendMessageIMessage,
|
||||
},
|
||||
linq: {
|
||||
sendMessageLinq,
|
||||
probeLinq,
|
||||
monitorLinqProvider,
|
||||
listLinqAccountIds,
|
||||
resolveDefaultLinqAccountId,
|
||||
resolveLinqAccount,
|
||||
},
|
||||
whatsapp: {
|
||||
getActiveWebListener,
|
||||
getWebAuthAgeMs,
|
||||
|
||||
@@ -132,15 +132,6 @@ type SignalMessageActions =
|
||||
type MonitorIMessageProvider = typeof import("../../imessage/monitor.js").monitorIMessageProvider;
|
||||
type ProbeIMessage = typeof import("../../imessage/probe.js").probeIMessage;
|
||||
type SendMessageIMessage = typeof import("../../imessage/send.js").sendMessageIMessage;
|
||||
|
||||
// Linq channel types
|
||||
type SendMessageLinq = typeof import("../../linq/send.js").sendMessageLinq;
|
||||
type ProbeLinq = typeof import("../../linq/probe.js").probeLinq;
|
||||
type MonitorLinqProvider = typeof import("../../linq/monitor.js").monitorLinqProvider;
|
||||
type ListLinqAccountIds = typeof import("../../linq/accounts.js").listLinqAccountIds;
|
||||
type ResolveDefaultLinqAccountId =
|
||||
typeof import("../../linq/accounts.js").resolveDefaultLinqAccountId;
|
||||
type ResolveLinqAccount = typeof import("../../linq/accounts.js").resolveLinqAccount;
|
||||
type GetActiveWebListener = typeof import("../../web/active-listener.js").getActiveWebListener;
|
||||
type GetWebAuthAgeMs = typeof import("../../web/auth-store.js").getWebAuthAgeMs;
|
||||
type LogoutWeb = typeof import("../../web/auth-store.js").logoutWeb;
|
||||
@@ -326,14 +317,6 @@ export type PluginRuntime = {
|
||||
probeIMessage: ProbeIMessage;
|
||||
sendMessageIMessage: SendMessageIMessage;
|
||||
};
|
||||
linq: {
|
||||
sendMessageLinq: SendMessageLinq;
|
||||
probeLinq: ProbeLinq;
|
||||
monitorLinqProvider: MonitorLinqProvider;
|
||||
listLinqAccountIds: ListLinqAccountIds;
|
||||
resolveDefaultLinqAccountId: ResolveDefaultLinqAccountId;
|
||||
resolveLinqAccount: ResolveLinqAccount;
|
||||
};
|
||||
whatsapp: {
|
||||
getActiveWebListener: GetActiveWebListener;
|
||||
getWebAuthAgeMs: GetWebAuthAgeMs;
|
||||
|
||||
Reference in New Issue
Block a user