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// Profile.swift3// Zyquo Atlas4//5// Author: Simon-Pierre Boucher6// Mail: contact@spboucher.ai7//8// A browsing profile: an identity with its own website data store (cookies,9// cache, local storage). Private profiles use a non-persistent store so no10// browsing data touches disk. Phase 4 gives each profile its own theme,11// favorites, and tabs; Phase 2 needs the identity + data-store distinction.12//1314import Foundation1516struct Profile: Identifiable, Hashable {17 let id: UUID18 var name: String19 /// When true, browsing uses a non-persistent data store (incognito).20 let isPrivate: Bool2122 init(id: UUID = UUID(), name: String, isPrivate: Bool = false) {23 self.id = id24 self.name = name25 self.isPrivate = isPrivate26 }2728 /// The default persistent profile created on first launch.29 static let defaultProfile = Profile(30 id: UUID(uuidString: "00000000-0000-0000-0000-0000000A71A5")!,31 name: "Personal",32 isPrivate: false33 )3435 /// The shared private profile (non-persistent).36 static let privateProfile = Profile(37 id: UUID(uuidString: "00000000-0000-0000-0000-0000000B1A2E")!,38 name: "Private",39 isPrivate: true40 )41}42