Skip to content
appongaierPublic
forked from NOBA235/GenUI-kit

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Β 
Β 

Repository files navigation

GenUI Studio (GenUI-kit)

License: MIT Verification: fast-check PBT Engine: @json-render v0.22.0 MCP: Model Context Protocol Orchestration: Kiro Spec-Driven TypeScript: Strict Node: >=20.0

A guardrailed Generative UI compiler skeleton (@genui-studio/core, built on @json-render v0.22.0) for visually sketching, runtime-hardening, property-testing, and isolating crash-proof React & 3D interfacesβ€”powering two distinct applications and installable example apps.

Quickstart β€’ Workbench (apps/studio-hub) β€’ SpatialOps (apps/spatial-ops) β€’ Featured Apps β€’ Kiro & PBT


🎯 What GenUI Studio Is (In 20 Seconds)

One core skeleton (@genui-studio/core + CLI + MCP + .kiro/) powering two radically different applications:

  1. Core Skeleton (packages/genui-core, packages/genui-cli, packages/genui-mcp): Hardens @json-render (v0.22.0) with a 3-color DFS DAG cycle sanitizer, RFC 6901 prototype-pollution & XSS URI blocker, numeric/enum prop healing (<DiagnosticHealedBadge />), hook-safe per-element React error boundaries (<SafeGenUIRenderer>), an immutable TimeTravelStateStore, a CI spec validator (genui-studio validate), fast-check PBT suites, and an MCP server.
  2. App 1 β€” GenUI Studio Workbench (apps/studio-hub, :5175): Developer authoring & verification workbench featuring the lazy-loaded Excalidraw Wireframe Architect (sketch boxes, containment frames & state arrows β†’ deterministic Zod-backed Spec + .kiro Mermaid diagram with no LLM call required), scoped /preview/:slug inspection, live JSONL remix streaming, X-Ray PBT/telemetry diagnostics, and runnable project export.
  3. App 2 β€” Aegis SpatialOps (apps/spatial-ops, :5174 / OTLP :4318): Production-style SRE observability command center ingesting local OpenTelemetry OTLP/HTTP JSON (POST /v1/{traces,logs,metrics}) into a synchronized 3D WebGL microservice topology (15 spatial/HUD components) + 2D incident runbook HUD driven by the exact same TimeTravelStateStore.

Note

