Files
flynn/package.json
T
William Valentin 1a3ae3020f fix: copy webchat UI assets to dist/ during build
tsc only compiles .ts files — the webchat static files (HTML, CSS, JS)
in src/gateway/ui/ were never copied to dist/gateway/ui/, causing 404s
when running the production build via 'pnpm start'.
2026-02-11 09:58:15 -08:00

72 lines
1.9 KiB
JSON

{
"name": "flynn",
"version": "0.1.0",
"description": "Self-hosted personal AI agent",
"type": "module",
"main": "dist/index.js",
"bin": {
"flynn": "dist/cli/index.js"
},
"scripts": {
"build": "tsc && cp -r src/gateway/ui dist/gateway/ui",
"dev": "tsx watch src/cli/index.ts -- start",
"start": "node dist/cli/index.js start",
"tui": "node --no-deprecation --import tsx/esm src/cli/index.ts tui",
"tui:fs": "node --no-deprecation --import tsx/esm src/cli/index.ts tui --fullscreen",
"tui:dev": "tsx watch src/cli/index.ts -- tui",
"test": "vitest",
"test:run": "vitest run",
"lint": "eslint src/",
"typecheck": "tsc --noEmit"
},
"keywords": [
"ai",
"agent",
"telegram",
"personal-assistant"
],
"license": "MIT",
"devDependencies": {
"@types/better-sqlite3": "^7.6.0",
"@types/node": "^22.0.0",
"@types/react": "^19.0.0",
"@types/turndown": "^5.0.0",
"@types/ws": "^8.18.1",
"eslint": "^9.0.0",
"tsx": "^4.0.0",
"typescript": "^5.7.0",
"vitest": "^3.0.0"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.39.0",
"@aws-sdk/client-bedrock-runtime": "^3.985.0",
"@google/generative-ai": "^0.24.1",
"@modelcontextprotocol/sdk": "^1.26.0",
"@mozilla/readability": "^0.5.0",
"@slack/bolt": "^4.6.0",
"better-sqlite3": "^11.0.0",
"cli-highlight": "^2.1.11",
"commander": "^14.0.3",
"croner": "^10.0.1",
"discord.js": "^14.25.1",
"googleapis": "^148.0.0",
"grammy": "^1.35.0",
"ink": "^6.0.0",
"ink-text-input": "^6.0.0",
"linkedom": "^0.18.0",
"marked": "^17.0.1",
"ollama": "^0.5.0",
"openai": "^4.0.0",
"puppeteer-core": "^24.37.2",
"react": "^19.0.0",
"turndown": "^7.2.0",
"whatsapp-web.js": "^1.34.6",
"ws": "^8.19.0",
"yaml": "^2.7.0",
"zod": "^3.24.0"
},
"engines": {
"node": ">=22.0.0"
}
}