forked from anomalyco/opencode
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Summary
Implement Dynamic Island support to show live coding session status and notifications in the iOS Dynamic Island.
Context
Dynamic Island (iOS 16+) provides a way to show live activities and notifications in the pill-shaped area at the top of the screen. This would be a compelling feature for WhisperCode to show real-time session status without needing to open the app.
Use Cases
-
Session Status - Show when the AI agent is:
- Thinking/processing
- Running a command
- Waiting for permission
- Completed a task
-
Progress Updates - Display ongoing operations like:
- File edits in progress
- Commands being executed
- LLM responses streaming
-
Quick Notifications - Deliver important alerts through Dynamic Island:
- Errors requiring attention
- Permission requests
- Session completed
Technical Considerations
- Use iOS ActivityKit framework for Live Activities
- Design appropriate layouts for compact and expanded Dynamic Island views
- Handle cases where Dynamic Island is not available (older iOS, iPad)
- Consider battery implications of live activities
- Ensure notifications also appear in Notification Center when app is backgrounded
Relationship to Notifications
This complements the server-driven push notification system (#5):
- Live Activities show real-time in-app status
- Push notifications deliver background events
- Together they provide comprehensive notification coverage
Implementation Scope
- Add ActivityKit entitlement and capabilities
- Create Live Activity widget extension
- Design Dynamic Island layouts (compact, minimal, expanded)
- Integrate with session state management
- Handle start/update/end of live activities
Labels
- enhancement
- ios-specific
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels