Skip to content

Toggle conversation recording via glasses right-side button with AGiXT summarization#114

Merged
Josh-XT merged 3 commits intomainfrom
copilot/add-recording-feature-glasses
Feb 28, 2026
Merged

Toggle conversation recording via glasses right-side button with AGiXT summarization#114
Josh-XT merged 3 commits intomainfrom
copilot/add-recording-feature-glasses

Conversation

Copy link
Contributor

Copilot AI commented Feb 28, 2026

Right-side button on Even Realities G1 glasses now toggles continuous recording. First press starts recording, second press stops and sends the transcription to AGiXT with a structured prompt to extract conversation summary, notes, goals, and action items.

Changes (lib/services/ai_service.dart)

  • handleSideButtonPress() — Converted from single-shot 5-second recording to toggle behavior. Checks _isConversationRecording to decide start vs stop. Recording uses 30-minute max duration (manually stopped by second press).
  • _handleVoiceInputState() — Routes completed audio to _processConversationRecording() when _isConversationRecording is set, otherwise falls through to existing _processRecordedAudio().
  • _processConversationRecording() — New method. Transcribes audio via Whisper, wraps transcription in a prompt:
    The following is a transcription of a recorded conversation. Please:
    1. Summarize the conversation
    2. Extract potentially important notes and highlights
    3. Identify specific goals if mentioned
    4. List any action items
    
    Transcription:
    <transcribed text>
    
    Sends to AGiXT via existing _sendMessageToAGiXT(). Response streams to glasses/watch/phone speaker as usual.
  • isConversationRecording getter — Exposes recording state for UI.

User-facing behavior

Action Result
1st button press Shows "Recording..." on glasses, mic enabled
2nd button press Shows "Processing conversation...", transcribes + summarizes via AGiXT
Recording failure Clean error with state reset (no fallback to 5-second mode)

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits February 28, 2026 02:31
…mary

- Modified handleSideButtonPress() to toggle: first press starts recording,
  second press stops and sends to AGiXT for conversation analysis
- Added _processConversationRecording() that transcribes audio and wraps in
  prompt asking AGiXT to summarize conversation, extract notes/highlights,
  goals, and action items
- Modified _handleVoiceInputState() to route conversation recordings to
  new processing path
- Recording uses 30-minute max duration (stopped manually by second press)
- Added isConversationRecording getter for UI access

Co-authored-by: Josh-XT <102809327+Josh-XT@users.noreply.github.com>
Co-authored-by: Josh-XT <102809327+Josh-XT@users.noreply.github.com>
Copilot AI changed the title [WIP] Add recording feature for Even Realities glasses Toggle conversation recording via glasses right-side button with AGiXT summarization Feb 28, 2026
@Josh-XT Josh-XT marked this pull request as ready for review February 28, 2026 03:49
@Josh-XT Josh-XT merged commit 7109d30 into main Feb 28, 2026
7 checks passed
@Josh-XT Josh-XT deleted the copilot/add-recording-feature-glasses branch February 28, 2026 03:49
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.

2 participants