Skip to content

Commit f6e4df4

Browse files
committed
feat: add animated terminal demo (demo.svg)
- demo.cast: hand-crafted asciinema v2 cast with exact output sequence - demo.svg: animated SVG generated via svg-term-cli (macOS terminal style) Shows: git clone → npm install → npm run example → enforcement halt - README: add Example Run section with embedded SVG animation
1 parent a7166f9 commit f6e4df4

File tree

3 files changed

+155
-0
lines changed

3 files changed

+155
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ Chain integrity : ✅ verified
3939

4040
---
4141

42+
## Example Run
43+
44+
![AuthorityLayer demo](./demo.svg)
45+
46+
---
47+
4248
## Why AuthorityLayer Exists
4349

4450
Autonomous agents introduce a new risk surface:

demo.cast

Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
{"version": 2, "width": 82, "height": 28, "timestamp": 1741049884, "title": "AuthorityLayer demo", "env": {"SHELL": "/bin/bash", "TERM": "xterm-256color"}}
2+
[0.5, "o", "\u001b[1;32m$\u001b[0m "]
3+
[1.0, "o", "g"]
4+
[1.08, "o", "i"]
5+
[1.16, "o", "t"]
6+
[1.22, "o", " "]
7+
[1.28, "o", "c"]
8+
[1.35, "o", "l"]
9+
[1.42, "o", "o"]
10+
[1.49, "o", "n"]
11+
[1.56, "o", "e"]
12+
[1.62, "o", " "]
13+
[1.68, "o", "h"]
14+
[1.75, "o", "t"]
15+
[1.82, "o", "t"]
16+
[1.89, "o", "p"]
17+
[1.95, "o", "s"]
18+
[2.01, "o", ":"]
19+
[2.07, "o", "/"]
20+
[2.13, "o", "/"]
21+
[2.19, "o", "g"]
22+
[2.25, "o", "i"]
23+
[2.31, "o", "t"]
24+
[2.37, "o", "h"]
25+
[2.43, "o", "u"]
26+
[2.49, "o", "b"]
27+
[2.55, "o", "."]
28+
[2.61, "o", "c"]
29+
[2.67, "o", "o"]
30+
[2.73, "o", "m"]
31+
[2.79, "o", "/"]
32+
[2.85, "o", "0"]
33+
[2.91, "o", "3"]
34+
[2.97, "o", "2"]
35+
[3.03, "o", "3"]
36+
[3.09, "o", "8"]
37+
[3.15, "o", "3"]
38+
[3.21, "o", "j"]
39+
[3.27, "o", "u"]
40+
[3.33, "o", "s"]
41+
[3.39, "o", "t"]
42+
[3.45, "o", "i"]
43+
[3.51, "o", "n"]
44+
[3.57, "o", "/"]
45+
[3.63, "o", "a"]
46+
[3.69, "o", "u"]
47+
[3.75, "o", "t"]
48+
[3.81, "o", "h"]
49+
[3.87, "o", "o"]
50+
[3.93, "o", "r"]
51+
[3.99, "o", "i"]
52+
[4.05, "o", "t"]
53+
[4.11, "o", "y"]
54+
[4.17, "o", "-"]
55+
[4.23, "o", "l"]
56+
[4.29, "o", "a"]
57+
[4.35, "o", "y"]
58+
[4.41, "o", "e"]
59+
[4.47, "o", "r"]
60+
[4.7, "o", "\r\n"]
61+
[4.8, "o", "Cloning into 'authority-layer'...\r\n"]
62+
[5.2, "o", "remote: Enumerating objects: 32, done.\r\n"]
63+
[5.5, "o", "remote: Counting objects: 100% (32/32), done.\r\n"]
64+
[5.8, "o", "remote: Compressing objects: 100% (22/22), done.\r\n"]
65+
[6.1, "o", "Receiving objects: 100% (32/32), 14.2 KiB | 4.7 MiB/s, done.\r\n"]
66+
[6.4, "o", "\u001b[1;32m$\u001b[0m "]
67+
[6.9, "o", "c"]
68+
[6.97, "o", "d"]
69+
[7.04, "o", " "]
70+
[7.10, "o", "a"]
71+
[7.17, "o", "u"]
72+
[7.24, "o", "t"]
73+
[7.31, "o", "h"]
74+
[7.38, "o", "o"]
75+
[7.45, "o", "r"]
76+
[7.52, "o", "i"]
77+
[7.59, "o", "t"]
78+
[7.66, "o", "y"]
79+
[7.73, "o", "-"]
80+
[7.80, "o", "l"]
81+
[7.87, "o", "a"]
82+
[7.94, "o", "y"]
83+
[8.01, "o", "e"]
84+
[8.08, "o", "r"]
85+
[8.3, "o", "\r\n"]
86+
[8.4, "o", "\u001b[1;32m$\u001b[0m "]
87+
[8.9, "o", "n"]
88+
[8.97, "o", "p"]
89+
[9.04, "o", "m"]
90+
[9.11, "o", " "]
91+
[9.18, "o", "i"]
92+
[9.25, "o", "n"]
93+
[9.32, "o", "s"]
94+
[9.39, "o", "t"]
95+
[9.46, "o", "a"]
96+
[9.53, "o", "l"]
97+
[9.60, "o", "l"]
98+
[9.8, "o", "\r\n"]
99+
[10.0, "o", "\r\nadded 4 packages in 3s\r\n"]
100+
[10.5, "o", "\u001b[1;32m$\u001b[0m "]
101+
[11.0, "o", "n"]
102+
[11.07, "o", "p"]
103+
[11.14, "o", "m"]
104+
[11.21, "o", " "]
105+
[11.28, "o", "r"]
106+
[11.35, "o", "u"]
107+
[11.42, "o", "n"]
108+
[11.49, "o", " "]
109+
[11.56, "o", "e"]
110+
[11.63, "o", "x"]
111+
[11.70, "o", "a"]
112+
[11.77, "o", "m"]
113+
[11.84, "o", "p"]
114+
[11.91, "o", "l"]
115+
[11.98, "o", "e"]
116+
[12.2, "o", "\r\n"]
117+
[12.5, "o", "\r\n> example\r\n> npm run -w @authority-layer/core build && node examples/run.js\r\n"]
118+
[12.8, "o", "\r\n> @authority-layer/core@0.1.0 build\r\n> tsc -p tsconfig.json\r\n"]
119+
[13.4, "o", "\r\n\u001b[1m╔══════════════════════════════════════╗\u001b[0m\r\n"]
120+
[13.5, "o", "\u001b[1m║ AuthorityLayer — live demo ║\u001b[0m\r\n"]
121+
[13.6, "o", "\u001b[1m╚══════════════════════════════════════╝\u001b[0m\r\n"]
122+
[13.7, "o", "\r\nConfig: $0.05 budget cap, 10 calls/run max\r\n"]
123+
[14.0, "o", "\r\n [call 1] Response to: \"Question 1\" spend: $0.01\r\n"]
124+
[14.4, "o", " [call 2] Response to: \"Question 2\" spend: $0.01\r\n"]
125+
[14.8, "o", " [call 3] Response to: \"Question 3\" spend: $0.01\r\n"]
126+
[15.2, "o", " [call 4] Response to: \"Question 4\" spend: $0.01\r\n"]
127+
[15.6, "o", " [call 5] Response to: \"Question 5\" spend: $0.01\r\n"]
128+
[16.0, "o", "\r\n [call 6] Reporting $0.02 spend \u2014 this will exceed the cap...\r\n"]
129+
[16.6, "o", "\r\n\u001b[1;31m\u26d4 Execution halted\u001b[0m\r\n"]
130+
[17.0, "o", "\r\n\u001b[1;33m{\u001b[0m\r\n"]
131+
[17.1, "o", "\u001b[1;33m \"status\": \"halted\",\u001b[0m\r\n"]
132+
[17.2, "o", "\u001b[1;33m \"reason\": \"budget_exceeded\",\u001b[0m\r\n"]
133+
[17.3, "o", "\u001b[1;33m \"limit\": 0.05,\u001b[0m\r\n"]
134+
[17.4, "o", "\u001b[1;33m \"spent\": 0.07,\u001b[0m\r\n"]
135+
[17.5, "o", "\u001b[1;33m \"event_id\": \"evt_53ab5487b37cd9c0\"\u001b[0m\r\n"]
136+
[17.6, "o", "\u001b[1;33m}\u001b[0m\r\n"]
137+
[18.0, "o", "\r\n\u2500\u2500 Event chain \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\r\n"]
138+
[18.2, "o", " run.start evt_7aa16f7c7f66ff88\r\n"]
139+
[18.35, "o", " tool.call evt_43238d9e68997b04\r\n"]
140+
[18.5, "o", " tool.call evt_861b31c10f830e31\r\n"]
141+
[18.65, "o", " tool.call evt_20b8edc908753ddd\r\n"]
142+
[18.8, "o", " tool.call evt_8785446c4b3dd394\r\n"]
143+
[18.95, "o", " tool.call evt_e0685f7884bfca27\r\n"]
144+
[19.1, "o", " enforcement.halt evt_53ab5487b37cd9c0\r\n"]
145+
[19.5, "o", "\r\nChain integrity : \u001b[1;32m\u2705 verified\u001b[0m\r\n"]
146+
[19.8, "o", "Total events : 7\r\n"]
147+
[20.2, "o", "\u001b[1;32m$\u001b[0m "]
148+
[22.0, "o", ""]

demo.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)