moqi
界面增强 活跃维护

moqi

JWE24-code/moqi

打包为单一 bundle 的终端应用,内置交错式对话记录、模型选择器与并发会话管理,多任务可在同一界面并行推进,随时切换模型;转录按消息交错排版,连续阅读不割裂。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
5
Open Issues
TypeScript
主要语言
MIT
开源协议
3.9 MB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:JWE24-code/moqi
git clone https://github.com/JWE24-code/moqi.git
git clone git@github.com:JWE24-code/moqi.git
README.md main

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+o opens 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 like bash(git log *) then
    answers matching calls without asking, and /permissions reviews them
    (docs/using-moqi.md).
  • Memory across sessions — the agent saves facts with memory_save, every
    session sees the list, /memory opens it in $EDITOR, # note keeps a
    line without sending it, and /memory off switches 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+tab modes — 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
    and contrast (docs/reference.md).
  • Extensible — other plugins register shortcuts, status lines, and command
    panels through ctx.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.

SonarQube Cloud