Skip to content

Commit 683613b

Browse files
tomasstrbaclaude
andcommitted
Rephrase enableAskAiSuggestion description to drop native-impl detail
Addresses Cursor Bugbot finding: the "back-compat with older native clients" phrasing in the schema description leaked native-side detail into the generated TS type comment. Replaced with the more neutral "for backward compatibility", matching the framing used by other OmnibarConfig fields like enableVoiceChatAccess. No behaviour change. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 003b9da commit 683613b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

special-pages/pages/new-tab/messages/types/omnibar-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
},
134134
"enableAskAiSuggestion": {
135135
"title": "Enable Ask Duck.ai Suggestion",
136-
"description": "Controls whether the inline 'Ask Duck.ai: <query>' suggestion is rendered in the omnibar dropdown. Missing/undefined is treated as true for back-compat with older native clients. Does not affect the Duck.ai mode pill or any other AI affordance — those remain governed by enableAi.",
136+
"description": "Controls whether the inline 'Ask Duck.ai: <query>' suggestion is rendered in the omnibar dropdown. Missing/undefined is treated as true for backward compatibility. Does not affect the Duck.ai mode pill or any other AI affordance — those remain governed by enableAi.",
137137
"type": "boolean",
138138
"default": true
139139
}

special-pages/pages/new-tab/types/new-tab.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export type EnableWebSearch = boolean;
111111
*/
112112
export type EnableVoiceChatAccess = boolean;
113113
/**
114-
* Controls whether the inline 'Ask Duck.ai: <query>' suggestion is rendered in the omnibar dropdown. Missing/undefined is treated as true for back-compat with older native clients. Does not affect the Duck.ai mode pill or any other AI affordance — those remain governed by enableAi.
114+
* Controls whether the inline 'Ask Duck.ai: <query>' suggestion is rendered in the omnibar dropdown. Missing/undefined is treated as true for backward compatibility. Does not affect the Duck.ai mode pill or any other AI affordance — those remain governed by enableAi.
115115
*/
116116
export type EnableAskDuckAiSuggestion = boolean;
117117
export type FeedType = "privacy-stats" | "activity";

0 commit comments

Comments
 (0)