bamboo-server 2026.8.25

HTTP server and API layer for the Bamboo agent framework
Documentation
1
2
3
4
5
6
7
8
9
10
use actix_web::{web, HttpResponse};

use crate::{app_state::AppState, error::AppError};

/// Resets (deletes) the Bamboo configuration file.
pub async fn reset_bamboo_config(app_state: web::Data<AppState>) -> Result<HttpResponse, AppError> {
    app_state.reset_legacy_config_and_runtime().await?;

    Ok(HttpResponse::Ok().json(serde_json::json!({ "success": true })))
}