06438bb44f
New ChannelAdapter that monitors Gmail via Google Cloud Pub/Sub push notifications with polling fallback. Supports OAuth2 auth, configurable watch labels, template rendering with email metadata placeholders (from, to, subject, snippet, date, id, labels). Wired into daemon lifecycle and gateway (POST /gmail/push endpoint). Includes 16 tests covering auth, templates, push notifications, and channel routing.
74 lines
1.8 KiB
JSON
74 lines
1.8 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",
|
|
"dev": "tsx watch src/cli/index.ts -- start",
|
|
"start": "node dist/cli/index.js start",
|
|
"tui": "tsx src/cli/index.ts tui",
|
|
"tui:fs": "tsx 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/marked-terminal": "^6.1.1",
|
|
"@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",
|
|
"marked-terminal": "^7.3.0",
|
|
"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"
|
|
}
|
|
}
|