mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-04 09:54:14 +00:00
fix(ci): repair trip assistant checks
Fix the mobile dashboard import and align the assistant UI with client layer and lint rules. Document the OpenRouter setting, share the reservation status schema, and update coverage for external POI identifiers and the empty costs view.
This commit is contained in:
@@ -18,7 +18,7 @@ import { AssignmentsService } from '../assignments/assignments.service';
|
||||
import {
|
||||
idSchema, transportLegInputSchema, reservationUrlSchema, type TransportLegInput, bookingPriceSchema, bookingBudgetCategorySchema,
|
||||
TRANSPORT_RESERVATION_TYPES, MCP_CREATABLE_TRANSPORT_TYPES, LEG_RESERVATION_TYPES, BOOKING_RESERVATION_TYPES,
|
||||
RESERVATION_STATUSES, type ReservationStatus, typeToCostCategory,
|
||||
RESERVATION_STATUSES, initialReservationStatusSchema, type ReservationStatus, typeToCostCategory,
|
||||
} from '@trek/shared';
|
||||
import { RESERVATION_METADATA } from '../../db/json-columns';
|
||||
import { decodeJson } from '../../utils/json-column';
|
||||
@@ -367,10 +367,7 @@ export class ReservationsMcp {
|
||||
tripId: idSchema,
|
||||
title: z.string().min(1).max(200),
|
||||
type: z.enum(BOOKING_TYPES).describe('Reservation type: "hotel", "restaurant", "event", "tour", "activity", "parking", or "other"'),
|
||||
status: z
|
||||
.enum(['pending', 'confirmed'])
|
||||
.optional()
|
||||
.describe('Use confirmed when the provider already confirmed the reservation; otherwise leave pending'),
|
||||
status: initialReservationStatusSchema.optional().describe('Use confirmed when the provider already confirmed it'),
|
||||
reservation_time: z.string().optional().describe('ISO 8601 datetime or time string'),
|
||||
reservation_end_time: z.string().optional().describe('When it ends: a dinner from 19:00 to 21:30, a tour that runs all afternoon. Ignored for hotels, whose span is the check-in/check-out days.'),
|
||||
url: urlField,
|
||||
|
||||
Reference in New Issue
Block a user