Skip to content

Add OpenCode stream wakeups to watch - #184

Merged
willwashburn merged 2 commits into
mainfrom
issue-92-opencode-stream-watch
Apr 28, 2026
Merged

willwashburn merged 2 commits into
mainfrom
issue-92-opencode-stream-watch

Conversation

@willwashburn

@willwashburn willwashburn commented Apr 28, 2026

Copy link
Copy Markdown
Member

Summary

  • add an OpenCode SSE consumer for /event and /global/event frames
  • wire burn watch --opencode-stream to wake the existing ingest loop on OpenCode session/message events while polling remains the fallback
  • document the flag, OPENCODE_SERVER_URL, and Basic auth env forwarding

This is the narrow live-stream part of #92; it does not replace the file-grain reader or consume tool-result chronology directly.

Tests

  • pnpm run build
  • pnpm run test
  • node --test --test-reporter=spec packages/cli/dist/opencode-stream.test.js packages/cli/dist/commands/watch.test.js

Refs #92


Open in Devin Review

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 4 additional findings.

Open in Devin Review

@willwashburn
willwashburn merged commit 8d18bc5 into main Apr 28, 2026
2 checks passed
@willwashburn
willwashburn deleted the issue-92-opencode-stream-watch branch April 28, 2026 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant