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/types/generated/events_mono/common/v1/auth.ts
use super::Command;

pub fn create_login_command() -> Command {
    Command::local("login", "Authenticate with the API")
}

pub fn create_logout_command() -> Command {
    Command::local("logout", "Sign out of the current session")
}

pub fn create_mcp_command() -> Command {
    Command::local("mcp", "Manage MCP servers").argument_hint("[add|remove|list] [<server-name>]")
}