stderr_callback

command
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2026 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Demonstrates WithStderr for capturing opencode's stderr output. The SDK forwards each line opencode writes to stderr to the supplied callback — useful for surfacing diagnostics in your own UI or aggregating them with the app's logs.

go run ./examples/stderr_callback

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL