title: OpenCode description: Capture OpenCode sessions with dkod.

OpenCode

dkod captures OpenCode sessions.

Setup

dkod init

Capture a session

dkod capture opencode

Example output

$ dkod capture opencode
 Wrapping opencode session...
 Session started capturing transcript
  ... (OpenCode session runs normally) ...
 28 messages captured, 9 files touched
 Session s-s7t8u9 refs/dkod/sessions/s-s7t8u9

How it works

The adapter wraps the OpenCode process and captures the conversation transcript and code changes. Redaction runs before storage.