@@ -1088,19 +1088,14 @@ export class SessionService {
10881088 this . d . log . warn ( "Failed to verify workspace" , { taskId, err } ) ;
10891089 } ) ;
10901090
1091- const {
1092- customInstructions,
1093- rtkEnabledLocal,
1094- spokenNotifications,
1095- spokenNarrationEnabled,
1096- } = this . d . settings ;
1091+ const { customInstructions, rtkEnabledLocal, spokenNarrationEnabled } =
1092+ this . d . settings ;
10971093 const result = await this . d . trpc . agent . reconnect . mutate ( {
10981094 taskId,
10991095 taskRunId,
11001096 repoPath,
11011097 rtkEnabled : rtkEnabledLocal ,
1102- spokenNarration :
1103- spokenNotifications === true && spokenNarrationEnabled === true ,
1098+ spokenNarration : spokenNarrationEnabled === true ,
11041099 apiHost : auth . apiHost ,
11051100 projectId : auth . projectId ,
11061101 logUrl,
@@ -1423,7 +1418,6 @@ export class SessionService {
14231418 const {
14241419 customInstructions : startCustomInstructions ,
14251420 rtkEnabledLocal,
1426- spokenNotifications,
14271421 spokenNarrationEnabled,
14281422 } = this . d . settings ;
14291423 const preferredModel = model ?? this . d . DEFAULT_GATEWAY_MODEL ;
@@ -1437,8 +1431,7 @@ export class SessionService {
14371431 adapter,
14381432 customInstructions : startCustomInstructions || undefined ,
14391433 rtkEnabled : rtkEnabledLocal ,
1440- spokenNarration :
1441- spokenNotifications === true && spokenNarrationEnabled === true ,
1434+ spokenNarration : spokenNarrationEnabled === true ,
14421435 effort : effortLevelSchema . safeParse ( reasoningLevel ) . success
14431436 ? ( reasoningLevel as EffortLevel )
14441437 : undefined ,
@@ -3415,6 +3408,7 @@ export class SessionService {
34153408 prAuthorshipMode,
34163409 autoPublish : previousState . auto_publish === true || undefined ,
34173410 rtkEnabled : this . d . settings . rtkEnabledCloud ,
3411+ spokenNarration : this . d . settings . spokenNarrationEnabled === true ,
34183412 runSource : getCloudRunSource ( previousState ) ,
34193413 signalReportId :
34203414 typeof previousState . signal_report_id === "string"
0 commit comments