rusty_claw 0.1.0

Rust implementation of the Claude Agent SDK
Documentation
1
2
3
4
5
{"type":"system","subtype":"init","session_id":"sess_tool_002","tools":[{"name":"bash","description":"Execute shell commands","input_schema":{"type":"object","properties":{"command":{"type":"string"}}}}],"mcp_servers":[{"name":"filesystem"}]}
{"type":"assistant","message":{"role":"assistant","content":[{"type":"text","text":"I'll check the current directory."},{"type":"tool_use","id":"toolu_01ABC","name":"bash","input":{"command":"ls -la"}}]}}
{"type":"user","message":{"role":"user","content":[{"type":"tool_result","tool_use_id":"toolu_01ABC","content":"total 24\\ndrwxr-xr-x  5 user  staff  160 Jan  1 12:00 .\\ndrwxr-xr-x 10 user  staff  320 Jan  1 11:00 ..\\n-rw-r--r--  1 user  staff  123 Jan  1 12:00 Cargo.toml\\n-rw-r--r--  1 user  staff   45 Jan  1 12:00 README.md\\ndrwxr-xr-x  3 user  staff   96 Jan  1 12:00 src"}]}}
{"type":"assistant","message":{"role":"assistant","content":[{"type":"text","text":"The directory contains a Rust project with Cargo.toml, README.md, and a src/ directory."}]},"duration_ms":95}
{"type":"result","subtype":"success","result":"Directory listing complete","duration_ms":312,"num_turns":2,"usage":{"input_tokens":128,"output_tokens":67}}