oudecheng
cea4bd3cfb
feat: 子代理支持数据驱动的工具过滤(白名单+黑名单),删除内置 explore
SUBAGENT.md frontmatter 新增 denied_tools 黑名单字段,启用已有的 allowed_tools 白名单;新增 ToolRegistry::only 白名单方法;抽取 build_subagent_tools_registry(白名单→黑名单→depth 兜底);安全修复:resume 在 def 失踪时拒绝恢复而非降级为完整工具集(避免权限提升);depth 阈值改为引用 max_nesting_depth 配置;SubagentWithStatus 暴露工具字段供前端只读展示;删除内置 explore 子代理及专属 explore_max_execution_secs 配置(全栈清理);新增 23 个测试覆盖过滤矩阵、frontmatter 解析、状态投影
2026-07-09 14:42:38 +08:00
..
2026-06-08 14:43:47 +08:00
2026-07-09 14:42:38 +08:00
2026-05-26 17:43:15 +08:00
2026-06-08 14:43:47 +08:00
2026-07-08 11:24:10 +08:00
2026-07-08 11:24:10 +08:00
2026-05-26 17:43:15 +08:00
2026-05-26 17:43:15 +08:00
2026-05-26 17:43:15 +08:00
2026-05-26 17:43:15 +08:00
2026-06-15 17:22:32 +08:00
2026-07-08 11:24:10 +08:00