- Update ToolRegistry.ExecuteWithContext to accept asyncCallback parameter - Check if tool implements AsyncTool and set callback if provided - Define asyncCallback in AgentLoop.runLLMIteration - Callback uses bus.PublishOutbound to send async results to user - Update Execute method to pass nil for backward compatibility - Add debug logging for async callback injection Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| base.go | ||
| cron.go | ||
| cron.go.bak2 | ||
| cron.go.broken | ||
| edit.go | ||
| filesystem.go | ||
| message.go | ||
| registry.go | ||
| result.go | ||
| result_test.go | ||
| shell.go | ||
| spawn.go | ||
| subagent.go | ||
| types.go | ||
| web.go | ||