feat: agent gateway

This commit is contained in:
Acbox
2026-01-28 14:00:28 +08:00
parent bb5482b982
commit 0711b1f086
22 changed files with 715 additions and 402 deletions
+24
View File
@@ -0,0 +1,24 @@
{
"name": "@memoh/agent-gateway",
"version": "1.0.0",
"scripts": {
"dev": "bun run --watch src/index.ts",
"build": "bun build src/index.ts --outfile dist/index.js --target bun --minify",
"start": "bun run dist/index.js"
},
"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",
"@elysiajs/cors": "^1.4.1",
"@modelcontextprotocol/sdk": "^1.25.2",
"ai": "^6.0.25",
"elysia": "latest",
"zod": "^4.3.5"
},
"devDependencies": {
"bun-types": "latest"
},
"module": "src/index.js"
}