Skip to content

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.

fix(desktop): make message links recognizable (#146)

Kai Wuda2552666588
diff --git a/apps/Codync.xcodeproj/project.pbxproj b/apps/Codync.xcodeproj/project.pbxproj
index de5228c2..dc68bbb4 100644
--- a/apps/Codync.xcodeproj/project.pbxproj
+++ b/apps/Codync.xcodeproj/project.pbxproj
@@ -111,7 +111,7 @@
0C44BCF971511A5E94D073D5 /* CodyncOrb-Dot.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "CodyncOrb-Dot.ttf"; sourceTree = "<group>"; };
120FD9DBA315A6DD543463D8 /* CodyncBot-tablet-Ink.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "CodyncBot-tablet-Ink.ttf"; sourceTree = "<group>"; };
1318104275E5BEC47B7088AD /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
- 1BDF6A8F94A945065D4348F8 /* AppIcon.icon */ = {isa = PBXFileReference; path = AppIcon.icon; sourceTree = "<group>"; };
+ 1BDF6A8F94A945065D4348F8 /* AppIcon.icon */ = {isa = PBXFileReference; lastKnownFileType = wrapper.icon; path = AppIcon.icon; sourceTree = "<group>"; };
1E47C60032C326157E0386B8 /* SwiftUI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SwiftUI.framework; path = System/Library/Frameworks/SwiftUI.framework; sourceTree = SDKROOT; };
1FECC371F3CD98687C0B69FA /* CodyncBot-pebble-Tint.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "CodyncBot-pebble-Tint.ttf"; sourceTree = "<group>"; };
203A43D8DF8D3832F95FA837 /* CodyncBot-teardrop-Ink.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "CodyncBot-teardrop-Ink.ttf"; sourceTree = "<group>"; };
@@ -514,7 +514,6 @@
};
};
buildConfigurationList = F977CF173B7D60769B393751 /* Build configuration list for PBXProject "Codync" */;
- compatibilityVersion = "Xcode 14.0";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
@@ -529,13 +528,14 @@
1971A679A8497DA8D0C8B77A /* XCLocalSwiftPackageReference "ios/Kit" */,
);
preferredProjectObjectVersion = 77;
+ productRefGroup = 3EC1FDCCFFFB4BA1A23FDDB0 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
- C42E5E078332C6C2B35AF5FA /* NotificationService */,
907F1F4A709111FC7178EAE9 /* Screen */,
- A27E4E88D6A5B9850734B594 /* Widgets */,
913BDA9F79CE8C35A9E35830 /* iOS */,
+ A27E4E88D6A5B9850734B594 /* Widgets */,
+ C42E5E078332C6C2B35AF5FA /* NotificationService */,
);
};
/* End PBXProject section */
@@ -772,7 +772,7 @@
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 18.0;
MACOSX_DEPLOYMENT_TARGET = 14.0;
- MARKETING_VERSION = 2.17.4;
+ MARKETING_VERSION = 2.17.5;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
@@ -870,7 +870,7 @@
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 18.0;
MACOSX_DEPLOYMENT_TARGET = 14.0;
- MARKETING_VERSION = 2.17.4;
+ MARKETING_VERSION = 2.17.5;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -1129,7 +1129,7 @@
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 18.0;
MACOSX_DEPLOYMENT_TARGET = 14.0;
- MARKETING_VERSION = 2.17.4;
+ MARKETING_VERSION = 2.17.5;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
@@ -1279,7 +1279,7 @@
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 18.0;
MACOSX_DEPLOYMENT_TARGET = 14.0;
- MARKETING_VERSION = 2.17.4;
+ MARKETING_VERSION = 2.17.5;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
PRODUCT_NAME = "$(TARGET_NAME)";
diff --git a/apps/desktop/package-lock.json b/apps/desktop/package-lock.json
index 5eab93a3..c87dd3ad 100644
--- a/apps/desktop/package-lock.json
+++ b/apps/desktop/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "codync-desktop",
- "version": "2.17.4",
+ "version": "2.17.5",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "codync-desktop",
- "version": "2.17.4",
+ "version": "2.17.5",
"license": "Apache-2.0",
"dependencies": {
"electron-updater": "^6.8.9"
diff --git a/apps/desktop/package.json b/apps/desktop/package.json
index bd39a318..2a769a6d 100644
--- a/apps/desktop/package.json
+++ b/apps/desktop/package.json
@@ -1,7 +1,7 @@
{
"name": "codync-desktop",
"productName": "Codync",
- "version": "2.17.4",
+ "version": "2.17.5",
"description": "Codync for macOS, Linux and Windows: your coding agents as teammates.",
"author": {
"name": "leepokai",
diff --git a/apps/desktop/src/renderer/views/thread/Markdown.tsx b/apps/desktop/src/renderer/views/thread/Markdown.tsx
index 75a4e55e..36ddbfe3 100644
--- a/apps/desktop/src/renderer/views/thread/Markdown.tsx
+++ b/apps/desktop/src/renderer/views/thread/Markdown.tsx
@@ -36,7 +36,7 @@ function emphasis(text: string, key: string): ReactNode[] {
if (m[1] !== undefined) {
const url = m[2]!
out.push(
- <a key={k} href={url} onClick={(e) => { e.preventDefault(); window.codync.app.openExternal(url) }} style={{ color: 'var(--accent)', textDecoration: 'none', cursor: 'pointer' }}>
+ <a key={k} href={url} title={url} onClick={(e) => { e.preventDefault(); window.codync.app.openExternal(url) }} style={{ color: 'var(--accent)', textDecoration: 'underline', textUnderlineOffset: '0.15em', cursor: 'pointer' }}>
{emphasis(m[1], `${k}-`)}
</a>,
)
diff --git a/apps/ios/Kit/Sources/CodyncUI/Thread/MarkdownText.swift b/apps/ios/Kit/Sources/CodyncUI/Thread/MarkdownText.swift
index fa33b587..43cf4a7b 100644
--- a/apps/ios/Kit/Sources/CodyncUI/Thread/MarkdownText.swift
+++ b/apps/ios/Kit/Sources/CodyncUI/Thread/MarkdownText.swift
@@ -21,10 +21,13 @@ public struct MarkdownText: View, Equatable {
.textSelection(.enabled)
}
- /// Inline styling; inline code gets a soft tint behind it.
+ /// Underlines keep links distinct in the monochrome theme; inline code gets a soft tint.
static func inline(_ s: String) -> AttributedString {
guard var text = try? AttributedString(markdown: s, options: .init(interpretedSyntax: .inlineOnlyPreservingWhitespace))
else { return AttributedString(s) }
+ for run in text.runs where run.link != nil {
+ text[run.range].underlineStyle = .single
+ }
for run in text.runs where run.inlinePresentationIntent?.contains(.code) == true {
text[run.range].backgroundColor = Palette.text.opacity(0.08)
}
diff --git a/apps/ios/WhatsNew.md b/apps/ios/WhatsNew.md
index ef0d0cea..056ec36d 100644
--- a/apps/ios/WhatsNew.md
+++ b/apps/ios/WhatsNew.md
@@ -5,6 +5,16 @@ listing what iPhone users notice. tools/asc-submit.py reads the released version
a version without one gets a generic "Bug fixes and improvements" line. Delete old sections.
-->
+## 2.17.5
+
+### zh-Hant
+
+- 對話中的連結加上底線,在淺色與深色模式下都更容易辨識與點選。
+
+### en-US
+
+- Links in conversations are now underlined, making them easier to recognize and tap in both light and dark mode.
+
## 2.17.2
### zh-Hant
diff --git a/apps/project.yml b/apps/project.yml
index 46c8dbf8..10f8864e 100644
--- a/apps/project.yml
+++ b/apps/project.yml
@@ -25,7 +25,7 @@ configs:
DevRelease: release
settings:
base:
- MARKETING_VERSION: 2.17.4
+ MARKETING_VERSION: 2.17.5
CURRENT_PROJECT_VERSION: 24
SWIFT_VERSION: "6.0"
SWIFT_STRICT_CONCURRENCY: complete
diff --git a/docs/features/chat-messages.md b/docs/features/chat-messages.md
index 4eaa66ac..e4655d82 100644
--- a/docs/features/chat-messages.md
+++ b/docs/features/chat-messages.md
@@ -2,6 +2,14 @@
How a bot's work turns into what the user reads, copied from Grok Bot.
+## Markdown links
+
+Markdown links in bot replies are underlined on desktop and iPhone so they remain
+recognizable in both light and dark themes. Hovering a desktop link shows its
+destination URL; clicking opens it in the default browser. iPhone links keep the
+system link interaction. The terminal already underlines Markdown link labels;
+it has no pointer tooltip or link-opening action.
+
## Messages are sent, not streamed
- Every bot gets the built-in `chat` MCP server (`codync-host mcp chat`,
diff --git a/docs/screenshots/message-links/desktop-dark.png b/docs/screenshots/message-links/desktop-dark.png
new file mode 100644
index 00000000..6b611a1e
Binary files /dev/null and b/docs/screenshots/message-links/desktop-dark.png differ
diff --git a/docs/screenshots/message-links/desktop-light.png b/docs/screenshots/message-links/desktop-light.png
new file mode 100644
index 00000000..1eab1c1b
Binary files /dev/null and b/docs/screenshots/message-links/desktop-light.png differ
diff --git a/docs/screenshots/message-links/ios-dark.png b/docs/screenshots/message-links/ios-dark.png
new file mode 100644
index 00000000..b33b24fe
Binary files /dev/null and b/docs/screenshots/message-links/ios-dark.png differ
diff --git a/docs/screenshots/message-links/ios-light.png b/docs/screenshots/message-links/ios-light.png
new file mode 100644
index 00000000..1ed9bc58
Binary files /dev/null and b/docs/screenshots/message-links/ios-light.png differ
diff --git a/host/Cargo.lock b/host/Cargo.lock
index 0dff500f..9d8d4460 100644
--- a/host/Cargo.lock
+++ b/host/Cargo.lock
@@ -586,7 +586,7 @@ checksum = "0c9ea0ac24bc397ab3c98583a3c9ba74fa56b09a4449bbe172b9b1ddb016027a"
[[package]]
name = "codync-host"
-version = "2.17.4"
+version = "2.17.5"
dependencies = [
"anyhow",
"axum",
diff --git a/host/Cargo.toml b/host/Cargo.toml
index 7870d7e9..26ba1e67 100644
--- a/host/Cargo.toml
+++ b/host/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "codync-host"
-version = "2.17.4"
+version = "2.17.5"
edition = "2024"
# let-chains (`if let … && let …`) need 1.88.
rust-version = "1.88"