ai-agent 0.13.4

Idiomatic agent sdk inspired by the claude code source leak
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Source: /data/home/swei/claudecode/openclaudecode/src/commands/clear/clear.ts
use super::Command;

pub fn create_clear_command() -> Command {
    Command::local("clear", "Clear the conversation").argument_hint("[cache|conversation|all]")
}

pub fn create_clear_cache_command() -> Command {
    Command::local("clear-cache", "Clear cached data")
}

pub fn create_clear_conversation_command() -> Command {
    Command::local("clear-conversation", "Clear the current conversation")
}