Skip to content

feat(events): add real-time event watching - #10

Merged
mzner merged 1 commit into
mainfrom
feat/event-watch
Aug 12, 2026
Merged

feat(events): add real-time event watching#10
mzner merged 1 commit into
mainfrom
feat/event-watch

Conversation

@mzner

@mzner mzner commented Aug 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • add authenticated oCIS SSE event watching with capability detection and bounded reconnects
  • add type filtering, JSONL streaming, --once, and --max-wait
  • improve human output with connection status, readable event descriptions, and reconnect feedback
  • add event-type shell completion, doctor diagnostics, documentation, and AI command catalogs

Behavior

  • watches future events visible to the selected authenticated profile
  • rejects --json for the open-ended stream and keeps JSONL stdout free of status messages
  • exits cleanly on Ctrl-C and reports server backchannel logout as an authentication failure
  • documents that SSE does not replay events missed before or during a disconnect

Validation

  • make check
  • focused SSE parser, reconnect, cancellation, filtering, timeout, output, and Cobra tests
  • live read-only connection and bounded-wait check against cloud.mzner.de

- stream authenticated oCIS SSE events with filtering and bounded retries
- add readable output, max-wait controls, and shell completion
- document event semantics and cover protocol and application behavior

Signed-off-by: Matteo <mzner@pm.me>
@mzner
mzner merged commit e946e5a into main Aug 12, 2026
14 checks passed
@mzner
mzner deleted the feat/event-watch branch August 12, 2026 05:44
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