4-package monorepo: - @tokenvault/core: Fastify 5.x proxy server, 7-stage pipeline, 3 provider adapters (Anthropic, OpenAI, Ollama), PostgreSQL ticket system, cost calculator with real provider pricing - @tokenvault/mcp: MCP server (stdio) with tv_ticket, tv_cost, tv_health tools for IDE integration - @tokenvault/client: TypeScript SDK with createTokenVaultClient() - @tokenvault/dashboard: Single-file HTML dashboard with MAGATAMA CI style (indigo #6366f1), bilingual DE+EN, 4 tabs OpenAI-compatible proxy at /v1/chat/completions — drop-in replacement. Every LLM request becomes a trackable ticket (TV-00001).
20 lines
503 B
JSON
20 lines
503 B
JSON
{
|
|
"name": "tokenvault",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "Hybrid MCP + Proxy platform for LLM token savings, multi-provider routing, and ticket-based cost tracking",
|
|
"license": "Apache-2.0",
|
|
"author": "Context X <rf@context-x.org>",
|
|
"scripts": {
|
|
"build": "pnpm -r build",
|
|
"dev": "pnpm -r --parallel dev",
|
|
"test": "pnpm -r test",
|
|
"lint": "pnpm -r lint",
|
|
"clean": "pnpm -r clean"
|
|
},
|
|
"engines": {
|
|
"node": ">=20.0.0",
|
|
"pnpm": ">=9.0.0"
|
|
}
|
|
}
|