- 创建 plugin_manager.py 模块
- PluginManager: 插件管理主类
- ChromeExtensionHandler: Chrome 插件处理
- BotHandler: 飞书/钉钉/Slack 机器人处理
- WebhookIntegration: Zapier/Make Webhook 集成
- WebDAVSync: WebDAV 同步管理
- 创建完整的 Chrome 扩展代码
- manifest.json, background.js, content.js, content.css
- popup.html/js: 弹出窗口界面
- options.html/js: 设置页面
- 支持网页剪藏、选中文本保存、项目选择
- 更新 schema.sql 添加插件相关数据库表
- plugins: 插件配置表
- bot_sessions: 机器人会话表
- webhook_endpoints: Webhook 端点表
- webdav_syncs: WebDAV 同步配置表
- plugin_activity_logs: 插件活动日志表
- 更新 main.py 添加插件相关 API 端点
- GET/POST /api/v1/plugins - 插件管理
- POST /api/v1/plugins/chrome/clip - Chrome 插件保存网页
- POST /api/v1/bots/webhook/{platform} - 接收机器人消息
- GET /api/v1/bots/sessions - 机器人会话列表
- POST /api/v1/webhook-endpoints - 创建 Webhook 端点
- POST /webhook/{type}/{token} - 接收外部 Webhook
- POST /api/v1/webdav-syncs - WebDAV 同步配置
- POST /api/v1/webdav-syncs/{id}/test - 测试 WebDAV 连接
- POST /api/v1/webdav-syncs/{id}/sync - 触发 WebDAV 同步
- 更新 requirements.txt 添加插件依赖
- beautifulsoup4: HTML 解析
- webdavclient3: WebDAV 客户端
- 更新 STATUS.md 和 README.md 开发进度
53 lines
835 B
Plaintext
53 lines
835 B
Plaintext
# InsightFlow Backend Dependencies
|
|
|
|
# Web Framework
|
|
fastapi==0.109.0
|
|
uvicorn[standard]==0.27.0
|
|
python-multipart==0.0.6
|
|
|
|
# HTTP Client
|
|
httpx==0.26.0
|
|
|
|
# Document Processing
|
|
PyPDF2==3.0.1
|
|
python-docx==1.1.0
|
|
|
|
# Data Processing
|
|
numpy==1.26.3
|
|
|
|
# Aliyun SDK
|
|
aliyun-python-sdk-core==2.14.0
|
|
oss2==2.18.5
|
|
|
|
# Utilities
|
|
python-dotenv==1.0.0
|
|
|
|
# Export functionality
|
|
pandas==2.2.0
|
|
openpyxl==3.1.2
|
|
reportlab==4.0.9
|
|
cairosvg==2.7.1
|
|
|
|
# Neo4j Graph Database
|
|
neo4j==5.15.0
|
|
|
|
# API Documentation (Swagger/OpenAPI)
|
|
fastapi-offline-swagger==0.1.0
|
|
|
|
# Phase 7: Workflow Automation
|
|
apscheduler==3.10.4
|
|
|
|
# Phase 7: Multimodal Support
|
|
ffmpeg-python==0.2.0
|
|
pillow==10.2.0
|
|
opencv-python==4.9.0.80
|
|
pytesseract==0.3.10
|
|
|
|
# Phase 7 Task 7: Plugin & Integration
|
|
webdav4==0.9.8
|
|
urllib3==2.2.0
|
|
|
|
# Phase 7: Plugin & Integration
|
|
beautifulsoup4==4.12.3
|
|
webdavclient3==3.14.6
|