003 // REFERENCE
ENVIRONMENT CONFIGURATION
Configuration available through environment variables and the local YAML command corpus.
Environment variables
| Variable | Purpose | Default |
|---|---|---|
EVERYCLI_PORT | Port used for local client-to-daemon TCP communication. | 51821 |
EVERYCLI_DATA_DIR | Directory containing the built-in YAML corpus. | ../everycli/data/commands (relative to the daemon's launch directory) |
EVERYCLI_USER_DATA_DIR | Directory containing your personal commands (everycli add). | ~/.everycli/commands |
EVERYCLI_MODEL_DIR | Directory containing model.onnx and tokenizer.json. | onnx-bench/models/everycli-minilm-ft |
EVERYCLI_ONNXRUNTIME_DYLIB | Path to the ONNX Runtime shared library. | onnx-bench/runtime/onnxruntime.dll (or .so) |
EVERYCLI_BIN | Full path to the everycli executable used by the PowerShell wrapper. | Not set |
Command scenario format
Scenarios are stored in everycli/data/commands/*.yaml. Their fields describe the intent, command variants, explanation, and optional safety warning. The filename (without extension) is the namespace for all scenarios it contains.
- id: unique_id
description: Natural-language task
tags: [git, history]
commands:
linux: "git ..."
windows: "git ..."
macos: "git ..."
explanation: What the command does
warning: Optional safety noteLocal user corpus
Commands added with everycli add are written to ~/.everycli/commands/<namespace>.yaml. They are merged with the built-in corpus at search time.
Daemon communication
The daemon listens only on 127.0.0.1:{EVERYCLI_PORT}. It accepts JSON messages line-by-line (actions: search, ping, reload).