picoclaw/pkg/channels
yinwm 8851152cbd refactor(tools): extract shared logic for internal channels and tool definitions
- Add constants package with IsInternalChannel helper to centralize internal channel checks across agent, channels, and heartbeat services
- Add ToProviderDefs method to ToolRegistry to consolidate tool definition conversion logic used in agent loop and tool loop
- Refactor SubagentTool.Execute to use RunToolLoop for consistent tool execution with iteration tracking
- Remove duplicate inline map definitions and type assertion code throughout codebase
2026-02-13 15:05:16 +08:00
..
base.go feat: add Telegram proxy support and flexible allow_from matching 2026-02-12 22:38:47 +08:00
dingtalk.go refactor(channels): consolidate media handling and improve resource cleanup 2026-02-12 12:46:28 +08:00
discord.go refactor(channels): consolidate media handling and improve resource cleanup 2026-02-12 12:46:28 +08:00
feishu.go Remove duplicate truncate functions, reuse utils.Truncate 2026-02-12 00:46:48 +08:00
maixcam.go * First commit 2026-02-09 19:20:19 +08:00
manager.go refactor(tools): extract shared logic for internal channels and tool definitions 2026-02-13 15:05:16 +08:00
qq.go add QQ channel support 2026-02-11 00:00:53 +08:00
slack.go refactor(channels): consolidate media handling and improve resource cleanup 2026-02-12 12:46:28 +08:00
slack_test.go refactor(channels): consolidate media handling and improve resource cleanup 2026-02-12 12:46:28 +08:00
telegram.go feat: add Telegram proxy support and flexible allow_from matching 2026-02-12 22:38:47 +08:00
whatsapp.go Remove duplicate truncate functions, reuse utils.Truncate 2026-02-12 00:46:48 +08:00