Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.
Rust acpagent-client-protocolai-agentsai-assistantclaudeclaude-codecodexcoding-agentscursorgeminigemini-cligrok-bot-alternativeiosiphonelinuxmacosmcpopen-sourcerustself-hosted
feat(macos): change text size with Command-plus and Command-minus
leepokai3e310b39de5d
diff --git a/apps/macos/App/CodyncMacApp.swift b/apps/macos/App/CodyncMacApp.swiftindex e7365910..44dc1043 100644--- a/apps/macos/App/CodyncMacApp.swift+++ b/apps/macos/App/CodyncMacApp.swift@@ -42,6 +42,16 @@ struct CodyncMacApp: App {}.defaultSize(width: 1100, height: 760).windowStyle(.hiddenTitleBar)+ .commands {+ CommandGroup(after: .toolbar) {+ Button("Bigger") { conversationFontSize = ConversationTypography.step(conversationFontSize, up: true) }+ .keyboardShortcut("+")+ Button("Smaller") { conversationFontSize = ConversationTypography.step(conversationFontSize, up: false) }+ .keyboardShortcut("-")+ Button("Actual Size") { conversationFontSize = ConversationTypography.defaultSize }+ .keyboardShortcut("0")+ }+ }MenuBarExtra {MenuView()diff --git a/kit/Sources/CodyncUI/Thread/ConversationTypography.swift b/kit/Sources/CodyncUI/Thread/ConversationTypography.swiftindex df231dc8..002c88bd 100644--- a/kit/Sources/CodyncUI/Thread/ConversationTypography.swift+++ b/kit/Sources/CodyncUI/Thread/ConversationTypography.swift@@ -8,6 +8,11 @@ public struct ConversationTypography: Sendable {public let pointSize: Double+ /// The next larger (`up`) or smaller size in `sizes` for ⌘+ / ⌘−, staying at either end.+ public static func step(_ size: Double, up: Bool) -> Double {+ (up ? sizes.first { $0 > size } : sizes.last { $0 < size }) ?? size+ }+public init(pointSize: Double = ConversationTypography.defaultSize) {self.pointSize = pointSize.isFinite ? min(max(pointSize, 11), 18) : Self.defaultSize}diff --git a/kit/Tests/CodyncUITests/ConversationTypographyTests.swift b/kit/Tests/CodyncUITests/ConversationTypographyTests.swiftindex 942cd13f..0c2a1311 100644--- a/kit/Tests/CodyncUITests/ConversationTypographyTests.swift+++ b/kit/Tests/CodyncUITests/ConversationTypographyTests.swift@@ -12,6 +12,14 @@ import Testing#expect(ConversationTypography(pointSize: 12.5).pointSize == 12.5)}+@Test func conversationTypographyStepsThroughSizes() {+ #expect(ConversationTypography.step(12, up: true) == 13)+ #expect(ConversationTypography.step(12.5, up: true) == 13)+ #expect(ConversationTypography.step(12.5, up: false) == 12)+ #expect(ConversationTypography.step(18, up: true) == 18)+ #expect(ConversationTypography.step(11, up: false) == 11)+}+#if os(macOS)@Test func conversationTypographyPreservesTextHierarchyWhenResized() throws {guard #available(macOS 26, *) else { return }