@ggui-ai/protocol 0.14.0 → 0.16.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.
Files changed (112) hide show
  1. package/dist/envelopes/render-refusal.d.ts +49 -0
  2. package/dist/envelopes/render-refusal.d.ts.map +1 -0
  3. package/dist/envelopes/render-refusal.js +12 -0
  4. package/dist/errors/domain-error.d.ts +70 -0
  5. package/dist/errors/domain-error.d.ts.map +1 -0
  6. package/dist/errors/domain-error.js +118 -0
  7. package/dist/gadgets/resolve-app-gadgets.d.ts +1 -1
  8. package/dist/gadgets/stdlib-gadgets.d.ts +2 -2
  9. package/dist/gadgets/stdlib-gadgets.js +1 -1
  10. package/dist/index.d.ts +69 -63
  11. package/dist/index.d.ts.map +1 -1
  12. package/dist/index.js +8 -2
  13. package/dist/integrations/mcp-apps.d.ts +35 -9
  14. package/dist/integrations/mcp-apps.d.ts.map +1 -1
  15. package/dist/integrations/mcp-apps.js +13 -13
  16. package/dist/integrations/overlay-hash.d.ts +19 -0
  17. package/dist/integrations/overlay-hash.d.ts.map +1 -0
  18. package/dist/integrations/overlay-hash.js +29 -0
  19. package/dist/integrations/theme-binding.d.ts +14 -12
  20. package/dist/integrations/theme-binding.d.ts.map +1 -1
  21. package/dist/integrations/theme-binding.js +10 -6
  22. package/dist/registry/blueprint-key.d.ts.map +1 -1
  23. package/dist/registry/blueprint-key.js +4 -3
  24. package/dist/schemas/app-theme.d.ts +46 -10
  25. package/dist/schemas/app-theme.d.ts.map +1 -1
  26. package/dist/schemas/app-theme.js +108 -40
  27. package/dist/schemas/blueprint.d.ts +4 -3
  28. package/dist/schemas/blueprint.d.ts.map +1 -1
  29. package/dist/schemas/blueprint.js +15 -3
  30. package/dist/schemas/data-contract.d.ts +11 -31
  31. package/dist/schemas/data-contract.d.ts.map +1 -1
  32. package/dist/schemas/data-contract.js +5 -28
  33. package/dist/schemas/handshake-suggestion.d.ts.map +1 -1
  34. package/dist/schemas/handshake-suggestion.js +8 -1
  35. package/dist/schemas/interface-context.d.ts +44 -0
  36. package/dist/schemas/interface-context.d.ts.map +1 -0
  37. package/dist/schemas/interface-context.js +22 -0
  38. package/dist/schemas/invoke.d.ts +3 -3
  39. package/dist/schemas/invoke.js +1 -1
  40. package/dist/schemas/mcp.d.ts +246 -111
  41. package/dist/schemas/mcp.d.ts.map +1 -1
  42. package/dist/schemas/mcp.js +149 -42
  43. package/dist/schemas/ops-blueprint.d.ts +4 -4
  44. package/dist/schemas/ops-blueprint.d.ts.map +1 -1
  45. package/dist/schemas/ops-blueprint.js +13 -8
  46. package/dist/schemas/public-env-key.d.ts +26 -0
  47. package/dist/schemas/public-env-key.d.ts.map +1 -0
  48. package/dist/schemas/public-env-key.js +25 -0
  49. package/dist/schemas/render-input-envelope.d.ts +2 -2
  50. package/dist/schemas/render-input-envelope.js +1 -1
  51. package/dist/schemas/runtime-telemetry-limits.d.ts +11 -0
  52. package/dist/schemas/runtime-telemetry-limits.d.ts.map +1 -0
  53. package/dist/schemas/runtime-telemetry-limits.js +10 -0
  54. package/dist/transport/websocket.d.ts +5 -5
  55. package/dist/types/auth.d.ts +1 -1
  56. package/dist/types/blueprint-source.d.ts +27 -7
  57. package/dist/types/blueprint-source.d.ts.map +1 -1
  58. package/dist/types/blueprint-source.js +19 -3
  59. package/dist/types/blueprint.d.ts +2 -2
  60. package/dist/types/blueprint.d.ts.map +1 -1
  61. package/dist/types/contract-inference.d.ts +1 -1
  62. package/dist/types/data-contract.d.ts +3 -3
  63. package/dist/types/domain-error-codes.d.ts +167 -0
  64. package/dist/types/domain-error-codes.d.ts.map +1 -0
  65. package/dist/types/domain-error-codes.js +170 -0
  66. package/dist/types/events.d.ts +1 -1
  67. package/dist/types/ggui-session-event.d.ts +2 -2
  68. package/dist/types/handshake-suggestion.d.ts +2 -2
  69. package/dist/types/host-context.d.ts +3 -3
  70. package/dist/types/interface-context.d.ts +1 -1
  71. package/dist/types/invoke.d.ts +1 -1
  72. package/dist/types/lifecycle.d.ts +1 -1
  73. package/dist/types/live-channel.d.ts +3 -3
  74. package/dist/types/llm-route.d.ts +59 -2
  75. package/dist/types/llm-route.d.ts.map +1 -1
  76. package/dist/types/llm-route.js +62 -16
  77. package/dist/types/llm.d.ts +22 -2
  78. package/dist/types/llm.d.ts.map +1 -1
  79. package/dist/types/llm.js +29 -2
  80. package/dist/types/mcp.d.ts +49 -100
  81. package/dist/types/mcp.d.ts.map +1 -1
  82. package/dist/types/mcp.js +28 -9
  83. package/dist/types/refusal-codes.d.ts +54 -95
  84. package/dist/types/refusal-codes.d.ts.map +1 -1
  85. package/dist/types/refusal-codes.js +67 -105
  86. package/dist/types/render.d.ts +12 -11
  87. package/dist/types/render.d.ts.map +1 -1
  88. package/dist/types/ui-generator.d.ts +1 -1
  89. package/dist/validation/ajv-runtime.d.ts +2 -2
  90. package/dist/validation/contract-validator.d.ts +14 -8
  91. package/dist/validation/contract-validator.d.ts.map +1 -1
  92. package/dist/validation/contract-validator.js +12 -4
  93. package/dist/validation/cross-references.d.ts +2 -2
  94. package/dist/validation/hygiene-rules.d.ts +1 -1
  95. package/dist/validation/lint-contract.d.ts +2 -2
  96. package/dist/validation/lint-contract.d.ts.map +1 -1
  97. package/dist/validation/lint-contract.js +6 -4
  98. package/dist/validation/name-invariants.d.ts +2 -2
  99. package/dist/validation/reserved-channels.d.ts +1 -1
  100. package/dist/validation/schema-compat-invariants.d.ts +2 -2
  101. package/dist/validation/schema-meta-validation.d.ts +1 -1
  102. package/dist/validation/schema-subset.d.ts +3 -3
  103. package/dist/version.d.ts +485 -12
  104. package/dist/version.d.ts.map +1 -1
  105. package/dist/version.js +484 -11
  106. package/dist/wire.d.ts +45 -0
  107. package/dist/wire.d.ts.map +1 -0
  108. package/dist/wire.js +44 -0
  109. package/package.json +7 -1
  110. package/dist/envelope-adapters.d.ts +0 -25
  111. package/dist/envelope-adapters.d.ts.map +0 -1
  112. package/dist/envelope-adapters.js +0 -14
