Skip to content

Commit 4eec284

Browse files
committed
refactor: trim unused acpx and line exports
1 parent 6387f83 commit 4eec284

2 files changed

Lines changed: 0 additions & 14 deletions

File tree

extensions/acpx/src/config.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,12 @@ import type {
1414
ResolvedAcpxPluginConfig,
1515
} from "./config-schema.js";
1616
export {
17-
ACPX_NON_INTERACTIVE_POLICIES,
18-
ACPX_PERMISSION_MODES,
1917
type AcpxMcpServer,
2018
type AcpxNonInteractivePermissionPolicy,
2119
type AcpxPermissionMode,
2220
type AcpxPluginConfig,
2321
type McpServerConfig,
2422
type ResolvedAcpxPluginConfig,
25-
createAcpxPluginConfigSchema,
2623
} from "./config-schema.js";
2724

2825
export const ACPX_PLUGIN_TOOLS_MCP_SERVER_NAME = "openclaw-plugin-tools";
@@ -104,8 +101,6 @@ export function resolveAcpxPluginRoot(moduleUrl: string = import.meta.url): stri
104101
);
105102
}
106103

107-
export const ACPX_PLUGIN_ROOT = resolveAcpxPluginRoot();
108-
109104
const DEFAULT_PERMISSION_MODE: AcpxPermissionMode = "approve-reads";
110105
const DEFAULT_NON_INTERACTIVE_POLICY: AcpxNonInteractivePermissionPolicy = "fail";
111106
const DEFAULT_QUEUE_OWNER_TTL_SECONDS = 0.1;

extensions/line/src/types.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import type { webhook } from "@line/bot-sdk";
21
import type { BaseProbeResult } from "openclaw/plugin-sdk/channel-contract";
32

43
export type LineTokenSource = "config" | "env" | "file" | "none";
@@ -54,14 +53,6 @@ export interface ResolvedLineAccount {
5453
config: LineConfig & LineAccountConfig;
5554
}
5655

57-
export interface LineWebhookContext {
58-
event: webhook.Event;
59-
replyToken?: string;
60-
userId?: string;
61-
groupId?: string;
62-
roomId?: string;
63-
}
64-
6556
export interface LineSendResult {
6657
messageId: string;
6758
chatId: string;

0 commit comments

Comments
 (0)