clay-server 2.27.0-beta.6 → 2.27.0-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/project-debate.js +4 -0
- package/package.json +1 -1
package/lib/project-debate.js
CHANGED
|
@@ -299,6 +299,10 @@ function attachDebate(ctx) {
|
|
|
299
299
|
}),
|
|
300
300
|
};
|
|
301
301
|
ctx.sendToSession(session.localId, briefReadyMsg);
|
|
302
|
+
// Also send to setup session if client switched there (quickStart flow)
|
|
303
|
+
if (debate.setupSessionId && debate.setupSessionId !== session.localId) {
|
|
304
|
+
ctx.sendToSession(debate.setupSessionId, briefReadyMsg);
|
|
305
|
+
}
|
|
302
306
|
} else {
|
|
303
307
|
console.log("[debate] Brief picked up, transitioning to live. Topic:", debate.topic);
|
|
304
308
|
// Transition to live (standard flow via modal/skill)
|