Plugin SDK: use public slack subpath
This commit is contained in:
parent
e64cc1983f
commit
f187e8bac4
@ -1,8 +1,8 @@
|
||||
import { inspectSlackAccount as inspectSlackAccountImpl } from "../plugin-sdk/slack.js";
|
||||
import { inspectSlackAccount as inspectSlackAccountImpl } from "openclaw/plugin-sdk/slack";
|
||||
|
||||
export type { InspectedSlackAccount } from "../plugin-sdk/slack.js";
|
||||
export type { InspectedSlackAccount } from "openclaw/plugin-sdk/slack";
|
||||
|
||||
type InspectSlackAccount = typeof import("../plugin-sdk/slack.js").inspectSlackAccount;
|
||||
type InspectSlackAccount = typeof import("openclaw/plugin-sdk/slack").inspectSlackAccount;
|
||||
|
||||
export function inspectSlackAccount(
|
||||
...args: Parameters<InspectSlackAccount>
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import { sendMessageSlack as sendMessageSlackImpl } from "../../plugin-sdk/slack.js";
|
||||
import { sendMessageSlack as sendMessageSlackImpl } from "openclaw/plugin-sdk/slack";
|
||||
|
||||
type RuntimeSend = {
|
||||
sendMessage: typeof import("../../plugin-sdk/slack.js").sendMessageSlack;
|
||||
sendMessage: typeof import("openclaw/plugin-sdk/slack").sendMessageSlack;
|
||||
};
|
||||
|
||||
export const runtimeSend = {
|
||||
|
||||
@ -7,13 +7,13 @@ import {
|
||||
} from "node:http";
|
||||
import { createServer as createHttpsServer } from "node:https";
|
||||
import type { TlsOptions } from "node:tls";
|
||||
import { handleSlackHttpRequest } from "openclaw/plugin-sdk/slack";
|
||||
import type { WebSocketServer } from "ws";
|
||||
import { resolveAgentAvatar } from "../agents/identity-avatar.js";
|
||||
import { CANVAS_WS_PATH, handleA2uiHttpRequest } from "../canvas-host/a2ui.js";
|
||||
import type { CanvasHostHandler } from "../canvas-host/server.js";
|
||||
import { loadConfig } from "../config/config.js";
|
||||
import type { createSubsystemLogger } from "../logging/subsystem.js";
|
||||
import { handleSlackHttpRequest } from "../plugin-sdk/slack.js";
|
||||
import { safeEqualSecret } from "../security/secret-equal.js";
|
||||
import {
|
||||
AUTH_RATE_LIMIT_SCOPE_HOOK_AUTH,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user