task icon Task

View Trip

1

Check uiTrip 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.

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 uiTrip 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

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?'

                    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 read steps in a row, read them all at once (in parallel).

Add all steps to your todo list now and begin executing.

## Steps

1. Check `./documents/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/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?'