dexterm

docs › CLI flags and commands

CLI flags and commands

Every flag parseArgs accepts, the subcommands, the filter grammar, sort keys and presets.

Generated from packages/cli/src/main.ts (parseArgs, the subcommand dispatch and dexterm --help), scan/command.ts (the --scan-* table), screener/filter.ts, screener/sort.ts and screener/presets.ts at commit e40d85b. npm run docs:check fails if a flag here does not exist or an accepted flag is undocumented.

Invocations#

$ dexterm                                     # interactive, live keyless data (needs a TTY)
$ dexterm doctor                              # pre-flight checks with the exact fix per line
$ dexterm --fixtures                          # interactive demo on seeded fixtures
$ dexterm --calm                              # effects off
$ dexterm --scan                              # live, with AI scan mode on from the start
$ dexterm --screen screener --width 176 --height 48          # one live frame to stdout
$ dexterm --screen token --mint <MINT> --interval 5m         # one live token frame
$ dexterm --screen screener --record /tmp/rec.json           # live frame, saved for replay
$ dexterm --screen screener --replay /tmp/rec.json           # the same frame, no network
$ dexterm mcp                                 # the read-only MCP server on stdio
$ dexterm popup --self-test                   # chart popup self-test
$ dexterm x login                             # Login with X (your own X app; read scopes only)
$ dexterm --workspace morning-hud             # start in a workspace
$ dexterm pack verify ./some-pack             # the install card for a shareable pack

Exit codes: 0 ok · 1 interactive mode without a TTY, or a doctor failure · 2 bad arguments (the message names the flag).

Subcommands#

