mirror of
https://github.com/sipeed/picoclaw.git
synced 2026-06-12 18:08:54 +00:00
ae23193295
- Replace duplicate types (ToolResult/Session/Message) with real project types - Implement ephemeralSessionStore satisfying session.SessionStore interface - Connect runTurn to real AgentLoop via runAgentLoop + AgentInstance - Fix subturn_test.go to match updated signatures and types Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
13 lines
194 B
Go
13 lines
194 B
Go
package agent
|
|
|
|
import "fmt"
|
|
|
|
// MockEventBus - for POC
|
|
var MockEventBus = struct {
|
|
Emit func(event any)
|
|
}{
|
|
Emit: func(event any) {
|
|
fmt.Printf("[Mock EventBus] %T %+v\n", event, event)
|
|
},
|
|
}
|