refactor: trim unused acpx and line exports

This commit is contained in:
Peter Steinberger
2026-05-01 10:28:21 +01:00
parent 6387f83512
commit 4eec2843cd
2 changed files with 0 additions and 14 deletions

View File

@@ -14,15 +14,12 @@ import type {
ResolvedAcpxPluginConfig, ResolvedAcpxPluginConfig,
} from "./config-schema.js"; } from "./config-schema.js";
export { export {
ACPX_NON_INTERACTIVE_POLICIES,
ACPX_PERMISSION_MODES,
type AcpxMcpServer, type AcpxMcpServer,
type AcpxNonInteractivePermissionPolicy, type AcpxNonInteractivePermissionPolicy,
type AcpxPermissionMode, type AcpxPermissionMode,
type AcpxPluginConfig, type AcpxPluginConfig,
type McpServerConfig, type McpServerConfig,
type ResolvedAcpxPluginConfig, type ResolvedAcpxPluginConfig,
createAcpxPluginConfigSchema,
} from "./config-schema.js"; } from "./config-schema.js";
export const ACPX_PLUGIN_TOOLS_MCP_SERVER_NAME = "openclaw-plugin-tools"; export const ACPX_PLUGIN_TOOLS_MCP_SERVER_NAME = "openclaw-plugin-tools";
@@ -104,8 +101,6 @@ export function resolveAcpxPluginRoot(moduleUrl: string = import.meta.url): stri
); );
} }
export const ACPX_PLUGIN_ROOT = resolveAcpxPluginRoot();
const DEFAULT_PERMISSION_MODE: AcpxPermissionMode = "approve-reads"; const DEFAULT_PERMISSION_MODE: AcpxPermissionMode = "approve-reads";
const DEFAULT_NON_INTERACTIVE_POLICY: AcpxNonInteractivePermissionPolicy = "fail"; const DEFAULT_NON_INTERACTIVE_POLICY: AcpxNonInteractivePermissionPolicy = "fail";
const DEFAULT_QUEUE_OWNER_TTL_SECONDS = 0.1; const DEFAULT_QUEUE_OWNER_TTL_SECONDS = 0.1;

View File

@@ -1,4 +1,3 @@
import type { webhook } from "@line/bot-sdk";
import type { BaseProbeResult } from "openclaw/plugin-sdk/channel-contract"; import type { BaseProbeResult } from "openclaw/plugin-sdk/channel-contract";
export type LineTokenSource = "config" | "env" | "file" | "none"; export type LineTokenSource = "config" | "env" | "file" | "none";
@@ -54,14 +53,6 @@ export interface ResolvedLineAccount {
config: LineConfig & LineAccountConfig; config: LineConfig & LineAccountConfig;
} }
export interface LineWebhookContext {
event: webhook.Event;
replyToken?: string;
userId?: string;
groupId?: string;
roomId?: string;
}
export interface LineSendResult { export interface LineSendResult {
messageId: string; messageId: string;
chatId: string; chatId: string;