Class ControlPlaneAsyncToolRegistry

java.lang.Object
io.agentscope.extensions.aistio.store.ControlPlaneAsyncToolRegistry
All Implemented Interfaces:
io.agentscope.harness.agent.bus.AsyncToolRegistry

public final class ControlPlaneAsyncToolRegistry extends Object implements io.agentscope.harness.agent.bus.AsyncToolRegistry
Control-plane hosted AsyncToolRegistry over /api/v1/dp/async-tools/*.
  • Method Details

    • register

      public reactor.core.publisher.Mono<Void> register(io.agentscope.harness.agent.bus.AsyncToolRecord record)
      Specified by:
      register in interface io.agentscope.harness.agent.bus.AsyncToolRegistry
    • complete

      public reactor.core.publisher.Mono<Void> complete(String id, String result)
      Specified by:
      complete in interface io.agentscope.harness.agent.bus.AsyncToolRegistry
    • fail

      public reactor.core.publisher.Mono<Void> fail(String id, String error)
      Specified by:
      fail in interface io.agentscope.harness.agent.bus.AsyncToolRegistry
    • findStale

      public reactor.core.publisher.Mono<List<io.agentscope.harness.agent.bus.AsyncToolRecord>> findStale(String sessionId, Duration ttl)
      Specified by:
      findStale in interface io.agentscope.harness.agent.bus.AsyncToolRegistry
    • markTimeout

      public reactor.core.publisher.Mono<Void> markTimeout(String id)
      Specified by:
      markTimeout in interface io.agentscope.harness.agent.bus.AsyncToolRegistry