Skip to main content

run

Function run 

Source
pub async fn run(bamboo_home_dir: PathBuf, port: u16) -> Result<(), String>
Expand description

Run the unified server in desktop mode (localhost only, no rate limiting)

This is the simplest mode for desktop applications:

  • Binds to 127.0.0.1 only (safe, localhost-only)
  • No rate limiting (assumes single user)
  • No security headers (development mode)

ยงArguments

  • bamboo_home_dir - Bamboo home directory containing all app data (config, sessions, skills, etc.) Equivalent to ${HOME}/.bamboo in standard installations.
  • port - Port to listen on