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
fix: link the privacy policy for details in the usage analytics sheet
leepokai3e0ac92238d6
diff --git a/apps/desktop/src/renderer/components/Controls.tsx b/apps/desktop/src/renderer/components/Controls.tsxindex da183793..cd1b3047 100644--- a/apps/desktop/src/renderer/components/Controls.tsx+++ b/apps/desktop/src/renderer/components/Controls.tsx@@ -133,7 +133,7 @@ export function CardForm({ children, style }: { children: ReactNode; style?: CSS* A titled group of rows (ChatGPT's desktop settings): a small bold heading over a filled,* rounded group whose rows are split by inset hairlines.*/-export function CardSection({ title, footer, accessory, children }: { title?: string | null; footer?: string | null; accessory?: ReactNode; children: ReactNode }) {+export function CardSection({ title, footer, accessory, children }: { title?: string | null; footer?: ReactNode; accessory?: ReactNode; children: ReactNode }) {const rows = Children.toArray(children)return (<section className="card-section">diff --git a/apps/desktop/src/renderer/views/settings/AnalyticsSheet.tsx b/apps/desktop/src/renderer/views/settings/AnalyticsSheet.tsxindex 531ac569..911877db 100644--- a/apps/desktop/src/renderer/views/settings/AnalyticsSheet.tsx+++ b/apps/desktop/src/renderer/views/settings/AnalyticsSheet.tsx@@ -22,7 +22,17 @@ export function AnalyticsSheet() {<div style={{ display: 'flex', flexDirection: 'column', height: '100%', background: 'var(--background)' }}><ModalHeader title="Usage analytics" /><CardForm>- <CardSection>+ <CardSection+ footer={+ <>+ See the{' '}+ <button style={{ color: 'var(--text)', textDecoration: 'underline' }} onClick={() => window.codync.app.openExternal(PRIVACY_POLICY)}>+ Privacy Policy+ </button>{' '}+ for details.+ </>+ }+ >{details.map((d) => (<div key={d.title} className="settings-row" style={{ alignItems: 'flex-start' }}><span style={{ width: 20, display: 'flex', justifyContent: 'center', paddingTop: 2 }}>@@ -35,11 +45,6 @@ export function AnalyticsSheet() {</div>))}</CardSection>- <CardSection>- <button className="press" style={{ ...font('body'), color: 'var(--text)', alignSelf: 'flex-start' }} onClick={() => window.codync.app.openExternal(PRIVACY_POLICY)}>- Privacy Policy- </button>- </CardSection></CardForm></div>)diff --git a/apps/ios/Kit/Sources/CodyncUI/AnalyticsSheet.swift b/apps/ios/Kit/Sources/CodyncUI/AnalyticsSheet.swiftindex cb391b63..01c0a109 100644--- a/apps/ios/Kit/Sources/CodyncUI/AnalyticsSheet.swift+++ b/apps/ios/Kit/Sources/CodyncUI/AnalyticsSheet.swift@@ -4,8 +4,6 @@ import SwiftUI/// Settings' info button beside Share usage analytics: everything it covers. The same text as the/// desktop app's and the terminal UI's, true to the privacy policy.public struct AnalyticsSheet: View {- @Environment(\.openURL) private var openURL-private static let details: [(icon: String, title: String, detail: String)] = [("chart.bar", "Features you use", "Opening the app, creating or deleting a bot, sending a message (how many attachments, never the files), running a routine or a voice call, installing a connector. Each comes with the app version, the platform, and the bot's agent and model."),("exclamationmark.triangle", "Crashes and errors", "When Codync crashes or an agent fails to answer: the kind of error and where in Codync's own code it happened. Never the error's message; file paths are cut down to Codync's own files."),@@ -16,6 +14,16 @@ public struct AnalyticsSheet: View {("power", "Your choice", "Each iPhone and each computer has its own switch. Turning it off stops sending right away and drops anything not sent yet."),]+ /// The footer, with "Privacy Policy" an underlined link.+ private static let policy: AttributedString = {+ var text = AttributedString("See the Privacy Policy for details.")+ if let range = text.range(of: "Privacy Policy") {+ text[range].link = URL(string: "https://codync.dev/privacy")+ text[range].underlineStyle = .single+ }+ return text+ }()+public init() {}public var body: some View {@@ -38,11 +46,11 @@ public struct AnalyticsSheet: View {}}}- CardSection {- Button("Privacy Policy") { openURL(URL(string: "https://codync.dev/privacy")!) }- .buttonStyle(.plain)- .foregroundStyle(Palette.text)- }+ Text(Self.policy)+ .font(.caption)+ .foregroundStyle(Palette.secondary)+ .tint(Palette.text)+ .padding(.horizontal, 2)}}.background(Palette.background)diff --git a/host/src/tui/view/analytics.rs b/host/src/tui/view/analytics.rsindex 9f69d03c..a2ee783b 100644--- a/host/src/tui/view/analytics.rs+++ b/host/src/tui/view/analytics.rs@@ -2,6 +2,7 @@use ratatui::buffer::Buffer;use ratatui::layout::Rect;+use ratatui::style::Modifier;use ratatui::text::{Line, Span};use super::super::manage::AnalyticsSheet;@@ -57,7 +58,10 @@ pub(super) fn analytics(buf: &mut Buffer, area: Rect, s: &AnalyticsSheet) {lines.extend(md::wrap(&[Span::styled(detail, t.secondary)], width, &[Span::raw(" ")], &[Span::raw(" ")]));lines.push(Line::default());}- lines.push(Line::from(Span::styled(" Privacy policy: https://codync.dev/privacy", t.dim)));+ lines.push(Line::from(vec![+ Span::styled(" See the Privacy Policy for details: ", t.dim),+ Span::styled("https://codync.dev/privacy", t.dim.add_modifier(Modifier::UNDERLINED)),+ ]));let h = usize::from(body.height);let max = lines.len().saturating_sub(h);s.max_scroll.set(max);