feat(keyboard): add clipboard history and undo pastes
Ship optional keyboard clipboard history with settings, suggestion strip, and paste-permission guidance; let undo roll back clipboard inserts; bump build to 64.
This commit is contained in:
@@ -84,6 +84,8 @@ public struct AppGroupStore: @unchecked Sendable {
|
||||
PolishStylePackCatalog.resolve(id: activePolishStyleId, userCatalog: polishStyleCatalog)
|
||||
}
|
||||
public var llmThinkingEnabled: Bool { configuration.llmThinkingEnabled }
|
||||
public var clipboardHistoryEnabled: Bool { configuration.clipboardHistoryEnabled }
|
||||
public var clipboardCandidateBarEnabled: Bool { configuration.clipboardCandidateBarEnabled }
|
||||
public var isPolishKeyMissing: Bool { configuration.isPolishKeyMissing }
|
||||
public var isTranslationEffective: Bool { configuration.isTranslationEffective }
|
||||
public var isLocalEngine: Bool { configuration.isLocalEngine }
|
||||
@@ -182,6 +184,16 @@ public struct AppGroupStore: @unchecked Sendable {
|
||||
AppGroupConfigDarwin.postConfigChanged()
|
||||
}
|
||||
|
||||
public func setClipboardHistoryEnabled(_ enabled: Bool) {
|
||||
mutateConfiguration { $0.clipboardHistoryEnabled = enabled }
|
||||
AppGroupConfigDarwin.postConfigChanged()
|
||||
}
|
||||
|
||||
public func setClipboardCandidateBarEnabled(_ enabled: Bool) {
|
||||
mutateConfiguration { $0.clipboardCandidateBarEnabled = enabled }
|
||||
AppGroupConfigDarwin.postConfigChanged()
|
||||
}
|
||||
|
||||
public func setLocalASRCustomLanguageModelEnabled(_ enabled: Bool) {
|
||||
mutateConfiguration { $0.localASRCustomLanguageModelEnabled = enabled }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user