diff --git a/.gitignore b/.gitignore index 520cf20..36b55b0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ .env .env.* !.env.example +.task/ .DS_Store __pycache__ .idea diff --git a/src/agent.py b/src/agent.py index 00130c2..c9fb10a 100644 --- a/src/agent.py +++ b/src/agent.py @@ -7,7 +7,6 @@ JobContext, JobProcess, RoomInputOptions, - RoomOutputOptions, RunContext, WorkerOptions, cli, diff --git a/taskfile.yaml b/taskfile.yaml index e8900d9..f1c8c41 100644 --- a/taskfile.yaml +++ b/taskfile.yaml @@ -2,21 +2,22 @@ version: "3" output: interleaved dotenv: [".env.local"] +includes: + index: https://raw.githubusercontent.com/livekit-examples/index/main/taskfile.yaml + tasks: post_create: desc: "Runs after this template is instantiated as a Sandbox or Bootstrap" cmds: - - echo -e "To try the new agent directly in your terminal:\r\n" - - echo -e "\tcd {{.ROOT_DIR}}\r" - - echo -e "\tuv sync\r" - - echo -e "\tuv run src/agent.py download-files\r" - - echo -e "\tuv run src/agent.py console\r\n" + - task: index:help_setup_python_uv + - task: index:help_deploy_agent install: desc: "Bootstrap application for local development" cmds: - - "uv sync" + - task: index:install_python_uv + dev: interactive: true cmds: - - "uv run src/agent.py dev" \ No newline at end of file + - task: index:dev_python_uv