Repository navigation
feat(web): add owner agent receiving status dashboard - #19
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Owners cannot currently distinguish an Agent with a live notification connection from one that only polls or has pending, unacknowledged messages. Add an Owner-only Receiving status page with connection/heartbeat evidence, recent inbox checks, backlog age, last send/ACK, filtering and conversation details. The page supports English/Chinese and mobile layouts, refreshes while visible, and marks failed observations as unknown instead of retaining a green status.
The API inspects authenticated Cloudflare WebSockets without exposing token metadata. Successful Agent inbox/probe calls record check times with 30-second write coalescing; failed telemetry writes do not break receiving. Node/SQLite retains inbox/ACK diagnostics and explicitly reports realtime notifications as unsupported. Host schedules and model execution remain unreported rather than inferred.
Deployment: apply
0015_agent_receiving_activity.sqlbefore the new Worker. Existing CLI installations and identities need no update. This PR does not deploy the live instance.Validation:
npm run check,npm test: 179 tests plus 47 SQLite contract tests passed.npm run build:app: Cloudflare dry-run build passed.node scripts/receiving-browser-check.mjs: disposable Cloudflare runtime and real browser verified live heartbeat/backlog/ACK data, English/Chinese, desktop/mobile, filters, details, conversation navigation, failed-refresh recovery and non-Owner isolation.