- Upgrade @opentelemetry/auto-instrumentations-node ^0.71.0 → ^0.72.0; v0.72.0 drops @opentelemetry/instrumentation-fastify (deprecated in favour of @fastify/otel) from its dependency tree, eliminating the `npm warn deprecated @opentelemetry/instrumentation-fastify@0.57.0` warning on `npm install -g @mosaic/gateway`. - Bump @mariozechner/pi-ai and @mariozechner/pi-coding-agent ~0.57.1 → ^0.65.0. ModelRegistry constructor became private in 0.65.0; callers now use ModelRegistry.inMemory(authStorage) (provider.service.ts and provider-adapters.test.ts updated accordingly). All 347 tests pass. - prebuild-install@7.1.3 (via better-sqlite3@12.8.0): upstream-blocked. better-sqlite3 12.8.0 is the latest release and still ships with prebuild-install; no fix available until upstream migrates away. - node-domexception@1.0.0 (via @google/genai → google-auth-library → gaxios@7 → node-fetch@3 → fetch-blob@3 → node-domexception): upstream- blocked. gaxios@7.1.4 (latest) still depends on node-fetch@^3.3.2, and all versions of node-domexception carry the `deprecated` registry flag; no override can suppress it. Fix requires gaxios to adopt native fetch or node-fetch v4 GA. Bumps gateway version 0.0.2 → 0.0.3. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
83 lines
2.4 KiB
JSON
83 lines
2.4 KiB
JSON
{
|
|
"name": "@mosaic/gateway",
|
|
"version": "0.0.3",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.mosaicstack.dev/mosaic/mosaic-stack.git",
|
|
"directory": "apps/gateway"
|
|
},
|
|
"type": "module",
|
|
"main": "dist/main.js",
|
|
"bin": {
|
|
"mosaic-gateway": "dist/main.js"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"publishConfig": {
|
|
"registry": "https://git.mosaicstack.dev/api/packages/mosaic/npm/",
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"dev": "tsx watch src/main.ts",
|
|
"lint": "eslint src",
|
|
"typecheck": "tsc --noEmit -p tsconfig.typecheck.json",
|
|
"test": "vitest run --passWithNoTests"
|
|
},
|
|
"dependencies": {
|
|
"@anthropic-ai/sdk": "^0.80.0",
|
|
"@fastify/helmet": "^13.0.2",
|
|
"@mariozechner/pi-ai": "^0.65.0",
|
|
"@mariozechner/pi-coding-agent": "^0.65.0",
|
|
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
"@mosaic/auth": "workspace:^",
|
|
"@mosaic/brain": "workspace:^",
|
|
"@mosaic/config": "workspace:^",
|
|
"@mosaic/coord": "workspace:^",
|
|
"@mosaic/db": "workspace:^",
|
|
"@mosaic/discord-plugin": "workspace:^",
|
|
"@mosaic/log": "workspace:^",
|
|
"@mosaic/memory": "workspace:^",
|
|
"@mosaic/queue": "workspace:^",
|
|
"@mosaic/storage": "workspace:^",
|
|
"@mosaic/telegram-plugin": "workspace:^",
|
|
"@mosaic/types": "workspace:^",
|
|
"@nestjs/common": "^11.0.0",
|
|
"@nestjs/core": "^11.0.0",
|
|
"@nestjs/platform-fastify": "^11.0.0",
|
|
"@nestjs/platform-socket.io": "^11.0.0",
|
|
"@nestjs/throttler": "^6.5.0",
|
|
"@nestjs/websockets": "^11.0.0",
|
|
"@opentelemetry/auto-instrumentations-node": "^0.72.0",
|
|
"@opentelemetry/exporter-metrics-otlp-http": "^0.213.0",
|
|
"@opentelemetry/exporter-trace-otlp-http": "^0.213.0",
|
|
"@opentelemetry/resources": "^2.6.0",
|
|
"@opentelemetry/sdk-metrics": "^2.6.0",
|
|
"@opentelemetry/sdk-node": "^0.213.0",
|
|
"@opentelemetry/semantic-conventions": "^1.40.0",
|
|
"@sinclair/typebox": "^0.34.48",
|
|
"better-auth": "^1.5.5",
|
|
"bullmq": "^5.71.0",
|
|
"class-transformer": "^0.5.1",
|
|
"class-validator": "^0.15.1",
|
|
"dotenv": "^17.3.1",
|
|
"fastify": "^5.0.0",
|
|
"node-cron": "^4.2.1",
|
|
"openai": "^6.32.0",
|
|
"reflect-metadata": "^0.2.0",
|
|
"rxjs": "^7.8.0",
|
|
"socket.io": "^4.8.0",
|
|
"uuid": "^11.0.0",
|
|
"zod": "^4.3.6"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.0.0",
|
|
"@types/node-cron": "^3.0.11",
|
|
"@types/uuid": "^10.0.0",
|
|
"tsx": "^4.0.0",
|
|
"typescript": "^5.8.0",
|
|
"vitest": "^2.0.0"
|
|
}
|
|
}
|