惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

C
CERT Recently Published Vulnerability Notes
U
Unit 42
T
The Blog of Author Tim Ferriss
H
Hackread – Cybersecurity News, Data Breaches, AI and More
B
Blog RSS Feed
Microsoft Azure Blog
Microsoft Azure Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
S
Securelist
L
Lohrmann on Cybersecurity
Blog — PlanetScale
Blog — PlanetScale
Recorded Future
Recorded Future
D
DataBreaches.Net
Spread Privacy
Spread Privacy
T
Threat Research - Cisco Blogs
I
Intezer
P
Palo Alto Networks Blog
Simon Willison's Weblog
Simon Willison's Weblog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
I
InfoQ
宝玉的分享
宝玉的分享
Security Latest
Security Latest
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
Threatpost
Cisco Talos Blog
Cisco Talos Blog
P
Proofpoint News Feed
博客园 - 司徒正美
H
Hacker News: Front Page
Y
Y Combinator Blog
爱范儿
爱范儿
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
NISL@THU
NISL@THU
月光博客
月光博客
有赞技术团队
有赞技术团队
Cloudbric
Cloudbric
酷 壳 – CoolShell
酷 壳 – CoolShell
G
Google Developers Blog
A
Arctic Wolf
博客园 - 【当耐特】
W
WeLiveSecurity
V
Visual Studio Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
V
V2EX
C
Cyber Attacks, Cyber Crime and Cyber Security
S
SegmentFault 最新的问题
The GitHub Blog
The GitHub Blog
The Cloudflare Blog
Stack Overflow Blog
Stack Overflow Blog

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4 test: trim doctor command hotspots · openclaw/openclaw@c66f16a test: isolate agent auth and spawn hotspots · openclaw/openclaw@9285935 test: stabilize MCP startup disposal race · openclaw/openclaw@dd9d2eb test: merge browser contract server suites · openclaw/openclaw@5817a76 test: narrow ollama provider discovery setup · openclaw/openclaw@a0d9598 build: declare qa-lab aimock runtime dependency · openclaw/openclaw@24431e5 test: speed up safe-bins exec harness · openclaw/openclaw@ee856ab test: preserve tool helpers in embedded runner mocks · openclaw/openclaw@acd86a0 refactor: move memory embeddings into provider plugins · openclaw/openclaw@77e6e4c test: reuse system-run temp fixtures · openclaw/openclaw@7e9ff0f test: trim hotspot wait overhead · openclaw/openclaw@12a59b0 Check: avoid duplicate boundary prep · openclaw/openclaw@baf11b8 test: reduce hotspot fixture overhead · openclaw/openclaw@3a59edd feat(ui): overhaul settings and slash command UX (#67819) thanks @Bun… · openclaw/openclaw@2cfb660 QA Matrix: exit cleanly on failure · openclaw/openclaw@42805d2 QA Matrix: isolate scenario coverage · openclaw/openclaw@7e659e1 Matrix: refresh crypto bootstrap state · openclaw/openclaw@94081d8 QA Lab: add provider registry · openclaw/openclaw@bb7e982 Matrix: add plugin changelog · openclaw/openclaw@4acab55 test: trim more hotspot overhead · openclaw/openclaw@f485311 test: trim remaining hotspot tests · openclaw/openclaw@6ba8626 test: narrow hotspot mocks · openclaw/openclaw@dbc8179 test: isolate gemini embedding request helpers · openclaw/openclaw@cd330f5 test: trim memory and mcp hotspots · openclaw/openclaw@fd48dfa test: slim provider registry mocks · openclaw/openclaw@2e08c77 test: harden Parallels update smoke · openclaw/openclaw@1a98090 feat: default Anthropic to Opus 4.7 · openclaw/openclaw@628b454 fix: harden node-host shell payload mutability checks · openclaw/openclaw@75c551e fix: land node-host approval binding for native binaries (#66731) (th… · openclaw/openclaw@29919bb CI: add daily schedule to CodeQL workflow (#67645) · openclaw/openclaw@69d25f5 fix(gateway): capture config hash after plugin auto-enable to prevent… · openclaw/openclaw@8c11210 fix: repair sanitized replay tool results before send (#67620) (thank… · openclaw/openclaw@c3c7a99 fix: restrict HTML timeout short-circuit to transient statuses · openclaw/openclaw@de129a6 fix: keep TUI watchdog bound to active run (#67401) (thanks @xantorres) · openclaw/openclaw@3525273 Gateway/skills: dedupe skills prefix-match + drop dead fallback on log · openclaw/openclaw@d7f489f Extensions/lmstudio: back off inference preload after consecutive fai… · openclaw/openclaw@b555214 TUI/streaming: add watchdog that resets the activity indicator after … · openclaw/openclaw@f44ab20 Agents/tool-loop: enable unknown-tool stream guard by default · openclaw/openclaw@36ed367 Gateway/skills: invalidate session skills snapshot on config write · openclaw/openclaw@b23d59a fix: classify HTML provider error pages correctly (#67642) (thanks @s… · openclaw/openclaw@e588e90 fix(skills): remove unused model-usage import (#67641) · openclaw/openclaw@55f05df docs(changelog): credit codex fix superseded PRs · openclaw/openclaw@e485f24 fix(openai-codex): normalize stale transport metadata in resolution a… · openclaw/openclaw@90801ba CI: pin Docker-related GitHub Actions (#67632) · openclaw/openclaw@f697b01 Android: modernize WebView and discovery API usage (#67627) · openclaw/openclaw@44a6e50 fix(deps): bump hono to 4.12.14 and @hono/node-server to 1.19.14 (GHS… · openclaw/openclaw@fbccc18 fix(deps): bump dompurify to 3.4.0 (#67614) · openclaw/openclaw@2c2dc00 CI: add explicit permissions to all workflow jobs (fixes code-scannin… · openclaw/openclaw@01b7516 fix: register bundled TTS providers and route overrides correctly (#6… · openclaw/openclaw@6ea3cdd fix: align host tilde paths with OS home (#62804) (thanks @stainlu) · openclaw/openclaw@ecfaf64 fix: flush creds queue before reconnect socket open (#67464) (thanks … · openclaw/openclaw@405c63f fix: strip standalone <function> tool call tags from visible text (#6… · openclaw/openclaw@78df859 fix(agents): preserve cli session metadata before transcript persist … · openclaw/openclaw@898fd04 docs(changelog): move cli transcript entry · openclaw/openclaw@c1817c6 fix(agents): normalize cli transcript api field · openclaw/openclaw@3a3fae0 docs(changelog): note cli transcript persistence · openclaw/openclaw@6c343f1 fix(agents): persist cli transcript turns · openclaw/openclaw@b8ef507 fix(msteams): harden security-sensitive flows (#65841) · openclaw/openclaw@c56b56e [Dashboard] Fix exec approval modal overflow for long command content… · openclaw/openclaw@053c5b0 Docs: remove QA changelog entry · openclaw/openclaw@7fd5771 QA: fix private runtime source loading (#67428) · openclaw/openclaw@d5933af docs(gateway): correct protocol.md schema path, hello-ok example, aut… · openclaw/openclaw@489404d CI: pin Node 22 runners to 22.18.0 · openclaw/openclaw@4ffa621 models.authStatus: normalize provider ids + tighten env-backed escape… · openclaw/openclaw@f2fdb9d Update CHANGELOG.md · openclaw/openclaw@7694a92 test(parallels): clean up npm update guard jobs · openclaw/openclaw@045ea7b Plugins: prefer scanDir override paths · openclaw/openclaw@b2974da fix(dreaming): default storage.mode to "separate" so phase blocks sto… · openclaw/openclaw@8c392f0 fix(memory-core): skip dreaming transcript ingestion via session stor… · openclaw/openclaw@a1b01f0 fix: dedupe replayed exec.finished node events (#67281) · openclaw/openclaw@5dcf526
feat(android): polish v2 provider setup · openclaw/openclaw@d41f595
obviyus · 2026-05-20 · via Recent Commits to openclaw:main

@@ -6,7 +6,9 @@ import ai.openclaw.app.MainViewModel

66

import ai.openclaw.app.providerDisplayName

77

import ai.openclaw.app.ui.design.ClawEmptyState

88

import ai.openclaw.app.ui.design.ClawPanel

9+

import ai.openclaw.app.ui.design.ClawPrimaryButton

910

import ai.openclaw.app.ui.design.ClawScaffold

11+

import ai.openclaw.app.ui.design.ClawSecondaryButton

1012

import ai.openclaw.app.ui.design.ClawTheme

1113

import androidx.compose.foundation.BorderStroke

1214

import androidx.compose.foundation.background

@@ -19,6 +21,7 @@ import androidx.compose.foundation.layout.Spacer

1921

import androidx.compose.foundation.layout.fillMaxSize

2022

import androidx.compose.foundation.layout.fillMaxWidth

2123

import androidx.compose.foundation.layout.height

24+

import androidx.compose.foundation.layout.heightIn

2225

import androidx.compose.foundation.layout.padding

2326

import androidx.compose.foundation.layout.size

2427

import androidx.compose.foundation.layout.width

@@ -62,6 +65,7 @@ internal fun V2ProvidersModelsScreen(

6265

val errorText by viewModel.modelCatalogErrorText.collectAsState()

6366

val providerRows = providerRows(providers = providers, models = models)

6467

val modelGroups = sortedModelGroups(models)

68+

val setupRows = providerSetupRows(providerRows)

65696670

LaunchedEffect(isConnected) {

6771

if (isConnected) {

@@ -94,7 +98,26 @@ internal fun V2ProvidersModelsScreen(

9498

}

959996100

item {

97-

V2ProviderSectionLabel(title = "Providers")

101+

V2ProviderOverviewPanel(

102+

isConnected = isConnected,

103+

providerRows = providerRows,

104+

modelCount = models.size,

105+

onRefresh = viewModel::refreshModelCatalog,

106+

onSetup = onAddProvider,

107+

refreshing = refreshing,

108+

)

109+

}

110+111+

item {

112+

V2ProviderSectionLabel(title = "Provider setup")

113+

}

114+115+

item {

116+

V2ProviderSetupList(rows = setupRows, onSetup = onAddProvider)

117+

}

118+119+

item {

120+

V2ProviderSectionLabel(title = "Connected providers")

98121

}

99122100123

item {

@@ -135,6 +158,13 @@ internal fun V2ProvidersModelsScreen(

135158

}

136159

}

137160161+

private data class V2ProviderSetupRow(

162+

val id: String,

163+

val name: String,

164+

val subtitle: String,

165+

val ready: Boolean,

166+

)

167+138168

private data class V2ProviderRow(

139169

val id: String,

140170

val name: String,

@@ -174,6 +204,30 @@ private fun providerRows(

174204

return (authRows + missingAuthRows).sortedWith(compareBy(::providerPriority, { it.name.lowercase() }))

175205

}

176206207+

private fun providerSetupRows(providerRows: List<V2ProviderRow>): List<V2ProviderSetupRow> {

208+

val byId = providerRows.associateBy { it.id.trim().lowercase() }

209+

return listOf("openai", "anthropic", "google", "openrouter", "ollama").map { id ->

210+

val row = byId[id] ?: byId["ollama-local"].takeIf { id == "ollama" }

211+

V2ProviderSetupRow(

212+

id = id,

213+

name = providerDisplayName(id),

214+

subtitle = providerSetupSubtitle(id, row),

215+

ready = row?.ready == true,

216+

)

217+

}

218+

}

219+220+

private fun providerSetupSubtitle(

221+

id: String,

222+

row: V2ProviderRow?,

223+

): String =

224+

when {

225+

row?.ready == true -> if (row.modelCount > 0) "${row.modelCount} models available" else "Ready"

226+

row != null -> "Finish setup to use ${row.name}"

227+

id == "ollama" -> "Use models running on your network"

228+

else -> "Add provider credentials on your Gateway"

229+

}

230+177231

internal fun modelProviderReady(status: String): Boolean {

178232

val normalized = status.trim().lowercase()

179233

return normalized == "ok" || normalized == "ready" || normalized == "healthy" || normalized == "configured"

@@ -221,9 +275,102 @@ private fun V2ProviderList(

221275

}

222276

}

223277278+

@Composable

279+

private fun V2ProviderOverviewPanel(

280+

isConnected: Boolean,

281+

providerRows: List<V2ProviderRow>,

282+

modelCount: Int,

283+

refreshing: Boolean,

284+

onRefresh: () -> Unit,

285+

onSetup: () -> Unit,

286+

) {

287+

val readyCount = providerRows.count { it.ready }

288+

val needsSetupCount = providerRows.count { !it.ready }

289+

ClawPanel(contentPadding = PaddingValues(horizontal = 12.dp, vertical = 12.dp)) {

290+

Column(verticalArrangement = Arrangement.spacedBy(10.dp)) {

291+

Row(modifier = Modifier.fillMaxWidth(), horizontalArrangement = Arrangement.spacedBy(8.dp)) {

292+

V2ProviderMetricTile(label = "Ready", value = readyCount.toString(), modifier = Modifier.weight(1f))

293+

V2ProviderMetricTile(label = "Models", value = modelCount.toString(), modifier = Modifier.weight(1f))

294+

V2ProviderMetricTile(label = "Setup", value = needsSetupCount.toString(), modifier = Modifier.weight(1f))

295+

}

296+

Text(

297+

text = if (isConnected) "Choose a provider below, then finish credentials on your Gateway." else "Connect your Gateway before adding model providers.",

298+

style = ClawTheme.type.body,

299+

color = ClawTheme.colors.textMuted,

300+

)

301+

Row(modifier = Modifier.fillMaxWidth(), horizontalArrangement = Arrangement.spacedBy(8.dp)) {

302+

ClawSecondaryButton(text = if (refreshing) "Refreshing" else "Refresh", onClick = onRefresh, enabled = isConnected && !refreshing, modifier = Modifier.weight(1f))

303+

ClawPrimaryButton(text = "Setup Provider", onClick = onSetup, enabled = isConnected, modifier = Modifier.weight(1f))

304+

}

305+

}

306+

}

307+

}

308+309+

@Composable

310+

private fun V2ProviderMetricTile(

311+

label: String,

312+

value: String,

313+

modifier: Modifier = Modifier,

314+

) {

315+

Surface(

316+

modifier = modifier,

317+

shape = RoundedCornerShape(ClawTheme.radii.panel),

318+

color = ClawTheme.colors.surface,

319+

border = BorderStroke(1.dp, ClawTheme.colors.border),

320+

contentColor = ClawTheme.colors.text,

321+

) {

322+

Column(modifier = Modifier.padding(horizontal = 9.dp, vertical = 8.dp), verticalArrangement = Arrangement.spacedBy(2.dp)) {

323+

Text(text = value, style = ClawTheme.type.title, color = ClawTheme.colors.text, maxLines = 1)

324+

Text(text = label, style = ClawTheme.type.caption, color = ClawTheme.colors.textMuted, maxLines = 1)

325+

}

326+

}

327+

}

328+329+

@Composable

330+

private fun V2ProviderSetupList(

331+

rows: List<V2ProviderSetupRow>,

332+

onSetup: () -> Unit,

333+

) {

334+

ClawPanel(contentPadding = PaddingValues(horizontal = 0.dp, vertical = 0.dp)) {

335+

Column {

336+

rows.forEachIndexed { index, row ->

337+

V2ProviderSetupListRow(row = row, onClick = onSetup)

338+

if (index != rows.lastIndex) {

339+

HorizontalDivider(color = ClawTheme.colors.border, thickness = 1.dp)

340+

}

341+

}

342+

}

343+

}

344+

}

345+346+

@Composable

347+

private fun V2ProviderSetupListRow(

348+

row: V2ProviderSetupRow,

349+

onClick: () -> Unit,

350+

) {

351+

Surface(onClick = onClick, color = Color.Transparent, contentColor = ClawTheme.colors.text) {

352+

Row(

353+

modifier = Modifier.fillMaxWidth().heightIn(min = 58.dp).padding(horizontal = 10.dp, vertical = 6.dp),

354+

verticalAlignment = Alignment.CenterVertically,

355+

horizontalArrangement = Arrangement.spacedBy(10.dp),

356+

) {

357+

V2ProviderBadge(text = row.name)

358+

Column(modifier = Modifier.weight(1f), verticalArrangement = Arrangement.spacedBy(1.dp)) {

359+

Text(text = row.name, style = ClawTheme.type.body, color = ClawTheme.colors.text, maxLines = 1)

360+

Text(text = row.subtitle, style = ClawTheme.type.caption.copy(fontSize = 12.5.sp, lineHeight = 16.sp), color = ClawTheme.colors.textMuted, maxLines = 1, overflow = TextOverflow.Ellipsis)

361+

}

362+

Row(verticalAlignment = Alignment.CenterVertically, horizontalArrangement = Arrangement.spacedBy(6.dp)) {

363+

Box(modifier = Modifier.size(5.dp).clip(CircleShape).background(if (row.ready) ClawTheme.colors.success else ClawTheme.colors.warning))

364+

Text(text = if (row.ready) "Ready" else "Setup", style = ClawTheme.type.caption.copy(fontSize = 12.5.sp, lineHeight = 16.sp), color = ClawTheme.colors.textMuted, maxLines = 1)

365+

Icon(imageVector = Icons.AutoMirrored.Filled.KeyboardArrowRight, contentDescription = "Open ${row.name}", modifier = Modifier.size(17.dp), tint = ClawTheme.colors.text)

366+

}

367+

}

368+

}

369+

}

370+224371

@Composable

225372

private fun V2ProviderListRow(row: V2ProviderRow) {

226-

Row(modifier = Modifier.fillMaxWidth().padding(horizontal = 8.dp, vertical = 4.dp), verticalAlignment = Alignment.CenterVertically, horizontalArrangement = Arrangement.spacedBy(8.dp)) {

373+

Row(modifier = Modifier.fillMaxWidth().heightIn(min = 58.dp).padding(horizontal = 10.dp, vertical = 6.dp), verticalAlignment = Alignment.CenterVertically, horizontalArrangement = Arrangement.spacedBy(10.dp)) {

227374

V2ProviderBadge(text = row.name)

228375

Column(modifier = Modifier.weight(1f), verticalArrangement = Arrangement.spacedBy(1.dp)) {

229376

Text(text = row.name, style = ClawTheme.type.body, color = ClawTheme.colors.text, maxLines = 1)

@@ -232,16 +379,16 @@ private fun V2ProviderListRow(row: V2ProviderRow) {

232379

Row(verticalAlignment = Alignment.CenterVertically, horizontalArrangement = Arrangement.spacedBy(5.dp)) {

233380

Box(modifier = Modifier.size(4.5.dp).clip(CircleShape).background(if (row.ready) ClawTheme.colors.success else ClawTheme.colors.warning))

234381

Text(text = row.status, style = ClawTheme.type.caption.copy(fontSize = 12.5.sp, lineHeight = 16.sp), color = ClawTheme.colors.textMuted, maxLines = 1)

235-

Icon(imageVector = Icons.AutoMirrored.Filled.KeyboardArrowRight, contentDescription = "Open ${row.name}", modifier = Modifier.size(14.dp), tint = ClawTheme.colors.text)

382+

Icon(imageVector = Icons.AutoMirrored.Filled.KeyboardArrowRight, contentDescription = "Open ${row.name}", modifier = Modifier.size(17.dp), tint = ClawTheme.colors.text)

236383

}

237384

}

238385

}

239386240387

@Composable

241388

private fun V2ProviderBadge(text: String) {

242-

Surface(modifier = Modifier.size(24.dp), shape = RoundedCornerShape(6.dp), color = ClawTheme.colors.surfacePressed, border = BorderStroke(1.dp, ClawTheme.colors.border)) {

389+

Surface(modifier = Modifier.size(30.dp), shape = RoundedCornerShape(ClawTheme.radii.row), color = ClawTheme.colors.surfacePressed, border = BorderStroke(1.dp, ClawTheme.colors.border)) {

243390

Box(contentAlignment = Alignment.Center) {

244-

Text(text = providerInitials(text), style = ClawTheme.type.section, color = ClawTheme.colors.text, textAlign = TextAlign.Center)

391+

Text(text = providerInitials(text), style = ClawTheme.type.label, color = ClawTheme.colors.text, textAlign = TextAlign.Center)

245392

}

246393

}

247394

}

@@ -275,7 +422,7 @@ private fun V2ModelGroup(

275422

) {

276423

ClawPanel(contentPadding = PaddingValues(horizontal = 0.dp, vertical = 0.dp)) {

277424

Column {

278-

Row(modifier = Modifier.fillMaxWidth().padding(horizontal = 8.dp, vertical = 5.dp), verticalAlignment = Alignment.CenterVertically, horizontalArrangement = Arrangement.spacedBy(8.dp)) {

425+

Row(modifier = Modifier.fillMaxWidth().heightIn(min = 52.dp).padding(horizontal = 10.dp, vertical = 6.dp), verticalAlignment = Alignment.CenterVertically, horizontalArrangement = Arrangement.spacedBy(10.dp)) {

279426

V2ProviderBadge(text = providerDisplayName(provider))

280427

Text(text = providerDisplayName(provider), style = ClawTheme.type.body, color = ClawTheme.colors.text, modifier = Modifier.weight(1f), maxLines = 1)

281428

V2ProviderMiniTag(text = "${models.size} models")

@@ -298,7 +445,7 @@ private fun V2ModelGroup(

298445299446

@Composable

300447

private fun V2ModelRow(model: GatewayModelSummary) {

301-

Row(modifier = Modifier.fillMaxWidth().padding(horizontal = 8.dp, vertical = 4.dp), verticalAlignment = Alignment.CenterVertically, horizontalArrangement = Arrangement.spacedBy(6.dp)) {

448+

Row(modifier = Modifier.fillMaxWidth().heightIn(min = 48.dp).padding(horizontal = 10.dp, vertical = 5.dp), verticalAlignment = Alignment.CenterVertically, horizontalArrangement = Arrangement.spacedBy(6.dp)) {

302449

Text(text = model.name, style = ClawTheme.type.mono, color = ClawTheme.colors.text, modifier = Modifier.weight(1f), maxLines = 1, overflow = TextOverflow.Ellipsis)

303450

modelCapabilityLabels(model).take(3).forEach { label ->

304451

V2ProviderMiniTag(text = label)

@@ -333,14 +480,14 @@ private fun V2ProviderHeaderIconButton(

333480

) {

334481

Surface(

335482

onClick = onClick,

336-

modifier = Modifier.size(if (outlined) 28.dp else 30.dp),

483+

modifier = Modifier.size(ClawTheme.spacing.touchTarget),

337484

shape = CircleShape,

338485

color = Color.Transparent,

339486

contentColor = ClawTheme.colors.text,

340487

border = if (outlined) BorderStroke(1.dp, ClawTheme.colors.borderStrong) else null,

341488

) {

342489

Box(contentAlignment = Alignment.Center) {

343-

Icon(imageVector = icon, contentDescription = contentDescription, modifier = Modifier.size(if (outlined) 15.dp else 19.dp))

490+

Icon(imageVector = icon, contentDescription = contentDescription, modifier = Modifier.size(if (outlined) 17.dp else 20.dp))

344491

}

345492

}

346493

}

@@ -352,7 +499,7 @@ private fun V2ProviderAddButton(

352499

) {

353500

Surface(

354501

onClick = onClick,

355-

modifier = modifier.fillMaxWidth().height(30.dp),

502+

modifier = modifier.fillMaxWidth().height(ClawTheme.spacing.touchTarget),

356503

shape = RoundedCornerShape(ClawTheme.radii.pill),

357504

color = ClawTheme.colors.primary,

358505

contentColor = ClawTheme.colors.primaryText,

@@ -362,9 +509,9 @@ private fun V2ProviderAddButton(

362509

verticalAlignment = Alignment.CenterVertically,

363510

horizontalArrangement = Arrangement.Center,

364511

) {

365-

Icon(imageVector = Icons.Default.Add, contentDescription = null, modifier = Modifier.size(13.dp))

512+

Icon(imageVector = Icons.Default.Add, contentDescription = null, modifier = Modifier.size(17.dp))

366513

Spacer(modifier = Modifier.width(7.dp))

367-

Text(text = "Add Provider", style = ClawTheme.type.label, maxLines = 1)

514+

Text(text = "Open Gateway Setup", style = ClawTheme.type.label, maxLines = 1)

368515

}

369516

}

370517

}