@guuey/config 0.12.2 → 0.14.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/dist/app.d.ts +97 -0
- package/dist/app.d.ts.map +1 -1
- package/dist/app.js +3 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/schema.d.ts +97 -0
- package/dist/schema.d.ts.map +1 -1
- package/dist/theme.d.ts +248 -0
- package/dist/theme.d.ts.map +1 -0
- package/dist/theme.js +95 -0
- package/package.json +3 -2
package/dist/app.d.ts
CHANGED
|
@@ -71,6 +71,103 @@ export declare const AppSectionV1: z.ZodObject<{
|
|
|
71
71
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
72
72
|
guestAccess: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
73
73
|
}, z.core.$strict>>;
|
|
74
|
+
theme: z.ZodOptional<z.ZodObject<{
|
|
75
|
+
name: z.ZodOptional<z.ZodString>;
|
|
76
|
+
mode: z.ZodEnum<{
|
|
77
|
+
light: "light";
|
|
78
|
+
dark: "dark";
|
|
79
|
+
}>;
|
|
80
|
+
colors: z.ZodObject<{
|
|
81
|
+
light: z.ZodObject<{
|
|
82
|
+
accent: z.ZodString;
|
|
83
|
+
onAccent: z.ZodString;
|
|
84
|
+
ink: z.ZodString;
|
|
85
|
+
inkMuted: z.ZodString;
|
|
86
|
+
surface: z.ZodString;
|
|
87
|
+
canvas: z.ZodString;
|
|
88
|
+
canvasMuted: z.ZodString;
|
|
89
|
+
error: z.ZodString;
|
|
90
|
+
}, z.core.$strict>;
|
|
91
|
+
dark: z.ZodObject<{
|
|
92
|
+
accent: z.ZodString;
|
|
93
|
+
onAccent: z.ZodString;
|
|
94
|
+
ink: z.ZodString;
|
|
95
|
+
inkMuted: z.ZodString;
|
|
96
|
+
surface: z.ZodString;
|
|
97
|
+
canvas: z.ZodString;
|
|
98
|
+
canvasMuted: z.ZodString;
|
|
99
|
+
error: z.ZodString;
|
|
100
|
+
}, z.core.$strict>;
|
|
101
|
+
}, z.core.$strict>;
|
|
102
|
+
ramps: z.ZodOptional<z.ZodObject<{
|
|
103
|
+
light: z.ZodOptional<z.ZodObject<{
|
|
104
|
+
accent: z.ZodObject<{
|
|
105
|
+
'100': z.ZodOptional<z.ZodString>;
|
|
106
|
+
'300': z.ZodOptional<z.ZodString>;
|
|
107
|
+
'500': z.ZodString;
|
|
108
|
+
'600': z.ZodString;
|
|
109
|
+
'700': z.ZodString;
|
|
110
|
+
'800': z.ZodOptional<z.ZodString>;
|
|
111
|
+
'900': z.ZodOptional<z.ZodString>;
|
|
112
|
+
}, z.core.$strict>;
|
|
113
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
114
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
115
|
+
'600': z.ZodOptional<z.ZodString>;
|
|
116
|
+
'700': z.ZodOptional<z.ZodString>;
|
|
117
|
+
}, z.core.$strict>>;
|
|
118
|
+
success: z.ZodOptional<z.ZodObject<{
|
|
119
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
120
|
+
}, z.core.$strict>>;
|
|
121
|
+
warning: z.ZodOptional<z.ZodObject<{
|
|
122
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
123
|
+
}, z.core.$strict>>;
|
|
124
|
+
info: z.ZodOptional<z.ZodObject<{
|
|
125
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
126
|
+
}, z.core.$strict>>;
|
|
127
|
+
}, z.core.$strict>>;
|
|
128
|
+
dark: z.ZodOptional<z.ZodObject<{
|
|
129
|
+
accent: z.ZodObject<{
|
|
130
|
+
'100': z.ZodOptional<z.ZodString>;
|
|
131
|
+
'300': z.ZodOptional<z.ZodString>;
|
|
132
|
+
'500': z.ZodString;
|
|
133
|
+
'600': z.ZodString;
|
|
134
|
+
'700': z.ZodString;
|
|
135
|
+
'800': z.ZodOptional<z.ZodString>;
|
|
136
|
+
'900': z.ZodOptional<z.ZodString>;
|
|
137
|
+
}, z.core.$strict>;
|
|
138
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
139
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
140
|
+
'600': z.ZodOptional<z.ZodString>;
|
|
141
|
+
'700': z.ZodOptional<z.ZodString>;
|
|
142
|
+
}, z.core.$strict>>;
|
|
143
|
+
success: z.ZodOptional<z.ZodObject<{
|
|
144
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
145
|
+
}, z.core.$strict>>;
|
|
146
|
+
warning: z.ZodOptional<z.ZodObject<{
|
|
147
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
148
|
+
}, z.core.$strict>>;
|
|
149
|
+
info: z.ZodOptional<z.ZodObject<{
|
|
150
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
151
|
+
}, z.core.$strict>>;
|
|
152
|
+
}, z.core.$strict>>;
|
|
153
|
+
}, z.core.$strict>>;
|
|
154
|
+
typography: z.ZodOptional<z.ZodObject<{
|
|
155
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
156
|
+
monoFontFamily: z.ZodOptional<z.ZodString>;
|
|
157
|
+
scale: z.ZodOptional<z.ZodNumber>;
|
|
158
|
+
}, z.core.$strict>>;
|
|
159
|
+
shape: z.ZodOptional<z.ZodObject<{
|
|
160
|
+
radius: z.ZodEnum<{
|
|
161
|
+
none: "none";
|
|
162
|
+
soft: "soft";
|
|
163
|
+
round: "round";
|
|
164
|
+
}>;
|
|
165
|
+
density: z.ZodEnum<{
|
|
166
|
+
compact: "compact";
|
|
167
|
+
comfortable: "comfortable";
|
|
168
|
+
}>;
|
|
169
|
+
}, z.core.$strict>>;
|
|
170
|
+
}, z.core.$strict>>;
|
|
74
171
|
}, z.core.$strict>;
|
|
75
172
|
/** Static TypeScript type for the app section. */
|
|
76
173
|
export type GuueyApp = z.infer<typeof AppSectionV1>;
|
package/dist/app.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../src/app.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../src/app.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA2CxB;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,8CAA+C,CAAC;AAChF,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEnE;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;kBAWtB,CAAC;AAEH,+CAA+C;AAC/C,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAEzD;;;GAGG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAWvB,CAAC;AAEH,kDAAkD;AAClD,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC"}
|
package/dist/app.js
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* (agent or mcp-server) is what's deployable; this section is presentation.
|
|
10
10
|
*/
|
|
11
11
|
import { z } from 'zod';
|
|
12
|
+
import { AppThemeV1 } from './theme.js';
|
|
12
13
|
/**
|
|
13
14
|
* Slug used for the public URL and App Store listing. Forms part of the
|
|
14
15
|
* agent's reachable hostname: `<slug>.agents.<env>.guuey.com`.
|
|
@@ -87,4 +88,6 @@ export const AppSectionV1 = z.strictObject({
|
|
|
87
88
|
customDomain: CustomDomainSchema.optional(),
|
|
88
89
|
/** Access policy converged by `guuey agent apply` — see {@link AppAccessV1}. */
|
|
89
90
|
access: AppAccessV1.optional(),
|
|
91
|
+
/** Chat theme AS CODE, converged by `guuey agent apply` — see {@link AppThemeV1}. */
|
|
92
|
+
theme: AppThemeV1.optional(),
|
|
90
93
|
});
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC"}
|
package/dist/index.js
CHANGED
package/dist/schema.d.ts
CHANGED
|
@@ -256,6 +256,103 @@ export declare const GuueyJsonV1: z.ZodObject<{
|
|
|
256
256
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
257
257
|
guestAccess: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
258
258
|
}, z.core.$strict>>;
|
|
259
|
+
theme: z.ZodOptional<z.ZodObject<{
|
|
260
|
+
name: z.ZodOptional<z.ZodString>;
|
|
261
|
+
mode: z.ZodEnum<{
|
|
262
|
+
light: "light";
|
|
263
|
+
dark: "dark";
|
|
264
|
+
}>;
|
|
265
|
+
colors: z.ZodObject<{
|
|
266
|
+
light: z.ZodObject<{
|
|
267
|
+
accent: z.ZodString;
|
|
268
|
+
onAccent: z.ZodString;
|
|
269
|
+
ink: z.ZodString;
|
|
270
|
+
inkMuted: z.ZodString;
|
|
271
|
+
surface: z.ZodString;
|
|
272
|
+
canvas: z.ZodString;
|
|
273
|
+
canvasMuted: z.ZodString;
|
|
274
|
+
error: z.ZodString;
|
|
275
|
+
}, z.core.$strict>;
|
|
276
|
+
dark: z.ZodObject<{
|
|
277
|
+
accent: z.ZodString;
|
|
278
|
+
onAccent: z.ZodString;
|
|
279
|
+
ink: z.ZodString;
|
|
280
|
+
inkMuted: z.ZodString;
|
|
281
|
+
surface: z.ZodString;
|
|
282
|
+
canvas: z.ZodString;
|
|
283
|
+
canvasMuted: z.ZodString;
|
|
284
|
+
error: z.ZodString;
|
|
285
|
+
}, z.core.$strict>;
|
|
286
|
+
}, z.core.$strict>;
|
|
287
|
+
ramps: z.ZodOptional<z.ZodObject<{
|
|
288
|
+
light: z.ZodOptional<z.ZodObject<{
|
|
289
|
+
accent: z.ZodObject<{
|
|
290
|
+
'100': z.ZodOptional<z.ZodString>;
|
|
291
|
+
'300': z.ZodOptional<z.ZodString>;
|
|
292
|
+
'500': z.ZodString;
|
|
293
|
+
'600': z.ZodString;
|
|
294
|
+
'700': z.ZodString;
|
|
295
|
+
'800': z.ZodOptional<z.ZodString>;
|
|
296
|
+
'900': z.ZodOptional<z.ZodString>;
|
|
297
|
+
}, z.core.$strict>;
|
|
298
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
299
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
300
|
+
'600': z.ZodOptional<z.ZodString>;
|
|
301
|
+
'700': z.ZodOptional<z.ZodString>;
|
|
302
|
+
}, z.core.$strict>>;
|
|
303
|
+
success: z.ZodOptional<z.ZodObject<{
|
|
304
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
305
|
+
}, z.core.$strict>>;
|
|
306
|
+
warning: z.ZodOptional<z.ZodObject<{
|
|
307
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
308
|
+
}, z.core.$strict>>;
|
|
309
|
+
info: z.ZodOptional<z.ZodObject<{
|
|
310
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
311
|
+
}, z.core.$strict>>;
|
|
312
|
+
}, z.core.$strict>>;
|
|
313
|
+
dark: z.ZodOptional<z.ZodObject<{
|
|
314
|
+
accent: z.ZodObject<{
|
|
315
|
+
'100': z.ZodOptional<z.ZodString>;
|
|
316
|
+
'300': z.ZodOptional<z.ZodString>;
|
|
317
|
+
'500': z.ZodString;
|
|
318
|
+
'600': z.ZodString;
|
|
319
|
+
'700': z.ZodString;
|
|
320
|
+
'800': z.ZodOptional<z.ZodString>;
|
|
321
|
+
'900': z.ZodOptional<z.ZodString>;
|
|
322
|
+
}, z.core.$strict>;
|
|
323
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
324
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
325
|
+
'600': z.ZodOptional<z.ZodString>;
|
|
326
|
+
'700': z.ZodOptional<z.ZodString>;
|
|
327
|
+
}, z.core.$strict>>;
|
|
328
|
+
success: z.ZodOptional<z.ZodObject<{
|
|
329
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
330
|
+
}, z.core.$strict>>;
|
|
331
|
+
warning: z.ZodOptional<z.ZodObject<{
|
|
332
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
333
|
+
}, z.core.$strict>>;
|
|
334
|
+
info: z.ZodOptional<z.ZodObject<{
|
|
335
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
336
|
+
}, z.core.$strict>>;
|
|
337
|
+
}, z.core.$strict>>;
|
|
338
|
+
}, z.core.$strict>>;
|
|
339
|
+
typography: z.ZodOptional<z.ZodObject<{
|
|
340
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
341
|
+
monoFontFamily: z.ZodOptional<z.ZodString>;
|
|
342
|
+
scale: z.ZodOptional<z.ZodNumber>;
|
|
343
|
+
}, z.core.$strict>>;
|
|
344
|
+
shape: z.ZodOptional<z.ZodObject<{
|
|
345
|
+
radius: z.ZodEnum<{
|
|
346
|
+
none: "none";
|
|
347
|
+
soft: "soft";
|
|
348
|
+
round: "round";
|
|
349
|
+
}>;
|
|
350
|
+
density: z.ZodEnum<{
|
|
351
|
+
compact: "compact";
|
|
352
|
+
comfortable: "comfortable";
|
|
353
|
+
}>;
|
|
354
|
+
}, z.core.$strict>>;
|
|
355
|
+
}, z.core.$strict>>;
|
|
259
356
|
}, z.core.$strict>>;
|
|
260
357
|
ggui: z.ZodOptional<z.ZodObject<{
|
|
261
358
|
appId: z.ZodOptional<z.ZodString>;
|
package/dist/schema.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,KAAK,UAAU,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,EAAgB,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAC;AACvD,OAAO,EAAiB,KAAK,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAEjE;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,2BAA2B,MAAM,CAAC;AAE/C;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,sBAAsB,GAC9B;IAAE,IAAI,EAAE,WAAW,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GACpC;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,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AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,OAAO,GAAG,WAAW,CAExD;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAChC,GAAG,EAAE,OAAO,GACX,UAAU,CAAC,OAAO,WAAW,CAAC,SAAS,CAAC,CAE1C"}
|
package/dist/theme.d.ts
ADDED
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `guuey.json#app.theme` — the app's chat theme AS CODE (theme-as-code,
|
|
3
|
+
* guuey#341 spec §2/§3).
|
|
4
|
+
*
|
|
5
|
+
* The manifest block IS the stored `GuueyApp.chatTheme` document (the
|
|
6
|
+
* `@guuey/chat` `GuueyChatTheme` vocabulary — ONE document, never a second
|
|
7
|
+
* theme language), submitted STRICTLY: unknown keys reject loudly in CI
|
|
8
|
+
* where the stored/read tier stays lenient (strict submit, lenient store —
|
|
9
|
+
* the reconcile philosophy split, spec D3). The schemas here are
|
|
10
|
+
* hand-mirrored strict twins of the kit's lenient ones; `theme.sync.test.ts`
|
|
11
|
+
* pins the vocabularies key-for-key so the mirror cannot drift (the same
|
|
12
|
+
* pattern as the CLI's wire mirrors — this package must not carry the kit
|
|
13
|
+
* as a runtime dependency just to borrow eight key names).
|
|
14
|
+
*
|
|
15
|
+
* Colour VALUES are validated server-side by the platform's one grammar
|
|
16
|
+
* (6/8-digit hex + canonical `rgb()`/`rgba()` — `validateChatTheme`); this
|
|
17
|
+
* schema deliberately checks shape only, so the CLI's plan/apply surfaces
|
|
18
|
+
* the server validator's exact message rather than a divergent local one.
|
|
19
|
+
*
|
|
20
|
+
* Sections a manifest omits (`name`, `typography`, `shape`) are filled with
|
|
21
|
+
* the kit defaults by the SERVER's one derivation site at reconcile time —
|
|
22
|
+
* constants, so the fill is deterministic and the idempotency byte-match
|
|
23
|
+
* holds.
|
|
24
|
+
*/
|
|
25
|
+
import { z } from 'zod';
|
|
26
|
+
/** One mode's full palette — every token stated (the kit requires complete palettes). */
|
|
27
|
+
export declare const ThemePaletteV1: z.ZodObject<{
|
|
28
|
+
accent: z.ZodString;
|
|
29
|
+
onAccent: z.ZodString;
|
|
30
|
+
ink: z.ZodString;
|
|
31
|
+
inkMuted: z.ZodString;
|
|
32
|
+
surface: z.ZodString;
|
|
33
|
+
canvas: z.ZodString;
|
|
34
|
+
canvasMuted: z.ZodString;
|
|
35
|
+
error: z.ZodString;
|
|
36
|
+
}, z.core.$strict>;
|
|
37
|
+
export type ThemePaletteV1 = z.infer<typeof ThemePaletteV1>;
|
|
38
|
+
/**
|
|
39
|
+
* Stated accent ladder. The 500/600/700 floor (spec §3 / the gold record,
|
|
40
|
+
* §7) is REQUIRED structurally here — the manifest is the write side, where
|
|
41
|
+
* floor semantics are enforced.
|
|
42
|
+
*/
|
|
43
|
+
export declare const ThemeAccentRampV1: z.ZodObject<{
|
|
44
|
+
'100': z.ZodOptional<z.ZodString>;
|
|
45
|
+
'300': z.ZodOptional<z.ZodString>;
|
|
46
|
+
'500': z.ZodString;
|
|
47
|
+
'600': z.ZodString;
|
|
48
|
+
'700': z.ZodString;
|
|
49
|
+
'800': z.ZodOptional<z.ZodString>;
|
|
50
|
+
'900': z.ZodOptional<z.ZodString>;
|
|
51
|
+
}, z.core.$strict>;
|
|
52
|
+
export type ThemeAccentRampV1 = z.infer<typeof ThemeAccentRampV1>;
|
|
53
|
+
export declare const ThemeErrorRampV1: z.ZodObject<{
|
|
54
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
55
|
+
'600': z.ZodOptional<z.ZodString>;
|
|
56
|
+
'700': z.ZodOptional<z.ZodString>;
|
|
57
|
+
}, z.core.$strict>;
|
|
58
|
+
export type ThemeErrorRampV1 = z.infer<typeof ThemeErrorRampV1>;
|
|
59
|
+
/** The status tone slot (rnd R1 — consumers exist today). */
|
|
60
|
+
export declare const ThemeToneRampV1: z.ZodObject<{
|
|
61
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
62
|
+
}, z.core.$strict>;
|
|
63
|
+
export type ThemeToneRampV1 = z.infer<typeof ThemeToneRampV1>;
|
|
64
|
+
/** One mode's stated ramps — stating ANY family requires the accent floor. */
|
|
65
|
+
export declare const ThemeRampSetV1: z.ZodObject<{
|
|
66
|
+
accent: z.ZodObject<{
|
|
67
|
+
'100': z.ZodOptional<z.ZodString>;
|
|
68
|
+
'300': z.ZodOptional<z.ZodString>;
|
|
69
|
+
'500': z.ZodString;
|
|
70
|
+
'600': z.ZodString;
|
|
71
|
+
'700': z.ZodString;
|
|
72
|
+
'800': z.ZodOptional<z.ZodString>;
|
|
73
|
+
'900': z.ZodOptional<z.ZodString>;
|
|
74
|
+
}, z.core.$strict>;
|
|
75
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
76
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
77
|
+
'600': z.ZodOptional<z.ZodString>;
|
|
78
|
+
'700': z.ZodOptional<z.ZodString>;
|
|
79
|
+
}, z.core.$strict>>;
|
|
80
|
+
success: z.ZodOptional<z.ZodObject<{
|
|
81
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
82
|
+
}, z.core.$strict>>;
|
|
83
|
+
warning: z.ZodOptional<z.ZodObject<{
|
|
84
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
85
|
+
}, z.core.$strict>>;
|
|
86
|
+
info: z.ZodOptional<z.ZodObject<{
|
|
87
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
88
|
+
}, z.core.$strict>>;
|
|
89
|
+
}, z.core.$strict>;
|
|
90
|
+
export type ThemeRampSetV1 = z.infer<typeof ThemeRampSetV1>;
|
|
91
|
+
export declare const ThemeRampsV1: z.ZodObject<{
|
|
92
|
+
light: z.ZodOptional<z.ZodObject<{
|
|
93
|
+
accent: z.ZodObject<{
|
|
94
|
+
'100': z.ZodOptional<z.ZodString>;
|
|
95
|
+
'300': z.ZodOptional<z.ZodString>;
|
|
96
|
+
'500': z.ZodString;
|
|
97
|
+
'600': z.ZodString;
|
|
98
|
+
'700': z.ZodString;
|
|
99
|
+
'800': z.ZodOptional<z.ZodString>;
|
|
100
|
+
'900': z.ZodOptional<z.ZodString>;
|
|
101
|
+
}, z.core.$strict>;
|
|
102
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
103
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
104
|
+
'600': z.ZodOptional<z.ZodString>;
|
|
105
|
+
'700': z.ZodOptional<z.ZodString>;
|
|
106
|
+
}, z.core.$strict>>;
|
|
107
|
+
success: z.ZodOptional<z.ZodObject<{
|
|
108
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
109
|
+
}, z.core.$strict>>;
|
|
110
|
+
warning: z.ZodOptional<z.ZodObject<{
|
|
111
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
112
|
+
}, z.core.$strict>>;
|
|
113
|
+
info: z.ZodOptional<z.ZodObject<{
|
|
114
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
115
|
+
}, z.core.$strict>>;
|
|
116
|
+
}, z.core.$strict>>;
|
|
117
|
+
dark: z.ZodOptional<z.ZodObject<{
|
|
118
|
+
accent: z.ZodObject<{
|
|
119
|
+
'100': z.ZodOptional<z.ZodString>;
|
|
120
|
+
'300': z.ZodOptional<z.ZodString>;
|
|
121
|
+
'500': z.ZodString;
|
|
122
|
+
'600': z.ZodString;
|
|
123
|
+
'700': z.ZodString;
|
|
124
|
+
'800': z.ZodOptional<z.ZodString>;
|
|
125
|
+
'900': z.ZodOptional<z.ZodString>;
|
|
126
|
+
}, z.core.$strict>;
|
|
127
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
128
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
129
|
+
'600': z.ZodOptional<z.ZodString>;
|
|
130
|
+
'700': z.ZodOptional<z.ZodString>;
|
|
131
|
+
}, z.core.$strict>>;
|
|
132
|
+
success: z.ZodOptional<z.ZodObject<{
|
|
133
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
134
|
+
}, z.core.$strict>>;
|
|
135
|
+
warning: z.ZodOptional<z.ZodObject<{
|
|
136
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
137
|
+
}, z.core.$strict>>;
|
|
138
|
+
info: z.ZodOptional<z.ZodObject<{
|
|
139
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
140
|
+
}, z.core.$strict>>;
|
|
141
|
+
}, z.core.$strict>>;
|
|
142
|
+
}, z.core.$strict>;
|
|
143
|
+
export type ThemeRampsV1 = z.infer<typeof ThemeRampsV1>;
|
|
144
|
+
/**
|
|
145
|
+
* The manifest theme block. `mode` is REQUIRED (spec §3): a theme managed
|
|
146
|
+
* as code states its canonical presentation mode — the compiled ggui stamp
|
|
147
|
+
* pins its render slice to it, replacing the legacy surface-polarity
|
|
148
|
+
* derivation. Ramps are STATED values, never derived (spec D7).
|
|
149
|
+
*/
|
|
150
|
+
export declare const AppThemeV1: z.ZodObject<{
|
|
151
|
+
name: z.ZodOptional<z.ZodString>;
|
|
152
|
+
mode: z.ZodEnum<{
|
|
153
|
+
light: "light";
|
|
154
|
+
dark: "dark";
|
|
155
|
+
}>;
|
|
156
|
+
colors: z.ZodObject<{
|
|
157
|
+
light: z.ZodObject<{
|
|
158
|
+
accent: z.ZodString;
|
|
159
|
+
onAccent: z.ZodString;
|
|
160
|
+
ink: z.ZodString;
|
|
161
|
+
inkMuted: z.ZodString;
|
|
162
|
+
surface: z.ZodString;
|
|
163
|
+
canvas: z.ZodString;
|
|
164
|
+
canvasMuted: z.ZodString;
|
|
165
|
+
error: z.ZodString;
|
|
166
|
+
}, z.core.$strict>;
|
|
167
|
+
dark: z.ZodObject<{
|
|
168
|
+
accent: z.ZodString;
|
|
169
|
+
onAccent: z.ZodString;
|
|
170
|
+
ink: z.ZodString;
|
|
171
|
+
inkMuted: z.ZodString;
|
|
172
|
+
surface: z.ZodString;
|
|
173
|
+
canvas: z.ZodString;
|
|
174
|
+
canvasMuted: z.ZodString;
|
|
175
|
+
error: z.ZodString;
|
|
176
|
+
}, z.core.$strict>;
|
|
177
|
+
}, z.core.$strict>;
|
|
178
|
+
ramps: z.ZodOptional<z.ZodObject<{
|
|
179
|
+
light: z.ZodOptional<z.ZodObject<{
|
|
180
|
+
accent: z.ZodObject<{
|
|
181
|
+
'100': z.ZodOptional<z.ZodString>;
|
|
182
|
+
'300': z.ZodOptional<z.ZodString>;
|
|
183
|
+
'500': z.ZodString;
|
|
184
|
+
'600': z.ZodString;
|
|
185
|
+
'700': z.ZodString;
|
|
186
|
+
'800': z.ZodOptional<z.ZodString>;
|
|
187
|
+
'900': z.ZodOptional<z.ZodString>;
|
|
188
|
+
}, z.core.$strict>;
|
|
189
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
190
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
191
|
+
'600': z.ZodOptional<z.ZodString>;
|
|
192
|
+
'700': z.ZodOptional<z.ZodString>;
|
|
193
|
+
}, z.core.$strict>>;
|
|
194
|
+
success: z.ZodOptional<z.ZodObject<{
|
|
195
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
196
|
+
}, z.core.$strict>>;
|
|
197
|
+
warning: z.ZodOptional<z.ZodObject<{
|
|
198
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
199
|
+
}, z.core.$strict>>;
|
|
200
|
+
info: z.ZodOptional<z.ZodObject<{
|
|
201
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
202
|
+
}, z.core.$strict>>;
|
|
203
|
+
}, z.core.$strict>>;
|
|
204
|
+
dark: z.ZodOptional<z.ZodObject<{
|
|
205
|
+
accent: z.ZodObject<{
|
|
206
|
+
'100': z.ZodOptional<z.ZodString>;
|
|
207
|
+
'300': z.ZodOptional<z.ZodString>;
|
|
208
|
+
'500': z.ZodString;
|
|
209
|
+
'600': z.ZodString;
|
|
210
|
+
'700': z.ZodString;
|
|
211
|
+
'800': z.ZodOptional<z.ZodString>;
|
|
212
|
+
'900': z.ZodOptional<z.ZodString>;
|
|
213
|
+
}, z.core.$strict>;
|
|
214
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
215
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
216
|
+
'600': z.ZodOptional<z.ZodString>;
|
|
217
|
+
'700': z.ZodOptional<z.ZodString>;
|
|
218
|
+
}, z.core.$strict>>;
|
|
219
|
+
success: z.ZodOptional<z.ZodObject<{
|
|
220
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
221
|
+
}, z.core.$strict>>;
|
|
222
|
+
warning: z.ZodOptional<z.ZodObject<{
|
|
223
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
224
|
+
}, z.core.$strict>>;
|
|
225
|
+
info: z.ZodOptional<z.ZodObject<{
|
|
226
|
+
'500': z.ZodOptional<z.ZodString>;
|
|
227
|
+
}, z.core.$strict>>;
|
|
228
|
+
}, z.core.$strict>>;
|
|
229
|
+
}, z.core.$strict>>;
|
|
230
|
+
typography: z.ZodOptional<z.ZodObject<{
|
|
231
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
232
|
+
monoFontFamily: z.ZodOptional<z.ZodString>;
|
|
233
|
+
scale: z.ZodOptional<z.ZodNumber>;
|
|
234
|
+
}, z.core.$strict>>;
|
|
235
|
+
shape: z.ZodOptional<z.ZodObject<{
|
|
236
|
+
radius: z.ZodEnum<{
|
|
237
|
+
none: "none";
|
|
238
|
+
soft: "soft";
|
|
239
|
+
round: "round";
|
|
240
|
+
}>;
|
|
241
|
+
density: z.ZodEnum<{
|
|
242
|
+
compact: "compact";
|
|
243
|
+
comfortable: "comfortable";
|
|
244
|
+
}>;
|
|
245
|
+
}, z.core.$strict>>;
|
|
246
|
+
}, z.core.$strict>;
|
|
247
|
+
export type GuueyAppTheme = z.infer<typeof AppThemeV1>;
|
|
248
|
+
//# sourceMappingURL=theme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../src/theme.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,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's chat theme AS CODE (theme-as-code,
|
|
3
|
+
* guuey#341 spec §2/§3).
|
|
4
|
+
*
|
|
5
|
+
* The manifest block IS the stored `GuueyApp.chatTheme` document (the
|
|
6
|
+
* `@guuey/chat` `GuueyChatTheme` vocabulary — ONE document, never a second
|
|
7
|
+
* theme language), submitted STRICTLY: unknown keys reject loudly in CI
|
|
8
|
+
* where the stored/read tier stays lenient (strict submit, lenient store —
|
|
9
|
+
* the reconcile philosophy split, spec D3). The schemas here are
|
|
10
|
+
* hand-mirrored strict twins of the kit's lenient ones; `theme.sync.test.ts`
|
|
11
|
+
* pins the vocabularies key-for-key so the mirror cannot drift (the same
|
|
12
|
+
* pattern as the CLI's wire mirrors — this package must not carry the kit
|
|
13
|
+
* as a runtime dependency just to borrow eight key names).
|
|
14
|
+
*
|
|
15
|
+
* Colour VALUES are validated server-side by the platform's one grammar
|
|
16
|
+
* (6/8-digit hex + canonical `rgb()`/`rgba()` — `validateChatTheme`); this
|
|
17
|
+
* schema deliberately checks shape only, so the CLI's plan/apply surfaces
|
|
18
|
+
* the server validator's exact message rather than a divergent local one.
|
|
19
|
+
*
|
|
20
|
+
* Sections a manifest omits (`name`, `typography`, `shape`) are filled with
|
|
21
|
+
* the kit defaults by the SERVER's one derivation site at reconcile time —
|
|
22
|
+
* constants, so the fill is deterministic and the idempotency byte-match
|
|
23
|
+
* holds.
|
|
24
|
+
*/
|
|
25
|
+
import { z } from 'zod';
|
|
26
|
+
const ColorValue = z.string().min(1).max(64);
|
|
27
|
+
/** One mode's full palette — every token stated (the kit requires complete palettes). */
|
|
28
|
+
export const ThemePaletteV1 = z.strictObject({
|
|
29
|
+
accent: ColorValue,
|
|
30
|
+
onAccent: ColorValue,
|
|
31
|
+
ink: ColorValue,
|
|
32
|
+
inkMuted: ColorValue,
|
|
33
|
+
surface: ColorValue,
|
|
34
|
+
canvas: ColorValue,
|
|
35
|
+
canvasMuted: ColorValue,
|
|
36
|
+
error: ColorValue,
|
|
37
|
+
});
|
|
38
|
+
/**
|
|
39
|
+
* Stated accent ladder. The 500/600/700 floor (spec §3 / the gold record,
|
|
40
|
+
* §7) is REQUIRED structurally here — the manifest is the write side, where
|
|
41
|
+
* floor semantics are enforced.
|
|
42
|
+
*/
|
|
43
|
+
export const ThemeAccentRampV1 = z.strictObject({
|
|
44
|
+
'100': ColorValue.optional(),
|
|
45
|
+
'300': ColorValue.optional(),
|
|
46
|
+
'500': ColorValue,
|
|
47
|
+
'600': ColorValue,
|
|
48
|
+
'700': ColorValue,
|
|
49
|
+
'800': ColorValue.optional(),
|
|
50
|
+
'900': ColorValue.optional(),
|
|
51
|
+
});
|
|
52
|
+
export const ThemeErrorRampV1 = z.strictObject({
|
|
53
|
+
'500': ColorValue.optional(),
|
|
54
|
+
'600': ColorValue.optional(),
|
|
55
|
+
'700': ColorValue.optional(),
|
|
56
|
+
});
|
|
57
|
+
/** The status tone slot (rnd R1 — consumers exist today). */
|
|
58
|
+
export const ThemeToneRampV1 = z.strictObject({ '500': ColorValue.optional() });
|
|
59
|
+
/** One mode's stated ramps — stating ANY family requires the accent floor. */
|
|
60
|
+
export const ThemeRampSetV1 = z.strictObject({
|
|
61
|
+
accent: ThemeAccentRampV1,
|
|
62
|
+
error: ThemeErrorRampV1.optional(),
|
|
63
|
+
success: ThemeToneRampV1.optional(),
|
|
64
|
+
warning: ThemeToneRampV1.optional(),
|
|
65
|
+
info: ThemeToneRampV1.optional(),
|
|
66
|
+
});
|
|
67
|
+
export const ThemeRampsV1 = z.strictObject({
|
|
68
|
+
light: ThemeRampSetV1.optional(),
|
|
69
|
+
dark: ThemeRampSetV1.optional(),
|
|
70
|
+
});
|
|
71
|
+
/**
|
|
72
|
+
* The manifest theme block. `mode` is REQUIRED (spec §3): a theme managed
|
|
73
|
+
* as code states its canonical presentation mode — the compiled ggui stamp
|
|
74
|
+
* pins its render slice to it, replacing the legacy surface-polarity
|
|
75
|
+
* derivation. Ramps are STATED values, never derived (spec D7).
|
|
76
|
+
*/
|
|
77
|
+
export const AppThemeV1 = z.strictObject({
|
|
78
|
+
name: z.string().min(1).max(64).optional(),
|
|
79
|
+
mode: z.enum(['light', 'dark']),
|
|
80
|
+
colors: z.strictObject({ light: ThemePaletteV1, dark: ThemePaletteV1 }),
|
|
81
|
+
ramps: ThemeRampsV1.optional(),
|
|
82
|
+
typography: z
|
|
83
|
+
.strictObject({
|
|
84
|
+
fontFamily: z.string().min(1).max(200).optional(),
|
|
85
|
+
monoFontFamily: z.string().min(1).max(200).optional(),
|
|
86
|
+
scale: z.number().min(0.75).max(1.5).optional(),
|
|
87
|
+
})
|
|
88
|
+
.optional(),
|
|
89
|
+
shape: z
|
|
90
|
+
.strictObject({
|
|
91
|
+
radius: z.enum(['none', 'soft', 'round']),
|
|
92
|
+
density: z.enum(['compact', 'comfortable']),
|
|
93
|
+
})
|
|
94
|
+
.optional(),
|
|
95
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@guuey/config",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"description": "Open-source schemas + loaders for the three guuey config files: agent.json (declarative agent definition), guuey.json (hosted-deploy overlay), and the helper types around them. Consumed by @guuey/cli, the guuey backend, and devs writing their own agent or MCP server.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -34,7 +34,8 @@
|
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/node": "^24.0.0",
|
|
36
36
|
"typescript": "^5.0.0",
|
|
37
|
-
"vitest": "^3.
|
|
37
|
+
"vitest": "^3.2.7",
|
|
38
|
+
"@guuey/chat": "0.14.0"
|
|
38
39
|
},
|
|
39
40
|
"publishConfig": {
|
|
40
41
|
"access": "public"
|