spb/zyquo-atlas Public License
The AI-native macOS web browser — every surface, intelligent.
Swift 75.2%
JavaScript 22%
Shell 2%
Makefile 0.9%
1//2// HistoryEntry.swift3// Zyquo Atlas4//5// Author: Simon-Pierre Boucher6// Mail: contact@spboucher.ai7//8// A single browsing-history visit (url + title + timestamp + visit count).9// Backed by HistoryService; surfaced in the full-text-searchable history view10// and "ask AI about my history" (Phase 4.3 spec). Never leaves the device.11//1213import Foundation1415struct HistoryEntry: Identifiable, Codable, Hashable {16 let id: UUID17 var url: String18 var title: String19 var lastVisit: Date20 var visitCount: Int2122 init(id: UUID = UUID(), url: String, title: String,23 lastVisit: Date = Date(), visitCount: Int = 1) {24 self.id = id25 self.url = url26 self.title = title27 self.lastVisit = lastVisit28 self.visitCount = visitCount29 }3031 var host: String { URL(string: url)?.host ?? url }32}33