fix: ship a loadable AgentRQ bundle that stays idle without a workspace URL

The first integration copied sources without lib/, skipped packaging paths, and could fail the default web profile when url was unset.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-16 12:36:04 +08:00
parent 73cb4cec60
commit d6f5359873
19 changed files with 16836 additions and 160 deletions

View File

@@ -12,5 +12,8 @@ export default defineConfig({
target: 'node20',
dts: true,
clean: true,
external: [/^@deepseek-ai\//, /^@modelcontextprotocol\//],
// Harness packages stay external. The MCP SDK is inlined so a copied
// `lib/index.js` loads without a profile-local node_modules install.
external: [/^@deepseek-ai\//],
noExternal: [/^@modelcontextprotocol\//],
})