sbuilder-mcp 0.111.1 → 0.111.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.111.2] - 2026-11-20
10
+
11
+ ### Changed
12
+ - The API catalog is regenerated against web_builder v1.0.293, so `sb_api_find` and `sb_api_call` now describe the body of POST and PUT `/api/sites/{siteId}/integrations`, including valid providers, `config.measurementId`, `containerId` and `pixelId`, pasted snippets, `?dryRun=true` validation, and the `invalid_tracking_id` error.
13
+
9
14
  ## [0.111.1] - 2026-11-20
10
15
 
11
16
  ### Added
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.111.2] - 2026-11-20
10
+
11
+ ### Changed
12
+ - Danh mục API được tạo lại theo web_builder v1.0.293, nên `sb_api_find` và `sb_api_call` giờ mô tả body của POST và PUT `/api/sites/{siteId}/integrations`, gồm provider hợp lệ, `config.measurementId`, `containerId` và `pixelId`, đoạn mã dán nguyên, kiểm tra bằng `?dryRun=true`, và lỗi `invalid_tracking_id`.
13
+
9
14
  ## [0.111.1] - 2026-11-20
10
15
 
11
16
  ### Added
@@ -1,7 +1,7 @@
1
1
  export const SWAGGER_SOURCE = {
2
2
  "operations": 1011,
3
3
  "definitions": 444,
4
- "bodyCarrying": 487,
4
+ "bodyCarrying": 492,
5
5
  "bodyUndescribed": 122,
6
6
  "generatedFrom": "server/docs/swagger.json"
7
7
  };
@@ -14260,7 +14260,7 @@ export const API_OPERATIONS = [
14260
14260
  "tags": [
14261
14261
  "integrations"
14262
14262
  ],
14263
- "summary": "List or connect site integrations",
14263
+ "summary": "List or connect site integrations (GA4, GTM, Meta Pixel, TikTok Pixel)",
14264
14264
  "params": [
14265
14265
  {
14266
14266
  "name": "siteId",
@@ -14268,10 +14268,24 @@ export const API_OPERATIONS = [
14268
14268
  "required": true,
14269
14269
  "type": "string",
14270
14270
  "description": "Site ID"
14271
+ },
14272
+ {
14273
+ "name": "dryRun",
14274
+ "in": "query",
14275
+ "required": false,
14276
+ "type": "boolean",
14277
+ "description": "true = validate and clean only, nothing saved (POST only)"
14278
+ },
14279
+ {
14280
+ "name": "integration",
14281
+ "in": "body",
14282
+ "required": false,
14283
+ "type": "object",
14284
+ "description": "Provider + config to connect (POST only); id/siteId/timestamps are server-owned"
14271
14285
  }
14272
14286
  ],
14273
- "bodyDescribed": false,
14274
- "bodyRef": null,
14287
+ "bodyDescribed": true,
14288
+ "bodyRef": "github_com_webbuilder_server_internal_integrations.Integration",
14275
14289
  "credential": "siteScoped"
14276
14290
  },
14277
14291
  {
@@ -14281,7 +14295,7 @@ export const API_OPERATIONS = [
14281
14295
  "tags": [
14282
14296
  "integrations"
14283
14297
  ],
14284
- "summary": "List or connect site integrations",
14298
+ "summary": "List or connect site integrations (GA4, GTM, Meta Pixel, TikTok Pixel)",
14285
14299
  "params": [
14286
14300
  {
14287
14301
  "name": "siteId",
@@ -14289,10 +14303,24 @@ export const API_OPERATIONS = [
14289
14303
  "required": true,
14290
14304
  "type": "string",
14291
14305
  "description": "Site ID"
14306
+ },
14307
+ {
14308
+ "name": "dryRun",
14309
+ "in": "query",
14310
+ "required": false,
14311
+ "type": "boolean",
14312
+ "description": "true = validate and clean only, nothing saved (POST only)"
14313
+ },
14314
+ {
14315
+ "name": "integration",
14316
+ "in": "body",
14317
+ "required": false,
14318
+ "type": "object",
14319
+ "description": "Provider + config to connect (POST only); id/siteId/timestamps are server-owned"
14292
14320
  }
14293
14321
  ],
14294
- "bodyDescribed": false,
14295
- "bodyRef": null,
14322
+ "bodyDescribed": true,
14323
+ "bodyRef": "github_com_webbuilder_server_internal_integrations.Integration",
14296
14324
  "credential": "siteScoped"
14297
14325
  },
14298
14326
  {
@@ -14317,10 +14345,17 @@ export const API_OPERATIONS = [
14317
14345
  "required": true,
14318
14346
  "type": "string",
14319
14347
  "description": "Integration ID"
14348
+ },
14349
+ {
14350
+ "name": "integration",
14351
+ "in": "body",
14352
+ "required": false,
14353
+ "type": "object",
14354
+ "description": "Provider, enabled, config (PUT only)"
14320
14355
  }
14321
14356
  ],
14322
- "bodyDescribed": false,
14323
- "bodyRef": null,
14357
+ "bodyDescribed": true,
14358
+ "bodyRef": "github_com_webbuilder_server_internal_integrations.Integration",
14324
14359
  "credential": "siteScoped"
14325
14360
  },
14326
14361
  {
@@ -14345,10 +14380,17 @@ export const API_OPERATIONS = [
14345
14380
  "required": true,
14346
14381
  "type": "string",
14347
14382
  "description": "Integration ID"
14383
+ },
14384
+ {
14385
+ "name": "integration",
14386
+ "in": "body",
14387
+ "required": false,
14388
+ "type": "object",
14389
+ "description": "Provider, enabled, config (PUT only)"
14348
14390
  }
14349
14391
  ],
14350
- "bodyDescribed": false,
14351
- "bodyRef": null,
14392
+ "bodyDescribed": true,
14393
+ "bodyRef": "github_com_webbuilder_server_internal_integrations.Integration",
14352
14394
  "credential": "siteScoped"
14353
14395
  },
14354
14396
  {
@@ -14373,10 +14415,17 @@ export const API_OPERATIONS = [
14373
14415
  "required": true,
14374
14416
  "type": "string",
14375
14417
  "description": "Integration ID"
14418
+ },
14419
+ {
14420
+ "name": "integration",
14421
+ "in": "body",
14422
+ "required": false,
14423
+ "type": "object",
14424
+ "description": "Provider, enabled, config (PUT only)"
14376
14425
  }
14377
14426
  ],
14378
- "bodyDescribed": false,
14379
- "bodyRef": null,
14427
+ "bodyDescribed": true,
14428
+ "bodyRef": "github_com_webbuilder_server_internal_integrations.Integration",
14380
14429
  "credential": "siteScoped"
14381
14430
  },
