Skip to content

Add screen context to realtime voice consults#577

Merged
rogerchappel merged 1 commit into
mainfrom
codex/realtime-screen-context
May 21, 2026
Merged

Add screen context to realtime voice consults#577
rogerchappel merged 1 commit into
mainfrom
codex/realtime-screen-context

Conversation

@rogerchappel
Copy link
Copy Markdown
Owner

Summary

  • Attach current CrewCMD page context to realtime openclaw_agent_consult calls
  • Include route, surface, selected IDs, visible IDs, document title, and a capped visible-screen text snapshot
  • Preserve existing tool-call context by appending screen context instead of replacing it

Verification

  • pnpm test -- src/lib/realtime-voice-gateway-relay.test.ts src/lib/realtime-voice-client.test.ts
  • pnpm typecheck
  • git diff --check

Risk

Medium-low. This sends a capped visible text snapshot from the current CrewCMD screen with realtime consults so voice can refer to the task or inbox item being viewed. No database or schema changes.

@rogerchappel rogerchappel merged commit 5195d54 into main May 21, 2026
1 check 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