viafrei 2.7.8 → 2.7.13
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 +95 -1
- package/README.md +3 -1
- package/package.json +2 -4
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.13 (set by hand; the capture is of 2.6.40 and is taken again after the 2.7.13 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
|
@@ -3,7 +3,99 @@
|
|
|
3
3
|
All notable changes to this package are documented here. The format follows Keep
|
|
4
4
|
a Changelog and the versions follow Semantic Versioning.
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
release-please writes each release's block from the Conventional Commits merged since the last release; there is no hand-kept Unreleased section.
|
|
7
|
+
|
|
8
|
+
## [2.7.13](https://github.com/mavrovde/viafrei-mcp/compare/v2.7.12...v2.7.13) (2026-11-27)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
**2.7.11 and 2.7.12 were not published: 2.7.11's mutation gate timed out in shard 7, and 2.7.12's publish dry run failed on a test whose fixture times depended on the clock (it ran near Berlin midnight). npm has neither; 2.7.13 is the first release to carry their changes.**
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
* **server:** /sse takes Streamable HTTP, a legacy session id POSTed gets 404, ended sessions are logged ([fee0e69](https://github.com/mavrovde/viafrei-mcp/commit/fee0e69fda8106496851f89a0afbf4f05acc7548))
|
|
16
|
+
* **test:** tests that render times pin the clock, so a run near Berlin midnight passes ([135d46a](https://github.com/mavrovde/viafrei-mcp/commit/135d46a16bb0f848ad03b37b53c40bb6b729a56e))
|
|
17
|
+
|
|
18
|
+
## [2.7.12](https://github.com/mavrovde/viafrei-mcp/compare/v2.7.11...v2.7.12) (2026-11-27)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
**2.7.11 was not published: its mutation gate timed out in shard 7, twice, so npm has no 2.7.11; 2.7.12 is the first release to carry its changes.**
|
|
22
|
+
|
|
23
|
+
### Fixed
|
|
24
|
+
|
|
25
|
+
* **mutation:** weigh static mutants by their cost and split the run into 20 shards ([ffbdd6e](https://github.com/mavrovde/viafrei-mcp/commit/ffbdd6e68d5819c0ddd170dbcc9230801737cc64))
|
|
26
|
+
|
|
27
|
+
## [2.7.11](https://github.com/mavrovde/viafrei-mcp/compare/v2.7.10...v2.7.11) (2026-11-27)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Fixed
|
|
31
|
+
|
|
32
|
+
* **fuel:** cheapest first is true, no current price is said, a stale price is marked ([#299](https://github.com/mavrovde/viafrei-mcp/issues/299)) ([f5cd231](https://github.com/mavrovde/viafrei-mcp/commit/f5cd231e33e4d96998aa46147bf9d754026c6f5d))
|
|
33
|
+
* **fuel:** only current prices are ranked cheapest; older and missing prices are marked ([#299](https://github.com/mavrovde/viafrei-mcp/issues/299)) ([811058d](https://github.com/mavrovde/viafrei-mcp/commit/811058d4ac50c96b881b16b13c2a54103b597836))
|
|
34
|
+
* **fuel:** the German head says Tankstellen ohne Preis, as the rest of the fuel text ([#299](https://github.com/mavrovde/viafrei-mcp/issues/299)) ([d758ee8](https://github.com/mavrovde/viafrei-mcp/commit/d758ee840156166c6380ed3c66ef5147a5303f91))
|
|
35
|
+
* **fuel:** the mixed head names what follows the current prices, older prices, none or both ([#299](https://github.com/mavrovde/viafrei-mcp/issues/299)) ([d7bc2c5](https://github.com/mavrovde/viafrei-mcp/commit/d7bc2c57ce3e707d092170e1d71ffa18ee10e335))
|
|
36
|
+
* **fuel:** the unranked line counts only stations not listed, and a mixed list says current prices first ([#299](https://github.com/mavrovde/viafrei-mcp/issues/299)) ([5004650](https://github.com/mavrovde/viafrei-mcp/commit/5004650d5e5621e7211f517c49b57f31f4512cfd))
|
|
37
|
+
* **trains:** a departure board's asOf is the board's fetch, not the station register's ([db03223](https://github.com/mavrovde/viafrei-mcp/commit/db03223321ff85f2ab1b2c521261bd987343d36f))
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### Documentation
|
|
41
|
+
|
|
42
|
+
* **changelog:** release-please writes the blocks; no hand-kept Unreleased section ([0e4ba24](https://github.com/mavrovde/viafrei-mcp/commit/0e4ba24179e639a562c211e145d48a92f4399511))
|
|
43
|
+
* **release:** review nits on the release-please chain ([b7d0cf9](https://github.com/mavrovde/viafrei-mcp/commit/b7d0cf99648e56c2ac301d0991f9eafd14f56a5d))
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### Build and CI
|
|
47
|
+
|
|
48
|
+
* **release:** one chain from the release pull request to the listings, on release-please ([3b10c26](https://github.com/mavrovde/viafrei-mcp/commit/3b10c26eef37e3cdc9443f4839baf48682dbc300))
|
|
49
|
+
* **release:** release-please on the API model, mutation after the tag and before publish ([057cce2](https://github.com/mavrovde/viafrei-mcp/commit/057cce289245846c11d3ca080863331896d6a12b))
|
|
50
|
+
* **versions:** check-versions reads the five fields release-please writes beside the root pair ([2b60dff](https://github.com/mavrovde/viafrei-mcp/commit/2b60dff9f787611fbdcb6173b8694176d2f3c036))
|
|
51
|
+
|
|
52
|
+
## [2.7.10] - 2026-11-27
|
|
53
|
+
|
|
54
|
+
**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.
|
|
55
|
+
|
|
56
|
+
### Fixed
|
|
57
|
+
- **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`).
|
|
58
|
+
- **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.
|
|
59
|
+
|
|
60
|
+
### Still open
|
|
61
|
+
- #290: criteria B5, D7 and D8 (city jam questions), and the production re-run (E9).
|
|
62
|
+
- #288: the root cause, which the next occurrence's partial output will name.
|
|
63
|
+
|
|
64
|
+
## [2.7.9] - 2026-11-27
|
|
65
|
+
|
|
66
|
+
**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.
|
|
67
|
+
|
|
68
|
+
**Contract note: two additive structured fields.** No field is removed or renamed.
|
|
69
|
+
- 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`.
|
|
70
|
+
- `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.
|
|
71
|
+
|
|
72
|
+
### Added
|
|
73
|
+
- **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.
|
|
74
|
+
|
|
75
|
+
### Changed
|
|
76
|
+
- **API 2.0.7.** The pin, the contract fixture and the generated operations come from the release tag. The meaning changes come with it:
|
|
77
|
+
- the platform version is the API's own;
|
|
78
|
+
- `meta.asOf` counts only the live families;
|
|
79
|
+
- speed cameras no longer list webcams;
|
|
80
|
+
- Land and "abroad" are read from Land areas.
|
|
81
|
+
- **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`.
|
|
82
|
+
|
|
83
|
+
### Fixed
|
|
84
|
+
- **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).
|
|
85
|
+
- One town held twice (two sources, under 2 km apart) is one place.
|
|
86
|
+
- `find_place` says such a place once and, with `near`, lists the nearest first.
|
|
87
|
+
- **"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).
|
|
88
|
+
- **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).
|
|
89
|
+
- **`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).
|
|
90
|
+
- **A speed-camera list with no announced mobile check says so.** It adds that mobile checks are still possible anywhere (round Q49) (#291).
|
|
91
|
+
- **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).
|
|
92
|
+
- 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.
|
|
93
|
+
- **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).
|
|
94
|
+
|
|
95
|
+
### Still open
|
|
96
|
+
- **#290:** criteria A7 and A8.
|
|
97
|
+
- **#291:** B4 (cause not reproduced, see above) and A3, "one match far larger".
|
|
98
|
+
- **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).
|
|
7
99
|
|
|
8
100
|
## [2.7.8] - 2026-11-27
|
|
9
101
|
|
|
@@ -4672,6 +4764,8 @@ for it, so the number is free; the bridge will use it when the platform does.
|
|
|
4672
4764
|
commits, and a squash makes them unreachable from `main` - which would turn
|
|
4673
4765
|
the check red on `main` for everybody, for something no contributor did.
|
|
4674
4766
|
|
|
4767
|
+
[2.7.10]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.7.10
|
|
4768
|
+
[2.7.9]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.7.9
|
|
4675
4769
|
[2.7.8]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.7.8
|
|
4676
4770
|
[2.7.7]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.7.7
|
|
4677
4771
|
[2.7.6]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.7.6
|
package/README.md
CHANGED
|
@@ -2296,6 +2296,8 @@ when you can:
|
|
|
2296
2296
|
```bash
|
|
2297
2297
|
claude mcp add --transport sse viafrei https://mcp.viafrei.de/sse
|
|
2298
2298
|
```
|
|
2299
|
+
A client that speaks Streamable HTTP but was given the `/sse` address works
|
|
2300
|
+
there too: its POST opens a Streamable HTTP session, as on `/mcp`.
|
|
2299
2301
|
|
|
2300
2302
|
Restart the client and ask one of the questions above.
|
|
2301
2303
|
|
|
@@ -2336,7 +2338,7 @@ Restart the client and ask one of the questions above.
|
|
|
2336
2338
|
|
|
2337
2339
|
<!-- catalogue:begin — generated by scripts/gen-readme-catalogue.mjs from catalogue.json; do not edit by hand -->
|
|
2338
2340
|
|
|
2339
|
-
**24 tools, 9 prompts, 10 resources and 2 resource templates** — server 2.7.
|
|
2341
|
+
**24 tools, 9 prompts, 10 resources and 2 resource templates** — server 2.7.13, snapshot of 2026-11-20. The version 2.7.13 was set by hand; the capture is of 2.6.40 and is taken again after the 2.7.13 deploy. Each line is the server's own words; the full parameters are in [API.md](API.md).
|
|
2340
2342
|
|
|
2341
2343
|
#### 🚗 On the road
|
|
2342
2344
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "viafrei",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.13",
|
|
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",
|
|
@@ -92,14 +92,12 @@
|
|
|
92
92
|
"test:probe": "node scripts/probe-catalogue.test.mjs",
|
|
93
93
|
"probe:freshness": "node scripts/probe-freshness.mjs",
|
|
94
94
|
"test:freshness": "node scripts/probe-freshness.test.mjs",
|
|
95
|
-
"propose:release": "node scripts/propose-release.mjs",
|
|
96
|
-
"test:propose": "node scripts/propose-release.test.mjs",
|
|
97
|
-
"test:auto-release": "node scripts/auto-release.test.mjs",
|
|
98
95
|
"test:parity": "node scripts/parity-mcp.test.mjs",
|
|
99
96
|
"test:parity-attribute": "node scripts/parity-attribute.test.mjs",
|
|
100
97
|
"test:verify": "node scripts/verify-published.test.mjs",
|
|
101
98
|
"test:verify-smithery": "node scripts/verify-smithery.test.mjs",
|
|
102
99
|
"test:release-notes": "node scripts/release-notes.test.mjs",
|
|
100
|
+
"test:release-state": "node scripts/release-state.test.mjs",
|
|
103
101
|
"test:snyk": "node scripts/snyk-workflow.test.mjs",
|
|
104
102
|
"test:mutation-wiring": "node scripts/mutation-workflow.test.mjs",
|
|
105
103
|
"check:timeouts": "node scripts/check-timeouts.mjs",
|