Skip to content
Merged
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
10 changes: 9 additions & 1 deletion taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ tasks:
- echo 'To run the new agent locally:'
- echo ''
- echo '{{ indent .INDENT "cd" }} {{ .REL_PATH }}'
- echo '{{ indent .INDENT "pnpm install" }}'
- task: help_install_hint_if_needed
- echo '{{ indent .INDENT "pnpm dev" }}'
- echo ''
- task: help_open_web_console
Expand All @@ -25,6 +25,14 @@ tasks:
- task: set_agent_name_if_present
- task: help_open_sandbox_if_present

help_install_hint_if_needed:
desc: "Print the local install hint, unless the CLI already installed dependencies"
status:
# Skip when `lk agent init --install` already ran the install task.
- test -n "$LIVEKIT_DEPS_INSTALLED"
cmds:
- echo '{{ indent .INDENT "pnpm install" }}'

set_agent_name_if_present:
desc: "When LIVEKIT_AGENT_NAME is set, configure the agent to use it on init"
status:
Expand Down
Loading