mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
a8b960db80
jsdom relies on Node.js-specific APIs that Bun cannot properly resolve when running a bundled artifact. This caused an EISDIR error in Docker containers (Bun tried to read the jsdom directory as a file). Replace jsdom with linkedom, a lightweight pure-JS DOM implementation that is fully compatible with Bun and @mozilla/readability. Also remove the --external jsdom build flag since linkedom bundles cleanly. Closes #181
29 lines
615 B
JSON
29 lines
615 B
JSON
{
|
|
"name": "@memoh/agent",
|
|
"version": "0.2.0",
|
|
"exports": {
|
|
".": "./src/index.ts"
|
|
},
|
|
"packageManager": "pnpm@10.27.0",
|
|
"module": "src/index.ts",
|
|
"type": "module",
|
|
"private": true,
|
|
"peerDependencies": {
|
|
"typescript": "^5"
|
|
},
|
|
"dependencies": {
|
|
"@ai-sdk/anthropic": "^3.0.9",
|
|
"@ai-sdk/google": "^3.0.6",
|
|
"@ai-sdk/mcp": "^1.0.6",
|
|
"@ai-sdk/openai": "^3.0.7",
|
|
"@mozilla/readability": "^0.6.0",
|
|
"@types/turndown": "^5.0.6",
|
|
"ai": "^6.0.25",
|
|
"linkedom": "^0.18.12",
|
|
"toml": "^3.0.0",
|
|
"turndown": "^7.2.2",
|
|
"yaml": "^2.8.2",
|
|
"zod": "^4.3.6"
|
|
}
|
|
}
|