SandboxBackend

org.llm4s.agent.harness.SandboxBackend
See theSandboxBackend companion class

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(runner: SandboxRunner, maxOutputBytes: Int): SandboxBackend

A backend over one runner: one tenant's sandbox.

A backend over one runner: one tenant's sandbox.

Attributes

def resolved(locks: VPath => Set[LockKey], maxOutputBytes: Int)(resolve: FileContext => Result[SandboxRunner]): SandboxBackend

A backend whose runner resolve picks per call, typically by ctx.run.config.tenantId (rule 8). Locks are computed before any context exists, so they are given here, and must cover the locks of every runner resolve can pick.

A backend whose runner resolve picks per call, typically by ctx.run.config.tenantId (rule 8). Locks are computed before any context exists, so they are given here, and must cover the locks of every runner resolve can pick.

Attributes

Concrete fields

32 KiB: the default bound on each stream.

32 KiB: the default bound on each stream.

Attributes

val MaxCommandBytes: Int

The longest command execute takes, in UTF-8 bytes.

The longest command execute takes, in UTF-8 bytes.

Attributes

val MaxOutputBytes: Int

The most maxOutputBytes may be, so an ExecResult always fits a replay record.

The most maxOutputBytes may be, so an ExecResult always fits a replay record.

Attributes