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 Source Files ¶ View all Source files main.go Click to show internal directories. Click to hide internal directories.