mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-06 18:54:17 +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:
@@ -142,7 +142,13 @@ describe('the assistant tool catalog', () => {
|
||||
|
||||
it('ASTTOOL-003: every registered tool that shares, invites or publishes is denied or only takes back', () => {
|
||||
expect(checkDenylist(listed.keys())).toEqual([]);
|
||||
for (const name of ['delete_trip', 'create_share_link', 'enable_trip_calendar_feed', 'import_places_from_url']) {
|
||||
for (const name of [
|
||||
'delete_trip',
|
||||
'create_share_link',
|
||||
'enable_trip_calendar_feed',
|
||||
'import_places_from_url',
|
||||
'delete_journey_photos',
|
||||
]) {
|
||||
expect(isOfferedTool(name), name).toBe(false);
|
||||
}
|
||||
for (const name of ['delete_place', 'list_upcoming_reservations', 'send_collab_message', 'toggle_vacay_entry']) {
|
||||
|
||||
Reference in New Issue
Block a user