Module: Mistri::Workspace
- Defined in:
- lib/mistri/workspace/memory.rb,
lib/mistri/workspace/single.rb,
lib/mistri/workspace/directory.rb,
lib/mistri/workspace/active_record.rb
Overview
The document store agents work in. A workspace maps paths to text and can live anywhere: memory for tests and ephemeral runs, a directory when disk exists, the host's database when it does not. The file tools bind to this port, so fuzzy-editing a MySQL row works exactly like editing a file.
A backend implements read(path) -> String or nil, write(path, content), delete(path), and list(prefix = nil) -> [paths].
Defined Under Namespace
Classes: ActiveRecord, Directory, Memory, Single