@@ -0,0 +1,49 @@
1
+ /**
2
+ * SPEC §7.1's REFUSED arm as one primitive (ggui#803 leg 9).
3
+ *
4
+ * A render gate that refuses before generation answers with a tool
5
+ * RESULT — never a throw, never a JSON-RPC error — carrying four facts:
6
+ *
7
+ * 1. `isError: true` — the call did not render.
8
+ * 2. `content[0].text` = `<code>: <message> <fix>` — a courtesy line
9
+ * for the model; the code LEADS so the state is visible without
10
+ * parsing, but `structuredContent.refusal.code` is the mechanism.
11
+ * 3. `structuredContent` = `{ outcome: 'refused', refusal }` — the
12
+ * refusal verbatim, the whole payload being
13
+ * {@link refusedOutputSchema}.
14
+ * 4. No `_meta` — nothing was read, no handshake consumed, nothing
15
+ * committed, so there is no identity to carry.
16
+ *
17
+ * Parties: every server that projects a pre-generation refusal — the
18
+ * shipping `ggui_render` handler and the protocol reference server
19
+ * both build the result HERE, so the facts have one source. Failure
20
+ * mode: a projection that drifts from these facts fails the
21
+ * conformance kit's `refusal-envelope` catalog; the violation is
22
+ * observed by the handler's and the reference server's conformance
23
+ * suites, which grade this function through each of them.
24
+ *
25
+ * The text deliberately shares nothing with a FAILED render's text:
26
+ * that one says the handshakeId "is consumed", which is false for a
27
+ * refusal — the same id is valid on a retry. The two texts are
28
+ * contradictory by construction and must never be one builder.
29
+ */
30
+ import type { z } from 'zod';
31
+ import type { PreGenerationRefusal, refusedOutputSchema } from '../schemas/mcp.js';
32
+ /** The refused arm's `structuredContent` — derived from the schema, never restated. */
33
+ export type RefusedRenderOutput = z.infer<typeof refusedOutputSchema>;
34
+ /** The tool result a render gate answers a pre-generation refusal with. */
35
+ export interface RenderRefusalResult {
36
+ readonly isError: true;
37
+ readonly content: readonly [{
38
+ readonly type: 'text';
39
+ readonly text: string;
40
+ }];
41
+ readonly structuredContent: RefusedRenderOutput;
42
+ }
43
+ /**
44
+ * Project a {@link PreGenerationRefusal} onto the §7.1 refused tool
45
+ * result. Pure and synchronous: the deterministic projection is the
46
+ * whole obligation.
47
+ */
48
+ export declare function projectRenderRefusal(refusal: PreGenerationRefusal): RenderRefusalResult;
49
+ //# sourceMappingURL=render-refusal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"render-refusal.d.ts","sourceRoot":"","sources":["../../src/envelopes/render-refusal.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B,OAAO,KAAK,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAEnF,uFAAuF;AACvF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEtE,2EAA2E;AAC3E,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,OAAO,EAAE,IAAI,CAAC;IACvB,QAAQ,CAAC,OAAO,EAAE,SAAS,CAAC;QAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC9E,QAAQ,CAAC,iBAAiB,EAAE,mBAAmB,CAAC;CACjD;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,oBAAoB,GAAG,mBAAmB,CAMvF"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Project a {@link PreGenerationRefusal} onto the §7.1 refused tool
3
+ * result. Pure and synchronous: the deterministic projection is the
4
+ * whole obligation.
5
+ */
6
+ export function projectRenderRefusal(refusal) {
7
+ return {
8
+ isError: true,
9
+ content: [{ type: 'text', text: `${refusal.code}: ${refusal.message} ${refusal.fix}` }],
10
+ structuredContent: { outcome: 'refused', refusal },
11
+ };
12
+ }
@@ -0,0 +1,70 @@
1
+ /**
2
+ * `DomainError` — the ONE composer of a Plane-2 error's wire text (ggui#880).
3
+ *
4
+ * SPEC §7.9 Plane 2. The MCP SDK converts every error a tool handler throws
5
+ * into `{content: [{type: 'text', text: error.message}], isError: true}` —
6
+ * no `structuredContent`, no `_meta`, no field for a code. So `message` IS
7
+ * the wire, and this base is the only place that composes it:
8
+ *
9
+ * <code> ": " <detail>
10
+ *
11
+ * with `code` a member of {@link DOMAIN_ERROR_CODES}. A reader branches on
12
+ * `text.startsWith(code + ': ')` for a REGISTERED code and on nothing else
13
+ * — a tool-name prefix inside the detail (`ggui_render: …`) is prose. The
14
+ * one thing the base refuses at construction is a detail that itself
15
+ * begins with a registered domain or refusal code followed by `': '`: the
16
+ * leading slug would then lie to the reader, and the emitter's own suite
17
+ * sees the `TypeError` instead of the wire.
18
+ *
19
+ * Parties (the contract): the EMITTER is any data-plane handler that throws
20
+ * for a caller-fixable, nothing-committed condition; the TRANSPORT is the
21
+ * server's `tools/call` dispatch and the SDK's catch it hands to; the
22
+ * CONSUMER is a raw MCP agent reading the result text. Observable violation:
23
+ * the conformance kit's `domain-error` catalog grades the raw result.
24
+ */
25
+ import { type DomainErrorCode } from '../types/domain-error-codes.js';
26
+ /**
27
+ * Marks a {@link DomainError} across bundle copies and realms: an instance
28
+ * from another copy of `@ggui-ai/protocol` is still a domain error to
29
+ * {@link isDomainError}, which never uses `instanceof`.
30
+ */
31
+ export declare const DOMAIN_ERROR_MARKER: unique symbol;
32
+ /**
33
+ * Thrown at construction when a detail begins with a registered code —
34
+ * an emitter bug, surfaced in the emitter's own suite, never on the wire.
35
+ */
36
+ export declare class DomainErrorDetailCollisionError extends TypeError {
37
+ readonly code: DomainErrorCode;
38
+ readonly collidingCode: string;
39
+ readonly detail: string;
40
+ constructor(code: DomainErrorCode, collidingCode: string, detail: string);
41
+ }
42
+ /**
43
+ * Base of every Plane-2 error. Subclass it per state; the subclass owns the
44
+ * detail text and any typed fields, the base owns the wire grammar.
45
+ */
46
+ export declare class DomainError<C extends DomainErrorCode = DomainErrorCode> extends Error {
47
+ readonly [DOMAIN_ERROR_MARKER]: true;
48
+ readonly code: C;
49
+ readonly detail: string;
50
+ constructor(code: C, detail: string, options?: ErrorOptions);
51
+ }
52
+ /**
53
+ * Whether `err` is a domain error — by marker and shape, never by
54
+ * `instanceof` (not even `instanceof Error`, which is realm-bound), so an
55
+ * instance from another bundle copy or realm still qualifies and a plain
56
+ * `Error` that merely carries a `code` does not.
57
+ */
58
+ export declare function isDomainError(err: unknown): err is DomainError;
59
+ /** A parsed Plane-2 wire text. */
60
+ export interface ParsedDomainErrorText {
61
+ readonly code: DomainErrorCode;
62
+ readonly detail: string;
63
+ }
64
+ /**
65
+ * The reader side of the grammar: `<code>: <detail>` for a REGISTERED code,
66
+ * else `null` — a Plane-1 text (`MCP error -32602: …`), a tool-name prefix
67
+ * (`ggui_render: …`) or an unregistered slug is not a domain error.
68
+ */
69
+ export declare function parseDomainErrorText(text: string): ParsedDomainErrorText | null;
70
+ //# sourceMappingURL=domain-error.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain-error.d.ts","sourceRoot":"","sources":["../../src/errors/domain-error.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,OAAO,EAGL,KAAK,eAAe,EACrB,MAAM,6BAA6B,CAAC;AAGrC;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,EAAE,OAAO,MAA0C,CAAC;AAapF;;;GAGG;AACH,qBAAa,+BAAgC,SAAQ,SAAS;IAE1D,QAAQ,CAAC,IAAI,EAAE,eAAe;IAC9B,QAAQ,CAAC,aAAa,EAAE,MAAM;IAC9B,QAAQ,CAAC,MAAM,EAAE,MAAM;gBAFd,IAAI,EAAE,eAAe,EACrB,aAAa,EAAE,MAAM,EACrB,MAAM,EAAE,MAAM;CAO1B;AAED;;;GAGG;AACH,qBAAa,WAAW,CAAC,CAAC,SAAS,eAAe,GAAG,eAAe,CAAE,SAAQ,KAAK;IACjF,QAAQ,CAAC,CAAC,mBAAmB,CAAC,EAAG,IAAI,CAAU;IAC/C,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;IACjB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;gBAEZ,IAAI,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY;CAa5D;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,WAAW,CAc9D;AAED,kCAAkC;AAClC,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,IAAI,EAAE,eAAe,CAAC;IAC/B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,qBAAqB,GAAG,IAAI,CAO/E"}
@@ -0,0 +1,118 @@
1
+ /**
2
+ * `DomainError` — the ONE composer of a Plane-2 error's wire text (ggui#880).
3
+ *
4
+ * SPEC §7.9 Plane 2. The MCP SDK converts every error a tool handler throws
5
+ * into `{content: [{type: 'text', text: error.message}], isError: true}` —
6
+ * no `structuredContent`, no `_meta`, no field for a code. So `message` IS
7
+ * the wire, and this base is the only place that composes it:
8
+ *
9
+ * <code> ": " <detail>
10
+ *
11
+ * with `code` a member of {@link DOMAIN_ERROR_CODES}. A reader branches on
12
+ * `text.startsWith(code + ': ')` for a REGISTERED code and on nothing else
13
+ * — a tool-name prefix inside the detail (`ggui_render: …`) is prose. The
14
+ * one thing the base refuses at construction is a detail that itself
15
+ * begins with a registered domain or refusal code followed by `': '`: the
16
+ * leading slug would then lie to the reader, and the emitter's own suite
17
+ * sees the `TypeError` instead of the wire.
18
+ *
19
+ * Parties (the contract): the EMITTER is any data-plane handler that throws
20
+ * for a caller-fixable, nothing-committed condition; the TRANSPORT is the
21
+ * server's `tools/call` dispatch and the SDK's catch it hands to; the
22
+ * CONSUMER is a raw MCP agent reading the result text. Observable violation:
23
+ * the conformance kit's `domain-error` catalog grades the raw result.
24
+ */
25
+ import { DOMAIN_ERROR_CODES, isDomainErrorCode, } from '../types/domain-error-codes.js';
26
+ import { PRE_GENERATION_REFUSAL_CODES } from '../types/refusal-codes.js';
27
+ /**
28
+ * Marks a {@link DomainError} across bundle copies and realms: an instance
29
+ * from another copy of `@ggui-ai/protocol` is still a domain error to
30
+ * {@link isDomainError}, which never uses `instanceof`.
31
+ */
32
+ export const DOMAIN_ERROR_MARKER = Symbol.for('ai.ggui.domainError');
33
+ /** The leading `"<code>: "` a detail must not carry — either registry. */
34
+ function leadingRegisteredCode(detail) {
35
+ for (const code of DOMAIN_ERROR_CODES) {
36
+ if (detail.startsWith(`${code}: `))
37
+ return code;
38
+ }
39
+ for (const code of Object.keys(PRE_GENERATION_REFUSAL_CODES)) {
40
+ if (detail.startsWith(`${code}: `))
41
+ return code;
42
+ }
43
+ return undefined;
44
+ }
45
+ /**
46
+ * Thrown at construction when a detail begins with a registered code —
47
+ * an emitter bug, surfaced in the emitter's own suite, never on the wire.
48
+ */
49
+ export class DomainErrorDetailCollisionError extends TypeError {
50
+ code;
51
+ collidingCode;
52
+ detail;
53
+ constructor(code, collidingCode, detail) {
54
+ super(`DomainError(${code}): the detail begins with the registered code "${collidingCode}: " — a reader branches on the leading slug, so a nested code would lie to it; say the cause in words instead`);
55
+ this.code = code;
56
+ this.collidingCode = collidingCode;
57
+ this.detail = detail;
58
+ this.name = 'DomainErrorDetailCollisionError';
59
+ }
60
+ }
61
+ /**
62
+ * Base of every Plane-2 error. Subclass it per state; the subclass owns the
63
+ * detail text and any typed fields, the base owns the wire grammar.
64
+ */
65
+ export class DomainError extends Error {
66
+ [DOMAIN_ERROR_MARKER] = true;
67
+ code;
68
+ detail;
69
+ constructor(code, detail, options) {
70
+ if (detail.trim().length === 0) {
71
+ throw new TypeError(`DomainError(${code}): the detail must be non-empty — the wire text is "${code}: <detail>"`);
72
+ }
73
+ const collision = leadingRegisteredCode(detail);
74
+ if (collision !== undefined) {
75
+ throw new DomainErrorDetailCollisionError(code, collision, detail);
76
+ }
77
+ super(`${code}: ${detail}`, options);
78
+ this.code = code;
79
+ this.detail = detail;
80
+ this.name = new.target.name;
81
+ }
82
+ }
83
+ /**
84
+ * Whether `err` is a domain error — by marker and shape, never by
85
+ * `instanceof` (not even `instanceof Error`, which is realm-bound), so an
86
+ * instance from another bundle copy or realm still qualifies and a plain
87
+ * `Error` that merely carries a `code` does not.
88
+ */
89
+ export function isDomainError(err) {
90
+ // Structural on purpose: `instanceof Error` is realm-bound, and an
91
+ // error thrown in another realm or bundle copy is still a domain error.
92
+ if (typeof err !== 'object' || err === null)
93
+ return false;
94
+ if (Reflect.get(err, DOMAIN_ERROR_MARKER) !== true)
95
+ return false;
96
+ const code = Reflect.get(err, 'code');
97
+ const detail = Reflect.get(err, 'detail');
98
+ const message = Reflect.get(err, 'message');
99
+ return (typeof code === 'string' &&
100
+ isDomainErrorCode(code) &&
101
+ typeof detail === 'string' &&
102
+ typeof message === 'string');
103
+ }
104
+ /**
105
+ * The reader side of the grammar: `<code>: <detail>` for a REGISTERED code,
106
+ * else `null` — a Plane-1 text (`MCP error -32602: …`), a tool-name prefix
107
+ * (`ggui_render: …`) or an unregistered slug is not a domain error.
108
+ */
109
+ export function parseDomainErrorText(text) {
110
+ const separator = text.indexOf(': ');
111
+ if (separator <= 0)
112
+ return null;
113
+ const code = text.slice(0, separator);
114
+ const detail = text.slice(separator + 2);
115
+ if (!isDomainErrorCode(code) || detail.trim().length === 0)
116
+ return null;
117
+ return { code, detail };
118
+ }
@@ -1,4 +1,4 @@
1
- import type { GadgetDescriptor } from '../types/data-contract';
1
+ import type { GadgetDescriptor } from '../types/data-contract.js';
2
2
  /**
3
3
  * Resolve an app's effective gadget set from its three sources, in
4
4
  * ascending precedence: the first-party stdlib package is the
@@ -1,4 +1,4 @@
1
- import type { GadgetDescriptor } from '../types/data-contract';
1
+ import type { GadgetDescriptor } from '../types/data-contract.js';
2
2
  /**
3
3
  * The first-party `@ggui-ai/gadgets` package name. Used as
4
4
  * the default `package` for every entry in {@link STDLIB_GADGETS}
@@ -12,7 +12,7 @@ export declare const STDLIB_GADGETS_PACKAGE = "@ggui-ai/gadgets";
12
12
  * in `@ggui-ai/gadgets` asserts the two stay in sync, so a release-time
13
13
  * bump to the runtime package without updating this constant fails CI.
14
14
  */
