This extension is loaded through the root pi-ext package.
See root README.
Commands / tools / settings
Commands:
/tldr — toggle widget.
/tldr on — enable widget.
/tldr off — disable widget and clear display.
/tldr status — show enabled state and configured model.
/tldr help — show command syntax.
Tools:
none.
Hooks:
observes prompt, assistant, tool, result, and final-response activity.
Settings:
{
"tldr": {
"model": "provider/model"
}
}
If tldr.model is missing, invalid, unavailable, or unauthenticated, tldr uses
the current Pi model. If that has no API key, the widget shows
tldr unavailable.
Behavior
Records bounded prompt, assistant, tool, result, and final-response activity.
Sends bounded snippets to the TLDR model.
Uses one in-flight TLDR request at a time.
Coalesces noisy normal activity before requesting a checkpoint.
Drops stale model results after new runs or session changes.
Keeps recent generated checkpoints as compact context.
Requests one plain-text sentence under 80 characters.
# tldr<!-- demo:tldr:start -->
<!-- demo:tldr:end -->Live TLDR widget above the Pi editor.
## Install / loadThis extension is loaded through the root pi-ext package.
See [root README](../../README.md).
## Commands / tools / settingsCommands:
- `/tldr` — toggle widget.
- `/tldr on` — enable widget.
- `/tldr off` — disable widget and clear display.
- `/tldr status` — show enabled state and configured model.
- `/tldr help` — show command syntax.
Tools:
none.
Hooks:
observes prompt, assistant, tool, result, and final-response activity.
Settings:
```json{
"tldr": {
"model": "provider/model" }
}
```
If `tldr.model` is missing, invalid, unavailable, or unauthenticated, tldr uses
the current Pi model. If that has no API key, the widget shows
`tldr unavailable`.
## Behavior- Records bounded prompt, assistant, tool, result, and final-response activity.
- Sends bounded snippets to the TLDR model.
- Uses one in-flight TLDR request at a time.
- Coalesces noisy normal activity before requesting a checkpoint.
- Drops stale model results after new runs or session changes.
- Keeps recent generated checkpoints as compact context.
- Requests one plain-text sentence under 80 characters.
- Avoids tool names, file names, markdown, JSON, code, bullets, and quotes.
- Uses in-progress tense while work is active and completed tense for final
activity.
- Disables prompt caching for TLDR requests.
- Sanitizes terminal/control characters and caps displayed TLDR text.
- Does not scan or redact secrets.