agent-first-http 0.13.0

Give your AI agent its own private browser — so it reads the real page, past logins and bot walls, without ever touching yours.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! `afhttp capabilities` subcommand.

use crate::cli::connect::Connection;
use crate::cli::output;
use crate::shared::error::Error;

#[derive(Debug)]
pub struct Args {
    pub connection: Connection,
}

pub async fn run(args: Args) -> Result<(), Error> {
    let client = args.connection.client().await?;
    let response = client.capabilities().await?;
    output::emit("capabilities", &response)
}