chore: Rename non dev to computer controller (#788)

Co-authored-by: Angie Jones <jones.angie@gmail.com>
This commit is contained in:
Bradley Axen
2025-01-26 09:36:59 -08:00
committed by GitHub
parent 4548710f2f
commit 03f87e2b57
9 changed files with 31 additions and 31 deletions
+3 -3
View File
@@ -324,9 +324,9 @@ pub fn configure_extensions_dialog() -> Result<(), Box<dyn Error>> {
"Code editing and shell access",
)
.item(
"nondeveloper",
"Non Developer",
"AI driven scripting for non developers",
"computercontroller",
"Computer Controller",
"controls for webscraping, file caching, and automations",
)
.item(
"google_drive",
+2 -2
View File
@@ -1,6 +1,6 @@
use anyhow::Result;
use goose_mcp::{
DeveloperRouter, GoogleDriveRouter, JetBrainsRouter, MemoryRouter, NonDeveloperRouter,
ComputerControllerRouter, DeveloperRouter, GoogleDriveRouter, JetBrainsRouter, MemoryRouter,
};
use mcp_server::router::RouterService;
use mcp_server::{BoundedService, ByteTransport, Server};
@@ -14,7 +14,7 @@ pub async fn run_server(name: &str) -> Result<()> {
let router: Option<Box<dyn BoundedService>> = match name {
"developer" => Some(Box::new(RouterService(DeveloperRouter::new()))),
"nondeveloper" => Some(Box::new(RouterService(NonDeveloperRouter::new()))),
"computercontroller" => Some(Box::new(RouterService(ComputerControllerRouter::new()))),
"jetbrains" => Some(Box::new(RouterService(JetBrainsRouter::new()))),
"google_drive" => {
let router = GoogleDriveRouter::new().await;