Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/runloop-blueprint-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"system_setup_commands": [
"npm i -g @continuedev/cli@latest",
"sudo apt update",
"sudo apt install -y ripgrep"
"sudo apt install -y ripgrep",
"sudo apt install asciinema"
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot Oct 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add the -y flag to this apt install command so the workflow doesn't block waiting for interactive confirmation.

Prompt for AI agents
Address the following comment on .github/workflows/runloop-blueprint-template.json at line 7:

<comment>Add the -y flag to this apt install command so the workflow doesn&#39;t block waiting for interactive confirmation.</comment>

<file context>
@@ -3,6 +3,7 @@
     &quot;sudo apt update&quot;,
-    &quot;sudo apt install -y ripgrep&quot;
+    &quot;sudo apt install -y ripgrep&quot;,
+    &quot;sudo apt install asciinema&quot;
   ]
 }
</file context>
Suggested change
"sudo apt install asciinema"
"sudo apt install -y asciinema"
Fix with Cubic

]
}
3 changes: 3 additions & 0 deletions extensions/cli/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ chat.log
config.yaml

.continue-debug/

*.expect
!demo.expect
36 changes: 36 additions & 0 deletions extensions/cli/demo.expect
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#!/usr/bin/expect -f
# Automated demo script for Continue TUI

set timeout 30
log_user 1

# Set terminal environment for better TUI rendering
set env(TERM) "xterm-256color"

# Spawn cn directly inside an asciinema recording session
spawn bash -c "asciinema rec --overwrite demo.cast -c 'npm run start'"
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot Oct 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Running npm run start here resolves to the repo-root package.json, which has no start script, so the TUI never starts when this script executes from the root. Please target the CLI package before starting the recording.

Prompt for AI agents
Address the following comment on extensions/cli/demo.expect at line 11:

<comment>Running `npm run start` here resolves to the repo-root package.json, which has no start script, so the TUI never starts when this script executes from the root. Please target the CLI package before starting the recording.</comment>

<file context>
@@ -0,0 +1,36 @@
+set env(TERM) &quot;xterm-256color&quot;
+
+# Spawn cn directly inside an asciinema recording session
+spawn bash -c &quot;asciinema rec --overwrite demo.cast -c &#39;npm run start&#39;&quot;
+
+# Wait for TUI to load
</file context>
Suggested change
spawn bash -c "asciinema rec --overwrite demo.cast -c 'npm run start'"
spawn bash -c "asciinema rec --overwrite demo.cast -c 'npm --prefix extensions/cli run start'"
Fix with Cubic


# Wait for TUI to load
sleep 5

# Demo interaction 1: Show help
send "?"
sleep 3

# Demo interaction 2: Close help
send "?"
sleep 2

# Demo interaction 3: Type a message
send "Hello, this is a demo!"
sleep 1

# Submit the message
send "\r"
sleep 3

# Exit the application with Ctrl+C
send "\x03"
sleep 1

expect eof
Loading