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).
15 lines
270 B
TypeScript
15 lines
270 B
TypeScript
import { defineConfig } from 'tsup';
|
|
|
|
export default defineConfig({
|
|
entry: ['src/**/*.ts'],
|
|
format: ['esm'],
|
|
target: 'node20',
|
|
outDir: 'dist',
|
|
clean: true,
|
|
sourcemap: true,
|
|
dts: true,
|
|
splitting: false,
|
|
bundle: false,
|
|
skipNodeModulesBundle: true,
|
|
});
|