mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-03 16:14:05 +00:00
* refactor: extract media and acp core packages * refactor: remove relocated media and acp sources * build: wire new core packages into dependency checks * test: alias new core packages in vitest * build: keep media sniffer runtime dependency * docs: refresh plugin sdk api baseline * fix: keep normalized proposal queries non-empty * test: keep channel timer tests isolated * fix: keep rebased plugin checks green * fix: preserve sms numeric allowlist entries * test: harden exec foreground timeout failure * test: remove duplicate skill workshop assertion * fix: remove channel config lint suppression * test: refresh lint suppression allowlist
31 lines
737 B
JavaScript
31 lines
737 B
JavaScript
const TSDOWN_PACKAGE_NAMES = [
|
|
"agent-core",
|
|
"gateway-client",
|
|
"gateway-protocol",
|
|
"llm-core",
|
|
"llm-runtime",
|
|
"markdown-core",
|
|
"media-core",
|
|
"media-generation-core",
|
|
"media-understanding-common",
|
|
"model-catalog-core",
|
|
"net-policy",
|
|
"normalization-core",
|
|
"speech-core",
|
|
"terminal-core",
|
|
"acp-core",
|
|
];
|
|
|
|
export const TSDOWN_PACKAGE_OUTPUT_ROOTS = TSDOWN_PACKAGE_NAMES.map(packageOutputRoot);
|
|
|
|
export function tsdownPackageOutputRoot(packageName) {
|
|
if (!TSDOWN_PACKAGE_NAMES.includes(packageName)) {
|
|
throw new Error(`Unknown tsdown package output root: ${packageName}`);
|
|
}
|
|
return packageOutputRoot(packageName);
|
|
}
|
|
|
|
function packageOutputRoot(packageName) {
|
|
return `packages/${packageName}/dist`;
|
|
}
|