@ggui-ai/protocol 0.16.0 → 0.18.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/gadgets/stdlib-gadgets.d.ts +1 -1
- package/dist/gadgets/stdlib-gadgets.js +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -2
- package/dist/integrations/mcp-apps.d.ts +91 -8
- package/dist/integrations/mcp-apps.d.ts.map +1 -1
- package/dist/integrations/mcp-apps.js +62 -12
- package/dist/integrations/overlay-hash.d.ts +1 -1
- package/dist/integrations/overlay-hash.d.ts.map +1 -1
- package/dist/schemas/app-generation-profile.d.ts +200 -0
- package/dist/schemas/app-generation-profile.d.ts.map +1 -0
- package/dist/schemas/app-generation-profile.js +168 -0
- package/dist/schemas/app-theme.d.ts +274 -0
- package/dist/schemas/app-theme.d.ts.map +1 -1
- package/dist/schemas/app-theme.js +219 -0
- package/dist/schemas/data-contract.d.ts +46 -0
- package/dist/schemas/data-contract.d.ts.map +1 -1
- package/dist/schemas/data-contract.js +162 -0
- package/dist/schemas/mcp.d.ts +14 -5
- package/dist/schemas/mcp.d.ts.map +1 -1
- package/dist/schemas/mcp.js +15 -6
- package/dist/schemas/ops-blueprint.d.ts +7 -0
- package/dist/schemas/ops-blueprint.d.ts.map +1 -1
- package/dist/schemas/ops-blueprint.js +12 -0
- package/dist/schemas/rendering-context.d.ts +48 -0
- package/dist/schemas/rendering-context.d.ts.map +1 -0
- package/dist/schemas/rendering-context.js +39 -0
- package/dist/types/data-contract.d.ts +15 -1
- package/dist/types/data-contract.d.ts.map +1 -1
- package/dist/types/render.d.ts +3 -2
- package/dist/types/render.d.ts.map +1 -1
- package/dist/version.d.ts +101 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +101 -1
- package/package.json +1 -1
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* The rendering-context vocabulary — how and where a generated component
|
|
4
|
+
* will be displayed (ggui#1000, `items[].rendering?` on the bootstrap door).
|
|
5
|
+
*
|
|
6
|
+
* ONE vocabulary. It used to exist twice as hand-declared unions
|
|
7
|
+
* (`@ggui-ai/mcp-server-core` `UiGenerateInput.rendering`, `@ggui-ai/ui-gen`
|
|
8
|
+
* `RenderingContext`) and nowhere as a schema; a wire that carries it needs
|
|
9
|
+
* a validator, so it lives here and every consumer derives its type from
|
|
10
|
+
* this schema — never a second spelling, never a narrower one at a door.
|
|
11
|
+
*
|
|
12
|
+
* Parties and obligations: a SENDER (a host announcing where the
|
|
13
|
+
* component renders; a provisioning caller pre-minting for a chip) sends
|
|
14
|
+
* `{ shell, device, viewport? }` from this vocabulary and nothing else; a
|
|
15
|
+
* RECEIVER validates with this schema and answers an invalid value with its
|
|
16
|
+
* surface's typed refusal (the bootstrap door: `400 invalid_rendering`);
|
|
17
|
+
* what a lane can JUDGE for a given shell/device (its canvas pair) is that
|
|
18
|
+
* lane's policy, reported on its receipt — never a trimmed vocabulary.
|
|
19
|
+
* Absent ⇒ the receiver's default behaviour, unchanged.
|
|
20
|
+
*/
|
|
21
|
+
export declare const RENDERING_SHELLS: readonly ["chat", "fullscreen", "partial"];
|
|
22
|
+
export declare const RENDERING_DEVICES: readonly ["mobile", "tablet", "desktop", "spatial"];
|
|
23
|
+
export type RenderingShell = (typeof RENDERING_SHELLS)[number];
|
|
24
|
+
export type RenderingDevice = (typeof RENDERING_DEVICES)[number];
|
|
25
|
+
/** Viewport in CSS pixels — both dimensions, finite and positive. */
|
|
26
|
+
export declare const renderingViewportSchema: z.ZodObject<{
|
|
27
|
+
width: z.ZodNumber;
|
|
28
|
+
height: z.ZodNumber;
|
|
29
|
+
}, z.core.$strict>;
|
|
30
|
+
export declare const renderingContextSchema: z.ZodObject<{
|
|
31
|
+
device: z.ZodEnum<{
|
|
32
|
+
desktop: "desktop";
|
|
33
|
+
mobile: "mobile";
|
|
34
|
+
tablet: "tablet";
|
|
35
|
+
spatial: "spatial";
|
|
36
|
+
}>;
|
|
37
|
+
shell: z.ZodEnum<{
|
|
38
|
+
fullscreen: "fullscreen";
|
|
39
|
+
chat: "chat";
|
|
40
|
+
partial: "partial";
|
|
41
|
+
}>;
|
|
42
|
+
viewport: z.ZodOptional<z.ZodObject<{
|
|
43
|
+
width: z.ZodNumber;
|
|
44
|
+
height: z.ZodNumber;
|
|
45
|
+
}, z.core.$strict>>;
|
|
46
|
+
}, z.core.$strict>;
|
|
47
|
+
export type RenderingContext = z.infer<typeof renderingContextSchema>;
|
|
48
|
+
//# sourceMappingURL=rendering-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rendering-context.d.ts","sourceRoot":"","sources":["../../src/schemas/rendering-context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,gBAAgB,4CAA6C,CAAC;AAC3E,eAAO,MAAM,iBAAiB,qDAAsD,CAAC;AAErF,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;AAC/D,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEjE,qEAAqE;AACrE,eAAO,MAAM,uBAAuB;;;kBAKzB,CAAC;AAEZ,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;kBASxB,CAAC;AAEZ,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* The rendering-context vocabulary — how and where a generated component
|
|
4
|
+
* will be displayed (ggui#1000, `items[].rendering?` on the bootstrap door).
|
|
5
|
+
*
|
|
6
|
+
* ONE vocabulary. It used to exist twice as hand-declared unions
|
|
7
|
+
* (`@ggui-ai/mcp-server-core` `UiGenerateInput.rendering`, `@ggui-ai/ui-gen`
|
|
8
|
+
* `RenderingContext`) and nowhere as a schema; a wire that carries it needs
|
|
9
|
+
* a validator, so it lives here and every consumer derives its type from
|
|
10
|
+
* this schema — never a second spelling, never a narrower one at a door.
|
|
11
|
+
*
|
|
12
|
+
* Parties and obligations: a SENDER (a host announcing where the
|
|
13
|
+
* component renders; a provisioning caller pre-minting for a chip) sends
|
|
14
|
+
* `{ shell, device, viewport? }` from this vocabulary and nothing else; a
|
|
15
|
+
* RECEIVER validates with this schema and answers an invalid value with its
|
|
16
|
+
* surface's typed refusal (the bootstrap door: `400 invalid_rendering`);
|
|
17
|
+
* what a lane can JUDGE for a given shell/device (its canvas pair) is that
|
|
18
|
+
* lane's policy, reported on its receipt — never a trimmed vocabulary.
|
|
19
|
+
* Absent ⇒ the receiver's default behaviour, unchanged.
|
|
20
|
+
*/
|
|
21
|
+
export const RENDERING_SHELLS = ['chat', 'fullscreen', 'partial'];
|
|
22
|
+
export const RENDERING_DEVICES = ['mobile', 'tablet', 'desktop', 'spatial'];
|
|
23
|
+
/** Viewport in CSS pixels — both dimensions, finite and positive. */
|
|
24
|
+
export const renderingViewportSchema = z
|
|
25
|
+
.object({
|
|
26
|
+
width: z.number().finite().positive(),
|
|
27
|
+
height: z.number().finite().positive(),
|
|
28
|
+
})
|
|
29
|
+
.strict();
|
|
30
|
+
export const renderingContextSchema = z
|
|
31
|
+
.object({
|
|
32
|
+
/** Device category — affects touch targets, column count, density. */
|
|
33
|
+
device: z.enum(RENDERING_DEVICES),
|
|
34
|
+
/** Shell type — the container the component renders in. */
|
|
35
|
+
shell: z.enum(RENDERING_SHELLS),
|
|
36
|
+
/** Viewport dimensions in CSS pixels (optional). */
|
|
37
|
+
viewport: renderingViewportSchema.optional(),
|
|
38
|
+
})
|
|
39
|
+
.strict();
|
|
@@ -266,6 +266,14 @@ export interface ActionEntry {
|
|
|
266
266
|
description?: string;
|
|
267
267
|
/** Label shown on the UI element */
|
|
268
268
|
label: string;
|
|
269
|
+
/**
|
|
270
|
+
* This action may fire AT MOST ONCE per render (ggui#1108) — declared by
|
|
271
|
+
* the contract's author, never inferred, because only the author knows.
|
|
272
|
+
* The runtime suppresses a second dispatch for the render's lifetime: a
|
|
273
|
+
* fresh `ggui_render` re-arms it, a `ggui_update` of the same render does
|
|
274
|
+
* not. Sibling of `confirm` (which asks before firing), not a pair.
|
|
275
|
+
*/
|
|
276
|
+
oneShot?: boolean;
|
|
269
277
|
/**
|
|
270
278
|
* JSON Schema for the callback payload. Optional — actions without a
|
|
271
279
|
* `schema` have void payload (fire-and-forget).
|
|
@@ -298,7 +306,13 @@ export interface ActionEntry {
|
|
|
298
306
|
example?: JsonValue;
|
|
299
307
|
/** Icon hint (emoji or icon name) */
|
|
300
308
|
icon?: string;
|
|
301
|
-
/**
|
|
309
|
+
/**
|
|
310
|
+
* The author marks this action GRAVE (ggui#1112) — ADVISORY, not a rule.
|
|
311
|
+
* `@ggui-ai/ui-gen`'s contract context renders it to the composing model
|
|
312
|
+
* as information and the model decides; nothing enforces it mechanically,
|
|
313
|
+
* which is the same standing `nextStep` has. It asks BEFORE firing, where
|
|
314
|
+
* {@link ActionEntry.oneShot} bounds how OFTEN it may fire.
|
|
315
|
+
*/
|
|
302
316
|
confirm?: boolean;
|
|
303
317
|
/**
|
|
304
318
|
* OPTIONAL. Author-declared hint for the agent's next turn — the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-contract.d.ts","sourceRoot":"","sources":["../../src/types/data-contract.ts"],"names":[],"mappings":"AAwCA;;;;;;;;;GASG;AACH,MAAM,WAAW,UAAU;IACzB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAAC;CACtC;AAED;;;;;;;;;GASG;AACH,MAAM,MAAM,SAAS,GACjB,MAAM,GACN,MAAM,GACN,OAAO,GACP,IAAI,GACJ,SAAS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EAAE,MAAM,CAAC;QACb,wDAAwD;QACxD,IAAI,CAAC,EAAE,UAAU,CAAC;KACnB,CAAC;CACH;AAED;;;;;;;;;GASG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC;AAO5D;;;;;;;;;;GAUG;AACH,MAAM,WAAW,WAAW;IAC1B,gDAAgD;IAChD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oCAAoC;IACpC,KAAK,EAAE,MAAM,CAAC;IACd;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,qFAAqF;IACrF,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,qCAAqC;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd
|
|
1
|
+
{"version":3,"file":"data-contract.d.ts","sourceRoot":"","sources":["../../src/types/data-contract.ts"],"names":[],"mappings":"AAwCA;;;;;;;;;GASG;AACH,MAAM,WAAW,UAAU;IACzB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAAC;CACtC;AAED;;;;;;;;;GASG;AACH,MAAM,MAAM,SAAS,GACjB,MAAM,GACN,MAAM,GACN,OAAO,GACP,IAAI,GACJ,SAAS,EAAE,GACX,UAAU,CAAC;AAMf;;;;;;;;GAQG;AACH,4DAA4D;AAC5D,MAAM,MAAM,kBAAkB,GAC1B,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,SAAS,GACT,OAAO,GACP,QAAQ,GACR,MAAM,CAAC;AAEX,MAAM,WAAW,UAAW,SAAQ,UAAU;IAC5C;;;;;;;;OAQG;IACH,IAAI,CAAC,EAAE,kBAAkB,GAAG,kBAAkB,EAAE,CAAC;IACjD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,uCAAuC;IACvC,IAAI,CAAC,EAAE,SAAS,EAAE,CAAC;IACnB,oBAAoB;IACpB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;;;;;;;;;OAYG;IACH;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB;;;;;;;;;;;;;;;;OAgBG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB;;;OAGG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,sEAAsE;IACtE,iBAAiB,CAAC,EAAE,qBAAqB,CAAC;IAC1C;;;;;;;;;;;OAWG;IACH,kBAAkB,CAAC,EAAE,sBAAsB,CAAC;CAC7C;AAMD;;;;;;GAMG;AACH,eAAO,MAAM,4BAA4B,QAAY,CAAC;AAEtD;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,QAAY,CAAC;AAEpD;;;GAGG;AACH,eAAO,MAAM,0BAA0B,KAAK,CAAC"}
|
package/dist/types/render.d.ts
CHANGED
|
@@ -261,8 +261,9 @@ export interface ComponentGguiSession<TProps = JsonObject> extends GguiSessionBa
|
|
|
261
261
|
*/
|
|
262
262
|
readonly gadgetDescriptors?: readonly GadgetDescriptor[];
|
|
263
263
|
/**
|
|
264
|
-
* Theme sidecar — the resolved per-app theme overlay (mode
|
|
265
|
-
* `--ggui-*`
|
|
264
|
+
* Theme sidecar — the resolved per-app theme overlay (the two-mode
|
|
265
|
+
* `--ggui-*` projection, its attestation, and since ggui#1093 the
|
|
266
|
+
* declared assets `fonts` / `imagery`) snapshotted from `App.theme` at
|
|
266
267
|
* render-commit time. Sibling to {@link ComponentGguiSession.gadgetDescriptors}:
|
|
267
268
|
* a render-time snapshot the slice-meta derivation reads without
|
|
268
269
|
* re-resolving against the App record. The bootstrap projection
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render.d.ts","sourceRoot":"","sources":["../../src/types/render.ts"],"names":[],"mappings":"AAAA,OAAO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GASG;AACH,MAAM,WAAW,iBAAiB,CAAC,MAAM,SAAS,UAAU,GAAG,UAAU,CACvE,SAAQ,eAAe;IACvB,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC;IACxB;;;;;OAKG;IACH,QAAQ,CAAC,IAAI,EAAE,qBAAqB,CAAC;IACrC,gDAAgD;IAChD,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,yEAAyE;IACzE,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;CAC/B;AAMD;;;;;;;GAOG;AACH,MAAM,WAAW,gBAAgB,CAAC,SAAS,GAAG,UAAU;IACtD,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,SAAS,CAAA;KAAE,EAAE,CAAC;IAChD,SAAS,EAAE,MAAM,CAAC;CACnB"}
|
package/dist/version.d.ts
CHANGED
|
@@ -6,6 +6,106 @@
|
|
|
6
6
|
* schema change; the most recent change anchors {@link PROTOCOL_VERSION}.
|
|
7
7
|
*
|
|
8
8
|
* --------------------------------------------------------------------
|
|
9
|
+
* `ggui:dismiss` (2026-09-16, additive, ggui#1109 — MINOR, same draft
|
|
10
|
+
* stamp): a user dismiss GESTURE forwarded from the card to its host as
|
|
11
|
+
* an INTENT, on a new protocol-owned tag in the `ggui:` postMessage
|
|
12
|
+
* family beside `ggui:lifecycle`. The card MUST NOT act on it (the host
|
|
13
|
+
* owns what dismissal means) and emits at most one intent per gesture;
|
|
14
|
+
* the host decides, and ignoring is CONFORMANT — so adoption breaks no
|
|
15
|
+
* host. `reason` is extensibly-closed ('escape' today), and the type
|
|
16
|
+
* guard validates SHAPE only: checking today's reason set would make a
|
|
17
|
+
* release-N host silently drop a release-N+1 intent (§3.6). Not on
|
|
18
|
+
* `ggui:observe` (a host may ignore telemetry by contract) and not a
|
|
19
|
+
* `ui/notifications/*` name (a frozen external namespace).
|
|
20
|
+
* --------------------------------------------------------------------
|
|
21
|
+
* Motion tempo override (2026-09-16, additive, ggui#1093 P1c — MINOR,
|
|
22
|
+
* same draft stamp; no WIRE change). The theming spec's §2.3 retirement
|
|
23
|
+
* of per-app motion is AMENDED (protocol + rnd): layer-1 keeps the motion
|
|
24
|
+
* SCALE, and the document may state a BOUNDED tempo override — `duration`
|
|
25
|
+
* (fast/base/slow), `easing` (standard/emphasized/exit, each validated at
|
|
26
|
+
* the door as a CSS keyword, cubic-bezier or steps) and `reduce` — the
|
|
27
|
+
* standing `palette` has always had. The retired FREE-MAP ladders stay
|
|
28
|
+
* refused and the door's guard test pins the narrower rule. Reversed, not
|
|
29
|
+
* widened: §2.3's stated ground ("zero consumers today") expired when
|
|
30
|
+
* ggui#1075 created the consumer.
|
|
31
|
+
* --------------------------------------------------------------------
|
|
32
|
+
* Theme DOCUMENT members (2026-09-16, additive, ggui#1093 P1b — MINOR,
|
|
33
|
+
* same draft stamp; no WIRE change at all). `ThemeDocumentV2` and design's
|
|
34
|
+
* `DtcgTheme` gain optional `typeScale` (five roles; `leading` is a ratio),
|
|
35
|
+
* `rhythm` (bounded `base` + named steps) and `scrim`; they reach the card
|
|
36
|
+
* through `deriveThemeVariables` → the overlay, so the wire's `AppTheme`
|
|
37
|
+
* is untouched and this entry moves no stamp. Motion is NOT here: it would
|
|
38
|
+
* reverse the theming spec's §2.3 layer-1 ruling and lands as ggui#1093
|
|
39
|
+
* P1c with that reversal, co-signed.
|
|
40
|
+
* --------------------------------------------------------------------
|
|
41
|
+
* AppTheme carrier, wire half (2026-09-15, additive, ggui#1093 P1a —
|
|
42
|
+
* MINOR, same draft stamp; #1075 Track C (a), closes #990's wire half).
|
|
43
|
+
* Two OPTIONAL members on `appThemeSchema`: `fonts` (1..16 faces on
|
|
44
|
+
* `fontFaceDeclarationSchema` — #987 §5's document grammar lifted into
|
|
45
|
+
* the protocol; `@ggui-ai/project-config` imports it back, one grammar
|
|
46
|
+
* for the document door and the wire) and `imagery` (`mark` / `hero` /
|
|
47
|
+
* `pattern`, each `{ src https, alt? ≤ 200, tone? light|dark }`). Grammar
|
|
48
|
+
* at the door, never fetched; outside the attestation (`OverlayHashInput`
|
|
49
|
+
* unchanged). Belt fixtures moved to a synthetic `futureMember` because
|
|
50
|
+
* `fonts` is now a named member.
|
|
51
|
+
* --------------------------------------------------------------------
|
|
52
|
+
* AppTheme read-door posture (2026-09-15, additive, ggui#1093 belt —
|
|
53
|
+
* MINOR, same draft stamp; VERSION-POLICY §3.6 forward twin, ruled with
|
|
54
|
+
* cloud). `appThemeReadSchema` + `parseAppThemeAtReadDoor`: READ doors
|
|
55
|
+
* strip unknown TOP-LEVEL members, keep the overlays, name the stripped
|
|
56
|
+
* keys; WRITE doors stay on the strict `appThemeSchema`. The render-meta
|
|
57
|
+
* reader adopts it (`onStrippedThemeMembers`). The kit's `n1-compat`
|
|
58
|
+
* catalog gains its first FORWARD case (`app-theme-read`). Wire bytes
|
|
59
|
+
* unchanged; the belt under the #1093 carrier (`fonts?` / `imagery?`).
|
|
60
|
+
* --------------------------------------------------------------------
|
|
61
|
+
* `ggui_ops_generate_blueprint` gains `intent` (2026-09-13, additive,
|
|
62
|
+
* ggui#1046 — MINOR, same draft stamp): the generation prompt as a
|
|
63
|
+
* NON-identity field, bounded at `OPS_GENERATE_BLUEPRINT_INTENT_MAX_CHARS`
|
|
64
|
+
* (2000); `seedPrompt` stays a variance key (cache identity). The handler's
|
|
65
|
+
* silent placeholder is observable this release and refused next
|
|
66
|
+
* (`prompt_required`). The kit's `n1-compat` catalog pins Release 2's
|
|
67
|
+
* input (contract + seedPrompt, no intent).
|
|
68
|
+
* --------------------------------------------------------------------
|
|
69
|
+
* Generator profile widened (2026-09-13, additive, ggui#1058 — MINOR, same
|
|
70
|
+
* draft stamp; founder's A2 "profile OVER engine"). Two optional members on
|
|
71
|
+
* `appGenerationProfileSchema`: `effort` (one of five names — the wire
|
|
72
|
+
* carries the name, the reader owns the dials table; an unavailable level
|
|
73
|
+
* is refused `{ profile: { effort: 'unavailable' } }`, never downgraded) and
|
|
74
|
+
* `aesthetic { id, version? }` (a grammar-checked reference into the
|
|
75
|
+
* deployment's catalogue, resolved at read, unresolvable = non-fatal +
|
|
76
|
+
* `profile_aesthetic_unresolved`). The kit's `n1-compat` catalog gains the
|
|
77
|
+
* `generation-profile` wire (Release 2's three-member payload accepted).
|
|
78
|
+
* --------------------------------------------------------------------
|
|
79
|
+
* Generator profile member `direction` (2026-09-11, additive, ggui#1027
|
|
80
|
+
* follower on the ggui#991 slot — MINOR, same draft stamp). A fourth
|
|
81
|
+
* optional member on `appGenerationProfileSchema`: one variant's
|
|
82
|
+
* COMPOSITION direction — what leads, what is left out, motion or none —
|
|
83
|
+
* free text under the same `profileText` rule, door-bounded at
|
|
84
|
+
* `APP_GENERATION_PROFILE_BOUNDS.direction = 600`, named by the refusal
|
|
85
|
+
* body. §3.6 (N−1): a door on the previous release validates with the
|
|
86
|
+
* `.strict()` schema that lacks the member and REFUSES a payload carrying
|
|
87
|
+
* it, so the WRITER emits `direction` only where the reader is on this
|
|
88
|
+
* line — the bootstrap lane composing variant profiles server-side in
|
|
89
|
+
* the same publication holds it by construction; a console or platform
|
|
90
|
+
* writer waits for the release carrying it. No `PROTOCOL_VERSION` move.
|
|
91
|
+
* --------------------------------------------------------------------
|
|
92
|
+
* Rendering-context vocabulary: `renderingContextSchema` (2026-09-11,
|
|
93
|
+
* additive, ggui#1000 — MINOR). The `{ shell, device, viewport? }`
|
|
94
|
+
* vocabulary that lived as two hand-declared unions (mcp-server-core
|
|
95
|
+
* `UiGenerateInput.rendering`, ui-gen `RenderingContext`) becomes ONE
|
|
96
|
+
* schema here; both consumers now derive their type from it, and the
|
|
97
|
+
* bootstrap door validates `items[].rendering?` with it. No existing wire
|
|
98
|
+
* changes shape; no `PROTOCOL_VERSION` move.
|
|
99
|
+
* --------------------------------------------------------------------
|
|
100
|
+
* Generator profile slot: `appGenerationProfileSchema` (2026-09-10,
|
|
101
|
+
* additive, ggui#991 — MINOR; the D7 mechanism of ggui#987). One new
|
|
102
|
+
* schema on the app's `generation` section — `profile?: { styling?,
|
|
103
|
+
* density?, layout? }`, free text, trimmed, door-bounded at
|
|
104
|
+
* `APP_GENERATION_PROFILE_BOUNDS` (2000 / 200 / 200), control characters
|
|
105
|
+
* refused — plus its refusal body. A generation-time input, never a
|
|
106
|
+
* token; absent or empty leaves the generator's prompts byte-identical.
|
|
107
|
+
* No existing type changes; readers and doors land with the #991 set.
|
|
108
|
+
* --------------------------------------------------------------------
|
|
9
109
|
* Theming revision — the overlay is the projection, the host owns runtime
|
|
10
110
|
* mode (2026-09-10, ggui#987 — **BREAKING on the draft wave**, named by the
|
|
11
111
|
* conformance kit: `protocol-conformance/src/theme-binding-conformance`
|
|
@@ -3637,7 +3737,7 @@ export declare const PROTOCOL_VERSION = "draft-2026-09-10";
|
|
|
3637
3737
|
* PATCH under §1.3); it cannot be cut from main, whose delta since
|
|
3638
3738
|
* 0.14.0 is minor-class.
|
|
3639
3739
|
*/
|
|
3640
|
-
export declare const GGUI_WAVE_VERSION = "0.
|
|
3740
|
+
export declare const GGUI_WAVE_VERSION = "0.18.0";
|
|
3641
3741
|
/**
|
|
3642
3742
|
* Schema version stamped onto wire envelopes that opt into the
|
|
3643
3743
|
* `schemaVersion` forward-compat field (see {@link ActionEnvelope},
|
package/dist/version.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAinHG;AACH,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AAEnD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,eAAO,MAAM,iBAAiB,WAAW,CAAC;AAE1C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,uBAAuB,qBAAmB,CAAC;AAExD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AAEnD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,yBAAyB,EAAE,SAAS,MAAM,EAErD,CAAC"}
|
package/dist/version.js
CHANGED
|
@@ -6,6 +6,106 @@
|
|
|
6
6
|
* schema change; the most recent change anchors {@link PROTOCOL_VERSION}.
|
|
7
7
|
*
|
|
8
8
|
* --------------------------------------------------------------------
|
|
9
|
+
* `ggui:dismiss` (2026-09-16, additive, ggui#1109 — MINOR, same draft
|
|
10
|
+
* stamp): a user dismiss GESTURE forwarded from the card to its host as
|
|
11
|
+
* an INTENT, on a new protocol-owned tag in the `ggui:` postMessage
|
|
12
|
+
* family beside `ggui:lifecycle`. The card MUST NOT act on it (the host
|
|
13
|
+
* owns what dismissal means) and emits at most one intent per gesture;
|
|
14
|
+
* the host decides, and ignoring is CONFORMANT — so adoption breaks no
|
|
15
|
+
* host. `reason` is extensibly-closed ('escape' today), and the type
|
|
16
|
+
* guard validates SHAPE only: checking today's reason set would make a
|
|
17
|
+
* release-N host silently drop a release-N+1 intent (§3.6). Not on
|
|
18
|
+
* `ggui:observe` (a host may ignore telemetry by contract) and not a
|
|
19
|
+
* `ui/notifications/*` name (a frozen external namespace).
|
|
20
|
+
* --------------------------------------------------------------------
|
|
21
|
+
* Motion tempo override (2026-09-16, additive, ggui#1093 P1c — MINOR,
|
|
22
|
+
* same draft stamp; no WIRE change). The theming spec's §2.3 retirement
|
|
23
|
+
* of per-app motion is AMENDED (protocol + rnd): layer-1 keeps the motion
|
|
24
|
+
* SCALE, and the document may state a BOUNDED tempo override — `duration`
|
|
25
|
+
* (fast/base/slow), `easing` (standard/emphasized/exit, each validated at
|
|
26
|
+
* the door as a CSS keyword, cubic-bezier or steps) and `reduce` — the
|
|
27
|
+
* standing `palette` has always had. The retired FREE-MAP ladders stay
|
|
28
|
+
* refused and the door's guard test pins the narrower rule. Reversed, not
|
|
29
|
+
* widened: §2.3's stated ground ("zero consumers today") expired when
|
|
30
|
+
* ggui#1075 created the consumer.
|
|
31
|
+
* --------------------------------------------------------------------
|
|
32
|
+
* Theme DOCUMENT members (2026-09-16, additive, ggui#1093 P1b — MINOR,
|
|
33
|
+
* same draft stamp; no WIRE change at all). `ThemeDocumentV2` and design's
|
|
34
|
+
* `DtcgTheme` gain optional `typeScale` (five roles; `leading` is a ratio),
|
|
35
|
+
* `rhythm` (bounded `base` + named steps) and `scrim`; they reach the card
|
|
36
|
+
* through `deriveThemeVariables` → the overlay, so the wire's `AppTheme`
|
|
37
|
+
* is untouched and this entry moves no stamp. Motion is NOT here: it would
|
|
38
|
+
* reverse the theming spec's §2.3 layer-1 ruling and lands as ggui#1093
|
|
39
|
+
* P1c with that reversal, co-signed.
|
|
40
|
+
* --------------------------------------------------------------------
|
|
41
|
+
* AppTheme carrier, wire half (2026-09-15, additive, ggui#1093 P1a —
|
|
42
|
+
* MINOR, same draft stamp; #1075 Track C (a), closes #990's wire half).
|
|
43
|
+
* Two OPTIONAL members on `appThemeSchema`: `fonts` (1..16 faces on
|
|
44
|
+
* `fontFaceDeclarationSchema` — #987 §5's document grammar lifted into
|
|
45
|
+
* the protocol; `@ggui-ai/project-config` imports it back, one grammar
|
|
46
|
+
* for the document door and the wire) and `imagery` (`mark` / `hero` /
|
|
47
|
+
* `pattern`, each `{ src https, alt? ≤ 200, tone? light|dark }`). Grammar
|
|
48
|
+
* at the door, never fetched; outside the attestation (`OverlayHashInput`
|
|
49
|
+
* unchanged). Belt fixtures moved to a synthetic `futureMember` because
|
|
50
|
+
* `fonts` is now a named member.
|
|
51
|
+
* --------------------------------------------------------------------
|
|
52
|
+
* AppTheme read-door posture (2026-09-15, additive, ggui#1093 belt —
|
|
53
|
+
* MINOR, same draft stamp; VERSION-POLICY §3.6 forward twin, ruled with
|
|
54
|
+
* cloud). `appThemeReadSchema` + `parseAppThemeAtReadDoor`: READ doors
|
|
55
|
+
* strip unknown TOP-LEVEL members, keep the overlays, name the stripped
|
|
56
|
+
* keys; WRITE doors stay on the strict `appThemeSchema`. The render-meta
|
|
57
|
+
* reader adopts it (`onStrippedThemeMembers`). The kit's `n1-compat`
|
|
58
|
+
* catalog gains its first FORWARD case (`app-theme-read`). Wire bytes
|
|
59
|
+
* unchanged; the belt under the #1093 carrier (`fonts?` / `imagery?`).
|
|
60
|
+
* --------------------------------------------------------------------
|
|
61
|
+
* `ggui_ops_generate_blueprint` gains `intent` (2026-09-13, additive,
|
|
62
|
+
* ggui#1046 — MINOR, same draft stamp): the generation prompt as a
|
|
63
|
+
* NON-identity field, bounded at `OPS_GENERATE_BLUEPRINT_INTENT_MAX_CHARS`
|
|
64
|
+
* (2000); `seedPrompt` stays a variance key (cache identity). The handler's
|
|
65
|
+
* silent placeholder is observable this release and refused next
|
|
66
|
+
* (`prompt_required`). The kit's `n1-compat` catalog pins Release 2's
|
|
67
|
+
* input (contract + seedPrompt, no intent).
|
|
68
|
+
* --------------------------------------------------------------------
|
|
69
|
+
* Generator profile widened (2026-09-13, additive, ggui#1058 — MINOR, same
|
|
70
|
+
* draft stamp; founder's A2 "profile OVER engine"). Two optional members on
|
|
71
|
+
* `appGenerationProfileSchema`: `effort` (one of five names — the wire
|
|
72
|
+
* carries the name, the reader owns the dials table; an unavailable level
|
|
73
|
+
* is refused `{ profile: { effort: 'unavailable' } }`, never downgraded) and
|
|
74
|
+
* `aesthetic { id, version? }` (a grammar-checked reference into the
|
|
75
|
+
* deployment's catalogue, resolved at read, unresolvable = non-fatal +
|
|
76
|
+
* `profile_aesthetic_unresolved`). The kit's `n1-compat` catalog gains the
|
|
77
|
+
* `generation-profile` wire (Release 2's three-member payload accepted).
|
|
78
|
+
* --------------------------------------------------------------------
|
|
79
|
+
* Generator profile member `direction` (2026-09-11, additive, ggui#1027
|
|
80
|
+
* follower on the ggui#991 slot — MINOR, same draft stamp). A fourth
|
|
81
|
+
* optional member on `appGenerationProfileSchema`: one variant's
|
|
82
|
+
* COMPOSITION direction — what leads, what is left out, motion or none —
|
|
83
|
+
* free text under the same `profileText` rule, door-bounded at
|
|
84
|
+
* `APP_GENERATION_PROFILE_BOUNDS.direction = 600`, named by the refusal
|
|
85
|
+
* body. §3.6 (N−1): a door on the previous release validates with the
|
|
86
|
+
* `.strict()` schema that lacks the member and REFUSES a payload carrying
|
|
87
|
+
* it, so the WRITER emits `direction` only where the reader is on this
|
|
88
|
+
* line — the bootstrap lane composing variant profiles server-side in
|
|
89
|
+
* the same publication holds it by construction; a console or platform
|
|
90
|
+
* writer waits for the release carrying it. No `PROTOCOL_VERSION` move.
|
|
91
|
+
* --------------------------------------------------------------------
|
|
92
|
+
* Rendering-context vocabulary: `renderingContextSchema` (2026-09-11,
|
|
93
|
+
* additive, ggui#1000 — MINOR). The `{ shell, device, viewport? }`
|
|
94
|
+
* vocabulary that lived as two hand-declared unions (mcp-server-core
|
|
95
|
+
* `UiGenerateInput.rendering`, ui-gen `RenderingContext`) becomes ONE
|
|
96
|
+
* schema here; both consumers now derive their type from it, and the
|
|
97
|
+
* bootstrap door validates `items[].rendering?` with it. No existing wire
|
|
98
|
+
* changes shape; no `PROTOCOL_VERSION` move.
|
|
99
|
+
* --------------------------------------------------------------------
|
|
100
|
+
* Generator profile slot: `appGenerationProfileSchema` (2026-09-10,
|
|
101
|
+
* additive, ggui#991 — MINOR; the D7 mechanism of ggui#987). One new
|
|
102
|
+
* schema on the app's `generation` section — `profile?: { styling?,
|
|
103
|
+
* density?, layout? }`, free text, trimmed, door-bounded at
|
|
104
|
+
* `APP_GENERATION_PROFILE_BOUNDS` (2000 / 200 / 200), control characters
|
|
105
|
+
* refused — plus its refusal body. A generation-time input, never a
|
|
106
|
+
* token; absent or empty leaves the generator's prompts byte-identical.
|
|
107
|
+
* No existing type changes; readers and doors land with the #991 set.
|
|
108
|
+
* --------------------------------------------------------------------
|
|
9
109
|
* Theming revision — the overlay is the projection, the host owns runtime
|
|
10
110
|
* mode (2026-09-10, ggui#987 — **BREAKING on the draft wave**, named by the
|
|
11
111
|
* conformance kit: `protocol-conformance/src/theme-binding-conformance`
|
|
@@ -3637,7 +3737,7 @@ export const PROTOCOL_VERSION = "draft-2026-09-10";
|
|
|
3637
3737
|
* PATCH under §1.3); it cannot be cut from main, whose delta since
|
|
3638
3738
|
* 0.14.0 is minor-class.
|
|
3639
3739
|
*/
|
|
3640
|
-
export const GGUI_WAVE_VERSION = "0.
|
|
3740
|
+
export const GGUI_WAVE_VERSION = "0.18.0";
|
|
3641
3741
|
/**
|
|
3642
3742
|
* Schema version stamped onto wire envelopes that opt into the
|
|
3643
3743
|
* `schemaVersion` forward-compat field (see {@link ActionEnvelope},
|