timetable-api-node 1.8.16 → 1.8.18
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/README.md +1 -0
- package/index.ts +9 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -599,6 +599,7 @@ Closures, detours and moved stops the city announced that are in force today. Th
|
|
|
599
599
|
| `GET /llms.txt`, `GET /INTEGRATION.md` | LLM-oriented overview and the [integration guide](INTEGRATION.md). |
|
|
600
600
|
| `GET /.well-known/ai-plugin.json`, `GET /.well-known/agent.json` | OpenAI plugin manifest and A2A agent card. |
|
|
601
601
|
| `GET /server.json`, `GET /smithery.json` | MCP Registry and Smithery manifests. |
|
|
602
|
+
| `GET /.well-known/openai-apps-challenge` | Domain-verification token for the ChatGPT plugin directory (package in `openai-plugin/`). |
|
|
602
603
|
| `GET /sitemap.xml` | Sitemap of the public `lad.lviv.ua` pages. |
|
|
603
604
|
|
|
604
605
|
## Deployment
|
package/index.ts
CHANGED
|
@@ -380,6 +380,15 @@ app.get("/.well-known/glama.json", (req, res) => {
|
|
|
380
380
|
res.sendFile(path.join(__dirname, "glama.json"));
|
|
381
381
|
});
|
|
382
382
|
|
|
383
|
+
// ChatGPT plugin directory domain check: the portal reads this exact token as plain
|
|
384
|
+
// text before it lets the MCP server be submitted. Not a secret; it only proves we
|
|
385
|
+
// control api.lad.lviv.ua.
|
|
386
|
+
const OPENAI_APPS_CHALLENGE = "KSs9ImBWcC7R_bj1oUcI0cG5EOfHQzFBLgtk8__zim8";
|
|
387
|
+
app.get("/.well-known/openai-apps-challenge", (req, res) => {
|
|
388
|
+
setStaticAssetCache(res, 3600);
|
|
389
|
+
res.type("text/plain").send(OPENAI_APPS_CHALLENGE);
|
|
390
|
+
});
|
|
391
|
+
|
|
383
392
|
app.get("/server.json", (req, res) => {
|
|
384
393
|
setStaticAssetCache(res, 3600 * 24 * 7);
|
|
385
394
|
res.sendFile(path.join(__dirname, "server.json"));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "timetable-api-node",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.18",
|
|
4
4
|
"description": "Lviv (Ukraine) public transport REST API and read-only Model Context Protocol (MCP) server: stops, timetables, routes, live vehicle positions, GTFS/GTFS-RT. No API key required.",
|
|
5
5
|
"main": "index.ts",
|
|
6
6
|
"type": "module",
|