@ggui-ai/project-config 0.25.0 → 0.27.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/README.md +2 -2
- package/dist/theme.d.ts.map +1 -1
- package/dist/theme.js +12 -8
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# @ggui-ai/project-config
|
|
2
2
|
|
|
3
|
-
> Schema and loader for `ggui.json` — the portable app/agent manifest for the [
|
|
3
|
+
> Schema and loader for `ggui.json` — the portable app/agent manifest for the [GGUI](https://github.com/ggui-ai/ggui) protocol.
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@ggui-ai/project-config)
|
|
6
6
|
[](./LICENSE)
|
|
7
7
|
|
|
8
|
-
`ggui.json` is the single source of truth for a
|
|
8
|
+
`ggui.json` is the single source of truth for a GGUI app: its identity, the agent entry point, storage, theme, primitives, and blueprints. This package owns the schema (a [Zod](https://zod.dev) document) and the loaders that read, validate, and write it.
|
|
9
9
|
|
|
10
10
|
## Install
|
|
11
11
|
|
package/dist/theme.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../src/theme.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,SAAS,EAAa,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../src/theme.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,SAAS,EAAa,MAAM,wBAAwB,CAAC;AA4YnE;;;;;;;;;;;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ion.duration` /
|
|
259
259
|
* `motion.easing` DO reach the card since **ggui#1106** (the primitives
|
|
260
260
|
* read `--ggui-motion-*` variables the projection emits); `motion.reduce`
|
|
261
|
-
* is
|
|
261
|
+
* is carried and never read, because a card always honours the viewer's
|
|
262
|
+
* reduced-motion request, so `'ignore'` is treated as `'respect'`
|
|
263
|
+
* (ggui#1326). A writer may declare
|
|
262
264
|
* all of them now, which is the point of contracting first; nobody should
|
|
263
265
|
* read the contract as shipping a behaviour this list says is not consumed.
|
|
264
266
|
*/
|
|
@@ -349,14 +351,16 @@ const MotionGroup = z.strictObject({
|
|
|
349
351
|
/** Per-app easing override — three roles, each value validated at the door (ggui#1093 P1c). */
|
|
350
352
|
easing: MotionEasingGroup.optional(),
|
|
351
353
|
/**
|
|
352
|
-
*
|
|
354
|
+
* The document's reduced-motion stance. Whatever it says, a card never
|
|
355
|
+
* overrides its viewer's reduced-motion request (ggui#1326): the
|
|
356
|
+
* reduced-motion rule applies under `prefers-reduced-motion: reduce`
|
|
357
|
+
* for every theme, because the preference is the viewer's own
|
|
358
|
+
* accessibility setting.
|
|
353
359
|
*
|
|
354
|
-
*
|
|
355
|
-
*
|
|
356
|
-
*
|
|
357
|
-
*
|
|
358
|
-
* unless a document explicitly says `ignore`. Absence therefore means
|
|
359
|
-
* "respect" downstream, without the wire inventing it.
|
|
360
|
+
* The door still accepts `'ignore'`, because stored documents and theme
|
|
361
|
+
* writes from earlier releases carry it, and downstream treats it as
|
|
362
|
+
* `'respect'`. The door does not stamp a value: absent stays absent, so
|
|
363
|
+
* the document never carries something its author did not write.
|
|
360
364
|
*/
|
|
361
365
|
reduce: z.enum(['respect', 'ignore']).optional(),
|
|
362
366
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ggui-ai/project-config",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.0",
|
|
4
4
|
"description": "Schema and loader for `ggui.json` — the portable app/agent manifest for the ggui protocol. Vendor-neutral. Consumed by the `ggui` CLI and any host that reconstitutes an agent from the manifest.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ggui",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"tinyglobby": "^0.2.16",
|
|
35
35
|
"zod": "^4.3.6",
|
|
36
|
-
"@ggui-ai/design": "0.
|
|
37
|
-
"@ggui-ai/protocol": "0.
|
|
36
|
+
"@ggui-ai/design": "0.27.0",
|
|
37
|
+
"@ggui-ai/protocol": "0.27.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/node": "^24.0.0",
|