@syntrologie/runtime-sdk 2.4.0-canary.2 → 2.4.0-canary.20
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/CAPABILITIES.md +116 -1
- package/dist/SmartCanvasApp.d.ts +5 -3
- package/dist/actions/executors/index.d.ts +1 -2
- package/dist/actions/index.d.ts +2 -2
- package/dist/actions/schema.d.ts +58208 -202
- package/dist/actions/schema.js +4 -2
- package/dist/actions/types.d.ts +45 -48
- package/dist/anchor/AnchorResolver.d.ts +18 -0
- package/dist/anchor/index.d.ts +2 -0
- package/dist/api.d.ts +3 -8
- package/dist/{chunk-DOJR7R46.js → chunk-LR5AA5SE.js} +45 -31
- package/dist/chunk-LR5AA5SE.js.map +7 -0
- package/dist/{chunk-ZDZ3IYFN.js → chunk-OJA7NRHL.js} +3433 -2111
- package/dist/chunk-OJA7NRHL.js.map +7 -0
- package/dist/{chunk-BIYMC56J.js → chunk-P5G4KT2U.js} +54 -6
- package/dist/chunk-P5G4KT2U.js.map +7 -0
- package/dist/components/ShadowCanvasOverlay.d.ts +1 -20
- package/dist/config/schema.d.ts +1813 -283
- package/dist/config/schema.js +61 -9
- package/dist/config/schema.js.map +2 -2
- package/dist/context/schema.d.ts +8 -8
- package/dist/decisions/schema.d.ts +506 -1490
- package/dist/decisions/schema.js +5 -2
- package/dist/decisions/types.d.ts +22 -0
- package/dist/events/registerConfigPredicates.d.ts +7 -10
- package/dist/events/schema.d.ts +8 -8
- package/dist/experiments/adapters/growthbook.d.ts +2 -0
- package/dist/experiments/types.d.ts +7 -0
- package/dist/hooks/useShadowCanvasConfig.d.ts +4 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +27 -94
- package/dist/index.js.map +3 -3
- package/dist/overlays/schema.d.ts +48 -48
- package/dist/react.js +3 -3
- package/dist/runtime.d.ts +3 -0
- package/dist/smart-canvas.esm.js +60 -64
- package/dist/smart-canvas.esm.js.map +4 -4
- package/dist/smart-canvas.js +2434 -1163
- package/dist/smart-canvas.js.map +4 -4
- package/dist/smart-canvas.min.js +60 -64
- package/dist/smart-canvas.min.js.map +4 -4
- package/dist/surfaces/types.d.ts +2 -1
- package/dist/theme/ThemeProvider.d.ts +11 -16
- package/dist/theme/defaultTheme.d.ts +6 -1
- package/dist/theme/index.d.ts +3 -4
- package/dist/theme/types.d.ts +10 -0
- package/dist/version.d.ts +1 -1
- package/package.json +7 -7
- package/schema/canvas-config.schema.json +9403 -790
- package/scripts/validate-config.mjs +78 -0
- package/dist/actions/executors/tour.d.ts +0 -18
- package/dist/chunk-BIYMC56J.js.map +0 -7
- package/dist/chunk-DOJR7R46.js.map +0 -7
- package/dist/chunk-JMHRHAEL.js +0 -18
- package/dist/chunk-JMHRHAEL.js.map +0 -7
- package/dist/chunk-ZDZ3IYFN.js.map +0 -7
- package/dist/hooks/useHostPatches.d.ts +0 -9
- package/dist/theme/extractHostTheme.d.ts +0 -14
package/dist/config/schema.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ActivationConfigZ
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-JMHRHAEL.js";
|
|
3
|
+
} from "../chunk-P5G4KT2U.js";
|
|
5
4
|
|
|
6
5
|
// src/config/schema.ts
|
|
7
6
|
import { z } from "zod";
|
|
@@ -27,15 +26,62 @@ var TileZ = z.object({
|
|
|
27
26
|
activation: ActivationConfigZ.optional(),
|
|
28
27
|
notifications: z.array(TileNotificationRuleZ).optional()
|
|
29
28
|
}).strict();
|
|
29
|
+
var CanvasElementConfigZ = z.object({
|
|
30
|
+
position: z.enum(["left", "right"]).optional(),
|
|
31
|
+
background: z.string().optional(),
|
|
32
|
+
blur: z.string().optional(),
|
|
33
|
+
border: z.string().optional(),
|
|
34
|
+
width: z.string().optional()
|
|
35
|
+
});
|
|
36
|
+
var LauncherElementConfigZ = z.object({
|
|
37
|
+
background: z.string().optional(),
|
|
38
|
+
backgroundHover: z.string().optional(),
|
|
39
|
+
color: z.string().optional(),
|
|
40
|
+
size: z.string().optional(),
|
|
41
|
+
shadow: z.string().optional()
|
|
42
|
+
});
|
|
43
|
+
var TileElementConfigZ = z.object({
|
|
44
|
+
background: z.string().optional(),
|
|
45
|
+
backgroundHover: z.string().optional(),
|
|
46
|
+
border: z.string().optional(),
|
|
47
|
+
borderRadius: z.string().optional(),
|
|
48
|
+
shadow: z.string().optional(),
|
|
49
|
+
titleColor: z.string().optional(),
|
|
50
|
+
textColor: z.string().optional(),
|
|
51
|
+
iconBackground: z.string().optional(),
|
|
52
|
+
iconShadow: z.string().optional()
|
|
53
|
+
});
|
|
54
|
+
var OverlayElementConfigZ = z.object({
|
|
55
|
+
background: z.string().optional(),
|
|
56
|
+
textColor: z.string().optional(),
|
|
57
|
+
border: z.string().optional(),
|
|
58
|
+
borderRadius: z.string().optional(),
|
|
59
|
+
scrimOpacity: z.string().optional(),
|
|
60
|
+
highlightRing: z.string().optional()
|
|
61
|
+
});
|
|
62
|
+
var NotificationElementConfigZ = z.object({
|
|
63
|
+
background: z.string().optional(),
|
|
64
|
+
textColor: z.string().optional(),
|
|
65
|
+
textSecondaryColor: z.string().optional(),
|
|
66
|
+
border: z.string().optional(),
|
|
67
|
+
borderRadius: z.string().optional(),
|
|
68
|
+
successColor: z.string().optional(),
|
|
69
|
+
warningColor: z.string().optional(),
|
|
70
|
+
errorColor: z.string().optional(),
|
|
71
|
+
iconBackground: z.string().optional(),
|
|
72
|
+
progressGradient: z.string().optional()
|
|
73
|
+
});
|
|
30
74
|
var CanvasThemeConfigZ = z.object({
|
|
31
|
-
name: z.string().optional(),
|
|
32
75
|
mode: z.enum(["dark", "light"]).optional(),
|
|
33
|
-
|
|
76
|
+
fontFamily: z.string().optional(),
|
|
34
77
|
colorPrimary: z.string().optional(),
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
78
|
+
colorPrimaryHover: z.string().optional(),
|
|
79
|
+
borderRadius: z.string().optional(),
|
|
80
|
+
canvas: CanvasElementConfigZ.optional(),
|
|
81
|
+
launcher: LauncherElementConfigZ.optional(),
|
|
82
|
+
tile: TileElementConfigZ.optional(),
|
|
83
|
+
overlay: OverlayElementConfigZ.optional(),
|
|
84
|
+
notification: NotificationElementConfigZ.optional()
|
|
39
85
|
}).strict();
|
|
40
86
|
var LauncherConfigZ = z.object({
|
|
41
87
|
enabled: z.boolean().optional(),
|
|
@@ -53,7 +99,8 @@ var CanvasConfigResponseZ = z.object({
|
|
|
53
99
|
tiles: z.array(TileZ),
|
|
54
100
|
actions: z.array(z.any()),
|
|
55
101
|
theme: CanvasThemeConfigZ.optional(),
|
|
56
|
-
launcher: LauncherConfigZ.optional()
|
|
102
|
+
launcher: LauncherConfigZ.optional(),
|
|
103
|
+
verificationSteps: z.array(z.string()).optional()
|
|
57
104
|
}).strict();
|
|
58
105
|
var configSchemas = [
|
|
59
106
|
{ defName: "tile", schema: TileZ },
|
|
@@ -63,9 +110,14 @@ var configSchemas = [
|
|
|
63
110
|
];
|
|
64
111
|
export {
|
|
65
112
|
CanvasConfigResponseZ,
|
|
113
|
+
CanvasElementConfigZ,
|
|
66
114
|
CanvasThemeConfigZ,
|
|
67
115
|
LauncherConfigZ,
|
|
116
|
+
LauncherElementConfigZ,
|
|
68
117
|
NotificationDeepLinkZ,
|
|
118
|
+
NotificationElementConfigZ,
|
|
119
|
+
OverlayElementConfigZ,
|
|
120
|
+
TileElementConfigZ,
|
|
69
121
|
TileNotificationRuleZ,
|
|
70
122
|
TileZ,
|
|
71
123
|
configSchemas
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/config/schema.ts"],
|
|
4
|
-
"sourcesContent": ["/**\n * Zod schemas for canvas configuration types.\n *\n * Single source of truth for tile, theme, launcher, and top-level\n * CanvasConfigResponse shapes. These schemas are converted to JSON Schema\n * during build and merged into the unified canvas-config.schema.json.\n *\n * Design decisions:\n * - `.strict()` on
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["/**\n * Zod schemas for canvas configuration types.\n *\n * Single source of truth for tile, theme, launcher, and top-level\n * CanvasConfigResponse shapes. These schemas are converted to JSON Schema\n * during build and merged into the unified canvas-config.schema.json.\n *\n * Design decisions:\n * - `.strict()` on top-level objects \u2192 `additionalProperties: false` in JSON Schema\n * - Element sub-schemas (canvas, tile, etc.) are NOT strict to allow future expansion\n */\n\nimport { z } from 'zod';\nimport { ActivationConfigZ } from '../decisions/schema';\n\n// ============================================================================\n// Tile Notification Sub-Types\n// ============================================================================\n\nconst NotificationDeepLinkZ = z\n .object({\n tileId: z.string(),\n itemId: z.string().optional(),\n })\n .strict();\n\nconst TileNotificationRuleZ = z\n .object({\n on: z.string(),\n title: z.string(),\n body: z.string().optional(),\n icon: z.string().optional(),\n ttl: z.number().optional(),\n cooldown: z.number().optional(),\n deepLink: NotificationDeepLinkZ.optional(),\n })\n .strict();\n\n// ============================================================================\n// Tile\n// ============================================================================\n\nexport const TileZ = z\n .object({\n id: z.string(),\n title: z.string().optional(),\n priority: z.number().optional(),\n widget: z.string(),\n props: z.record(z.unknown()).optional(),\n activation: ActivationConfigZ.optional(),\n notifications: z.array(TileNotificationRuleZ).optional(),\n })\n .strict();\n\n// ============================================================================\n// Theme Config \u2014 Element Sub-Schemas\n// ============================================================================\n\nexport const CanvasElementConfigZ = z.object({\n position: z.enum(['left', 'right']).optional(),\n background: z.string().optional(),\n blur: z.string().optional(),\n border: z.string().optional(),\n width: z.string().optional(),\n});\n\nexport const LauncherElementConfigZ = z.object({\n background: z.string().optional(),\n backgroundHover: z.string().optional(),\n color: z.string().optional(),\n size: z.string().optional(),\n shadow: z.string().optional(),\n});\n\nexport const TileElementConfigZ = z.object({\n background: z.string().optional(),\n backgroundHover: z.string().optional(),\n border: z.string().optional(),\n borderRadius: z.string().optional(),\n shadow: z.string().optional(),\n titleColor: z.string().optional(),\n textColor: z.string().optional(),\n iconBackground: z.string().optional(),\n iconShadow: z.string().optional(),\n});\n\nexport const OverlayElementConfigZ = z.object({\n background: z.string().optional(),\n textColor: z.string().optional(),\n border: z.string().optional(),\n borderRadius: z.string().optional(),\n scrimOpacity: z.string().optional(),\n highlightRing: z.string().optional(),\n});\n\nexport const NotificationElementConfigZ = z.object({\n background: z.string().optional(),\n textColor: z.string().optional(),\n textSecondaryColor: z.string().optional(),\n border: z.string().optional(),\n borderRadius: z.string().optional(),\n successColor: z.string().optional(),\n warningColor: z.string().optional(),\n errorColor: z.string().optional(),\n iconBackground: z.string().optional(),\n progressGradient: z.string().optional(),\n});\n\n// ============================================================================\n// Theme Config \u2014 Top-Level\n// ============================================================================\n\nexport const CanvasThemeConfigZ = z\n .object({\n mode: z.enum(['dark', 'light']).optional(),\n fontFamily: z.string().optional(),\n colorPrimary: z.string().optional(),\n colorPrimaryHover: z.string().optional(),\n borderRadius: z.string().optional(),\n canvas: CanvasElementConfigZ.optional(),\n launcher: LauncherElementConfigZ.optional(),\n tile: TileElementConfigZ.optional(),\n overlay: OverlayElementConfigZ.optional(),\n notification: NotificationElementConfigZ.optional(),\n })\n .strict();\n\n// ============================================================================\n// Launcher Config\n// ============================================================================\n\nexport const LauncherConfigZ = z\n .object({\n enabled: z.boolean().optional(),\n label: z.string().optional(),\n position: z.string().optional(),\n animate: z.boolean().optional(),\n animationStyle: z.enum(['pulse', 'bounce', 'glow']).optional(),\n notificationCount: z.number().optional(),\n })\n .strict();\n\n// ============================================================================\n// Canvas Config Response (top-level)\n// ============================================================================\n\nexport const CanvasConfigResponseZ = z\n .object({\n schemaVersion: z.string().optional(),\n fetchedAt: z.string().datetime(),\n configVersion: z.string().optional(),\n canvasTitle: z.string().optional(),\n tiles: z.array(TileZ),\n actions: z.array(z.any()),\n theme: CanvasThemeConfigZ.optional(),\n launcher: LauncherConfigZ.optional(),\n verificationSteps: z.array(z.string()).optional(),\n })\n .strict();\n\n// ============================================================================\n// Export: Array for unified schema generation\n// ============================================================================\n\n/**\n * Config schemas for unified JSON Schema generation.\n * The generator imports this array and converts each to a JSON Schema $def.\n */\nexport const configSchemas = [\n { defName: 'tile', schema: TileZ },\n { defName: 'themeConfig', schema: CanvasThemeConfigZ },\n { defName: 'launcherConfig', schema: LauncherConfigZ },\n { defName: 'canvasConfigResponse', schema: CanvasConfigResponseZ },\n];\n\n// ============================================================================\n// Named Exports\n// ============================================================================\n\nexport { NotificationDeepLinkZ, TileNotificationRuleZ };\n"],
|
|
5
|
+
"mappings": ";;;;;AAYA,SAAS,SAAS;AAOlB,IAAM,wBAAwB,EAC3B,OAAO;AAAA,EACN,QAAQ,EAAE,OAAO;AAAA,EACjB,QAAQ,EAAE,OAAO,EAAE,SAAS;AAC9B,CAAC,EACA,OAAO;AAEV,IAAM,wBAAwB,EAC3B,OAAO;AAAA,EACN,IAAI,EAAE,OAAO;AAAA,EACb,OAAO,EAAE,OAAO;AAAA,EAChB,MAAM,EAAE,OAAO,EAAE,SAAS;AAAA,EAC1B,MAAM,EAAE,OAAO,EAAE,SAAS;AAAA,EAC1B,KAAK,EAAE,OAAO,EAAE,SAAS;AAAA,EACzB,UAAU,EAAE,OAAO,EAAE,SAAS;AAAA,EAC9B,UAAU,sBAAsB,SAAS;AAC3C,CAAC,EACA,OAAO;AAMH,IAAM,QAAQ,EAClB,OAAO;AAAA,EACN,IAAI,EAAE,OAAO;AAAA,EACb,OAAO,EAAE,OAAO,EAAE,SAAS;AAAA,EAC3B,UAAU,EAAE,OAAO,EAAE,SAAS;AAAA,EAC9B,QAAQ,EAAE,OAAO;AAAA,EACjB,OAAO,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,SAAS;AAAA,EACtC,YAAY,kBAAkB,SAAS;AAAA,EACvC,eAAe,EAAE,MAAM,qBAAqB,EAAE,SAAS;AACzD,CAAC,EACA,OAAO;AAMH,IAAM,uBAAuB,EAAE,OAAO;AAAA,EAC3C,UAAU,EAAE,KAAK,CAAC,QAAQ,OAAO,CAAC,EAAE,SAAS;AAAA,EAC7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MH,IAAM,wBAAwB,EAClC,OAAO;AAAA,EACN,eAAe,EAAE,OAAO,EAAE,SAAS;AAAA,EACnC,WAAW,EAAE,OAAO,EAAE,SAAS;AAAA,EAC/B,eAAe,EAAE,OAAO,EAAE,SAAS;AAAA,EACnC,aAAa,EAAE,OAAO,EAAE,SAAS;AAAA,EACjC,OAAO,EAAE,MAAM,KAAK;AAAA,EACpB,SAAS,EAAE,MAAM,EAAE,IAAI,CAAC;AAAA,EACxB,OAAO,mBAAmB,SAAS;AAAA,EACnC,UAAU,gBAAgB,SAAS;AAAA,EACnC,mBAAmB,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,SAAS;AAClD,CAAC,EACA,OAAO;AAUH,IAAM,gBAAgB;AAAA,EAC3B,EAAE,SAAS,QAAQ,QAAQ,MAAM;AAAA,EACjC,EAAE,SAAS,eAAe,QAAQ,mBAAmB;AAAA,EACrD,EAAE,SAAS,kBAAkB,QAAQ,gBAAgB;AAAA,EACrD,EAAE,SAAS,wBAAwB,QAAQ,sBAAsB;AACnE;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/context/schema.d.ts
CHANGED
|
@@ -103,8 +103,8 @@ export declare const AnchorStateZ: z.ZodObject<{
|
|
|
103
103
|
h: number;
|
|
104
104
|
}>>;
|
|
105
105
|
}, "strip", z.ZodTypeAny, {
|
|
106
|
-
anchorId: string;
|
|
107
106
|
present: boolean;
|
|
107
|
+
anchorId: string;
|
|
108
108
|
visible?: boolean | undefined;
|
|
109
109
|
boundingBox?: {
|
|
110
110
|
x: number;
|
|
@@ -113,8 +113,8 @@ export declare const AnchorStateZ: z.ZodObject<{
|
|
|
113
113
|
h: number;
|
|
114
114
|
} | undefined;
|
|
115
115
|
}, {
|
|
116
|
-
anchorId: string;
|
|
117
116
|
present: boolean;
|
|
117
|
+
anchorId: string;
|
|
118
118
|
visible?: boolean | undefined;
|
|
119
119
|
boundingBox?: {
|
|
120
120
|
x: number;
|
|
@@ -200,8 +200,8 @@ export declare const RuntimeContextZ: z.ZodObject<{
|
|
|
200
200
|
h: number;
|
|
201
201
|
}>>;
|
|
202
202
|
}, "strip", z.ZodTypeAny, {
|
|
203
|
-
anchorId: string;
|
|
204
203
|
present: boolean;
|
|
204
|
+
anchorId: string;
|
|
205
205
|
visible?: boolean | undefined;
|
|
206
206
|
boundingBox?: {
|
|
207
207
|
x: number;
|
|
@@ -210,8 +210,8 @@ export declare const RuntimeContextZ: z.ZodObject<{
|
|
|
210
210
|
h: number;
|
|
211
211
|
} | undefined;
|
|
212
212
|
}, {
|
|
213
|
-
anchorId: string;
|
|
214
213
|
present: boolean;
|
|
214
|
+
anchorId: string;
|
|
215
215
|
visible?: boolean | undefined;
|
|
216
216
|
boundingBox?: {
|
|
217
217
|
x: number;
|
|
@@ -241,8 +241,8 @@ export declare const RuntimeContextZ: z.ZodObject<{
|
|
|
241
241
|
}[] | undefined;
|
|
242
242
|
};
|
|
243
243
|
anchors?: {
|
|
244
|
-
anchorId: string;
|
|
245
244
|
present: boolean;
|
|
245
|
+
anchorId: string;
|
|
246
246
|
visible?: boolean | undefined;
|
|
247
247
|
boundingBox?: {
|
|
248
248
|
x: number;
|
|
@@ -272,8 +272,8 @@ export declare const RuntimeContextZ: z.ZodObject<{
|
|
|
272
272
|
}[] | undefined;
|
|
273
273
|
};
|
|
274
274
|
anchors?: {
|
|
275
|
-
anchorId: string;
|
|
276
275
|
present: boolean;
|
|
276
|
+
anchorId: string;
|
|
277
277
|
visible?: boolean | undefined;
|
|
278
278
|
boundingBox?: {
|
|
279
279
|
x: number;
|
|
@@ -307,8 +307,8 @@ export declare function validateRuntimeContext(data: unknown): z.SafeParseReturn
|
|
|
307
307
|
}[] | undefined;
|
|
308
308
|
};
|
|
309
309
|
anchors?: {
|
|
310
|
-
anchorId: string;
|
|
311
310
|
present: boolean;
|
|
311
|
+
anchorId: string;
|
|
312
312
|
visible?: boolean | undefined;
|
|
313
313
|
boundingBox?: {
|
|
314
314
|
x: number;
|
|
@@ -338,8 +338,8 @@ export declare function validateRuntimeContext(data: unknown): z.SafeParseReturn
|
|
|
338
338
|
}[] | undefined;
|
|
339
339
|
};
|
|
340
340
|
anchors?: {
|
|
341
|
-
anchorId: string;
|
|
342
341
|
present: boolean;
|
|
342
|
+
anchorId: string;
|
|
343
343
|
visible?: boolean | undefined;
|
|
344
344
|
boundingBox?: {
|
|
345
345
|
x: number;
|