viafrei 2.7.8 → 2.7.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/API.md +1 -1
- package/CHANGELOG.md +50 -0
- package/README.md +1 -1
- package/package.json +1 -1
package/API.md
CHANGED
|
@@ -17,7 +17,7 @@ server:** connect any MCP client and call `tools/list`.
|
|
|
17
17
|
|
|
18
18
|
| | |
|
|
19
19
|
| --- | --- |
|
|
20
|
-
| Server | `viafrei` 2.7.
|
|
20
|
+
| Server | `viafrei` 2.7.10 (set by hand; the capture is of 2.6.40 and is taken again after the 2.7.10 deploy) |
|
|
21
21
|
| MCP protocol | `2025-06-18` |
|
|
22
22
|
| Streamable HTTP | https://mcp.viafrei.de/mcp |
|
|
23
23
|
| Legacy HTTP+SSE | https://mcp.viafrei.de/sse |
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,54 @@ a Changelog and the versions follow Semantic Versioning.
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [2.7.10] - 2026-11-27
|
|
9
|
+
|
|
10
|
+
**Roadworks lines say where the site is, and a publish-gate hang now shows where it stopped.** No tool name, input schema or annotation changes.
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- **A roadworks line says where the site is on its road (#290).** On prod, every 2.7.9 `find_roadworks_ahead` line said "Ort nicht angegeben". The API's roadworks rows carry no subtitle and no description, only the chainage (`position.fromKm`, junctions where named) and a point; the 2.7.9 tests had used hand-made rows that all carried a text. A line now says between which junctions the site lies, else its kilometre, else its point; "place not given" remains only for a row with none of them. The test is built from the API's own A7 answer, trimmed (`server/test/fixtures/roadworks-a7.json`).
|
|
14
|
+
- **A publish-gate run killed after its verdict now says how far it got (#288).** On the publish runner a gate run was killed at the 120 s deadline after printing its full verdict, four times in about five runs, each time in a different case. The hang is not reproduced: each case takes about 0.6 s locally, and about 750 gate runs in a linux/amd64 `node:24.22.3` container (1 GB, 2 CPUs) did not hang. So its cause is not fixed here. The gate now prints each step after its verdict (removing the workspace, workspace removed, exiting), each with its elapsed milliseconds. The next kill's partial output then names the phase that held it: the removal, the process exit, or, with all three lines printed, the parent still waiting on the pipe. The self-test checks these lines on every run.
|
|
15
|
+
|
|
16
|
+
### Still open
|
|
17
|
+
- #290: criteria B5, D7 and D8 (city jam questions), and the production re-run (E9).
|
|
18
|
+
- #288: the root cause, which the next occurrence's partial output will name.
|
|
19
|
+
|
|
20
|
+
## [2.7.9] - 2026-11-27
|
|
21
|
+
|
|
22
|
+
**The answers the 2.7.8 question round found wrong or guessed are fixed, and the server runs on API 2.0.7.** No tool name, input schema or annotation changes. A place tool asked for a name that several towns share now answers with the candidates (structured `{ambiguous, query, candidates}`) instead of guessing one.
|
|
23
|
+
|
|
24
|
+
**Contract note: two additive structured fields.** No field is removed or renamed.
|
|
25
|
+
- A place tool's candidates answer is a normal result (not `isError`) with `structuredContent` `{ambiguous: true, query, candidates: [{name, kind, districtCode, kreis, lat, lon}]}`. find_speed_cameras' candidates answer also carries `planningOnly` and `noticeDe`.
|
|
26
|
+
- `get_driving_rules` with a place and topic `lez` adds `zoneVerdict: {kind, text}` to its structured content when the API holds a verdict (`kind` is `inside`, `transfer` or `outside`; `text` is the answer's first line). Where no boundary is held, the field is absent and `conditionNote` carries the caveat, as before.
|
|
27
|
+
|
|
28
|
+
### Added
|
|
29
|
+
- **A home page for a browser at `GET /`.** A browser that asks for HTML gets one static page: what the server answers, its tools, resources and prompts, and how to connect. The page is a byte copy of the site's page and is generated into `src/content/home-page.ts`. It is sent with a hash-pinned Content-Security-Policy, `nosniff`, a referrer policy and `Vary: Accept`. An MCP client, `curl` or a request without `Accept: text/html` still gets the empty 404. `/mcp`, `/sse` and `/messages` are unchanged.
|
|
30
|
+
|
|
31
|
+
### Changed
|
|
32
|
+
- **API 2.0.7.** The pin, the contract fixture and the generated operations come from the release tag. The meaning changes come with it:
|
|
33
|
+
- the platform version is the API's own;
|
|
34
|
+
- `meta.asOf` counts only the live families;
|
|
35
|
+
- speed cameras no longer list webcams;
|
|
36
|
+
- Land and "abroad" are read from Land areas.
|
|
37
|
+
- **Train boards are no longer cut at five.** The board is asked with `limit` 50, the minutes of the asked window (`duration_min`, 5 to 120) and the asked `categories`.
|
|
38
|
+
|
|
39
|
+
### Fixed
|
|
40
|
+
- **A town name that several towns share is asked, not guessed.** In the round, "Neustadt" took a Hamburg district. Every place tool now answers with up to five candidates, each with its Land, Kreis and coordinates, and asks for the Kreis, the Land or lat/lon (#291).
|
|
41
|
+
- One town held twice (two sources, under 2 km apart) is one place.
|
|
42
|
+
- `find_place` says such a place once and, with `near`, lists the nearest first.
|
|
43
|
+
- **"Hauptbahnhof" alone is asked.** `get_train_departures` with only station words ("Hauptbahnhof", "Hbf", "main station") now asks which town is meant instead of answering for the first match (#291).
|
|
44
|
+
- **Roadworks say where and when, for the asked days.** `find_roadworks_ahead` used to read a fixed fortnight; it now passes the asked `from`/`to` to the API (default: today and the seven days after). The answer opens with how many sites the window holds. Each line gives the road, what it is, where on the road, its start and end, and the distance; a place's sites come nearest first (#290).
|
|
45
|
+
- **`get_driving_rules` opens with the zone verdict of an asked place.** The API sent whether the place lies inside or outside, but the answer listed only the rules (round Q56, Alexanderplatz). The verdict now leads, with the zone's published name. Where no boundary is held, the existing caveat still leads and never says "outside" (#293).
|
|
46
|
+
- **A speed-camera list with no announced mobile check says so.** It adds that mobile checks are still possible anywhere (round Q49) (#291).
|
|
47
|
+
- **Every `find_speed_cameras` answer carries the § 23 notice.** The candidates of a shared town name and the no-place refusal came without it. They now open with it, and the candidates' structured content carries `planningOnly` and `noticeDe` (#291).
|
|
48
|
+
- The raw JSON a client showed for this tool (#291 B4) is not a server render path: the server's `content[0].text` is prose in every outcome (tested); the cause is most likely the client presenting `structuredContent`, not reproduced. A test over the four outcomes (a list, none, a refusal, candidates) checks that the text is not JSON and holds the notice. The result shape is unchanged.
|
|
49
|
+
- **The roadworks count cannot lie.** `find_roadworks_ahead` sends the API the limit it lists by (`limit`, default 20), so the count read from the API's page matches the lines shown (#290).
|
|
50
|
+
|
|
51
|
+
### Still open
|
|
52
|
+
- **#290:** criteria A7 and A8.
|
|
53
|
+
- **#291:** B4 (cause not reproduced, see above) and A3, "one match far larger".
|
|
54
|
+
- **Not in this release:** #289 (the server-side wording of the road verdict and the jam-first headline), #292 (watch_situation for the chargers find_charging_station shows) and #295 (find_parking for lorries says which sources it searched).
|
|
55
|
+
|
|
8
56
|
## [2.7.8] - 2026-11-27
|
|
9
57
|
|
|
10
58
|
**2.7.7 was published as an image only: its npm publish stopped in the mutation gate, so npm has no 2.7.7.** This release carries 2.7.7 with its answers unchanged, plus the fix that lets the mutation run pass.
|
|
@@ -4672,6 +4720,8 @@ for it, so the number is free; the bridge will use it when the platform does.
|
|
|
4672
4720
|
commits, and a squash makes them unreachable from `main` - which would turn
|
|
4673
4721
|
the check red on `main` for everybody, for something no contributor did.
|
|
4674
4722
|
|
|
4723
|
+
[2.7.10]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.7.10
|
|
4724
|
+
[2.7.9]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.7.9
|
|
4675
4725
|
[2.7.8]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.7.8
|
|
4676
4726
|
[2.7.7]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.7.7
|
|
4677
4727
|
[2.7.6]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.7.6
|
package/README.md
CHANGED
|
@@ -2336,7 +2336,7 @@ Restart the client and ask one of the questions above.
|
|
|
2336
2336
|
|
|
2337
2337
|
<!-- catalogue:begin — generated by scripts/gen-readme-catalogue.mjs from catalogue.json; do not edit by hand -->
|
|
2338
2338
|
|
|
2339
|
-
**24 tools, 9 prompts, 10 resources and 2 resource templates** — server 2.7.
|
|
2339
|
+
**24 tools, 9 prompts, 10 resources and 2 resource templates** — server 2.7.10, snapshot of 2026-11-20. The version 2.7.10 was set by hand; the capture is of 2.6.40 and is taken again after the 2.7.10 deploy. Each line is the server's own words; the full parameters are in [API.md](API.md).
|
|
2340
2340
|
|
|
2341
2341
|
#### 🚗 On the road
|
|
2342
2342
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "viafrei",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.10",
|
|
4
4
|
"description": "The German Real-Time Mobility Context Platform for AI: live motorway traffic and roadworks, trains and buses, parking, charging, fuel and weather in your AI assistant - MCP, no API key, no sign-up. stdio bridge to the hosted ViaFrei MCP server.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mcp",
|