Skip to content

feat: more tools & improvements#38

Merged
69gg merged 29 commits intomainfrom
feature/more-tools
Feb 21, 2026
Merged

feat: more tools & improvements#38
69gg merged 29 commits intomainfrom
feature/more-tools

Conversation

@69gg
Copy link
Copy Markdown
Owner

@69gg 69gg commented Feb 21, 2026

主要变更

新工具

  • get_member_title:获取群成员头衔
  • emoji reaction 工具(含竞态保护)
  • send_poke 拍一拍工具(含历史记录)

消息/历史

  • 统一文件发送层,补充文件历史
  • 支持从 URL 预检大小后发送文件
  • 群聊最近消息优先读取 OneBot,本地兜底
  • 统一 poke 历史格式,修复上下文注入
  • 拍一拍/poke 事件写入群聊/私聊历史
  • 历史记录最大条数支持通过配置文件设置([history] max_records

Prompts

  • 支持 res/IMPORTANT/each.md 每次消息注入
  • 补全 undefined_nagaagent.xml,添加防重复,强化多次执行

工具集

  • 工具集支持 callable.json,整合文档

其他

  • Agent→Tool 彩蛋文案加 agent_name 前缀
  • 群聊增加心理委员关键词触发彩蛋(1% 概率)
  • Agent 间调用彩蛋

Open with Devin

69gg and others added 24 commits February 19, 2026 17:13
- agent_tool_registry: 扩展 _scan_callable_main_tools 支持 toolsets/{category}/{tool_name}/callable.json
- 新增分类级 callable.json(toolsets/{category}/callable.json),上级覆盖下级,一次暴露整个分类
- 提取 _load_callable_config 和 _scan_callable_tools_in_dir 辅助方法消除重复
- 删除 docs/agent-calling.md,新建 docs/callable.md 统一覆盖三种用法
- 更新 README.md、skills/README.md、toolsets/README.md 相关说明
新增 _load_each_rules() 方法,在每次 build_messages() 时读取
res/IMPORTANT/each.md 并注入为 system 消息(当前时间之后、
用户消息之前),初始内容为 P0 级幽灵任务并发防重规则。

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
- 注入时添加"强制规则"标题,明确要求仔细阅读并遵守

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
chatgpt-codex-connector[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@69gg 69gg merged commit 672e529 into main Feb 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant