Rename app from oAI to Confab

"oAI" reads as easily confused with OpenAI, both visually and in
casual conversation. Renamed to "Confab" throughout: Xcode
target/scheme/bundle ID (com.oai.Confab), Info.plist and Help Book
identity, all user-facing UI text, internal Log subsystem and color
identifiers, localization catalogs (6 languages, including a proper
reworded/retranslated Intel-deprecation notice), Help Book HTML
content, and docs (README/DEVELOPMENT/PRIVACY/SECURITY).

Deliberately cosmetic-only: the on-disk data folder
(~/Library/Application Support/oAI/), database/backup filenames,
Keychain service identifiers, and EncryptionService's key-derivation
inputs are all left untouched so existing conversations, settings,
and stored API keys survive the update with zero migration and no
re-entering credentials. Verified live: a real signed build
successfully decrypted a stored API key and loaded an existing
conversation database after the bundle ID change.

Also includes a small already-completed, previously uncommitted
model-release-date feature (ModelInfo/OpenRouterModels/
OpenRouterProvider/ModelInfoView) that happened to share several
files with this rename.

Gitignored on this branch and updated on disk but not part of this
commit: CLAUDE.md, RELEASE_NOTES.md, and the build*.sh scripts.
This commit is contained in:
2026-08-02 14:58:14 +02:00
parent ae3de3d927
commit 76b58e6fdc
121 changed files with 987 additions and 692 deletions
+18 -18
View File
@@ -1,17 +1,17 @@
//
// Color+Extensions.swift
// oAI
// Confab
//
// Color scheme matching Python TUI dark theme
//
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0
// Copyright (C) 2026 Rune Olsen
//
// This file is part of oAI.
// This file is part of Confab.
//
// oAI is licensed under the PolyForm Noncommercial License 1.0.0.
// Confab is licensed under the PolyForm Noncommercial License 1.0.0.
// You may use, study, modify, and share it for any noncommercial
// purpose. Commercial use including selling oAI or any part of
// purpose. Commercial use including selling Confab or any part of
// it, standalone or bundled into another product or service
// requires a separate commercial license from the copyright holder.
//
@@ -26,30 +26,30 @@ import SwiftUI
extension Color {
// MARK: - oAI Color Palette (Matching Python TUI)
static let oaiBackground = Color(hex: "#1e1e1e") // Main background
static let oaiSurface = Color(hex: "#2d2d2d") // Cards, surfaces
static let oaiPrimary = Color(hex: "#cccccc") // Primary text
static let oaiSecondary = Color(hex: "#888888") // Secondary text
static let oaiAccent = Color(hex: "#0a7aca") // Blue accent (assistant)
static let oaiSuccess = Color(hex: "#90ee90") // Green (user messages)
static let oaiError = Color(hex: "#ff6b6b") // Red (errors)
static let oaiWarning = Color(hex: "#ffaa00") // Orange (warnings)
static let oaiBorder = Color(hex: "#555555") // Borders, dividers
static let confabBackground = Color(hex: "#1e1e1e") // Main background
static let confabSurface = Color(hex: "#2d2d2d") // Cards, surfaces
static let confabPrimary = Color(hex: "#cccccc") // Primary text
static let confabSecondary = Color(hex: "#888888") // Secondary text
static let confabAccent = Color(hex: "#0a7aca") // Blue accent (assistant)
static let confabSuccess = Color(hex: "#90ee90") // Green (user messages)
static let confabError = Color(hex: "#ff6b6b") // Red (errors)
static let confabWarning = Color(hex: "#ffaa00") // Orange (warnings)
static let confabBorder = Color(hex: "#555555") // Borders, dividers
// MARK: - Message Role Colors
static func messageColor(for role: MessageRole) -> Color {
switch role {
case .user: return .oaiSuccess
case .assistant: return .oaiAccent
case .system: return .oaiSecondary
case .user: return .confabSuccess
case .assistant: return .confabAccent
case .system: return .confabSecondary
}
}
static func messageBackground(for role: MessageRole) -> Color {
switch role {
case .user: return .oaiSurface
case .assistant: return .oaiBackground
case .user: return .confabSurface
case .assistant: return .confabBackground
case .system: return Color(hex: "#2a2a2a")
}
}
@@ -1,17 +1,17 @@
//
// String+Extensions.swift
// oAI
// Confab
//
// String utility extensions
//
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0
// Copyright (C) 2026 Rune Olsen
//
// This file is part of oAI.
// This file is part of Confab.
//
// oAI is licensed under the PolyForm Noncommercial License 1.0.0.
// Confab is licensed under the PolyForm Noncommercial License 1.0.0.
// You may use, study, modify, and share it for any noncommercial
// purpose. Commercial use including selling oAI or any part of
// purpose. Commercial use including selling Confab or any part of
// it, standalone or bundled into another product or service
// requires a separate commercial license from the copyright holder.
//
+13 -13
View File
@@ -1,17 +1,17 @@
//
// View+Extensions.swift
// oAI
// Confab
//
// SwiftUI view helpers and modifiers
//
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0
// Copyright (C) 2026 Rune Olsen
//
// This file is part of oAI.
// This file is part of Confab.
//
// oAI is licensed under the PolyForm Noncommercial License 1.0.0.
// Confab is licensed under the PolyForm Noncommercial License 1.0.0.
// You may use, study, modify, and share it for any noncommercial
// purpose. Commercial use including selling oAI or any part of
// purpose. Commercial use including selling Confab or any part of
// it, standalone or bundled into another product or service
// requires a separate commercial license from the copyright holder.
//
@@ -57,33 +57,33 @@ extension View {
// MARK: - Common Styling
func oaiCardStyle() -> some View {
func confabCardStyle() -> some View {
self
.background(Color.oaiSurface)
.background(Color.confabSurface)
.cornerRadius(8)
.overlay(
RoundedRectangle(cornerRadius: 8)
.stroke(Color.oaiBorder, lineWidth: 1)
.stroke(Color.confabBorder, lineWidth: 1)
)
}
func oaiButton() -> some View {
func confabButton() -> some View {
self
.padding(.horizontal, 12)
.padding(.vertical, 6)
.background(Color.oaiSurface)
.foregroundColor(.oaiPrimary)
.background(Color.confabSurface)
.foregroundColor(.confabPrimary)
.cornerRadius(6)
}
func oaiTextField() -> some View {
func confabTextField() -> some View {
self
.padding(8)
.background(Color.oaiBackground)
.background(Color.confabBackground)
.cornerRadius(6)
.overlay(
RoundedRectangle(cornerRadius: 6)
.stroke(Color.oaiBorder, lineWidth: 1)
.stroke(Color.confabBorder, lineWidth: 1)
)
}
}
+6 -6
View File
@@ -1,17 +1,17 @@
//
// Logging.swift
// oAI
// Confab
//
// Dual logging: os.Logger (unified log) + file (~Library/Logs/oAI.log)
//
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0
// Copyright (C) 2026 Rune Olsen
//
// This file is part of oAI.
// This file is part of Confab.
//
// oAI is licensed under the PolyForm Noncommercial License 1.0.0.
// Confab is licensed under the PolyForm Noncommercial License 1.0.0.
// You may use, study, modify, and share it for any noncommercial
// purpose. Commercial use including selling oAI or any part of
// purpose. Commercial use including selling Confab or any part of
// it, standalone or bundled into another product or service
// requires a separate commercial license from the copyright holder.
//
@@ -82,7 +82,7 @@ final class FileLogger: @unchecked Sendable {
private init() {
let logsDir = FileManager.default.homeDirectoryForCurrentUser
.appendingPathComponent("Library/Logs")
let logFile = logsDir.appendingPathComponent("oAI.log")
let logFile = logsDir.appendingPathComponent("Confab.log")
// Ensure file exists
if !FileManager.default.fileExists(atPath: logFile.path) {
@@ -142,7 +142,7 @@ struct AppLogger: Sendable {
// MARK: - Log Namespace
enum Log {
private nonisolated static let subsystem = "com.oai.oAI"
nonisolated static let subsystem = "com.oai.Confab"
nonisolated static let api = AppLogger(subsystem: subsystem, category: "api")
nonisolated static let db = AppLogger(subsystem: subsystem, category: "database")
+4 -4
View File
@@ -1,17 +1,17 @@
//
// SyntaxHighlighter.swift
// oAI
// Confab
//
// Keyword-based syntax highlighting using AttributedString
//
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0
// Copyright (C) 2026 Rune Olsen
//
// This file is part of oAI.
// This file is part of Confab.
//
// oAI is licensed under the PolyForm Noncommercial License 1.0.0.
// Confab is licensed under the PolyForm Noncommercial License 1.0.0.
// You may use, study, modify, and share it for any noncommercial
// purpose. Commercial use including selling oAI or any part of
// purpose. Commercial use including selling Confab or any part of
// it, standalone or bundled into another product or service
// requires a separate commercial license from the copyright holder.
//