viafrei 2.7.6 → 2.7.8
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 +31 -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.8 (set by hand; the capture is of 2.6.40 and is taken again after the 2.7.8 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,35 @@ a Changelog and the versions follow Semantic Versioning.
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [2.7.8] - 2026-11-27
|
|
9
|
+
|
|
10
|
+
**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.
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- **The release mutation run passes its static-mutant bound again.** The npm publish of 2.7.7 stopped in the mutation gather: `src/tools/handlers.ts` had 247 static mutants, over its bound of 220. 2.7.7 added two module-level word tables for lorry rules (26 static mutants) and a module-level arrow for an address with no town (1). Stryker runs the whole suite for each static mutant. All three are now built in function declarations, with the same words and the same behaviour. The older module-level lamp-colour table (9 static mutants) is built in a function too, so the file ends at 211, below its bound of 220 rather than at it; the bound is not raised. The tests now pin every lorry layer and kind word and every lamp colour word, in both languages. Before, the static run marked these words killed or timed out; scored per test, ten of them would have survived.
|
|
14
|
+
- **A hung gate run is reported as a hang, never as "ACCEPTED".** In the publish-hygiene gate self-test, a gate run killed at the 120 s deadline has no exit code, and it was read as exit -1. The poisoned tarball was then reported as "ACCEPTED - it would have shipped". That happened twice on this release's pull request, on Node 24; a re-run passed. A killed run is now `CANNOT RUN`, named by its case. The output shows what the gate printed before the kill, and the self-test exits 2. `scripts/tools.mjs` marks a timeout's `ToolError` as `timedOut`, keeps the partial output, and gives callers `exitOf` to tell a hang from an exit code. The eight other self-tests that read `error.status ?? -1` now use `exitOrHang`: a hang stops the suite with `<suite>: CANNOT RUN`, what the program printed, and exit 2. Their verdicts are otherwise unchanged. Those suites are check-leaks, check-sources, check-versions, probe-catalogue, propose-release, release-notes, mutation-workflow and snyk-workflow. No case is slow: each gate run takes about a second, on Node 22 and on Node 24.
|
|
15
|
+
|
|
16
|
+
## [2.7.7] - 2026-11-27
|
|
17
|
+
|
|
18
|
+
**The answers the 2.7.6 prod round found wrong are right on API 2.0.4.** `check_road_status` no longer answers "internal" for a motorway asked by number. Four other answers no longer refuse or misname what the user asked: `describe_station` with no departures, `find_address` with a street alone, `check_station_facilities` on a stop that is no DB station, and `describe_station` on a main station. Lorry rules and situation lines no longer read out provider codes. Tool names and input schemas are those of 2.7.6.
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
- **`check_road_status` answers a motorway asked by number again.** On API 2.0.4 `{road: "A7"}`, `{road: "A1", place: "Bremen"}` and `{road: "A7", vehicle: "long_lorry"}` answered "internal". The words were written for a proposed `roadStatus` shape. API 2.0.4 sends a different one (`counts.currentFamilies`, `sourcesAnswered[].sourceFamily`, entries with `term`, `title`, `subtitle`, `description`, `detail`), and reading `currentBy.length` threw a TypeError. The contract's example sends `roadStatus: null`, so no test met the real shape. The answer now reads API 2.0.4's `roadStatus` (`roadStatusOf`):
|
|
22
|
+
- the tally names the publishers that counted, each once (the holder part of its attribution line);
|
|
23
|
+
- the "Sources that answered" line quotes each source's name, which carries a colon of its own;
|
|
24
|
+
- an Autobahn GmbH entry is said as title · junction — description, and another publisher's entry as its message, with the road named;
|
|
25
|
+
- planned, current and works-programme entries are named by their bucket; every status and term has words in both languages.
|
|
26
|
+
|
|
27
|
+
The test is built from prod's A7 answer, trimmed (`server/test/fixtures/road-status-a7.json`).
|
|
28
|
+
- **A motorway asked together with a place is that place's situations on it.** The answer already offered this narrowing ("narrow it with a place (road and place together)"), but the motorway path ignored the place.
|
|
29
|
+
- **The "tool call failed" log line names a crash.** It now carries the crash's `message` (cut at 200 characters) and a stack `frame`: the first one in the package's own `src/` or `dist/` (not a dependency's), its path cut at the last of them, else the first frame there is. Before, a prod "internal" answer left only `TypeError`. An API failure still logs its kind and no message, because its words may repeat the request's.
|
|
30
|
+
- **`describe_station` with `departures: 0` no longer answers invalid_input.** API 2.0.4's `getStationPage` lists at least one departure (minimum 1). The server now asks for one and leaves the departures section out.
|
|
31
|
+
- **`describe_station` describes the DB station of the name first.** "Leipzig Hbf" had answered with the tram stop in front of the station. A stop of that name, or of that code (`eva_no`), is described only when DB's register has no station of it.
|
|
32
|
+
- **`find_address` with a street and number alone asks for the town.** Before, it answered with the API's generic 400 sentence ("One or more parameters are invalid."). When the query reads as a street and house number with no town or postcode, the answer says which street and number it read and that the town or postcode is missing (`invalid_input`, reason `place_missing`). Any other refusal (a town alone, a query with a town or postcode) is still the API's own.
|
|
33
|
+
- **`check_station_facilities` on a stop that is no DB station.** "Stuttgart Charlottenplatz" answered "I do not know a station or stop called …", although the stop search knows the stop. The answer now gives the stop's lifts and escalators where the API publishes them for it. Otherwise it says that the stop, named as asked, is known but is no DB station and has no published lift or escalator status, and points to `describe_station` for the step-free platforms (`out_of_coverage`).
|
|
34
|
+
- **Lorry rules are said in words, once each.** Near Haan the answer listed "Kaiserstraße, Haan: priority_route" ten times, once per published segment. Each rule is now one line: the layer in words (Lkw-Vorrangroute, Lang-Lkw-Positivnetz, Beschränkung, Lkw-Zone), the publisher's words or what is limited in words (Höhe, Gewicht, Breite, Länge, Achslast, Durchfahrtverbot; a kind added later is said as published) with the published figure, and the direction where one is stated.
|
|
35
|
+
- **A situation line never reads out a provider code or an empty road.** The city of Köln's closure read "- : Straßensperrung", and roadworks read "A7: constructionWorks". A DATEX code is now said by its kind, as the motorway list already did. A situation with no road starts with its words.
|
|
36
|
+
|
|
8
37
|
## [2.7.6] - 2026-11-27
|
|
9
38
|
|
|
10
39
|
**The server runs on API 2.0.4 and its answers say what the API gives.** The server's tools, prompts and resources are those of 2.7.5; no tool name or input schema changes, and the reason codes and fields below are additive.
|
|
@@ -4643,6 +4672,8 @@ for it, so the number is free; the bridge will use it when the platform does.
|
|
|
4643
4672
|
commits, and a squash makes them unreachable from `main` - which would turn
|
|
4644
4673
|
the check red on `main` for everybody, for something no contributor did.
|
|
4645
4674
|
|
|
4675
|
+
[2.7.8]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.7.8
|
|
4676
|
+
[2.7.7]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.7.7
|
|
4646
4677
|
[2.7.6]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.7.6
|
|
4647
4678
|
[2.7.5]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.7.5
|
|
4648
4679
|
[2.7.4]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.7.4
|
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.8, snapshot of 2026-11-20. The version 2.7.8 was set by hand; the capture is of 2.6.40 and is taken again after the 2.7.8 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.8",
|
|
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",
|