Fold omp tool calls into a single line, or group consecutive calls into one summary row. Display only — tool calls, results, and what the model sees are unchanged.
See the landing page.
English | 中文
default— use omp's configured tool display.line(default) — one line per tool call, truncated to the terminal width.group— consecutive tool calls collapse into one summary row.
line looks like this:
❯ Bash: ls -la · 12 lines
● Read /path/to/file.ts
⌕ Grep: TODO 3 matches · 2 files
✎ Edit: /path/to/file.ts +3/-1
group looks like this:
• 4 tools: Bash · Read · Grep · Edit
Press Ctrl+O in any mode to expand and see the original tool cards.
omp plugin install github:OneLastHuman/omp-compact-tools
omp config set extensionRenderers.transcriptPresenters trueRestart omp. OMP 19.3 ships with extension transcript presenters turned off. The setting above enables them for installed extensions.
From the repository root:
mkdir -p ~/.omp/agent/extensions/omp-compact-tools
cp -R package.json extensions lib ~/.omp/agent/extensions/omp-compact-tools/
omp config set extensionRenderers.transcriptPresenters trueIf upgrading a manual installation, remove the old standalone ~/.omp/agent/extensions/omp-compact-tools.ts. Restart omp.
omp plugin link /path/to/omp-compact-tools
omp config set extensionRenderers.transcriptPresenters trueInside omp:
/compact-tools # cycle default → line → group
/compact-tools line # one line per call
/compact-tools group # group consecutive calls
/compact-tools default # back to omp's normal display
/compact-tools status # show the current mode
Or edit ~/.omp/agent/compact-tools.json:
{ "mode": "line" }Restart omp after changing the file.
omp plugin uninstall omp-compact-toolsFor a manual installation, delete the ~/.omp/agent/extensions/omp-compact-tools/ directory.
- Version 2 requires omp 19.3 or newer. For omp 18.13–18.14, use plugin version 1.0.0.
- Display only: tool calls, results, and what the model sees are unchanged.
- OMP's
display.toolActivity: hiddensetting also hides compact rows. - This repo only contains the tool-call folding extension. It does not include prompts or personal configuration.
MIT