mirror of
https://github.com/headroomlabs-ai/headroom.git
synced 2026-08-27 14:17:10 -04:00
- New `compress()` function: HTTP client calling POST /v1/compress on the proxy - HeadroomClient: reusable client with retry, fallback, auth support - Vercel AI SDK adapter: headroomMiddleware() for wrapLanguageModel() - OpenAI SDK adapter: withHeadroom() Proxy wrapper - Anthropic SDK adapter: withHeadroom() Proxy wrapper - Format converters: Vercel AI SDK ↔ OpenAI message format round-trip - POST /v1/compress proxy endpoint: compression without LLM call - 90 TypeScript tests (84 unit + 6 integration) + 9 Python tests - Zero runtime dependencies, all framework peers optional - Updated README, proxy docs, integration guide, and 6 other doc pages - New docs/typescript-sdk.md with full SDK documentation - Removed docs/superpowers/ from tracking (.gitignore)
19 lines
432 B
JSON
19 lines
432 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
"lib": ["ES2022"],
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"declaration": true,
|
|
"outDir": "dist",
|
|
"rootDir": "src",
|
|
"sourceMap": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true
|
|
},
|
|
"include": ["src"],
|
|
"exclude": ["node_modules", "dist", "test"]
|
|
}
|