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
@@ -422,6 +422,11 @@ pub fn configure_extensions_dialog() -> Result<(), Box<dyn Error>> {
"Memory",
"Tools to save and retrieve durable memories",
)
.item(
"tutorial",
"Tutorial",
"Access interactive tutorials and guides",
)
.item("jetbrains", "JetBrains", "Connect to jetbrains IDEs")
.interact()?
.to_string();
+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};
@@ -21,6 +22,7 @@ pub async fn run_server(name: &str) -> Result<()> {
Some(Box::new(RouterService(router)))
}
"memory" => Some(Box::new(RouterService(MemoryRouter::new()))),
"tutorial" => Some(Box::new(RouterService(TutorialRouter::new()))),
_ => None,
};