agent-ecosystem/.github
iliya 1d15f5f4d9 fix: MCP server entrypoint not found in packaged builds
In packaged Electron apps process.cwd() does not point to the app
directory so the mcp-server bundle was never found. Additionally the
mcp-server dist was not included in the package at all.

Changes:
- Bundle mcp-server into a single self-contained ESM file (tsup
  noExternal + createRequire banner for CJS compat)
- Ship mcp-server/dist/index.js and package.json via extraResources
- Resolve entry via process.resourcesPath when app.isPackaged is true
- Build controller + mcp-server in prebuild so dist exists before
  electron-builder runs
- Add mcp-server/dist/index.js to CI verify steps on all platforms
- Improve error message to list checked paths for easier debugging
2026-03-20 13:21:51 +02:00
..
ISSUE_TEMPLATE Update issue templates 2026-02-22 14:31:49 +09:00
workflows fix: MCP server entrypoint not found in packaged builds 2026-03-20 13:21:51 +02:00
CLA.md feat: project editor with drag & drop, search, Quick Open (#11) 2026-03-01 07:56:59 +02:00
CODE_OF_CONDUCT.md feat: project editor with drag & drop, search, Quick Open (#11) 2026-03-01 07:56:59 +02:00
CONTRIBUTING.md feat: project editor with drag & drop, search, Quick Open (#11) 2026-03-01 07:56:59 +02:00
SECURITY.md feat: project editor with drag & drop, search, Quick Open (#11) 2026-03-01 07:56:59 +02:00