feat: enhance logging capabilities, implement runtime diagnostics, and update preinstalled skills metadata
This commit is contained in:
@@ -16,6 +16,12 @@ const projectAliases = {
|
||||
function isMainProcessExternal(id: string): boolean {
|
||||
if (!id || id.startsWith('\0')) return false;
|
||||
if (id.startsWith('.') || id.startsWith('/') || /^[A-Za-z]:[\\/]/.test(id)) return false;
|
||||
|
||||
// Keep ws bundled into the Electron main chunk.
|
||||
// The packaged app imports it directly from gateway runtime code,
|
||||
// and relying on transitive/peer installation causes "Cannot find module 'ws'"
|
||||
// in production builds.
|
||||
if (id === 'ws' || id.startsWith('ws/')) return false;
|
||||
|
||||
// Project-specific aliases that should be bundled (not external)
|
||||
const internalAliases = [
|
||||
|
||||
Reference in New Issue
Block a user