- 01 Jul, 2026 40 commits
-
-
- 新增e2e/scripts/run-single-pages-e2e.mjs运行脚本,支持一键启动single-pages的E2E测试 - 新增2个single-pages核心业务测试用例:预学习页面与SOP素材预览页面 - 更新e2e/package.json,添加test:single-pages运行命令 - 重构e2e/playwright.config.ts,统一管理多项目的Web服务配置 - 完善多Agent协作文档与各角色定义,明确单元测试、接口测试与E2E测试的责任边界 - 补充e2e/README.md的E2E用例生成规范与最佳实践
胡悦 committed -
修复两类核心字段映射异常: - 后端兼容使用script_json.gameSteps[*].summary作为stageSummary的兜底来源 - 调整高光阶段识别逻辑,支持isHighlight=true/非空highlightTitle判定,修复toBoolean函数支持'true'字符串 - 前端高光阶段优先展示highlightTitle,替代原有的stageName - 补充前后端测试覆盖真实数据场景 - 更新OpenSpec规范与项目归档文档
胡悦 committed -
sunqi02 committed
-
sunqi02 committed
-
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
- 每次 tool_result 后检查 intent_session,非空则注入 InMemoryMemory + SessionMemory - read_pending_messages 消费后 intent_session 已空,hook 自动跳过 - 3 个测试覆盖正常注入、空跳过、工具消费后跳过 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
- 使用 self.session_service.store 替代新 SessionStore() 实例 - 在 _build_all_agent_toolkits 中排除非 steward agent Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
- 读取并清空 intent_session,返回在途期间的新消息 - 注册到 basic 组,所有 Agent 可见 - 空时返回'无新消息',防重复注入 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
- save_to_db() 顺带写入 intent_session 字段 - get_or_create_session() 冷恢复 intent_session - 新 session KV 负载初始化 intent_session: [] Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
- save_to_db() 顺带写入 intent_session 字段 - get_or_create_session() 冷恢复 intent_session Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
sunqi02 committed
-
sunqi02 committed
-
sunqi02 committed
-
sunqi02 committed
-
sunqi02 committed
-
sunqi02 committed
-
sunqi02 committed
-
1. 清理 .gitignore 文件,移除 .workbuddy/、output/、*.ps1 等不必要的忽略规则 2. 删除过期的后端日志文件(2026年6月1日和6月2日) 3. 重新整理会议纪要技能使用文档,补充URL使用规范,修正命令示例与参数说明
wangzhiyang committed -
sunqi02 committed
-
sunqi02 committed
-
- MessageGate 新增 _extract_query_and_file_url() 静态方法 - _handle_actionable 签名改为接收预提取的 (query, file_url) - evaluate() 锁内 clear_pending,锁外调 AgentHub - MessageGate 新增 append_messages(),per-session 锁保护 buffer 追加 - endpoint 改用 append_messages() 替代裸 SessionBuffer.append() - 更新 MessageGate 测试适配锁重构 + LLM 临时放行 - 新增 4 个 _extract_query_and_file_url 单元测试 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
sunqi02 committed
-
AgentHub._current_route_ctx 是单例上的共享实例属性,并发请求在 agent.reply() yield 点后相互覆盖,导致子Agent 回复发到错误房间。 用 contextvars.ContextVar 替换,每个 asyncio Task 持有独立上下文。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
sunqi02 committed
-
该文件为本地开发使用的临时数据库,无需纳入版本控制,故将其从代码库移除
imwangxiaozhou committed -
sunqi02 committed
-
sunqi02 committed
-
同步更新测试用例以匹配新的返回数据结构
imwangxiaozhou committed -
- 新增`member_bot_ids`字段到ResolvedCustomerGroupBinding绑定类,存储客户群关联的机器人ID列表 - 替换旧的`_build_position_agents`方法为`_build_agents_from_member_bots`,通过成员机器人ID获取正确的代理商信息 - 移除接口返回中废弃的`bot_code`、`position`等旧字段 - 更新测试用例以匹配新的接口返回格式
imwangxiaozhou committed -
sunqi02 committed
-
sunqi02 committed
-
- refactor SessionMemory.add() to use Msg.to_dict(), rename agent_code to name - add remove_last() method for conditional cleanup - update get_messages() summary format to use Msg.to_dict() - adapt AgentHub to use Msg.from_dict() for history restoration - remove redundant agent_id/intent fields and sub-agent internal message save
sunqi02 committed -
- response_msg.content (raw) used for history storage - response_msg.get_text_content() used for return dict and logging - update _save_tool_interactions tests for new format (role/name/block structure) Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
- delete _dict_to_msg(), use Msg.from_dict() for history restoration - _save_tool_interactions() preserves full Block structure (type/id/name/input/output) - tool_use → role=assistant, tool_result → role=system - process_message() uses save-then-strip pattern for call_count >= 1 - remove sub-agent internal message save (call_sub_agent tool_result is sufficient) Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
- add() uses Msg.to_dict() internally, content supports str | list[dict] - rename agent_code param to name, mapping to Msg.name - add remove_last() for conditional cleanup - fix summary truncation to use standard format - drop redundant agent_id/intent fields Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
sunqi02 committed
-
sunqi02 committed
-