Version 1.26.0 of `temporalio` comes with sandbox agent support out of the box. No more need for the temporary vendoring to backport the functionality into the prior 1.25.x version. That was a temporary workaround to ensure the example worked on day 1 since we (Temporal) had to wait on making our release until after this project published 0.14.0 to avoid leaking the feature early.
21 lines
607 B
Makefile
21 lines
607 B
Makefile
# Temporal Sandbox Agent
|
|
|
|
set dotenv-load
|
|
set dotenv-path := ".env"
|
|
|
|
# Ensure extras are installed
|
|
[private]
|
|
sync:
|
|
@uv sync --extra temporal --extra daytona --extra e2b --extra docker 2>&1 | grep -v "^Audited\|^Resolved" || true
|
|
|
|
# Start the local Temporal dev server
|
|
temporal:
|
|
temporal server start-dev
|
|
|
|
# Start the Temporal worker
|
|
worker: sync
|
|
uv run --extra temporal --extra daytona --extra e2b --extra docker python temporal_sandbox_agent.py worker
|
|
|
|
# Start the TUI client
|
|
tui: sync
|
|
uv run --extra temporal --extra daytona --extra e2b --extra docker python temporal_sandbox_agent.py run
|