mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-30 16:33:16 +00:00
fix(journey): keep photo deletes out of the assistant and never let the capture reader block an upload
delete_journey_photos removes uploaded files for good and has no undo; its generic approval card could only list ids, so the assistant is not offered it. External MCP clients keep the tool. A HEIC upload no longer fails when the lazily loaded capture reader cannot be loaded: the photo goes up without its capture, as before. The upload schema's doc comment is back on the schema it describes.
This commit is contained in:
@@ -62,6 +62,7 @@ export const ASSISTANT_DENIED_TOOLS: Readonly<Record<string, string>> = {
|
||||
add_journey_contributor: 'changes who can see the journey',
|
||||
update_journey_contributor_role: 'changes who can see the journey',
|
||||
remove_journey_contributor: 'changes who can see the journey',
|
||||
delete_journey_photos: 'deletes uploaded photos for good, with no way back, and its card could only name their ids',
|
||||
invite_to_collection: 'invites a person; the model could pick whom',
|
||||
send_vacay_invite: 'invites a person; the model could pick whom',
|
||||
share_vacay_calendar: 'shares a calendar with a person',
|
||||
|
||||
Reference in New Issue
Block a user