mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-12-05 09:58:45 +00:00
Move tunnel, browser, document, speech and integration runtimes into plugin-owned sandboxes with lazy dependencies and instance-scoped lifecycle management. Reuse Tuxee display assets and the sandbox image's Python/Node runtimes, enable automatic Desktop login, and show elapsed time for each browser launch. Slim the outer image, use offline ONNX embeddings, and calculate sandbox storage only on demand. Include regression coverage and updated runtime documentation. Exclude local handoff notes and temporary verification artifacts from publication.
12 lines
419 B
Bash
12 lines
419 B
Bash
#!/bin/sh
|
|
set -eu
|
|
. /worker/python.sh
|
|
export DEBIAN_FRONTEND=noninteractive
|
|
apt-get update
|
|
apt-get install -y --no-install-recommends libmagic1 libgl1 libglib2.0-0
|
|
uv pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
|
|
uv pip install -c /worker/constraints.txt -r /plugin/sandbox/requirements.txt
|
|
mkdir -p /app/plugins
|
|
ln -sfn /plugin /app/plugins/_document_query
|
|
rm -rf /var/lib/apt/lists/*
|