An agent-managed museum exhibit, built in Rust with Gajae-Code / LazyCodex — developed and maintained with no human intervention.
Rust
chore: clean up post-merge compiler warnings
YeonGyu-Kim765635b3126c
diff --git a/rust/crates/api/src/providers/anthropic.rs b/rust/crates/api/src/providers/anthropic.rsindex ec04c3b8..e8cbe3f3 100644--- a/rust/crates/api/src/providers/anthropic.rs+++ b/rust/crates/api/src/providers/anthropic.rs@@ -19,7 +19,6 @@ use crate::sse::SseParser;use crate::types::{MessageDeltaEvent, MessageRequest, MessageResponse, StreamEvent, Usage};pub const DEFAULT_BASE_URL: &str = "https://api.anthropic.com";-const ANTHROPIC_VERSION: &str = "2023-06-01";const REQUEST_ID_HEADER: &str = "request-id";const ALT_REQUEST_ID_HEADER: &str = "x-request-id";const DEFAULT_INITIAL_BACKOFF: Duration = Duration::from_millis(200);diff --git a/rust/crates/runtime/src/config.rs b/rust/crates/runtime/src/config.rsindex 7019ed71..ccaf09ae 100644--- a/rust/crates/runtime/src/config.rs+++ b/rust/crates/runtime/src/config.rs@@ -563,7 +563,7 @@ fn read_optional_json_object(let parsed = match JsonValue::parse(&contents) {Ok(parsed) => parsed,- Err(error) if is_legacy_config => return Ok(None),+ Err(_error) if is_legacy_config => return Ok(None),Err(error) => return Err(ConfigError::Parse(format!("{}: {error}", path.display()))),};let Some(object) = parsed.as_object() else {diff --git a/rust/crates/runtime/src/hooks.rs b/rust/crates/runtime/src/hooks.rsindex 77f84710..739065d6 100644--- a/rust/crates/runtime/src/hooks.rs+++ b/rust/crates/runtime/src/hooks.rs@@ -476,15 +476,6 @@ impl HookRunner {}}-struct HookInvocation<'a> {- event: HookEvent,- tool_name: &'a str,- tool_input: &'a str,- tool_output: Option<&'a str>,- is_error: bool,- payload: &'a str,-}-enum HookCommandOutcome {Allow { parsed: ParsedHookOutput },Deny { parsed: ParsedHookOutput },diff --git a/rust/crates/rusty-claude-cli/src/main.rs b/rust/crates/rusty-claude-cli/src/main.rsindex 1633f1c6..4f8362a4 100644--- a/rust/crates/rusty-claude-cli/src/main.rs+++ b/rust/crates/rusty-claude-cli/src/main.rs@@ -4,7 +4,6 @@ mod render;use std::collections::BTreeSet;use std::env;-use std::fmt::Write as _;use std::fs;use std::io::{self, Read, Write};use std::net::TcpListener;@@ -18,8 +17,7 @@ use std::time::{Duration, Instant, UNIX_EPOCH};use api::{resolve_startup_auth_source, AnthropicClient, AuthSource, ContentBlockDelta, InputContentBlock,InputMessage, MessageRequest, MessageResponse, OutputContentBlock, PromptCache,- SessionTracer, StreamEvent as ApiStreamEvent, ToolChoice, ToolDefinition,- ToolResultContentBlock,+ StreamEvent as ApiStreamEvent, ToolChoice, ToolDefinition, ToolResultContentBlock,};use commands::{@@ -52,7 +50,6 @@ fn max_tokens_for_model(model: &str) -> u32 {}const DEFAULT_DATE: &str = "2026-03-31";const DEFAULT_OAUTH_CALLBACK_PORT: u16 = 4545;-const TELEMETRY_LOG_PATH_ENV: &str = "CLAW_TELEMETRY_LOG_PATH";const VERSION: &str = env!("CARGO_PKG_VERSION");const BUILD_TARGET: Option<&str> = option_env!("TARGET");const GIT_SHA: Option<&str> = option_env!("GIT_SHA");@@ -3290,10 +3287,6 @@ impl AnthropicRuntimeClient {})}- fn with_session_tracer(mut self, session_tracer: SessionTracer) -> Self {- self.client = self.client.with_session_tracer(session_tracer);- self- }}fn resolve_cli_auth_source() -> Result<AuthSource, Box<dyn std::error::Error>> {@@ -3522,23 +3515,6 @@ fn collect_prompt_cache_events(summary: &runtime::TurnSummary) -> Vec<serde_json.collect()}-fn print_prompt_cache_events(summary: &runtime::TurnSummary) {- for event in &summary.prompt_cache_events {- let label = if event.unexpected {- "Prompt cache break"- } else {- "Prompt cache invalidation"- };- println!(- "{label}: {} (cache read {} -> {}, drop {})",- event.reason,- event.previous_cache_read_input_tokens,- event.current_cache_read_input_tokens,- event.token_drop,- );- }-}-fn slash_command_completion_candidates() -> Vec<String> {slash_command_specs().iter()