~ knotless Search/
↑↓ move↵ open⇧↵ all results

johnandersen777.bsky.social/atlibs

0
0
main
25 lines · 2.9 KB Raw History

Environment

Who a run acts as is never read from the environment; these variables configure hosts only.

variableread bywhat
ATLIBS_SERVER_STATEatlibs, Node CLI, node-honothe state dir (default ~/.atlibs-server): sealed sessions, attestation and did:keys, the records ledger. Keep it private; share it between processes to share sessions
ATLIBS_ORIGINatlibs serve, node-honothe public origin (same as --origin): OAuth client ids and callbacks live on it
ATLIBS_BUDGETatlibs, Node CLIJSON merged over a run's budget; "unlimited" for calls, callsPerMinute, events, wallMs; ioBytes (up to 16 MiB) for bigger events (limits)
ATLIBS_HTTPatlibs, Node CLIJSON, or @file of it: the origins com.fedfork.exec.http.fetch may reach, each with the headers the host adds ({"https://api.anthropic.com":{"headers":{"x-api-key":"..."}}}) or a service-auth token it mints per request with the run's session ({"https://cocore.dev":{"serviceAuth":{"aud":"did:web:cocore.dev","lxm":"dev.cocore.inference.dispatch"}}}); a module reaches those its module.json http lists too (calls). Keep the file private
ATLIBS_HELDatlibs, Node CLIJSON, or @file of it: { name: value }, the held values each run starts with (a composition's: the root's run); counted against heldBytes
ATLIBS_WASM_CONCURRENCYatlibs, Nodewasm runs executing at once per process (default: the core count); not a positive integer: exit 1 at startup
ATLIBS_ALLOW_PRIVATEatlibs, Node1: DID, PDS and blob lookups may use http and private addresses (local development, tests)
ATLIBS_PLC_URLatlibsthe PLC directory (default https://plc.directory)
ATLIBS_HANDLE_RESOLVERatlibswhere handles resolve (default https://public.api.bsky.app); the DID document must claim the handle back
ATLIBS_BROWSERatlibs loginthe command that opens the sign-in URL (default open / xdg-open); the URL is printed either way
ATLIBS_IROH_KEYiroh transportthe ssh private key for iroh sessions (default <state>/iroh_ed25519)
ATLIBS_TRANSPORTSNode CLIcomma-separated module paths, each exporting transport (Transports)
ATLIBS_STAGEnode-honothe stage.json to serve (default staged/stage.json)
ATLIBS_EXTRA_CAatlibstests only: a PEM file of extra roots trusted for wss://
PORTnode-honolisten port (default 8788)
XDG_CACHE_HOMEatlibs publishits cache: $XDG_CACHE_HOME/atlibs/<did>/ (default ~/.cache/atlibs/<did>/)
CONTAINER_ENGINEatlibs publish, atlibs verifythe container engine (default: the first of podman, docker, container whose info answers)

Previous: Limits | Next: Security