Class WorkspaceAsyncToolRegistry

java.lang.Object
io.agentscope.harness.agent.bus.WorkspaceAsyncToolRegistry
All Implemented Interfaces:
AsyncToolRegistry

public class WorkspaceAsyncToolRegistry extends Object implements AsyncToolRegistry
AsyncToolRegistry backed by AbstractFilesystem.

Each async tool record is persisted as a JSON file under {registryRoot}/async-tools/{sessionId}/{recordId}.json. This ensures records survive process crashes — InboxMiddleware can detect stale RUNNING records on session recovery and notify the LLM.

Works with any filesystem backend (local, remote, sandbox).