diff --git a/src/web/public/approvals-ui.js b/src/web/public/approvals-ui.js index 6769b00b..18322fb9 100644 --- a/src/web/public/approvals-ui.js +++ b/src/web/public/approvals-ui.js @@ -264,8 +264,7 @@ Object.assign(CodemanApp.prototype, { } else if (item.answerInTerminal) { // Supervised-hook CLIs (DeepSeek Harness): keystrokes are unverifiable, so // Approve/Deny would hit the answer route and fail. Offer only Open session. - actions = - `Answer in the terminal`; + actions = `Answer in the terminal`; } else if (item.options && item.options.length) { actions = item.options .map( diff --git a/src/web/server.ts b/src/web/server.ts index 74efd7b5..d441990d 100644 --- a/src/web/server.ts +++ b/src/web/server.ts @@ -2776,8 +2776,7 @@ export class WebServer extends EventEmitter { // strips their action buttons — buttons without an id can never answer. approvalId: approvalsEnabled && typeof data.approvalId === 'string' ? data.approvalId : undefined, urgency: template.urgency, - actions: - approvalsEnabled && typeof data.approvalId === 'string' ? template.actions : undefined, + actions: approvalsEnabled && typeof data.approvalId === 'string' ? template.actions : undefined, }); for (const sub of subscriptions) {