create-rezi 0.1.0-alpha.2 → 0.1.0-alpha.21

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.
@@ -0,0 +1,81 @@
1
+ # __APP_NAME__
2
+
3
+ Scaffolded with `npm create rezi` using the **__TEMPLATE_LABEL__** template.
4
+
5
+ ## What This Template Is
6
+
7
+ This is a **visual benchmark scene**, not a dashboard simulator.
8
+
9
+ The UI is split into:
10
+
11
+ - `DIAGNOSTICS / BENCHMARKS`: measured runtime metrics + deterministic sim metrics
12
+ - `DEMO`: three side-by-side visual stress lanes
13
+ - `EVENTS`: rolling benchmark telemetry log
14
+
15
+ ## Demo Lanes
16
+
17
+ 1. `Shapes / Geometry Lane`
18
+ Renders dense geometric fields (rings, waves, grids, glyph shading).
19
+
20
+ 2. `Text / File Activity Lane`
21
+ Renders stream-like command typing, file churn, and smooth throughput bars.
22
+
23
+ 3. `Matrix Lane`
24
+ Renders variable-speed matrix rain with fading tails and spark noise.
25
+
26
+ Lane resolution scales from terminal size so larger terminals render richer detail.
27
+
28
+ ## Metric Integrity
29
+
30
+ `SIM` metrics are deterministic and repeatable:
31
+
32
+ - `sim-draw` ops/s
33
+ - color/text/motion churn scorecard
34
+
35
+ They are derived from phase intensity, lane resolution, current tick, turbo/write-flood state.
36
+
37
+ `REAL` metrics are measured from the running Node/Rezi process:
38
+
39
+ - process CPU (`cpu(proc)`)
40
+ - RSS / heap
41
+ - update/view/render timings
42
+ - event-loop lag
43
+ - backend `event_poll` p95
44
+ - sink write throughput
45
+ - memory ballast pressure
46
+
47
+ No random external input or external host telemetry is used.
48
+
49
+ ## Phase Escalation
50
+
51
+ | Phase | Name | Hz | Duration | Intensity |
52
+ |------|-----------|----|----------|-----------|
53
+ | 1 | Boot | 2 | 10s | 18% |
54
+ | 2 | Build | 4 | 12s | 34% |
55
+ | 3 | Load | 8 | 16s | 56% |
56
+ | 4 | Surge | 9 | 20s | 78% |
57
+ | 5 | Overdrive | 14 | 24s | 100% |
58
+
59
+ ## Controls
60
+
61
+ - `p` or `space`: Pause/resume benchmark
62
+ - `+` / `-`: Manual phase advance/retreat
63
+ - `r`: Reset to phase 1
64
+ - `t`: Cycle theme preset
65
+ - `z`: Toggle turbo mode
66
+ - `w`: Toggle write-flood mode
67
+ - `h`: Open help modal
68
+ - `escape`: Close help modal
69
+ - `q`: Quit
70
+
71
+ ## Quickstart
72
+
73
+ ```bash
74
+ # npm
75
+ npm install
76
+ npm run start
77
+
78
+ # bun
79
+ bun install
80
+ bun run start
81
+ ```
@@ -6,11 +6,12 @@
6
6
  "scripts": {
7
7
  "start": "tsx src/main.ts",
8
8
  "dev": "tsx watch src/main.ts",
9
+ "build": "tsc --pretty false",
9
10
  "typecheck": "tsc --noEmit"
10
11
  },
11
12
  "dependencies": {
12
- "@rezi-ui/core": "^0.1.0-alpha.0",
13
- "@rezi-ui/node": "^0.1.0-alpha.0"
13
+ "@rezi-ui/core": "^0.1.0-alpha.11",
14
+ "@rezi-ui/node": "^0.1.0-alpha.11"
14
15
  },
15
16
  "devDependencies": {
16
17
  "@types/node": "^22.13.1",