diff --git a/app/tests/agent-plugin.test.ts b/app/tests/agent-plugin.test.ts index 8ab874ca..9942f51f 100644 --- a/app/tests/agent-plugin.test.ts +++ b/app/tests/agent-plugin.test.ts @@ -31,10 +31,7 @@ describe("the allthings agent plugin", () => { expect(Object.keys(config.mcpServers)).toEqual(["allthings"]); expect(config.mcpServers.allthings).toEqual({ type: "streamable-http", - // allthingsweb.dev until allthings.dev serves the new site: before the - // domain moves, allthings.dev only redirects, and a redirect drops an - // MCP POST. It flips with the move (infra/docs/r2-migration.md). - url: "https://allthingsweb.dev/mcp", + url: "https://allthings.dev/mcp", }); }); diff --git a/cli/README.md b/cli/README.md index 2b0999ac..600d5e45 100644 --- a/cli/README.md +++ b/cli/README.md @@ -39,6 +39,6 @@ bun run check && bun run typecheck && bun test bun run src/index.ts events ``` -`src/config.ts` holds the site it talks to, `siteOrigin`. It stays on allthingsweb.dev until allthings.dev serves the new site: until then allthings.dev only redirects, and a redirect drops an MCP POST. It flips with the domain move (`infra/docs/r2-migration.md`, Phase 4). +`src/config.ts` holds the site it talks to, `siteOrigin`: https://allthings.dev, whose MCP server is at `/mcp`. Releases are GitHub releases, cut by pushing a tag that matches `version` in `package.json` (`.github/workflows/cli-release.yaml`). A hyphenated tag (`2.0.0-alpha.2`) is a prerelease, and the installer skips it unless asked. Nothing is published to npm: the package is private. diff --git a/cli/src/config.ts b/cli/src/config.ts index 848eefc8..9611723c 100644 --- a/cli/src/config.ts +++ b/cli/src/config.ts @@ -1,12 +1,5 @@ -/** - * The site the CLI talks to, and the one value that moves it. allthingsweb.dev - * serves the MCP server until allthings.dev does: before the domain moves, - * allthings.dev only redirects there, and a redirect drops an MCP POST. Flip - * this to "https://allthings.dev" once the new site answers on it - * (infra/docs/r2-migration.md, Phase 4). - */ -export const siteOrigin: "https://allthingsweb.dev" | "https://allthings.dev" = - "https://allthingsweb.dev"; +/** The site the CLI talks to: its MCP server is at `/mcp`. */ +export const siteOrigin = "https://allthings.dev"; /** The public MCP server every command reads from. */ export const defaultEndpoint = `${siteOrigin}/mcp`; diff --git a/cli/src/schemas.ts b/cli/src/schemas.ts index ec2fc2c0..2003721d 100644 --- a/cli/src/schemas.ts +++ b/cli/src/schemas.ts @@ -1,7 +1,7 @@ import { z } from "zod"; /** - * The public All Things Web contract, as served by https://allthingsweb.dev/mcp. + * The public all things contract, as served by https://allthings.dev/mcp. * Mirrors app/src/lib/public-api/schemas.ts; a contract test keeps them equal. */ diff --git a/cli/tests/client.test.ts b/cli/tests/client.test.ts index 33d0da72..e1145a0a 100644 --- a/cli/tests/client.test.ts +++ b/cli/tests/client.test.ts @@ -142,7 +142,7 @@ describe("MCP client", () => { ExitCode.ServiceError, ); expect(error.message).toBe( - "Could not reach https://allthingsweb.dev/mcp: timed out", + "Could not reach https://allthings.dev/mcp: timed out", ); }); }); diff --git a/cli/tests/config.test.ts b/cli/tests/config.test.ts index 2342d574..f2d0722b 100644 --- a/cli/tests/config.test.ts +++ b/cli/tests/config.test.ts @@ -8,13 +8,9 @@ import { import packageJson from "../package.json"; describe("config", () => { - test("the default endpoint is the site's MCP server", () => { - expect(defaultEndpoint).toBe(`${siteOrigin}/mcp`); - // Until allthings.dev serves the new site, it only redirects, and a - // redirect drops an MCP POST. - expect(["https://allthingsweb.dev", "https://allthings.dev"]).toContain( - siteOrigin, - ); + test("the default endpoint is the site's MCP server, on allthings.dev", () => { + expect(siteOrigin).toBe("https://allthings.dev"); + expect(defaultEndpoint).toBe("https://allthings.dev/mcp"); }); test("ALLTHINGS_MCP_URL wins, then ATW_MCP_URL, then the default", () => { diff --git a/cli/tests/fixtures.ts b/cli/tests/fixtures.ts index e91e771a..fb5ee9e9 100644 --- a/cli/tests/fixtures.ts +++ b/cli/tests/fixtures.ts @@ -10,7 +10,7 @@ export const summary: EventSummary = { slug: "2026-09-30-effect", name: "Effect San Francisco", tagline: "An evening with Michael Arnaldi", - url: "https://allthingsweb.dev/2026-09-30-effect", + url: "https://allthings.dev/2026-09-30-effect", status: "upcoming", startsAt: "2026-10-01T00:30:00.000Z", endsAt: "2026-10-01T03:30:00.000Z", @@ -54,7 +54,7 @@ export const speaker: Speaker = { title: "Analytical engines", eventName: "All Things Web", eventSlug: "2024-05-14-remix", - eventUrl: "https://allthingsweb.dev/2024-05-14-remix", + eventUrl: "https://allthings.dev/2024-05-14-remix", date: "2024-05-15T01:00:00.000Z", }, ], @@ -69,10 +69,10 @@ export const community: Community = { independence: "Independence.", hosting: "Hosting.", links: { - website: "https://allthingsweb.dev", + website: "https://allthings.dev", events: "https://luma.com/allthingsweb", discord: "https://discord.gg/B3Sm4b5mfD", - codeOfConduct: "https://allthingsweb.dev/code-of-conduct", + codeOfConduct: "https://allthings.dev/code-of-conduct", }, }; diff --git a/core/scripts/fixtures.ts b/core/scripts/fixtures.ts index 7b79c169..6890ea28 100644 --- a/core/scripts/fixtures.ts +++ b/core/scripts/fixtures.ts @@ -4,7 +4,7 @@ * * bun run fixtures [endpoint] */ -const endpoint = process.argv[2] ?? "https://allthingsweb.dev/mcp"; +const endpoint = process.argv[2] ?? "https://allthings.dev/mcp"; const dir = new URL("../tests/fixtures/", import.meta.url); async function call(name: string, args: Record) { diff --git a/plugins/allthings/mcp.json b/plugins/allthings/mcp.json index 471abbeb..88e20012 100644 --- a/plugins/allthings/mcp.json +++ b/plugins/allthings/mcp.json @@ -3,7 +3,7 @@ "mcpServers": { "allthings": { "type": "streamable-http", - "url": "https://allthingsweb.dev/mcp" + "url": "https://allthings.dev/mcp" } } } diff --git a/plugins/allthings/plugin.json b/plugins/allthings/plugin.json index 2cc2351d..e8017b08 100644 --- a/plugins/allthings/plugin.json +++ b/plugins/allthings/plugin.json @@ -1,7 +1,7 @@ { "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json", "name": "allthings", - "version": "0.2.0", + "version": "0.2.1", "description": "Find all things evenings in San Francisco, for people who build software: what's coming up, who's on stage and what they built, who's hosting, and where to say you're in.", "author": { "name": "all things",