chore(deadcode): drop unused sdk specifier helper · openclaw/openclaw@d4c2fa7
vincentkoc
·
2026-06-21
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -99,13 +99,6 @@ export function buildPluginSdkEntrySources(entries: readonly string[] = pluginSd
|
99 | 99 | return Object.fromEntries(entries.map((entry) => [entry, `src/plugin-sdk/${entry}.ts`])); |
100 | 100 | } |
101 | 101 | |
102 | | -/** List the public package specifiers that should resolve to plugin SDK entrypoints. */ |
103 | | -export function buildPluginSdkSpecifiers() { |
104 | | -return publicPluginSdkEntrypoints.map((entry) => |
105 | | -entry === "index" ? "openclaw/plugin-sdk" : `openclaw/plugin-sdk/${entry}`, |
106 | | -); |
107 | | -} |
108 | | - |
109 | 102 | /** Build the package.json exports map for public plugin SDK subpaths. */ |
110 | 103 | export function buildPluginSdkPackageExports() { |
111 | 104 | return Object.fromEntries( |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。