Class SubagentTaskOperations
java.lang.Object
io.agentscope.spring.boot.admin.service.SubagentTaskOperations
Read/cancel operations over a
TaskRepository-managed pool of subagent background tasks.
The TaskRepository bean is optional. When absent (no user wired one into Spring),
every method returns an empty result without raising — the endpoint is still reachable but
inert, which is the same fail-soft behaviour as the rest of the inventory.
-
Constructor Summary
ConstructorsConstructorDescriptionSubagentTaskOperations(org.springframework.beans.factory.ObjectProvider<io.agentscope.harness.agent.subagent.task.TaskRepository> repoProvider) -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Boolean>reactor.core.publisher.Mono<SubagentTaskView>booleanreactor.core.publisher.Mono<List<SubagentTaskView>>
-
Constructor Details
-
SubagentTaskOperations
public SubagentTaskOperations(org.springframework.beans.factory.ObjectProvider<io.agentscope.harness.agent.subagent.task.TaskRepository> repoProvider)
-
-
Method Details
-
isConfigured
public boolean isConfigured() -
list
public reactor.core.publisher.Mono<List<SubagentTaskView>> list(String sessionId, String statusFilter) -
get
-
cancel
- Returns:
- true if the cancel request was accepted by the repository.
-