Skip to content

Commit 70bb0bd

Browse files
committed
style: fix formatting and bump nest.rs file size override
rustfmt fixes after rebase onto main (extra blank lines in lib.rs and nest.rs). Bump nest.rs file size override from 800 to 960 to account for skill file init code merged from #613. Signed-off-by: Will Pfleger <wpfleger@block.xyz>
1 parent d3b8452 commit 70bb0bd

3 files changed

Lines changed: 1 addition & 4 deletions

File tree

desktop/scripts/check-file-sizes.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const overrides = new Map([
5252
["src-tauri/src/managed_agents/runtime.rs", 1110], // ... + respond-to gate env (SPROUT_ACP_RESPOND_TO[_ALLOWLIST]) + per-mode env builder + tests + persona/agent env_vars spawn merge (helper + tests now in env_vars.rs)
5353
["src-tauri/src/managed_agents/discovery.rs", 680], // KNOWN_ACP_PROVIDERS catalog + resolve_command cache + login_shell_path + classify_provider (four-state: Available/AdapterMissing/CliMissing/NotInstalled) + discover_acp_providers with dynamic install_hint + known_acp_provider/known_acp_provider_exact + normalize_agent_args + 15 unit tests
5454
["src-tauri/src/managed_agents/types.rs", 745], // ManagedAgentRecord/Summary + Create/Update request structs + AcpProviderCatalogEntry + InstallRuntimeResult + RespondTo enum + validate_respond_to_allowlist + tests + persona/agent env_vars field
55-
["src-tauri/src/managed_agents/nest.rs", 800], // regenerate_nest_context + render_dynamic_section + upsert_managed_section + marker helpers + 19 unit tests
55+
["src-tauri/src/managed_agents/nest.rs", 960], // ensure_nest_at (AGENTS.md + SKILL.md + permissions) + ensure_cli_symlink + regenerate_nest_context + render_dynamic_section + upsert_managed_section + marker helpers + 19 unit tests
5656
["src-tauri/src/managed_agents/backend.rs", 700], // provider IPC, validation, discovery, binary resolution + tests + redact_secrets_with for user env values + env_secrets_from_request + redact_env_values_in (shared with model discovery)
5757
["src/features/huddle/HuddleContext.tsx", 650], // huddle lifecycle context + joinHuddle + connectAndSetupMedia shared helper + activeSpeakers/isReconnecting state + PTT (reusable AudioContext) + TTS subscription + mic level analyser (10fps throttle) + agent pubkey refresh
5858
["src/features/agents/hooks.ts", 550], // agent query/mutation surface + useAvailableAcpProviders (type-narrowing filter hook) + useInstallAcpRuntimeMutation + built-in persona library activation

desktop/src-tauri/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,6 @@ pub fn run() {
405405

406406
try_regenerate_nest(&app_handle);
407407

408-
409408
// Pre-download voice models in the background so they're ready
410409
// when the user starts their first huddle. Idempotent — no-op if
411410
// already downloaded. ~289 MB total (~100 MB Parakeet STT + ~189 MB Pocket TTS).

desktop/src-tauri/src/managed_agents/nest.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,6 @@ pub fn ensure_cli_symlink(_exe_parent: &Path) -> Result<(), String> {
233233
Ok(())
234234
}
235235

236-
237236
fn escape_md_cell(s: &str) -> String {
238237
s.replace('|', "\\|").replace('\n', " ")
239238
}
@@ -384,7 +383,6 @@ pub fn try_regenerate_nest(app: &AppHandle) {
384383
}
385384
}
386385

387-
388386
#[cfg(test)]
389387
mod tests {
390388
use super::*;

0 commit comments

Comments
 (0)