mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-14 03:09:44 +02:00
format:check failed on src/web/server.ts and src/web/public/approvals-ui.js; both assignments fit on one line at printWidth 120. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -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 =
|
||||
`<span class="approval-terminal-hint" data-i18n-skip>Answer in the terminal</span>`;
|
||||
actions = `<span class="approval-terminal-hint" data-i18n-skip>Answer in the terminal</span>`;
|
||||
} else if (item.options && item.options.length) {
|
||||
actions = item.options
|
||||
.map(
|
||||
|
||||
+1
-2
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user