codetether-agent 4.6.1

A2A-native AI coding agent for the CodeTether ecosystem
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! `diagnose` tool action — dumps page HTTP plumbing for debugging.

use super::super::super::input::BrowserCtlInput;
use crate::browser::{BrowserCommand, BrowserError, BrowserOutput, request::DiagnoseRequest};

/// Dispatch a [`DiagnoseRequest`] to dump service workers, axios
/// instances, CSP, and network-log summary.
///
/// # Errors
///
/// Propagates browser errors from the command executor.

pub(in crate::tool::browserctl) async fn diagnose(
    input: &BrowserCtlInput,
) -> Result<BrowserOutput, BrowserError> {
    super::super::execute(input, BrowserCommand::Diagnose(DiagnoseRequest {})).await
}