@ggui-ai/ui-gen 0.18.0 → 0.19.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 (62) hide show
  1. package/dist/adapters/generation-dispatch.d.ts +1 -1
  2. package/dist/adapters/generation-dispatch.js +197 -86
  3. package/dist/adapters/generation-dispatch.js.map +1 -1
  4. package/dist/adapters/index.js +4 -6
  5. package/dist/adapters/index.js.map +1 -1
  6. package/dist/advanced/index.d.ts +2 -2
  7. package/dist/advanced/index.js +131 -22
  8. package/dist/advanced/index.js.map +1 -1
  9. package/dist/boilerplate.js +2 -2
  10. package/dist/boilerplate.js.map +1 -1
  11. package/dist/check/index.d.ts +1 -1
  12. package/dist/check/index.js.map +1 -1
  13. package/dist/{create-ui-generator-C8Ki9Wz1.d.ts → create-ui-generator-CxPvudbs.d.ts} +1 -1
  14. package/dist/{dispatch-D2htzi9h.d.ts → dispatch-N8wdNOX-.d.ts} +4 -2
  15. package/dist/evaluation/axis-checks/index.d.ts +3 -3
  16. package/dist/evaluation/axis-checks/index.js +97 -3
  17. package/dist/evaluation/axis-checks/index.js.map +1 -1
  18. package/dist/evaluation/axis-checks/registry.d.ts +1 -1
  19. package/dist/evaluation/axis-checks/registry.js +92 -1
  20. package/dist/evaluation/axis-checks/registry.js.map +1 -1
  21. package/dist/evaluation/index.d.ts +3 -3
  22. package/dist/evaluation/index.js +167 -84
  23. package/dist/evaluation/index.js.map +1 -1
  24. package/dist/harness/check/runtime-render/index.d.ts +1 -1
  25. package/dist/harness/index.d.ts +1 -1
  26. package/dist/harness/index.js +64 -61
  27. package/dist/harness/index.js.map +1 -1
  28. package/dist/harness/prompts.js +1 -1
  29. package/dist/harness/prompts.js.map +1 -1
  30. package/dist/harness/result-types.d.ts +1 -1
  31. package/dist/harness/runtime.d.ts +1 -1
  32. package/dist/harness/runtime.js +4 -4
  33. package/dist/harness/runtime.js.map +1 -1
  34. package/dist/harness/types-public.d.ts +8 -1
  35. package/dist/harness/types-public.js +64 -61
  36. package/dist/harness/types-public.js.map +1 -1
  37. package/dist/harness/validator-trace-sink.d.ts +1 -1
  38. package/dist/index.d.ts +2 -2
  39. package/dist/index.js +131 -22
  40. package/dist/index.js.map +1 -1
  41. package/dist/patch.d.ts +1 -1
  42. package/dist/{types-public-DVSssdc-.d.ts → types-public-DKR_h70H.d.ts} +9 -0
  43. package/dist/validation/index.d.ts +1 -1
  44. package/dist/validation/index.js +1 -1
  45. package/dist/validation/index.js.map +1 -1
  46. package/dist/workflows.d.ts +1 -1
  47. package/package.json +12 -12
  48. package/src/adapters/google/sdk.ts +11 -7
  49. package/src/boilerplate/hard-sections.ts +1 -1
  50. package/src/boilerplate/system-prompt.ts +1 -1
  51. package/src/coding-agent/tools.ts +58 -6
  52. package/src/contract-context.ts +1 -1
  53. package/src/create-harness.ts +1 -0
  54. package/src/evaluation/axis-checks/checks/universal.ts +115 -1
  55. package/src/evaluation/axis-checks/dispatch.ts +8 -1
  56. package/src/evaluation/types-public.ts +9 -0
  57. package/src/harness/coding/generate-task-runner.ts +1 -0
  58. package/src/harness/coding/run-coding-turn.ts +14 -0
  59. package/src/harness/types-public.ts +7 -0
  60. package/src/run-check.ts +2 -0
  61. package/src/tools/get-wire.ts +1 -1
  62. package/src/validation/primitives.ts +1 -1
@@ -961,7 +961,7 @@ Rules:
961
961
  1. All request-specific data \u2192 props with defaults. City names, tickers, user names, dates, counts.
962
962
  2. Layout and styling are universal. Colors, spacing, structure \u2014 these are the reusable part.
963
963
  3. Default values come from the current request \u2014 so the component renders correctly standalone.
964
- 4. Copy comes from the props. NEVER invent display text the contract does not carry \u2014 no eyebrow / kicker / overline (a \`<Text caps>\` label), no helper line, no status text, no tagline. A caps label exists only when a prop supplies its text (\`<Text caps>{props.section}</Text>\`); a heading's fallback is the request's own words, never a slogan of your own. Text the agent cannot change is chatter on every render.
964
+ 4. Copy comes from the props. NEVER invent display text the contract does not carry \u2014 no eyebrow / kicker / overline (a \`<Text caps>\` label), no helper line, no status text, no tagline. **Do NOT add a caps label above the heading** \u2014 not \`<Text caps>LET'S BEGIN</Text>\`, not \`WELCOME\`, not a section kicker like \`GETTING STARTED\` or \`OVERVIEW\` \u2014 UNLESS a prop supplies that exact text (\`<Text caps>{props.section}</Text>\`). When the request asks for a heading and a line, render the heading and the line and NOTHING above the heading. A heading's fallback is the request's own words, never a slogan of your own. Text the agent cannot change is chatter on every render, and a caps eyebrow you wrote is the most common form of it.
965
965
  5. Props interface must be typed and exported.`;
966
966
  var TERMINAL_ACTIONS = `## Actions the user means once
967
967
 
@@ -1808,7 +1808,7 @@ Don't render text-only metrics. A weather widget without a sun/cloud, a stock ca
1808
1808
  </Row>
1809
1809
  \`\`\`
1810
1810
 
1811
- Use \`<Icon name="..." />\` for line icons \u2014 ONLY the curated Lucide subset renders (call \`get_available_icons\` for the exact kebab-case names; a name outside it renders an empty box and fails the check); emoji directly for status/weather/mood. Both are valid. For per-stat tiny accents, use a small icon next to the label.
1811
+ Use \`<Icon name="..." />\` for line icons \u2014 ONLY the design system's curated set renders (~200 kebab-case Lucide names); a name OUTSIDE it renders an empty box and fails the check. On a single-pass render you cannot look the set up, so use ONLY a name you are sure is in it. Safe common names: \`check\` \`x\` \`plus\` \`minus\` \`search\` \`settings\` \`user\` \`users\` \`calendar\` \`clock\` \`arrow-right\` \`arrow-left\` \`chevron-right\` \`chevron-down\` \`trash-2\` \`edit\` \`info\` \`alert-circle\` \`bell\` \`home\` \`file\` \`file-text\` \`star\` \`heart\` \`mail\` \`send\` \`download\` \`upload\` \`external-link\` \`filter\` \`check-circle\`. The numbered variants (\`edit-2\`, \`edit-3\`) and synonyms (\`pencil\`, \`pen\`, \`trash\`, \`x-circle\`) are NOT in the set \u2014 use \`edit\` and \`trash-2\`. If the icon you want is not clearly one of these, OMIT it: a card with no icon beats one with an empty box. Emoji render directly for status/weather/mood. For per-stat tiny accents, use a small icon next to the label.
1812
1812
 
1813
1813
  ### Spacing \u2014 generosity beats compactness
1814
1814