Entropic 2.14.3
Local-first agentic inference engine
Loading...
Searching...
No Matches
EntropicWorkspace Struct Reference

A named repository a session's tools operate in (gh#166). More...

#include </home/runner/work/entropic/entropic/src/facade/engine_handle.h>

Public Attributes

std::string name
 Caller-chosen workspace name.
 
std::filesystem::path root
 Tool root for bound sessions.
 
std::unique_ptr< entropic::ServerManager > servers
 Its own instances.
 
std::optional< std::string > app_context
 gh#179: this workspace's app_context; nullopt = the handle's.
 

Detailed Description

A named repository a session's tools operate in (gh#166).

One resident model, many projects. A workspace owns its own tool root, its own built-in + plugin server INSTANCES (they hold a working directory each, so two workspaces cannot share one set), its own external MCP servers, and — through its ServerManager — its own delegation swap lock. Weights, tiers and identity stay handle-wide — which is the entire point: switching repository must not cost a 13 GiB reload.

v2.14.0 (gh#179): a workspace may carry its own app_context, which replaces the handle's in the prompts its bound sessions are seeded with.

Version
2.14.0

Definition at line 84 of file engine_handle.h.

Member Data Documentation

◆ app_context

std::optional<std::string> EntropicWorkspace::app_context

gh#179: this workspace's app_context; nullopt = the handle's.

Definition at line 93 of file engine_handle.h.

◆ name

std::string EntropicWorkspace::name

Caller-chosen workspace name.

Definition at line 85 of file engine_handle.h.

◆ root

std::filesystem::path EntropicWorkspace::root

Tool root for bound sessions.

Definition at line 86 of file engine_handle.h.

◆ servers

std::unique_ptr<entropic::ServerManager> EntropicWorkspace::servers

Its own instances.

gh#158: the ServerManager carries the sandbox swap lock (ToolRootLock), so it is per workspace — which is what lets two sessions in DIFFERENT repositories delegate concurrently.

Definition at line 91 of file engine_handle.h.


The documentation for this struct was generated from the following file: