sbuilder-mcp 0.98.0 → 0.98.1
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 +5 -0
- package/CHANGELOG.vi.md +5 -0
- package/dist/domains/site/node.js +2 -1
- package/package.json +1 -1
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.98.1] - 2026-10-28
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
- `sb_set` can re-source an element whose stored `kind` is an empty string, because an empty `kind` now reads as the element's default kind instead of an unknown one.
|
|
13
|
+
|
|
9
14
|
## [0.98.0] - 2026-10-28
|
|
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.98.1] - 2026-10-28
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
- `sb_set` đổi được nguồn của element có `kind` lưu là chuỗi rỗng, vì `kind` rỗng giờ được đọc như kind mặc định của element thay vì kind lạ.
|
|
13
|
+
|
|
9
14
|
## [0.98.0] - 2026-10-28
|
|
10
15
|
|
|
11
16
|
### Added
|
|
@@ -59,7 +59,8 @@ export function bindingsForConfig(type, config) {
|
|
|
59
59
|
return null;
|
|
60
60
|
// An absent kind is the element's default kind — the factory's own reading.
|
|
61
61
|
const defaults = ELEMENTS[type]?.defaults.config ?? {};
|
|
62
|
-
|
|
62
|
+
// An EMPTY kind is no choice either, so a stored `kind: ""` can still be re-sourced.
|
|
63
|
+
const kind = String(config?.kind || defaults.kind || '');
|
|
63
64
|
const source = String(config?.datasetSource ?? (kind && kind !== String(defaults.kind ?? '') ? (defaults.datasetSource ?? 'product') : ''));
|
|
64
65
|
if (!source)
|
|
65
66
|
return null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sbuilder-mcp",
|
|
3
|
-
"version": "0.98.
|
|
3
|
+
"version": "0.98.1",
|
|
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",
|