@ggui-ai/ui-gen 0.22.0 → 0.23.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/adapters/generation-dispatch.d.ts +1 -1
- package/dist/adapters/generation-dispatch.js +55 -17
- package/dist/adapters/generation-dispatch.js.map +1 -1
- package/dist/adapters/index.js +1 -1
- package/dist/adapters/index.js.map +1 -1
- package/dist/advanced/index.d.ts +3 -3
- package/dist/advanced/index.js +66 -18
- package/dist/advanced/index.js.map +1 -1
- package/dist/blueprint-validator.js +37 -7
- package/dist/blueprint-validator.js.map +1 -1
- package/dist/boilerplate.js +1 -0
- package/dist/boilerplate.js.map +1 -1
- package/dist/check/index.d.ts +1 -1
- package/dist/check/index.js.map +1 -1
- package/dist/{create-ui-generator-BEkzEtNz.d.ts → create-ui-generator-D0kbWwln.d.ts} +1 -1
- package/dist/{dispatch-DJNpQ7DI.d.ts → dispatch-wxaIMwZt.d.ts} +1 -1
- package/dist/evaluation/axis-checks/index.d.ts +3 -3
- package/dist/evaluation/axis-checks/index.js +19 -4
- package/dist/evaluation/axis-checks/index.js.map +1 -1
- package/dist/evaluation/axis-checks/registry.d.ts +1 -1
- package/dist/evaluation/axis-checks/registry.js +19 -4
- package/dist/evaluation/axis-checks/registry.js.map +1 -1
- package/dist/evaluation/index.d.ts +3 -3
- package/dist/evaluation/index.js +21 -6
- package/dist/evaluation/index.js.map +1 -1
- package/dist/harness/check/runtime-render/index.d.ts +4 -4
- package/dist/harness/check/runtime-render/index.js +26 -6
- package/dist/harness/check/runtime-render/index.js.map +1 -1
- package/dist/harness/check/runtime-render/render-check-worker.js.map +1 -1
- package/dist/harness/index.d.ts +1 -1
- package/dist/harness/index.js +3 -2
- package/dist/harness/index.js.map +1 -1
- package/dist/harness/result-types.d.ts +1 -1
- package/dist/harness/runtime.d.ts +1 -1
- package/dist/harness/runtime.js +2 -1
- package/dist/harness/runtime.js.map +1 -1
- package/dist/harness/types-public.d.ts +9 -5
- package/dist/harness/types-public.js +1 -0
- package/dist/harness/types-public.js.map +1 -1
- package/dist/harness/validator-trace-sink.d.ts +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +55 -17
- package/dist/index.js.map +1 -1
- package/dist/patch.d.ts +1 -1
- package/dist/{render-check-C0CqVceF.d.ts → render-check-Blwj8gB6.d.ts} +18 -0
- package/dist/tools/get-primitives-ts.d.ts +1 -1
- package/dist/tools/get-primitives-ts.js +1 -1
- package/dist/tools/get-primitives-ts.js.map +1 -1
- package/dist/{types-public-mM_-1Yk3.d.ts → types-public-Ow-tNtFE.d.ts} +26 -3
- package/dist/validation/index.d.ts +1 -1
- package/dist/validation/index.js +1 -1
- package/dist/validation/index.js.map +1 -1
- package/dist/workflows.d.ts +1 -1
- package/package.json +12 -12
- package/src/advanced/generator.ts +16 -1
- package/src/blueprint-validator.ts +21 -6
- package/src/boilerplate/hard-sections.ts +1 -0
- package/src/coding-agent/tools.ts +6 -1
- package/src/evaluation/axis-checks/checks/state-payload.ts +29 -4
- package/src/evaluation/types-public.ts +26 -2
- package/src/harness/check/runtime-render/adapter.ts +19 -0
- package/src/harness/check/runtime-render/render-check-host.ts +31 -9
- package/src/harness/check/runtime-render/render-check.ts +19 -0
- package/src/harness/coding/run-eval-round.ts +2 -0
- package/src/harness/llm-router.ts +3 -3
- package/src/harness/types-public.ts +9 -5
- package/src/tools/get-primitives-ts.ts +1 -1
- package/src/validation/primitives.ts +1 -1
|
@@ -2,7 +2,7 @@ import * as _ggui_ai_protocol from '@ggui-ai/protocol';
|
|
|
2
2
|
import { JsonValue, DataContract, JsonObject, GadgetDescriptor } from '@ggui-ai/protocol';
|
|
3
3
|
import { G as GenerationProfileInput } from '../styling-profile-CxfvV48g.js';
|
|
4
4
|
import { C as Classification } from '../axes-CzLEMDeB.js';
|
|
5
|
-
import { E as EvalIssue, R as RuntimeProbeStatus, A as AxisCheck, c as EvalTier } from '../types-public-
|
|
5
|
+
import { E as EvalIssue, R as RuntimeProbeStatus, P as ProbeHostLoad, A as AxisCheck, c as EvalTier } from '../types-public-Ow-tNtFE.js';
|
|
6
6
|
import { LLMToolDef } from '../llm.js';
|
|
7
7
|
import { H as HarnessFragment, a as CacheTier } from '../types-BOvHNG7K.js';
|
|
8
8
|
import { ProcessMode, HarnessPolicy } from '../policy.js';
|
|
@@ -230,14 +230,18 @@ interface LLMEvaluator {
|
|
|
230
230
|
interface RuntimeRenderOutcome {
|
|
231
231
|
/**
|
|
232
232
|
* Whether the probe actually executed. `issues` is only probe
|
|
233
|
-
* evidence when `status === "ran"` — an `infra-skipped
|
|
234
|
-
* `not-applicable` outcome carries zero evidence and
|
|
235
|
-
* scored as a pass by any consumer.
|
|
233
|
+
* evidence when `status === "ran"` — an `infra-skipped`,
|
|
234
|
+
* `not-applicable` or `timed-out` outcome carries zero evidence and
|
|
235
|
+
* MUST NOT be scored as a pass by any consumer.
|
|
236
236
|
*/
|
|
237
237
|
readonly status: RuntimeProbeStatus;
|
|
238
238
|
readonly issues: readonly EvalIssue[];
|
|
239
|
-
/** Populated for `infra-skipped` / `not-applicable` — why the probe didn't
|
|
239
|
+
/** Populated for `infra-skipped` / `not-applicable` / `timed-out` — why the probe didn't finish. */
|
|
240
240
|
readonly reason?: string;
|
|
241
|
+
/** `timed-out` only: how long the probe ran before it was stopped. */
|
|
242
|
+
readonly elapsedMs?: number;
|
|
243
|
+
/** Host load around the probe, when it ran isolated (absent for an in-process probe). */
|
|
244
|
+
readonly hostLoad?: ProbeHostLoad;
|
|
241
245
|
}
|
|
242
246
|
interface RuntimeRenderCheck {
|
|
243
247
|
readonly id: string;
|
|
@@ -1669,6 +1669,7 @@ var FRAME_SIZING = `## Sizing \u2014 the frame owns the height and the width
|
|
|
1669
1669
|
The host sizes the iframe; the component never sizes itself to the viewport. NEVER write \`100vh\` / \`100dvh\` / \`100svh\` (or an \`h-screen\` / \`min-h-screen\` class) as a height on any element:
|
|
1670
1670
|
- An inline card takes its natural height. A content-sized frame is measured FROM the content, so a \`100vh\` root can never shrink and grows the frame on every re-measure.
|
|
1671
1671
|
- Under fullscreen the frame already stretches your root to its full height. Centre inside it with flex (\`display: flex; flex-direction: column; justify-content: center\`), never with a viewport height.
|
|
1672
|
+
- Under fullscreen the frame also keeps a 16 px inset between your content and the panel's edge \u2014 leave it. A \`surface="hero"\` band that OPENS the card runs edge to edge on its own. Any other band that is MEANT to run edge to edge (a full-width strip of rows, a closing action bar) takes \`bleed\` (\`<Box surface="sunken" bleed>\u2026</Box>\`); only such a band should, and \`bleed\` is ignored outside fullscreen.
|
|
1672
1673
|
- To fill a parent that has a height use \`height: 100%\` or \`flex: 1\`; a viewport unit is only ever a \`max-height\` cap on a scroll region.
|
|
1673
1674
|
|
|
1674
1675
|
The width works the same way, and the mistake is the mirror image: **your outermost element FILLS the frame; a width cap belongs INSIDE it, on the column that holds text.**
|