feat: tutorial extension (#1169)

Co-authored-by: Kalvin Chau <kalvin@squareup.com>
This commit is contained in:
Bradley Axen
2025-02-13 10:54:06 -08:00
committed by GitHub
parent 3ef552d7bf
commit 911f9b2033
8 changed files with 776 additions and 0 deletions
+2
View File
@@ -1,6 +1,7 @@
use anyhow::Result;
use goose_mcp::{
ComputerControllerRouter, DeveloperRouter, GoogleDriveRouter, JetBrainsRouter, MemoryRouter,
TutorialRouter,
};
use mcp_server::router::RouterService;
use mcp_server::{BoundedService, ByteTransport, Server};
@@ -20,6 +21,7 @@ pub async fn run(name: &str) -> Result<()> {
Some(Box::new(RouterService(router)))
}
"memory" => Some(Box::new(RouterService(MemoryRouter::new()))),
"tutorial" => Some(Box::new(RouterService(TutorialRouter::new()))),
_ => None,
};