File tree Expand file tree Collapse file tree 3 files changed +41
-1
lines changed Expand file tree Collapse file tree 3 files changed +41
-1
lines changed Original file line number Diff line number Diff line change 33 "system_setup_commands" : [
44 " npm i -g @continuedev/cli@latest" ,
55 " sudo apt update" ,
6- " sudo apt install -y ripgrep"
6+ " sudo apt install -y ripgrep" ,
7+ " sudo apt install asciinema"
78 ]
89}
Original file line number Diff line number Diff line change @@ -11,3 +11,6 @@ chat.log
1111config.yaml
1212
1313.continue-debug /
14+
15+ * .expect
16+ ! demo.expect
Original file line number Diff line number Diff line change 1+ #!/usr/bin/expect -f
2+ # Automated demo script for Continue TUI
3+
4+ set timeout 30
5+ log_user 1
6+
7+ # Set terminal environment for better TUI rendering
8+ set env(TERM) "xterm-256color"
9+
10+ # Spawn cn directly inside an asciinema recording session
11+ spawn bash -c "asciinema rec --overwrite demo.cast -c 'npm run start'"
12+
13+ # Wait for TUI to load
14+ sleep 5
15+
16+ # Demo interaction 1: Show help
17+ send "?"
18+ sleep 3
19+
20+ # Demo interaction 2: Close help
21+ send "?"
22+ sleep 2
23+
24+ # Demo interaction 3: Type a message
25+ send "Hello, this is a demo!"
26+ sleep 1
27+
28+ # Submit the message
29+ send "\r"
30+ sleep 3
31+
32+ # Exit the application with Ctrl+C
33+ send "\x03"
34+ sleep 1
35+
36+ expect eof
You can’t perform that action at this time.
0 commit comments