Description
Running opencode with opencode run "foo" doesn't seem to send any telemetry. Running opencode --prompt "foo" instead works. I can't find anything suspicious in the logs, the plugin starts up fine and the endpoint is reported to be reachable.
Workaround: Using opencode serve and then opencode run with --attach sends telemetry as expected.
I'm aware of an older issue concerning opencode run and opencode serve, but there the plugin wasn't even loading correctly. That doesn't seem to be the case here.
Steps to reproduce
- Set 'OPENCODE_ENABLE_TELEMETRY' to 1 and set the endpoint
- Run 'opencode run tell me a joke'
- Observe incoming telemetry or lack thereof.
Expected behavior
opencode run sends telemetry just like TUI mode.
Actual behavior
No telemetry was sent.
Plugin version
@latest
Configuration
Relevant log output
Checklist
Description
Running opencode with
opencode run "foo"doesn't seem to send any telemetry. Runningopencode --prompt "foo"instead works. I can't find anything suspicious in the logs, the plugin starts up fine and the endpoint is reported to be reachable.Workaround: Using
opencode serveand thenopencode runwith--attachsends telemetry as expected.I'm aware of an older issue concerning
opencode runandopencode serve, but there the plugin wasn't even loading correctly. That doesn't seem to be the case here.Steps to reproduce
Expected behavior
opencode runsends telemetry just like TUI mode.Actual behavior
No telemetry was sent.
Plugin version
@latest
Configuration
Relevant log output
Checklist