Merge branch 'main' into worktree-agent-a7c8c1a6937e97e84
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -187,6 +187,7 @@ func HandlerWithOptions(ctx context.Context, options Options, stores ...*pipelin
|
||||
tools.runs = stores[0]
|
||||
tools.broker = options.Chat
|
||||
events.observe(tools.observeRun)
|
||||
hub.queueResumed = tools.resumeRunFollowups
|
||||
registerChatTools(mux, tools, build.Version)
|
||||
}
|
||||
mux.HandleFunc("GET /discovery", serveServerDiscovery)
|
||||
@@ -631,6 +632,9 @@ func HandlerWithOptions(ctx context.Context, options Options, stores ...*pipelin
|
||||
hub.reattachSessions(ctx, options.Chat)
|
||||
// Restore live turn ownership before queue rooms can start runners.
|
||||
hub.resumeQueued(ctx, options.Chat)
|
||||
if hub.queueResumed != nil {
|
||||
hub.queueResumed(ctx)
|
||||
}
|
||||
close(ready)
|
||||
hub.observeRunningTurns(ctx, options.Chat)
|
||||
close(done)
|
||||
|
||||
Reference in New Issue
Block a user