- 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 |
||
|---|---|---|
| .. | ||
| base.go | ||
| cron.go | ||
| edit.go | ||
| edit_test.go | ||
| filesystem.go | ||
| filesystem_test.go | ||
| message.go | ||
| message_test.go | ||
| registry.go | ||
| result.go | ||
| result_test.go | ||
| shell.go | ||
| shell_test.go | ||
| spawn.go | ||
| subagent.go | ||
| subagent_tool_test.go | ||
| toolloop.go | ||
| types.go | ||
| web.go | ||
| web_test.go | ||