mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-02 09:22:15 +00:00
feat(tours): the assistant edits stations, reverses and closes tours, sets breaks, colour and copies, and writes ski and paddle plans
City walk changes take edit, reverse and close_loop; edits alone keep the saved way and never ask the router. update_tour turns a hike round or closes its loop with reshape. New MCP tools mirror the Tours tab's REST writes and reads: update_tour_details, set_tour_route_color, copy_tour, classify_ski_track, set_paddle_plan, decide_paddle_obstacles, restore_recorded_track, get_tour_trail_details and find_horse_routes, with change cards, undo where the answer keeps the values before, and broadcast parity cases.
This commit is contained in:
@@ -170,6 +170,8 @@ export const ASSISTANT_CHANGE_LABEL_KEYS = [
|
||||
// The recorded track a tour was done on; the part of the packing list a tour points at.
|
||||
'track',
|
||||
'packing',
|
||||
// The minutes of breaks a tour plans on top of its moving time.
|
||||
'breaks',
|
||||
// A new order of a day's places or of the days, as the names in that order.
|
||||
'order',
|
||||
// An argument of a tool without a card of its own; the row names it in `field`.
|
||||
|
||||
@@ -27,6 +27,16 @@ export const TOUR_VERB_KEYS = [
|
||||
// A tour pointed at its trip's packing list, or let go of it.
|
||||
'linkPacking',
|
||||
'unlinkPacking',
|
||||
// A saved tour turned round or taken back to its start, copied, or its line drawn in another colour.
|
||||
'reverseTour',
|
||||
'closeLoop',
|
||||
'copyTour',
|
||||
'setRouteColor',
|
||||
// The writes of a ski or paddle tour of its own, and a planned import taken back to its recording.
|
||||
'classifySki',
|
||||
'setPaddlePlan',
|
||||
'decideObstacles',
|
||||
'restoreTrack',
|
||||
] as const;
|
||||
/** 'tour' is a core entity already. */
|
||||
export const TOUR_APPLIED_ENTITIES = [] as const;
|
||||
|
||||
Reference in New Issue
Block a user