File tree Expand file tree Collapse file tree
packages/agent-bundle/src/build Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ export const planCliBinsSurface = (
196196 } ) ,
197197 } ) ) ) ;
198198 } ,
199- ignoredSourcePaths : [ runtimeIgnoredRoot ( cliEntryRuntimePath ( ) ) , launchEnvRuntimePath ( ) ] ,
199+ ignoredSourcePaths : [ runtimeIgnoredRoot ( cliEntryRuntimePath ( ) ) , runtimeIgnoredRoot ( launchEnvRuntimePath ( ) ) ] ,
200200 logLevel : 'error' ,
201201 } ;
202202} ;
Original file line number Diff line number Diff line change @@ -481,7 +481,9 @@ export const planMcpEntriesSurface = async (
481481 : {
482482 ignoredSourcePaths : [
483483 ...( runtimeShell === undefined ? [ ] : [ runtimeShell ] ) ,
484- ...( launchEnvRuntime === undefined ? [ ] : [ launchEnvRuntime ] ) ,
484+ // The package root, not the file: from the built package the
485+ // module shares chunks with its siblings under `dist/`.
486+ ...( launchEnvRuntime === undefined ? [ ] : [ runtimeIgnoredRoot ( launchEnvRuntime ) ] ) ,
485487 ...( eventIpcRuntime === undefined ? [ ] : [ runtimeIgnoredRoot ( eventIpcRuntime ) ] ) ,
486488 ...( serverRuntime === undefined ? [ ] : [ runtimeIgnoredRoot ( serverRuntime ) ] ) ,
487489 ] ,
@@ -614,7 +616,7 @@ export const planHooksSurface = (
614616 ...( workerEntry === undefined ? [ ] : [ workerEntry ] ) ,
615617 ] ,
616618 ignoredSourcePaths : [
617- launchEnvRuntime ,
619+ runtimeIgnoredRoot ( launchEnvRuntime ) ,
618620 ...( eventIpcRuntime === undefined ? [ ] : [ runtimeIgnoredRoot ( eventIpcRuntime ) ] ) ,
619621 ] ,
620622 finish : async ( evidence ) => {
You can’t perform that action at this time.
0 commit comments