Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

chore(ci): unblock main by clearing three inherited CI failures

vastsa8ed49e0fdb75
diff --git a/apps/desktop/src/styles/composer-menus.css b/apps/desktop/src/styles/composer-menus.css
index b5cb4c3c2..ed31e0805 100644
--- a/apps/desktop/src/styles/composer-menus.css
+++ b/apps/desktop/src/styles/composer-menus.css
@@ -32,7 +32,7 @@
:root[data-theme="dark"] .composer-toolbar .icon-btn.composer-web-search-on,
:root[data-theme="dark"] .composer-toolbar .icon-btn.composer-web-search-on:hover {
- color: #34d399;
+ color: var(--color-success);
}
:root[data-theme="dark"] .empty-hero-icon {
diff --git a/apps/desktop/src/styles/composer.css b/apps/desktop/src/styles/composer.css
index d6aa36b8d..1ddff16d3 100644
--- a/apps/desktop/src/styles/composer.css
+++ b/apps/desktop/src/styles/composer.css
@@ -403,13 +403,13 @@
.composer-toolbar .icon-btn.composer-web-search-on:hover,
.composer-right .icon-btn.composer-web-search-on,
.composer-right .icon-btn.composer-web-search-on:hover {
- color: #059669;
+ color: var(--color-success);
}
:root[data-theme="dark"] .composer-toolbar .icon-btn.composer-web-search-on,
:root[data-theme="dark"] .composer-toolbar .icon-btn.composer-web-search-on:hover,
:root[data-theme="dark"] .composer-right .icon-btn.composer-web-search-on,
:root[data-theme="dark"] .composer-right .icon-btn.composer-web-search-on:hover {
- color: #34d399;
+ color: var(--color-success);
}
.icon-btn.active {
background: var(--ds-bg-active);
diff --git a/apps/desktop/src/styles/messages.css b/apps/desktop/src/styles/messages.css
index f61992b22..aaf8ca8b6 100644
--- a/apps/desktop/src/styles/messages.css
+++ b/apps/desktop/src/styles/messages.css
@@ -3064,13 +3064,13 @@
}
.hosted-search-favicon {
flex: none;
- border-radius: 3px;
+ border-radius: var(--radius-3xs);
object-fit: contain;
background: var(--ds-bg-hover);
}
.hosted-search-favicon-fallback {
display: inline-block;
- border-radius: 999px;
+ border-radius: var(--radius-full);
background: var(--ds-bg-active);
}
.citation-badge-wrap {
@@ -3084,11 +3084,11 @@
align-items: center;
gap: 4px;
padding: 1px 6px 1px 4px;
- border-radius: 999px;
+ border-radius: var(--radius-full);
background: var(--ds-bg-hover);
color: var(--ds-text-secondary);
font-size: var(--text-xs);
- line-height: 1.4;
+ line-height: var(--leading-normal);
vertical-align: middle;
}
.citation-badge:hover {
@@ -3107,7 +3107,7 @@
z-index: 40;
width: 280px;
padding: 10px 12px;
- border-radius: 12px;
+ border-radius: var(--radius-md);
background: var(--ds-bg-primary);
opacity: 1;
backdrop-filter: none;
@@ -3115,10 +3115,10 @@
color: var(--ds-text-primary);
}
:root[data-theme="light"] .citation-card {
- background: #ffffff;
+ background: var(--ds-raised);
}
:root[data-theme="dark"] .citation-card {
- background: #1f2125;
+ background: var(--gray-800);
}
.citation-card-nav {
display: flex;
@@ -3156,7 +3156,7 @@
display: -webkit-box;
overflow: hidden;
font-size: var(--text-sm);
- line-height: 1.35;
+ line-height: var(--leading-compact-plus);
overflow-wrap: anywhere;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
diff --git a/apps/desktop/src/styles/theme-overrides.css b/apps/desktop/src/styles/theme-overrides.css
index 3f2e887f6..65b635ec6 100644
--- a/apps/desktop/src/styles/theme-overrides.css
+++ b/apps/desktop/src/styles/theme-overrides.css
@@ -65,7 +65,7 @@
:root[data-theme="light"] .composer-toolbar .icon-btn.composer-web-search-on,
:root[data-theme="light"] .composer-toolbar .icon-btn.composer-web-search-on:hover {
- color: #059669 !important;
+ color: var(--color-success) !important;
}
:root[data-theme="light"] .composer-input::placeholder,
diff --git a/crates/host-core/src/user_skills.rs b/crates/host-core/src/user_skills.rs
index 0528c4c9a..df71c9f53 100644
--- a/crates/host-core/src/user_skills.rs
+++ b/crates/host-core/src/user_skills.rs
@@ -117,9 +117,8 @@ fn place_file(source: &Path, target: &Path, mode: ImportMode) -> Result<()> {
}
match mode {
ImportMode::Copy => {
- fs::copy(source, target).with_context(|| {
- format!("copy {} to {}", source.display(), target.display())
- })?;
+ fs::copy(source, target)
+ .with_context(|| format!("copy {} to {}", source.display(), target.display()))?;
}
ImportMode::Link => symlink_path(source, target)?,
}
@@ -149,9 +148,8 @@ fn place_dir(source_dir: &Path, target_dir: &Path, mode: ImportMode) -> Result<(
#[cfg(unix)]
fn symlink_path(source: &Path, target: &Path) -> Result<()> {
- std::os::unix::fs::symlink(source, target).with_context(|| {
- format!("symlink {} -> {}", target.display(), source.display())
- })
+ std::os::unix::fs::symlink(source, target)
+ .with_context(|| format!("symlink {} -> {}", target.display(), source.display()))
}
#[cfg(windows)]
diff --git a/docs/architecture/allowlist.json b/docs/architecture/allowlist.json
index 13e31d849..10041d47f 100644
--- a/docs/architecture/allowlist.json
+++ b/docs/architecture/allowlist.json
@@ -12,6 +12,7 @@
"crates/host-core/src/transcripts.rs": "Legacy transcript persistence module; its extraction is outside this refactor scope.",
"crates/host-core/src/plugins/tests.rs": "Existing plugin-domain test module retained while production plugin code is split.",
"crates/host-core/src/db/tests.rs": "Existing database-domain test module retained while production database code is split.",
- "crates/host-core/src/providers/tests.rs": "Existing provider-domain test module retained while production provider code is split."
+ "crates/host-core/src/providers/tests.rs": "Existing provider-domain test module retained while production provider code is split.",
+ "crates/host-core/src/user_skills.rs": "User-skill catalog crossed the Rust 1000-LOC limit when the scan-and-batch-import path landed (PR #515); the file still holds one cohesive discovery/import lifecycle and is exempted until the batch-import surface is separated."
}
}