* feat: twitter services * fix: package.json * fix: type error * refactor: launcher * refactor: BrowserBase/Stagehand * fix: config & startup * chore: i18n * fix: continue i18n * feat: cookie login * fix: save cookie to session json * docs: architecture * chore: remove cli & use mcp adapter for mcp-server * refactor: remove browser adapter, use playwright directly * refactor: remove launcher services, replace twitter.com to x.com * feat: load session to auto login * docs: update architecture md * chore: more debug logs * feat: tweet parser without hast and rehype * fix: type error * fix: env example
32 lines
810 B
JSON
32 lines
810 B
JSON
{
|
|
"name": "@proj-airi/twitter-services",
|
|
"type": "module",
|
|
"version": "0.1.0",
|
|
"description": "Twitter Services for MCP",
|
|
"author": "RainbowBird <rbxin2003@outlook.com>",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"dev": "tsx src/main.ts",
|
|
"mcp:ui": "pnpx @modelcontextprotocol/inspector",
|
|
"postinstall": "playwright install chromium"
|
|
},
|
|
"dependencies": {
|
|
"@browserbasehq/stagehand": "^1.13.1",
|
|
"@guiiai/logg": "^1.0.0",
|
|
"@modelcontextprotocol/sdk": "^1.6.1",
|
|
"@proj-airi/server-sdk": "^0.1.0",
|
|
"defu": "^6.1.4",
|
|
"dotenv": "^16.4.7",
|
|
"h3": "^1.11.0",
|
|
"listhen": "^1.6.0",
|
|
"ofetch": "^1.3.3",
|
|
"playwright": "^1.50.1",
|
|
"zod": "^3.24.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^18.16.3",
|
|
"tsx": "^4.19.0",
|
|
"typescript": "^5.0.4"
|
|
}
|
|
}
|