15
- export declare const STDLIB_GADGETS_VERSION = "0.14.0";
15
+ export declare const STDLIB_GADGETS_VERSION = "0.16.0";
16
16
  /**
17
17
  * v1 catalog of stdlib gadget descriptors. Every entry's
18
18
  * `package` defaults to {@link STDLIB_GADGETS_PACKAGE}; the
@@ -39,7 +39,7 @@ export const STDLIB_GADGETS_PACKAGE = '@ggui-ai/gadgets';
39
39
  * in `@ggui-ai/gadgets` asserts the two stay in sync, so a release-time
40
40
  * bump to the runtime package without updating this constant fails CI.
41
41
  */
42
- export const STDLIB_GADGETS_VERSION = '0.14.0';
42
+ export const STDLIB_GADGETS_VERSION = '0.16.0';
43
43
  /**
44
44
  * v1 catalog of stdlib gadget descriptors. Every entry's
45
45
  * `package` defaults to {@link STDLIB_GADGETS_PACKAGE}; the
package/dist/index.d.ts CHANGED
@@ -1,65 +1,71 @@
1
- export * from "./version";
2
- export * from "./types/auth";
3
- export * from "./types/events";
4
- export * from "./types/render";
5
- export * from "./types/ggui-session-event";
6
- export * from "./types/thread";
7
- export * from "./types/live-channel";
8
- export * from "./types/ui-generator";
9
- export * from "./types/mcp";
10
- export * from "./schemas/mcp";
11
- export * from "./schemas/render-input-envelope";
12
- export type { DeepReadonly } from "./types/readonly";
13
- export * from "./schemas/invoke";
14
- export * from "./schemas/data-contract";
15
- export * from "./schemas/app-theme";
16
- export { canonicalizeContracts, canonicalizeValue } from "./registry/canonicalize-contract";
17
- export { summarizeContract } from "./registry/summarize-contract";
18
- export { buildEnforcedPropsSchema, canonicalPropsSchemaBytes, classifyPropsSchemaProfile, GRAMMAR_SAFE_FORMATS, GRAMMAR_SAFE_KEYWORDS, type PropsSchemaProfile, } from "./validation/enforced-props-schema";
19
- export type { TextBlock, ToolUseBlock, ToolResultBlock, ContentBlock, InvokeEvent, InvokeErrorCode, InvokeTurn, } from "./types/invoke";
20
- export * from "./types/llm";
21
- export * from "./types/refusal-codes";
22
- export * from "./types/llm-route";
23
- export * from "./types/interface-context";
24
- export * from "./types/host-context";
25
- export * from "./types/lifecycle";
26
- export * from "./types/data-contract";
27
- export * from "./types/blueprint";
28
- export * from "./types/blueprint-source";
29
- export * from "./types/portable-blueprint";
30
- export * from "./schemas/blueprint";
31
- export * from "./types/handshake-suggestion";
32
- export * from "./schemas/handshake-suggestion";
33
- export * from "./schemas/ops-blueprint";
34
- export * from "./types/contract-inference";
35
- export * from "./types/gadget";
36
- export * from "./types/app-config";
1
+ export * from "./version.js";
2
+ export * from "./types/auth.js";
3
+ export * from "./types/events.js";
4
+ export * from "./types/render.js";
5
+ export * from "./types/ggui-session-event.js";
6
+ export * from "./types/thread.js";
7
+ export * from "./types/live-channel.js";
8
+ export * from "./types/ui-generator.js";
9
+ export * from "./types/mcp.js";
10
+ export * from "./schemas/mcp.js";
11
+ export * from "./schemas/interface-context.js";
12
+ export * from "./schemas/runtime-telemetry-limits.js";
13
+ export * from "./schemas/public-env-key.js";
14
+ export * from "./schemas/render-input-envelope.js";
15
+ export type { DeepReadonly } from "./types/readonly.js";
16
+ export * from "./schemas/invoke.js";
17
+ export * from "./schemas/data-contract.js";
18
+ export * from "./schemas/app-theme.js";
19
+ export * from "./integrations/overlay-hash.js";
20
+ export { canonicalizeContracts, canonicalizeValue } from "./registry/canonicalize-contract.js";
21
+ export { summarizeContract } from "./registry/summarize-contract.js";
22
+ export { buildEnforcedPropsSchema, canonicalPropsSchemaBytes, classifyPropsSchemaProfile, GRAMMAR_SAFE_FORMATS, GRAMMAR_SAFE_KEYWORDS, type PropsSchemaProfile, } from "./validation/enforced-props-schema.js";
23
+ export type { TextBlock, ToolUseBlock, ToolResultBlock, ContentBlock, InvokeEvent, InvokeErrorCode, InvokeTurn, } from "./types/invoke.js";
24
+ export * from "./types/llm.js";
25
+ export * from "./types/refusal-codes.js";
26
+ export * from "./types/domain-error-codes.js";
27
+ export * from "./types/llm-route.js";
28
+ export * from "./types/interface-context.js";
29
+ export * from "./types/host-context.js";
30
+ export * from "./types/lifecycle.js";
31
+ export * from "./types/data-contract.js";
32
+ export * from "./types/blueprint.js";
33
+ export * from "./types/blueprint-source.js";
34
+ export * from "./types/portable-blueprint.js";
35
+ export * from "./schemas/blueprint.js";
36
+ export * from "./types/handshake-suggestion.js";
37
+ export * from "./schemas/handshake-suggestion.js";
38
+ export * from "./schemas/ops-blueprint.js";
39
+ export * from "./types/contract-inference.js";
40
+ export * from "./types/gadget.js";
41
+ export * from "./types/app-config.js";
37
42
  export { composeOAuthUserId } from "./types/oauth-user-id.js";
38
- export * from "./iframe-bridge";
39
- export * from "./envelope-adapters";
40
- export * from "./envelopes/builders";
41
- export * from "./errors/version-mismatch";
42
- export * from "./errors/unknown-permission-name";
43
- export * from "./errors/resource-read";
44
- export * from "./validation/contract-validator";
45
- export * from "./validation/cross-references";
46
- export * from "./validation/is-record";
47
- export * from "./validation/hygiene-rules";
48
- export * from "./validation/lint-contract";
49
- export * from "./validation/name-invariants";
50
- export * from "./validation/schema-compat-invariants";
51
- export * from "./validation/schema-meta-validation";
52
- export * from "./validation/resolve-stream-channel";
53
- export * from "./validation/reserved-channels";
54
- export * from "./validation/sanitize-error";
55
- export * from "./validation/schema-subset";
56
- export * from "./validation/zod-to-json-schema";
57
- export * from "./validation/ui-security";
58
- export * from "./schema-learning/merge";
59
- export * from "./schema-learning/derive-contract";
60
- export * from "./screen-blueprints/index";
61
- export { GGUI_AGENT_SYSTEM_PROMPT } from "./recommended-prompts";
62
- export { STDLIB_GADGETS, STDLIB_GADGETS_PACKAGE, STDLIB_GADGETS_VERSION, STDLIB_GADGET_HOOKS, } from "./gadgets/stdlib-gadgets";
63
- export { resolveAppGadgets } from './gadgets/resolve-app-gadgets';
64
- export { filterDescriptorsToContract, gadgetIdentityKey, gadgetExportName, listContractGadgets, } from "./gadgets/resolve-contract-gadgets";
43
+ export * from "./iframe-bridge.js";
44
+ export * from "./envelopes/builders.js";
45
+ export * from "./envelopes/render-refusal.js";
46
+ export * from "./errors/version-mismatch.js";
47
+ export * from "./errors/unknown-permission-name.js";
48
+ export * from "./errors/resource-read.js";
49
+ export * from "./errors/domain-error.js";
50
+ export * from "./validation/contract-validator.js";
51
+ export * from "./validation/cross-references.js";
52
+ export * from "./validation/is-record.js";
53
+ export * from "./validation/hygiene-rules.js";
54
+ export * from "./validation/lint-contract.js";
55
+ export * from "./validation/name-invariants.js";
56
+ export * from "./validation/schema-compat-invariants.js";
57
+ export * from "./validation/schema-meta-validation.js";
58
+ export * from "./validation/resolve-stream-channel.js";
59
+ export * from "./validation/reserved-channels.js";
60
+ export * from "./validation/sanitize-error.js";
61
+ export * from "./validation/schema-subset.js";
62
+ export * from "./validation/zod-to-json-schema.js";
63
+ export * from "./validation/ui-security.js";
64
+ export * from "./schema-learning/merge.js";
65
+ export * from "./schema-learning/derive-contract.js";
66
+ export * from "./screen-blueprints/index.js";
67
+ export { GGUI_AGENT_SYSTEM_PROMPT } from "./recommended-prompts.js";
68
+ export { STDLIB_GADGETS, STDLIB_GADGETS_PACKAGE, STDLIB_GADGETS_VERSION, STDLIB_GADGET_HOOKS, } from "./gadgets/stdlib-gadgets.js";
69
+ export { resolveAppGadgets } from './gadgets/resolve-app-gadgets.js';
70
+ export { filterDescriptorsToContract, gadgetIdentityKey, gadgetExportName, listContractGadgets, } from "./gadgets/resolve-contract-gadgets.js";
65
71
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gBAAgB,CAAC;AAI/B,cAAc,sBAAsB,CAAC;AAOrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc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AAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uCAAuC,CAAC;AACtD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mCAAmC,CAAC;AAClD,cAAc,2BAA2B,CAAC;AAC1C,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EACL,cAAc,EACd,sBAAsB,EACtB,sBAAsB,EACtB,mBAAmB,GACpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EACL,2BAA2B,EAC3B,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,oCAAoC,CAAC"}
package/dist/index.js CHANGED
@@ -17,6 +17,9 @@ export * from "./types/live-channel.js";
17
17
  export * from "./types/ui-generator.js";
18
18
  export * from "./types/mcp.js";
19
19
  export * from "./schemas/mcp.js";
20
+ export * from "./schemas/interface-context.js";
21
+ export * from "./schemas/runtime-telemetry-limits.js";
22
+ export * from "./schemas/public-env-key.js";
20
23
  export * from "./schemas/render-input-envelope.js";
21
24
  export * from "./schemas/invoke.js";
22
25
  export * from "./schemas/data-contract.js";
@@ -24,6 +27,7 @@ export * from "./schemas/data-contract.js";
24
27
  // (`--ggui-*` css-var map). Consumed by the deploy/persist path (ggui.json
25
28
  // → managed cloud app) and projected into the rendered iframe's `:root`.
26
29
  export * from "./schemas/app-theme.js";
30
+ export * from "./integrations/overlay-hash.js";
27
31
  // Registry-side helpers — pure utilities for computing the canonical
28
32
  // identity hash of a DataContract shape. Consumed by the Tier 1
29
33
  // exact-match path of the blueprint registry.
@@ -46,6 +50,7 @@ export * from "./types/llm.js";
46
50
  // so it rides the root barrel (unlike ./blueprint-key, which is
47
51
  // subpathed only because it pulls node:crypto).
48
52
  export * from "./types/refusal-codes.js";
53
+ export * from "./types/domain-error-codes.js";
49
54
  export * from "./types/llm-route.js";
50
55
  export * from "./types/interface-context.js";
51
56
  export * from "./types/host-context.js";
@@ -58,7 +63,7 @@ export * from "./schemas/blueprint.js";
58
63
  export * from "./types/handshake-suggestion.js";
59
64
  export * from "./schemas/handshake-suggestion.js";
60
65
  // Operator-class blueprint tool schemas. Lives alongside the blueprint
61
- // type schemas so handlers + cloud pod + console + fixtures all import
66
+ // type schemas so handlers + a hosted deployment + console + fixtures all import
62
67
  // the wire shape from one place.
63
68
  export * from "./schemas/ops-blueprint.js";
64
69
  export * from "./types/contract-inference.js";
@@ -70,13 +75,14 @@ export * from "./types/app-config.js";
70
75
  // same id from one definition.
71
76
  export { composeOAuthUserId } from "./types/oauth-user-id.js";
72
77
  export * from "./iframe-bridge.js";
73
- export * from "./envelope-adapters.js";
74
78
  export * from "./envelopes/builders.js";
79
+ export * from "./envelopes/render-refusal.js";
75
80
  export * from "./errors/version-mismatch.js";
76
81
  export * from "./errors/unknown-permission-name.js";
77
82
  // Typed `resources/read` failures → JSON-RPC. The single exit for every
78
83
  // non-mount outcome of a render-locator read.
79
84
  export * from "./errors/resource-read.js";
85
+ export * from "./errors/domain-error.js";
80
86
  export * from "./validation/contract-validator.js";
81
87
  export * from "./validation/cross-references.js";
82
88
  export * from "./validation/is-record.js";
@@ -30,8 +30,8 @@
30
30
  import type { JsonObject, JsonSchema, JsonValue } from '../types/data-contract.js';
31
31
  import { type AppTheme } from '../schemas/app-theme.js';
32
32
  import type { z } from 'zod';
33
- import type { gguiSessionSummaryWireSchema } from '../schemas/mcp';
34
- import type { DeepReadonly } from '../types/readonly';
33
+ import type { gguiSessionSummaryWireSchema } from '../schemas/mcp.js';
34
+ import type { DeepReadonly } from '../types/readonly.js';
35
35
  /**
36
36
  * MCP capability name ggui servers advertise in their MCP `initialize`
37
37
  * response capabilities when they implement the MCP Apps outbound path.
@@ -255,11 +255,13 @@ export interface McpAppAiGguiRenderMeta {
255
255
  readonly themeId?: string;
256
256
  readonly themeMode?: 'light' | 'dark';
257
257
  /**
258
- * Resolved per-app theme overlay — mode + the `--ggui-*` CSS-variable
259
- * map snapshotted from `App.theme` and projected by `deriveRenderMeta`.
260
- * Distinct from `themeId` (a registry preset reference) and `themeMode`
261
- * (the bare light/dark discriminator): this carries the concrete
262
- * variable values the iframe applies as a `:root` declaration block.
258
+ * Resolved per-app theme overlay (ggui#987): the projection for BOTH
259
+ * modes (`overlays.light` / `overlays.dark`), the mode-agnostic
260
+ * `cssVariables` on top, per-mode keyframes, the `overlayHash`
261
+ * attestation, and an optional default `mode` — snapshotted from
262
+ * `App.theme`. Distinct from `themeId` (a compiled-theme reference) and
263
+ * `themeMode` (the bare light/dark discriminator): the iframe injects
264
+ * `overlays[effectiveMode]` then `cssVariables` as `:root` declarations.
263
265
  * Absent ⇒ no per-app overlay; the renderer applies its default theme.
264
266
  */
