Skip to content

Plugin: add monitor channels for cross-thread approvals and unread activity#25

Open
huntharo wants to merge 4 commits intomainfrom
codex/monitor-the-situation
Open

Plugin: add monitor channels for cross-thread approvals and unread activity#25
huntharo wants to merge 4 commits intomainfrom
codex/monitor-the-situation

Conversation

@huntharo
Copy link
Contributor

@huntharo huntharo commented Mar 19, 2026

Summary

  • add a /cas_monitor command that binds a conversation as a cross-thread monitor surface
  • surface pending approvals, waiting-for-user-input prompts, and unread thread activity inferred from local last-seen state
  • keep monitor bindings compatible with /cas_detach, /cas_status, and /cas_resume, and cover the new flow with unit tests

Notes

  • unread activity is inferred from thread updatedAt against locally tracked last-seen timestamps because the app-server protocol does not expose a first-class unread bit
  • this PR does not yet create provider-native jump targets for dedicated Discord threads or Telegram topics; it summarizes activity and points users back to /cas_resume <thread-id>

Fixes #19

Validation

  • pnpm test
  • pnpm typecheck

@huntharo huntharo force-pushed the codex/monitor-the-situation branch from 2fc1f5e to 2082fc2 Compare March 21, 2026 19:35
@huntharo huntharo force-pushed the codex/monitor-the-situation branch from b3d2e3e to c037b92 Compare March 21, 2026 19:42
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.

Plugin: add monitor channels for cross-thread approvals and unread activity

1 participant