@ggui-ai/ui-gen 0.19.0 → 0.20.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.
@@ -4,6 +4,7 @@ import { fileURLToPath, pathToFileURL } from 'url';
4
4
  import { runSandboxed } from '@ggui-ai/sandbox';
5
5
  import { listContractGadgets, HOOK_NAME_RE } from '@ggui-ai/protocol';
6
6
  import ts from 'typescript';
7
+ import { primeInputs } from '@ggui-ai/ui-visual-tester/prime-inputs';
7
8
 
8
9
  var __defProp = Object.defineProperty;
9
10
  var __getOwnPropNames = Object.getOwnPropertyNames;
@@ -666,8 +667,6 @@ function editableSurface(el) {
666
667
  function parentLink(node) {
667
668
  return node;
668
669
  }
669
-
670
- // src/harness/check/runtime-render/render-check.ts
671
670
  async function runRenderCheck(input) {
672
671
  const g = hostGlobals();
673
672
  if ("window" in g && "document" in g) {
@@ -846,6 +845,10 @@ async function runRenderCheckInProcess(input) {
846
845
  let actionsChecked = 0;
847
846
  let streamsChecked = 0;
848
847
  try {
848
+ try {
849
+ primeInputs(renderResult.container);
850
+ } catch {
851
+ }
849
852
  if (input.contract?.actionSpec) {
850
853
  const actionSpec = input.contract.actionSpec;
851
854
  for (const [name, entry] of Object.entries(actionSpec)) {