commandwhatflags
dexterm workspacelist, show, remove or initialize local workspace files; no network.—
dexterm themelist, show, initialize or check user themes; custom themes extend built-ins with contrast and hue checks.—
dexterm displayshow or set the saved price display mode (display.priceMode: price or mcap) in ~/.dexterm/config.json; `dexterm display markers [on|off]` shows or sets the chart BUY / SELL markers (display.chartMarkers). Journaled, no network.—
dexterm keymapshow effective keys for an optional screen, including configuration overrides.—
dexterm ruleslist, add, remove, enable, disable, check or dry-run rules; fields lists supported inputs. Rules are parsed, never evaluated as code; they can alert or propose, never arm or sign.—
dexterm packshareable packs: list installed packs, verify a directory (the install card), add (unsigned needs --accept-unsigned), remove, export your own workspaces / themes / rules / keymap to a new pack with a sha256 lock, lock, sign with ssh-keygen -Y, trust (pin a publisher key), signers, keymap (show a pack keymap; --merge applies it, reserved keys refused), widget (--enable / --disable a pack widget page). No network; a pack never runs code.—
dexterm doctorpre-flight: Node, terminal colour, the claude CLI, the RPC key, every data source, the chart window, the data directory. Exit 0 when dexterm will run (warnings are optional), 1 when something must be fixed; every non-pass line prints the exact fix.--offline skip the network probes
--no-color plain output
dexterm narrativethe narrative board over recorded history (deterministic, no network, no model): what is running and what is working across the tokens dexterm has recorded. `--summary` prints the deterministic 90-second spoken summary instead of the table.--window 1h|24h which window the "what is working" score uses (default 1h)
--summary print the deterministic 90-second spoken summary (keyless, no model)
--db PATH the database (default DEXTERM_DB_PATH, else ~/.local/share/dexterm/dexterm.db)
dexterm autotradeAutotrade (paper): strategies and backtests on your own recorded history (backtests use no network, no model, no keys), and the paper runner. list, validate, new, import, remove and journal manage strategy files in ~/.dexterm/strategies (validated, append-only journal; presets are read-only); backtest replays a strategy with modelled fills and always prints the limits of the data; sweep tunes on older coins and checks once on the newest coins it never saw. Paper only: live mode is refused. dexterm backtest --subject strategy runs the same backtest. run --paper works each candidate the screener finds with one session on your own Claude login (live data, or a recorded tape with --replay), every size clamped by the strategy, no key or wallet anywhere. run --all --paper runs every strategy listed in ~/.dexterm/autotrade/autotrade.json at once on one data feed, each with its own bankroll, run file, limits and sessions, under shared limits; status --all compares them, and start, pause, resume, stop and flatten act on one strategy with --strategy ID.list|validate|new|import|remove|journal manage your strategies and see the presets (validate prints every problem with its path)
backtest <id|file> replay a strategy over recorded history (--tape FILE, --db PATH, --days N, --since/--until T, --json)
--every-candidate enter every candidate at a fixed unit size with the book caps lifted (an evaluation copy; --unit-usd, default 20)
--recall 5,10 of the coins that later ran 5x or 10x, how many the entry rules passed and how each entered one closed
sweep <id|file> a parameter grid tuned on older coins and checked on the held-out newest 30% (--grid JSON, --mode grid|random, --max, --seed)
run <id|file> --paper the paper runner: each candidate the screener finds gets one session on your own Claude, every size clamped by the strategy; one runner per machine, every step in ~/.dexterm/autotrade/runs/ (--live is refused)
--replay TAPE `run`: pace a recorded tape instead of live data (--ms-per-tick, default 2000)
--stub `run`: a scripted agent instead of Claude (no usage), for trying a strategy end to end
--model M `run`: the Claude model for the sessions (default: the strategy's agent.model)
--max-minutes N `run`: stop after N minutes (sessions close, the ledger is kept)
stop soft-stop the running paper runner: no new entries, sessions closed, orders dropped; the mechanical exits keep running until nothing is held, then it ends (--wait SEC, default 10)
flatten stop, then sell every paper position at its next tick (asks for y on a real terminal; --yes for a script)
audit [<run-id>|--last] list your run files; --verify recomputes each hash chain and names the first edited, missing or reordered event (exit 1)
run --all --paper every strategy of autotrade.json at once on one data feed (--config FILE, --sol-usd N for a SOL bankroll in a replay; --replay, --stub, --model, --max-minutes as for one strategy); autotrade.json accounts are shared paper accounts several strategies trade from, and a strategy with a list of accounts runs once per account
status [--all] the running paper runner; --all adds the side-by-side table of a parallel run (--json)
start <strategy> start one strategy of autotrade.json in the running parallel run (paper, its own book and caps)
pause | resume no new entries, or allowed again; open positions keep their exits
--strategy ID `stop`, `flatten`, `pause`, `resume`: act on one strategy of a parallel run; the others keep running
requests [list|run|dismiss] backtests an agent asked for over MCP: nothing runs until you run one (paper, recorded data); dismiss drops it
run <id> --real real mode (experimental): a strategy you armed runs like paper on live data, and every buy and sell first goes to your own executor as a LIVE TRADE FIRE signal (--sol-usd N fixes the SOL price; no --replay; dexterm holds no key)
signal status|channels|secret|arm|disarm|caps|kill|unkill|held|release|test|flush|tail|reconcile real mode: the channels your executor reads (--webhook URL, --signal-cmd JSON-ARGV, --jsonl, --jsonl-signed for HMAC lines, --mcp, --telegram, --ttl, --executor-port for the heartbeat listener), the webhook HMAC secret, arming on your own terminal (your own limits first, then the typed phrase), caps (four of the limits), the kill switch, the real holdings carried across runs (release <mint>: typed phrase), a test signal with a per-channel delivery, latency and receipt report (--wait SEC, --json), the outbox, and a read-only reconcile against a public address
receipt <nonce|id> executed|rejected|failed what your executor did with a signal, as data only (--price, --size-sol, --tokens, --tx, --reason); receipt list shows the drift between signals and fills
limits show|set|diff|reset|accept|breaker reset|explain|schema real mode's limits, all yours: show what is in force and where each number comes from (--strategy ID, --account ID, --mode real|paper, --all, --json); set name=value … (--scope global|real|paper|strategy:ID|account:ID; "off" turns a global limit off): lowering is immediate, raising shows old -> new and needs your typed phrase; diff (--file FILE), accept a hand-edited file, reset (--key NAME), breaker reset (typed), explain [NAME], schema
executor status|heartbeat|kit is your executor alive (last heartbeat, last receipt, lag, --json); heartbeat (--name, --account, --dry-run, --nonce, --note) records one; kit --out DIR copies the dry-run reference executors
report [--period day|week] the digest per strategy and mode: trades, win rate with its interval, net, drawdown, refusals, limits hit, executor health, paper vs real fills, a sample-size note (--strategy ID, --json, --telegram sends it through your own bot, --schedule daily|weekly|off)
forward start|status|stop|report <id> a forward test: the strategy on the LIVE tape, on paper, with its own bankroll and run file, in the background (--hours H, --trades N, --bankroll-usd N, --foreground; --replay TAPE is a smoke run that does not count); report sets it next to the backtest of the same rules
journey [<id>] where a strategy stands on the ladder draft → backtested → forward-tested → always-on → real, and what the next rung needs (--json)
promote <id> --to always-on|real a promotion with its evidence card: always-on needs your y on a real terminal and adds the strategy to autotrade.json; real hands over to signal arm (your own caps first, a typed phrase); promote list|show|apply|dismiss resolve the analyst's proposals
--no-held-out `backtest`: skip the held-out split (the backtest is then not recorded as journey evidence)
web [--no-open] [--port N] the Strategy Builder in your browser on 127.0.0.1 only: strategies, a builder that writes proposals you apply, the factory and the chat; the printed link works once (press n for a fresh one); see /docs/strategy-builder-web/
watch <id> [--open-overlay] watch one strategy cook, read-only: rules, paper bags HELD/SOLD, entries and exits, equity, ladder rungs hit; also the overlay strategy scene (--no-overlay, --every S, --once --json)
dexterm strategies`dexterm strategies web` is the same as `dexterm autotrade web`: the Strategy Builder in your browser, on this machine only. Paper only.web open the Strategy Builder (same options as autotrade web: --no-open, --port N, --json)
dexterm ledgerthe unified trade ledger (no network, no model, no keys): every round trip from the paper ticket, the agent paper desk and autotrade runs, with strategy version, declared exit profile and entry reason, exit reason, size, entry and exit market cap, fees, hold, MFE/MAE and wallet mode. Reads never write; sync appends to the append-only, sha256-chained ~/.dexterm/ledger/trades.jsonl and verify recomputes its chain. PAPER rows are simulated.trades|positions one row per round trip, newest first (--limit N); positions shows the open ones
summary win rate with its 95% interval, P/L, profit factor, drawdown, rug rate, by profile, exit reason, strategy, source and mode
equity the realized equity curve and its max drawdown
compare one row per strategy version, side by side (strategies forward-tested in parallel)
export csv|json|parquet-lite write the rows (or --format csv|json|parquet-lite; --out FILE, else stdout); CSV cells never start a formula
card <tradeId> a PnL card from a ledger row, market cap at entry and exit (--square, --price, --exact, --sol-usd N)
sync append what the sources hold to the ledger file (re-runnable: nothing is added twice)
verify recompute the ledger file's sha256 chain and name the first edited line (exit 1)
--source paper|desk|autotrade|live filter by where the trade was booked (also --mode paper|devnet|live|real, where real is a real-mode run's modelled fills, --strategy ID[@VERSION], --profile, --exit, --mint, --run, --account ID for one paper account, --days, --status open|closed)
--json print the result object instead of the table
--wallet-db PATH read the paper wallet from this database
dexterm backtesthonest rug-model metrics over recorded outcomes (no network, no model): scores a subject against the recorder's outcome-labelled snapshots and prints precision/recall, Brier vs a base-rate Brier, AUC, calibration, a per-feed breakdown and the worst misses/false alarms. With no labelled outcomes it says so and prints no metrics.--subject heuristic|pack_verdicts|larp the pre-registered H1 rug model (default), recorded pack verdicts, or larp: recorded LARP-detector verdicts vs the outcome labels (counts only below 50 matched verdicts; agreement with a bad outcome, not ground truth)
--horizon SEC outcome horizon in seconds (default 3600 = 1h)
--db PATH the database (default DEXTERM_DB_PATH, else ~/.local/share/dexterm/dexterm.db)
--json print the full result object instead of the human table
dexterm mcpthe read-only MCP server plus one-command setup. `dexterm mcp` (no subcommand) runs the stdio server (what the analyst uses; `claude mcp add dexterm -- dexterm mcp`). `dexterm mcp install <claude-code|claude-desktop|cursor|codex|generic>` writes/prints the client's MCP config — it shows the change, asks first, is idempotent and backs the file up. `dexterm mcp doctor` spawns the server, does the MCP handshake and lists the tools the agent sees.install <client> write/print the MCP config for a client (claude-code, claude-desktop, cursor, codex, generic)
--config FILE `mcp install`: write to a specific file instead of the client default (used by the tests' temp dirs)
--print `mcp install`: only print the snippet, never write
--node `mcp install`/`doctor`: use a `node <path> mcp` command (when dexterm is not on PATH)
--yes `mcp install`: write without the confirmation prompt
doctor spawn the server and list the tools/prompts/resources the agent sees
dexterm popup`dexterm popup --self-test`: open a chart popup on fixture data and report the shell choice, whether the global hotkey registered and the measured frame rate. It never claims a frame rate it did not measure.--self-test the only subcommand
--browser force the browser fallback
--seconds N how long to measure
--theme NAME theme for the popup
dexterm recorderthe history recorder's local tables: stats (rows, labels, bytes, DB size), label (label due outcomes now, code rules, no model), prune (run retention now), export (one record per hourly t0 anchor: the row as it was seen plus its later outcomes, for evals and backtests). No network; reads and writes the local DB only. dexterm recorder help prints the usage.--db PATH the database (default DEXTERM_DB_PATH, else ~/.local/share/dexterm/dexterm.db)
--out FILE export: write to a file instead of stdout
--since T · --until T export: time window (ISO date or unix ms)
--labelled-only export: only anchors that have an outcome
--limit N export: cap the number of records
dexterm walletthe wallet link and the kill switch, from a shell. `link` opens a one-shot loopback page where Phantom connects and signs a message (never a transaction); only the public key is kept (~/.dexterm/wallet-link.json), to show your address. `status` shows the link and the panic state; `unlink` forgets the key. `panic` engages the kill switch at once (a file every autotrade runner and the paper agent desk re-read) and needs no terminal; `resume` is the only way back and needs a real keypress on a TTY (piped input is refused). dexterm holds no key and has no trading wallet.--reason TEXT panic: why (recorded in the kill-switch file)
dexterm liveremoved in 0.1.7: prints that dexterm never holds a key and never signs, and that live trading happens in the Telegram trading bot of your choice (`dexterm telegram setup` sends alerts and run control to your chat). Exits 2.—
dexterm kolmanage KOL lists in the local DB: list, create <name>, add|remove <list> @handle, mute|unmute @handle, enable|disable <list>, import <dir>, import-x. A pack is a hash-locked directory (pack.json + pack.lock, optional pack.lock.sig checked against ~/.dexterm/allowed_signers); a tampered or unlocked pack is refused, never imported as unsigned. No network except `import-x`, which (after `dexterm x login`) imports the lists your X account owns as `own-x-list` lists: handles only, never posts.--db PATH the database (default ~/.local/share/dexterm/dexterm.db)
dexterm agentbring-your-own-agent registry + loopback bus (task-1345): register an agent and mint a one-time token (add/rotate/remove/list/tier/pause/resume), narrow an agent to a named set of tools (mandate), run a standalone loopback agent bus (serve, on fixtures or keyless live reads, optional roster popup), connect a test agent (connect), and read the audit log, proposals and agent packs (audit/proposals/packs). Every agent has a server-side capability tier (observe / annotate / propose) and an optional per-agent tool mandate; no agent path can arm, sign, confirm, raise a cap, change the gate or touch a wallet, a trading mandate or the signer. Tokens are read only from $DEXTERM_AGENT_TOKEN, never a flag.--tier observe|annotate|propose the capability tier at `agent add`
--tools a,b,c · --clear `agent mandate`: narrow an agent to a named set of tools, or clear the mandate
--note T · --reads N · --proposals N · --connections N per-agent note and rate/quota/connection limits at `agent add`
--fixtures | --live `agent serve` data source (deterministic fixtures, the default, or keyless live reads)
--roster `agent serve` also opens the agent roster popup (pause / kick / audit)
--spectate | --spectator-popup | --record FILE `agent serve` spectator surfaces (task-1406, "watch the agent cook"): start the read-only, loopback, token-gated stream; open the spectator popup; and/or save the session (redacted) to FILE. All three redact wallet addresses and keys; none can send a command back to the bus.
--port N · --db PATH `agent serve` bind port and shared database
--name NAME · --url ws://127.0.0.1:PORT · --watch SECONDS `agent connect` (token via $DEXTERM_AGENT_TOKEN)
--agent NAME · --status S · --limit N filters for `agent audit` / `agent proposals`
dexterm spectatewatch the agent cook (task-1406): replay or inspect a spectator session. `dexterm spectate --replay FILE` folds a saved session's agent actions back into the screen model + AGENT ACTIVITY panel (redacted by default — safe for demos and bug reports); `dexterm spectate --info` prints the live stream endpoint (loopback ws + per-session token) from ~/.dexterm/spectator.json when `agent serve --spectate` is running. Read-only: nothing here can arm, sign, confirm, raise a cap or send a command to an agent.--replay FILE [--json] replay a saved session (fold agent actions into the screen + activity panel)
--info [--json] show the live stream endpoint from ~/.dexterm/spectator.json (if streaming)
dexterm plantyped order plans (task-1355): propose a plan (entry / take-profit / stop triggers on market cap), list it, arm it against a mandate, cancel it, or read and verify the hash-chained journal. Proposing never arms; `arm` reads one physical keystroke on a TTY and refuses a pipe, a subprocess, voice or an agent. Paper by default.propose --mint M --symbol S --size USD --entry TRIGGER propose a plan (also --tp, repeatable, --stop, --decimals, --supply, --slippage)
list [--json] list plans
arm <planId> --mandate <id> arm a plan under a mandate (physical keypress on a TTY only)
cancel <planId> cancel a plan
journal [--verify] [--export] the hash-chained plans journal (~/.dexterm/plans.journal)
amend <planId> [--size USD] [--entry TRIGGER] [--tp EXIT]… [--stop TRIGGER|none] [--slippage BPS] edit a PROPOSED plan: a new plan with a new hash supersedes the old one (every earlier confirmation is void); never arms
dexterm mandatestanding mandates (task-1355): draft the caps a set of plans may use (total, per trade, per coin, daily loss, the highest confirmation tier, a time-to-live), list them, arm one (physical keypress only) or revoke it. The signer-side caps still apply on top.draft [--total USD] [--per-trade USD] [--per-coin USD] [--daily-loss USD] [--max-tier keypress|ptt-held|hands-free] [--ttl-hours N] [--max-open N] [--max-impact PCT] [--paper] draft a mandate; --paper drafts a paper-only mandate (agent paper desk only, its own paper ceilings; no plan, copy trade or signer can use it)
list [--json] list mandates
arm <id> arm a mandate (physical keypress on a TTY only)
revoke <id> revoke a mandate
dexterm followcopy trading, stages 1-3 from a shell (task-1360, task-1400): `add` follows a wallet with an optional label of your own (firewalled, local, never inferred or exported), `remove` / `list` / `purge --yes` manage the list (~/.dexterm/follows.json, mode 600), `stats` and `trades` fetch one page of the wallet's history (free Helius key; 10 credits) and print its decoded swaps, FIFO realised PnL with the rate used, win rate (hidden under n = 10) and the sample caption. `mirror <addr>` is the headless one-key MIRROR TICKET: it reads the wallet's latest buy, runs the same lag / drift / liquidity / age / leader-sold / leader-dev checks as the app and prints a size from your own cap; by default it only previews (nothing is written), and `--propose` writes it as an INERT `proposed` order plan on the O screen — the command has no arm/sign path, so the plan can only be armed in the app by the keypress / Phantom gate. `auto <addr> …` drafts the auto-mirror caps, clamped down to the ceilings ($100/trade, $500/day, 10 open, 10 s cooldown, k ≤ 2); auto is always OFF in a fresh process and is enabled only in the app by a keypress (U then A) after the less-safe popup. `auto` alone lists the policies; `--off` turns one off. Nothing here trades, arms or signs.add <addr> [--name LABEL] follow a wallet (your own label, firewalled, ≤ 24 chars)
remove <addr> unfollow
list [--json] the follow list
stats <addr> [--json] one history fetch: trades, FIFO realised PnL, win rate (n), early-entry note, per-mint rows
trades <addr> [--limit N] the decoded swaps behind the stats
mirror <addr> [--cap USD] [--k X] [--propose] [--json] preview (or with --propose write an inert proposed plan from) the MIRROR TICKET for the wallet's latest buy; never arms or signs
purge --yes delete every follow and label
auto <addr> [--per-trade USD] [--daily USD] [--max-open N] [--cooldown SEC] [--k X] [--disarm N] [--off] draft (or turn off) the auto-mirror caps for a followed wallet; no addr lists the policies
dexterm xLogin with X (OAuth 2.0 PKCE on the fixed loopback callback http://127.0.0.1:41287/callback) with YOUR OWN X developer app: `set-client-id` stores the app's Client ID (prompted on the terminal or one line on stdin, never on the command line), `login` opens your browser and stores the tokens in ~/.dexterm/x/tokens.json (mode 600; read scopes only: tweet.read users.read list.read offline.access), `status` shows the handle, scopes, token age and file modes (never a token), `logout` revokes both tokens at X and deletes the record. dexterm never posts and never scrapes; see docs › Login with X for the free vs paid tiers.--stdin set-client-id: read the Client ID as one line from stdin instead of prompting (scripts)
dexterm kblist, show, create, edit, check and reset the bundled knowledge-base entries the analyst, Jarvis and the MCP server read. Your own files live in ~/.dexterm/kb/entries/ (same id as a bundled entry overrides it, a new id adds one) and take effect on the next call with no restart. KB text explains mechanics and patterns only; it never holds facts about a live token.—
dexterm skilllist, show, create, edit, check and reset the analyst's skills (read-only guidance). Your own files live in ~/.dexterm/skills/ (same name as a bundled skill overrides it, a new name adds one). A skill may name only read tools; `dexterm skill check` refuses any skill that names a trade, sign, arm or ticket tool.—
dexterm updatecheck npm and GitHub for a newer release and print the exact upgrade command for how this copy was installed (npm, Homebrew, release tarball or git checkout); never upgrades anything itself. `--off` / `--on` turn the once-a-day startup check off or on. Network: two anonymous GETs (see the trust page).—
dexterm alertschoose where rule alerts are delivered: desktop notification, your own Telegram bot, or your own Discord webhook (`status|enable|disable|set-telegram|set-discord|test`). Credentials are yours, stored locally with mode 0600, read from the environment or stdin (never argv) and never printed. Off by default.—
dexterm watchrun your rules headless (`--once`, `--interval S`, `--replay FILE`) and push alerts to the channels you enabled when the terminal is closed. Rules can only raise alerts, open ticket proposals or ask the analyst: there is no path from a rule to signing, arming or raising caps.—
dexterm voiceshow the voice engines on this machine; set up or uninstall the neural voice (Piper, the default speaking voice on macOS: `dexterm voice setup` builds a private local runtime and downloads the voice, `dexterm voice uninstall` removes it); and download the two optional voice models (whisper.cpp base.en for speech-in, Piper en_GB-alan-medium for speech-out). Asks before every download or install, verifies a pinned checksum, and is the only place dexterm fetches a model or builds a runtime.—
dexterm helpshow the app's own help for a topic (`dexterm help <topic>`), from the same entries the analyst reads, so the answer is the exact key or command; works offline.—
dexterm recordrun the history recorder with no terminal UI so the data behind the backtests keeps growing while dexterm is closed (`run`, `status`, `install --dry-run`, `uninstall`). `install` writes a user-level macOS LaunchAgent (no sudo) and only loads it with --load. Uses the same free-tier request limits as the app; a disk cap pauses new observations, or with --retention-mb removes the oldest history instead; --focus-ticks samples held, open, watchlist and candidate coins every 5-10 s for autotrade backtests.—
dexterm aithe AI engine for each surface (your claude or codex CLI, or a free LOCAL model on your own Ollama, http://127.0.0.1:11434 by default), the local model, and the local engine's restriction profile (observe, propose, paper, full). `full` needs a typed confirmation on a real terminal and is recorded for one model. Writes `~/.dexterm/ai.json` (0600); no model, MCP tool or chat message can change it.status [--parity] engines per surface, the local model and host, the profile, a quick probe; --parity lists every surface and its local equivalent
engine <auto|claude|codex|ollama> the engine globally, or for one surface with --surface analyst|autotrade|packs|agent
engine ollama --full let the local engine do everything the Claude path may (typed confirmation, one model)
model <name> the local model (pull it first with ollama pull)
host <url> the Ollama host; a host that is not this machine is warned about
ctx <tokens> the context window to ask for (default 32768)
restrictions <observe|propose|paper> the local engine's profile (full only via engine ollama --full)
probe [--json] reachability, the model, tool calling, context and (--json) the decision format, against the bar for your profile
ask "<question>" a headless analyst question (also `dexterm ask`)
agent "<goal>" [--max-steps N] [--thoughts FILE] the local model as an agent on the dexterm MCP tools, tools by profile
dexterm ask`dexterm ask "<question>" [--mint MINT] [--engine auto|claude|codex|ollama]`: one analyst question, headless, on the analyst's engine (the same as `dexterm ai ask`). No UI actions.--mint MINT the coin the question is about
--engine E auto | claude | codex | ollama for this question
dexterm telegramyour own Telegram bot for the autotrade runner (paper): notify, control and one-tap approvals. setup reads the bot token with a hidden prompt (never an argument), checks it with Telegram, keeps it in the OS keychain, the system keyring or a 0600 file, then pairs your account with a 6-digit code shown on your screen and a local y for the account it came from. The runner starts the bot by itself once a chat is paired; nothing is hosted.setup store and check your bot token, then pair (--tiers notify,control,approve, --no-pair)
pair a one-time 6-digit code on this screen, valid 5 minutes: send /pair <code> to your bot from your own private chat, then confirm the account (@username and id) here with y. Refused while a webhook or another program polls the bot
status what is set up (never the token), the paired chat, approvals, notify settings and the audit (--json)
approvals on|off on: every new entry waits for your tap (chat can turn this on, never off)
notify <event> on|off candidates digest|each|off, entries, closes, halts, spend, daily
set summary-at|quiet|expiry the daily summary time, quiet hours, the proposal expiry (60 to 120 s)
test send one test message to your paired chat
audit [--verify] recompute each day's chat audit hash chain
revoke remove the token and forget every paired chat
--no-telegram `dexterm autotrade run`: keep the bot off for this run
dexterm narrativesEXPERIMENTAL (task-1818): the memes + narratives tracker over recorded history (keyless, local, no model): coins grouped by the theme their name and ticker carry, with per-window heat and lifecycle. `top` (default), `detail ID`, `of MINT`, `export` (the dexterm-narratives/1 JSON). Measured heat, not advice.--db PATH the database (default DEXTERM_DB_PATH, else ~/.local/share/dexterm/dexterm.db), opened read-only
--at ISO replay up to this time instead of now
--lookback-h N hours of history to replay (default 26)
--limit N rows (default 20)
--json machine-readable output
--out FILE with export: write the JSON to FILE
dexterm classifierEXPERIMENTAL classification models: pick the model that scores coins with probabilities (heuristic built-in scores by default; kev-local = an open Kev GGUF on your own llama-server; jev-hosted = TypeSafe's Jev with your own key; jev-open; claude / ollama-llm baselines). Writes `~/.dexterm/classifier.json` (0600); downloads only after a typed yes, verified by sha256.list providers, local models (size, licence, installed, fits this machine) and the current pick
pick <provider> [model] set classifier.provider (and the Kev model)
pull <model> [--yes] download a Kev GGUF after showing its size and source; checks free disk and the sha256
serve [--model M] [--port P] [--threads N] run llama-server for the picked model on 127.0.0.1 in the foreground
doctor [--json] RAM, CPU, GPU/VRAM, the recommended tier, and whether the picked provider is ready
bench [--n N] time the current provider on N synthetic coins (per coin, per 1,000)
try one labelled estimate for an example coin
key set|clear|status your own TypeSafe API key (hidden input, 0600 file, never printed)
dexterm overlaystreamer overlay (task-1427): `dexterm overlay` serves three transparent scenes for an OBS Browser source on 127.0.0.1 (agent activity, the coin card, the PAPER / LIVE PnL card), fed by the read-only spectator stream or a replay (SAMPLE DATA). Each URL is a single-use ticket that buys one page and a one-time socket token; Host / Origin checked; the socket is outbound only. Read-only: nothing here can arm, sign, size, trade or raise a cap.--scene activity|coin|pnl|all which scene URLs to print (repeatable; default the three scenes)
--theme cyberspace|ice|neon theme preset (default cyberspace)
--replay FILE [--speed N] [--loop] play a saved spectator session instead of the live stream; every scene says SAMPLE DATA
--ledger TRADE_ID [--sol-usd N] PnL scene from one trade of your own ledger (PAPER or LIVE by wallet mode)
--port N fixed loopback port (default random)
--ticket-ttl MIN minutes an unused URL stays valid (default 10)
--json print the scene URLs as JSON
dexterm dashstrategy dashboard (task-1749): `dexterm dash` serves your autotrade strategies' paper results on 127.0.0.1 (overview, one strategy in detail, rugs and stuck bags, a baseline comparison with a 95% interval, live status; refreshed every 30 s). Read-only: no network request, nothing loaded from the internet, no model, no keys.--port N the loopback port (default 4317; 0 = any free port)
--home DIR a dexterm home to read (default $DEXTERM_HOME or ~/.dexterm); repeatable
--db PATH the market cache DB for pool reads
--books FILE add books from a dexterm-dash-books/1 JSON file; repeatable
--baseline ID the strategy every other one is compared against
--allow-host NAME also answer requests for this host name (a private proxy in front)
--json print the numbers the page shows and exit
--export DIR [--redact-mints] write a static read-only snapshot (the page + data.json) and exit

Flags#

data and modes

flagwhat
--fixturesseeded demo data instead of the network (interactive or one-shot). The demo event keys n/u/d/x work here.
--replay FILEserve a recording made with --record: no network, same frames. A recording also carries the PumpPortal session.
--record FILEsave every live response (and the PumpPortal session) to FILE for --replay. Keys are redacted at capture; a file that still carries one refuses to save.
--max-requests Nhard cap on live requests for this run (default none). Used by the smoke scripts.
--max-credits Nhard cap on Helius credits for this run (default 5000). At the cap Helius switches off for the run and the keyless sources take over.
--db PATHSQLite path for the cache, watchlist, credit meter and paper wallet (default `~/.local/share/dexterm/dexterm.db`; `:memory:` for a throwaway session).
--no-recorderdo not run the history recorder this run (also DEXTERM_RECORDER=0). It is on by default in live mode and writes token snapshots, feed membership and outcome labels into the local --db file only; nothing is uploaded. Never on with --fixtures, --replay or --db :memory:. See configuration › history recorder.
--spectate-mcpfollow an external MCP agent in the running terminal with the agent HUD (phase rail and heartbeat, thought ribbon, call timeline, glowing rows and an agent cursor, the PAPER ticket, fill, position and result): navigation calls move the screen, a redacted read-only spectator stream opens, ctrl+p pauses/resumes, ctrl+k kills (a hard stop), and any other key gives control back to the user. Calm mode drops the motion. It adds no tool or signer capability.
--spectate-thoughts FILEwith --spectate-mcp: stream the agent's own words into the HUD's thought ribbon from a JSONL file the agent writes (Claude Code `-p --output-format stream-json`, or `{"thought": …}` lines). Display only: scrubbed and clipped, never acted on.
--agent-paperexperimental, with --spectate-mcp: let the MCP agent you connected PAPER-trade inside a mandate you armed (simulated fills only, never signs or sends, never raises a cap; caps re-read from the plans journal on every call). Ctrl+P / Ctrl+K / any key pause, stop or take over its paper trading; quitting turns it off.
--verboselog every live request to stderr (source, status, latency, redacted URL) plus the rpc provider and db path.

screener

flagwhat
--filter QUERYscreener filter in the filter grammar, e.g. `vol24 > 250K liq > 50K age < 30d launchpad:pump`. A bad query fails at startup with the column.
--sort KEY[:asc|desc]screener sort key (see the sort keys table).
--preset NAMEscreener feed preset (see the presets table). A gated preset fails with its reason.

one-shot frames

flagwhat
--screen NAMErender one frame of a screen to stdout and exit (live unless --fixtures/--replay). Screens: screener · token · newpairs · watchlist · analyst · boot · ticket · positions · trending · kol.
--mint MINTopen this token on the token screen: a base58 address, or a dexscreener / pump.fun / solscan / birdeye link. Live or replay only.
--interval IVcandle interval for the token screen: 1m · 5m · 15m · 1h · 4h · 1d (default 1h).
--listen SECONDSone-shot new pairs: how long to listen to PumpPortal before rendering (default 20, max 120).
--width Nframe width for one-shot renders (default: the terminal, else 160).
--height Nframe height for one-shot renders (default: the terminal, else 45).
--selected Nhighlighted row or token index for one-shot renders.
--seed Nfixture PRNG seed (default 7).
--no-aihide the analyst panel on the token screen.
--frame Neffect frame index for one-shot renders (the same frame renders byte-identical output).
--event KINDone-shot demo event on fixtures: newpair · pump · dump · rug.
--ai PHASEanalyst panel state for one-shot renders: thinking · streaming:N (characters revealed).
--mood Mforce the rain mood: pump · dump · neutral.
--activity Aforce the rain activity 0..1.
--t 0..1boot progress for `--screen boot`.
--export [DIR]render the chosen --screen once and write it as a PNG + text report into DIR (default ~/.dexterm/exports/); local only, nothing is uploaded.

the look

flagwhat
--theme NAMEcyberspace (default) · midnight · ember · paper. `t` cycles at runtime.
--workspace NAMEstart in default, morning-hud, or a user workspace under ~/.dexterm/workspaces/.
--price-mode MODEmcap | price: market cap (the default; price × a known supply) or the USD price on every screen, the CLI text and the assistants' language for this run; overrides config.json display.priceMode without saving it. `$` toggles and saves it.
--mcapthe market-cap basis (the default) for this run, on any command (`dexterm --mcap autotrade run …`); not saved. Same as DEXTERM_PRICE_BASIS=mcap.
--pricethe USD-price basis for this run, on any command (`dexterm --price autotrade run …`): screens, CLI text and the assistants speak in price; not saved. Same as DEXTERM_PRICE_BASIS=price.
--calmeffects off: no rain, glitch, blink or scanlines (same as --intensity off; DEXTERM_CALM=1 too; NO_COLOR implies it).
--intensity LEVELoff · normal · fever. fever (default): rain, trails, glitch, blink, scanlines at 30 fps; normal: 15 fps, sparser rain, no idle aberration.
--fps Nframe cap 1..60 (default 30 fever / 15 normal). Data still refreshes at 2 Hz; after 5 s without a key the ambient rain drops to 8 fps.
--no-bootskip the boot sequence (first launch is the full glitch boot, later launches one second).
--ascii-rainhex-only rain glyphs instead of half-width katakana (automatic when LANG is not UTF-8).
--tz ZONEheader clock zone (default America/New_York; `local` = the machine zone). Replays pin the recording's zone.
--no-imagesno coin images this run (also DEXTERM_IMAGES=0, or {"enabled": false} in ~/.dexterm/images.json). With images on, real pixels in kitty / Ghostty / WezTerm / Konsole / iTerm2 / sixel terminals and half-block art everywhere else, Apple Terminal.app included.
--soundtrade-moment sound cues: a buy chirp, a sell sweep then a profit chime or a loss thud, an error buzz on a refusal or failure. Muted by default (also DEXTERM_SOUND=1). Cues follow the SAME settled outcome the effects do, never a quote or an in-flight send; the WAVs are synthesized once into ~/.dexterm/sounds and played detached (afplay on macOS), so the render loop never waits.

AI scan mode

flagwhat
--scanstart AI scan mode with the run (the same path as the Z key). Live or replay only; incompatible with --screen.
--scan-min-score Nlock when a coin scores at least N (default 45).
--scan-min-triggers Nand at least N triggers fired (default 2).
--scan-min-liq USDignore coins below this liquidity (default 10000).
--scan-vol-x Nvolume trigger: 5m volume at least N× the coin's own pace (default 3).
--scan-flow-share 0..1flow trigger: 5m buy share at or above this (default 0.62).
--scan-breakout-pct PCTbreakout trigger: last close above the prior 20 cached candles' high by this % (default 2).
--scan-liq-jump-pct PCTliquidity trigger: +% vs the coin's own 10-minute minimum (default 20).
--scan-holders-jump-pct PCTholders trigger: +% vs the oldest 10-minute sample (default 5, and at least +25 holders).
--scan-warmup-s Sseconds of watching before the first lock is possible (default 30).
--scan-max-ai-per-hour Nanalyst turns the scan may start per rolling hour (default 8).
--scan-max-ai-per-coin Nanalyst turns per coin per hour (default 4).
--scan-refresh-s Sminimum seconds between reads of the locked coin (default 90; a read also needs the data to have moved).
--scan-move-pct PCTprice move that counts as "moved" for a refresh (default 3).
--scan-cooldown-s Show long a released coin is barred from locking again (default 900).
--scan-post-lock-s Sno new lock for this long after a lock ends (default 60).

analyst

flagwhat
--analyst-engine Ewhich of YOUR installed CLIs runs the analyst: auto (default: claude when installed, else codex), claude or codex. Same as DEXTERM_ANALYST_ENGINE or analyst.engine in config.json; /engine in the chat box switches for new conversations.

paper only

flagwhat
--no-liveaccepted for older scripts and changes nothing: dexterm is paper only, holds no key and starts no signer.

output

flagwhat
--plainmonochrome text output (the snapshot-test surface).
--ansiANSI output even when stdout is not a TTY (24-bit unless --color or NO_COLOR).
--html FILEwrite the frame as a standalone HTML page (screenshots); always rendered in truecolor.
--fit WxHwith --html: fixed page size, centred, no window chrome (video frames).
--font PXwith --html: font size in pixels.
--color DEPTHtruecolor · 256 · none (default: detected from NO_COLOR, FORCE_COLOR, COLORTERM, TERM).
--title TEXTpage title for --html.
--helpprint the built-in help (reproduced below) and exit.
-hsame as --help.
--versionprint the version and exit.

Exclusive combinations parseArgs rejects: --fixtures with --replay; --record with either; --mint or --event without the data they need (--mint needs live or replay data, --event needs --fixtures); --scan with --fixtures or with --screen.

Filter grammar#

Used by --filter, the / line, and the analyst's show_in_screener tool. Space-separated clauses are ANDed. A clause is field op value, a tag, or a bare word (symbol or name substring).

  • Operators: > >= < <= = == !=.
  • Money takes K / M / B (5M, 100K). Percents are plain or %. Ages need a unit: s m h d w mo (6h, 30m).
  • Tags: launchpad: (alias lp:) one of pump dbc raydium meteora bonk · flag: one of mint freeze top10 dev bundle lp clean · verified:yes|no · sus:yes|no · chain:solana. Negate with a leading ! (!flag:mint).
fieldtypemeaning
vol24usdvolume 24h
vol6husdvolume 6h
vol1husdvolume 1h
vol5musdvolume 5m
liqusdliquidity
mcapusdmarket cap
fdvusdFDV
pricepriceprice
ageageage
holdersnumholders
buysnumbuys 24h
sellsnumsells 24h
orgnumorganic score
top10pcttop-10 share
devpctdev share
lplockedpctLP locked
bundledpctbundled
snipersnumsnipers
m5pctchange 5m
h1pctchange 1h
h6pctchange 6h
h24pctchange 24h

Aliases: vol → vol24, volume → vol24, v24 → vol24, v6h → vol6h, v1h → vol1h, v5m → vol5m, liquidity → liq, lp → liq, marketcap → mcap, cap → mcap, mc → mcap, holder → holders, h → holders, organic → org, score → org, top → top10, top-10 → top10, devpct → dev, locked → lplocked, lplock → lplocked, bundle → bundled, sniper → snipers, chg5m → m5, 5m → m5, chg1h → h1, 1h → h1, chg6h → h6, 6h → h6, chg24 → h24, chg24h → h24, 24h → h24, change → h24

Example: vol24 > 250K liq > 50K age < 30d org >= 60 launchpad:pump !flag:mint cat.

Sort keys#

keysorts bydefault
volvol 24hdesc
liqliquiditydesc
mcapmcapdesc
pricepricedesc
ageageasc
m55m changedesc
h11h changedesc
h66h changedesc
h2424h changedesc
holdersholdersdesc
orgorganic scoredesc
top10top-10 shareasc
rugp(rug) H1-v0.1 heuristicasc

Presets#

presetlabelnotes
trenchTrenchfolds the live new-pairs stream into the pool
trendingTrending
runnersRunners
organicOrganic
graduatingGraduatingfolds the live new-pairs stream into the pool; gated: unavailable until its source exists (the app says why)
smartSmart moneygated: unavailable until its source exists (the app says why)
tradedTop traded
newNewfolds the live new-pairs stream into the pool
boostedBoosted
allAllfolds the live new-pairs stream into the pool

dexterm --help#

The built-in help, verbatim from the app at e40d85b:

dexterm 0.3.0 (live: screener, token, new pairs, watchlist · analyst = your local claude CLI · cyberspace look)

  dexterm                                     interactive, live data (needs a TTY)
  dexterm doctor                              check this machine is ready (Node, colour, claude, network, Helius key)
  dexterm voice [status|download <model>]     voice engines on this machine; download whisper/piper models (asks first, checksum-verified)
  dexterm update [--off|--on]                 check npm + GitHub for a newer version and print the upgrade command;
                                              --off/--on toggles the once-a-day startup notice (no telemetry)
  dexterm recorder stats|label|prune|export   the history recorder's tables (no network; 'dexterm recorder help')
  dexterm kb list|show|new|edit|check|reset|path     your knowledge-base entries (~/.dexterm/kb/entries) over the bundled 18
  dexterm skill list|show|new|edit|check|reset|path  your analyst skills (~/.dexterm/skills) over the bundled ones (read tools only)
  dexterm narrative [--window 1h|24h] [--summary]  the narrative board over recorded history (no network, no model)
  dexterm narratives [top|detail ID|of MINT|export]  EXPERIMENTAL memes + narratives tracker over recorded history: themes, heat, lifecycle (measured heat, not advice)
  dexterm backtest [--subject heuristic|pack_verdicts] [--horizon SEC]  honest rug-model metrics over recorded outcomes (no network, no model)
  dexterm ledger trades|positions|summary|equity|compare|export|card|sync|verify  the unified trade ledger: paper, agent desk, autotrade runs (no network; 'dexterm ledger help')
  dexterm dash [--port N] [--home DIR] [--baseline ID] [--export DIR]  your strategies' performance in a browser on 127.0.0.1 (read-only, no network; 'dexterm dash --help')
  dexterm wallet link|unlink|status|panic|resume  link a Phantom wallet via a local bridge (pubkey only); panic halts autotrade + the paper desk, resume needs a TTY keypress
  dexterm plan propose|list|arm|cancel|journal     conditional order plans (entry/ladder/take-profit/moon bag/stop); arming needs a physical keypress
  dexterm mandate draft|list|arm|revoke            standing capped mandates (paper fills); arming needs a physical keypress — voice/agents can never arm
  dexterm follow add|remove|list|stats|trades|mirror|purge  copy trading tier 1: follow a wallet (your list, local labels), its decoded swaps + FIFO PnL + win rate/early-entry; 'mirror' previews a one-key MIRROR TICKET from the wallet's latest buy (inert; arm in the app)
  dexterm classifier [list|pick|pull|serve|doctor|bench|try|key]  classification models (EXPERIMENTAL): Kev on your own machine
                                              (llama.cpp), hosted Jev with your own key, or the built-in heuristic; model estimates, never advice
  dexterm ai [status|engine|model|host|restrictions|probe|ask|agent]  the AI engine: your claude / codex CLI or a free LOCAL model on
                                              your own Ollama (localhost); restriction profiles observe|propose|paper|full ('dexterm ai help')
  dexterm mcp [install <client>|doctor]            read-only MCP server for your own agent; 'install' writes the config for claude-code|claude-desktop|cursor|codex|generic (asks first, idempotent, backs up); 'doctor' verifies the connection
  dexterm alerts status|enable|disable|set-telegram|set-discord|test  where rule alerts are delivered (desktop / your Telegram / Discord; creds stay local, never logged)
  dexterm watch [--interval S] [--once] [--replay FILE]  run your rules headless and push alerts when the terminal is closed (no signer, proposals only)
  dexterm record run|install|uninstall|status  keep the history recorder fed with no TUI open, as a user-level launchd agent (no network beyond the data layer; 'dexterm record help')
  dexterm larp-detected --out DIR [--db PATH]  build timestamped high-risk follow-up drafts/cards from recorder history; never posts
  dexterm --fixtures                          interactive demo on seeded fixtures
  dexterm --screen <name>                     one-shot frame to stdout (live)
  dexterm --screen <name> --fixtures          one-shot frame from fixtures
  dexterm --screen <name> --replay FILE       one-shot frame from a recording (no network)
  dexterm --screen token --mint MINT          one-shot live token detail
  dexterm --screen newpairs --listen 30       listen to PumpPortal for 30 s, then render
  screens: screener | token | newpairs | watchlist | analyst | boot | ticket | positions | trending | kol | bubbles | narrative | plans | follows | rules | autotrade

  --filter QUERY            screener filter, e.g. "vol24 > 250K liq > 50K age < 30d launchpad:pump"
  --sort KEY[:asc|desc]     vol | liq | mcap | price | age | m5 | h1 | h6 | h24 | holders | org | top10 | rug
  --preset NAME             trench | trending | runners | organic | graduating | smart | traded | new | boosted | all
  --record FILE             save every live response (and the PumpPortal session) to FILE (replay it with --replay)
  --spectate-mcp            follow an MCP agent's allowed navigation in this terminal; Ctrl+P pauses, Ctrl+K stops,
                            and any normal user keypress takes control (refused actions never move the UI)
  --spectate-thoughts FILE  (with --spectate-mcp) stream the agent's own words into the thought ribbon from a JSONL
                            file it writes (e.g. claude -p --output-format stream-json); display only, scrubbed
  --agent-paper MANDATE_ID  (experimental, with --spectate-mcp) let that MCP agent PAPER-trade inside a mandate you
                            armed: simulated fills only, never signs or sends, never raises a cap; Ctrl+P / Ctrl+K /
                            any key also pause, stop or take over its paper trading
  --max-requests N          hard cap on live requests for this run (default: none)
  --max-credits N           hard cap on Helius credits for this run (default: 5000)
  --mint MINT|LINK          token to open on the token screen (a CA or a dexscreener / pump.fun / solscan / birdeye link)
  --interval IV             candle interval for the token screen: 1m | 5m | 15m | 1h | 4h | 1d (default 1h)
  --listen SECONDS          one-shot new pairs: how long to listen to PumpPortal (default 20)
  --db PATH                 SQLite path for cache, watchlist, credit meter and history (default: ~/.local/share/dexterm/dexterm.db; ':memory:' for none)
  --no-recorder             do not record history this run (the recorder keeps token snapshots, feed membership and
                            outcome labels in the --db file for the rug model / backtests; DEXTERM_RECORDER=0 too)
  --verbose                 log every live request to stderr
  --width N --height N      frame size (default: terminal size, else 160×45)
  --theme NAME              cyberspace | midnight | ember | paper or a user theme (default cyberspace; t cycles built-ins then user themes)
  --selected N              highlighted row / token index
  --seed N                  fixture PRNG seed (default 7)
  --no-ai                   hide the analyst panel on the token screen
  --analyst-engine E        auto | claude | codex | ollama: which of YOUR engines runs the analyst (default auto = claude
                            if installed, else codex, else a local Ollama model; DEXTERM_ANALYST_ENGINE, config analyst.engine
                            or ai.json too; /engine in chat). ollama = a free local model, see 'dexterm ai help'

  --intensity LEVEL         off | normal | fever (default fever: rain, trails, glitch, blink, scanlines at 30 fps;
                            normal: 15 fps, sparser rain, no idle aberration; off = calm: neon theme, no motion)
  --calm                    same as --intensity off (DEXTERM_CALM=1 too; NO_COLOR implies it)
  --fps N                   frame cap 1..60 (default 30 fever / 15 normal); data still refreshes at 2 Hz
  --no-boot                 skip the boot sequence (first launch is the full glitch boot, later ones 1 s)
  --frame N                 effect frame index for one-shot renders (same frame = byte-identical output)
  --event KIND              one-shot demo event: newpair | pump | dump | rug (fixtures)
  --ai PHASE                analyst state for one-shot renders: thinking | streaming:N (chars revealed)
  --mood M --activity A     force the rain: mood pump | dump | neutral, activity 0..1
  --t 0..1                  boot progress for --screen boot
  --ascii-rain              hex-only rain glyphs (no half-width katakana; automatic when LANG is not UTF-8)
  --no-images               no coin images (also DEXTERM_IMAGES=0, or {"enabled": false} in ~/.dexterm/images.json);
                            real pixels in kitty / Ghostty / WezTerm / iTerm2 / sixel terminals, block art elsewhere
  --sound                   trade-moment sound cues (buy chirp, profit chime, loss thud, error buzz) after a CONFIRMED
                            result only; muted by default (also DEXTERM_SOUND=1); ~/.dexterm/sounds holds the WAVs
  --workspace NAME          start in a workspace: default | morning-hud | a file in ~/.dexterm/workspaces/ (task-1358);
                            in the app ctrl+w then w (list) · n/N (next/prev) · s (save as) · m (morning HUD) · o (popups) · d · 1-9
  --price-mode MODE         mcap | price: show MARKET CAP (price × a known supply; the default) or USD price on every screen,
                            the CLI text and in the assistants' language for this run (default: config.json display.priceMode,
                            mcap; $ in the app toggles and saves it). --mcap / --price (any command) and
                            DEXTERM_PRICE_BASIS=mcap|price do the same for one run
  --mcap / --price          the price basis for this run on ANY command (dexterm --price autotrade run …), not saved
  dexterm workspace list|show|remove|init         the workspace files (no network)
  dexterm theme list|show|init|check              user themes in ~/.dexterm/themes (extends a built-in; contrast + hue guarded)
  dexterm keymap [screen]                         the effective keys (defaults + config.keymap overrides, marked ·)
  dexterm display [mcap|price]                    show or set the price basis (default market cap = price × a known supply)
  dexterm display markers [on|off]                show or hide the BUY/SELL markers of your fills on both charts
  dexterm rules list|add|remove|enable|disable|check|dry-run|fields
                            "when <cond> [for n ticks] then alert|ticket|ask|popup|tag|sound|watch" rules in config.json (task-1358);
                            parsed never eval'd; mandatory cooldown + max/h; rules only alert or PROPOSE (ctrl+r in the app)
  dexterm pack list|verify|add|remove|export|lock|sign|trust|signers|keymap|widget
                            shareable packs (task-1358): workspaces + themes + rules + a keymap + popup widgets as plain files
                            with a sha256 pack.lock and an optional ssh-keygen signature; trust reviewed > signed > unsigned.
                            a pack never runs code: widgets install DISABLED (pack widget … --enable after reading the page),
                            unsigned rules load disabled, the keymap merges only with "pack keymap <name> --merge"

  AI SCAN MODE (off by default; observe + analyze only — it can never open a ticket, sign or trade):
  --scan                    start AI SCAN MODE on launch (also: Z key, or /scan on|off|resume in the / line or chat)
  --scan-min-score N        lock when a coin scores ≥ N (default 45) with ≥ --scan-min-triggers (default 2) triggers
  --scan-vol-x N            volume-spike trigger: 5m volume ≥ N× the coin's own pace (default 3)
  --scan-max-ai-per-hour N  analyst turns the scan may start per hour (default 8; per coin --scan-max-ai-per-coin 4)
  --scan-refresh-s N        min seconds between reads of the locked coin (default 90; only when data moved)
  more: --scan-min-liq --scan-flow-share --scan-breakout-pct --scan-liq-jump-pct --scan-holders-jump-pct
        --scan-warmup-s --scan-move-pct --scan-cooldown-s --scan-post-lock-s

  WALLET + LIVE TRADING (dexterm never holds a key and never signs a transaction):
  live trading happens in the Telegram trading bot of your choice, which holds its own wallet; dexterm sends alerts,
  signals and run control to your chat through your own bot (dexterm telegram setup). dexterm places no live order.
  --no-live                 accepted for older scripts; changes nothing (trading in dexterm is paper only)
  /wallet [status]          linked wallet (public key only, read-only) and the panic state
  /wallet link              open the browser to link a Phantom wallet (sign-a-message proof; no transaction)
  /wallet unlink            forget the linked public key
  /wallet panic             halt autotrade runs and the paper agent desk at once (kill-switch file); resume needs `dexterm wallet resume`
  dexterm never holds a key and never signs. Live trading happens in the Telegram trading bot of your choice.

  LOGIN WITH X (task-1357; your own X app, your limits, your bill; read scopes only, no scraping, dexterm never posts):
  dexterm x status             Login with X: client id stored? logged in as @handle? scopes, expiry, file modes
  dexterm x set-client-id      store YOUR X app's Client ID (prompted on the terminal, or one line on stdin with --stdin)
  dexterm x login              OAuth2 PKCE in your browser → tokens in ~/.dexterm/x/tokens.json (0600); read scopes only
  dexterm x logout             revoke both tokens at X and delete the local record

  --plain                   monochrome text (snapshot surface)
  --ansi                    ANSI output even when stdout is not a TTY (24-bit unless --color / NO_COLOR)
  --html FILE               write a standalone HTML page (for screenshots); --fit WxH --font PX for video frames
  --export [DIR]            write the frame as a PNG + a text report with data ages (default ~/.dexterm/exports; local only)
  --color DEPTH             truecolor | 256 | none (default: detected; NO_COLOR honoured)
  --tz ZONE                 header clock zone (default America/New_York, the prototype's; 'local' = machine zone)
  --title TEXT              HTML page title
  -h, --help                this text
  --version                 print the version

  Keys: 1-4 screens · tab cycle · j/k move · ⏎ open · esc back · a analyst · v voice · t theme · c calm · p pause · q quit
        voice (JARVIS, macOS): v push-to-talk (press to talk, press to send) · m mute · , change voice · < / > slower/faster · esc stop speaking
                               voice asks the analyst or triggers safe actions (open/filter/watch/open a PAPER ticket);
                               a spoken "buy"/"sell" only OPENS a ticket — you still confirm it with a keypress
                               spoken replies talk in market cap and round numbers (never a raw per-token price); < / > set the rate (saved to config)
        screener: / filter · s sort · [ ] presets · r refresh · g/G top/bottom
        social (task-1330): T trending in the space · K KOL lists · token screen: s social panel · f filter · x hidden spam
        dexterm kol list | create <name> | add <list> @handle | remove <list> @handle | mute @handle | unmute @handle | enable <list> | disable <list> | import <dir> | import-x
        Login with X (task-1357): dexterm x login · then the SOCIAL panel + TRENDING read X with your own limits · KOL screen: X imports your X lists · o = only this handle
        token: B/S buy/sell ticket (PAPER) · P positions · w watch
        token: M bubble map (holder graph: clusters by funder / same-slot buys / transfers; colour = rule) · bubble map: M popup · m treemap · z zoom · D deep scan
        demo events on --fixtures: n new pair (glitch) · u pump (gold rain) · d dump (red rain) · x rug flag
        AI scan: Z on/off · R resume scanning after a lock · esc (on the locked coin) cancel the analysis
        any key skips the boot sequence or a blink transition

  State: ~/.dexterm/state.json remembers launches (DEXTERM_HOME overrides the directory).
  DEXTERM_OFFLINE=1 refuses live data (tests and CI). Trading in dexterm is PAPER only — a simulated wallet
  priced from live Jupiter quotes. dexterm never holds a key and never signs or sends a transaction.
  RPC: DEXTERM_RPC_URL, else ~/.dexterm/helius.key (Helius, metered with a credit meter), else the public RPC.
  Updates: at most once a day a live run asks npm + GitHub for the newest version (two anonymous GETs, no telemetry)
  and shows one toast if there is one; DEXTERM_NO_UPDATE_CHECK=1 or 'dexterm update --off' turns that off.

/scan commands#

Typed on the screener's / line or in the chat input; the leading slash is optional on the / line. /scan (toggle) · /scan on (on) · /scan start (on) · /scan off (off) · /scan stop (off) · /scan resume (resume) · /scan next (resume) · /scan status (status)