mirror of
https://github.com/moeru-ai/airi.git
synced 2026-05-17 04:20:26 +00:00
Some checks failed
CI / Lint (push) Waiting to run
CI / Build Test (stage-tamagotchi) (push) Waiting to run
CI / Build Test (stage-tamagotchi-godot) (push) Waiting to run
CI / Build Test (stage-web) (push) Waiting to run
CI / Build Test (ui-loading-screens) (push) Waiting to run
CI / Build Test (ui-transitions) (push) Waiting to run
CI / Type Check (push) Waiting to run
CI / Check Provenance (push) Waiting to run
Cloudflare Workers / Deploy - stage-web (push) Waiting to run
Cloudflare Workers (server-dev) / Deploy - stage-web (server-dev) (push) Waiting to run
Update Nix pnpmDeps Hash / update (push) Has been cancelled
- Added a new PostHog client for capturing server-side business events such as Stripe webhooks and subscription state changes. - Implemented various tracking functions for pricing funnel steps, character creation, and chat session starts. - Enhanced the flux meter tests to handle partial charges and report unbilled flux correctly. - Updated the CharacterDialog and Flux settings pages to track user interactions with analytics events. - Introduced a mechanism to identify users on PostHog based on authentication state to ensure accurate funnel tracking. - Added necessary dependencies for PostHog integration in the project.
69 lines
2.6 KiB
JSON
69 lines
2.6 KiB
JSON
{
|
|
"name": "@proj-airi/server",
|
|
"type": "module",
|
|
"version": "0.10.2",
|
|
"private": true,
|
|
"scripts": {
|
|
"apply:env": "dotenvx run -f .env.local --overload --ignore=MISSING_ENV_FILE",
|
|
"auth:generate": "pnpm run apply:env -- better-auth generate --config src/scripts/auth.ts --output src/schemas/accounts.ts -y",
|
|
"dev": "pnpm run apply:env -- tsx --import ./instrumentation.ts --watch src/bin/run.ts api",
|
|
"start": "pnpm run apply:env -- tsx --import ./instrumentation.ts src/bin/run.ts api",
|
|
"server": "pnpm run apply:env -- tsx --import ./instrumentation.ts src/bin/run.ts",
|
|
"build": "tsc -b",
|
|
"typecheck": "tsc --noEmit",
|
|
"db:generate": "drizzle-kit generate",
|
|
"db:push": "pnpm run apply:env -- drizzle-kit push",
|
|
"otel:dashboards": "tsx otel/grafana/dashboards/build.ts"
|
|
},
|
|
"dependencies": {
|
|
"@better-auth/drizzle-adapter": "^1.6.5",
|
|
"@better-auth/oauth-provider": "catalog:",
|
|
"@dotenvx/dotenvx": "^1.61.1",
|
|
"@electric-sql/pglite": "catalog:",
|
|
"@guiiai/logg": "catalog:",
|
|
"@hono/node-server": "^1.19.14",
|
|
"@hono/node-ws": "catalog:",
|
|
"@hono/otel": "^1.1.2",
|
|
"@moeru/eventa": "catalog:",
|
|
"@moeru/std": "catalog:",
|
|
"@opentelemetry/api": "^1.9.1",
|
|
"@opentelemetry/api-logs": "^0.215.0",
|
|
"@opentelemetry/exporter-logs-otlp-proto": "^0.215.0",
|
|
"@opentelemetry/exporter-metrics-otlp-proto": "^0.215.0",
|
|
"@opentelemetry/exporter-trace-otlp-proto": "^0.215.0",
|
|
"@opentelemetry/instrumentation": "^0.215.0",
|
|
"@opentelemetry/instrumentation-http": "^0.215.0",
|
|
"@opentelemetry/instrumentation-ioredis": "^0.63.0",
|
|
"@opentelemetry/instrumentation-pg": "^0.67.0",
|
|
"@opentelemetry/instrumentation-runtime-node": "^0.28.0",
|
|
"@opentelemetry/resources": "^2.7.0",
|
|
"@opentelemetry/sdk-logs": "^0.215.0",
|
|
"@opentelemetry/sdk-metrics": "^2.7.0",
|
|
"@opentelemetry/sdk-node": "^0.215.0",
|
|
"@opentelemetry/sdk-trace-node": "^2.7.0",
|
|
"@opentelemetry/semantic-conventions": "^1.40.0",
|
|
"@proj-airi/drizzle-orm-browser-migrator": "^0.1.6",
|
|
"@proj-airi/server-schema": "workspace:*",
|
|
"@proj-airi/server-sdk-shared": "workspace:*",
|
|
"better-auth": "catalog:",
|
|
"cac": "catalog:",
|
|
"drizzle-orm": "catalog:",
|
|
"drizzle-valibot": "catalog:",
|
|
"hono": "catalog:",
|
|
"hono-rate-limiter": "catalog:",
|
|
"injeca": "catalog:",
|
|
"ioredis": "^5.10.1",
|
|
"jose": "catalog:",
|
|
"pg": "^8.20.0",
|
|
"posthog-node": "catalog:",
|
|
"resend": "^6.12.2",
|
|
"stripe": "^22.0.2",
|
|
"valibot": "catalog:",
|
|
"zod": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@better-auth/cli": "^1.4.21",
|
|
"@types/pg": "^8.20.0",
|
|
"drizzle-kit": "catalog:"
|
|
}
|
|
}
|