

























@@ -234,7 +234,32 @@ function buildCoreDistEntries(): Record<string, string> {
234234};
235235}
236236237+function buildDockerE2eHarnessEntries(): Record<string, string> {
238+return {
239+// Mounted Docker harnesses run against the npm tarball image, so any
240+// internal module they assert must have a stable package dist entry.
241+"agents/pi-bundle-mcp-materialize": "src/agents/pi-bundle-mcp-materialize.ts",
242+"agents/pi-bundle-mcp-runtime": "src/agents/pi-bundle-mcp-runtime.ts",
243+"agents/pi-embedded-runner/effective-tool-policy":
244+"src/agents/pi-embedded-runner/effective-tool-policy.ts",
245+"agents/pi-embedded-runner/run/runtime-context-prompt":
246+"src/agents/pi-embedded-runner/run/runtime-context-prompt.ts",
247+"auto-reply/reply/commands-crestodian": "src/auto-reply/reply/commands-crestodian.ts",
248+"cli/run-main": "src/cli/run-main.ts",
249+"config/config": "src/config/config.ts",
250+"crestodian/crestodian": "src/crestodian/crestodian.ts",
251+"crestodian/rescue-message": "src/crestodian/rescue-message.ts",
252+"gateway/protocol/index": "src/gateway/protocol/index.ts",
253+"infra/errors": "src/infra/errors.ts",
254+"infra/ws": "src/infra/ws.ts",
255+"plugin-sdk/provider-onboard": "src/plugin-sdk/provider-onboard.ts",
256+"plugins/tools": "src/plugins/tools.ts",
257+"shared/string-coerce": "src/shared/string-coerce.ts",
258+};
259+}
260+237261const coreDistEntries = buildCoreDistEntries();
262+const dockerE2eHarnessEntries = buildDockerE2eHarnessEntries();
238263const stagedBundledPluginBuildEntries = bundledPluginBuildEntries.filter(({ packageJson }) =>
239264shouldStageBundledPluginRuntimeDependencies(packageJson),
240265);
@@ -247,6 +272,7 @@ const rootBundledPluginBuildEntries = bundledPluginBuildEntries.filter(
247272function buildUnifiedDistEntries(): Record<string, string> {
248273return {
249274 ...coreDistEntries,
275+ ...dockerE2eHarnessEntries,
250276// Internal compat artifact for the root-alias.cjs lazy loader.
251277"plugin-sdk/compat": "src/plugin-sdk/compat.ts",
252278 ...Object.fromEntries(
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。