Cursor: Apply local changes for cloud agent

This commit is contained in:
Rocky
2026-08-27 18:01:46 +08:00
parent 39002336c0
commit 42e6252f01
148 changed files with 120105 additions and 8122 deletions
@@ -29,7 +29,10 @@ public struct AIAgentSkillLayout: Codable, Equatable, Sendable {
}
public func isEnabled(_ id: String) -> Bool {
enabledIDs.contains(id)
let canonical = AIClipboardSkillCatalog.canonicalID(for: id)
return enabledIDs.contains {
AIClipboardSkillCatalog.canonicalID(for: $0) == canonical
}
}
public func hasConfirmedShortcut(_ id: String) -> Bool {