Skip to content

Releases

kitty-graphics-agent@0.0.5

Choose a tag to compare

  1. Duplicate plugin guard — if the plugin is loaded twice (e.g. from both global and project config), the second instance skips processing.
  2. Added @types/node to devDependencies — fixes tsc errors when building from source.

kitty-graphics-agent@0.0.4

Choose a tag to compare

  1. 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'
  2. 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

Choose a tag to compare

  1. Initial release — intercept Kitty Graphics Protocol images from CLI bash output and inject them into LLM context automatically.

    Add to your opencode.json and any CLI that emits Kitty Graphics will have its images passed to the model:

    {
      "plugin": ["kitty-graphics-agent"]
    }
  2. AGENT_GRAPHICS=kitty env var — injected into every shell session so CLIs know they can emit Kitty Graphics even when stdout is not a TTY.

  3. extractKittyGraphics parser — 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.