Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
fix(mobile): 普通任务用户气泡改用伙伴模式的浅色边框 (#5787)
Dash17a83d52c8cd
diff --git a/apps/mobile/src/session/BotGroupChatScreen.tsx b/apps/mobile/src/session/BotGroupChatScreen.tsxindex 46169b0e7a..0aeb2dc456 100644--- a/apps/mobile/src/session/BotGroupChatScreen.tsx+++ b/apps/mobile/src/session/BotGroupChatScreen.tsx@@ -533,7 +533,7 @@ const makeStyles = (colors: ThemeColors) => StyleSheet.create({userRow: { flexDirection: 'row', justifyContent: 'flex-end' },// Full width so the bubble keeps its 86% cap and attachments their own size limits.userColumn: { flex: 1, minWidth: 0, alignItems: 'flex-end', gap: spacing.xs },- // The 1:1 user bubble (MessageRenderer userBubble + companion border): 86% wide, padding 12, compact 8/12.+ // The 1:1 user bubble (MessageRenderer userBubble): 86% wide, padding 12, compact 8/12.userBubble: { maxWidth: '86%', backgroundColor: colors.surfaceElevated, borderColor: colors.border, borderWidth: StyleSheet.hairlineWidth,borderRadius: radius.container, padding: spacing.md },userBubbleCompact: { paddingVertical: spacing.sm },diff --git a/apps/mobile/src/session/MessageRenderer.tsx b/apps/mobile/src/session/MessageRenderer.tsxindex 862e01850c..bcff88a557 100644--- a/apps/mobile/src/session/MessageRenderer.tsx+++ b/apps/mobile/src/session/MessageRenderer.tsx@@ -3719,7 +3719,6 @@ function MessageBubble({presentation.density === 'compact' && styles.bubbleCompact,presentation.density === 'rich' && styles.bubbleRich,isUser ? styles.userBubble : styles.agentBubble,- actions.companion && isUser && styles.companionUserBubble,actions.companion && !isUser && !item.message.systemCardType && styles.companionAnswer,hookSource && styles.hookSourceBubble,]}@@ -8728,11 +8727,10 @@ const makeStyles = (colors: ThemeColors) => StyleSheet.create({marginTop: spacing.sm,textAlign: 'center',},- companionUserBubble: { borderColor: colors.border },userBubble: {alignSelf: 'flex-end',backgroundColor: colors.surfaceElevated,- borderColor: colors.borderStrong,+ borderColor: colors.border,maxWidth: '86%',minWidth: 0,overflow: 'hidden',diff --git a/apps/mobile/src/session/PendingSendBubble.tsx b/apps/mobile/src/session/PendingSendBubble.tsxindex 04dfd8a993..acf07f9a84 100644--- a/apps/mobile/src/session/PendingSendBubble.tsx+++ b/apps/mobile/src/session/PendingSendBubble.tsx@@ -1,7 +1,7 @@/*** 待发送消息气泡(渲染在消息流里,不再是列表 footer)。*- * 形态与已发送用户气泡同款(右对齐、surfaceElevated + borderStrong)但整体半透明——+ * 形态与已发送用户气泡同款(右对齐、surfaceElevated + border)但整体半透明——* 「这就是你的消息,只是还没生效」;落定时提高不透明度,回流后同一个列表位置换成正式* 消息,原地变实。徽标语义:* - 转圈 = 还没有「已被收下」这个事实(enqueue 在途 / 已出队待回流 / 附件上传中);@@ -617,7 +617,7 @@ const makeStyles = (colors: ThemeColors) => StyleSheet.create({bubbleRich: { gap: spacing.sm },bubble: {backgroundColor: colors.surfaceElevated,- borderColor: colors.borderStrong,+ borderColor: colors.border,borderRadius: radius.container,borderWidth: StyleSheet.hairlineWidth,gap: spacing.xs,