View Trip
Display trip details, current status, and upcoming activities
Check Trip Files for trips. If user asked about a specific trip, find it. If they asked generally ('my trips', 'what's planned'), show an overview of all trips first.
If showing multiple trips, present a brief list:
- Trip name and destination
- Dates
- Status (upcoming/in-progress/completed)
Ask which one they want details on, or if they want to see a specific trip.
For a single trip, read the file from Trip Files and present:
Header: Trip name, destination, dates, status
If in-progress or upcoming with near-term dates:
- What's next? Show upcoming itinerary entries for today/tomorrow
- Any uncompleted items that were scheduled for past dates
Itinerary overview:
- Group by date
- Show time, activity, location
- Mark completed items with ✓, skipped with ✗
- Highlight today's schedule if trip is in-progress
Bookings summary:
- Flights with dates and confirmation numbers
- Hotels with check-in/out dates
- Upcoming reservations
Budget status (if budget was set):
- Planned: €X
- Spent: €Y (sum of expenses)
- Remaining: €Z
- Breakdown by category if they have expenses
Offer relevant follow-ups based on trip status:
Upcoming: 'Want to add more plans or bookings?'
In-progress: 'Log an activity? Add an expense? What's next on your list?'
Completed: 'Want to see expense breakdown? Add any final notes?'
To run this task you must have the following required information:
> Optional: specific trip to view (by name or destination). If not specified, shows overview of all trips.
If you don't have all of this information, exit here and respond asking for any extra information you require, and instructions to run this task again with ALL required information.
---
You MUST use a todo list to complete these steps in order. Never move on to one step if you haven't completed the previous step. If you have multiple CONSECUTIVE read steps in a row, read them all at once (in parallel). Otherwise, do not read a file until you reach that step.
Add all steps to your todo list now and begin executing.
## Steps
1. Check `documents/activity/trips/*.yaml` for trips. If user asked about a specific trip, find it. If they asked generally ('my trips', 'what's planned'), show an overview of all trips first.
2. If showing multiple trips, present a brief list:
- Trip name and destination
- Dates
- Status (upcoming/in-progress/completed)
Ask which one they want details on, or if they want to see a specific trip.
3. For a single trip, read the file from `documents/activity/trips/*.yaml` and present:
**Header**: Trip name, destination, dates, status
**If in-progress or upcoming with near-term dates**:
- What's next? Show upcoming itinerary entries for today/tomorrow
- Any uncompleted items that were scheduled for past dates
**Itinerary overview**:
- Group by date
- Show time, activity, location
- Mark completed items with ✓, skipped with ✗
- Highlight today's schedule if trip is in-progress
**Bookings summary**:
- Flights with dates and confirmation numbers
- Hotels with check-in/out dates
- Upcoming reservations
**Budget status** (if budget was set):
- Planned: €X
- Spent: €Y (sum of expenses)
- Remaining: €Z
- Breakdown by category if they have expenses
4. Offer relevant follow-ups based on trip status:
**Upcoming**: 'Want to add more plans or bookings?'
**In-progress**: 'Log an activity? Add an expense? What's next on your list?'
**Completed**: 'Want to see expense breakdown? Add any final notes?'