Local Showcase Environment & Transparency: Run both applications locally with zero API keys (pnpm dev starts Studio Workbench on http://localhost:5175 and SpatialOps on http://localhost:5174 + OTLP :4318). Telemetry defaults to real local OTLP ingestion (--demo activates the synthetic mesh simulator); offline CLI license checks default to "local-format-demo" unless wired to a custom LicenseVerifier.


πŸ“‘ Table of Contents


πŸ’‘ Why GenUI Studio Exists (The Real-World Problem)

Teams shipping AI-generated dashboards, workflows, and agent tools run into three immediate production failure modes:

  1. Streamed Payloads Crash React at Runtime: Fragmented LLM JSONL/SSE streams can introduce cyclic child graphs (A -> B -> A), __proto__ keys, unsafe javascript: URIs, NaN/Infinity values, or out-of-range props that crash the entire React tree.
  2. Schema–Component–Prompt Drift: Zod component contracts, React/Three.js implementations, and LLM system prompts (catalog.prompt()) drift apart silently during fast iteration.
  3. No Shared Design-to-Verify-to-Agent Workflow: Designers sketch layouts manually while engineers and coding agents lack a shared deterministic compiler, CI spec linter, and MCP verification server grounded in the same catalog.

GenUI Studio solves all three as an open-source skeleton layered cleanly on top of @json-render (v0.22.0)β€”keeping @json-render's catalog, spec model, and React/R3F renderers while hardening every boundary around them.


πŸ“Š How GenUI Studio Extends @json-render (v0.22.0)

@json-render/core, @json-render/react, and @json-render/react-three-fiber (v0.22.0) provide the upstream catalog, patch compiler primitives, and renderers. GenUI Studio adds the surrounding visual compiler, runtime defense-in-depth, and automated verification pipeline:

Capability / Failure Mode Raw JSX / HTML Streaming Base @json-render (v0.22.0) GenUI Studio (GenUI-kit) Skeleton
Visual Wireframe Authoring Hand-coded prompts / JSX JSON / code Spec authoring Excalidraw Wireframe Architect (excalidraw-compiler.ts β†’ deterministic Spec + .kiro Mermaid, no LLM call)
Cyclic Graph & Recursion Caps ❌ Infinite loop crash ⚠️ Unbounded unless externally validated βœ… 3-Color DFS DAG Sanitizer + maxDepth/maxElements/maxValueDepth/maxValueNodes
Prototype Pollution & XSS ❌ Critical XSS surface ⚠️ Relies on caller input hygiene βœ… RFC 6901 Pointer Guard (drops __proto__, constructor, prototype; blocks javascript:/vbscript:/data:text/html)
LLM Prop & Enum Drift ❌ Runtime throw / broken UI ❌ Strict validation rejection βœ… Semantic Case/Separator Enum Healing, Clamping & <DiagnosticHealedBadge />
Hook-Safe Fault Isolation ❌ Whole tree crashes ⚠️ Component throw unmounts parent βœ… <SafeElementInvoker> + <GenUIElementErrorBoundary> (preserves hook order across patch transitions)
Non-Finite Floats ❌ NaN/Infinity breaks JSON ⚠️ Passes through raw JS numbers βœ… Sanitized & Normalized (-0 -> 0, NaN/Β±Infinity -> 0 + recorded healing diagnostic)
Chunk-Invariant Streaming ❌ Partial tag syntax errors ⚠️ Manual SSE / stream framing βœ… Bounded Buffer supporting JSONL, SSE data:/[DONE], and whole-Spec { root, elements }
Immutable Time-Travel State ❌ Ad-hoc state mutations ⚠️ Standard createStateStore() βœ… Deep-Frozen TimeTravelStateStore (depth-sorted batches, === structural sharing, undo()/redo())
Catalog Digest, CI & Agents ❌ None βœ… catalog.prompt() foundation βœ… FIPS 180-4 SHA-256 Prompt Hash, genui-studio validate CLI, @genui-studio/mcp, & 4 fast-check PBT Suites

πŸ›οΈ Skeleton Architecture

flowchart TD
    subgraph Core["1. Reusable Core Skeleton (@genui-studio/core + CLI + MCP)"]
        CoreEngine["Guardrailed Compiler Β· 3-Color DFS DAG Sanitizer\nSafeGenUIRenderer Β· TimeTravelStateStore Β· Prop Healing"]
        CLI["genui-studio CLI\n(validate Β· add Β· list Β· export)"]
        MCP["@genui-studio/mcp\n(list_catalog Β· validate_ui_spec Β· fuzz_test_catalog)"]
        PBT["fast-check PBT Suite (INV-PBT-01..04)"]
        CoreEngine --- CLI
        CoreEngine --- MCP
        PBT --> CoreEngine
    end

    subgraph App1["2. App 1 β€” GenUI Studio Workbench (apps/studio-hub Β· :5175)"]
        Wireframe["Excalidraw Wireframe Architect\n(Sketch β†’ Deterministic Spec + Mermaid)"]
        PreviewHUD["Scoped /preview/:slug Workbench\n(Live JSONL Remix Β· X-Ray PBT Β· Export Modal)"]
        Wireframe --> CoreEngine
        CoreEngine --> PreviewHUD
    end

    subgraph App2["3. App 2 β€” Aegis SpatialOps (apps/spatial-ops Β· :5174 / OTLP :4318)"]
        OTLP["Local OTLP Collector (:4318)\nPOST /v1/{traces,logs,metrics}"]
        SpatialUI["Synchronized 3D R3F Topology + 2D Runbook HUD\n(Shared TimeTravelStateStore)"]
        OTLP --> SpatialUI
        CoreEngine --> SpatialUI
    end

    subgraph Featured["4. Featured Applications / Catalog Packs (@genui-studio/templates)"]
        Packs["NINETY9 Monochrome Β· AFTERDARK 3D Β· CMOS Cloud BIOS\n(Loaded, Remixed, Audited & Exported via App 1)"]
    end

    Packs --> PreviewHUD
    Packs --> CLI
Loading

⚑ Zero-Setup Quickstart

All packages and both showcase applications run locally with zero API keys and zero external accounts.

# 1. Clone and install workspace dependencies
git clone https://github.com/NOBA235/GenUI-kit.git
cd GenUI-kit
pnpm install

# 2. Build packages and both apps
pnpm build

# 3. Start both Skeleton Crew apps in parallel
#    -> App 1 (GenUI Workbench): http://localhost:5175
#    -> App 2 (SpatialOps 3D/2D + OTLP :4318): http://localhost:5174
pnpm dev

# Or launch each app individually:
pnpm dev:hub
pnpm dev:spatial

Run Verification & Tooling Checks

# Workspace test suites & typechecking
pnpm test
pnpm typecheck

# Standalone Kiro verification hook scripts
node .kiro/hooks/scripts/catalog-audit.mjs
node .kiro/hooks/scripts/run-pbt-suite.mjs

# Validate a JSON / JSONL / SSE UI stream from CLI or stdin
pnpm genui-studio validate path/to/spec.jsonl --strict --json

# Start the stdio MCP Server
pnpm mcp

🎨 App 1: GenUI Workbench & Wireframe Architect (apps/studio-hub)

apps/studio-hub serves as the visual authoring, inspection, and verification workbench powered by @genui-studio/core:

  • Excalidraw Wireframe Architect (WireframeArchitectCanvas.tsx & excalidraw-compiler.ts):
    • Lazy-loads @excalidraw/excalidraw on demand inside /preview/:slug.
    • Deterministically compiles drawn rectangles, containment frames, text labels, and arrow bindings directly into a Zod-validated @genui-studio/core Spec tree + .kiro/specs/<slug>/design.md Mermaid diagram (zero LLM API call required).
    • Binds arrow labels into reactive state paths ($state / $bindState pointers guarded by isSafeJsonPointer and isDangerousKey).
  • Scoped Multi-Viewport Preview & HUD (StudioHud.tsx, PreviewPage.tsx):
    • Switch between Desktop, Tablet, Mobile, and clean ?fullscreen=true viewports inside CSS-isolated containers (ScopedTemplateContainer).
    • Stream GenUI Live Remix JSONL patches, step through TimeTravelStateStore undo/reset history, inspect live patch/healing telemetry in the X-Ray Drawer, and export runnable packages via the Template Export Dialog (CLI / .zip / MCP snippet).

πŸ“‘ App 2: Aegis SpatialOps Telemetry Workbench (apps/spatial-ops)

apps/spatial-ops proves that @genui-studio/core isn't limited to static pages or 2D formsβ€”it drives a real-time 2D + 3D telemetry workbench on a single shared TimeTravelStateStore:

Web UI:         http://localhost:5174
OTLP Collector: http://localhost:4318/v1/{traces,logs,metrics}

Send Real OpenTelemetry Data in 10 Seconds

Point any Node.js, Next.js, Go, or Python service using OTLP/HTTP JSON at SpatialOps, or use the built-in sample emitter:

export OTEL_EXPORTER_OTLP_ENDPOINT="http://localhost:4318"
export OTEL_EXPORTER_OTLP_PROTOCOL="http/json"

# Emit a faulty multi-service trace + error log + host utilization metric:
pnpm --filter @genui-studio/spatial-ops demo:emit-otlp -- --faulty

# Or boot SpatialOps with the opt-in in-memory mesh simulator:
pnpm --filter @genui-studio/spatial-ops dev:demo
  • 15 Spatial & SRE Catalog Components: AegisWarRoomShell, ClusterTopologyCanvas (R3F WebGL + OrbitControls), ServiceMeshNode3D, TrafficFlowEdge3D, BlastRadiusSphere3D, RegionZoneBoundary3D, IncidentHeroBanner, ServiceDiagnosticPanel, LatencyHistogramCard, ErrorLogTailer, BlastRadiusDependencyTree, RunbookActionDesk, ClusterMetricsGrid, SreAuditTrailBanner, and TraceWaterfallViewer.
  • Dual-Surface State Coherence: Adjusting a circuit breaker or failover action in the 2D HUD updates the 3D WebGL nodes, traffic flow velocities, and blast-radius spheres over @genui-studio/core's TimeTravelStateStore without remounting the canvas.

🧩 Featured Applications Built With GenUI Studio (@genui-studio/templates)

Why they are here (and why they aren't separate products): Every application below renders inside the exact same @genui-studio/core runtime and apps/studio-hub scoped workbench container (/preview/<slug>). They exist as three high-bar domain stress tests proving our guardrailed catalog engine handles strict monochrome editorial workstations, interactive procedural 3D WebGL worlds, and keyboard-driven hardware/infrastructure compilers without modifying core runtime codeβ€”and showcasing how Kiro specs, fileMatch steering laws, Powers/Skills, and fast-check PBT kept each architecture disciplined.


1. ninety9-archive β€” NINETY9: The Monochrome Archive of the 1990s

A 1997 NeXT / Macintosh paper-white workstation publication cataloging 34 historical technology dossiers (ARC-01-*..ARC-12-*) across 12 sectors and 1990–1999 decade milestones, gated behind a green/red phosphor COBOL CRT pre-entry terminal (CobolBootTerminal.tsx), with deterministic search filtering (lib/archive/api.ts), toggleable CRT scanlines (SUBTLE | ACTIVE | OFF), 99.4 MHz random packet transmission, and monochrome technical SVGs generated by scripts/generate-ninety9-assets.ts.

  • Core Stress Test: Proves strict design-system governance under streamed LLM UI remixes (GuardrailedStreamCompiler + Zod verifiedCatalog), isolated inside [data-template-theme="ninety9-archive"].
  • How Kiro Orchestrated It:
    • EARS Spec: .kiro/specs/ninety9-archive/ (requirements.md, design.md, tasks.md) defines every archive route, filter contract, and dossier structure before implementation.
    • Scoped fileMatch Steering Law: .kiro/steering/ninety9-monochrome-rules.md enforces the 5-Tone Monochrome Law (#FFFFFF, #000000, #D9D9D9, #808080, #292929, 0px radii, solid #000000 offset shadowsβ€”zero off-palette bleed outside the COBOL boot gate).
    • Portable Agent Knowledge & PBT: Ships with bundled POWER.md, SKILL.md, steering.md, and automated Vitest + fast-check suites (ninety9.pbt.test.ts, ninety9-archive.m1.test.ts).

2. afterdark-horror β€” AFTERDARK 2.0: Interactive 3D Exploration

An interactive "the website itself is the game" experience that opens in #000000 full-window WebGL darkness ([Alt+G] / ESC surfaces Studio HUD controls), spanning 5 procedural 3D cemetery and crypt zones built with pure Three.js geometry, an AABB + circle sliding collision solver (resolvePlayerMovement()), 100% procedural Web Audio sound synthesis (zero .mp3/.wav network assets), physical Zone E circuit-breaker interaction (LIGHT MODE), and convergence into an illuminated Swiss editorial publication.

  • Core Stress Test: Proves @genui-studio/core catalogs cleanly govern heavy real-time 3D WebGL scenes, zero-allocation frame loops, hardware quality tiers (low | medium | high), and seamless 3D-to-editorial state transitions without breaking UI isolation.
  • How Kiro Orchestrated It:
    • EARS Spec: .kiro/specs/afterdark/ (requirements.md, design.md, tasks.md) specifies zone topology, progression states, and contrast/accessibility limits.
    • Scoped fileMatch Steering Law: .kiro/steering/afterdark-3d-horror.md mandates genuine procedural THREE.InstancedMesh geometry (forbidding 2D cutouts), zero object allocations inside useFrame, explicit GPU .dispose(), webglcontextlost recovery, and WCAG 2.3.1 lightning flash-rate limits (< 3 flashes/sec, prefers-reduced-motion aware).
    • Verification & Tests: Backed by template steering.md, catalog.ts, afterdark-horror.test.ts, and afterdark.pbt.test.ts.

3. cmos-cloud-bios β€” BIOS // NECROMANCER: 1994 CMOS Cloud Compiler

A keyboard-first 1994 Award Modular BIOS setup utility rendered in authentic 16-color VGA chrome (#0000AA royal blue, #FFFF55 highlights, double-line box frames, F1/F5/F6/F7/F10 Award bindings) paired with a synchronized 3D motherboard digital twin and Web Audio FSK modem synthesizerβ€”where tuning CMOS registers (clock multipliers, RAID, IRQ lines, power budgets) updates the 3D PCB in real time and deterministically compiles byte-identical docker-compose.yml, vercel.json, and main.tf artifacts stamped with an FNV-1a CMOS checksum.

  • Core Stress Test: Proves pure, deterministic state-to-code compilation (lib/cmos/compiler.ts) and Zod register validation (CmosConfigSchema), automatically recovering to fail-safe BIOS defaults if a streamed LLM packet attempts invalid register writes.
  • How Kiro Orchestrated It:
    • EARS Spec: .kiro/specs/cmos-cloud-bios/ (requirements.md, design.md, tasks.md) formalizes the register-to-cloud mapping, shared store architecture (lib/cmos/engine.ts), and strict YAML/HCL/shell escaping rules.
    • Scoped fileMatch Steering Law: .kiro/steering/cmos-bios-rules.md locks accessible ARIA menu roles (menu/listbox/alertdialog), VGA palette boundaries, instanced 3D motherboard rules, secret-safe IaC env/Terraform emission, and pure compiler determinism.
    • Portable Agent Knowledge & PBT: Ships with bundled POWER.md, SKILL.md, steering.md, and property tests (cmos-bios.pbt.test.ts).

(In addition, @genui-studio/core/registry provides the spatial-mesh-starter and spatial-ops-3d-pro packs powering 3D telemetry workflows.)


πŸ”§ Core Skeleton Engine (@genui-studio/core)

  • 3-Color DFS DAG Sanitizer (dag-sanitizer.ts): Traverses elements with White/Grey/Black DFS states to sever back-edge cycles (A -> B -> A) and sibling aliasing, enforces depth and element/value recursion budgets (maxDepth, maxElements, maxValueDepth, maxValueNodes), removes dangling child keys, and blocks dangerous prototype keys (__proto__, constructor, prototype) plus unsafe URI schemes (javascript:, vbscript:, data:text/html).
  • Chunk-Invariant Stream Compiler (stream-compiler.ts): Consumes RFC 6902 JSONL patches, SSE data:/[DONE] streams, or full { root, elements, state? } snapshots across arbitrary byte boundaries, enforcing maxBufferBytes, maxLineLength, maxTotalStreamBytes, and maxPatches, then flushing trailing lines on finalize().
  • Deep-Frozen TimeTravelStateStore (time-travel-store.ts): Depth-sorts batch JSON Pointer mutations (/a before /a/b), preserves reference equality (===) on untouched subtrees, recursively freezes snapshots (deepFreezeValue), and maintains bounded undo()/redo() history.
  • Hook-Safe Telemetry Boundary (safe-renderer.tsx): Wraps individual components in <SafeElementInvoker> + <GenUIElementErrorBoundary> so React hook invocation order remains stable across malformed patches, and displays <DiagnosticHealedBadge /> whenever enum/numeric healing intervened.

πŸ› οΈ Spec Validator CLI (genui-studio) & MCP Server (@genui-studio/mcp)

1. CLI Spec Linter & Pack Scaffolding (packages/genui-cli)

# Validate an LLM stream or spec file in CI (exits non-zero on cycles, XSS URIs, __proto__, or rejected lines)
npx genui-studio validate ./specs/dashboard.jsonl --allowed=WorkspaceShell,KpiMetricCard --strict --json

# Pipe an SSE stream through stdin
cat stream.sse | npx genui-studio validate - --max-depth=12

# Inspect and scaffold spatial template packs (validateLicenseToken defaults to offline "local-format-demo")
npx genui-studio list
npx genui-studio add spatial-mesh-starter
npx genui-studio export spatial-mesh-starter

2. Model Context Protocol Server (packages/genui-mcp)

Configured out-of-the-box in .kiro/settings/mcp.json over JSON-RPC stdio (pnpm mcp / node ./packages/genui-mcp/dist/cli.js):

  • Catalog & Spec Verification Tools:
    • list_catalog_components β€” Returns Zod-derived JSON Schemas and fallback props for target components.
    • validate_ui_spec β€” Validates proposed Spec objects, JSONL patch streams, or SSE streams with optional autoFix.
    • fuzz_test_catalog β€” Executes randomized fast-check property verification runs from the agent loop.
  • OTLP Telemetry & Remediation Tools:
    • query_telemetry_metrics, fetch_trace_spans, execute_remediation
    • Reads local snapshots written by the SpatialOps OTLP collector at ~/.spatial-ops/otlp-snapshot.json (configurable via SPATIAL_OPS_OTLP_SNAPSHOT), falling back to DefaultMcpTelemetryProvider when started with --demo or before live traces arrive.

πŸ”¬ Property-Based Testing & Real Bugs Caught

Core runtime invariants are defined in .kiro/specs/core-skeleton/correctness.md and verified continuously via fast-check (@genui-studio/core/testing) plus React DOM (jsdom) tests:

Invariant ID Verified Property
INV-PBT-01 Stream Chunking Invariance: Arbitrary chunk cuts across valid RFC 6902 JSONL / SSE streams (with or without trailing newlines) converge to the identical final Spec.
INV-PBT-02 Adversarial Payload Resilience & DAG Idempotence: Fuzzed __proto__, NaN/Β±Infinity/-0, self-loops (A -> A), mutual cycles (A -> B -> A), oversized lines, and javascript: URIs never throw unhandled exceptions, never pollute Object.prototype, and sanitize idempotently.
INV-PBT-03 State Pointer & Batch Permutation Determinism: Out-of-order parent/child pointer updates (/a and /a/b) converge regardless of object key order, freeze snapshots, preserve === structural sharing, and invert cleanly via undo()/redo().
INV-PBT-04 Catalog-to-Prompt Determinism: Reordering component declarations or Zod property keys produces the exact same FIPS 180-4 SHA-256 catalogHash and prompt output.

Real Bugs Discovered by fast-check Shrinking

Bug ID Shrunk Minimal Counterexample Root Cause Resolution
BUG-PBT-01 fullStream.replace(/\n$/, "") Streams ending without a trailing \n dropped the final element. GuardrailedStreamCompiler.finalize() flushes residual line buffers before DAG sanitization.
BUG-PBT-02 {"count": -0} and NaN -0 and NaN broke canonical serialization equality checks. deepCloneAndSanitizeValue normalizes -0 -> 0, heals NaN/Β±Infinity, and records diagnostics.
BUG-PBT-03 children: ["el-1", "el-1"] Duplicate sibling keys / diamond aliasing caused React key collisions and DFS loops. sanitizeSpecGraph enforces strict tree ownership via mountedNodes + DFS recursion stack.
BUG-PBT-04 store.update({ "/a/b": 99, "/a": { b: 1 } }) Batch updates depended on key insertion order. TimeTravelStateStore.update() sorts JSON Pointers by depth (shallowest first).
BUG-INT-01 Clamped out-of-bounds prop during streaming Subsequent patch ticks cleared healing provenance. Preserved HealedDiagnosticsByElement at <DiagnosticHealedBadge />.

πŸ€– Kiro Spec-Driven Agentic Ecosystem

GenUI Studio is orchestrated end-to-end with Kiro customizations under .kiro/:

  • Steering Rules (.kiro/steering/): Permanent constraints (product.md, tech.md, structure.md, genui-invariants.md, spatial-3d-rules.md) keeping agents synchronized on @json-render v0.22.0 APIs, Skeleton Crew boundaries, and zero-allocation Three.js practices.
  • EARS Formal Specs (.kiro/specs/): Requirements, architecture designs, task lists, and fast-check correctness theorems (core-skeleton/ and app-spatial-warroom/).
  • Executable Agent Hooks (.kiro/hooks/):
    • catalog-schema-sync.json β†’ runs .kiro/hooks/scripts/catalog-audit.mjs to catch Zod/component/prompt drift.
    • spec-invariants-test.json β†’ runs .kiro/hooks/scripts/run-pbt-suite.mjs on core saves.
    • raw-jsx-guard.json β†’ prevents unauthorized raw JSX/HTML generation outside catalogs.
  • Reusable Kiro Power (.kiro/powers/json-render-power/): Packages POWER.md, MCP server config, and transformation playbooks for portable agent reuse.

πŸ“‚ Monorepo Structure

GenUI-kit/
β”œβ”€β”€ LICENSE                                  # MIT License
β”œβ”€β”€ package.json                             # Root scripts (dev, dev:hub, dev:spatial, mcp, genui-studio, test, build)
β”œβ”€β”€ pnpm-workspace.yaml                      # packages/* & apps/*
β”œβ”€β”€ tsconfig.base.json                       # Shared strict TypeScript configuration
β”œβ”€β”€ SUBMISSION.md                            # Kiroween submission notes & demo breakdown
β”œβ”€β”€ README.md                                # Project overview, quickstart & architecture
β”œβ”€β”€ .kiro/                                   # Specs, Steering, Executable Hooks, Power & MCP settings
β”œβ”€β”€ packages/
β”‚   β”œβ”€β”€ genui-core/                          # @genui-studio/core β€” Sanitizer, Stream Compiler, TimeTravelStateStore, SafeGenUIRenderer, Testing
β”‚   β”œβ”€β”€ genui-cli/                           # genui-studio β€” Spec validator CLI & template pack scaffolder
β”‚   β”œβ”€β”€ genui-mcp/                           # @genui-studio/mcp β€” Stdio MCP server (verification + OTLP snapshot tools)
β”‚   └── templates/                           # @genui-studio/templates β€” Scoped renderer & Featured Applications registry
└── apps/
    β”œβ”€β”€ studio-hub/                          # App 1: GenUI Studio Workbench (:5175) β€” Wireframe Architect, Live Remix, X-Ray PBT & Export
    └── spatial-ops/                         # App 2: Aegis SpatialOps (:5174 / OTLP :4318) β€” 3D WebGL + 2D Incident Workbench

πŸ† Documentation & License

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages