claude-sdk-rs 1.0.0

Rust SDK for Claude AI with CLI integration - type-safe async API for Claude Code and direct SDK usage
Documentation
//! Command discovery and management
//!
//! This module handles:
//! - Scanning .claude/commands/ directory for available commands
//! - Caching command metadata for performance
//! - Watching for changes in command files
//! - Providing command information to the CLI

// Module will be implemented by Core Systems Agent (Agent 2)
// pub mod discovery;

// For now, provide placeholder types that can be imported
use crate::cli::error::Result;

/// Represents a discovered Claude command
#[derive(Debug, Clone)]
pub struct Command {
    pub name: String,
    pub description: Option<String>,
    pub usage: Option<String>,
    pub path: std::path::PathBuf,
}

/// Command discovery service
pub struct CommandDiscovery {
    // Implementation details will be added by Agent 2
}

impl CommandDiscovery {
    /// Create a new command discovery service
    pub fn new() -> Self {
        Self {}
    }

    /// Discover all available commands
    pub async fn discover_commands(&self) -> Result<Vec<Command>> {
        // Placeholder implementation
        Ok(vec![])
    }
}