[goose2] MCP Apps: translate ACP host capabilities into MCP initialization (#8623)

Signed-off-by: Andrew Harvard <aharvard@squareup.com>
This commit is contained in:
Andrew Harvard
2026-04-28 08:03:44 -04:00
committed by GitHub
parent 52b3f21ef7
commit f908837407
13 changed files with 345 additions and 69 deletions
+2
View File
@@ -5,6 +5,7 @@ use async_trait::async_trait;
use fs_err as fs;
use goose::acp::server::{serve, AcpProviderFactory, GooseAcpAgent};
pub use goose::acp::{map_permission_response, PermissionDecision};
use goose::agents::GoosePlatform;
use goose::builtin_extension::register_builtin_extensions;
use goose::config::paths::Paths;
use goose::config::{GooseMode, PermissionManager};
@@ -190,6 +191,7 @@ pub async fn spawn_acp_server_in_process(
data_root.to_path_buf(),
goose_mode,
true,
GoosePlatform::GooseCli,
)
.await
.unwrap();
+4 -1
View File
@@ -261,7 +261,10 @@ async fn test_replayed_session(
provider,
session_manager,
GoosePlatform::GooseDesktop.to_string(),
ExtensionManagerCapabilities { mcpui: true },
ExtensionManagerCapabilities {
mcpui: true,
host_info: None,
},
));
#[allow(clippy::redundant_closure_call)]