@plitzi/sdk-mcp 0.38.24 → 0.39.0
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 +156 -1
- package/dist/createServer.js +1 -0
- package/dist/modules/mcp/catalogs/index.d.ts +1 -1
- package/dist/modules/mcp/catalogs/index.js +2 -2
- package/dist/modules/mcp/catalogs/pluginCatalog.js +5 -1
- package/dist/modules/mcp/handler.d.ts +3 -1
- package/dist/modules/mcp/handler.js +32 -2
- package/dist/modules/mcp/helpers/guide/index.d.ts +3 -0
- package/dist/modules/mcp/helpers/guide/index.js +19 -0
- package/dist/modules/mcp/helpers/{guide.d.ts → guide/instructions.d.ts} +0 -1
- package/dist/modules/mcp/helpers/guide/instructions.js +106 -0
- package/dist/modules/mcp/helpers/guide/logic.d.ts +2 -0
- package/dist/modules/mcp/helpers/guide/logic.js +166 -0
- package/dist/modules/mcp/helpers/guide/practice.d.ts +2 -0
- package/dist/modules/mcp/helpers/guide/practice.js +123 -0
- package/dist/modules/mcp/helpers/guide/reference.d.ts +2 -0
- package/dist/modules/mcp/helpers/guide/reference.js +249 -0
- package/dist/modules/mcp/helpers/guide/server.d.ts +2 -0
- package/dist/modules/mcp/helpers/guide/server.js +252 -0
- package/dist/modules/mcp/helpers/guide/structure.d.ts +2 -0
- package/dist/modules/mcp/helpers/guide/structure.js +187 -0
- package/dist/modules/mcp/helpers/guide/styling.d.ts +2 -0
- package/dist/modules/mcp/helpers/guide/styling.js +118 -0
- package/dist/modules/mcp/helpers/guide/values.d.ts +2 -0
- package/dist/modules/mcp/helpers/guide/values.js +6 -0
- package/dist/modules/mcp/helpers/space.d.ts +5 -2
- package/dist/modules/mcp/helpers/space.js +5 -4
- package/dist/modules/mcp/resources/core.js +1 -1
- package/dist/modules/mcp/resources/index.d.ts +1 -1
- package/dist/modules/mcp/resources/primer.d.ts +0 -11
- package/dist/modules/mcp/resources/primer.js +46 -1
- package/dist/modules/mcp/resources/register.js +1 -1
- package/dist/modules/mcp/server.js +17 -8
- package/dist/modules/mcp/tools/apply/index.d.ts +19 -0
- package/dist/modules/mcp/tools/index.js +2 -0
- package/dist/modules/mcp/tools/operations/actions/document.d.ts +3 -0
- package/dist/modules/mcp/tools/operations/actions/document.js +5 -2
- package/dist/modules/mcp/tools/operations/actions/index.d.ts +6 -0
- package/dist/modules/mcp/tools/operations/actions/patchAction.d.ts +3 -0
- package/dist/modules/mcp/tools/operations/actions/upsertAction.d.ts +3 -0
- package/dist/modules/mcp/tools/operations/index.d.ts +64 -0
- package/dist/modules/mcp/tools/operations/schema/operations.d.ts +13 -0
- package/dist/modules/mcp/tools/operations/schema/settings/patchSettings.d.ts +13 -0
- package/dist/modules/mcp/tools/operations/schema/settings/patchSettings.js +25 -1
- package/dist/modules/mcp/tools/render.d.ts +13 -0
- package/dist/modules/mcp/tools/renderWidget.d.ts +13 -0
- package/dist/modules/mcp/tools/shared/lintDraft.js +5 -0
- package/dist/modules/mcp/tools/shared/tool.d.ts +6 -0
- package/dist/modules/mcp/tools/shared/validator/connectors.js +0 -1
- package/dist/modules/mcp/tools/shared/validator/css.js +6 -1
- package/dist/modules/mcp/tools/test.d.ts +23 -0
- package/dist/modules/mcp/tools/test.js +85 -0
- package/dist/modules/mcp/types/aiSchema.d.ts +2 -0
- package/dist/modules/mcp/types/previewTypes.d.ts +3 -2
- package/dist/modules/mcp/types/toolTypes.d.ts +5 -0
- package/dist/preview/createPreview.js +4 -2
- package/package.json +8 -8
- package/dist/modules/mcp/helpers/guide.js +0 -1139
|
@@ -251,6 +251,7 @@ export declare const documentOperation: z.ZodDiscriminatedUnion<readonly [z.ZodO
|
|
|
251
251
|
sessionStorage: "sessionStorage";
|
|
252
252
|
}>>;
|
|
253
253
|
transientState: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
254
|
+
keptState: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
254
255
|
paintedState: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
255
256
|
userProvider: z.ZodOptional<z.ZodString>;
|
|
256
257
|
tokenStorage: z.ZodOptional<z.ZodEnum<{
|
|
@@ -274,6 +275,18 @@ export declare const documentOperation: z.ZodDiscriminatedUnion<readonly [z.ZodO
|
|
|
274
275
|
strict: "strict";
|
|
275
276
|
}>>;
|
|
276
277
|
sessionRevalidateSeconds: z.ZodOptional<z.ZodNumber>;
|
|
278
|
+
siteName: z.ZodOptional<z.ZodString>;
|
|
279
|
+
language: z.ZodOptional<z.ZodString>;
|
|
280
|
+
favicon: z.ZodOptional<z.ZodString>;
|
|
281
|
+
shareImage: z.ZodOptional<z.ZodString>;
|
|
282
|
+
themeColor: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
283
|
+
light: z.ZodOptional<z.ZodString>;
|
|
284
|
+
dark: z.ZodOptional<z.ZodString>;
|
|
285
|
+
}, z.core.$strip>]>>;
|
|
286
|
+
robotsTxt: z.ZodOptional<z.ZodString>;
|
|
287
|
+
blockAiCrawlers: z.ZodOptional<z.ZodBoolean>;
|
|
288
|
+
viewTransitions: z.ZodOptional<z.ZodBoolean>;
|
|
289
|
+
withheldPage: z.ZodOptional<z.ZodString>;
|
|
277
290
|
channels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodObject<{
|
|
278
291
|
access: z.ZodObject<{
|
|
279
292
|
mode: z.ZodEnum<{
|
|
@@ -1677,6 +1690,7 @@ export declare const operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1677
1690
|
sessionStorage: "sessionStorage";
|
|
1678
1691
|
}>>;
|
|
1679
1692
|
transientState: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1693
|
+
keptState: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1680
1694
|
paintedState: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1681
1695
|
userProvider: z.ZodOptional<z.ZodString>;
|
|
1682
1696
|
tokenStorage: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1700,6 +1714,18 @@ export declare const operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1700
1714
|
strict: "strict";
|
|
1701
1715
|
}>>;
|
|
1702
1716
|
sessionRevalidateSeconds: z.ZodOptional<z.ZodNumber>;
|
|
1717
|
+
siteName: z.ZodOptional<z.ZodString>;
|
|
1718
|
+
language: z.ZodOptional<z.ZodString>;
|
|
1719
|
+
favicon: z.ZodOptional<z.ZodString>;
|
|
1720
|
+
shareImage: z.ZodOptional<z.ZodString>;
|
|
1721
|
+
themeColor: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1722
|
+
light: z.ZodOptional<z.ZodString>;
|
|
1723
|
+
dark: z.ZodOptional<z.ZodString>;
|
|
1724
|
+
}, z.core.$strip>]>>;
|
|
1725
|
+
robotsTxt: z.ZodOptional<z.ZodString>;
|
|
1726
|
+
blockAiCrawlers: z.ZodOptional<z.ZodBoolean>;
|
|
1727
|
+
viewTransitions: z.ZodOptional<z.ZodBoolean>;
|
|
1728
|
+
withheldPage: z.ZodOptional<z.ZodString>;
|
|
1703
1729
|
channels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodObject<{
|
|
1704
1730
|
access: z.ZodObject<{
|
|
1705
1731
|
mode: z.ZodEnum<{
|
|
@@ -3048,6 +3074,9 @@ export declare const operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3048
3074
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
3049
3075
|
defaultValue: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3050
3076
|
label: z.ZodOptional<z.ZodString>;
|
|
3077
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
3078
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
3079
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
3051
3080
|
}, z.core.$strip>>>;
|
|
3052
3081
|
nodes: z.ZodArray<z.ZodObject<{
|
|
3053
3082
|
id: z.ZodString;
|
|
@@ -3087,6 +3116,9 @@ export declare const operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3087
3116
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
3088
3117
|
defaultValue: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3089
3118
|
label: z.ZodOptional<z.ZodString>;
|
|
3119
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
3120
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
3121
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
3090
3122
|
}, z.core.$strip>>>>;
|
|
3091
3123
|
nodes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3092
3124
|
id: z.ZodString;
|
|
@@ -3382,6 +3414,7 @@ export declare const operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
3382
3414
|
sessionStorage: "sessionStorage";
|
|
3383
3415
|
}>>;
|
|
3384
3416
|
transientState: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3417
|
+
keptState: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3385
3418
|
paintedState: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3386
3419
|
userProvider: z.ZodOptional<z.ZodString>;
|
|
3387
3420
|
tokenStorage: z.ZodOptional<z.ZodEnum<{
|
|
@@ -3405,6 +3438,18 @@ export declare const operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
3405
3438
|
strict: "strict";
|
|
3406
3439
|
}>>;
|
|
3407
3440
|
sessionRevalidateSeconds: z.ZodOptional<z.ZodNumber>;
|
|
3441
|
+
siteName: z.ZodOptional<z.ZodString>;
|
|
3442
|
+
language: z.ZodOptional<z.ZodString>;
|
|
3443
|
+
favicon: z.ZodOptional<z.ZodString>;
|
|
3444
|
+
shareImage: z.ZodOptional<z.ZodString>;
|
|
3445
|
+
themeColor: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3446
|
+
light: z.ZodOptional<z.ZodString>;
|
|
3447
|
+
dark: z.ZodOptional<z.ZodString>;
|
|
3448
|
+
}, z.core.$strip>]>>;
|
|
3449
|
+
robotsTxt: z.ZodOptional<z.ZodString>;
|
|
3450
|
+
blockAiCrawlers: z.ZodOptional<z.ZodBoolean>;
|
|
3451
|
+
viewTransitions: z.ZodOptional<z.ZodBoolean>;
|
|
3452
|
+
withheldPage: z.ZodOptional<z.ZodString>;
|
|
3408
3453
|
channels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodObject<{
|
|
3409
3454
|
access: z.ZodObject<{
|
|
3410
3455
|
mode: z.ZodEnum<{
|
|
@@ -4753,6 +4798,9 @@ export declare const operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
4753
4798
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
4754
4799
|
defaultValue: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
4755
4800
|
label: z.ZodOptional<z.ZodString>;
|
|
4801
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
4802
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
4803
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
4756
4804
|
}, z.core.$strip>>>;
|
|
4757
4805
|
nodes: z.ZodArray<z.ZodObject<{
|
|
4758
4806
|
id: z.ZodString;
|
|
@@ -4792,6 +4840,9 @@ export declare const operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
4792
4840
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
4793
4841
|
defaultValue: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
4794
4842
|
label: z.ZodOptional<z.ZodString>;
|
|
4843
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
4844
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
4845
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
4795
4846
|
}, z.core.$strip>>>>;
|
|
4796
4847
|
nodes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4797
4848
|
id: z.ZodString;
|
|
@@ -5082,6 +5133,7 @@ export declare const documentOperations: z.ZodArray<z.ZodDiscriminatedUnion<read
|
|
|
5082
5133
|
sessionStorage: "sessionStorage";
|
|
5083
5134
|
}>>;
|
|
5084
5135
|
transientState: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5136
|
+
keptState: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5085
5137
|
paintedState: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5086
5138
|
userProvider: z.ZodOptional<z.ZodString>;
|
|
5087
5139
|
tokenStorage: z.ZodOptional<z.ZodEnum<{
|
|
@@ -5105,6 +5157,18 @@ export declare const documentOperations: z.ZodArray<z.ZodDiscriminatedUnion<read
|
|
|
5105
5157
|
strict: "strict";
|
|
5106
5158
|
}>>;
|
|
5107
5159
|
sessionRevalidateSeconds: z.ZodOptional<z.ZodNumber>;
|
|
5160
|
+
siteName: z.ZodOptional<z.ZodString>;
|
|
5161
|
+
language: z.ZodOptional<z.ZodString>;
|
|
5162
|
+
favicon: z.ZodOptional<z.ZodString>;
|
|
5163
|
+
shareImage: z.ZodOptional<z.ZodString>;
|
|
5164
|
+
themeColor: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
5165
|
+
light: z.ZodOptional<z.ZodString>;
|
|
5166
|
+
dark: z.ZodOptional<z.ZodString>;
|
|
5167
|
+
}, z.core.$strip>]>>;
|
|
5168
|
+
robotsTxt: z.ZodOptional<z.ZodString>;
|
|
5169
|
+
blockAiCrawlers: z.ZodOptional<z.ZodBoolean>;
|
|
5170
|
+
viewTransitions: z.ZodOptional<z.ZodBoolean>;
|
|
5171
|
+
withheldPage: z.ZodOptional<z.ZodString>;
|
|
5108
5172
|
channels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodObject<{
|
|
5109
5173
|
access: z.ZodObject<{
|
|
5110
5174
|
mode: z.ZodEnum<{
|
|
@@ -270,6 +270,7 @@ export declare const elementOps: {
|
|
|
270
270
|
sessionStorage: "sessionStorage";
|
|
271
271
|
}>>;
|
|
272
272
|
transientState: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
|
|
273
|
+
keptState: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
|
|
273
274
|
paintedState: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
|
|
274
275
|
userProvider: import('zod').ZodOptional<import('zod').ZodString>;
|
|
275
276
|
tokenStorage: import('zod').ZodOptional<import('zod').ZodEnum<{
|
|
@@ -293,6 +294,18 @@ export declare const elementOps: {
|
|
|
293
294
|
strict: "strict";
|
|
294
295
|
}>>;
|
|
295
296
|
sessionRevalidateSeconds: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
297
|
+
siteName: import('zod').ZodOptional<import('zod').ZodString>;
|
|
298
|
+
language: import('zod').ZodOptional<import('zod').ZodString>;
|
|
299
|
+
favicon: import('zod').ZodOptional<import('zod').ZodString>;
|
|
300
|
+
shareImage: import('zod').ZodOptional<import('zod').ZodString>;
|
|
301
|
+
themeColor: import('zod').ZodOptional<import('zod').ZodUnion<readonly [import('zod').ZodString, import('zod').ZodObject<{
|
|
302
|
+
light: import('zod').ZodOptional<import('zod').ZodString>;
|
|
303
|
+
dark: import('zod').ZodOptional<import('zod').ZodString>;
|
|
304
|
+
}, import('zod/v4/core').$strip>]>>;
|
|
305
|
+
robotsTxt: import('zod').ZodOptional<import('zod').ZodString>;
|
|
306
|
+
blockAiCrawlers: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
307
|
+
viewTransitions: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
308
|
+
withheldPage: import('zod').ZodOptional<import('zod').ZodString>;
|
|
296
309
|
channels: import('zod').ZodOptional<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodNullable<import('zod').ZodObject<{
|
|
297
310
|
access: import('zod').ZodObject<{
|
|
298
311
|
mode: import('zod').ZodEnum<{
|
|
@@ -11,6 +11,7 @@ export declare const patchSettingsOp: z.ZodObject<{
|
|
|
11
11
|
sessionStorage: "sessionStorage";
|
|
12
12
|
}>>;
|
|
13
13
|
transientState: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14
|
+
keptState: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14
15
|
paintedState: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15
16
|
userProvider: z.ZodOptional<z.ZodString>;
|
|
16
17
|
tokenStorage: z.ZodOptional<z.ZodEnum<{
|
|
@@ -34,6 +35,18 @@ export declare const patchSettingsOp: z.ZodObject<{
|
|
|
34
35
|
strict: "strict";
|
|
35
36
|
}>>;
|
|
36
37
|
sessionRevalidateSeconds: z.ZodOptional<z.ZodNumber>;
|
|
38
|
+
siteName: z.ZodOptional<z.ZodString>;
|
|
39
|
+
language: z.ZodOptional<z.ZodString>;
|
|
40
|
+
favicon: z.ZodOptional<z.ZodString>;
|
|
41
|
+
shareImage: z.ZodOptional<z.ZodString>;
|
|
42
|
+
themeColor: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
43
|
+
light: z.ZodOptional<z.ZodString>;
|
|
44
|
+
dark: z.ZodOptional<z.ZodString>;
|
|
45
|
+
}, z.core.$strip>]>>;
|
|
46
|
+
robotsTxt: z.ZodOptional<z.ZodString>;
|
|
47
|
+
blockAiCrawlers: z.ZodOptional<z.ZodBoolean>;
|
|
48
|
+
viewTransitions: z.ZodOptional<z.ZodBoolean>;
|
|
49
|
+
withheldPage: z.ZodOptional<z.ZodString>;
|
|
37
50
|
channels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodObject<{
|
|
38
51
|
access: z.ZodObject<{
|
|
39
52
|
mode: z.ZodEnum<{
|
|
@@ -2,6 +2,7 @@ import { settingsUri } from "../../../../helpers/uris.js";
|
|
|
2
2
|
import { empty, fail } from "../../../../helpers/opResult.js";
|
|
3
3
|
import { NOTIFICATIONS_FIELDS, splitNotificationsCss, withNotificationsCss } from "@plitzi/sdk-authoring";
|
|
4
4
|
import { z } from "zod";
|
|
5
|
+
import { spaceIdentity, spaceIdentityProblems, withheldPageOf } from "@plitzi/sdk-shared/schema";
|
|
5
6
|
import { channelProblems } from "@plitzi/sdk-shared/realtime";
|
|
6
7
|
//#region src/modules/mcp/tools/operations/schema/settings/patchSettings.ts
|
|
7
8
|
var userProvider = z.string();
|
|
@@ -34,6 +35,7 @@ var patchSettingsOp = z.object({
|
|
|
34
35
|
keepState: z.boolean().optional().describe("Keep runtime state (setState keys) across reloads"),
|
|
35
36
|
stateStorage: z.enum(["localStorage", "sessionStorage"]).optional(),
|
|
36
37
|
transientState: z.array(z.string()).optional().describe("Top-level state keys never kept"),
|
|
38
|
+
keptState: z.array(z.string()).optional().describe("The only top-level state keys kept (not with transientState)"),
|
|
37
39
|
paintedState: z.array(z.string()).optional().describe("Kept keys the first paint shows"),
|
|
38
40
|
userProvider: userProvider.optional().describe("Auth provider: \"basic\" for an HTTP+JSON backend, a registered name, or \"\" to disable auth"),
|
|
39
41
|
tokenStorage: storage.optional(),
|
|
@@ -50,8 +52,20 @@ var patchSettingsOp = z.object({
|
|
|
50
52
|
sessionExchangeUrl: z.string().optional().describe("Where to hand a browser-obtained credential so the server issues its own session (client-side IdPs)"),
|
|
51
53
|
sessionGate: z.enum(["optimistic", "strict"]).optional().describe("Render from the stored session and confirm behind it (default), or wait for the confirmation"),
|
|
52
54
|
sessionRevalidateSeconds: z.number().optional(),
|
|
55
|
+
siteName: z.string().optional().describe("Shown beside each title in a link card"),
|
|
56
|
+
language: z.string().optional().describe("\"en\", \"es-MX\""),
|
|
57
|
+
favicon: z.string().optional().describe("\"/favicon.svg\" or https://…"),
|
|
58
|
+
shareImage: z.string().optional().describe("A link card's picture when its page has none: \"/og.png\""),
|
|
59
|
+
themeColor: z.union([z.string(), z.object({
|
|
60
|
+
light: z.string().optional(),
|
|
61
|
+
dark: z.string().optional()
|
|
62
|
+
})]).optional(),
|
|
63
|
+
robotsTxt: z.string().optional(),
|
|
64
|
+
blockAiCrawlers: z.boolean().optional().describe("robots.txt bars AI-training crawlers"),
|
|
65
|
+
viewTransitions: z.boolean().optional(),
|
|
66
|
+
withheldPage: z.string().optional().describe("Page id drawn for a withheld page (its 401/403); \"\" = Plitzi's words"),
|
|
53
67
|
channels: z.record(z.string(), channel.nullable()).optional().describe("Realtime channels by topic pattern (`board:{id}`); null removes one. See the guide")
|
|
54
|
-
}).describe("Merge space-level settings — global CSS, notifications, kept state, auth, realtime channels. Only the fields sent change. customCss is for site-wide CSS, never to style one element (attach a definition for that).");
|
|
68
|
+
}).describe("Merge space-level settings — global CSS, notifications, kept state, auth, realtime channels, the site's identity and robots.txt. Only the fields sent change. customCss is for site-wide CSS, never to style one element (attach a definition for that).");
|
|
55
69
|
/** The space's channels with the patch merged in, pattern by pattern — `null` takes one out. */
|
|
56
70
|
var mergeChannels = (current, patch) => {
|
|
57
71
|
const merged = {
|
|
@@ -81,6 +95,11 @@ var patchSettings = (space, env, op) => {
|
|
|
81
95
|
const [problem] = declaration === null ? [] : channelProblems(pattern, declaration);
|
|
82
96
|
if (problem) return fail(`channels["${pattern}"]`, `Channel "${pattern}": ${problem}.`, "Fix the pattern or declaration and send it again");
|
|
83
97
|
}
|
|
98
|
+
const [identityProblem] = spaceIdentityProblems(spaceIdentity({
|
|
99
|
+
...space.schema.settings,
|
|
100
|
+
...patch
|
|
101
|
+
}));
|
|
102
|
+
if (identityProblem) return fail("settings", identityProblem, "Fix the field and send it again");
|
|
84
103
|
const next = { ...space.schema.settings };
|
|
85
104
|
for (const [key, value] of Object.entries(patch)) next[key] = value;
|
|
86
105
|
if (channels) next.channels = mergeChannels(space.schema.settings.channels, channels);
|
|
@@ -92,6 +111,11 @@ var patchSettings = (space, env, op) => {
|
|
|
92
111
|
return fail("notifications", error instanceof Error ? error.message : String(error), "Write one CSS value per field — a colour, a length or a token like var(--card)");
|
|
93
112
|
}
|
|
94
113
|
}
|
|
114
|
+
if (next.withheldPage === "") delete next.withheldPage;
|
|
115
|
+
else if (next.withheldPage !== void 0 && withheldPageOf({
|
|
116
|
+
...space.schema,
|
|
117
|
+
settings: next
|
|
118
|
+
}) === void 0) return fail("withheldPage", `withheldPage "${next.withheldPage}" is no page of the space, or one with an access of its own — withheld from the visitor it is drawn for.`, "Name the id of a page every visitor may see, or \"\" for the platform's words");
|
|
95
119
|
space.schema.settings = next;
|
|
96
120
|
return {
|
|
97
121
|
...empty(),
|
|
@@ -253,6 +253,7 @@ export declare const renderShape: {
|
|
|
253
253
|
sessionStorage: "sessionStorage";
|
|
254
254
|
}>>;
|
|
255
255
|
transientState: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
256
|
+
keptState: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
256
257
|
paintedState: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
257
258
|
userProvider: z.ZodOptional<z.ZodString>;
|
|
258
259
|
tokenStorage: z.ZodOptional<z.ZodEnum<{
|
|
@@ -276,6 +277,18 @@ export declare const renderShape: {
|
|
|
276
277
|
strict: "strict";
|
|
277
278
|
}>>;
|
|
278
279
|
sessionRevalidateSeconds: z.ZodOptional<z.ZodNumber>;
|
|
280
|
+
siteName: z.ZodOptional<z.ZodString>;
|
|
281
|
+
language: z.ZodOptional<z.ZodString>;
|
|
282
|
+
favicon: z.ZodOptional<z.ZodString>;
|
|
283
|
+
shareImage: z.ZodOptional<z.ZodString>;
|
|
284
|
+
themeColor: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
285
|
+
light: z.ZodOptional<z.ZodString>;
|
|
286
|
+
dark: z.ZodOptional<z.ZodString>;
|
|
287
|
+
}, z.core.$strip>]>>;
|
|
288
|
+
robotsTxt: z.ZodOptional<z.ZodString>;
|
|
289
|
+
blockAiCrawlers: z.ZodOptional<z.ZodBoolean>;
|
|
290
|
+
viewTransitions: z.ZodOptional<z.ZodBoolean>;
|
|
291
|
+
withheldPage: z.ZodOptional<z.ZodString>;
|
|
279
292
|
channels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodObject<{
|
|
280
293
|
access: z.ZodObject<{
|
|
281
294
|
mode: z.ZodEnum<{
|
|
@@ -258,6 +258,7 @@ export declare const renderWidgetShape: {
|
|
|
258
258
|
sessionStorage: "sessionStorage";
|
|
259
259
|
}>>;
|
|
260
260
|
transientState: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
|
|
261
|
+
keptState: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
|
|
261
262
|
paintedState: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
|
|
262
263
|
userProvider: import('zod').ZodOptional<import('zod').ZodString>;
|
|
263
264
|
tokenStorage: import('zod').ZodOptional<import('zod').ZodEnum<{
|
|
@@ -281,6 +282,18 @@ export declare const renderWidgetShape: {
|
|
|
281
282
|
strict: "strict";
|
|
282
283
|
}>>;
|
|
283
284
|
sessionRevalidateSeconds: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
285
|
+
siteName: import('zod').ZodOptional<import('zod').ZodString>;
|
|
286
|
+
language: import('zod').ZodOptional<import('zod').ZodString>;
|
|
287
|
+
favicon: import('zod').ZodOptional<import('zod').ZodString>;
|
|
288
|
+
shareImage: import('zod').ZodOptional<import('zod').ZodString>;
|
|
289
|
+
themeColor: import('zod').ZodOptional<import('zod').ZodUnion<readonly [import('zod').ZodString, import('zod').ZodObject<{
|
|
290
|
+
light: import('zod').ZodOptional<import('zod').ZodString>;
|
|
291
|
+
dark: import('zod').ZodOptional<import('zod').ZodString>;
|
|
292
|
+
}, import('zod/v4/core').$strip>]>>;
|
|
293
|
+
robotsTxt: import('zod').ZodOptional<import('zod').ZodString>;
|
|
294
|
+
blockAiCrawlers: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
295
|
+
viewTransitions: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
296
|
+
withheldPage: import('zod').ZodOptional<import('zod').ZodString>;
|
|
284
297
|
channels: import('zod').ZodOptional<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodNullable<import('zod').ZodObject<{
|
|
285
298
|
access: import('zod').ZodObject<{
|
|
286
299
|
mode: import('zod').ZodEnum<{
|
|
@@ -140,6 +140,11 @@ var lintDraft = (draft, ops, before) => {
|
|
|
140
140
|
const line = [said(issue), fixOf(issue)].filter(Boolean).join(" ");
|
|
141
141
|
return preExisting(issue) ? `Pre-existing issue in element "${issue.elementId ?? ""}": ${line}` : line;
|
|
142
142
|
});
|
|
143
|
+
const testsNow = all.filter((issue) => issue.code === "test-unreadable");
|
|
144
|
+
if (testsNow.length > 0) {
|
|
145
|
+
const testsBefore = new Set(before ? readingOf(before).all.filter((issue) => issue.code === "test-unreadable").map((issue) => issue.message) : []);
|
|
146
|
+
for (const issue of testsNow.filter((each) => !testsBefore.has(each.message))) warnings.push(`This change leaves a test of the space unreadable — a snapshot waits until it is fixed: ${issue.message}`);
|
|
147
|
+
}
|
|
143
148
|
for (const id of touched) {
|
|
144
149
|
const tagless = styleWithoutTag(draft.schema.flat[id], draft.style);
|
|
145
150
|
if (tagless) warnings.push(`element "${id}" ${tagless}`);
|
|
@@ -24,6 +24,12 @@ export interface ToolContext {
|
|
|
24
24
|
/** Runs one task of the space's functions in the sandbox, for the person behind the connection — when the host
|
|
25
25
|
* wired it. Only plitzi_try_function uses it. */
|
|
26
26
|
tryFunction?: (task: string, params: Record<string, unknown>) => Promise<ActionRunReport>;
|
|
27
|
+
/** Plays the space's e2e tests on its draft, when the host wired it. Only plitzi_test uses it. */
|
|
28
|
+
runE2eTests?: (ids: readonly string[]) => Promise<{
|
|
29
|
+
results: unknown[];
|
|
30
|
+
} | {
|
|
31
|
+
notRun: string;
|
|
32
|
+
}>;
|
|
27
33
|
/** What happened on the space after a cursor, waited for — when the host wired it. Only plitzi_activity uses it. */
|
|
28
34
|
activity?: (query: SpaceActivityQuery) => Promise<SpaceActivityPage>;
|
|
29
35
|
}
|
|
@@ -45,7 +45,6 @@ var checkProviderElement = (space, ctx, ref, runtime, props, batchConnectors, ba
|
|
|
45
45
|
if (runtime === "server") warnOnce(ctx, `"${ref}" at ${base} renders on the server but names no connector, so it resolves to no data. Set its \`connector\` prop to one the space has (read plitzi://connectors).`);
|
|
46
46
|
return;
|
|
47
47
|
}
|
|
48
|
-
if (runtime !== "server") warnOnce(ctx, `"${ref}" at ${base} names connector "${connectorId}" but is not server-rendered, so the connector is IGNORED and the element fetches its own \`query\` from the browser instead. Set runtime: "server" on it.`);
|
|
49
48
|
const entry = findConnectorEntry(space, connectorId);
|
|
50
49
|
if (!entry) {
|
|
51
50
|
if (!batchConnectors.has(connectorId)) warnOnce(ctx, `Connector "${connectorId}" at ${base} is not configured in this space, so "${ref}" resolves to no data. Read plitzi://connectors, or create it with upsertConnector.`);
|
|
@@ -1,10 +1,15 @@
|
|
|
1
|
-
import { expandShorthand, isCssProperty, suggestCssProperty } from "../../../catalogs/index.js";
|
|
1
|
+
import { ambiguousShorthands, expandShorthand, isCssProperty, suggestCssProperty } from "../../../catalogs/index.js";
|
|
2
2
|
import { checkStyleVarRefs, checkVarRefs } from "./context.js";
|
|
3
3
|
//#region src/modules/mcp/tools/shared/validator/css.ts
|
|
4
4
|
var checkCss = (css, path, ctx) => {
|
|
5
5
|
if (!css) return;
|
|
6
6
|
const declared = {};
|
|
7
7
|
for (const [key, value] of Object.entries(css)) if (value !== null) declared[key] = value;
|
|
8
|
+
for (const ambiguous of ambiguousShorthands(declared)) ctx.errors.push({
|
|
9
|
+
path: `${path}.${ambiguous.property}`,
|
|
10
|
+
message: `"${ambiguous.property}: ${ambiguous.value}" cannot be expanded: what the variable holds decides which longhand it is`,
|
|
11
|
+
hint: `Name the longhand it is: ${ambiguous.fix}`
|
|
12
|
+
});
|
|
8
13
|
for (const [key, value] of Object.entries(expandShorthand(declared))) {
|
|
9
14
|
if (!isCssProperty(key)) {
|
|
10
15
|
const suggestion = suggestCssProperty(key);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { ToolContext } from './shared/tool';
|
|
3
|
+
export declare const testShape: {
|
|
4
|
+
action: z.ZodEnum<{
|
|
5
|
+
set: "set";
|
|
6
|
+
list: "list";
|
|
7
|
+
run: "run";
|
|
8
|
+
}>;
|
|
9
|
+
tests: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
10
|
+
ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* The space's own tests, kept in its document: read, saved whole, or run — the unit tests here, the e2e ones
|
|
15
|
+
* on the draft where the deployment plays them. What a snapshot and a publish hold the space to.
|
|
16
|
+
*/
|
|
17
|
+
export declare const test: (input: {
|
|
18
|
+
action: "list" | "set" | "run";
|
|
19
|
+
tests?: Record<string, unknown>;
|
|
20
|
+
ids?: string[];
|
|
21
|
+
tags?: string[];
|
|
22
|
+
}, ctx: ToolContext) => Promise<unknown>;
|
|
23
|
+
export declare const testTool: import('.').ToolDef;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { defineTool } from "./shared/tool.js";
|
|
2
|
+
import { e2eTestProblems, journeyStartWarnings, readSpaceTests, runUnitTests, testAccountWarnings, unitTestProblems } from "@plitzi/sdk-authoring";
|
|
3
|
+
import { z } from "zod";
|
|
4
|
+
//#region src/modules/mcp/tools/test.ts
|
|
5
|
+
var testShape = {
|
|
6
|
+
action: z.enum([
|
|
7
|
+
"list",
|
|
8
|
+
"set",
|
|
9
|
+
"run"
|
|
10
|
+
]).describe("list: the tests and how the unit ones stand · set: save them whole · run: the unit tests, then the e2e"),
|
|
11
|
+
tests: z.record(z.string(), z.unknown()).optional().describe("With set: `{ unit, e2e, accounts }`, every test of the space — what is left out is removed"),
|
|
12
|
+
ids: z.array(z.string()).optional().describe("With run: the tests to run, by id; all when none"),
|
|
13
|
+
tags: z.array(z.string()).optional().describe("With run: only journeys with one of these tags")
|
|
14
|
+
};
|
|
15
|
+
/** The tests and how they stand against the document: those written wrong, every unit test run. */
|
|
16
|
+
var standing = (schema) => {
|
|
17
|
+
const report = runUnitTests(schema);
|
|
18
|
+
return {
|
|
19
|
+
tests: {
|
|
20
|
+
unit: schema.tests?.unit ?? [],
|
|
21
|
+
e2e: schema.tests?.e2e ?? [],
|
|
22
|
+
...schema.tests?.accounts ? { accounts: schema.tests.accounts } : {}
|
|
23
|
+
},
|
|
24
|
+
problems: [...unitTestProblems(schema), ...e2eTestProblems(schema)],
|
|
25
|
+
warnings: [...testAccountWarnings(schema), ...journeyStartWarnings(schema)],
|
|
26
|
+
unit: {
|
|
27
|
+
passed: report.passed,
|
|
28
|
+
failed: report.failed,
|
|
29
|
+
failing: report.results.filter((result) => !result.ok)
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* The space's own tests, kept in its document: read, saved whole, or run — the unit tests here, the e2e ones
|
|
35
|
+
* on the draft where the deployment plays them. What a snapshot and a publish hold the space to.
|
|
36
|
+
*/
|
|
37
|
+
var test = async (input, ctx) => {
|
|
38
|
+
const { schema } = ctx.space;
|
|
39
|
+
if (input.action === "list") return standing(schema);
|
|
40
|
+
if (input.action === "set") {
|
|
41
|
+
const read = readSpaceTests(input.tests);
|
|
42
|
+
if ("problems" in read) return {
|
|
43
|
+
saved: false,
|
|
44
|
+
problems: read.problems
|
|
45
|
+
};
|
|
46
|
+
if (!ctx.persisters.tests) return {
|
|
47
|
+
saved: false,
|
|
48
|
+
problems: ["This connection cannot write the space"]
|
|
49
|
+
};
|
|
50
|
+
const next = {
|
|
51
|
+
...schema,
|
|
52
|
+
tests: read.tests
|
|
53
|
+
};
|
|
54
|
+
await ctx.persisters.tests(next);
|
|
55
|
+
return {
|
|
56
|
+
saved: true,
|
|
57
|
+
...standing(next)
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
const ids = input.ids ?? [];
|
|
61
|
+
const tags = input.tags ?? [];
|
|
62
|
+
const named = (id) => ids.length === 0 || ids.includes(id);
|
|
63
|
+
const chosen = tags.length > 0 ? [] : (schema.tests?.unit ?? []).filter((each) => named(each.id));
|
|
64
|
+
const unit = runUnitTests(schema, chosen);
|
|
65
|
+
const e2e = (schema.tests?.e2e ?? []).filter((each) => named(each.id) && (tags.length === 0 || (each.tags ?? []).some((tag) => tags.includes(tag))));
|
|
66
|
+
const played = e2e.length === 0 ? { results: [] } : ctx.runE2eTests ? await ctx.runE2eTests(e2e.map((each) => each.id)) : { notRun: "this deployment plays no e2e tests" };
|
|
67
|
+
return {
|
|
68
|
+
unit: {
|
|
69
|
+
passed: unit.passed,
|
|
70
|
+
failed: unit.failed,
|
|
71
|
+
failing: unit.results.filter((result) => !result.ok)
|
|
72
|
+
},
|
|
73
|
+
e2e: played
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
var testTool = defineTool({
|
|
77
|
+
name: "plitzi_test",
|
|
78
|
+
title: "Space tests",
|
|
79
|
+
description: "The space’s own tests, kept in its document: list them and how they stand, save them whole (`unit`: an element resolved for a state; `e2e`: a visitor’s steps on a page), or run them. A snapshot and a publish wait for them.",
|
|
80
|
+
inputShape: testShape,
|
|
81
|
+
access: "write",
|
|
82
|
+
run: (input, ctx) => test(input, ctx)
|
|
83
|
+
});
|
|
84
|
+
//#endregion
|
|
85
|
+
export { test, testShape, testTool };
|
|
@@ -280,6 +280,8 @@ export interface AISettings {
|
|
|
280
280
|
stateStorage?: 'localStorage' | 'sessionStorage';
|
|
281
281
|
/** Top-level state keys never kept, even with `keepState` on. */
|
|
282
282
|
transientState?: string[];
|
|
283
|
+
/** The only top-level state keys kept, with `keepState` on — the other way round from `transientState`. */
|
|
284
|
+
keptState?: string[];
|
|
283
285
|
/** Kept keys the first paint shows, kept in a cookie too so the server renders with them. Small values only. */
|
|
284
286
|
paintedState?: string[];
|
|
285
287
|
/** `basic` covers any HTTP+JSON backend by configuration; anything else is a name someone registered. */
|
|
@@ -26,9 +26,10 @@ export type PreviewRequestBody = {
|
|
|
26
26
|
* `once` — the default — is the capture path: the browser opens the URL, the render happens, the token is spent.
|
|
27
27
|
* `session` is somebody iterating: the URL keeps working until it expires, the draft follows them from page to
|
|
28
28
|
* page, and their refreshes are neither billed nor cached. Ask for a session only when a person is going to look
|
|
29
|
-
* at it, and end it with `DELETE` when they stop.
|
|
29
|
+
* at it, and end it with `DELETE` when they stop. `tests` is a session a test runner plays: the same, and its pages
|
|
30
|
+
* carry the space's state bridge (`window.__plitzi`) with no panel or badge, so a journey sets and reads the state.
|
|
30
31
|
*/
|
|
31
|
-
mode?: 'once' | 'session';
|
|
32
|
+
mode?: 'once' | 'session' | 'tests';
|
|
32
33
|
};
|
|
33
34
|
export type PreviewResult = {
|
|
34
35
|
ok: true;
|
|
@@ -16,6 +16,11 @@ export interface Persisters {
|
|
|
16
16
|
saveFunctions?: (files: Record<string, string>, base: string) => Promise<FunctionsSaveResult>;
|
|
17
17
|
/** Saves the data's files whole, against the version the batch read; answers what is wrong by file. */
|
|
18
18
|
saveData?: (files: Record<string, string>, base: string) => Promise<DataSaveResult>;
|
|
19
|
+
/**
|
|
20
|
+
* Saves the document with its tests changed and nothing else — for a grant that may test (`canTest`) though it may
|
|
21
|
+
* not write: a tester's agent.
|
|
22
|
+
*/
|
|
23
|
+
tests?: (schema: Schema) => Promise<void>;
|
|
19
24
|
}
|
|
20
25
|
export interface Conflict {
|
|
21
26
|
resourceUri: string;
|
|
@@ -61,7 +61,8 @@ var createPreview = async (body, config, renderFn, pluginManager, caches) => {
|
|
|
61
61
|
const pagePath = resolvePagePath(draftOffline.schema, body.pageRef);
|
|
62
62
|
let html;
|
|
63
63
|
if (body.includeHtml !== false) ({body: html} = await buildBody(syntheticRequest(pagePath), config, body.spaceId, env, revision, renderFn, pluginManager, caches.offlineData, void 0, draftOffline));
|
|
64
|
-
const reusable = body.mode === "session";
|
|
64
|
+
const reusable = body.mode === "session" || body.mode === "tests";
|
|
65
|
+
const inspected = body.mode === "tests";
|
|
65
66
|
const ttlMs = reusable ? config.preview?.sessionTtlMs ?? 9e5 : config.preview?.ttlMs ?? 6e4;
|
|
66
67
|
let token;
|
|
67
68
|
if (config.draftStore) {
|
|
@@ -69,7 +70,8 @@ var createPreview = async (body, config, renderFn, pluginManager, caches) => {
|
|
|
69
70
|
await config.draftStore.put(token, draftOffline, {
|
|
70
71
|
ttlMs,
|
|
71
72
|
reusable,
|
|
72
|
-
spaceId: body.spaceId
|
|
73
|
+
spaceId: body.spaceId,
|
|
74
|
+
...inspected ? { inspected } : {}
|
|
73
75
|
});
|
|
74
76
|
}
|
|
75
77
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plitzi/sdk-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.39.0",
|
|
4
4
|
"license": "AGPL-3.0",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -35,18 +35,18 @@
|
|
|
35
35
|
},
|
|
36
36
|
"type": "module",
|
|
37
37
|
"engines": {
|
|
38
|
-
"node": "
|
|
38
|
+
"node": "^24.22.1 || >=26.12.1"
|
|
39
39
|
},
|
|
40
40
|
"sideEffects": false,
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@modelcontextprotocol/ext-apps": "^1.7.5",
|
|
43
43
|
"@modelcontextprotocol/sdk": "^1.32.1",
|
|
44
|
-
"@plitzi/plitzi-sdk": "0.
|
|
45
|
-
"@plitzi/sdk-authoring": "0.
|
|
46
|
-
"@plitzi/sdk-schema": "0.
|
|
47
|
-
"@plitzi/sdk-server": "0.
|
|
48
|
-
"@plitzi/sdk-shared": "0.
|
|
49
|
-
"@plitzi/sdk-style": "0.
|
|
44
|
+
"@plitzi/plitzi-sdk": "0.39.0",
|
|
45
|
+
"@plitzi/sdk-authoring": "0.39.0",
|
|
46
|
+
"@plitzi/sdk-schema": "0.39.0",
|
|
47
|
+
"@plitzi/sdk-server": "0.39.0",
|
|
48
|
+
"@plitzi/sdk-shared": "0.39.0",
|
|
49
|
+
"@plitzi/sdk-style": "0.39.0",
|
|
50
50
|
"ejs": "^7.0.2",
|
|
51
51
|
"esbuild": "^0.28.2",
|
|
52
52
|
"zod": "^4.6.7"
|