feat(assistant): expenses, shares, wind, journey tracks and Dawarich checks as MCP tools

- list_budget_items lists a trip's expenses with their ids, payers and
  splits, page by page so no page is cut down on its way to a model;
  get_budget_per_person answers who paid and owes what. Both in a new
  budget-items.mcp.ts, checked like their REST twins.
- get_wind_forecast reads the hourly wind, gusts and direction of a day.
- get_journey_tracks lists a journey's GPX tracks; the line for drawing
  rides under a key the provider never receives.
- The Dawarich wishlist scan and the countries the recordings suggest
  become tools, with their confirming writes, in DawarichAtlasMcp in the
  Atlas group; the shared time window check refuses alike on REST and
  MCP, and the model never sees when the user was last seen in a city.
- The journal's map, tracks and recorded days load with the journey
  group instead of riding in the core of every step.
- The prompt points at list_budget_items for expense ids (the trip
  summary never carried them) and names the shares and the wind tools;
  each new read has its own live step.
This commit is contained in:
Maurice
2026-10-22 00:03:19 +00:00
parent 3c0f324266
commit 6d6efddc4e
63 changed files with 2418 additions and 51 deletions
+9
View File
@@ -110,6 +110,12 @@ const assistant: TranslationStrings = {
'assistant.step.readingBooking': '正在读取预订',
'assistant.step.planningHike': '正在规划徒步路线',
'assistant.step.planningHikeTo': '正在规划前往{place}的徒步路线',
'assistant.step.expenses': '正在读取支出',
'assistant.step.shares': '正在计算各人分摊',
'assistant.step.wind': '正在查看风况',
'assistant.step.tracks': '正在读取 GPX 轨迹',
'assistant.step.bucketScan': '正在用你的记录核对愿望清单',
'assistant.step.atlasCountries': '正在你的记录中查找去过的国家',
'assistant.step.working': '正在处理',
'assistant.step.collapsed': '{count} 个步骤',
'assistant.change.title': '建议的更改',
@@ -405,6 +411,9 @@ const assistant: TranslationStrings = {
'assistant.tool.create_transport': '添加交通',
'assistant.tool.toggle_vacay_entry': '设为休假日',
'assistant.tool.mark_country_visited': '标记国家为已去过',
'assistant.tool.confirm_bucket_list_visits': '在愿望清单中勾掉',
'assistant.tool.clear_bucket_list_visit': '撤销愿望清单中的勾选',
'assistant.tool.accept_atlas_countries': '将国家添加到地图集',
'assistant.tool.send_collab_message': '发送到行程聊天',
'assistant.admin.chatgptShared':
'你正在与此服务器上的所有人共享你自己的 ChatGPT 订阅:他们的聊天会计入你的套餐。请确认你的套餐和 OpenAI 的条款允许这样做。',