feat(keyboard): ship AI hint carousel, home library cards, and clipboard polish

Rotate AI idle suggestions with optional remote packs, move history/dictionary onto self-sizing Home preview cards, harden clipboard capture/prompting, and simplify keyboard chrome by dropping most liquid-glass shadows.
This commit is contained in:
Rocky
2026-08-13 01:00:51 +08:00
parent fd6e0d3e7e
commit 9f308fadd2
202 changed files with 10897 additions and 5962 deletions
@@ -26,7 +26,7 @@ public struct VolcengineASRFields: Sendable, Equatable {
public static let fixedResourceID = CloudASRModelCatalog.volcengineDefaultResourceID
public init(
authMode: VolcengineASRAuthMode = .appToken,
authMode: VolcengineASRAuthMode = .apiKey,
appID: String = "",
accessToken: String = "",
apiKeyCredential: String = ""
@@ -148,7 +148,7 @@ public struct VolcengineASRFields: Sendable, Equatable {
// Legacy JSON without auth_mode: prefer app-token when present.
if hasAppToken { return .appToken }
if hasAPIKey { return .apiKey }
return .appToken
return .apiKey
}
private static func string(_ json: [String: Any], keys: [String]) -> String? {