coding-agent: example extension to summarize conversation (#684)

* feat: add summarize extension example

Demonstrates custom UI with markdown rendering and external model
integration for conversation summarization.

* chore: update examples/extensions/README.md with summarize.ts
This commit is contained in:
scutifer 2026-01-13 17:31:09 +05:30 committed by GitHub
parent 75146a2b96
commit 0f4d929a8e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 203 additions and 2 deletions

View file

@ -50,6 +50,7 @@ cp permission-gate.ts ~/.pi/agent/extensions/
| `timed-confirm.ts` | Demonstrates AbortSignal for auto-dismissing `ctx.ui.confirm()` and `ctx.ui.select()` dialogs |
| `modal-editor.ts` | Custom vim-like modal editor via `ctx.ui.setEditorComponent()` |
| `notify.ts` | Desktop notifications via OSC 777 when agent finishes (Ghostty, iTerm2, WezTerm) |
| `summarize.ts` | Summarize the conversation so far with GPT-5.2, and show in a nice transient UI |
### Git Integration