Docker Compose (P0-005): - PG 17 + pgvector, Valkey 8, OTEL Collector, Jaeger - OTEL Collector config with trace/metric/log pipelines - .env.example with all connection strings OTEL Foundation (P0-006): - @opentelemetry/sdk-node with auto-instrumentations - tracing.ts loaded before NestJS bootstrap - OTLP HTTP exporter → collector → Jaeger - Disabled fs/dns instrumentations (noisy) Shared Types (P0-002): - ChatMessageDto with class-validator (IsUUID, IsNotEmpty, MaxLength) - ChatResponseDto for REST responses - Socket.IO typed event maps (ServerToClientEvents, ClientToServerEvents) - AgentSessionHandle opaque type - All event payload interfaces shared across gateway/cli/discord Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
27 lines
513 B
JSON
27 lines
513 B
JSON
{
|
|
"name": "@mosaic/types",
|
|
"version": "0.0.0",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"lint": "eslint src",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "^5.8.0",
|
|
"vitest": "^2.0.0"
|
|
},
|
|
"dependencies": {
|
|
"class-transformer": "^0.5.1",
|
|
"class-validator": "^0.15.1"
|
|
}
|
|
}
|