sbuilder-mcp 0.113.1 → 0.113.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -6,6 +6,11 @@ All notable changes to this project are documented in this file.
6
6
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
7
7
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
8
8
 
9
+ ## [0.113.2] - 2026-11-25
10
+
11
+ ### Fixed
12
+ - `sb_duplicate` reconciles a cross-site paste with the account session instead of an API key, so a key for the target site no longer borrows its creator's standing on the source site.
13
+
9
14
  ## [0.113.1] - 2026-11-24
10
15
 
11
16
  ### Changed
package/CHANGELOG.vi.md CHANGED
@@ -6,6 +6,11 @@ Mọi thay đổi đáng chú ý của dự án được ghi lại trong file n
6
6
  Định dạng dựa trên [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
7
7
  và dự án tuân theo [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
8
8
 
9
+ ## [0.113.2] - 2026-11-25
10
+
11
+ ### Fixed
12
+ - `sb_duplicate` đối chiếu thao tác dán giữa các site bằng phiên tài khoản thay vì khóa API, nên khóa của site đích không còn mượn quyền của người tạo nó trên site nguồn.
13
+
9
14
  ## [0.113.1] - 2026-11-24
10
15
 
11
16
  ### Changed
@@ -2310,7 +2310,12 @@ export function registerPageTools(server, ctx) {
2310
2310
  base: ctx.base,
2311
2311
  method: 'POST',
2312
2312
  path: `/api/sites/${encodeURIComponent(toSite)}/clipboard/reconcile`,
2313
- token: siteToken(ctx),
2313
+ // THE ACCOUNT SESSION, never the key, even on the key's own site: the reconcile
2314
+ // reads the SOURCE site's assets, which only a person's membership vouches for.
2315
+ // The platform refuses a delegated (API-key) caller here (web_builder
2316
+ // sitecopy/rest, 2026-11-25); a key on the target used to pass because it
2317
+ // borrowed its creator's standing on every other site.
2318
+ token: ctx.session.loggedIn() ? ctx.session.token() : siteToken(ctx),
2314
2319
  body: { sourceSiteId: from.siteId, tree },
2315
2320
  fetchImpl: ctx.fetchImpl,
2316
2321
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sbuilder-mcp",
3
- "version": "0.113.1",
3
+ "version": "0.113.2",
4
4
  "description": "MCP server that designs and operates a Store Builder site — pages, data, theme and publish — through the platform's own API and live-edit protocol.",
5
5
  "mcpName": "io.github.vuluu2k/sbuilder-mcp",
6
6
  "type": "module",