RepoRuntime class

The MCP JSON layer over a RepositoryService: it maps the apollovm.fs.* / apollovm.search.* / apollovm.code.* / apollovm.git.* tool calls to typed service methods and serializes the results to JSON.

All the actual behavior (permission enforcement, path confinement, language-aware navigation) lives in RepositoryService, which non-MCP hosts (a web IDE, an editor) can use directly. Expected failures raised as RepoException become {isError: true} results.

Constructors

RepoRuntime(RepositoryAdapter adapter)
Wraps adapter (already permission-guarded by the server) in a RepositoryService.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
service RepositoryService
final

Methods

call(String name, Map<String, Object?> args) Future<Map<String, Object?>>
Runs the repo tool named name with args, returning its JSON result map.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited