From d0e333451bd794a419e96f28db925772950ea156 Mon Sep 17 00:00:00 2001 From: Ward Peeters Date: Sat, 4 Jul 2026 00:29:42 +0200 Subject: feat: add mastracode integration (#788) * feat: add mastracode integration refs #337 Co-authored-by: Mastra Code (openai/gpt-5.5) Co-authored-by: Ogulcan Celik --- src/integration/registry.rs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/integration/registry.rs') diff --git a/src/integration/registry.rs b/src/integration/registry.rs index e68dce0c..84e42a25 100644 --- a/src/integration/registry.rs +++ b/src/integration/registry.rs @@ -21,6 +21,7 @@ pub(crate) fn integration_target_label( crate::api::schema::IntegrationTarget::Hermes => "hermes", crate::api::schema::IntegrationTarget::Qodercli => "qodercli", crate::api::schema::IntegrationTarget::Cursor => "cursor", + crate::api::schema::IntegrationTarget::Mastracode => "mastracode", } } @@ -47,6 +48,7 @@ pub(crate) fn integration_target_command_names( crate::api::schema::IntegrationTarget::Hermes => &["hermes"], crate::api::schema::IntegrationTarget::Qodercli => qodercli_command_names(), crate::api::schema::IntegrationTarget::Cursor => cursor_command_names(), + crate::api::schema::IntegrationTarget::Mastracode => &["mastracode"], } } @@ -251,7 +253,7 @@ fn integration_specs() -> [( crate::api::schema::IntegrationTarget, io::Result, u32, -); 13] { +); 14] { [ ( crate::api::schema::IntegrationTarget::Pi, @@ -321,6 +323,11 @@ fn integration_specs() -> [( cursor_dir().map(|dir| dir.join(super::CURSOR_HOOK_INSTALL_NAME)), super::CURSOR_INTEGRATION_VERSION, ), + ( + crate::api::schema::IntegrationTarget::Mastracode, + mastracode_dir().map(|dir| dir.join("hooks").join(super::MASTRACODE_HOOK_INSTALL_NAME)), + super::MASTRACODE_INTEGRATION_VERSION, + ), ] } -- cgit v1.2.3