-
Notifications
You must be signed in to change notification settings - Fork 6k
feat: computer controller overhaul, adding peekaboo #7342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 8 commits
1ad6bb2
9db4bb1
d874f3a
24c46f5
6d95ec6
6568447
23d5341
474b8d3
87f5ef7
ffd68e3
efd6664
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -14,6 +14,8 @@ | |||||||||||||||||
| pub mod developer; | ||||||||||||||||||
| pub mod mcp_server_runner; | ||||||||||||||||||
| mod memory; | ||||||||||||||||||
| #[cfg(target_os = "macos")] | ||||||||||||||||||
| pub mod peekaboo; | ||||||||||||||||||
| pub mod subprocess; | ||||||||||||||||||
| pub mod tutorial; | ||||||||||||||||||
|
|
||||||||||||||||||
|
|
@@ -22,6 +24,8 @@ | |||||||||||||||||
| pub use developer::rmcp_developer::DeveloperServer; | ||||||||||||||||||
| pub use developer::rmcp_developer::WORKING_DIR_PLACEHOLDER; | ||||||||||||||||||
| pub use memory::MemoryServer; | ||||||||||||||||||
| #[cfg(target_os = "macos")] | ||||||||||||||||||
| pub use peekaboo::PeekabooServer; | ||||||||||||||||||
| pub use tutorial::TutorialServer; | ||||||||||||||||||
|
|
||||||||||||||||||
| /// Type definition for a function that spawns and serves a builtin extension server | ||||||||||||||||||
|
|
@@ -54,11 +58,21 @@ | |||||||||||||||||
| } | ||||||||||||||||||
|
|
||||||||||||||||||
| pub static BUILTIN_EXTENSIONS: Lazy<HashMap<&'static str, SpawnServerFn>> = Lazy::new(|| { | ||||||||||||||||||
| HashMap::from([ | ||||||||||||||||||
| let mut map = HashMap::from([ | ||||||||||||||||||
|
Check failure on line 61 in crates/goose-mcp/src/lib.rs
|
||||||||||||||||||
| builtin!(developer, DeveloperServer), | ||||||||||||||||||
| builtin!(autovisualiser, AutoVisualiserRouter), | ||||||||||||||||||
| builtin!(computercontroller, ComputerControllerServer), | ||||||||||||||||||
| builtin!(memory, MemoryServer), | ||||||||||||||||||
| builtin!(tutorial, TutorialServer), | ||||||||||||||||||
| ]) | ||||||||||||||||||
| ]); | ||||||||||||||||||
|
|
||||||||||||||||||
| #[cfg(target_os = "macos")] | ||||||||||||||||||
| { | ||||||||||||||||||
| map.insert( | ||||||||||||||||||
| builtin!(peekaboo, PeekabooServer).0, | ||||||||||||||||||
| builtin!(peekaboo, PeekabooServer).1, | ||||||||||||||||||
| ); | ||||||||||||||||||
| } | ||||||||||||||||||
|
|
||||||||||||||||||
|
||||||||||||||||||
| map.insert( | |
| builtin!(peekaboo, PeekabooServer).0, | |
| builtin!(peekaboo, PeekabooServer).1, | |
| ); | |
| } | |
| let peekaboo = builtin!(peekaboo, PeekabooServer); | |
| map.insert(peekaboo.0, peekaboo.1); | |
| } |
Uh oh!
There was an error while loading. Please reload this page.