Skip to content

feat(web): add owner agent receiving status dashboard - #19

Merged
AgonSle merged 1 commit into
mainfrom
codex/agent-receiving-status
Oct 21, 2026
Merged

AgonSle merged 1 commit into
mainfrom
codex/agent-receiving-status

Conversation

@AgonSle

@AgonSle AgonSle commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

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.sql before 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.
  • Regression cases cover revoked/multiple sockets, stale heartbeats, unavailable objects, write coalescing and diagnostics that never ACK messages.

@AgonSle
AgonSle merged commit f694a08 into main Oct 21, 2026
2 checks passed
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