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(chat): keep approval cards compact

leepokai4895935e980f
diff --git a/apps/android/app/src/main/kotlin/com/codync/android/PermissionCard.kt b/apps/android/app/src/main/kotlin/com/codync/android/PermissionCard.kt
index 4dfe2b08..86ab0571 100644
--- a/apps/android/app/src/main/kotlin/com/codync/android/PermissionCard.kt
+++ b/apps/android/app/src/main/kotlin/com/codync/android/PermissionCard.kt
@@ -13,6 +13,7 @@ import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.heightIn
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size
+import androidx.compose.foundation.layout.widthIn
import androidx.compose.foundation.rememberScrollState
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
@@ -54,7 +55,7 @@ import kotlinx.serialization.json.jsonPrimitive
}
val diffs = (d["diffs"] as? JsonArray)?.mapNotNull { it as? JsonObject }.orEmpty()
val hasDetail = !d.text("command").isNullOrEmpty() || !d.text("detail").isNullOrEmpty() || diffs.isNotEmpty()
- Column(Modifier.padding(end = 40.dp).clip(RoundedRectangle(22.dp)).background(Palette.bubbleAgent).padding(16.dp),
+ Column(Modifier.padding(end = 40.dp).widthIn(max = 420.dp).clip(RoundedRectangle(22.dp)).background(Palette.bubbleAgent).padding(16.dp),
verticalArrangement = Arrangement.spacedBy(10.dp)) {
Row(verticalAlignment = Alignment.CenterVertically, horizontalArrangement = Arrangement.spacedBy(8.dp)) {
Text(headline, style = Type.headline, color = Palette.text)
diff --git a/apps/desktop/src/renderer/views/thread/permission-card.css b/apps/desktop/src/renderer/views/thread/permission-card.css
index 7a36e7a3..affc3ba6 100644
--- a/apps/desktop/src/renderer/views/thread/permission-card.css
+++ b/apps/desktop/src/renderer/views/thread/permission-card.css
@@ -1,5 +1,7 @@
/* The approval card in the chat, and the command and diff boxes it shares with the trace. */
.permission-card {
+ width: fit-content;
+ max-width: min(100%, 420px);
padding: 16px;
background: var(--bubble-agent);
border-radius: var(--radius-xl);
diff --git a/apps/ios/Kit/Sources/CodyncUI/Thread/PermissionCard.swift b/apps/ios/Kit/Sources/CodyncUI/Thread/PermissionCard.swift
index b2f02e6c..63e70a0e 100644
--- a/apps/ios/Kit/Sources/CodyncUI/Thread/PermissionCard.swift
+++ b/apps/ios/Kit/Sources/CodyncUI/Thread/PermissionCard.swift
@@ -66,6 +66,7 @@ struct PermissionCard: View {
}
}
.padding(16)
+ .frame(maxWidth: 420, alignment: .leading)
.background(Palette.bubbleAgent, in: RoundedRectangle(cornerRadius: 22, style: .continuous))
.padding(.trailing, 40)
}
diff --git a/apps/ios/WhatsNew.md b/apps/ios/WhatsNew.md
index c5f630c5..bc1598ab 100644
--- a/apps/ios/WhatsNew.md
+++ b/apps/ios/WhatsNew.md
@@ -9,6 +9,7 @@ a version without one gets a generic "Bug fixes and improvements" line. Delete o
## 2.22.0
### zh-Hant
+- 授權卡片在寬螢幕上更精簡,不再撐滿聊天區
- 用麥克風聽寫時,麥克風按鈕會變成錄音膠囊:停止鍵、錄了多久,還有跟著你說話起伏的點點
- Bot 工作中會顯示簡潔的動畫、目前動作與經過時間,詳細紀錄可從「完整對話」查看
- 麥克風旁的向上箭頭可以選聽寫要用裝置內建語音,還是用你自己的 OpenAI 或 Gemini 金鑰
@@ -17,6 +18,7 @@ a version without one gets a generic "Bug fixes and improvements" line. Delete o
- 記憶不會再滿:快滿時,Dreaming 會把細節依主題整理進筆記資料夾,你要 bot 記住的事一定存得下
### en-US
+- Approval cards stay compact on wide screens instead of stretching across the chat
- While you dictate, the mic turns into a recording pill: a stop button, how long you've been talking, and dots that follow your voice
- While a bot works, see its activity and elapsed time in a compact animated indicator; details remain in Full conversation
- The arrow beside the mic picks how dictation hears you: on-device speech, or your own OpenAI or Gemini key