Files
vibn-agent-runner/package.json
mawkone 551fdb9e54 feat: add AnthropicVertexClient for claude-* models
- @anthropic-ai/vertex-sdk: proper Anthropic Messages API on Vertex
- AnthropicVertexClient: converts OAI message format ↔ Anthropic format,
  handles tool_use blocks, retries 429/503 with backoff
- createLLM: routes anthropic/* and claude-* models through new client
- Tier B/C default: claude-sonnet-4-6 via us-east5 Vertex endpoint
- /generate endpoint: accepts region param for regional endpoint testing

Made-with: Cursor
2026-03-07 12:54:39 -08:00

31 lines
817 B
JSON

{
"name": "vibn-agent-runner",
"version": "0.1.0",
"description": "Autonomous AI agent runner for Vibn — runs Gemini agent loops server-side without a browser",
"main": "dist/server.js",
"scripts": {
"build": "tsc",
"start": "node dist/server.js",
"dev": "ts-node src/server.ts",
"test": "ts-node src/test.ts"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.78.0",
"@anthropic-ai/vertex-sdk": "^0.14.4",
"@google/genai": "^1.0.0",
"cors": "^2.8.5",
"express": "^4.19.2",
"google-auth-library": "^10.6.1",
"minimatch": "^9.0.5",
"uuid": "^9.0.1"
},
"devDependencies": {
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/node": "^20.0.0",
"@types/uuid": "^9.0.8",
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
}
}