What changed, and when.

Written by hand, one entry per change worth a line, and committed together with the work it describes. What each entry says is what was written when the change was made, not a summary made later.

The version in front of each one is the version the project stood at when that commit landed: the same counter the footer carries, whose last part is the number of commits behind it, not counting merges.

Latest

v.1.1.44Keep the server's warnings and errors, and count the MCP clients that connect

20 October 2026

From newest to first.

  • v.1.1.44Keep the server's warnings and errors, and count the MCP clients that connect

    20 October 2026

    Vercel's free plan keeps a function's logs for about an hour, so a fault found the next morning had nothing left to read. The server now writes each warn and error line to a new server_logs table as well as to stdout. The row holds the line exactly as stdout got it, with its time, level, message and request id beside it, so a line joins its tool_calls row. info lines, the one per request among them, stay in stdout only. A line that cannot be written is reported to stdout as log.failed, once, and never sent back to the database.

    The status cron deletes lines older than LOG_RETENTION_DAYS, a new setting on the web project. It is 30 when unset, and a value that is not a positive whole number is reported and replaced by 30. The cron's answer now also says how many lines went, as prunedLogs.

    A new mcp_clients table counts connections per day for each client name and version, which a client gives once, in initialize. The server is stateless, so a later tools/call carries no name: what can be counted is connections, not calls. Only an initialize the transport accepted is counted, and the name and version are cut at 100 characters. The monitor's checks are not counted.

    The server opens one connection pool for all three writers, connect in record.ts, and the core logger's write now gets each line as an object as well as JSON. /privacy says what the two tables keep and for how long, and its date moves to today.

  • v.1.1.43Remove the Visualize button from /live

    20 October 2026

    The Response panel on /live showed a Visualize button that did nothing. It was a placeholder for a feature that is not built. The header now holds only the Result and Raw toggle.

  • v.1.1.42License the code under the AGPL-3.0 and link its source from the footer

    19 October 2026

    The code is now under the GNU Affero General Public License v3.0 only. LICENSE at the root holds the full text from gnu.org, and every package.json in the workspace (the root, both apps, core, ckan and the 13 sources) says "license": "AGPL-3.0-only". The README's Licensing section says what the AGPL asks: a changed version run as a network service must offer its source to the people who use it.

    The footer's Legal column gains a Source code link to the repository on GitHub, under Privacy and Terms, so the code the service runs is one click from every page. Search finds it too, by github, repository, agpl or license.

    The AGPL covers the code and nothing else. Every record keeps the licence and attribution of the registry that published it, as each source's meta.ts declares them, and the server still sends both with every answer.

    Every dependency's licence was checked with pnpm licenses list. The tree is MIT, ISC, Apache-2.0, BSD, 0BSD and Unlicense, plus one LGPL-3.0 library (libvips, which Next.js pulls in through sharp) and three MPL-2.0 build and lint tools. All of them can be combined with the AGPL.

  • v.1.1.41Rewrite the README, give each app its own .env.example, and count only non-merge commits in the version

    19 October 2026

    The README is now short sentences, tables and code blocks: what agoramcp is, a diagram of how a call reaches a registry, the endpoints, how to connect a client, the 13 Greek sources with their tool counts and licences, how to run, test and deploy, and the main settings. The long notes on logging, requesters and the status history are gone from it; the code and the two .env.example files still explain them.

    Nothing read the root .env: the server ran under tsx with no env file, and Next.js and the db scripts read only apps/web/.env.local. Copying .env.example to .env, as the README said, changed nothing, and the server ran on its defaults.

    The root file is now two: apps/server/.env.example, copied to apps/server/.env, which pnpm dev and pnpm start now load with --env-file-if-exists, and apps/web/.env.example, copied to apps/web/.env.local. The server's DATABASE_URL stays empty, so a local server does not record its calls into whatever database .env.local names.

    Each example is now one key per line with a short inline comment. The web example lists the three keys the app cannot run without under required. The server runs locally on its defaults, so its example lists the four keys production needs under required on Vercel, optional locally: VERCEL_EXPERIMENTAL_BACKENDS=1, DATABASE_URL, REQUEST_HASH_SALT and PROXY_SECRET. Every other key in both files is under optional and left empty. An empty value now means the default everywhere: NEXT_PUBLIC_MCP_BASE_URL, MCP_SERVER_URL, HOST and CORS_ORIGINS were read with ??, so an empty one replaced the default, and an empty CORS_ORIGINS refused every browser origin. They now use ||.

    The examples drop REDIS_URL, ENTSOE_TOKEN and GEMI_KEY, which no code reads, and add CACHE_MAX_ENTRIES. The ten-minute cron is gone from the CRON_SECRET note.

    The last part of the version counted every commit, so each pull request merged into main moved it by one more than the work it carried, and main and develop gave the same change different numbers. It is now git rev-list --count --no-merges HEAD plus one: still a count of commits, but merges do not move it.

    Every entry was recounted once against the commit that carried it. Up to v.1.1.38 the history held no merges on the line each entry shipped on, so those numbers stay. The two after it change: v.1.1.46 is now v.1.1.39 and v.1.1.47 is now v.1.1.40. The rule is stated in data/changelog.ts, data/version.ts and the changelog page.

  • v.1.1.40Fix /status, check again whenever the page is opened, and move both apps to Frankfurt

    19 October 2026

    /status said "The record could not be read" from 16 October on: the 2026_10_16_090000 migration had not run in production, so the page's read and the cron's inserts both failed on the missing detail column, and no check was written after 16 October 20:40 UTC. Running the pending migrations fixes it.

    With one cron run a day, a registry nobody called showed a check up to a day old. The page now starts a round itself when it is opened and the newest check is more than 10 minutes old. The round is claimed in a new one-row status_monitor table by one statement, so however many readers arrive at once, one round runs. That reader gets the page at once with a line saying the monitor is asking again, and the answers stream in over it within seconds; every other reader is not held up. The cron still runs daily, so a page nobody opens is still checked.

    A call the server answered wholly from its cache never reached the registry, yet it counted as the registry answering. The server now records cached on each row, and the page leaves those rows out of the state and the 90-day bars.

    Both Vercel projects ran in Washington (iad1) while the database is in Frankfurt and the registries are in Greece, so every query crossed the Atlantic. apps/web/vercel.json now pins the web app to fra1; the server's region is set in its dashboard. Locally a view takes 45 ms, and the view that runs a round sends its first byte in 0.13 s and the round's answers by 1.5 s. 229 tests pass; the page, the claim under eight parallel views, the cron and the cached flag ran end to end against a local Postgres.

  • v.1.1.39Derive /status from each registry's newest recorded call and run the probe round daily

    16 October 2026

    Vercel's Hobby plan runs a cron at most once a day, so the ten-minute probe round could not run. apps/web/vercel.json now schedules /api/cron/status daily at 04:00 UTC (Vercel starts it within that hour), and the page no longer waits on the round: each registry's state is its newest row in tool_calls over the last 7 days, a real call or the probe, whichever came last.

    listEvidence replaces the probe and traffic reads with one query: per source, the newest row, the unbroken run of the same outcome behind it, the last 24 hours counted, and the newest probe kept apart, since its tool and time are the ones a reader can repeat. not_found and invalid_input count as answered, as in the history. Only a probe can be slow, and a failed real call is shown by its code, since the server records no message. A registry with nothing in 26 hours is shown as not asked recently, and a monitor with no round in 26 hours is flagged while real calls still count.

    The model's tests cover mixed callers, slow probes, staleness, a late monitor and our server down; 227 pass. The query and the page ran against a local Postgres. Before deploying, run the 2026_10_16_090000 migration and set PROXY_SECRET on both projects, as for v.1.1.38.

  • v.1.1.38Serve /status from recorded probe rounds, declare probes per source, and bypass the cache for authenticated probes

    16 October 2026

    /status called all 13 registries on every view, so each visitor waited for the slowest and a crawler could hammer them. It now calls nothing: it reads the monitor's latest round, the real calls recorded since, and the 90-day history from tool_calls, holds the read for a minute, and the cron clears it after each round, so a new round is on the page within seconds. Each registry shows since when its state has held and what real calls have said since its check; a registry not checked for 25 minutes, or a round in which our own server did not answer, is said as such.

    Each source now declares its own probe: its cheapest live call and what its answer cannot be without, checked at boot and published on GET /, so the web app keeps no list of its own. NOA's never-empty rule became one of these, and every other source has one. The monitor's call carries PROXY_SECRET as proof, and the server then reads nothing from its cache for it, so a check reaches the registry instead of an earlier answer, and still caches what it fetched. A forged mark is recorded like any call and logged as probe.unproven.

    A migration adds detail to tool_calls, the reason a check failed, and a partial index for the latest checks; run it before deploying, and set PROXY_SECRET on both projects. The page's rules are pure and tested in data/status-model.ts, and pnpm test now runs the web app's tests too: 226 pass. The page, the cron and the migration ran end to end against a local Postgres, through a healthy round, a silent registry, failed calls, our server down and a stopped monitor.

  • v.1.1.37Add six Greek sources: the Government Gazette, Eurostat, the ECB, fuel prices, ΑΔΜΗΕ and the fire-risk map

    16 October 2026

    Greece now mounts 13 sources and 74 tools. gr/et searches the law index and every ΦΕΚ issue through search.et.gr's backend, follows which acts amended a law, and reads an issue's text. gr/eurostat and gr/ecb give the EU's harmonised statistics and the ECB's series with Greece as the default, and euro reference rates. gr/fuelprices reads the observatory's daily bulletins into pump prices for all 51 prefectures since 2017, and the weekly split into refinery price, taxes and margin. gr/admie lists and reads the transmission operator's 74 kinds of file, with the day's load and production by fuel since 2011 and tomorrow's forecast. gr/civilprotection reads the daily fire-risk map image into a category for each of 148 areas, by area or at a point.

    ΑΔΜΗΕ's daily files are legacy .xls, so the package carries its own .xls and .xlsx readers; the .xls reader agrees with xlrd on every cell of 14 files from 2011 to 2026. The fuel bulletins are read by position, which survives blank cells, split numbers and the broken Greek font of 2018 to 2020 (61 bulletins, all 51 prefectures each). The fire-risk map is checked against its template before it is read, and gave no mismatch over the 2026 season.

    The landing grid has four new logos: Ethniko Typografeio, Eurostat, ECB and the Ministry of Development for fuelprices.gr. 67 new offline tests (203 in all) pass, and every new tool answered against the live upstreams over the HTTP API and MCP. The fire-risk map is CC BY-NC-SA with a no-alteration clause, and the gazette portal's terms reserve its content; both licence lines say so.

  • v.1.1.36Show every page before its script loads, fit the site to phones, and tighten its motion

    15 October 2026

    Every page faded in from a client effect that held it at zero until the JavaScript had loaded, so a slow connection saw nothing under the nav and a reader without JavaScript saw nothing at all. app/template.tsx now fades with CSS, starting:opacity-0, from the first paint, in 200 ms. The nav's search results no longer fade up from nothing on every keystroke, and a new panel fades in 200 ms rather than 600.

    ease-out and ease-in-out are stronger curves, set once in globals.css. Eleven buttons shrink to 97% while pressed, the mobile menu slides on an iOS sheet curve, the use-case tabs switch in 300 ms rather than 600, every transition-all names its properties, and the footer's sheen holds still under reduced motion. The copy icon cross-fades into a tick, and the landing page's source squares rise into place a diagonal at a time the first time they scroll into view.

    On a phone the hero's eclipse is hidden, where it widened the page to 585 px and pushed the menu button off screen. The hero is 100svh tall, the browser bar takes the site's #0a0a0a, a tap no longer flashes grey, and the search and playground fields are 16 px so iOS Safari does not zoom into them. The paragraphs of /documentation, the use cases, /privacy and /terms are set in Geist at 14 px, with headings, labels, links and inline code left in mono, and the last source square reads "more coming soon".

  • v.1.1.35Stop reading NOA's silent catalogue as a quiet day, or as answering

    28 September 2026

    On 28 September NOA's FDSN event service answered every query with an empty 204: every window from 2011 to that morning, every event id, every format and filter, in about 50 ms where a month of 2014 used to take 21 s to scan. It is up (version answers, and so does the station service on the same host), it has not moved (the FDSN registry and the node's own page still name it, and no other NOA host serves fdsnws-event), and no parameter brings anything back: catalog is refused as unsupported, and the July 2026 rule that every query be bounded in time is one the adapter already met. The Institute's website catalogue listed events to that morning, so the outage is the service's, not a quiet week. search_earthquakes and list_recent_earthquakes returned count: 0 with no note, get_earthquake called the Samos earthquake not_found, and /status showed NOA as answering.

    packages/sources/gr/noa no longer believes an empty answer on its own. It then asks for 11:00 to 12:00 UTC on 30 October 2020, an hour that holds the Samos mainshock and cannot be empty while the catalogue answers at all, and holds the verdict for two minutes, so a run of empty answers costs the node one extra request rather than one each. If that hour is empty too, the searches return their empty list with a first note saying the catalogue is answering everything with nothing, and do not cache it, where a settled window would otherwise be held for a day after the service came back; get_earthquake answers a retryable upstream_unavailable instead of not_found. A check that fails proves nothing, and a window before 2011 is not checked. Against the live service, every search came back with the note and the Samos lookup with upstream_unavailable.

    /status now checks NOA with list_recent_earthquakes and its own example, the last 24 hours with nothing filtered, and reads the answer: one with no earthquakes in it is reported as not answering, under the code empty, and the cron records it as a failure. In the Institute's own record the quietest 24 hours since 2018 held ten events, where the old check, a week at magnitude 3 and up, asks a question that went five days without an answer in September. NEVER_EMPTY in data/status.ts holds the rule for any source that can fail this way, and the page's method section says so. Run against the live registries, the check reports NOA as not answering and the other six as answering.

    Six new tests in the NOA package put a stand-in for the node in place of fetch before the client loads: a silent catalogue flagged and not held, a quiet window believed and held, no check when there are events or the window predates the catalogue, a failed check proving nothing, not_found against upstream_unavailable, and the note on list_recent_earthquakes. Taking out the fix fails them. The source's DOCUMENTATION.md says all of this in section 5, the errors, caching and verification, with two upstream rules found on the way, and docs/gr-documentation.md has it in a sentence.

  • v.1.1.34Put a deadline on every tool call and bound the PDF reads

    25 September 2026

    A handler makes several upstream requests, each with its own timeout and two retries, so nothing capped a call as a whole: a slow registry could hold one for minutes after the caller's client had given up. callTool now gives every call a deadline, TOOL_TIMEOUT_MS (60 s by default, about where MCP clients give up), and hands the handler a signal that aborts on it as well as on the caller leaving. A call cut off by it is answered as a retryable upstream_timeout naming the registry, on the API and over MCP; a caller who left first is still only noted as tool.aborted.

    Diavgeia's and ΚΗΜΔΗΣ's PDF downloads checked the declared length and then read the whole body before checking again, so a response with no length was held whole whatever its size. They now read through readCapped and stop at 30 MB as the bytes arrive. Their text is read by pageTexts, new in packages/core/src/pdf.ts, one page at a time where unpdf started every page at once: the signal is checked before each page, so extraction stops when the call does, and other requests get a turn between pages. On a 19-page Diavgeia decision and a ΚΗΜΔΗΣ payment the text is identical to unpdf's, character for character.

    The web app's read of the server's registry had no timeout, so every page that renders it could hang on a server that accepted the connection and never answered. It now gives up after 10 s with a message, racing the fetch rather than aborting it, since an abort signal would stop Next memoising the one call a page's views share. Five new tests cover the deadline, a caller leaving, and pageTexts.

  • v.1.1.33Make the database scripts ask before they drop anything, and run one at a time

    25 September 2026

    db:rollback and db:reset ran the moment they were typed, against whatever .env.local named, and the one on the machine these were written on names production. They now list the migrations they would reverse and go on only when the database's name is typed back; a wrong name, or Ctrl+D, reverses nothing. --force skips the question, and without a terminal to ask in nothing is reversed without it. Every script run now opens with the database it reached, host and name, never the credentials.

    Two runs against one database could interleave: two db:migrates both finding the same migration pending, or both making the migrations table. Every migration and seed run now holds a Postgres advisory lock for as long as it runs, taken with pg_try_advisory_lock in db/client.ts, so the second is turned away at once with a message rather than left to fail half-way. The scripts' one session is no longer closed for being idle, so the lock survives a confirmation left waiting. Checked against a throwaway Postgres 17: two migrations started together end with one migrated and one refused. The README's Database section says how to run a down against a database of your own.

  • v.1.1.32Add the first tests: 136, offline, in under four seconds

    25 September 2026

    There were none. pnpm test now runs every *.test.ts in the workspace on Node's own test runner under tsx, the way the server runs, so there is no build and no framework: tsx joins the root's dev dependencies and nothing else is added. Tests sit beside the code they cover, and none reaches a registry. HTTP clients are tested against a server the test starts, and apps/server/src/app.test.ts drives the whole app through app.fetch in memory.

    packages/core is covered where it guards: fetchUntrusted refusing loopback, private and metadata addresses in every spelling while its trap server counts zero requests, readCapped stopping at the cap without pulling the rest, the HTTP client's retries, timeouts and error mapping, the cache's size budget, LRU order and TTL, withCache sharing a load and recovering from a starter's abort, and the requester id. packages/ckan gets its CSV and JSON readers and a fake CKAN that checks every Solr filter value is quoted and escaped; VIES its ΑΦΜ check digit and number forms; Diavgeia its Lucene query builder and calendar arithmetic; NOA its time windows and catalogue parser.

    The server's tests pin down this week's fixes: JSON-RPC batches refused, bodies over 64 KB refused on both doors, a handler's details kept from API callers, the rate limit per requester and per source with the /live proxy's visitor sharing the budget they spent directly and a forged requester ignored, request ids kept or replaced, and no argument on a log line unless LOG_TOOL_ARGS is on. Undoing four of those fixes one at a time fails the suite each time. The README says how the tests are laid out.

  • v.1.1.31Send security headers from every page of the site

    25 September 2026

    The site sent HSTS, which Vercel adds, and X-Powered-By, and nothing else. next.config.ts now sends a Content Security Policy on every response that names no origin but the site's own, because everything it loads is its own: fonts self-hosted by next/font, images from public/, Vercel Web Analytics from /_vercel/insights, and the /live console's calls to /api/mcp. Plugins, <base>, forms posting elsewhere and framing are refused, the last also by X-Frame-Options: DENY for older browsers.

    Inline scripts and styles are allowed. The App Router streams its payload in inline scripts, and the other way, a nonce per request, would render every page on demand, including the eight that are prerendered now; the site renders no one else's HTML, so an injected inline script is the one thing given up. Development adds 'unsafe-eval' for React's dev build and the analytics debug script from Vercel's CDN.

    Alongside it: X-Content-Type-Options: nosniff, Referrer-Policy: strict-origin-when-cross-origin, a Permissions-Policy that turns off the camera, microphone, location, payments, USB and topics, and Cross-Origin-Opener-Policy: same-origin. poweredByHeader: false drops X-Powered-By. Every route was loaded in Chrome under the policy, in the production build and in development, with no violation: the WebGL eclipse and starfield draw, the fonts load, and the console answers.

  • v.1.1.30Fix six small failures in how the server answers and fails

    25 September 2026

    Concurrent misses on one cache key share the first caller's load, which runs on that caller's abort signal, so a caller who hung up failed everyone waiting on it, and each of them was logged as an internal error. withCache now has a waiter whose shared load aborted load again as itself; a real failure is still shared, not retried.

    Four caller mistakes were plain Errors and came back as 500s: a date range whose start is after its end, in Diavgeia and ΚΗΜΔΗΣ, and a fromPage past the end of a PDF, in both. They are invalid_input now, and ΚΗΜΔΗΣ's fallback for a record with no PDF is not_found, as its documentation already said. With every deliberate failure an AgoraError, anything else is a bug: toolErrorMessage answers it with a generic message quoting the request id, on the API and to the model alike, rather than with a message written for us.

    getJson returned undefined for an empty body, which every caller then read a property of; it is an upstream_error now. list_facets on the CKAN portals parses a facet's JSON list through the guarded terms in vocab.ts instead of a bare JSON.parse.

    The MCP mounts and the tool API refuse a body over 64 KB, with a JSON-RPC error or payload_too_large 413, counted by the stream when the request declares no length. A caller's x-request-id is kept only when it looks like an id (up to 128 letters, digits and ._:-) and replaced otherwise, since it goes on every log line and into tool_calls. /api, the README and the two sources' error tables say so.

  • v.1.1.29Stop sending a failure's internal details to API callers

    25 September 2026

    An HTTP API error carried the AgoraError's details verbatim, and a handler's details are written for the log: the full upstream URL, the first 500 bytes of the upstream's raw reply, the query as it was built, data.gov.gr's Solr error with the parameters it ran. Nothing secret went out, since no source uses a key yet, but the day one puts a token in a URL it would have gone out on the first failure. The MCP mounts never sent them.

    apiError in apps/server/src/api.ts now sends details only when it is handed them, which is only for a 400 the request's own validation refused: issues, naming each field, as the example on /api has always shown. Every other failure is its code, message and whether to retry. The README's HTTP API section says so.

  • v.1.1.28Identify a requester the same way on the site and the server

    25 September 2026

    requesterId in packages/core/src/requester.ts is now the one definition of who is asking: an HMAC-SHA256 of the client's address keyed by REQUEST_HASH_SALT, an IPv6 address by its /64 (a household picks addresses inside it at will) and an IPv4-mapped one as its IPv4. The user agent is no longer part of it, since a caller sets that header itself and a new one made a new person. The web app imports the file as @agoramcp/core/requester, its first workspace dependency, compiled through transpilePackages.

    The /country form files requests under it, so changing browser no longer buys a second vote. Hashes filed before this change were made the old way and no longer match, so each earlier requester can ask for each country once more. The server's rate limiter counts under it too, given the same salt, instead of the raw address.

    The /live proxy reaches the server from the site's own address, which put every visitor on one budget, and made the site a way around a spent one. It now sends the visitor's id in x-agoramcp-requester, with x-agoramcp-proxy carrying PROXY_SECRET to prove it is the site; the server believes the id only beside the secret, compared in constant time. One person now has one budget per source across the API, the MCP mounts and the playground. /privacy says the hash is of the address alone and that the rate limit counts it, and the README gains a Requesters section and the two variables for each project.

  • v.1.1.27Add the mobile navigation menu

    25 September 2026

    Below the md breakpoint the nav had only the logo. It now has the hamburger menu from bloom.ai, the same reference the desktop pill was copied from: a Squash toggle from hamburger-react slides a full-width panel in from the right over a blurred backdrop. Product, Use cases and Resources open as an accordion, one at a time, and a Connect button to /quickstart sits at the bottom. The panel locks the page's scroll while open and closes on a link, an outside tap or Escape.

    The mobile menu has no cover-image cards. Quickstart, View live and Request a country are plain links under their headings, after the rows the desktop panel lists beside them. The menu lives in components/navigation/navigation-mobile.tsx.

  • v.1.1.26Keep addresses and argument values out of the server's logs

    25 September 2026

    /privacy promises that the server logs what was asked, not who asked, and never the arguments. The code had drifted from that: every request line carried the caller's address and user agent, and LOG_TOOL_ARGS was on by default, so a VAT number or a name searched for in Diavgeia went into the log store with every call. The request line now carries neither the address nor the user agent; the address is still read, by the rate limiter alone, and held for its minute.

    LOG_TOOL_ARGS now defaults to off, and the tool.* lines carry argNames, the names of the validated arguments, instead of their values. A failed call's line keeps the error's name, code, status and whether it is worth retrying, but not its message or details, which quote what was asked (the ΑΔΑ not found, the upstream URL with the VAT number in its path). An error no source throws on purpose keeps its message and stack. Setting LOG_TOOL_ARGS=true brings the values and the full error back for debugging. The README and .env.example say so, and the privacy page moves its date.

  • v.1.1.25Refuse JSON-RPC batches on the MCP endpoints

    25 September 2026

    The MCP transport ran every message of an array body at once, behind one request the rate limiter counted once, so a single POST could make any number of tool calls against a budget of 60 a minute. MCP dropped batches in its 2025-06-18 revision. runServer in apps/server/src/index.ts now answers an array with a 400 and JSON-RPC error -32600 before the transport sees it, logged as request.rejected with the batch's length. Single messages are unchanged, and a refused batch still counts against the limit.

  • v.1.1.24Refuse non-public addresses in read_resource and cap what it holds

    25 September 2026

    read_resource fetched a resource's link with a plain fetch: any host the publisher named, redirects followed anywhere, and the whole body read before the 8 MB check. It now goes through fetchUntrusted in packages/core/src/untrusted.ts, built on node:http with a guarded lookup. Only http and https are fetched, and every address it connects to, after DNS and on each of up to five redirects, must be on the public internet. A link to a private, loopback or link-local address is refused as invalid_input without being fetched.

    readCapped in packages/core/src/http.ts counts the body as it arrives, after decompression, and stops at the cap, so a file sent with no length, or a small compressed one that inflates to hundreds of megabytes, is refused at 8 MB. The memory cache now evicts by size as well as by count, under CACHE_MAX_MB (default 256), since one entry can be a whole file. The datagov DOCUMENTATION.md describes the new refusal.

  • v.1.1.23Mark the selected question with a chevron

    25 September 2026

    Each title in the Questions list of components/use-cases/question-tabs.tsx now starts with lucide's ChevronRight, in the title's own colour. The selected title sits one chevron and gap to the right; a deselected one slides back left by that width, so its text lines up with the heading and its chevron fades out in the gutter. Only the chevron fades: the title moves with it and keeps its opacity. The slide, the fade and the title's colour share one 500 ms ease-out, where the colour alone used to take 300 ms.

  • v.1.1.22Count page views with Vercel Web Analytics

    22 September 2026

    app/layout.tsx mounts Analytics from @vercel/analytics/next at the end of the body, so every page load and client-side transition is counted once Web Analytics is enabled for the web project in the Vercel dashboard. The package was already a dependency; nothing had loaded it. The script is served from the site's own origin at /_vercel/insights/script.js, does nothing in development, and sets no cookie.

    /privacy no longer says the site runs no analytics. Its lead, its summary and its Browsing section now say that page views are counted and, from Vercel's own privacy page, what a page view records: the moment, the path, the referrer, the country, region and city, browser, operating system and device type, with a request hash kept for a day at most and no cookie. data/legal.ts moves its date.

  • v.1.1.20Log every tool call in full and give the status page its last 90 days

    12 September 2026

    The server's request line now says what a POST to a mount was: the JSON-RPC method, the client's name and version on initialize, and for a tools/call the registry and tool behind it (a qualified name on the country server is resolved to the source that answers). callTool writes one tool.ok or tool.failed line per call carrying the same requestId, with transport, mount, arguments, duration, result size and cache hits; a failure carries the AgoraError's code, status, details and cause, at a level that says whose fault it was. Calls the SDK refuses before any handler runs (an unknown tool, arguments the schema will not take) and the transport's own 406/415/bad-JSON refusals, which used to become 500s, each get a line of their own. LOG_SLOW_TOOL_MS and LOG_TOOL_ARGS are new, both documented in the README.

    With DATABASE_URL set, the server also records each finished call as a row in tool_calls (apps/server/src/record.ts, a migration in apps/web/db/migrations): source, tool, transport, outcome, code and duration, never the arguments or an address. apps/web/vercel.json schedules /api/cron/status every ten minutes, which makes the page's own check per registry and writes it as a probe row, so a quiet day is not a blank one and a stretch when the server itself was down is recorded as one; the same run drops rows older than 90 days. CRON_SECRET lets it in.

    /status keeps its live verdict and adds, under each registry, components/status/history-strip.tsx: ninety cells for ninety days, green for a day that answered, the site's one warning colour at half strength for a day that missed more than one call in a hundred and full for more than one in four, the panel border for a day nothing was asked, with the count in each cell's title and the window's share answered beneath. data/status.ts shapes the rows for it and sends x-agoramcp-probe on every check, which the server logs but does not record.

  • v.1.1.19Build the footer from the nav and add the Privacy and Terms pages

    12 September 2026

    data/footer.ts now builds its Product and Resources columns from the nav's own panels, rows then cards, the way useCaseItems is built from data/use-cases.ts, so the two cannot drift. View live moves to Product and Licences joins Resources as a result.

    Legal is down to Privacy and Terms, each now a page: /privacy says what the site and the servers see and keep, /terms whose data it is and what is promised. Both are text in data/legal.ts rendered by components/legal/legal-page.tsx, with the hero and band of /licenses. Attribution and Licences leave the column; the licences page is under Resources.

    The Contact column is commented out, in the footer and in the search index, until it has real destinations. formatDay moves to data/format.ts for the legal pages' last-updated line.

  • v.1.1.18Give the catalogue the Dashboard's row in the nav

    11 September 2026

    The Product dropdown's Dashboard placeholder (two thirds of it the catalogue, the rest usage that would need accounts) is now Catalogue: a row to /all with a Library icon, and "all sources", "registries" and "directory" as its search keywords. The footer's Product column makes the same swap, so the catalogue is linked from the footer for the first time.

    The Resources dropdown drops its "View all" card, whose destination the new row covers. "Request a country" is the one card left and stands the full height of the four rows beside it. The column's flex layout already did that once the card had no sibling.

  • v.1.1.17Replace the landing page's placeholder sections with the four that ship

    10 September 2026

    The Sources subtext now counts what the server has mounted, read through loadDirectory the way /all reads it, so it moves when a source is mounted rather than when a logo is added; the page renders per request (revalidate = 0) for the same reason /all does, and the sentence stands without the number when the server is unreachable.

    components/use-cases/worked-question.tsx and question-tabs.tsx turn the Tools placeholder into Questions: the four use cases of data/use-cases.ts as a vertical tab list on four of the page's columns, and the selected one worked through on the last five, with the prompt as typed, the tools it calls in order, the registries that answer it, and links to the walkthrough and /live. Every panel is rendered and stacked in one cell so nothing moves when the selection changes; the panel fades out and back in over 300 ms, the list numbers its rows itself (Example 1: and on) so the data keeps plain titles, and the arrow keys move through the list.

    components/attribution/attribution.tsx turns the Attribution placeholder into three facts on the same four-one-five columns: official registries only, answering right now, and the licence that travels with the data, the last shown as the HTTP envelope excerpt built from data/licenses.ts with Diavgeia's attribution line verbatim. components/exit/exit.tsx closes the page with a hero-sized "Connect to Agora now" and one Get started button to /quickstart, centred on the content width with twice the standard band's padding, the one band that does not lay out on the columns.

    The root layout marks <html> with data-scroll-behavior="smooth", which Next asks for before it honours the scroll-behavior: smooth in globals.css on navigation.

  • v.1.1.16Rewrite every changelog entry from its commit's diff

    8 September 2026

    Every entry below now describes what its commit changed, read from the diff rather than copied from the message: specific titles in place of "Major changes" and "ui/ux updates", and bodies that name the packages, tools, routes and scripts involved. Tool counts were checked against the tools files at those commits.

  • v.1.1.15Keep the changelog by hand and drop the versions table

    8 September 2026

    Delete db/changelog.ts and db/version.ts, the scripts that wrote this page from git log and recorded commit counts in a versions table, along with their pnpm db:* entries. A migration drops the table; its down recreates it.

    data/changelog.ts is now written by hand and committed with the change it describes, and the sha field is gone. The footer and this page still read its top entry, so the v.{major}.{countries}.{commits} scheme is unchanged.

  • v.1.1.13Add the NOA earthquake source and generate the changelog from git

    7 September 2026

    packages/sources/gr/noa reads the National Observatory of Athens fdsnws-event service with three tools: search_earthquakes (time, magnitude, depth, bounding box or radius), get_earthquake, which parses QuakeML for station count, azimuthal gap and analyst review, and list_recent_earthquakes. Search windows are capped at 31 days; meta.ts declares CC-BY-4.0 with the Institute of Geodynamics attribution and short TTLs.

    pnpm db:changelog writes data/changelog.ts from git log and the versions table, and /changelog becomes one flat list, newest first. The footer reads the version from the new data/version.ts instead of the database, so loadVersion and the layout's revalidate = 60 go.

  • v.1.1.12Fade every navigation, not only the top-level ones

    7 September 2026

    The root template.tsx keys its fade on the full pathname, so moving between catalogue countries, sources or use cases animates like moving between top-level pages. Search-parameter changes are left out, so the live console can rewrite its query without a blink.

  • v.1.1.11Add the VIES source and the pages the nav pointed at

    7 September 2026

    packages/sources/gr/vies replaces the gr/test placeholder: check_vat_number normalises an ΑΦΜ, validates its check digit and asks the EU VAT Information Exchange System, and list_member_states reports which member states are answering. With gr/test gone, UNBUNDLED is empty and VIES joins the Greek country server.

    Four dead nav links become pages: /documentation (glossary, conventions and a route index from data/documentation.ts), /status (one live call per mounted registry), /licenses (sources grouped by licence with their attribution lines) and /changelog. The Features dropdown becomes Use cases, each row of data/use-cases.ts rendering at /use-cases/[slug].

    On /all, the Countries and Sources lists get a hero each and CountryRow and SourceRow share one Row. CodeBlock gains a wrap prop, Band an id, and search indexes the glossary under Vocabulary.

  • v.1.1.10Add HTTP tool endpoints, a CKAN adapter and four Greek sources

    1 September 2026

    The server answers plain HTTP beside MCP: GET|POST /{country}/api/{source}/{tool} calls a tool with query values coerced to its schema, undeclared parameters rejected with a 400, and an envelope carrying publisher, license, attribution and upstreamUrl around data. Both transports share call.ts for the credential check, TTL and logging, and successful GETs carry a Cache-Control matching the tool's TTL.

    packages/ckan is a reusable adapter with seven tools over any CKAN portal, reading CSV, TSV, JSON and GeoJSON resources outside the datastore. gr/datagov and gr/athens are it pointed at data.gov.gr and the City of Athens; gr/kimdis (public contracts) and gr/mitos (public-service procedures) have their own clients, seven tools each.

    The web app gains the catalogue at /all, /all/[country] and /all/[country]/[source], rendered from the server's GET / with a full per-tool reference, an /api page documenting the HTTP contract, and a rewritten search over menu, footer, mounts, agents and error codes. A versions table and db:version script put v.1.{countries}.{commits} in the footer, and the README documents the API and VERCEL_EXPERIMENTAL_BACKENDS=1 for the server project.

  • v.1.1.9Store country requests in Postgres behind a server action

    1 September 2026

    apps/web/db/ adds a postgres client, a Laravel-style migration runner (migrate, rollback --step=N, reset, status, make) with a migrations table, a seeder runner and migrations for countries and requests, plus the db:* scripts in package.json.

    The /country form submits to a requestCountry server function and reports created, duplicate, supported, unknown or error with the live count. A visitor is a salted SHA-256 of address and user agent (REQUEST_HASH_SALT), so each counts once per country; the placeholder requestCounts map is deleted.

  • v.1.1.8Split the server listener into serve.ts and document deployment

    1 September 2026

    apps/server/src/index.ts now exports the Hono app; the serve() call and the boot-time warm loop move to serve.ts, which dev and start run, so a host that owns the listener imports the app alone. railway.json configures the Railpack build and /health check, the web start honours PORT, and the README gains a Deploying section for the two Vercel projects.

  • v.1.1.7Sort each country's sources alphabetically in the catalogue

    1 September 2026

    loadCatalogue orders a country's providers by display name, case- and accent-insensitive, instead of the registry's import order.

  • v.1.1.6Mount per-country MCP bundles and add the /mcp and /quickstart pages

    1 September 2026

    /{country}/mcp serves every source of a country in one server, tool names prefixed with their source; defineBundle in packages/core checks at boot that no two sources claim the same name. Source gains a warm hook run at boot and SourceTool an example parsed against its own schema.

    Diavgeia grows from 8 to 17 tools, among them search_decisions_advanced, get_decision_text (PDF text via unpdf), get_decision_history and search_dictionary, with a warm that prefetches the body register; docs/gr-documentation.md indexes them.

    /mcp and /quickstart print connection snippets for Claude Code, Claude, Codex, Cursor, Windsurf, VS Code and any MCP client. /live builds its tool list from the server's GET / through the new data/catalogue.ts, with Greek names transliterated by data/greeklish.ts, instead of a hand-written provider list.

  • v.1.1.5Add a page-wide WebGL starfield and make the eclipse transparent

    31 August 2026

    components/background/starfield.tsx draws a full-page star canvas at 30fps, pausing when the tab is hidden and rendering one static frame under prefers-reduced-motion; it is imported in the layout but still commented out. The eclipse shader drops its own stars and emits premultiplied alpha, so the layer behind it shows through. Text selection takes the accent colour.

  • v.1.1.4Add the Diavgeia source with 8 tools, the site shell and /live

    31 August 2026

    packages/sources/gr/diavgeia reads diavgeia.gov.gr/opendata with search_decisions, get_decision, list_decision_types, search_organizations, get_organization, list_organization_units, get_signer and list_thematic_categories; meta.ts records CC-BY-4.0, the Greek attribution and per-tool TTLs, and DOCUMENTATION.md covers the upstream API.

    The web app gets its shell: Navigation and Footer in the root layout, a dark theme with one accent colour and JetBrains Mono with the Greek subset, the shared 12-column Grid, and a landing hero with a WebGL eclipse that tracks the cursor above a grid of publisher logos.

    /live lets a visitor pick a country, source and tool, edit the arguments and read the real response, proxied through app/api/mcp/route.ts, which rebuilds the arguments from data/playground.ts and rejects unknown endpoints or tools before forwarding. /country is a request-a-country form over the ISO list.

  • v.1.1.3Split into a pnpm monorepo with a Hono MCP server and core package

    29 August 2026

    The Next.js app moves to apps/web; packages/core holds the Source contract (defineSource, defineTool), an HTTP client, an in-memory cache, a logger and the AgoraError hierarchy for invalid input, missing credentials, not found, rate limit and upstream failure.

    apps/server is a Hono app that mounts every registered source at /{country}/mcp/{source} over Streamable HTTP, building a stateless McpServer per request, with CORS, request-id logging, a per-client rate limiter and registry.ts as the single wiring point. packages/sources/gr/test ships one ping tool as the reference source shape.

  • v.1.1.2Strip the create-next-app template

    29 August 2026

    Remove the template page, favicon and Vercel SVGs, title the app agoramcp and cut the README to the two commands that run it. globals.css applies the Geist font through the Tailwind theme instead of Arial.

  • v.1.1.1Scaffold the web app with create-next-app

    29 August 2026

    A fresh Next.js App Router project with Tailwind 4, ESLint and a pnpm workspace file, still showing the generator's template page.