Module kilo_code

Module kilo_code 

Source
Expand description

Kilo Code session parser for VS Code extension storage. Kilo Code session parser.

Parses conversation history from Kilo Code, an AI coding assistant VS Code extension that is a fork of Roo Code.

Kilo Code stores task conversations in the VS Code global storage directory:

  • macOS: ~/Library/Application Support/Code/User/globalStorage/kilocode.Kilo-Code/tasks/
  • Linux: ~/.config/Code/User/globalStorage/kilocode.Kilo-Code/tasks/
  • Windows: %APPDATA%/Code/User/globalStorage/kilocode.Kilo-Code/tasks/

Each task has its own directory containing:

  • api_conversation_history.json - Raw API message exchanges
  • ui_messages.json - User-facing message format
  • task_metadata.json - Task metadata (optional)

Structsยง

KiloCodeWatcher
Watcher for Kilo Code sessions.