renjianbo
9454dee976
feat: complete remaining plan items — all 4 phases fully implemented
...
- Task API: add execute and retry endpoints
- Agent API: add create-main-agent endpoint and execute with graph/debate/pipeline modes
- Feishu tools: add read_messages, create_sheet, upload_file (54 builtin tools total)
- Feishu events: group @mention handling, approval callback, auto daily reporting
- Feishu app service: add send_plain_text_to_group for group chat replies
- Typed Data Ports: template variable injection {{previous.output.field}} + output schema validation
- GoalDetail.vue: Gantt timeline view + real-time progress polling (10s)
- Autonomy loop: per-goal Celery Beat scheduling via sync_autonomy_schedule_for_goal
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-05-08 22:36:03 +08:00
renjianbo
d0b55f2b16
feat: expose graph orchestration mode, fix pipeline multi-agent, add Feishu tools (Phase 3)
...
增强编排 + 飞书深度集成:
- Graph 模式:暴露 orchestrator._graph() 到 run() 方法,workflow_integration 支持 graph nodes/edges
- Pipeline 修复:多 Agent 按步骤轮转分配,不再只用 agents[0]
- 4个飞书操作工具: feishu_create_doc / feishu_create_calendar_event / feishu_search_contacts / feishu_send_approval
- 飞书 @mention→Goal:feishu/ orange WS handler 支持 "目标: xxx" 触发自动创建 Goal
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-05-08 20:08:26 +08:00
renjianbo
f33bc461ff
fix: resolve Feishu cross-app notification routing bug
...
Implement per-app open_id storage via user_feishu_open_ids table with
union_id-based cross-app user identification. WS handlers now auto-capture
open_id+union_id and resolve/associate user accounts. Schedule notifications
route through the correct bot's open_id instead of always falling back to 苹果.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-05-06 00:36:40 +08:00
renjianbo
d895922438
fix: inject agent_id into system prompt for all WS handlers + enhance schedule_delete
...
- All 5 WS handlers (lingxi/feishu/orange/suyao/tiantian) now inject agent_id
into LLM system prompt so agents know their own ID for schedule_list calls
- schedule_delete_tool now supports agent_id parameter for ownership checks
and bulk delete by agent_id
- SCHEDULE_DELETE_SCHEMA updated: required fields now empty, supports
both schedule_id and agent_id params
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-05-04 22:31:11 +08:00
renjianbo
a924486f26
feat: add Suyao Feishu bot and per-agent memory config support
...
- Create suyao_app_service.py and suyao_ws_handler.py for 苏瑶 Feishu bot
- Add SUYAO_APP_ID/SUYAO_APP_SECRET/SUYAO_AGENT_ID config fields
- Fix node config extraction bug (n.get("config") → n.get("data")) in all WS handlers
- Add _build_memory_config_from_node() to support per-agent memory settings
(max_history_messages, vector_memory_top_k, persist_to_db, etc.)
- Create 苏瑶1号 (Plan A: long context), 苏瑶2号 (Plan B: emotion tracking),
苏瑶3号 (Plan C: knowledge graph + RAG) agents with different memory strategies
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-05-02 21:44:47 +08:00
renjianbo
7ee80c74b2
feat: 集成飞书通知和机器人对话系统
...
- 新增通知系统 (notifications 表、服务、API)
- 新增飞书定时任务结果推送 (webhook + 应用消息)
- 新增飞书应用消息发送服务 (feishu_app_service)
- 新增飞书 WebSocket 长连接事件监听 (苹果应用)
- 新增飞书账号绑定/解绑 API
- 新增橙子飞书机器人 (独立 WS 连接,固定路由到橙子助手 Agent)
- 执行记录添加 schedule_id,用户添加飞书绑定字段
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-02 16:17:49 +08:00