mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
- Add pino with pino-pretty for structured logging
- Create root logger in index.ts with child loggers per module
- Support log level via PASEO_LOG env var and config.json
- Support log format (pretty/json) via PASEO_LOG_FORMAT and config.json
- Replace all console.* in runtime code with appropriate log levels
- Scripts use process.stdout/stderr for output
- Error logging uses correct pattern: logger.error({ err }, msg)
65 lines
1.9 KiB
JSON
65 lines
1.9 KiB
JSON
{
|
|
"name": "@paseo/server",
|
|
"version": "0.1.0",
|
|
"description": "Paseo backend server",
|
|
"type": "module",
|
|
"exports": {
|
|
"./utils/tool-call-parsers": "./src/utils/tool-call-parsers.ts"
|
|
},
|
|
"scripts": {
|
|
"dev": "NODE_ENV=development tsx scripts/dev-runner.ts",
|
|
"dev:tsx": "NODE_ENV=development tsx watch --ignore '**/*.timestamp-*' src/server/index.ts",
|
|
"build": "tsc -p tsconfig.server.json",
|
|
"start": "NODE_ENV=production node dist/server/index.js",
|
|
"typecheck": "tsc -p tsconfig.server.typecheck.json --noEmit",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:ui": "vitest --ui",
|
|
"test:e2e": "playwright test",
|
|
"test:e2e:ui": "playwright test --ui",
|
|
"test:e2e:mobile": "playwright test --project='Mobile Chrome'"
|
|
},
|
|
"dependencies": {
|
|
"@ai-sdk/openai": "^2.0.52",
|
|
"@deepgram/sdk": "^3.4.0",
|
|
"@lezer/common": "^1.5.0",
|
|
"@lezer/css": "^1.3.0",
|
|
"@lezer/highlight": "^1.2.3",
|
|
"@lezer/html": "^1.3.13",
|
|
"@lezer/javascript": "^1.5.4",
|
|
"@lezer/json": "^1.0.3",
|
|
"@lezer/markdown": "^1.6.2",
|
|
"@lezer/python": "^1.1.18",
|
|
"@modelcontextprotocol/sdk": "^1.20.1",
|
|
"@opencode-ai/sdk": "^1.1.12",
|
|
"@openrouter/ai-sdk-provider": "^1.2.0",
|
|
"ai": "^5.0.76",
|
|
"dotenv": "^17.2.3",
|
|
"express": "^4.18.2",
|
|
"express-basic-auth": "^1.2.1",
|
|
"mnemonic-id": "^3.2.7",
|
|
"openai": "^4.20.0",
|
|
"pino": "^10.2.0",
|
|
"pino-pretty": "^13.1.3",
|
|
"playwright": "^1.56.1",
|
|
"tiny-invariant": "^1.3.3",
|
|
"uuid": "^9.0.1",
|
|
"ws": "^8.14.2",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.56.1",
|
|
"@types/express": "^4.17.20",
|
|
"@types/node": "^20.9.0",
|
|
"@types/uuid": "^9.0.7",
|
|
"@types/ws": "^8.5.8",
|
|
"@vitest/ui": "^3.2.4",
|
|
"tsx": "^4.6.0",
|
|
"typescript": "^5.2.2",
|
|
"vitest": "^3.2.4"
|
|
},
|
|
"overrides": {
|
|
"lightningcss": "1.30.1"
|
|
}
|
|
}
|