@ggui-ai/protocol 0.12.0 → 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/gadgets/stdlib-gadgets.d.ts +1 -1
- package/dist/gadgets/stdlib-gadgets.js +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -0
- package/dist/integrations/mcp-apps.d.ts +63 -11
- package/dist/integrations/mcp-apps.d.ts.map +1 -1
- package/dist/integrations/mcp-apps.js +73 -3
- package/dist/schemas/app-theme.d.ts +5 -0
- package/dist/schemas/app-theme.d.ts.map +1 -1
- package/dist/schemas/app-theme.js +23 -0
- package/dist/schemas/data-contract.d.ts +3 -1
- package/dist/schemas/data-contract.d.ts.map +1 -1
- package/dist/schemas/data-contract.js +2 -0
- package/dist/schemas/invoke.d.ts +2 -2
- package/dist/schemas/mcp.d.ts +482 -24
- package/dist/schemas/mcp.d.ts.map +1 -1
- package/dist/schemas/mcp.js +455 -26
- package/dist/schemas/render-input-envelope.d.ts +20 -0
- package/dist/schemas/render-input-envelope.d.ts.map +1 -0
- package/dist/schemas/render-input-envelope.js +56 -0
- package/dist/types/ggui-session-event.d.ts +4 -5
- package/dist/types/ggui-session-event.d.ts.map +1 -1
- package/dist/types/ggui-session-event.js +0 -37
- package/dist/types/host-context.d.ts +17 -16
- package/dist/types/host-context.d.ts.map +1 -1
- package/dist/types/host-context.js +7 -0
- package/dist/types/llm-route.d.ts +2 -2
- package/dist/types/llm-route.d.ts.map +1 -1
- package/dist/types/llm-route.js +11 -3
- package/dist/types/llm.d.ts +397 -7
- package/dist/types/llm.d.ts.map +1 -1
- package/dist/types/llm.js +111 -10
- package/dist/types/mcp.d.ts +16 -53
- package/dist/types/mcp.d.ts.map +1 -1
- package/dist/types/readonly.d.ts +11 -0
- package/dist/types/readonly.d.ts.map +1 -0
- package/dist/types/readonly.js +1 -0
- package/dist/types/refusal-codes.d.ts +319 -0
- package/dist/types/refusal-codes.d.ts.map +1 -0
- package/dist/types/refusal-codes.js +329 -0
- package/dist/version.d.ts +79 -5
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +78 -4
- package/package.json +7 -3
package/dist/schemas/mcp.d.ts
CHANGED
|
@@ -35,8 +35,8 @@ export declare const interfaceContextSchema: z.ZodObject<{
|
|
|
35
35
|
}, z.core.$strip>;
|
|
36
36
|
platform: z.ZodEnum<{
|
|
37
37
|
web: "web";
|
|
38
|
-
desktop: "desktop";
|
|
39
38
|
mobile: "mobile";
|
|
39
|
+
desktop: "desktop";
|
|
40
40
|
}>;
|
|
41
41
|
deviceType: z.ZodEnum<{
|
|
42
42
|
desktop: "desktop";
|
|
@@ -50,8 +50,8 @@ export declare const interfaceContextSchema: z.ZodObject<{
|
|
|
50
50
|
devicePixelRatio: z.ZodOptional<z.ZodNumber>;
|
|
51
51
|
touchPrimary: z.ZodOptional<z.ZodBoolean>;
|
|
52
52
|
shellType: z.ZodOptional<z.ZodEnum<{
|
|
53
|
-
fullscreen: "fullscreen";
|
|
54
53
|
chat: "chat";
|
|
54
|
+
fullscreen: "fullscreen";
|
|
55
55
|
spatial: "spatial";
|
|
56
56
|
}>>;
|
|
57
57
|
colorScheme: z.ZodOptional<z.ZodEnum<{
|
|
@@ -269,9 +269,14 @@ export declare const renderInputShape: {
|
|
|
269
269
|
/**
|
|
270
270
|
* Typed `infra` envelope. Today carries one field (`model`); future
|
|
271
271
|
* expansion (temperature, max_tokens, provider hints) lands here
|
|
272
|
-
* additively. `model` MUST
|
|
273
|
-
*
|
|
274
|
-
*
|
|
272
|
+
* additively. `model` MUST parse as a model route in either wire form —
|
|
273
|
+
* canonical `provider:model` or LiteLLM `provider/model` (aliases resolve
|
|
274
|
+
* in both). The mechanism is `renderInputEnvelopeSchema`
|
|
275
|
+
* (`schemas/render-input-envelope.ts`), which the render handler parses
|
|
276
|
+
* BEFORE its pre-generation gate; this registered shape stays
|
|
277
|
+
* parser-free by design so a browser bundle never carries the route
|
|
278
|
+
* tables (ggui#818). A bound generator may also accept generator-specific
|
|
279
|
+
* prefixes for alternate transports.
|
|
275
280
|
*
|
|
276
281
|
* Strict — extra keys at `infra.*` are not silently dropped, so a
|
|
277
282
|
* typo (`infra.modelId`) surfaces as a clear zod path instead of a
|
|
@@ -380,6 +385,130 @@ export declare const renderErrorSchema: z.ZodObject<{
|
|
|
380
385
|
}>;
|
|
381
386
|
message: z.ZodString;
|
|
382
387
|
}, z.core.$strip>;
|
|
388
|
+
/**
|
|
389
|
+
* The three outcomes a `ggui_render` result can report (SPEC §7.1,
|
|
390
|
+
* ggui#786). A reader branches on this rather than guessing from which
|
|
391
|
+
* fields happen to be present:
|
|
392
|
+
*
|
|
393
|
+
* - `rendered` — the render ran and produced an interface. The
|
|
394
|
+
* identity fields (`sessionId`, `action`, `contractHash`,
|
|
395
|
+
* `blueprintId`, `variantKey`, `cache`) are all present.
|
|
396
|
+
* - `failed` — generation RAN and did not produce a component. The
|
|
397
|
+
* error session IS committed, so the identity fields are present
|
|
398
|
+
* and `error` carries the classification. The handshake is
|
|
399
|
+
* consumed.
|
|
400
|
+
* - `refused` — the deployment declined the call BEFORE it did any
|
|
401
|
+
* work: no state read, nothing committed, no spend. (The SDK has
|
|
402
|
+
* already checked the call against the declared `inputSchema` —
|
|
403
|
+
* the claim is nothing READ, not nothing validated.) The identity
|
|
404
|
+
* fields are structurally ABSENT and `refusal` carries the whole
|
|
405
|
+
* story; the handshake is INTACT, so the same id is valid on a
|
|
406
|
+
* retry.
|
|
407
|
+
*
|
|
408
|
+
* Declared HERE rather than in `types/mcp.ts` (which re-exports the
|
|
409
|
+
* inferred type) so `types/render.ts` can reference it without a
|
|
410
|
+
* type-only import cycle through `types/mcp.ts` — same convention as
|
|
411
|
+
* {@link renderErrorCodeSchema}.
|
|
412
|
+
*/
|
|
413
|
+
export declare const renderOutcomeSchema: z.ZodEnum<{
|
|
414
|
+
rendered: "rendered";
|
|
415
|
+
failed: "failed";
|
|
416
|
+
refused: "refused";
|
|
417
|
+
}>;
|
|
418
|
+
/** Canonical inferred type for {@link renderOutcomeSchema}. */
|
|
419
|
+
export type RenderOutcome = z.infer<typeof renderOutcomeSchema>;
|
|
420
|
+
/**
|
|
421
|
+
* In-result PRE-GENERATION REFUSAL marker (SPEC §7.1's refused arm,
|
|
422
|
+
* ggui#786). Present iff `outcome: 'refused'`.
|
|
423
|
+
*
|
|
424
|
+
* `code` draws from the closed render-gate subset of
|
|
425
|
+
* `PRE_GENERATION_REFUSAL_CODES` — a code that is not registered fails
|
|
426
|
+
* this enum at the transport, loudly. It is a bug, never a wire state.
|
|
427
|
+
*
|
|
428
|
+
* An agent MUST NOT auto-retry an `after-fix` refusal whose registry
|
|
429
|
+
* row names a `fixBy` other than `caller`: the fix belongs to the app's
|
|
430
|
+
* owner, the tenant, or the operator, and retrying does not perform it.
|
|
431
|
+
*/
|
|
432
|
+
export declare const renderRefusalSchema: z.ZodObject<{
|
|
433
|
+
code: z.ZodEnum<{
|
|
434
|
+
unsupported_provider: "unsupported_provider";
|
|
435
|
+
insufficient_credit: "insufficient_credit";
|
|
436
|
+
hard_cap_exceeded: "hard_cap_exceeded";
|
|
437
|
+
model_not_in_tier: "model_not_in_tier";
|
|
438
|
+
managed_default_cap_exceeded: "managed_default_cap_exceeded";
|
|
439
|
+
app_policy_missing: "app_policy_missing";
|
|
440
|
+
billing_mode_anomaly: "billing_mode_anomaly";
|
|
441
|
+
app_canceled: "app_canceled";
|
|
442
|
+
trial_exhausted: "trial_exhausted";
|
|
443
|
+
trial_expired: "trial_expired";
|
|
444
|
+
issuer_rate_limited: "issuer_rate_limited";
|
|
445
|
+
app_rate_limited: "app_rate_limited";
|
|
446
|
+
app_deprovisioned: "app_deprovisioned";
|
|
447
|
+
billing_path_missing: "billing_path_missing";
|
|
448
|
+
}>;
|
|
449
|
+
message: z.ZodString;
|
|
450
|
+
fix: z.ZodString;
|
|
451
|
+
retry: z.ZodEnum<{
|
|
452
|
+
never: "never";
|
|
453
|
+
"after-fix": "after-fix";
|
|
454
|
+
"next-period": "next-period";
|
|
455
|
+
later: "later";
|
|
456
|
+
}>;
|
|
457
|
+
handshake: z.ZodLiteral<"intact">;
|
|
458
|
+
balanceCentsAtCheck: z.ZodOptional<z.ZodNumber>;
|
|
459
|
+
}, z.core.$strip>;
|
|
460
|
+
/** The refusal marker, derived from {@link renderRefusalSchema}. */
|
|
461
|
+
export type PreGenerationRefusal = z.infer<typeof renderRefusalSchema>;
|
|
462
|
+
/**
|
|
463
|
+
* The COMPLETE structuredContent of a refused tool result — the whole
|
|
464
|
+
* payload, not a slice of it. Strict on purpose: a refusal commits
|
|
465
|
+
* nothing, so ANY other key (a `sessionId`, a `resourceUri`, an
|
|
466
|
+
* `error`) means the projection leaked state that does not exist.
|
|
467
|
+
*
|
|
468
|
+
* Today `ggui_render` is the only tool that carries a refusing gate;
|
|
469
|
+
* {@link renderOutputSchema} delegates its refused arm here rather than
|
|
470
|
+
* restating the rules, so there is exactly ONE declaration of them.
|
|
471
|
+
*
|
|
472
|
+
* NOT reusable verbatim by a second refusing tool, despite the strict
|
|
473
|
+
* shape reading as generic: {@link renderRefusalSchema} REQUIRES
|
|
474
|
+
* `handshake: 'intact'`, and that field is render-only by
|
|
475
|
+
* construction — a mutation consumes no handshake, so it has nothing
|
|
476
|
+
* to report intact. A mutation arm therefore lands WITH its first
|
|
477
|
+
* emitter, sharing the facts this envelope carries (`code`, `message`,
|
|
478
|
+
* `fix`, `retry`, one closed registry) and carrying no `handshake`
|
|
479
|
+
* field at all (ggui#798).
|
|
480
|
+
*/
|
|
481
|
+
export declare const refusedOutputSchema: z.ZodObject<{
|
|
482
|
+
outcome: z.ZodLiteral<"refused">;
|
|
483
|
+
refusal: z.ZodObject<{
|
|
484
|
+
code: z.ZodEnum<{
|
|
485
|
+
unsupported_provider: "unsupported_provider";
|
|
486
|
+
insufficient_credit: "insufficient_credit";
|
|
487
|
+
hard_cap_exceeded: "hard_cap_exceeded";
|
|
488
|
+
model_not_in_tier: "model_not_in_tier";
|
|
489
|
+
managed_default_cap_exceeded: "managed_default_cap_exceeded";
|
|
490
|
+
app_policy_missing: "app_policy_missing";
|
|
491
|
+
billing_mode_anomaly: "billing_mode_anomaly";
|
|
492
|
+
app_canceled: "app_canceled";
|
|
493
|
+
trial_exhausted: "trial_exhausted";
|
|
494
|
+
trial_expired: "trial_expired";
|
|
495
|
+
issuer_rate_limited: "issuer_rate_limited";
|
|
496
|
+
app_rate_limited: "app_rate_limited";
|
|
497
|
+
app_deprovisioned: "app_deprovisioned";
|
|
498
|
+
billing_path_missing: "billing_path_missing";
|
|
499
|
+
}>;
|
|
500
|
+
message: z.ZodString;
|
|
501
|
+
fix: z.ZodString;
|
|
502
|
+
retry: z.ZodEnum<{
|
|
503
|
+
never: "never";
|
|
504
|
+
"after-fix": "after-fix";
|
|
505
|
+
"next-period": "next-period";
|
|
506
|
+
later: "later";
|
|
507
|
+
}>;
|
|
508
|
+
handshake: z.ZodLiteral<"intact">;
|
|
509
|
+
balanceCentsAtCheck: z.ZodOptional<z.ZodNumber>;
|
|
510
|
+
}, z.core.$strip>;
|
|
511
|
+
}, z.core.$strict>;
|
|
383
512
|
/**
|
|
384
513
|
* Canonical failure codes for a `resources/read` on a render locator
|
|
385
514
|
* (`ui://ggui/render/{sessionId}/{blueprintKey}`). Closed enum.
|
|
@@ -433,9 +562,10 @@ export declare const resourceReadErrorSchema: z.ZodObject<{
|
|
|
433
562
|
detail: z.ZodOptional<z.ZodString>;
|
|
434
563
|
}, z.core.$strip>;
|
|
435
564
|
/**
|
|
436
|
-
* Wire-output shape
|
|
437
|
-
*
|
|
438
|
-
*
|
|
565
|
+
* Wire-output shape. `outcome` is the discriminant and the only
|
|
566
|
+
* unconditionally required field; which of the others exist follows
|
|
567
|
+
* from it, per the THREE OUTCOMES section below — that section is the
|
|
568
|
+
* single summary of this shape, so do not restate it here.
|
|
439
569
|
* The handler carries `shortCode`, `codeReady`, `handshakeId`,
|
|
440
570
|
* `decision`, `contract`, `codeUrl`, `codeHash`
|
|
441
571
|
* on its internal `RenderOutput` TS shape for telemetry / post-classify
|
|
@@ -449,29 +579,53 @@ export declare const resourceReadErrorSchema: z.ZodObject<{
|
|
|
449
579
|
* `render-resource/...`). Leaving a dead URL on the wire had the model
|
|
450
580
|
* hallucinating links that resolve nowhere.
|
|
451
581
|
*
|
|
452
|
-
*
|
|
453
|
-
*
|
|
454
|
-
*
|
|
455
|
-
*
|
|
456
|
-
*
|
|
582
|
+
* THREE OUTCOMES (SPEC §7.1, ggui#786). Every result carries
|
|
583
|
+
* {@link renderOutcomeSchema} on `outcome`, and the identity fields are
|
|
584
|
+
* present IFF something was committed — which is why they are optional
|
|
585
|
+
* at the schema level and pinned by the presence refinement below:
|
|
586
|
+
*
|
|
587
|
+
* - `rendered` — identity fields present; `resourceUri` present iff
|
|
588
|
+
* mountable; no `error`, no `refusal`.
|
|
589
|
+
* - `failed` — generation ran and produced nothing. Identity fields
|
|
590
|
+
* present (the error GguiSession IS committed, so `sessionId`
|
|
591
|
+
* remains a live handle into the session channel), `error`
|
|
592
|
+
* present, `resourceUri` absent, no `_meta` on the result. The
|
|
593
|
+
* handshake is consumed.
|
|
594
|
+
* - `refused` — the deployment declined before doing any work.
|
|
595
|
+
* Identity fields ABSENT, `refusal` present, no `error`, no
|
|
596
|
+
* `nextStep`, no `_meta`. Nothing was committed and the handshake
|
|
597
|
+
* is intact. The refused arm's whole envelope is
|
|
598
|
+
* {@link refusedOutputSchema}.
|
|
599
|
+
*
|
|
600
|
+
* The root stays ONE object with a discriminant field rather than a
|
|
601
|
+
* discriminated union: the MCP spec's `Tool.outputSchema` root MUST be
|
|
602
|
+
* a JSON Schema of type `object`, and the SDK registers zod raw shapes.
|
|
603
|
+
* TypeScript narrowing is via the guards at the bottom of this file
|
|
604
|
+
* ({@link isRenderedOutput} / {@link isFailedRenderOutput} /
|
|
605
|
+
* {@link isRefusedRenderOutput}), never a parallel union type.
|
|
457
606
|
*
|
|
458
607
|
* Post-Phase-B the `'compose'` action enum value is gone — there is no
|
|
459
608
|
* stack of N renders to compose against.
|
|
460
609
|
*/
|
|
461
610
|
export declare const renderOutputSchema: z.ZodObject<{
|
|
462
|
-
|
|
611
|
+
outcome: z.ZodEnum<{
|
|
612
|
+
rendered: "rendered";
|
|
613
|
+
failed: "failed";
|
|
614
|
+
refused: "refused";
|
|
615
|
+
}>;
|
|
616
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
463
617
|
resourceUri: z.ZodOptional<z.ZodString>;
|
|
464
|
-
action: z.ZodEnum<{
|
|
618
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
465
619
|
replace: "replace";
|
|
466
620
|
create: "create";
|
|
467
621
|
reuse: "reuse";
|
|
468
622
|
update: "update";
|
|
469
623
|
declined: "declined";
|
|
470
|
-
}
|
|
471
|
-
contractHash: z.ZodString
|
|
472
|
-
blueprintId: z.ZodString
|
|
473
|
-
variantKey: z.ZodString
|
|
474
|
-
cache: z.ZodObject<{
|
|
624
|
+
}>>;
|
|
625
|
+
contractHash: z.ZodOptional<z.ZodString>;
|
|
626
|
+
blueprintId: z.ZodOptional<z.ZodString>;
|
|
627
|
+
variantKey: z.ZodOptional<z.ZodString>;
|
|
628
|
+
cache: z.ZodOptional<z.ZodObject<{
|
|
475
629
|
hit: z.ZodBoolean;
|
|
476
630
|
similarity: z.ZodOptional<z.ZodNumber>;
|
|
477
631
|
cachedBlueprintId: z.ZodOptional<z.ZodString>;
|
|
@@ -481,7 +635,7 @@ export declare const renderOutputSchema: z.ZodObject<{
|
|
|
481
635
|
cold: "cold";
|
|
482
636
|
}>>;
|
|
483
637
|
reason: z.ZodOptional<z.ZodString>;
|
|
484
|
-
}, z.core.$strip
|
|
638
|
+
}, z.core.$strip>>;
|
|
485
639
|
error: z.ZodOptional<z.ZodObject<{
|
|
486
640
|
code: z.ZodEnum<{
|
|
487
641
|
PRODUCTION_FAILED: "PRODUCTION_FAILED";
|
|
@@ -492,6 +646,34 @@ export declare const renderOutputSchema: z.ZodObject<{
|
|
|
492
646
|
}>;
|
|
493
647
|
message: z.ZodString;
|
|
494
648
|
}, z.core.$strip>>;
|
|
649
|
+
refusal: z.ZodOptional<z.ZodObject<{
|
|
650
|
+
code: z.ZodEnum<{
|
|
651
|
+
unsupported_provider: "unsupported_provider";
|
|
652
|
+
insufficient_credit: "insufficient_credit";
|
|
653
|
+
hard_cap_exceeded: "hard_cap_exceeded";
|
|
654
|
+
model_not_in_tier: "model_not_in_tier";
|
|
655
|
+
managed_default_cap_exceeded: "managed_default_cap_exceeded";
|
|
656
|
+
app_policy_missing: "app_policy_missing";
|
|
657
|
+
billing_mode_anomaly: "billing_mode_anomaly";
|
|
658
|
+
app_canceled: "app_canceled";
|
|
659
|
+
trial_exhausted: "trial_exhausted";
|
|
660
|
+
trial_expired: "trial_expired";
|
|
661
|
+
issuer_rate_limited: "issuer_rate_limited";
|
|
662
|
+
app_rate_limited: "app_rate_limited";
|
|
663
|
+
app_deprovisioned: "app_deprovisioned";
|
|
664
|
+
billing_path_missing: "billing_path_missing";
|
|
665
|
+
}>;
|
|
666
|
+
message: z.ZodString;
|
|
667
|
+
fix: z.ZodString;
|
|
668
|
+
retry: z.ZodEnum<{
|
|
669
|
+
never: "never";
|
|
670
|
+
"after-fix": "after-fix";
|
|
671
|
+
"next-period": "next-period";
|
|
672
|
+
later: "later";
|
|
673
|
+
}>;
|
|
674
|
+
handshake: z.ZodLiteral<"intact">;
|
|
675
|
+
balanceCentsAtCheck: z.ZodOptional<z.ZodNumber>;
|
|
676
|
+
}, z.core.$strip>>;
|
|
495
677
|
nextStep: z.ZodOptional<z.ZodObject<{
|
|
496
678
|
tool: z.ZodLiteral<"ggui_consume">;
|
|
497
679
|
description: z.ZodString;
|
|
@@ -559,9 +741,10 @@ export declare const amendInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
559
741
|
patch: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
560
742
|
}, z.core.$strict>], "kind">;
|
|
561
743
|
/**
|
|
562
|
-
* Wire-output shape — minimal acknowledgement.
|
|
563
|
-
*
|
|
564
|
-
*
|
|
744
|
+
* Wire-output shape — minimal acknowledgement. This schema IS the
|
|
745
|
+
* handler's declared output: `ggui_update` registers `.shape` and its
|
|
746
|
+
* return type is `GguiUpdateOutput` (`z.infer` of this schema), so
|
|
747
|
+
* there is no second declaration to keep in step (ggui#798).
|
|
565
748
|
*
|
|
566
749
|
* Every REAL update (`updated: true`) mints a new history record and
|
|
567
750
|
* its result carries the `ai.ggui/render` slice as a FULL bootable
|
|
@@ -571,6 +754,15 @@ export declare const amendInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
571
754
|
* history when its higher-epoch `props_update` frame lands; the
|
|
572
755
|
* in-place repaint over the live-channel ladder (WS / SSE / polling /
|
|
573
756
|
* bridge-pull) is `ggui_amend`'s job.
|
|
757
|
+
*
|
|
758
|
+
* NO refusal arm (ggui#786): the pre-generation refusal envelope rides
|
|
759
|
+
* `ggui_render` only. There is no pre-state POLICY gate on the
|
|
760
|
+
* mutation tools today — nothing on this path can decline a call for
|
|
761
|
+
* deployment-policy reasons (a contract error still rejects a
|
|
762
|
+
* malformed mutation before any store read; that is a parse result,
|
|
763
|
+
* not a refusal) — and `handshake: 'intact'` would assert something
|
|
764
|
+
* meaningless on a tool that consumes no handshake. The arm lands with its first
|
|
765
|
+
* emitter (ggui#798), not as a mechanical port of the render one.
|
|
574
766
|
*/
|
|
575
767
|
export declare const updateOutputSchema: z.ZodObject<{
|
|
576
768
|
sessionId: z.ZodString;
|
|
@@ -587,6 +779,10 @@ export declare const updateOutputSchema: z.ZodObject<{
|
|
|
587
779
|
* mints a record, so there is no pinned URI to return and no epoch
|
|
588
780
|
* field — the history number is untouched by construction). The
|
|
589
781
|
* mounted card receives the new props over the live channels.
|
|
782
|
+
*
|
|
783
|
+
* As with {@link updateOutputSchema}, this schema IS the handler's
|
|
784
|
+
* declared output — `ggui_amend` registers `.shape` and returns
|
|
785
|
+
* `GguiAmendOutput` (ggui#798).
|
|
590
786
|
*/
|
|
591
787
|
export declare const amendOutputSchema: z.ZodObject<{
|
|
592
788
|
sessionId: z.ZodString;
|
|
@@ -796,4 +992,266 @@ export declare const runtimeTelemetryInputSchema: z.ZodObject<{
|
|
|
796
992
|
export declare const runtimeTelemetryOutputSchema: z.ZodObject<{
|
|
797
993
|
ok: z.ZodLiteral<true>;
|
|
798
994
|
}, z.core.$strip>;
|
|
995
|
+
type RenderOutputValue = z.infer<typeof renderOutputSchema>;
|
|
996
|
+
/** Identity fields a committed render reports. */
|
|
997
|
+
type CommittedRenderIdentity = Required<Pick<RenderOutputValue, 'sessionId' | 'action' | 'contractHash' | 'blueprintId' | 'variantKey' | 'cache'>>;
|
|
998
|
+
/** A render that produced an interface — identity fields present. */
|
|
999
|
+
export declare function isRenderedOutput(output: RenderOutputValue): output is RenderOutputValue & {
|
|
1000
|
+
outcome: 'rendered';
|
|
1001
|
+
} & CommittedRenderIdentity;
|
|
1002
|
+
/**
|
|
1003
|
+
* A generation that RAN and produced nothing. The error session is
|
|
1004
|
+
* committed, so `sessionId` is a live handle and `error` classifies it.
|
|
1005
|
+
*/
|
|
1006
|
+
export declare function isFailedRenderOutput(output: RenderOutputValue): output is RenderOutputValue & {
|
|
1007
|
+
outcome: 'failed';
|
|
1008
|
+
error: z.infer<typeof renderErrorSchema>;
|
|
1009
|
+
} & CommittedRenderIdentity;
|
|
1010
|
+
/**
|
|
1011
|
+
* A PRE-GENERATION refusal — nothing read and nothing committed, so
|
|
1012
|
+
* every identity field is absent and `refusal` carries the state. (Not
|
|
1013
|
+
* "nothing parsed": the SDK has already checked the call against the
|
|
1014
|
+
* tool's declared `inputSchema` by the time a gate can refuse it.)
|
|
1015
|
+
*/
|
|
1016
|
+
export declare function isRefusedRenderOutput(output: RenderOutputValue): output is {
|
|
1017
|
+
outcome: 'refused';
|
|
1018
|
+
refusal: PreGenerationRefusal;
|
|
1019
|
+
};
|
|
1020
|
+
/** Display modes an MCP Apps host can render a view in (ext-apps vocabulary). */
|
|
1021
|
+
export declare const mcpUiDisplayModeSchema: z.ZodEnum<{
|
|
1022
|
+
fullscreen: "fullscreen";
|
|
1023
|
+
inline: "inline";
|
|
1024
|
+
pip: "pip";
|
|
1025
|
+
}>;
|
|
1026
|
+
/**
|
|
1027
|
+
* The host-context projection the iframe-runtime observes and `ggui_consume`
|
|
1028
|
+
* echoes (`client.hostContext`). Every field optional: a host that never
|
|
1029
|
+
* reports one leaves it absent — absent ⇒ the documented default.
|
|
1030
|
+
*/
|
|
1031
|
+
export declare const hostContextProjectionSchema: z.ZodObject<{
|
|
1032
|
+
availableDisplayModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1033
|
+
fullscreen: "fullscreen";
|
|
1034
|
+
inline: "inline";
|
|
1035
|
+
pip: "pip";
|
|
1036
|
+
}>>>;
|
|
1037
|
+
currentDisplayMode: z.ZodOptional<z.ZodEnum<{
|
|
1038
|
+
fullscreen: "fullscreen";
|
|
1039
|
+
inline: "inline";
|
|
1040
|
+
pip: "pip";
|
|
1041
|
+
}>>;
|
|
1042
|
+
containerDimensions: z.ZodOptional<z.ZodObject<{
|
|
1043
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1044
|
+
maxWidth: z.ZodOptional<z.ZodNumber>;
|
|
1045
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1046
|
+
maxHeight: z.ZodOptional<z.ZodNumber>;
|
|
1047
|
+
}, z.core.$strip>>;
|
|
1048
|
+
platform: z.ZodOptional<z.ZodEnum<{
|
|
1049
|
+
web: "web";
|
|
1050
|
+
mobile: "mobile";
|
|
1051
|
+
desktop: "desktop";
|
|
1052
|
+
}>>;
|
|
1053
|
+
deviceCapabilities: z.ZodOptional<z.ZodObject<{
|
|
1054
|
+
touch: z.ZodOptional<z.ZodBoolean>;
|
|
1055
|
+
hover: z.ZodOptional<z.ZodBoolean>;
|
|
1056
|
+
}, z.core.$strip>>;
|
|
1057
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
1058
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
1059
|
+
}, z.core.$strip>;
|
|
1060
|
+
/** `ggui_consume`'s `client` slice — what the runtime observed about its host. */
|
|
1061
|
+
export declare const clientObservationsSchema: z.ZodObject<{
|
|
1062
|
+
hostContext: z.ZodOptional<z.ZodObject<{
|
|
1063
|
+
availableDisplayModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1064
|
+
fullscreen: "fullscreen";
|
|
1065
|
+
inline: "inline";
|
|
1066
|
+
pip: "pip";
|
|
1067
|
+
}>>>;
|
|
1068
|
+
currentDisplayMode: z.ZodOptional<z.ZodEnum<{
|
|
1069
|
+
fullscreen: "fullscreen";
|
|
1070
|
+
inline: "inline";
|
|
1071
|
+
pip: "pip";
|
|
1072
|
+
}>>;
|
|
1073
|
+
containerDimensions: z.ZodOptional<z.ZodObject<{
|
|
1074
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1075
|
+
maxWidth: z.ZodOptional<z.ZodNumber>;
|
|
1076
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1077
|
+
maxHeight: z.ZodOptional<z.ZodNumber>;
|
|
1078
|
+
}, z.core.$strip>>;
|
|
1079
|
+
platform: z.ZodOptional<z.ZodEnum<{
|
|
1080
|
+
web: "web";
|
|
1081
|
+
mobile: "mobile";
|
|
1082
|
+
desktop: "desktop";
|
|
1083
|
+
}>>;
|
|
1084
|
+
deviceCapabilities: z.ZodOptional<z.ZodObject<{
|
|
1085
|
+
touch: z.ZodOptional<z.ZodBoolean>;
|
|
1086
|
+
hover: z.ZodOptional<z.ZodBoolean>;
|
|
1087
|
+
}, z.core.$strip>>;
|
|
1088
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
1089
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
1090
|
+
}, z.core.$strip>>;
|
|
1091
|
+
}, z.core.$strip>;
|
|
1092
|
+
/** One row of `ggui_list_sessions` — eight closed keys; nothing passes through. */
|
|
1093
|
+
export declare const gguiSessionSummaryWireSchema: z.ZodObject<{
|
|
1094
|
+
sessionId: z.ZodString;
|
|
1095
|
+
hostName: z.ZodOptional<z.ZodString>;
|
|
1096
|
+
hostSessionId: z.ZodOptional<z.ZodString>;
|
|
1097
|
+
createdAt: z.ZodString;
|
|
1098
|
+
lastActivityAt: z.ZodString;
|
|
1099
|
+
status: z.ZodString;
|
|
1100
|
+
wsToken: z.ZodOptional<z.ZodString>;
|
|
1101
|
+
wsTokenExpiresAt: z.ZodOptional<z.ZodString>;
|
|
1102
|
+
}, z.core.$strip>;
|
|
1103
|
+
/**
|
|
1104
|
+
* `ggui_get_session`'s wire: the store row's six base fields plus the mount
|
|
1105
|
+
* variant — for EVERY session. An MCP-Apps mount is locator-only on the
|
|
1106
|
+
* render object, but its store row carries the base fields, so the
|
|
1107
|
+
* projection reads them from the row and the wire never fails on that
|
|
1108
|
+
* variant. The locator itself is not on this wire (MCP-Apps resources have
|
|
1109
|
+
* their own paths).
|
|
1110
|
+
*/
|
|
1111
|
+
export declare const gguiGetSessionOutputSchema: z.ZodObject<{
|
|
1112
|
+
variant: z.ZodEnum<{
|
|
1113
|
+
render: "render";
|
|
1114
|
+
mcpApps: "mcpApps";
|
|
1115
|
+
}>;
|
|
1116
|
+
id: z.ZodString;
|
|
1117
|
+
appId: z.ZodString;
|
|
1118
|
+
eventSequence: z.ZodNumber;
|
|
1119
|
+
createdAt: z.ZodNumber;
|
|
1120
|
+
lastActivityAt: z.ZodNumber;
|
|
1121
|
+
expiresAt: z.ZodNumber;
|
|
1122
|
+
contextSnapshot: z.ZodOptional<z.ZodType<import("..").JsonObject, unknown, z.core.$ZodTypeInternals<import("..").JsonObject, unknown>>>;
|
|
1123
|
+
}, z.core.$strip>;
|
|
1124
|
+
/** The three sequential gates of `ggui_protocol_validate_blueprint`. */
|
|
1125
|
+
export declare const blueprintValidationTierSchema: z.ZodEnum<{
|
|
1126
|
+
compile: "compile";
|
|
1127
|
+
selfCheck: "selfCheck";
|
|
1128
|
+
runtime: "runtime";
|
|
1129
|
+
}>;
|
|
1130
|
+
export declare const blueprintValidationIssueSchema: z.ZodObject<{
|
|
1131
|
+
tier: z.ZodEnum<{
|
|
1132
|
+
compile: "compile";
|
|
1133
|
+
selfCheck: "selfCheck";
|
|
1134
|
+
runtime: "runtime";
|
|
1135
|
+
}>;
|
|
1136
|
+
code: z.ZodString;
|
|
1137
|
+
message: z.ZodString;
|
|
1138
|
+
fix: z.ZodOptional<z.ZodString>;
|
|
1139
|
+
}, z.core.$strip>;
|
|
1140
|
+
/** `ggui_protocol_validate_blueprint`'s result envelope: `failedAt` names the tier that stopped, or null. */
|
|
1141
|
+
export declare const blueprintValidationResultSchema: z.ZodObject<{
|
|
1142
|
+
valid: z.ZodBoolean;
|
|
1143
|
+
failedAt: z.ZodNullable<z.ZodEnum<{
|
|
1144
|
+
compile: "compile";
|
|
1145
|
+
selfCheck: "selfCheck";
|
|
1146
|
+
runtime: "runtime";
|
|
1147
|
+
}>>;
|
|
1148
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
1149
|
+
tier: z.ZodEnum<{
|
|
1150
|
+
compile: "compile";
|
|
1151
|
+
selfCheck: "selfCheck";
|
|
1152
|
+
runtime: "runtime";
|
|
1153
|
+
}>;
|
|
1154
|
+
code: z.ZodString;
|
|
1155
|
+
message: z.ZodString;
|
|
1156
|
+
fix: z.ZodOptional<z.ZodString>;
|
|
1157
|
+
}, z.core.$strip>>;
|
|
1158
|
+
warnings: z.ZodArray<z.ZodObject<{
|
|
1159
|
+
tier: z.ZodEnum<{
|
|
1160
|
+
compile: "compile";
|
|
1161
|
+
selfCheck: "selfCheck";
|
|
1162
|
+
runtime: "runtime";
|
|
1163
|
+
}>;
|
|
1164
|
+
code: z.ZodString;
|
|
1165
|
+
message: z.ZodString;
|
|
1166
|
+
fix: z.ZodOptional<z.ZodString>;
|
|
1167
|
+
}, z.core.$strip>>;
|
|
1168
|
+
}, z.core.$strip>;
|
|
1169
|
+
/** A provider row — what `ggui_list_featured_blueprints` returns per blueprint. */
|
|
1170
|
+
export declare const blueprintEntryWireSchema: z.ZodObject<{
|
|
1171
|
+
id: z.ZodString;
|
|
1172
|
+
name: z.ZodString;
|
|
1173
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1174
|
+
source: z.ZodType<import("..").BlueprintSource, unknown, z.core.$ZodTypeInternals<import("..").BlueprintSource, unknown>>;
|
|
1175
|
+
updatedAt: z.ZodString;
|
|
1176
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1177
|
+
}, z.core.$strip>;
|
|
1178
|
+
export declare const gguiListFeaturedBlueprintsOutputSchema: z.ZodObject<{
|
|
1179
|
+
blueprints: z.ZodArray<z.ZodObject<{
|
|
1180
|
+
id: z.ZodString;
|
|
1181
|
+
name: z.ZodString;
|
|
1182
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1183
|
+
source: z.ZodType<import("..").BlueprintSource, unknown, z.core.$ZodTypeInternals<import("..").BlueprintSource, unknown>>;
|
|
1184
|
+
updatedAt: z.ZodString;
|
|
1185
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1186
|
+
}, z.core.$strip>>;
|
|
1187
|
+
total: z.ZodNumber;
|
|
1188
|
+
}, z.core.$strip>;
|
|
1189
|
+
/** One `ggui_search_blueprints` hit — a scored row plus the registry-only keys. */
|
|
1190
|
+
export declare const gguiSearchBlueprintsResultSchema: z.ZodObject<{
|
|
1191
|
+
id: z.ZodString;
|
|
1192
|
+
name: z.ZodString;
|
|
1193
|
+
description: z.ZodString;
|
|
1194
|
+
category: z.ZodString;
|
|
1195
|
+
props: z.ZodArray<z.ZodObject<{
|
|
1196
|
+
name: z.ZodString;
|
|
1197
|
+
type: z.ZodString;
|
|
1198
|
+
required: z.ZodBoolean;
|
|
1199
|
+
description: z.ZodString;
|
|
1200
|
+
}, z.core.$strip>>;
|
|
1201
|
+
callbacks: z.ZodArray<z.ZodString>;
|
|
1202
|
+
featured: z.ZodBoolean;
|
|
1203
|
+
relevance: z.ZodLiteral<"match">;
|
|
1204
|
+
score: z.ZodNumber;
|
|
1205
|
+
origin: z.ZodOptional<z.ZodLiteral<"registry">>;
|
|
1206
|
+
artifactId: z.ZodOptional<z.ZodString>;
|
|
1207
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1208
|
+
mcpTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1209
|
+
server: z.ZodOptional<z.ZodString>;
|
|
1210
|
+
tool: z.ZodString;
|
|
1211
|
+
}, z.core.$strip>>>;
|
|
1212
|
+
scopeVerification: z.ZodOptional<z.ZodEnum<{
|
|
1213
|
+
verified: "verified";
|
|
1214
|
+
unverified: "unverified";
|
|
1215
|
+
}>>;
|
|
1216
|
+
}, z.core.$strip>;
|
|
1217
|
+
export declare const gguiSearchBlueprintsOutputSchema: z.ZodObject<{
|
|
1218
|
+
results: z.ZodArray<z.ZodObject<{
|
|
1219
|
+
id: z.ZodString;
|
|
1220
|
+
name: z.ZodString;
|
|
1221
|
+
description: z.ZodString;
|
|
1222
|
+
category: z.ZodString;
|
|
1223
|
+
props: z.ZodArray<z.ZodObject<{
|
|
1224
|
+
name: z.ZodString;
|
|
1225
|
+
type: z.ZodString;
|
|
1226
|
+
required: z.ZodBoolean;
|
|
1227
|
+
description: z.ZodString;
|
|
1228
|
+
}, z.core.$strip>>;
|
|
1229
|
+
callbacks: z.ZodArray<z.ZodString>;
|
|
1230
|
+
featured: z.ZodBoolean;
|
|
1231
|
+
relevance: z.ZodLiteral<"match">;
|
|
1232
|
+
score: z.ZodNumber;
|
|
1233
|
+
origin: z.ZodOptional<z.ZodLiteral<"registry">>;
|
|
1234
|
+
artifactId: z.ZodOptional<z.ZodString>;
|
|
1235
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1236
|
+
mcpTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1237
|
+
server: z.ZodOptional<z.ZodString>;
|
|
1238
|
+
tool: z.ZodString;
|
|
1239
|
+
}, z.core.$strip>>>;
|
|
1240
|
+
scopeVerification: z.ZodOptional<z.ZodEnum<{
|
|
1241
|
+
verified: "verified";
|
|
1242
|
+
unverified: "unverified";
|
|
1243
|
+
}>>;
|
|
1244
|
+
}, z.core.$strip>>;
|
|
1245
|
+
total: z.ZodNumber;
|
|
1246
|
+
query: z.ZodString;
|
|
1247
|
+
degradedSources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1248
|
+
source: z.ZodLiteral<"registry">;
|
|
1249
|
+
reason: z.ZodEnum<{
|
|
1250
|
+
timeout: "timeout";
|
|
1251
|
+
unreachable: "unreachable";
|
|
1252
|
+
invalid_response: "invalid_response";
|
|
1253
|
+
}>;
|
|
1254
|
+
}, z.core.$strip>>>;
|
|
1255
|
+
}, z.core.$strip>;
|
|
1256
|
+
export {};
|
|
799
1257
|
//# sourceMappingURL=mcp.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcp.d.ts","sourceRoot":"","sources":["../../src/schemas/mcp.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"mcp.d.ts","sourceRoot":"","sources":["../../src/schemas/mcp.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAcxB,eAAO,MAAM,cAAc;;;iBAGzB,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAUnB,CAAC;AAYjB;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB;;;CAgBpB,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;iBAA8B,CAAC;AAE9D;;;GAGG;AACH,eAAO,MAAM,cAAc;;;;;CAKjB,CAAC;A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