Skip to content
Open
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
Binary file added demos/01_detailed.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demos/02_short.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demos/03_model.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demos/04_config_local.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demos/05_config_projects.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
60 changes: 60 additions & 0 deletions vhs/01_detailed.tape
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
Output demos/01_detailed.gif

Set Shell "bash"
Set FontSize 20
Set Width 1600
Set Height 600
Set Padding 16
Set Framerate 15
Set TypingSpeed 30ms

Type "kdn info"
Enter
Wait+Screen@5000ms /Runtimes:/
Sleep 5000ms

Type "kdn init --runtime podman --agent claude --name demo"
Enter
Wait+Screen@5000ms /Container created/
Sleep 5000ms

Type "kdn list"
Enter
Wait+Screen@5000ms /demo/
Sleep 5000ms

Type "kdn start demo"
Enter
Wait+Screen@5000ms /Container started/
Sleep 5000ms

Type "clear"
Enter
Sleep 1500ms

Type "kdn terminal demo"
Enter
Sleep 5000ms

Type "/exit"
Enter
Sleep 5000ms

Type "clear"
Enter
Sleep 1500ms

Type "kdn stop demo"
Enter
Wait+Screen@20000ms /Container stopped/
Sleep 5000ms

Type "kdn remove demo"
Enter
Wait+Screen@5000ms /Container removed/
Sleep 5000ms

Type "kdn list"
Enter
Wait+Screen@5000ms /No workspaces registered/
Sleep 5000ms
57 changes: 57 additions & 0 deletions vhs/02_short.tape
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
Output demos/02_short.gif

Set Shell "bash"
Set FontSize 20
Set Width 1600
Set Height 600
Set Padding 16
Set Framerate 15
Set TypingSpeed 30ms

Type "export KDN_DEFAULT_RUNTIME=podman"
Enter
Sleep 2000ms

Type "export KDN_DEFAULT_AGENT=claude"
Enter
Sleep 2000ms

Type "export KDN_INIT_AUTO_START=1"
Enter
Sleep 2000ms

Type "kdn init"
Enter
Wait+Screen@5000ms /Container started/
Sleep 5000ms

Type "kdn list"
Enter
Wait+Screen@5000ms /demo/
Sleep 5000ms

Type "clear"
Enter
Sleep 1500ms

Type "kdn terminal demo"
Enter
Sleep 5000ms

Type "/exit"
Enter
Sleep 2000ms

Type "clear"
Enter
Sleep 1500ms

Type "kdn remove --force demo"
Enter
Wait+Screen@25000ms /Container removed/
Sleep 1000ms

Type "kdn list"
Enter
Wait+Screen@5000ms /No workspaces registered/
Sleep 5000ms
40 changes: 40 additions & 0 deletions vhs/03_model.tape
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
Output demos/03_model.gif

Set Shell "bash"
Set FontSize 20
Set Width 1600
Set Height 600
Set Padding 16
Set Framerate 15
Set TypingSpeed 30ms

Type "export KDN_DEFAULT_RUNTIME=podman"
Enter
Sleep 500ms

Type "export KDN_DEFAULT_AGENT=claude"
Enter
Sleep 500ms

Type "export KDN_INIT_AUTO_START=1"
Enter
Sleep 500ms

Type "kdn init --model opus"
Enter
Wait+Screen@5000ms /Container started/
Sleep 2000ms

Type "kdn terminal demo"
Enter
Sleep 5000ms

Hide

Type "/exit"
Enter
Sleep 2000ms

Type "kdn remove --force demo"
Enter
Wait+Screen@25000ms /Container removed/
66 changes: 66 additions & 0 deletions vhs/04_config_local.tape
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
Output demos/04_config_local.gif

Set Shell "bash"
Set FontSize 20
Set Width 1600
Set Height 600
Set Padding 16
Set Framerate 15
Set TypingSpeed 30ms

Hide

Type "export KDN_DEFAULT_RUNTIME=podman"
Enter
Sleep 100ms

Type "export KDN_DEFAULT_AGENT=claude"
Enter
Sleep 100ms

Type "export KDN_INIT_AUTO_START=1"
Enter
Sleep 100ms


Type `mkdir .kaiden && echo -n '{"environment":[{"name":"KEY1","value":"val1"}],"mounts":[{"host":"$HOME/.gitconfig","target":"$HOME/.gitconfig"}]}' | json_pp > .kaiden/workspace.json && clear`
Enter
Sleep 100ms

Show

Type "cat .kaiden/workspace.json"
Enter
Sleep 5000ms

Type "kdn init"
Enter
Wait+Screen@25000ms /Container started/
Sleep 1000ms

Type "kdn terminal demo bash"
Enter
Sleep 1000ms

Type "echo $KEY1"
Enter
Wait+Screen@1000ms /val1/
Sleep 3000ms

Type "mount | grep .gitconfig"
Enter
Sleep 5000ms

Hide

Type "exit"
Enter
Sleep 1000ms

Type "rm .kaiden/workspace.json && rmdir .kaiden"
Enter
Sleep 100ms

Type "kdn remove --force demo"
Enter
Sleep 25000ms
75 changes: 75 additions & 0 deletions vhs/05_config_projects.tape
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
Output demos/05_config_projects.gif

Set Shell "bash"
Set FontSize 20
Set Width 1600
Set Height 600
Set Padding 16
Set Framerate 15
Set TypingSpeed 30ms

Hide

Type "export KDN_DEFAULT_RUNTIME=podman"
Enter
Sleep 100ms

Type "export KDN_DEFAULT_AGENT=claude"
Enter
Sleep 100ms

Type "export KDN_INIT_AUTO_START=1"
Enter
Sleep 100ms

Type `mv ~/.kdn/config/projects.json ~/.kdn/config/projects.json.orig && echo -n '{"":{"environment":[{"name":"GH_TOKEN","secret":"my-github-token"}],"mounts":[{"host":"$HOME/.gitconfig","target":"$HOME/.gitconfig"}]}}' | json_pp > ~/.kdn/config/projects.json && clear`
Enter
Sleep 100ms

Show

Type "cat ~/.kdn/config/projects.json"
Enter
Sleep 5000ms

Type "echo my-super-github-secret | podman secret create my-github-token -"
Enter
Wait+Screen@5000ms /[0-9]/
Sleep 1000ms

Type "kdn init"
Enter
Wait+Screen@60000ms /Container image built/
Sleep 1000ms

Type "kdn terminal demo bash"
Enter
Sleep 2000ms

Type "echo $GH_TOKEN"
Enter
Wait+Screen@1000ms /my-super-github-secret/
Sleep 2000ms

Type "mount | grep .gitconfig"
Enter
Wait+Screen@1000ms /gitconfig/
Sleep 5000ms

Hide

Type "exit"
Enter
Sleep 1000ms

Type "podman secret rm my-github-token"
Enter
Sleep 100ms

Type "mv ~/.kdn/config/projects.json.orig ~/.kdn/config/projects.json"
Enter
Sleep 100ms

Type "kdn remove --force demo"
Enter
Sleep 25000ms
Loading