mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 13:03:42 +00:00
Update docs for inline images, remove PI_NO_IMAGES env var
- Add CHANGELOG entry for inline image rendering feature - Add /show-images to slash commands table in README - Expand Image Support section with inline rendering info - Add terminal.showImages to settings documentation - Remove PI_NO_IMAGES environment variable feature
This commit is contained in:
parent
53794d78f2
commit
b8a0465e30
4 changed files with 15 additions and 10 deletions
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
### Added
|
||||
|
||||
- **Inline image rendering**: Terminals supporting Kitty graphics protocol (Kitty, Ghostty, WezTerm) or iTerm2 inline images now render images inline in tool output. Aspect ratio is preserved by querying terminal cell dimensions on startup. Toggle with `/show-images` command or `terminal.showImages` setting. Falls back to text placeholder on unsupported terminals or when disabled. ([#177](https://github.com/badlogic/pi-mono/pull/177) by [@nicobailon](https://github.com/nicobailon))
|
||||
|
||||
- **Gemini 3 Pro thinking levels**: Thinking level selector now works with Gemini 3 Pro models. Minimal/low map to Google's LOW, medium/high map to Google's HIGH. ([#176](https://github.com/badlogic/pi-mono/pull/176) by [@markusylisiurunen](https://github.com/markusylisiurunen))
|
||||
|
||||
### Fixed
|
||||
|
|
|
|||
|
|
@ -165,6 +165,7 @@ The agent reads, writes, and edits files, and executes commands via bash.
|
|||
| `/compact [instructions]` | Manually compact conversation context |
|
||||
| `/autocompact` | Toggle automatic context compaction |
|
||||
| `/theme` | Select color theme |
|
||||
| `/show-images` | Toggle inline image display (supported terminals only) |
|
||||
|
||||
### Editor Features
|
||||
|
||||
|
|
@ -236,13 +237,17 @@ Run multiple commands before prompting; all outputs are included together.
|
|||
|
||||
### Image Support
|
||||
|
||||
Include image paths in your message:
|
||||
**Attaching images:** Include image paths in your message:
|
||||
|
||||
```
|
||||
You: What's in this screenshot? /path/to/image.png
|
||||
```
|
||||
|
||||
Supported: `.jpg`, `.jpeg`, `.png`, `.gif`, `.webp`
|
||||
Supported formats: `.jpg`, `.jpeg`, `.png`, `.gif`, `.webp`
|
||||
|
||||
**Inline rendering:** On terminals that support the Kitty graphics protocol (Kitty, Ghostty, WezTerm) or iTerm2 inline images, images in tool output are rendered inline. On unsupported terminals, a text placeholder is shown instead.
|
||||
|
||||
Toggle inline images with `/show-images` or set `terminal.showImages: false` in settings.
|
||||
|
||||
---
|
||||
|
||||
|
|
@ -600,6 +605,9 @@ See [Hooks Documentation](docs/hooks.md) for full API reference.
|
|||
"enabled": true,
|
||||
"maxRetries": 3,
|
||||
"baseDelayMs": 2000
|
||||
},
|
||||
"terminal": {
|
||||
"showImages": true
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
@ -609,6 +617,9 @@ See [Hooks Documentation](docs/hooks.md) for full API reference.
|
|||
- `maxRetries`: Maximum retry attempts. Default: `3`
|
||||
- `baseDelayMs`: Base delay for exponential backoff (2s, 4s, 8s). Default: `2000`
|
||||
|
||||
**Terminal settings:**
|
||||
- `showImages`: Render images inline in supported terminals. Default: `true`
|
||||
|
||||
---
|
||||
|
||||
## CLI Reference
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue