Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions app/tests/agent-plugin.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
});
});

Expand Down
2 changes: 1 addition & 1 deletion cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
11 changes: 2 additions & 9 deletions cli/src/config.ts
Original file line number Diff line number Diff line change
@@ -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`;
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Expand Down
2 changes: 1 addition & 1 deletion cli/src/schemas.ts
Original file line number Diff line number Diff line change
@@ -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.
*/

Expand Down
2 changes: 1 addition & 1 deletion cli/tests/client.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
);
});
});
10 changes: 3 additions & 7 deletions cli/tests/config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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", () => {
Expand Down
8 changes: 4 additions & 4 deletions cli/tests/fixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
},
],
Expand All @@ -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",
},
};

Expand Down
2 changes: 1 addition & 1 deletion core/scripts/fixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, unknown>) {
Expand Down
2 changes: 1 addition & 1 deletion plugins/allthings/mcp.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"mcpServers": {
"allthings": {
"type": "streamable-http",
"url": "https://allthingsweb.dev/mcp"
"url": "https://allthings.dev/mcp"
}
}
}
2 changes: 1 addition & 1 deletion plugins/allthings/plugin.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
Loading