Conversation
Added the following types to match the Jules API specification: - `ListActivitiesResponse` in `lib/models/activity.dart` - `SendMessageRequest`, `SendMessageResponse`, `ApprovePlanRequest`, `ApprovePlanResponse` in `lib/models/session.dart` Added unit tests in `test/models/new_types_test.dart` to verify serialization and deserialization. Co-authored-by: arran4 <111667+arran4@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
|
@jules can we think about how these are displayed and what information we need to extract from the map to make it easier to display that content. |
Excellent point. I've updated the |
- Added `ListActivitiesResponse` in `lib/models/activity.dart`. - Added `SendMessageRequest`, `SendMessageResponse`, `ApprovePlanRequest`, `ApprovePlanResponse` in `lib/models/session.dart`. - Refactored `Activity` model to include explicit fields for local state (`isPending`, `isQueued`, `processingErrors`, etc.) instead of relying on `unmappedProps`. - Updated `VirtualActivity`, `ActivityItem`, and `ActivityHelper` to use these new fields. - Added unit tests in `test/models/new_types_test.dart`. Co-authored-by: arran4 <111667+arran4@users.noreply.github.com>
This PR implements missing data types from the Jules API reference (https://jules.google/docs/api/reference/types). Specifically, it adds response types for listing activities and request/response types for session actions (sending messages and approving plans). Verification tests are included.
PR created automatically by Jules for task 5541557627152087561 started by @arran4