progmaweb
The site and account service of Progmasoft: a Next.js frontend and an ASP.NET Core API.
Clonegit clone https://git.progmasoft.com/progmaweb
Remove Archer, Etincelle, Agenceland, and update 2026-12-06 policies
- Commit
3e7656d5f182e836955eafd5692d4e6202f92ba0- Author
- Leitwolf11 ·
- Parents
dd92bc40e840
Changes
README.md | 1 - apps/api-tests/AccountCommandTests.cs | 3 +- apps/api/Accounts/PolicyNotices.cs | 22 +++-- apps/web/app/mcp/page.tsx | 55 ----------- apps/web/app/robots.ts | 1 - apps/web/app/sitemap.ts | 3 - apps/web/e2e/pages.ts | 1 - apps/web/lib/catalog-messages.ts | 165 ++------------------------------ apps/web/lib/home-messages.ts | 14 --- apps/web/lib/mcp-messages.ts | 107 --------------------- apps/web/lib/policies/de-DE.ts | 17 +--- apps/web/lib/policies/en-US.ts | 17 +--- apps/web/lib/policies/fr-FR.ts | 17 +--- apps/web/lib/policies/ru-RU.ts | 17 +--- apps/web/lib/products.ts | 51 +--------- apps/web/proxy.ts | 7 -- apps/web/tests/catalog.test.mjs | 40 ++++---- apps/web/tests/policies.test.mjs | 17 +--- apps/web/tests/sites.test.mjs | 20 +--- apps/web/tests/structured-data.test.mjs | 8 +- docs/ARCHITECTURE.md | 8 +- ops/nginx/progmaweb.conf | 47 --------- 22 files changed, 68 insertions(+), 570 deletions(-) diff --git a/README.md b/README.md index dbf4801..88a02b9 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,6 @@ the ASP.NET Core API. - `credentials.progmasoft.com`, `authorize.progmasoft.com` and `console.progmasoft.com` serve Progmasoft OAuth: the issuer, the pages people sign in and consent on, and the Progmasoft Console. See [Progmasoft OAuth](docs/OAUTH.md). - `product.progmasoft.com` serves the product catalog, and `license.progmasoft.com` the Progmasoft Source License. -- `agencelandmcp.progmasoft.com` serves the Agenceland MCP Marketplace, which lists no server and takes no uploads. - `git.progmasoft.com` serves the read-only mirrors of the repositories: pages from Next.js, raw files and archives from the API, clones from git-http-backend. diff --git a/apps/api-tests/AccountCommandTests.cs b/apps/api-tests/AccountCommandTests.cs index a3771d2..803a0ef 100644 --- a/apps/api-tests/AccountCommandTests.cs +++ b/apps/api-tests/AccountCommandTests.cs @@ -172,7 +172,8 @@ public sealed class AccountCommandTests Assert.Contains("6 December 2026", notice.Subject, StringComparison.Ordinal); string body = notice.TextBody ?? string.Empty; Assert.Contains("https://progmasoft.com/privacy/2026-12-06", body, StringComparison.Ordinal); - Assert.Contains("Agenceland MCP Marketplace", body, StringComparison.Ordinal); + Assert.Contains("ViGet was closed", body, StringComparison.Ordinal); + Assert.DoesNotContain("Agenceland", body, StringComparison.Ordinal); Assert.Contains("6 November 2026", body, StringComparison.Ordinal); (code, output, _) = await RunAsync(services, new Input(false), "notify-policies"); diff --git a/apps/api/Accounts/PolicyNotices.cs b/apps/api/Accounts/PolicyNotices.cs index d256b78..3f29dd3 100644 --- a/apps/api/Accounts/PolicyNotices.cs +++ b/apps/api/Accounts/PolicyNotices.cs @@ -88,10 +88,9 @@ internal static class PolicyNotice Hello {account.AccountName}, The Privacy Policy and the Security Policy of Progmasoft change on {english}. ViGet was closed, and the - new version names the Agenceland MCP Marketplace (agencelandmcp.progmasoft.com) in its place: once the - marketplace takes uploads, the IP address an upload came from is kept with it, malicious software is - taken off and the account that uploaded it is closed, and every server it serves is listed with its - SHA-256 digest, which Agenceland checks. Nothing else changes. + new version removes ViGet along with the IP-address storage and malware rules that existed only for + package uploads. Progmasoft does not store IP addresses with accounts, sessions or web-server logs. + Nothing else changes. The new version: {privacy} @@ -105,23 +104,26 @@ internal static class PolicyNotice -- Die Datenschutzerklärung und die Sicherheitsrichtlinie von Progmasoft ändern sich am {effective.ToString("d. MMMM yyyy", CultureInfo.GetCultureInfo("de-DE"))}. - ViGet wurde geschlossen; an seiner Stelle nennt die neue Fassung den Agenceland MCP Marketplace - (agencelandmcp.progmasoft.com). Sonst ändert sich nichts. Die neue Fassung: {privacy} und {security}. + ViGet wurde geschlossen; die neue Fassung entfernt ViGet sowie die IP-Speicherung und + Schadsoftware-Regeln, die nur für Paket-Uploads galten. Sonst ändert sich nichts. Die neue Fassung: + {privacy} und {security}. Wenn Sie nicht einverstanden sind, schreiben Sie von der Adresse Ihres Kontos an support@progmasoft.com, und wir löschen das Konto. -- Политика конфиденциальности и Политика безопасности Progmasoft меняются {effective.ToString("d MMMM yyyy", CultureInfo.GetCultureInfo("ru-RU"))} г. - ViGet закрыт; вместо него новая версия называет Agenceland MCP Marketplace - (agencelandmcp.progmasoft.com). Больше ничего не меняется. Новая версия: {privacy} и {security}. + ViGet закрыт; новая версия убирает ViGet, а также хранение IP-адресов и правила о вредоносном ПО, + которые относились только к загрузке пакетов. Больше ничего не меняется. Новая версия: {privacy} и + {security}. Если вы не согласны, напишите на support@progmasoft.com с адреса вашей учётной записи, и мы её удалим. -- La Politique de confidentialité et la Politique de sécurité de Progmasoft changent le {effective.ToString("d MMMM yyyy", CultureInfo.GetCultureInfo("fr-FR"))}. - ViGet a été fermé ; à sa place, la nouvelle version nomme l’Agenceland MCP Marketplace - (agencelandmcp.progmasoft.com). Rien d’autre ne change. La nouvelle version : {privacy} et {security}. + ViGet a été fermé ; la nouvelle version retire ViGet ainsi que la conservation des adresses IP et les + règles relatives aux logiciels malveillants, qui ne concernaient que l’envoi de paquets. Rien d’autre + ne change. La nouvelle version : {privacy} et {security}. Si vous n’êtes pas d’accord, écrivez à support@progmasoft.com depuis l’adresse de votre compte, et nous supprimons le compte. """ diff --git a/apps/web/app/mcp/page.tsx b/apps/web/app/mcp/page.tsx deleted file mode 100644 index 642a0da..0000000 --- a/apps/web/app/mcp/page.tsx +++ /dev/null @@ -1,55 +0,0 @@ -// SPDX-FileCopyrightText: 2026 Progmasoft <support@progmasoft.com> -// SPDX-License-Identifier: AGPL-3.0-or-later - -import type { Metadata } from "next"; -import { Footer } from "@/components/Footer"; -import { SiteHeader } from "@/components/SiteHeader"; -import { getLocale } from "@/lib/locale.server"; -import { getMcpMessages } from "@/lib/mcp-messages"; -import "../site.css"; - -export async function generateMetadata(): Promise<Metadata> { - const text = getMcpMessages(await getLocale()); - return { - title: text.metadataTitle, - description: text.metadataDescription, - alternates: { canonical: "https://agencelandmcp.progmasoft.com/" }, - }; -} - -/** agencelandmcp.progmasoft.com: the Agenceland MCP Marketplace, empty and closed to uploads. */ -export default async function McpMarketplacePage() { - const locale = await getLocale(); - const text = getMcpMessages(locale); - return ( - <div className="pm-page"> - <SiteHeader locale={locale} /> - <main> - <section className="pm-hero"> - <div className="pm-shell pm-product-hero"> - <p className="eyebrow">{text.eyebrow}</p> - <h1>{text.title}</h1> - <p className="pm-lede">{text.description}</p> - </div> - </section> - <section className="pm-section"> - <div className="pm-shell pm-policy"> - <section aria-labelledby="mcp-servers"> - <h2 id="mcp-servers">{text.serversHeading}</h2> - <p>{text.noServers}</p> - </section> - <section aria-labelledby="mcp-publishing"> - <h2 id="mcp-publishing">{text.uploadsHeading}</h2> - <p>{text.uploadsClosed}</p> - </section> - <section aria-labelledby="mcp-installing"> - <h2 id="mcp-installing">{text.installHeading}</h2> - <p>{text.install}</p> - </section> - </div> - </section> - </main> - <Footer locale={locale} /> - </div> - ); -} diff --git a/apps/web/app/robots.ts b/apps/web/app/robots.ts index 2e83ec8..ceb7289 100644 --- a/apps/web/app/robots.ts +++ b/apps/web/app/robots.ts @@ -21,7 +21,6 @@ export default async function robots(): Promise<MetadataRoute.Robots> { // Each host with pages of its own names its own sitemap. const sitemap = canonicalHost === "product.progmasoft.com" || - canonicalHost === "agencelandmcp.progmasoft.com" || canonicalHost === "git.progmasoft.com" || canonicalHost === "news.progmasoft.com" ? `https://${canonicalHost}/sitemap.xml` diff --git a/apps/web/app/sitemap.ts b/apps/web/app/sitemap.ts index a889e5d..ade8d8c 100644 --- a/apps/web/app/sitemap.ts +++ b/apps/web/app/sitemap.ts @@ -33,9 +33,6 @@ export default async function sitemap(): Promise<MetadataRoute.Sitemap> { if (host === "git.progmasoft.com") { return [{ url: "https://git.progmasoft.com/" }]; } - if (host === "agencelandmcp.progmasoft.com") { - return [{ url: "https://agencelandmcp.progmasoft.com/" }]; - } if (host === "product.progmasoft.com") { return [ { diff --git a/apps/web/e2e/pages.ts b/apps/web/e2e/pages.ts index a666697..7ff93bf 100644 --- a/apps/web/e2e/pages.ts +++ b/apps/web/e2e/pages.ts @@ -19,7 +19,6 @@ export const layoutPages = [ "console.progmasoft.com/", "news.progmasoft.com/", "news.progmasoft.com/tazel-0-2-0-shares-results-through-a-remote-cache", - "agencelandmcp.progmasoft.com/", "git.progmasoft.com/", "git.progmasoft.com/example-with-a-rather-long-repository-name", "git.progmasoft.com/example-with-a-rather-long-repository-name/tree?path=src/main.c", diff --git a/apps/web/lib/catalog-messages.ts b/apps/web/lib/catalog-messages.ts index faebf1b..e753dcc 100644 --- a/apps/web/lib/catalog-messages.ts +++ b/apps/web/lib/catalog-messages.ts @@ -3,15 +3,8 @@ import type { Locale } from "./localization"; -type Slug = - "tazel" | "catch3" | "agenceland" | "archer" | "etincelle" | "opentala"; -type Category = - | "build" - | "testing" - | "ide" - | "data-format" - | "data-processing" - | "operating-system"; +type Slug = "tazel" | "catch3" | "opentala"; +type Category = "build" | "testing" | "operating-system"; interface ProductText { tagline: string; @@ -93,7 +86,7 @@ export const catalogMessages: Record<Locale, CatalogMessages> = { "en-US": { metadataTitle: "Products", metadataDescription: - "The projects of Progmasoft: Tazel, Catch3, Agenceland, Archer and Etincelle, by category, language and status.", + "The projects of Progmasoft: Tazel, Catch3 and OpenTala, by category, language and status.", eyebrow: "Progmasoft projects", title: "Products", description: @@ -149,9 +142,6 @@ export const catalogMessages: Record<Locale, CatalogMessages> = { categories: { build: "Build system", testing: "Testing", - ide: "IDE", - "data-format": "Data format", - "data-processing": "Data processing", "operating-system": "Operating system", }, categoriesTitle: "Projects by category", @@ -186,39 +176,6 @@ export const catalogMessages: Record<Locale, CatalogMessages> = { "Its own runner with parallel workers, retries, history and per-test coverage, and mocks", ], }, - agenceland: { - tagline: "An agentic IDE built on Code - OSS.", - description: - "Agenceland puts agents at the center of the editor: each session works in its own Git worktree and sandbox, under a permission mode you choose, and its record can be replayed.", - features: [ - "Models from OpenAI, Anthropic, OpenRouter, Kimi and Z.ai, and local ones through LM Studio or Ollama", - "One Git worktree and one sandbox for every agent session", - "Live review of what an agent writes, and replay from the session record", - "Extensions from Open VSX", - ], - }, - archer: { - tagline: "A columnar in-memory format for Java and the JVM.", - description: - "Archer lays out columnar data in memory outside the Java heap, for Java 21 and later and the JVM languages that call Java, such as Kotlin and Scala. It plays the part Apache Arrow plays.", - features: [ - "Buffers outside the Java heap with checked, little-endian access", - "Allocators with a limit, a count of their memory and leak detection", - "An allocator on Netty's pooled buffers", - "Columnar vectors with validity bitmaps", - ], - }, - etincelle: { - tagline: "An engine for large data on Java and the JVM.", - description: - "Etincelle processes large data on Java 21 and later and the JVM languages that call Java, in the part Apache Spark plays. It keeps its data in columns of its own.", - features: [ - "Typed schemas and columns", - "Etincelle SQL", - "Columnar data of its own", - "For Java, Kotlin and Scala", - ], - }, opentala: { tagline: "A kernel with Darwin's system call ABI.", description: @@ -235,7 +192,7 @@ export const catalogMessages: Record<Locale, CatalogMessages> = { "de-DE": { metadataTitle: "Produkte", metadataDescription: - "Die Projekte von Progmasoft: Tazel, Catch3, Agenceland, Archer und Etincelle, nach Kategorie, Sprache und Stand.", + "Die Projekte von Progmasoft: Tazel, Catch3 und OpenTala, nach Kategorie, Sprache und Stand.", eyebrow: "Progmasoft-Projekte", title: "Produkte", description: @@ -291,9 +248,6 @@ export const catalogMessages: Record<Locale, CatalogMessages> = { categories: { build: "Build-System", testing: "Testen", - ide: "IDE", - "data-format": "Datenformat", - "data-processing": "Datenverarbeitung", "operating-system": "Betriebssystem", }, categoriesTitle: "Projekte nach Kategorie", @@ -328,40 +282,6 @@ export const catalogMessages: Record<Locale, CatalogMessages> = { "Ein eigener Runner mit parallelen Workern, Wiederholungen, Historie und Abdeckung pro Test, dazu Mocks", ], }, - agenceland: { - tagline: "Eine agentische IDE auf Basis von Code - OSS.", - description: - "Agenceland stellt Agenten in den Mittelpunkt des Editors: Jede Sitzung arbeitet in ihrem eigenen Git-Worktree und ihrer eigenen Sandbox, in einem Berechtigungsmodus Ihrer Wahl, und ihr Protokoll lässt sich wiedergeben.", - features: [ - "Modelle von OpenAI, Anthropic, OpenRouter, Kimi und Z.ai sowie lokale über LM Studio oder Ollama", - "Ein Git-Worktree und eine Sandbox für jede Agentensitzung", - "Live-Review dessen, was ein Agent schreibt, und Wiedergabe aus dem Sitzungsprotokoll", - "Erweiterungen aus Open VSX", - ], - }, - archer: { - tagline: - "Ein spaltenorientiertes In-Memory-Format für Java und die JVM.", - description: - "Archer legt spaltenorientierte Daten im Speicher außerhalb des Java-Heaps ab, für Java 21 und neuer und die JVM-Sprachen, die Java aufrufen, etwa Kotlin und Scala. Es übernimmt die Rolle von Apache Arrow.", - features: [ - "Puffer außerhalb des Java-Heaps mit geprüftem Little-Endian-Zugriff", - "Allokatoren mit Limit, Zählung ihres Speichers und Leck-Erkennung", - "Ein Allokator auf den gepoolten Puffern von Netty", - "Spaltenvektoren mit Gültigkeits-Bitmaps", - ], - }, - etincelle: { - tagline: "Eine Engine für große Datenmengen auf Java und der JVM.", - description: - "Etincelle verarbeitet große Datenmengen auf Java 21 und neuer und den JVM-Sprachen, die Java aufrufen, in der Rolle von Apache Spark. Seine Daten hält es in eigenen Spalten.", - features: [ - "Typisierte Schemata und Spalten", - "Etincelle SQL", - "Eigene spaltenorientierte Daten", - "Für Java, Kotlin und Scala", - ], - }, opentala: { tagline: "Ein Kernel mit Darwins Systemaufruf-ABI.", description: @@ -378,7 +298,7 @@ export const catalogMessages: Record<Locale, CatalogMessages> = { "ru-RU": { metadataTitle: "Продукты", metadataDescription: - "Проекты Progmasoft: Tazel, Catch3, Agenceland, Archer и Etincelle — по категориям, языкам и состоянию.", + "Проекты Progmasoft: Tazel, Catch3 и OpenTala — по категориям, языкам и состоянию.", eyebrow: "Проекты Progmasoft", title: "Продукты", description: @@ -434,9 +354,6 @@ export const catalogMessages: Record<Locale, CatalogMessages> = { categories: { build: "Система сборки", testing: "Тестирование", - ide: "Среда разработки", - "data-format": "Формат данных", - "data-processing": "Обработка данных", "operating-system": "Операционная система", }, categoriesTitle: "Проекты по категориям", @@ -471,39 +388,6 @@ export const catalogMessages: Record<Locale, CatalogMessages> = { "Свой запускатель с параллельными процессами, повторами, историей и покрытием по тестам, а также моки", ], }, - agenceland: { - tagline: "Агентная среда разработки на основе Code - OSS.", - description: - "Agenceland ставит агентов в центр редактора: каждый сеанс работает в своём Git worktree и своей песочнице, в выбранном вами режиме разрешений, а его запись можно воспроизвести.", - features: [ - "Модели OpenAI, Anthropic, OpenRouter, Kimi и Z.ai, а также локальные через LM Studio или Ollama", - "Отдельные Git worktree и песочница для каждого сеанса агента", - "Просмотр того, что пишет агент, в реальном времени и воспроизведение по записи сеанса", - "Расширения из Open VSX", - ], - }, - archer: { - tagline: "Колоночный формат данных в памяти для Java и JVM.", - description: - "Archer размещает колоночные данные в памяти вне кучи Java — для Java 21 и новее и языков JVM, вызывающих Java, таких как Kotlin и Scala. Он играет ту же роль, что и Apache Arrow.", - features: [ - "Буферы вне кучи Java с проверяемым доступом в порядке little-endian", - "Распределители памяти с лимитом, учётом памяти и обнаружением утечек", - "Распределитель на пулах буферов Netty", - "Колоночные векторы с битовыми картами значимости", - ], - }, - etincelle: { - tagline: "Движок для больших данных на Java и JVM.", - description: - "Etincelle обрабатывает большие данные на Java 21 и новее и языках JVM, вызывающих Java, — в той же роли, что и Apache Spark. Данные он хранит в собственных колонках.", - features: [ - "Типизированные схемы и столбцы", - "Etincelle SQL", - "Собственные колоночные данные", - "Для Java, Kotlin и Scala", - ], - }, opentala: { tagline: "Ядро с ABI системных вызовов Darwin.", description: @@ -520,7 +404,7 @@ export const catalogMessages: Record<Locale, CatalogMessages> = { "fr-FR": { metadataTitle: "Produits", metadataDescription: - "Les projets de Progmasoft : Tazel, Catch3, Agenceland, Archer et Etincelle, par catégorie, langage et état.", + "Les projets de Progmasoft : Tazel, Catch3 et OpenTala, par catégorie, langage et état.", eyebrow: "Projets de Progmasoft", title: "Produits", description: @@ -576,9 +460,6 @@ export const catalogMessages: Record<Locale, CatalogMessages> = { categories: { build: "Système de build", testing: "Tests", - ide: "IDE", - "data-format": "Format de données", - "data-processing": "Traitement de données", "operating-system": "Système d’exploitation", }, categoriesTitle: "Projets par catégorie", @@ -613,40 +494,6 @@ export const catalogMessages: Record<Locale, CatalogMessages> = { "Son propre runner avec des workers parallèles, des reprises, un historique et la couverture par test, ainsi que des mocks", ], }, - agenceland: { - tagline: "Un IDE agentique bâti sur Code - OSS.", - description: - "Agenceland place les agents au centre de l’éditeur : chaque session travaille dans son propre worktree Git et son propre bac à sable, dans le mode d’autorisation que vous choisissez, et son journal peut être rejoué.", - features: [ - "Des modèles d’OpenAI, d’Anthropic, d’OpenRouter, de Kimi et de Z.ai, et des modèles locaux via LM Studio ou Ollama", - "Un worktree Git et un bac à sable pour chaque session d’agent", - "Relecture en direct de ce qu’écrit un agent, et rejeu depuis le journal de la session", - "Des extensions depuis Open VSX", - ], - }, - archer: { - tagline: "Un format en colonnes, en mémoire, pour Java et la JVM.", - description: - "Archer dispose les données en colonnes en mémoire, hors du tas Java, pour Java 21 et plus et pour les langages de la JVM qui appellent Java, comme Kotlin et Scala. Il joue le rôle que joue Apache Arrow.", - features: [ - "Des tampons hors du tas Java, avec un accès vérifié et little-endian", - "Des allocateurs avec une limite, un décompte de leur mémoire et la détection des fuites", - "Un allocateur sur les tampons mutualisés de Netty", - "Des vecteurs en colonnes avec des bitmaps de validité", - ], - }, - etincelle: { - tagline: - "Un moteur pour les grands volumes de données sur Java et la JVM.", - description: - "Etincelle traite de grands volumes de données sur Java 21 et plus et sur les langages de la JVM qui appellent Java, dans le rôle que joue Apache Spark. Il garde ses données dans ses propres colonnes.", - features: [ - "Des schémas et des colonnes typés", - "Etincelle SQL", - "Ses propres données en colonnes", - "Pour Java, Kotlin et Scala", - ], - }, opentala: { tagline: "Un noyau avec l’ABI des appels système de Darwin.", description: diff --git a/apps/web/lib/home-messages.ts b/apps/web/lib/home-messages.ts index f0a38bb..a383136 100644 --- a/apps/web/lib/home-messages.ts +++ b/apps/web/lib/home-messages.ts @@ -79,9 +79,6 @@ export const homeMessages: Record<Locale, HomeMessages> = { tazel: "Builds C, C++ and Zig. Redoes only what changed.", opentala: "A kernel that speaks Darwin. It boots today.", catch3: "C++ tests that hunt for the failing case.", - agenceland: "An IDE where every agent works in its own worktree.", - etincelle: "SQL over large data, on the JVM.", - archer: "Columnar data in memory, for Java.", }, principles: { title: "How we work", @@ -156,10 +153,6 @@ export const homeMessages: Record<Locale, HomeMessages> = { tazel: "Baut C, C++ und Zig. Und nur, was sich geändert hat.", opentala: "Ein Kernel, der Darwin spricht. Er bootet schon heute.", catch3: "C++-Tests, die den fehlschlagenden Fall aufspüren.", - agenceland: - "Eine IDE, in der jeder Agent in seinem eigenen Worktree arbeitet.", - etincelle: "SQL über große Datenmengen, auf der JVM.", - archer: "Spaltenorientierte Daten im Speicher, für Java.", }, principles: { title: "Wie wir arbeiten", @@ -234,10 +227,6 @@ export const homeMessages: Record<Locale, HomeMessages> = { tazel: "Собирает C, C++ и Zig. Пересобирает только изменённое.", opentala: "Ядро, говорящее на языке Darwin. Оно уже загружается.", catch3: "Тесты C++, которые находят случай, где всё ломается.", - agenceland: - "Среда разработки, где каждый агент работает в своём worktree.", - etincelle: "SQL над большими данными, на JVM.", - archer: "Колоночные данные в памяти, для Java.", }, principles: { title: "Как мы работаем", @@ -312,9 +301,6 @@ export const homeMessages: Record<Locale, HomeMessages> = { tazel: "Construit C, C++ et Zig. Ne refait que ce qui a changé.", opentala: "Un noyau qui parle Darwin. Il démarre déjà.", catch3: "Des tests C++ qui traquent le cas qui échoue.", - agenceland: "Un IDE où chaque agent travaille dans son propre worktree.", - etincelle: "Du SQL sur de grands volumes de données, sur la JVM.", - archer: "Des données en colonnes en mémoire, pour Java.", }, principles: { title: "Notre façon de travailler", diff --git a/apps/web/lib/mcp-messages.ts b/apps/web/lib/mcp-messages.ts deleted file mode 100644 index a99cd1b..0000000 --- a/apps/web/lib/mcp-messages.ts +++ /dev/null @@ -1,107 +0,0 @@ -// SPDX-FileCopyrightText: 2026 Progmasoft <support@progmasoft.com> -// SPDX-License-Identifier: AGPL-3.0-or-later - -import type { Locale } from "./localization"; - -/** The text of agencelandmcp.progmasoft.com, the Agenceland MCP Marketplace. */ -export interface McpMessages { - metadataTitle: string; - metadataDescription: string; - eyebrow: string; - title: string; - description: string; - serversHeading: string; - noServers: string; - uploadsHeading: string; - uploadsClosed: string; - installHeading: string; - install: string; -} - -/** The marketplace in every published language. */ -export const mcpMessages: Record<Locale, McpMessages> = { - "en-US": { - metadataTitle: "Agenceland MCP Marketplace", - metadataDescription: - "The MCP servers Agenceland installs, from verified publishers with pinned versions.", - eyebrow: "Agenceland", - title: "Agenceland MCP Marketplace", - description: - "MCP servers for Agenceland from verified publishers, each with a pinned version and the permissions it asks for shown before it is installed.", - serversHeading: "Servers", - noServers: "The marketplace lists no server.", - uploadsHeading: "Publishing", - uploadsClosed: - "The marketplace takes no uploads. Publishing opens to Progmasoft accounts later; the Privacy Policy and the Security Policy say what applies to uploads.", - installHeading: "Installing", - install: - "Agenceland installs a server with agenceland mcp add <Account>.<Server>, or from the MCP Marketplace inside Agenceland.", - }, - "de-DE": { - metadataTitle: "Agenceland MCP Marketplace", - metadataDescription: - "Die MCP-Server, die Agenceland installiert, von verifizierten Herausgebern mit festen Versionen.", - eyebrow: "Agenceland", - title: "Agenceland MCP Marketplace", - description: - "MCP-Server für Agenceland von verifizierten Herausgebern, jeder mit fester Version und den Berechtigungen, die er verlangt, angezeigt vor der Installation.", - serversHeading: "Server", - noServers: "Der Marketplace führt keinen Server.", - uploadsHeading: "Veröffentlichen", - uploadsClosed: - "Der Marketplace nimmt keine Uploads an. Das Veröffentlichen öffnet sich später für Progmasoft-Konten; was für Uploads gilt, sagen die Datenschutzerklärung und die Sicherheitsrichtlinie.", - installHeading: "Installieren", - install: - "Agenceland installiert einen Server mit agenceland mcp add <Konto>.<Server> oder über den MCP Marketplace in Agenceland.", - }, - "ru-RU": { - metadataTitle: "Agenceland MCP Marketplace", - metadataDescription: - "MCP-серверы, которые устанавливает Agenceland, от проверенных издателей с закреплёнными версиями.", - eyebrow: "Agenceland", - title: "Agenceland MCP Marketplace", - description: - "MCP-серверы для Agenceland от проверенных издателей: у каждого закреплённая версия, а разрешения, которые он запрашивает, показываются до установки.", - serversHeading: "Серверы", - noServers: "В Marketplace нет ни одного сервера.", - uploadsHeading: "Публикация", - uploadsClosed: - "Marketplace не принимает загрузки. Публикация откроется для учётных записей Progmasoft позже; что относится к загрузкам, говорят Политика конфиденциальности и Политика безопасности.", - installHeading: "Установка", - install: - "Agenceland устанавливает сервер командой agenceland mcp add <Учётная запись>.<Сервер> или через MCP Marketplace внутри Agenceland.", - }, - "fr-FR": { - metadataTitle: "Agenceland MCP Marketplace", - metadataDescription: - "Les serveurs MCP qu’Agenceland installe, d’éditeurs vérifiés, en versions fixées.", - eyebrow: "Agenceland", - title: "Agenceland MCP Marketplace", - description: - "Des serveurs MCP pour Agenceland d’éditeurs vérifiés, chacun en version fixée, avec les autorisations qu’il demande affichées avant l’installation.", - serversHeading: "Serveurs", - noServers: "Le Marketplace ne référence aucun serveur.", - uploadsHeading: "Publication", - uploadsClosed: - "Le Marketplace n’accepte aucun envoi. La publication s’ouvrira plus tard aux comptes Progmasoft ; la Politique de confidentialité et la Politique de sécurité disent ce qui s’applique aux envois.", - installHeading: "Installation", - install: - "Agenceland installe un serveur avec agenceland mcp add <Compte>.<Serveur>, ou depuis le MCP Marketplace dans Agenceland.", - }, -}; - -export function getMcpMessages(locale: Locale): McpMessages { - return mcpMessages[locale]; -} - -/** Drops the trailing slash of every path but the root. */ -function trimmed(pathname: string): string { - return pathname.length > 1 && pathname.endsWith("/") - ? pathname.slice(0, -1) - : pathname; -} - -/** The public pages of agencelandmcp.progmasoft.com: the marketplace alone. */ -export function mcpRoute(pathname: string): string | null { - return trimmed(pathname) === "/" ? "/mcp" : null; -} diff --git a/apps/web/lib/policies/de-DE.ts b/apps/web/lib/policies/de-DE.ts index 1642bf4..024a579 100644 --- a/apps/web/lib/policies/de-DE.ts +++ b/apps/web/lib/policies/de-DE.ts @@ -15,7 +15,7 @@ export const deDE: PolicyMessages = { { heading: "Wer wir sind", paragraphs: [ - "Progmasoft betreibt progmasoft.com, Progmasoft Account, Progmasoft Credentials und die Progmasoft Console, den Agenceland MCP Marketplace und die Produktseiten von Progmasoft. Diese Erklärung gilt für all diese Angebote. Fragen dazu richten Sie an support@progmasoft.com.", + "Progmasoft betreibt progmasoft.com, Progmasoft Account, Progmasoft Credentials, die Progmasoft Console und die Produktseiten von Progmasoft. Diese Erklärung gilt für all diese Angebote. Fragen dazu richten Sie an support@progmasoft.com.", ], }, { @@ -29,7 +29,6 @@ export const deDE: PolicyMessages = { { heading: "Ihre IP-Adresse", paragraphs: [ - "Wir speichern Ihre IP-Adresse nur zu einem einzigen Zweck. Der Agenceland MCP Marketplace nimmt noch keine Uploads von Konten an. Sobald er das tut, speichert der Marketplace die IP-Adresse, von der ein Upload kam, zusammen mit dem Upload. Stellt sich heraus, dass ein Upload Schadsoftware enthält, verwenden wir diese Adresse, um festzustellen, woher er kam, und übergeben sie den zuständigen Behörden. Für nichts anderes verwenden wir sie.", "Wir speichern keine IP-Adressen zu Ihrem Konto, zu Ihren Sitzungen oder in den Zugriffsprotokollen unserer Webserver.", "Um das Erraten von Passwörtern zu bremsen, zählt der Anmeldedienst einige Minuten lang Anfragen je Adresse. Diese Zählung liegt nur im Arbeitsspeicher und wird nie gespeichert.", ], @@ -37,7 +36,7 @@ export const deDE: PolicyMessages = { { heading: "Wir verkaufen Ihre Daten nicht", paragraphs: [ - "Wir verkaufen, vermieten oder tauschen Ihre Daten an niemanden, auch nicht Ihre IP-Adresse. Wir verwenden sie nicht für Werbung und erstellen kein Profil von Ihnen.", + "Wir verkaufen, vermieten oder tauschen Ihre Daten an niemanden. Wir verwenden sie nicht für Werbung und erstellen kein Profil von Ihnen.", ], }, { @@ -56,7 +55,7 @@ export const deDE: PolicyMessages = { { heading: "Wie lange wir speichern", paragraphs: [ - "Kontodaten bleiben gespeichert, solange das Konto besteht. Eine Sitzung wird entfernt, sobald sie beendet ist. Die IP-Adresse eines Uploads in den Agenceland MCP Marketplace wird gespeichert, solange der Upload im Marketplace liegt, und ein Jahr nach seiner Entfernung, damit auch einer spät eingehenden Meldung noch nachgegangen werden kann.", + "Kontodaten bleiben gespeichert, solange das Konto besteht. Eine Sitzung wird entfernt, sobald sie beendet ist.", ], }, { @@ -76,7 +75,7 @@ export const deDE: PolicyMessages = { security: { title: "Sicherheitsrichtlinie", description: - "Wie Progmasoft Ihr Konto und den Agenceland MCP Marketplace schützt, was im Marketplace verboten ist und wie Sie eine Schwachstelle melden.", + "Wie Progmasoft Ihr Konto und Ihre Verbindungen schützt und wie Sie eine Schwachstelle melden.", sections: [ { heading: "Ihr Konto", @@ -91,14 +90,6 @@ export const deDE: PolicyMessages = { "Jede Seite von Progmasoft wird nur über HTTPS ausgeliefert, und Browser werden angewiesen, dabei zu bleiben (HSTS). Jede Seite trägt eine Content Security Policy, die nur die Skripte zulässt, die die Seite selbst nennt, und das Analyseskript von Cloudflare.", ], }, - { - heading: "Schadsoftware im Agenceland MCP Marketplace", - paragraphs: [ - "Es ist verboten, Schadsoftware in den Agenceland MCP Marketplace hochzuladen: Software, die den Computern, auf denen sie läuft, schadet, sie ausspäht oder die Kontrolle über sie übernimmt, oder die etwas anderes tut, als sie angibt.", - "Wenn wir solche Software finden oder auf sie hingewiesen werden, nehmen wir sie aus dem Marketplace: Ihre Dateien werden nicht mehr ausgeliefert und nur noch als Beweismittel unzugänglich aufbewahrt. Wir schließen das Konto, das sie hochgeladen hat, und übergeben die IP-Adresse des Uploads den zuständigen Behörden, wie es die Datenschutzerklärung beschreibt.", - "Jeder MCP-Server, den der Marketplace ausliefert, ist mit seiner festen Version und seinem SHA-256-Digest verzeichnet, und Agenceland prüft den Digest, bevor es den Server installiert.", - ], - }, { heading: "Worum wir Sie bitten", paragraphs: [ diff --git a/apps/web/lib/policies/en-US.ts b/apps/web/lib/policies/en-US.ts index 8af066e..59a5ab6 100644 --- a/apps/web/lib/policies/en-US.ts +++ b/apps/web/lib/policies/en-US.ts @@ -15,7 +15,7 @@ export const enUS: PolicyMessages = { { heading: "Who we are", paragraphs: [ - "Progmasoft runs progmasoft.com, Progmasoft Account, Progmasoft Credentials and the Progmasoft Console, the Agenceland MCP Marketplace and the Progmasoft product sites. This policy covers all of them. Write to support@progmasoft.com with any question about it.", + "Progmasoft runs progmasoft.com, Progmasoft Account, Progmasoft Credentials, the Progmasoft Console and the Progmasoft product sites. This policy covers all of them. Write to support@progmasoft.com with any question about it.", ], }, { @@ -29,7 +29,6 @@ export const enUS: PolicyMessages = { { heading: "Your IP address", paragraphs: [ - "We keep your IP address for one purpose only. The Agenceland MCP Marketplace does not yet take uploads from accounts. Once it does, the marketplace will record the IP address each upload came from, together with the upload. If an upload turns out to contain malicious software, we will use that address to establish where it came from and give it to the competent authorities. We will use it for nothing else.", "We do not keep IP addresses with your account, with your sessions or in the access logs of our web servers.", "To slow down password guessing, the sign-in service counts requests per address for a few minutes. The count is held in memory and never written down.", ], @@ -37,7 +36,7 @@ export const enUS: PolicyMessages = { { heading: "We do not sell your data", paragraphs: [ - "We do not sell, rent or trade your data to anyone, and that includes your IP address. We do not use it for advertising, and we do not build a profile of you.", + "We do not sell, rent or trade your data to anyone. We do not use it for advertising, and we do not build a profile of you.", ], }, { @@ -56,7 +55,7 @@ export const enUS: PolicyMessages = { { heading: "How long we keep it", paragraphs: [ - "Account data is kept for as long as the account exists. A session is removed once it has ended. The IP address of an upload to the Agenceland MCP Marketplace will be kept while the upload is on the marketplace and for one year after it was removed, so that a report that arrives late can still be followed.", + "Account data is kept for as long as the account exists. A session is removed once it has ended.", ], }, { @@ -76,7 +75,7 @@ export const enUS: PolicyMessages = { security: { title: "Security Policy", description: - "How Progmasoft protects your account and the Agenceland MCP Marketplace, what is forbidden on the marketplace, and how to report a weakness.", + "How Progmasoft protects your account and connections, and how to report a weakness.", sections: [ { heading: "Your account", @@ -91,14 +90,6 @@ export const enUS: PolicyMessages = { "Every Progmasoft site is served only over HTTPS, and browsers are told to keep it that way (HSTS). Every page carries a Content Security Policy, which allows only the scripts the page itself names and the analytics script of Cloudflare.", ], }, - { - heading: "Malicious software on the Agenceland MCP Marketplace", - paragraphs: [ - "Uploading malicious software to the Agenceland MCP Marketplace is forbidden: software that harms, spies on or takes control of the computers it runs on, or that does something other than what it says it does.", - "When we find such software or are told about it, we take it off the marketplace: its files are no longer served, and are kept out of reach only as evidence. We close the account that uploaded it and give the IP address of the upload to the competent authorities, as the Privacy Policy describes.", - "Every MCP server the marketplace serves is listed with its pinned version and its SHA-256 digest, and Agenceland checks the digest before it installs the server.", - ], - }, { heading: "What we ask of you", paragraphs: [ diff --git a/apps/web/lib/policies/fr-FR.ts b/apps/web/lib/policies/fr-FR.ts index b21c414..5512bbd 100644 --- a/apps/web/lib/policies/fr-FR.ts +++ b/apps/web/lib/policies/fr-FR.ts @@ -15,7 +15,7 @@ export const frFR: PolicyMessages = { { heading: "Qui nous sommes", paragraphs: [ - "Progmasoft exploite progmasoft.com, Progmasoft Account, Progmasoft Credentials et la Console Progmasoft, l’Agenceland MCP Marketplace et les sites des produits Progmasoft. Cette politique les couvre tous. Écrivez à support@progmasoft.com pour toute question à son sujet.", + "Progmasoft exploite progmasoft.com, Progmasoft Account, Progmasoft Credentials, la Console Progmasoft et les sites des produits Progmasoft. Cette politique les couvre tous. Écrivez à support@progmasoft.com pour toute question à son sujet.", ], }, { @@ -29,7 +29,6 @@ export const frFR: PolicyMessages = { { heading: "Votre adresse IP", paragraphs: [ - "Nous conservons votre adresse IP dans un seul but. L’Agenceland MCP Marketplace n’accepte pas encore d’envois depuis les comptes. Lorsqu’il les acceptera, le Marketplace enregistrera l’adresse IP d’où provient chaque envoi, avec l’envoi. Si un envoi se révèle contenir un logiciel malveillant, nous utiliserons cette adresse pour établir sa provenance et la transmettrons aux autorités compétentes. Nous ne l’utiliserons à rien d’autre.", "Nous ne conservons pas d’adresses IP avec votre compte, avec vos sessions ni dans les journaux d’accès de nos serveurs web.", "Pour freiner les tentatives de deviner un mot de passe, le service de connexion compte les requêtes par adresse pendant quelques minutes. Ce décompte est tenu en mémoire et n’est jamais écrit.", ], @@ -37,7 +36,7 @@ export const frFR: PolicyMessages = { { heading: "Nous ne vendons pas vos données", paragraphs: [ - "Nous ne vendons, ne louons et n’échangeons vos données avec personne, y compris votre adresse IP. Nous ne les utilisons pas pour la publicité et nous ne dressons pas de profil de vous.", + "Nous ne vendons, ne louons et n’échangeons vos données avec personne. Nous ne les utilisons pas pour la publicité et nous ne dressons pas de profil de vous.", ], }, { @@ -56,7 +55,7 @@ export const frFR: PolicyMessages = { { heading: "Combien de temps nous les conservons", paragraphs: [ - "Les données du compte sont conservées aussi longtemps que le compte existe. Une session est supprimée une fois terminée. L’adresse IP d’un envoi sur l’Agenceland MCP Marketplace sera conservée tant que l’envoi est sur le Marketplace et pendant un an après son retrait, afin qu’un signalement tardif puisse encore être suivi.", + "Les données du compte sont conservées aussi longtemps que le compte existe. Une session est supprimée une fois terminée.", ], }, { @@ -76,7 +75,7 @@ export const frFR: PolicyMessages = { security: { title: "Politique de sécurité", description: - "Comment Progmasoft protège votre compte et l’Agenceland MCP Marketplace, ce qui est interdit sur le Marketplace, et comment signaler une faiblesse.", + "Comment Progmasoft protège votre compte et vos connexions, et comment signaler une faiblesse.", sections: [ { heading: "Votre compte", @@ -91,14 +90,6 @@ export const frFR: PolicyMessages = { "Chaque site de Progmasoft n’est servi que par HTTPS, et les navigateurs reçoivent la consigne de s’y tenir (HSTS). Chaque page porte une Content Security Policy, qui n’autorise que les scripts que la page nomme elle-même et le script d’analyse de Cloudflare.", ], }, - { - heading: "Logiciels malveillants sur l’Agenceland MCP Marketplace", - paragraphs: [ - "Il est interdit d’envoyer un logiciel malveillant sur l’Agenceland MCP Marketplace : un logiciel qui nuit aux ordinateurs sur lesquels il s’exécute, les espionne ou en prend le contrôle, ou qui fait autre chose que ce qu’il annonce.", - "Lorsque nous trouvons un tel logiciel ou qu’on nous le signale, nous le retirons du Marketplace : ses fichiers ne sont plus servis et ne sont conservés, hors d’atteinte, qu’à titre de preuve. Nous fermons le compte qui l’a envoyé et transmettons l’adresse IP de l’envoi aux autorités compétentes, comme le décrit la politique de confidentialité.", - "Chaque serveur MCP que sert le Marketplace est listé avec sa version fixée et son empreinte SHA-256, et Agenceland vérifie l’empreinte avant d’installer le serveur.", - ], - }, { heading: "Ce que nous vous demandons", paragraphs: [ diff --git a/apps/web/lib/policies/ru-RU.ts b/apps/web/lib/policies/ru-RU.ts index 92dd9ca..a962e31 100644 --- a/apps/web/lib/policies/ru-RU.ts +++ b/apps/web/lib/policies/ru-RU.ts @@ -15,7 +15,7 @@ export const ruRU: PolicyMessages = { { heading: "Кто мы", paragraphs: [ - "Progmasoft управляет сайтом progmasoft.com, Progmasoft Account, Progmasoft Credentials и Progmasoft Console, Agenceland MCP Marketplace и сайтами продуктов Progmasoft. Эта политика распространяется на все из них. Вопросы о ней присылайте на support@progmasoft.com.", + "Progmasoft управляет сайтом progmasoft.com, Progmasoft Account, Progmasoft Credentials, Progmasoft Console и сайтами продуктов Progmasoft. Эта политика распространяется на все из них. Вопросы о ней присылайте на support@progmasoft.com.", ], }, { @@ -29,7 +29,6 @@ export const ruRU: PolicyMessages = { { heading: "Ваш IP-адрес", paragraphs: [ - "Мы храним ваш IP-адрес только для одной цели. Agenceland MCP Marketplace пока не принимает загрузки от аккаунтов. Когда это станет возможно, Marketplace будет записывать IP-адрес, с которого пришла каждая загрузка, вместе с самой загрузкой. Если окажется, что загрузка содержит вредоносное программное обеспечение, мы используем этот адрес, чтобы установить, откуда она пришла, и передадим его компетентным органам. Ни для чего другого мы его не используем.", "Мы не храним IP-адреса вместе с вашим аккаунтом, вашими сессиями или в журналах доступа наших веб-серверов.", "Чтобы затруднить подбор паролей, служба входа в течение нескольких минут считает запросы с каждого адреса. Этот счёт находится только в памяти и никуда не записывается.", ], @@ -37,7 +36,7 @@ export const ruRU: PolicyMessages = { { heading: "Мы не продаём ваши данные", paragraphs: [ - "Мы не продаём, не сдаём в аренду и не передаём ваши данные никому, включая ваш IP-адрес. Мы не используем их для рекламы и не составляем ваш профиль.", + "Мы не продаём, не сдаём в аренду и не передаём ваши данные никому. Мы не используем их для рекламы и не составляем ваш профиль.", ], }, { @@ -56,7 +55,7 @@ export const ruRU: PolicyMessages = { { heading: "Как долго мы храним данные", paragraphs: [ - "Данные аккаунта хранятся, пока существует аккаунт. Сессия удаляется после её окончания. IP-адрес загрузки в Agenceland MCP Marketplace будет храниться, пока загрузка находится в Marketplace, и ещё один год после её удаления, чтобы можно было разобраться и с поздно поступившим сообщением.", + "Данные аккаунта хранятся, пока существует аккаунт. Сессия удаляется после её окончания.", ], }, { @@ -76,7 +75,7 @@ export const ruRU: PolicyMessages = { security: { title: "Политика безопасности", description: - "Как Progmasoft защищает ваш аккаунт и Agenceland MCP Marketplace, что запрещено в Marketplace и как сообщить об уязвимости.", + "Как Progmasoft защищает ваш аккаунт и соединения и как сообщить об уязвимости.", sections: [ { heading: "Ваш аккаунт", @@ -91,14 +90,6 @@ export const ruRU: PolicyMessages = { "Каждый сайт Progmasoft доступен только по HTTPS, и браузерам предписано так и продолжать (HSTS). Каждая страница содержит Content Security Policy, которая разрешает только скрипты, названные самой страницей, и скрипт аналитики Cloudflare.", ], }, - { - heading: "Вредоносное ПО в Agenceland MCP Marketplace", - paragraphs: [ - "Загружать в Agenceland MCP Marketplace вредоносное программное обеспечение запрещено: программы, которые вредят компьютерам, на которых работают, шпионят за ними или захватывают над ними контроль, или делают не то, что заявляют.", - "Если мы находим такую программу или нам о ней сообщают, мы убираем её из Marketplace: её файлы больше не выдаются и хранятся в недоступном месте только как доказательство. Мы закрываем аккаунт, который её загрузил, и передаём IP-адрес загрузки компетентным органам, как описано в Политике конфиденциальности.", - "Каждый MCP-сервер, который выдаёт Marketplace, указан со своей закреплённой версией и дайджестом SHA-256, и Agenceland проверяет дайджест перед установкой сервера.", - ], - }, { heading: "О чём мы вас просим", paragraphs: [ diff --git a/apps/web/lib/products.ts b/apps/web/lib/products.ts index 5de146a..0191132 100644 --- a/apps/web/lib/products.ts +++ b/apps/web/lib/products.ts @@ -10,14 +10,7 @@ export { catalogMessages, type CatalogMessages } from "./catalog-messages.ts"; * The projects of product.progmasoft.com, in the order the catalog lists * them. Each has a page there; the catalog introduces it and leads on. */ -export const productSlugs = [ - "tazel", - "catch3", - "agenceland", - "archer", - "etincelle", - "opentala", -] as const; +export const productSlugs = ["tazel", "catch3", "opentala"] as const; export type ProductSlug = (typeof productSlugs)[number]; export function isProductSlug(value: string): value is ProductSlug { @@ -27,21 +20,11 @@ export function isProductSlug(value: string): value is ProductSlug { export const productCategories = [ "build", "testing", - "ide", - "data-format", - "data-processing", "operating-system", ] as const; export type ProductCategory = (typeof productCategories)[number]; -export const productLanguages = [ - "C", - "C#", - "C++", - "Java", - "Kotlin", - "TypeScript", -] as const; +export const productLanguages = ["C", "C#", "C++"] as const; export type ProductLanguage = (typeof productLanguages)[number]; /** `released` once a version is out; `development` before the first one. */ @@ -116,36 +99,6 @@ export const products: Record<ProductSlug, ProductFacts> = { }, accent: "green", }, - agenceland: { - name: "Agenceland", - ...github("agenceland"), - license: "MIT", - language: "TypeScript", - category: "ide", - status: "development", - started: "2026-11-13", - accent: "violet", - }, - archer: { - name: "Archer", - ...github("archer"), - license: "MIT", - language: "Java", - category: "data-format", - status: "development", - started: "2026-11-14", - accent: "blue", - }, - etincelle: { - name: "Etincelle", - ...github("etincelle"), - license: "MIT", - language: "Java", - category: "data-processing", - status: "development", - started: "2026-11-14", - accent: "teal", - }, opentala: { name: "OpenTala", ...github("opentala"), diff --git a/apps/web/proxy.ts b/apps/web/proxy.ts index c7052b3..91dfa6f 100644 --- a/apps/web/proxy.ts +++ b/apps/web/proxy.ts @@ -12,7 +12,6 @@ import { } from "@/lib/localization"; import { authorizeRoute, consoleRoute, issuerRoute } from "@/lib/credentials"; import { productRoute } from "@/lib/sites"; -import { mcpRoute } from "@/lib/mcp-messages"; import { gitRoute } from "@/lib/git-messages"; import { newsRoute } from "@/lib/news"; import { @@ -72,12 +71,6 @@ const ownSites: OwnSite[] = [ route: gitRoute, api: false, }, - { - hosts: hostsOf("agencelandmcp"), - root: "/mcp", - route: mcpRoute, - api: false, - }, ]; function handle(request: NextRequest) { diff --git a/apps/web/tests/catalog.test.mjs b/apps/web/tests/catalog.test.mjs index 6e9c1ae..f389eeb 100644 --- a/apps/web/tests/catalog.test.mjs +++ b/apps/web/tests/catalog.test.mjs @@ -21,15 +21,11 @@ test("an empty search finds every project in catalog order", () => { }); test("the query matches names, categories and text without regard to case", () => { - expect(filterProducts("en-US", { query: "ARCHER" })).toStrictEqual([ - "archer", + expect(filterProducts("en-US", { query: "OPENTALA" })).toStrictEqual([ + "opentala", ]); - expect(filterProducts("en-US", { query: "jvm" })).toStrictEqual([ - "archer", - "etincelle", - ]); - expect(filterProducts("en-US", { query: "spark" })).toStrictEqual([ - "etincelle", + expect(filterProducts("en-US", { query: "darwin" })).toStrictEqual([ + "opentala", ]); expect(filterProducts("en-US", { query: "build system" })).toStrictEqual([ "tazel", @@ -44,24 +40,24 @@ test("the query matches names, categories and text without regard to case", () = }); test("category, language and status narrow the search together", () => { - expect( - filterProducts("en-US", { query: "", language: "Java" }), - ).toStrictEqual(["archer", "etincelle"]); + expect(filterProducts("en-US", { query: "", language: "C#" })).toStrictEqual([ + "tazel", + ]); expect( filterProducts("en-US", { query: "", status: "released" }), ).toStrictEqual(["tazel", "catch3", "opentala"]); expect( filterProducts("en-US", { query: "", - language: "Java", - category: "data-format", + language: "C++", + category: "testing", }), - ).toStrictEqual(["archer"]); + ).toStrictEqual(["catch3"]); expect( filterProducts("en-US", { query: "", - language: "Java", - status: "released", + language: "C#", + status: "development", }), ).toStrictEqual([]); }); @@ -69,15 +65,15 @@ test("category, language and status narrow the search together", () => { test("the query string becomes a filter; unknown values ask for anything", () => { expect( parseProductFilter({ - q: " ide ", - category: "ide", - language: "Java", + q: " build ", + category: "build", + language: "C#", status: "released", }), ).toStrictEqual({ - query: "ide", - category: "ide", - language: "Java", + query: "build", + category: "build", + language: "C#", status: "released", }); expect( diff --git a/apps/web/tests/policies.test.mjs b/apps/web/tests/policies.test.mjs index d2871b8..4fdf1b8 100644 --- a/apps/web/tests/policies.test.mjs +++ b/apps/web/tests/policies.test.mjs @@ -53,21 +53,15 @@ test("every language has both policies, part for part", () => { } }); -test("the privacy policy keeps the IP address for marketplace uploads only and sells nothing", () => { +test("the privacy policy does not store IP addresses and sells nothing", () => { const privacy = enUS.privacy.sections.map((section) => section.paragraphs.join(" "), ); const address = privacy.find((text) => - text.startsWith("We keep your IP address for one purpose only."), + text.startsWith("We do not keep IP addresses with your account"), ); expect(address).toBeTruthy(); - expect(address).toMatch( - /the marketplace will record the IP address each upload came from/, - ); - expect(address).toMatch( - /The Agenceland MCP Marketplace does not yet take uploads from accounts/, - ); - expect(address).toMatch(/competent authorities/); + expect(address).toMatch(/held in memory and never written down/); expect( privacy.some((text) => text.startsWith("We do not sell, rent or trade your data"), @@ -89,11 +83,10 @@ test("registration names the policies in every language", () => { }); }); -test("the newest version names the Agenceland MCP Marketplace and no closed service", () => { +test("the newest version names no closed service or marketplace", () => { for (const locale of supportedLocales) { const text = JSON.stringify(policies[locale]); - expect(text, locale).not.toMatch(/ViGet|Tazel/); - expect(text, locale).toMatch(/Agenceland MCP Marketplace/); + expect(text, locale).not.toMatch(/ViGet|Tazel|Agenceland|Marketplace/); } // The version of 2026-11-06 stays as it was published. expect(JSON.stringify(enUS20261106)).toMatch( diff --git a/apps/web/tests/sites.test.mjs b/apps/web/tests/sites.test.mjs index c9a7436..20fc783 100644 --- a/apps/web/tests/sites.test.mjs +++ b/apps/web/tests/sites.test.mjs @@ -11,7 +11,6 @@ import { products, } from "../lib/products.ts"; import { productRoute } from "../lib/sites.ts"; -import { mcpMessages, mcpRoute } from "../lib/mcp-messages.ts"; import { gitMessages, gitRoute } from "../lib/git-messages.ts"; function shape(value) { @@ -38,14 +37,7 @@ test("every language has the same home and catalog text", () => { }); test("the catalog lists the projects, each with its repository", () => { - expect([...productSlugs]).toStrictEqual([ - "tazel", - "catch3", - "agenceland", - "archer", - "etincelle", - "opentala", - ]); + expect([...productSlugs]).toStrictEqual(["tazel", "catch3", "opentala"]); for (const slug of productSlugs) { const product = products[slug]; if (product.site !== undefined) { @@ -85,16 +77,6 @@ test("the product hosts map to their internal routes", () => { expect(productRoute("/../x")).toBe(null); }); -test("the MCP Marketplace has its root alone, in every language", () => { - expect(mcpRoute("/")).toBe("/mcp"); - expect(mcpRoute("/servers")).toBe(null); - expect(mcpRoute("/upload")).toBe(null); - const english = shape(mcpMessages["en-US"]); - for (const locale of supportedLocales) { - expect(shape(mcpMessages[locale]), locale).toStrictEqual(english); - } -}); - test("git.progmasoft.com has its listing and the views of each repository", () => { const sha = "0123456789abcdef0123456789abcdef01234567"; expect(gitRoute("/")).toBe("/git"); diff --git a/apps/web/tests/structured-data.test.mjs b/apps/web/tests/structured-data.test.mjs index 5e833e2..79f658a 100644 --- a/apps/web/tests/structured-data.test.mjs +++ b/apps/web/tests/structured-data.test.mjs @@ -48,13 +48,11 @@ test("every project has its data in every language", () => { } }); -test("a released project names its version, one in development does not", () => { +test("a released project names its version", () => { expect(productData("catch3", "en-US").creativeWorkStatus).toBe("Released"); expect(productData("tazel", "en-US").version).toBe("0.3.0"); - expect(productData("archer", "en-US").creativeWorkStatus).toBe( - "In development", - ); - expect(productData("archer", "en-US").version).toBe(undefined); + expect(productData("opentala", "en-US").creativeWorkStatus).toBe("Released"); + expect(productData("opentala", "en-US").version).toBe("0.1.0"); }); test("the catalog lists every project in order", () => { diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md index 592fb43..42087f3 100644 --- a/docs/ARCHITECTURE.md +++ b/docs/ARCHITECTURE.md @@ -16,7 +16,7 @@ Both listen on loopback only. Nginx is the only public listener and terminates T browser | HTTPS v -Nginx (progmasoft.com, account., credentials., authorize., console., product., license., agencelandmcp., git.) +Nginx (progmasoft.com, account., credentials., authorize., console., product., license., git.) | | | pages: http://127.0.0.1:3010 | OAuth hosts only: /connect/*, /.well-known/* (issuer) v | and /api/* go straight to http://127.0.0.1:5085 @@ -46,7 +46,6 @@ One build serves every host. The host of a request, not a separate deployment, d | `console.progmasoft.com` | the Progmasoft Console: OAuth 2.1 tokens of the account's applications (`/credentials`, `/credentials/new`, `/credentials/<clientId>`) | `/console` | | `product.progmasoft.com` | the product catalog: `/`, `/<product>`, `/categories`, `/languages`, `/releases` | `/products` | | `license.progmasoft.com` | the Progmasoft Source License 1.0 and its pages | `/license` | -| `agencelandmcp.progmasoft.com` | the Agenceland MCP Marketplace: one page, no server listed, no uploads | `/mcp` | | `git.progmasoft.com` | the read-only mirrors: the listing, and the files, log, branches, tags and commits of each | `/git` | Nginx alone answers three more names from the same file: `viget.progmasoft.com` with 410 Gone (ViGet was closed), @@ -62,10 +61,10 @@ hosts during development. 1. **Language parameter.** `?lang=<locale>` with a published locale stores the language cookie and redirects to the same URL without the parameter. See [Localization](LOCALIZATION.md). -2. **Sites of their own.** On the credentials, authorize, console, product, license, agencelandmcp and git hosts, a public path is +2. **Sites of their own.** On the credentials, authorize, console, product, license and git hosts, a public path is rewritten into the host's internal tree (the table above); a path the host does not have shows its not-found page. `/api/*` passes through on the credentials, authorize and console hosts only. -3. **Internal trees stay internal.** `/issuer`, `/authorize`, `/console`, `/products`, `/license`, `/mcp` and `/git` on any other host +3. **Internal trees stay internal.** `/issuer`, `/authorize`, `/console`, `/products`, `/license` and `/git` on any other host show the not-found page. 4. **Account root.** `/` on the account host is rewritten to the internal `/account` page, so the account landing page has the short URL. @@ -93,7 +92,6 @@ The host is read from `X-Forwarded-Host` first and `Host` second, without the po | `/`, `/credentials`, `/credentials/new[/<kind>]`, `/credentials/<clientId>` (console host) | the Progmasoft Console | no | | `/`, `/<product>`, `/categories`, `/languages`, `/releases` (product host) | the product catalog | yes | | `/`, `/pm-spl/1.0/<page>` (license host) | the Progmasoft Source License | yes | -| `/` (agencelandmcp host) | the Agenceland MCP Marketplace | yes | | `/`, `/<repo>` (git host) | the mirrors and each repository | yes | | `/<repo>/tree`, `/<repo>/log`, `/<repo>/refs`, `/<repo>/commit/<sha>` (git host) | files, log, branches and tags, a commit | no | diff --git a/ops/nginx/progmaweb.conf b/ops/nginx/progmaweb.conf index f0d01d1..962b61d 100644 --- a/ops/nginx/progmaweb.conf +++ b/ops/nginx/progmaweb.conf @@ -447,53 +447,6 @@ server { } } -# The Agenceland MCP Marketplace (agencelandmcp.progmasoft.com): pages of the Next.js site only; -# it takes no uploads, so a request body is never larger than a form. -server { - listen 80; - listen [::]:80; - server_name agencelandmcp.progmasoft.com; - - location ^~ /.well-known/acme-challenge/ { - root /var/lib/letsencrypt; - default_type text/plain; - } - - location / { - return 308 https://agencelandmcp.progmasoft.com$request_uri; - } -} - -server { - listen 443 ssl; - listen [::]:443 ssl; - http2 on; - server_name agencelandmcp.progmasoft.com; - - ssl_certificate /etc/letsencrypt/live/progmasoft.com/fullchain.pem; - ssl_certificate_key /etc/letsencrypt/live/progmasoft.com/privkey.pem; - include /etc/letsencrypt/options-ssl-nginx.conf; - - client_max_body_size 1m; - - add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" always; - add_header X-Content-Type-Options "nosniff" always; - add_header X-Frame-Options "DENY" always; - add_header Referrer-Policy "strict-origin-when-cross-origin" always; - add_header Permissions-Policy "camera=(), microphone=(), geolocation=()" always; - - location / { - proxy_pass http://127.0.0.1:3010; - proxy_http_version 1.1; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - proxy_set_header X-Forwarded-Host $host; - proxy_read_timeout 60s; - } -} - # catch3.progmasoft.com was Catch3's site; every path moves to catch3.uk. server { listen 80;