265
267
  readonly theme?: AppTheme;
@@ -348,7 +350,15 @@ export type ParseMcpAppAiGguiRenderMetaResult = {
348
350
  *
349
351
  * @public
350
352
  */
351
- export declare function parseMcpAppAiGguiRenderMeta(meta: unknown): ParseMcpAppAiGguiRenderMetaResult;
353
+ export interface ParseMcpAppAiGguiRenderMetaOptions {
354
+ /**
355
+ * Called when a `theme` is present but fails `appThemeSchema` — the read
356
+ * door drops it (tolerant degrade) but MUST NOT be silent (ggui#987 §3.4):
357
+ * the caller logs or emits its observability event with the issues.
358
+ */
359
+ readonly onInvalidTheme?: ((issues: readonly string[]) => void) | undefined;
360
+ }
361
+ export declare function parseMcpAppAiGguiRenderMeta(meta: unknown, options?: ParseMcpAppAiGguiRenderMetaOptions): ParseMcpAppAiGguiRenderMetaResult;
352
362
  /**
353
363
  * Emitter convenience — wrap a server-built {@link McpAppAiGguiRenderMeta}
354
364
  * slice as the wire `_meta` envelope under the canonical key constant.
@@ -953,6 +963,22 @@ export declare const SUBMIT_ACTION_KINDS: readonly ["dispatch", "openLink", "req
953
963
  * MUST validate shape before consuming.
954
964
  */
955
965
  export declare function isGguiSubmitActionInput(value: unknown): value is GguiSubmitActionInput;
966
+ /**
967
+ * The `dispatch` member of {@link GguiSubmitActionInput} — the one kind
968
+ * whose payload the pipe stores. Derived here, never restated in a
969
+ * consumer (ggui#839): `env.kind === 'dispatch'` alone cannot narrow the
970
+ * union, because the forward-compat extension member (`kind: string` with a
971
+ * `Record<string, unknown>` payload) also admits the literal at the type level.
972
+ */
973
+ export type GguiSubmitDispatchInput = Extract<GguiSubmitActionInput, {
974
+ readonly kind: 'dispatch';
975
+ }>;
976
+ /**
977
+ * Narrow a guarded envelope to its `dispatch` member. Sound because
978
+ * {@link isGguiSubmitActionInput}'s closed-set `switch` validates the
979
+ * `'dispatch'` payload before any extension kind can carry that literal.
980
+ */
981
+ export declare function isGguiSubmitDispatchInput(env: GguiSubmitActionInput): env is GguiSubmitDispatchInput;
956
982
  /**
957
983
  * `content[0]._meta["ai.ggui/userAction"]` — a PURE DOORBELL.
958
984
  *
@@ -1077,7 +1103,7 @@ export declare function toolResultGguiRender(result: unknown): GguiRenderBootstr
1077
1103
  *
1078
1104
  * @public
1079
1105
  */
1080
- export declare const GGUI_RENDER_SHELL_SURFACE = "var(--ggui-shell-background, var(--ggui-color-surface, var(--ggui-shell-scheme-surface, #f9fafb)))";
1106
+ export declare const GGUI_RENDER_SHELL_SURFACE = "var(--ggui-shell-background, var(--ggui-color-ground, var(--ggui-shell-scheme-surface, #f9fafb)))";
1081
1107
  /**
1082
1108
  * Inline `<style>` block that gives the shell's pre-render placeholder
1083
1109
  * a SCHEME-AWARE neutral ground (#662). Before the runtime injects
@@ -1 +1 @@
1
- {"version":3,"file":"mcp-apps.d.ts","source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