From 1f8a043b4d56d83c6df10bdae909df89d68fcef6 Mon Sep 17 00:00:00 2001 From: Revincxt <48945715+Revincxt@users.noreply.github.com> Date: Mon, 31 Aug 2026 13:15:02 +0800 Subject: [PATCH] fix: update links after repository rename --- README.md | 8 ++++---- pyproject.toml | 6 +++--- web/README.md | 2 +- web/app/page.tsx | 6 +++--- web/scripts/export-github-pages.mjs | 4 ++-- web/tests/pages-export.test.mjs | 18 +++++++++--------- web/tests/sites-build.test.mjs | 2 +- 7 files changed, 23 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index f5b5163..9a5f6d4 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,15 @@ # Adaptive Agent Lab -[](https://github.com/Revincxt/adaptive-agent-lab/actions/workflows/ci.yml) +[](https://github.com/Revincxt/adaptive-agent/actions/workflows/ci.yml) [](https://www.python.org/) -[](https://revincxt.github.io/adaptive-agent-lab/) +[](https://revincxt.github.io/adaptive-agent/) -[](https://revincxt.github.io/adaptive-agent-lab/) +[](https://revincxt.github.io/adaptive-agent/) **A reproducible laboratory for planning, reinforcement learning, and hybrid agents in dynamic single-robot warehouse delivery.** -> **[Open the multi-map replay explorer →](https://revincxt.github.io/adaptive-agent-lab/)** +> **[Open the multi-map replay explorer →](https://revincxt.github.io/adaptive-agent/)** > Inspect six controllers across four structured warehouse layouts. Each case > is an independent non-confirmatory demonstration, not evidence of an > algorithm ranking. diff --git a/pyproject.toml b/pyproject.toml index 6a0a265..154ca60 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,9 +41,9 @@ dev = [ aal = "adaptive_agent_lab.cli:main" [project.urls] -Homepage = "https://github.com/Revincxt/adaptive-agent-lab" -Repository = "https://github.com/Revincxt/adaptive-agent-lab" -Issues = "https://github.com/Revincxt/adaptive-agent-lab/issues" +Homepage = "https://github.com/Revincxt/adaptive-agent" +Repository = "https://github.com/Revincxt/adaptive-agent" +Issues = "https://github.com/Revincxt/adaptive-agent/issues" [tool.setuptools] package-dir = { "" = "src" } diff --git a/web/README.md b/web/README.md index 44a6063..53353f5 100644 --- a/web/README.md +++ b/web/README.md @@ -47,4 +47,4 @@ pnpm build `pnpm test` includes a production build before checking the rendered HTML. `pnpm test:pages` additionally exports and verifies the public -`/adaptive-agent-lab/` artifact used by GitHub Pages. +`/adaptive-agent/` artifact used by GitHub Pages. diff --git a/web/app/page.tsx b/web/app/page.tsx index 05e785b..152a844 100644 --- a/web/app/page.tsx +++ b/web/app/page.tsx @@ -391,7 +391,7 @@ export default function Home() {
Adaptive Agent Lab
{error}
- Open the repository + Open the repository ); } @@ -487,7 +487,7 @@ export default function Home() { @@ -959,7 +959,7 @@ export default function Home() { diff --git a/web/scripts/export-github-pages.mjs b/web/scripts/export-github-pages.mjs index 25fa3e0..61d461b 100644 --- a/web/scripts/export-github-pages.mjs +++ b/web/scripts/export-github-pages.mjs @@ -3,7 +3,7 @@ import { spawn } from "node:child_process"; import { cp, mkdir, readFile, rm, writeFile } from "node:fs/promises"; import { fileURLToPath } from "node:url"; -const pagesBase = process.env.GITHUB_PAGES_BASE_PATH ?? "/adaptive-agent-lab/"; +const pagesBase = process.env.GITHUB_PAGES_BASE_PATH ?? "/adaptive-agent/"; assert.match( pagesBase, @@ -107,7 +107,7 @@ assert.doesNotMatch( ); assert.doesNotMatch( html, - /adaptive-agent-lab\/adaptive-agent-lab/, + /adaptive-agent\/adaptive-agent/, "already-based public URLs must not be rebased twice", ); diff --git a/web/tests/pages-export.test.mjs b/web/tests/pages-export.test.mjs index d176e99..5c7e08f 100644 --- a/web/tests/pages-export.test.mjs +++ b/web/tests/pages-export.test.mjs @@ -7,40 +7,40 @@ test("exports a self-contained GitHub Pages artifact under the repository path", new URL("../dist/pages/index.html", import.meta.url), "utf8", ); - const pagesBase = "/adaptive-agent-lab/"; + const pagesBase = "/adaptive-agent/"; assert.match( html, /