@ggui-ai/ui-gen 0.23.0 → 0.24.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/adapter-Du7P_5Fx.d.ts +201 -0
- package/dist/adapters/generation-dispatch.d.ts +33 -12
- package/dist/adapters/generation-dispatch.js +510 -128
- package/dist/adapters/generation-dispatch.js.map +1 -1
- package/dist/adapters/index.js.map +1 -1
- package/dist/advanced/index.d.ts +5 -3
- package/dist/advanced/index.js +551 -142
- package/dist/advanced/index.js.map +1 -1
- package/dist/blueprint-validator.js +153 -59
- package/dist/blueprint-validator.js.map +1 -1
- package/dist/boilerplate.js.map +1 -1
- package/dist/check/index.d.ts +2 -1
- package/dist/check/index.js +47 -1
- package/dist/check/index.js.map +1 -1
- package/dist/{create-ui-generator-D0kbWwln.d.ts → create-ui-generator-GIhzx08x.d.ts} +34 -10
- package/dist/{dispatch-wxaIMwZt.d.ts → dispatch-BnAH56p4.d.ts} +1 -1
- package/dist/evaluation/axis-checks/index.d.ts +4 -3
- package/dist/evaluation/axis-checks/index.js.map +1 -1
- package/dist/evaluation/axis-checks/registry.d.ts +2 -1
- package/dist/evaluation/index.d.ts +4 -3
- package/dist/evaluation/index.js.map +1 -1
- package/dist/harness/check/runtime-render/index.d.ts +29 -10
- package/dist/harness/check/runtime-render/index.js +203 -60
- package/dist/harness/check/runtime-render/index.js.map +1 -1
- package/dist/harness/check/runtime-render/render-check-worker.d.ts +8 -1
- package/dist/harness/check/runtime-render/render-check-worker.js +72 -32
- package/dist/harness/check/runtime-render/render-check-worker.js.map +1 -1
- package/dist/harness/index.d.ts +2 -1
- package/dist/harness/index.js.map +1 -1
- package/dist/harness/prompts.js.map +1 -1
- package/dist/harness/result-types.d.ts +2 -1
- package/dist/harness/runtime.d.ts +2 -1
- package/dist/harness/runtime.js.map +1 -1
- package/dist/harness/types-public.d.ts +11 -2
- package/dist/harness/types-public.js.map +1 -1
- package/dist/harness/validator-trace-sink.d.ts +2 -1
- package/dist/index.d.ts +38 -3
- package/dist/index.js +553 -143
- package/dist/index.js.map +1 -1
- package/dist/patch.d.ts +2 -1
- package/dist/policy.d.ts +7 -4
- package/dist/policy.js.map +1 -1
- package/dist/tools/render-check-worker.d.ts +7 -1
- package/dist/tools/render-check-worker.js +55 -23
- package/dist/tools/render-check-worker.js.map +1 -1
- package/dist/{types-public-Ow-tNtFE.d.ts → types-public-Bk6d1WLN.d.ts} +77 -11
- package/dist/workflows.d.ts +2 -1
- package/package.json +12 -12
- package/src/adapters/generation-dispatch.ts +137 -96
- package/src/check/run-tier0.ts +80 -1
- package/src/create-ui-generator.ts +185 -95
- package/src/evaluation/types-public.ts +73 -11
- package/src/harness/check/runtime-render/adapter.ts +221 -75
- package/src/harness/check/runtime-render/index.ts +75 -2
- package/src/harness/check/runtime-render/render-check-host.ts +82 -19
- package/src/harness/check/runtime-render/render-check-worker.ts +83 -29
- package/src/harness/check/runtime-render/render-check.ts +154 -117
- package/src/harness/coding/generate-task-runner.ts +57 -4
- package/src/harness/coding/init-session.ts +13 -0
- package/src/harness/coding/run-eval-round.ts +238 -15
- package/src/harness/policy.ts +11 -0
- package/src/harness/primitive-slice.ts +104 -0
- package/src/harness/types-public.ts +9 -1
- package/src/index.ts +4 -0
- package/src/policy.ts +7 -4
- package/src/tools/render-check-worker.ts +74 -23
- package/dist/render-check-Blwj8gB6.d.ts +0 -105
|
@@ -2,11 +2,12 @@ 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, P as ProbeHostLoad, 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-Bk6d1WLN.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';
|
|
9
9
|
import { D as DesignMode, C as CanvasClass } from '../design-mode-DLufhrNp.js';
|
|
10
|
+
import '@ggui-ai/mcp-server-core';
|
|
10
11
|
|
|
11
12
|
/** Called by the executor to run a single task. One of these per task.id. */
|
|
12
13
|
type TaskRunner = (task: Task, ctx: TaskContext) => Promise<JsonValue>;
|
|
@@ -238,10 +239,18 @@ interface RuntimeRenderOutcome {
|
|
|
238
239
|
readonly issues: readonly EvalIssue[];
|
|
239
240
|
/** Populated for `infra-skipped` / `not-applicable` / `timed-out` — why the probe didn't finish. */
|
|
240
241
|
readonly reason?: string;
|
|
241
|
-
/**
|
|
242
|
+
/**
|
|
243
|
+
* How long the check took, wall-clock, measured by the adapter around the
|
|
244
|
+
* check — on every status that reached it (`ran`, `timed-out`,
|
|
245
|
+
* `infra-skipped`). Absent on `not-applicable`: nothing ran.
|
|
246
|
+
*/
|
|
242
247
|
readonly elapsedMs?: number;
|
|
248
|
+
/** `ran` only: the check's own render time, inside `elapsedMs`. */
|
|
249
|
+
readonly renderMs?: number;
|
|
243
250
|
/** Host load around the probe, when it ran isolated (absent for an in-process probe). */
|
|
244
251
|
readonly hostLoad?: ProbeHostLoad;
|
|
252
|
+
/** Time the check waited for a probe slot before it started, ms; present only when > 0 (ggui#1380 C2b). */
|
|
253
|
+
readonly queuedMs?: number;
|
|
245
254
|
}
|
|
246
255
|
interface RuntimeRenderCheck {
|
|
247
256
|
readonly id: string;
|