Repository navigation
Releases
kitty-graphics-agent@0.0.5
- Duplicate plugin guard — if the plugin is loaded twice (e.g. from both global and project config), the second instance skips processing.
- Added
@types/nodeto devDependencies — fixes tsc errors when building from source.
kitty-graphics-agent@0.0.4
-
Fixed plugin loader crash — root export now only contains the plugin initializer. Non-function exports (constants, parser) were crashing OpenCode's plugin loader. Parser and constants are now available via subpath imports:
import { extractKittyGraphics } from 'kitty-graphics-agent/parser' import { AGENT_GRAPHICS_ENV } from 'kitty-graphics-agent/constants'
-
Malformed chunk recovery — if a chunked transfer is interrupted or followed by a fresh image command, the partial transfer is aborted and the new command is processed correctly.
kitty-graphics-agent@0.0.1
-
Initial release — intercept Kitty Graphics Protocol images from CLI bash output and inject them into LLM context automatically.
Add to your
opencode.jsonand any CLI that emits Kitty Graphics will have its images passed to the model:{ "plugin": ["kitty-graphics-agent"] } -
AGENT_GRAPHICS=kittyenv var — injected into every shell session so CLIs know they can emit Kitty Graphics even when stdout is not a TTY. -
extractKittyGraphicsparser — standalone parser for use outside OpenCode. Scans bash output for\x1b_G...\x1b\\sequences, strips them from text, and returns extracted PNG images as base64 data URIs.