diff --git a/.changeset/canonical-post-links.md b/.changeset/canonical-post-links.md deleted file mode 100644 index 8a4bc8f..0000000 --- a/.changeset/canonical-post-links.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -"sideshow": patch ---- - -Emit canonical `/p/` post links everywhere a link is produced, finishing -the post/surface vocabulary migration. The CLI (`sideshow publish` / `update` -output), the viewer's copy-link and open-as-image actions, the `` / OpenGraph preview tags, the viewer's History API URL shapes -(`/p/:id` and `/session/:id/p/:postId`), and every MCP tool response — -including the deprecated `publish_surface` / `publish_snippet` aliases — now -return `/p/` URLs. - -Nothing inbound changes: `/s/:id`, `/session/:id/s/:postId`, and `/s/:id.png` -remain accepted as legacy aliases (the screenshot Worker now matches both -`/p/:id.png` and `/s/:id.png`), and old `/s/` links keep resolving to the same -post page. diff --git a/.changeset/sync-release-main.md b/.changeset/sync-release-main.md new file mode 100644 index 0000000..a845151 --- /dev/null +++ b/.changeset/sync-release-main.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/CHANGELOG.md b/CHANGELOG.md index dc15edc..cff02a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## 0.11.1 + +### Patch Changes + +- af09e7a: Emit canonical `/p/` post links everywhere a link is produced, finishing + the post/surface vocabulary migration. The CLI (`sideshow publish` / `update` + output), the viewer's copy-link and open-as-image actions, the `` / OpenGraph preview tags, the viewer's History API URL shapes + (`/p/:id` and `/session/:id/p/:postId`), and every MCP tool response — + including the deprecated `publish_surface` / `publish_snippet` aliases — now + return `/p/` URLs. + + Nothing inbound changes: `/s/:id`, `/session/:id/s/:postId`, and `/s/:id.png` + remain accepted as legacy aliases (the screenshot Worker now matches both + `/p/:id.png` and `/s/:id.png`), and old `/s/` links keep resolving to the same + post page. + ## 0.11.0 ### Minor Changes diff --git a/extensions/sideshow.js b/extensions/sideshow.js index 19dc435..ade1cf2 100644 --- a/extensions/sideshow.js +++ b/extensions/sideshow.js @@ -187,7 +187,7 @@ function rememberSession(state, sessionId) { } function urlForSurface(surfaceId) { - return `${baseUrl()}/s/${surfaceId}`; + return `${baseUrl()}/p/${surfaceId}`; } function feedbackSummary(feedback) { diff --git a/package-lock.json b/package-lock.json index 51db2df..17b98f7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "sideshow", - "version": "0.11.0", + "version": "0.11.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "sideshow", - "version": "0.11.0", + "version": "0.11.1", "license": "MIT", "dependencies": { "@hono/node-server": "^1.14.0", diff --git a/package.json b/package.json index 5486a55..991083f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sideshow", - "version": "0.11.0", + "version": "0.11.1", "description": "A live visual surface for terminal coding agents — agents draw HTML snippets, you watch them in the browser and comment back.", "keywords": [ "agent-tools",