EveryCli
003 // REFERENCE

ENVIRONMENT CONFIGURATION

Configuration available through environment variables and the local YAML command corpus.

Environment variables

VariablePurposeDefault
EVERYCLI_PORTPort used for local client-to-daemon TCP communication.51821
EVERYCLI_DATA_DIRDirectory containing the built-in YAML corpus.../everycli/data/commands (relative to the daemon's launch directory)
EVERYCLI_USER_DATA_DIRDirectory containing your personal commands (everycli add).~/.everycli/commands
EVERYCLI_MODEL_DIRDirectory containing model.onnx and tokenizer.json.onnx-bench/models/everycli-minilm-ft
EVERYCLI_ONNXRUNTIME_DYLIBPath to the ONNX Runtime shared library.onnx-bench/runtime/onnxruntime.dll (or .so)
EVERYCLI_BINFull 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 note

Local 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).