mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-06 15:22:12 +03:00
Merge PR #2280: feat(cli): CLI v4 — Commander.js, 50+ commands, TUI, i18n, plugins (Phases 0-9)
Complete rewrite of the OmniRoute CLI: - Commander.js-based modular architecture (50+ command files) - Full i18n support (en + pt-BR, 1222 keys each) - TUI interactive interface (OAuthFlow, EvalWatch, ProvidersTestAll) - Plugin system (omniroute-cmd-*) - OpenAPI codegen (omniroute api <tag> <op>) - Commands: serve, combo, compression, keys, tunnel, backup, test-provider, health, memory, MCP, A2A, oauth, skills, webhooks, usage, cost, eval, context-eng, dashboard, doctor, env, files, logs, models, nodes, oneproxy, open, openapi, plugin, policy, pricing, providers, quota, registry, repl, reset-encrypted-columns, resilience, restart, runtime, sessions, setup, simulate, status, stop, stream, sync, tags, telemetry, translator, tray, update - Code review fixes: C1-C3, I1-I5, M1-M4 applied # Conflicts: # bin/cli/commands/config.mjs # bin/omniroute.mjs # package-lock.json # package.json
This commit is contained in:
24
.env.example
24
.env.example
@@ -815,6 +815,30 @@ APP_LOG_TO_FILE=true
|
||||
# Default: 256 (Docker) | system default (npm)
|
||||
# OMNIROUTE_MEMORY_MB=256
|
||||
|
||||
# ── CLI helpers (bin/cli/) ──
|
||||
# Override UI language for CLI output. Accepts BCP-47 locale (e.g. en, pt-BR).
|
||||
# Falls back to LC_ALL / LC_MESSAGES / LANG / en if unset.
|
||||
# OMNIROUTE_LANG=en
|
||||
|
||||
# Show server logs inline when running in supervised mode (omniroute serve).
|
||||
# Set to "1" to forward server stdout/stderr to the terminal.
|
||||
# Equivalent to the --log flag on `omniroute serve`.
|
||||
# OMNIROUTE_SHOW_LOG=1
|
||||
|
||||
# Bearer token injected as x-omniroute-cli-token header for machine-auth (task 8.12).
|
||||
# Auto-generated on first run if machine-id is available; set manually to override.
|
||||
# OMNIROUTE_CLI_TOKEN=
|
||||
|
||||
# Per-attempt HTTP timeout for CLI → server calls (milliseconds). Default: 30000.
|
||||
# OMNIROUTE_HTTP_TIMEOUT_MS=30000
|
||||
|
||||
# Set to 1 to print retry/backoff details to stderr during CLI commands.
|
||||
# OMNIROUTE_VERBOSE=0
|
||||
|
||||
# Custom directory for CLI plugin discovery (omniroute-cmd-* packages).
|
||||
# Default: ~/.omniroute/plugins/ Override in dev/CI to point at a local plugin tree.
|
||||
# OMNIROUTE_PLUGIN_PATH=
|
||||
|
||||
# ── Prompt cache (system prompt deduplication) ──
|
||||
# Used by: open-sse/services — caches identical system prompts across requests.
|
||||
# PROMPT_CACHE_MAX_SIZE=50 # Max cached entries (default: 50)
|
||||
|
||||
Reference in New Issue
Block a user