Play rounds end in present.v1 body instead of creation HITL.
Narrator uses capability-probed structured delivery and falls back to shell body on failure; play UI hides worker questions and keeps thinking on process rows. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -851,7 +851,8 @@ export class SessionManager {
|
||||
kind !== "approve_step" &&
|
||||
kind !== "revision" &&
|
||||
kind !== "next_intent" &&
|
||||
kind !== "pick_creation_step"
|
||||
kind !== "pick_creation_step" &&
|
||||
kind !== "worker_questions"
|
||||
) {
|
||||
return;
|
||||
}
|
||||
@@ -1875,12 +1876,23 @@ export class SessionManager {
|
||||
this.captureCheckpoint(managed),
|
||||
);
|
||||
const usage = managed.trackingRef.current.pendingUsage;
|
||||
const thinking = managed.trackingRef.current.pendingReasoning;
|
||||
const sessionId = managed.trackingRef.current.sessionId;
|
||||
const liveThinking = sessionId
|
||||
? this.workerLive.get(sessionId)?.thinking?.trim()
|
||||
: "";
|
||||
managed.trackingRef.current.pendingUsage = undefined;
|
||||
const pendingReasoning = managed.trackingRef.current.pendingReasoning;
|
||||
managed.trackingRef.current.pendingReasoning = undefined;
|
||||
|
||||
const classified =
|
||||
text.trim().length > 0 ? classifyAgentMessage(text) : null;
|
||||
const thinking =
|
||||
pendingReasoning ||
|
||||
(classified?.kind === "worker_output" ||
|
||||
classified?.kind === "worker_questions"
|
||||
? liveThinking
|
||||
: "") ||
|
||||
undefined;
|
||||
const pendingTrace = managed.trackingRef.current.pendingContextTrace;
|
||||
let contextTrace: LlmContextTrace | undefined;
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user