| 1 | using AgentForge.Abstractions; |
| 2 | |
| 3 | namespace AgentForge.Plugin.MergeRequest; |
| 4 | |
| 5 | internal static class ForgeHandoffCommandRegistration |
| 6 | { |
| 7 | internal static void Register(ForgeCommandRegistry registry) |
| 8 | { |
| 9 | registry.Add(new ForgeCommandDescriptor |
| 10 | { |
| 11 | Domain = "forge", |
| 12 | Object = "handoff", |
| 13 | Intent = "relay", |
| 14 | CommandId = "forge.handoff.relay", |
| 15 | Path = "/handoff", |
| 16 | PathAliases = ["/forge handoff"], |
| 17 | Help = "Relay open MR to another repo (agent-source only; target repo slug in tail).", |
| 18 | Category = "Handoff", |
| 19 | ArgTail = "required", |
| 20 | Surfaces = ["command-bar", "global", "mr-comment"], |
| 21 | RequiredCapabilities = ["write"], |
| 22 | Bindings = new ForgeCommandBindings |
| 23 | { |
| 24 | Mcp = ForgeMcpToolNames.HandoffRelay, |
| 25 | }, |
| 26 | }); |
| 27 | } |
| 28 | } |
| 29 | |
View only · write via MCP/CIDE