Class GitHubOutboundClient

java.lang.Object
io.agentscope.extensions.channel.github.GitHubOutboundClient

public final class GitHubOutboundClient extends Object
GitHub outbound HTTP client. Posts a comment via POST /repos/{owner}/{repo}/issues/{number}/comments (works for both Issues and Pull Requests — GitHub treats PR conversation comments as issue comments).

Inline PR review-line replies are out of MVP scope.

The OutboundAddress.to() format is "<channelId>:thread:<owner>/<repo>#<number>", mirroring ChannelRouter output.

  • Constructor Details

    • GitHubOutboundClient

      public GitHubOutboundClient(String apiBase, String token)
  • Method Details

    • send

      public reactor.core.publisher.Mono<Void> send(io.agentscope.harness.agent.gateway.channel.OutboundAddress address, List<io.agentscope.core.message.Msg> messages)
      Sends each message as a separate comment on the resolved thread.