Uses of Interface
io.agentscope.harness.agent.subagent.task.TaskRepository
Packages that use TaskRepository
Package
Description
-
Uses of TaskRepository in io.agentscope.harness.agent
Methods in io.agentscope.harness.agent that return TaskRepositoryModifier and TypeMethodDescriptionHarnessAgent.getTaskRepository()Background subagentTaskRepositoryowned by the subagent middleware, ornullwhen subagents are not configured.DistributedStore.CompositeDistributedStore.taskRepository()default TaskRepositoryDistributedStore.taskRepository()Creates aTaskRepositoryfor distributed subagent background tasks.DistributedStore.CompositeDistributedStore.tasks()Returns the value of thetasksrecord component.Methods in io.agentscope.harness.agent with parameters of type TaskRepositoryModifier and TypeMethodDescriptionDistributedStore.Builder.taskRepository(TaskRepository taskRepository) HarnessAgent.Builder.taskRepository(TaskRepository taskRepository) Sets a customTaskRepositoryfor background subagent execution.Constructors in io.agentscope.harness.agent with parameters of type TaskRepositoryModifierConstructorDescriptionCompositeDistributedStore(io.agentscope.core.state.AgentStateStore stateStore, BaseStore store, SandboxSnapshotSpec snapshotSpec, SandboxExecutionGuard executionGuard, MessageBus bus, AsyncToolRegistry toolRegistry, TaskRepository tasks, SessionTurnGate turnGate, TeamClient teams) Creates an instance of aCompositeDistributedStorerecord class. -
Uses of TaskRepository in io.agentscope.harness.agent.middleware
Methods in io.agentscope.harness.agent.middleware that return TaskRepositoryModifier and TypeMethodDescriptionDynamicSubagentsMiddleware.getTaskRepository()SubagentsMiddleware.getTaskRepository()Returns theTaskRepositoryused by this middleware.Methods in io.agentscope.harness.agent.middleware with parameters of type TaskRepositoryModifier and TypeMethodDescriptionstatic StringSubagentsMiddleware.buildTaskSummary(TaskRepository repo, io.agentscope.core.agent.RuntimeContext ctx) Builds a concise summary of in-flight tasks for the current session, ornullif none.Constructors in io.agentscope.harness.agent.middleware with parameters of type TaskRepositoryModifierConstructorDescriptionDynamicSubagentsMiddleware(List<SubagentEntry> staticEntries, AbstractFilesystem filesystem, Path mainWorkspace, Function<SubagentDeclaration, SubagentFactory> factoryBuilder, DefaultAgentManager agentManager, Object subagentTool, TaskRepository taskRepository) SubagentsMiddleware(List<SubagentEntry> entries, TaskRepository taskRepository, WorkspaceManager workspaceManager) Default mode without dynamic reload support.SubagentsMiddleware(List<SubagentEntry> entries, TaskRepository taskRepository, WorkspaceManager workspaceManager, AbstractFilesystem filesystem, Path mainWorkspace, Function<SubagentDeclaration, SubagentFactory> factoryBuilder) Default mode: createsAgentSpawnTool+DefaultAgentManagerinternally.SubagentsMiddleware(List<SubagentEntry> entries, Object externalSubagentTool, TaskRepository taskRepository) AgentStateStore mode: uses the externally provided tool (typicallySessionsTool). -
Uses of TaskRepository in io.agentscope.harness.agent.subagent.task
Classes in io.agentscope.harness.agent.subagent.task that implement TaskRepositoryModifier and TypeClassDescriptionclassWorkspace-backedTaskRepositorythat usesWorkspaceManageras the authoritative truth source for task state, while maintaining in-memoryBackgroundTaskhandles as a local performance overlay for tasks running on the current node. -
Uses of TaskRepository in io.agentscope.harness.agent.tool
Constructors in io.agentscope.harness.agent.tool with parameters of type TaskRepositoryModifierConstructorDescriptionAgentSpawnTool(DefaultAgentManager agentManager, TaskRepository taskRepository, int parentSpawnDepth) Creates anAgentSpawnToolthat derives the active user-id from each tool call'sRuntimeContext, rather than a shared supplier — this prevents identity races when a single agent instance serves concurrent callers.AgentSpawnTool(DefaultAgentManager agentManager, TaskRepository taskRepository, int parentSpawnDepth, SubagentGatewayBridge gatewayBridge) Creates anAgentSpawnToolwith an optional gateway bridge for exposing subagents as user-addressable threads.TaskTool(TaskRepository taskRepository) WaitAsyncResultsTool(MessageBus messageBus, TaskRepository taskRepository)