Moqi
默契 — the unspoken understanding between you and your harness.
◆ moqi tail docker logs local harness
▌ how do i tail the last 50 lines of a container log?
✓ shell docker ps
Use docker logs with --tail and -f :
sh
│ docker logs --tail 50 -f webui
• --since 10m — only the last ten minutes
• -t — prefix each line with a timestamp
╭──────────────────────────────────────────────────────────────────────────────╮
│ Ask the harness… (/ for commands) │
╰──────────────────────────────────────────────────────────────────────────────╯
deepseek-chat · ctx 1.5K/65K 2% · ↑1.2K ↓312 / commands · ctrl+c quit
A terminal app for DeepSeek Harness,
packaged as a dsh profile. A good terminal agent is one you stop having to
explain yourself to: Moqi keeps the conversation in the order it happened,
puts each tool call where it was made, and gets out of the way.
Highlights
- Tool calls, where they happened — each call renders inline between the
prose on either side of it, collapsed to one row with its own spinner and
status;ctrl+oopens the outcome underneath
(docs/using-moqi.md). - Approvals that remember — allow a command once, for this session, or
always (per project or everywhere); a rule likebash(git log *)then
answers matching calls without asking, and/permissionsreviews them
(docs/using-moqi.md). - Memory across sessions — the agent saves facts with
memory_save, every
session sees the list,/memoryopens it in$EDITOR,# notekeeps a
line without sending it, and/memory offswitches it all off
(docs/using-moqi.md). - A branch of its own — a new session in a git repo works on a
moqi/
branch in place, or in a worktree with/worktree; untouched ones are
tidied up, and the agent is told the rules
(docs/using-moqi.md). shift+tabmodes — read-only, workspace-write, or plan, on the
Harness's own sandbox (docs/using-moqi.md).- Steer, queue, or interrupt a running reply — three destinations, one per
key (docs/using-moqi.md). - Several sessions at once — tabs with live status, a bell when a
background turn finishes (docs/using-moqi.md). - Sessions across devices — every dsh session on every device, over plain
SSH; preview or dispatch to a peer without leaving the terminal
(docs/using-moqi.md). /usage— plan limits and billed token spend, per provider, in rolling
5-hour and 7-day windows (docs/usage.md).- Provider sign-in — Claude Pro/Max, ChatGPT/Codex, and other OAuth flows,
from inside the terminal
(docs/using-moqi.md). - Voice dictation — local whisper.cpp, push-to-talk with
ctrl+v; nothing
leaves the machine (docs/using-moqi.md). - Rewind and fork — branch a conversation at any earlier prompt
(docs/using-moqi.md). - 21 color palettes, light and dark, with an accessibility-minded
mono
andcontrast(docs/reference.md). - Extensible — other plugins register shortcuts, status lines, and command
panels throughctx.tuiHost(docs/extending.md).
Full key reference, flags, and commands: docs/reference.md.
Install
Needs Node 22+, the dsh CLI and pnpm. The same line works on Linux, macOS and
Windows:
npm install -g @deepseek-ai/dsh pnpm moqi-tui
moqi
The launcher installs the profile and hands the terminal to dsh. pnpm is
required because the profile is a pnpm project. Without it, moqi install
stops and tells you to install it.
The dsh desktop app gives you no dsh command. Moqi needs the CLI, so run
the line above even if the desktop app is installed.
From source:
git clone https://github.com/JWE24-code/moqi ~/Projects/moqi
cd ~/Projects/moqi
npm install && npm run build
npm run install-profile
dsh --profile tui
Upgrading an older profile, switching Node versions, plugins in the desktop
app, what the installer writes, and how typechecking links the Harness's own
types: docs/install.md.
License
MIT.