@plitzi/sdk-server 0.36.1 → 0.36.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 +9 -0
- package/package.json +8 -8
- package/skills/plitzi-authoring/SKILL.md +7 -0
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plitzi/sdk-server",
|
|
3
|
-
"version": "0.36.
|
|
3
|
+
"version": "0.36.2",
|
|
4
4
|
"license": "AGPL-3.0",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -58,12 +58,12 @@
|
|
|
58
58
|
"type": "module",
|
|
59
59
|
"sideEffects": false,
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@plitzi/plitzi-sdk": "0.36.
|
|
62
|
-
"@plitzi/sdk-shared": "0.36.
|
|
61
|
+
"@plitzi/plitzi-sdk": "0.36.2",
|
|
62
|
+
"@plitzi/sdk-shared": "0.36.2",
|
|
63
63
|
"ejs": "^6.0.1",
|
|
64
64
|
"esbuild": "^0.28.2",
|
|
65
65
|
"jsonwebtoken": "^9.0.3",
|
|
66
|
-
"nodemailer": "^10.0.
|
|
66
|
+
"nodemailer": "^10.0.10"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
69
|
"mysql2": "^3",
|
|
@@ -78,11 +78,11 @@
|
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@types/ejs": "^3.1.5",
|
|
80
80
|
"@types/jsonwebtoken": "^9.0.10",
|
|
81
|
-
"@types/node": "^26.
|
|
82
|
-
"@types/nodemailer": "^8.0.
|
|
81
|
+
"@types/node": "^26.6.1",
|
|
82
|
+
"@types/nodemailer": "^8.0.2",
|
|
83
83
|
"@types/react": "^19.3.0",
|
|
84
84
|
"@vitejs/plugin-react": "^6.1.1",
|
|
85
|
-
"@vitest/coverage-v8": "^5.0.
|
|
85
|
+
"@vitest/coverage-v8": "^5.0.1",
|
|
86
86
|
"eslint": "^9.39.5",
|
|
87
87
|
"eslint-plugin-import": "^2.32.0",
|
|
88
88
|
"mysql2": "^3.24.4",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"typescript": "^6.0.3",
|
|
93
93
|
"vite": "^8.3.0",
|
|
94
94
|
"vite-plugin-dts": "^5.1.0",
|
|
95
|
-
"vitest": "^5.0.
|
|
95
|
+
"vitest": "^5.0.1"
|
|
96
96
|
},
|
|
97
97
|
"scripts": {
|
|
98
98
|
"prepack": "node scripts/copy-authoring-skill.mjs",
|
|
@@ -137,6 +137,13 @@ is the quietest failure a space can carry.
|
|
|
137
137
|
Server-resolved sections are an `apiContainer` with `runtime: 'server'` naming a connector or an action, and a
|
|
138
138
|
space that has any needs `rsc: { enabled: true }`.
|
|
139
139
|
|
|
140
|
+
**A provider has no box unless you give it a tag.** An `apiContainer` renders no element of its own while its
|
|
141
|
+
`subType` is empty — the default, the builder's "Container Tag: None" — so its children sit directly in the parent's
|
|
142
|
+
layout. That is usually what you want (the provider stays invisible to the layout), and it means a `class` or `css`
|
|
143
|
+
on it styles nothing: the `gap` you wrote between its sections is simply not there. Put the layout on the parent, or
|
|
144
|
+
give the provider a tag (`attributes: { subType: 'div' }`) when it should be the box. `validateSpace` — and so
|
|
145
|
+
`authorSpace` and the MCP — warns with `STYLE_WITHOUT_TAG`.
|
|
146
|
+
|
|
140
147
|
**Never ask the data for a field's opposite.** Both sides of one question are `visible: 'x'` and `visible: '!x'` —
|
|
141
148
|
not an `x` and a `notX` beside it in the server's answer. The `!` is the `not` transformer, which reads a boolean
|
|
142
149
|
that travelled as text (`"false"`, `"0"`) and treats an empty array as false; an empty object is true. Only for a
|