14382
14431
  {
@@ -33162,6 +33211,7 @@ export const API_DEFINITIONS = {
33162
33211
  "type": "object",
33163
33212
  "properties": {
33164
33213
  "config": {
33214
+ "description": "Config holds the one id: measurementId (G-…), containerId (GTM-…) or pixelId (Meta: digits); a pasted snippet or URL is accepted and the id extracted.",
33165
33215
  "type": "object",
33166
33216
  "additionalProperties": {
33167
33217
  "type": "string"
@@ -33171,12 +33221,14 @@ export const API_DEFINITIONS = {
33171
33221
  "type": "string"
33172
33222
  },
33173
33223
  "enabled": {
33224
+ "description": "Enabled false keeps the id but puts no tag on the storefront.",
33174
33225
  "type": "boolean"
33175
33226
  },
33176
33227
  "id": {
33177
33228
  "type": "string"
33178
33229
  },
33179
33230
  "provider": {
33231
+ "description": "Provider is one of google_analytics, google_tag_manager, facebook_pixel, tiktok_pixel.",
33180
33232
  "type": "string"
33181
33233
  },
33182
33234
  "siteId": {
@@ -1,6 +1,6 @@
1
1
  export const DEAD_KEY_SOURCE = {
2
- "files": 6526,
3
- "identifiers": 119212,
2
+ "files": 7051,
3
+ "identifiers": 120577,
4
4
  "seededKeys": 483,
5
5
  "dead": 0
6
6
  };
@@ -4,7 +4,7 @@ export const SHAPE_SOURCE = {
4
4
  "fromHandlers": 363,
5
5
  "fromSwaggerOnly": 12,
6
6
  "withReadOnly": 29,
7
- "structsRead": 3871
7
+ "structsRead": 3873
8
8
  };
9
9
  export const REQUEST_SHAPES = {
10
10
  "post:/api/ai/credits": {
@@ -5399,15 +5399,18 @@ export const REQUEST_SHAPES = {
5399
5399
  },
5400
5400
  {
5401
5401
  "name": "provider",
5402
- "type": "string"
5402
+ "type": "string",
5403
+ "note": "Provider is one of google_analytics, google_tag_manager, facebook_pixel, tiktok_pixel."
5403
5404
  },
5404
5405
  {
5405
5406
  "name": "enabled",
5406
- "type": "boolean"
5407
+ "type": "boolean",
5408
+ "note": "Enabled false keeps the id but puts no tag on the storefront."
5407
5409
  },
5408
5410
  {
5409
5411
  "name": "config",
5410
- "type": "{ [string]: string }"
5412
+ "type": "{ [string]: string }",
5413
+ "note": "Config holds the one id: measurementId (G-…), containerId (GTM-…) or pixelId (Meta: digits); a pasted snippet or URL is accepted and the id extracted."
5411
5414
  },
5412
5415
  {
5413
5416
  "name": "createdAt",
@@ -5439,15 +5442,18 @@ export const REQUEST_SHAPES = {
5439
5442
  },
5440
5443
  {
5441
5444
  "name": "provider",
5442
- "type": "string"
5445
+ "type": "string",
5446
+ "note": "Provider is one of google_analytics, google_tag_manager, facebook_pixel, tiktok_pixel."
5443
5447
  },
5444
5448
  {
5445
5449
  "name": "enabled",
5446
- "type": "boolean"
5450
+ "type": "boolean",
5451
+ "note": "Enabled false keeps the id but puts no tag on the storefront."
5447
5452
  },
5448
5453
  {
5449
5454
  "name": "config",
5450
- "type": "{ [string]: string }"
5455
+ "type": "{ [string]: string }",
5456
+ "note": "Config holds the one id: measurementId (G-…), containerId (GTM-…) or pixelId (Meta: digits); a pasted snippet or URL is accepted and the id extracted."
5451
5457
  },
5452
5458
  {
5453
5459
  "name": "createdAt",
@@ -1,7 +1,7 @@
1
1
  // GENERATED by scripts/gen-catalog.ts — do not edit by hand.
2
2
  // The platform commit every other generated file here describes.
3
3
  export const PLATFORM_SOURCE = {
4
- "commit": "e9a4bae765e12acb74d7ce77a4d7e16891c93154",
5
- "committedAt": "2026-11-20T16:43:17+07:00",
4
+ "commit": "828de7dd35d1b3fac8c7ff1d8504360cc683dfdd",
5
+ "committedAt": "2026-11-20T16:57:17+07:00",
6
6
  "dirty": false
7
7
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sbuilder-mcp",
3
- "version": "0.111.1",
3
+ "version": "0.111.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",