WorkspaceLocks

org.llm4s.agent.harness.workspace.WorkspaceLocks
@Experimental

The locks of a workspace's backends (design ยง4.33): a file mutation and a command alike lock the whole workspace, files/workspace/<id>, so a batch's edits and commands apply one after another in call order. A per-path key would not do: two paths can name one file through a link (/alias -> /real), and their edits must still be ordered. The key is under C3's FileBackend.LockRoot, as FileBackend.resolved requires of a resolved backend's locks.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def workspaceLock(id: String): LockKey

The lock of everything in the workspace id: what a command there holds.

The lock of everything in the workspace id: what a command there holds.

Attributes

Concrete fields

The root of every workspace's locks, files/workspace: what a resolved sandbox declares.

The root of every workspace's locks, files/workspace: what a resolved sandbox declares.

Attributes