Skip to main content

Crate packset_client

Crate packset_client 

Source
Expand description

Loopback HTTP client for packsetd.

Reads PACKSET_URL or INSIDE_MEMORY_URL. search/get against packsetd; no SQLite. Does not open LMDB.

Structs§

Hit
PacksetClient

Enums§

Error

Constants§

DEFAULT_PORT
The port a writer listens on when nothing names one. The command line, the server and this client agree on it, so a seat needs no variable set.

Functions§

default_port
PACKSET_PORT (GROK_MEM_PORT is an alias), else DEFAULT_PORT.
load_seat_env
Load ~/.config/ljos/env (KEY=VALUE) when the process has not set those keys. ljos, packset, and packset-mcp then share one pack.
resolved_workspace
The workspace the seat’s memory lives in: PACKSET_WORKSPACE after loading the seat env file, else seat. Not default, and not the working directory’s git remote: those two are how one harness’s remember missed the other’s sitting.