From cd1bb46d50686769aa5f46a3e018d50f7a048e1b Mon Sep 17 00:00:00 2001 From: 0xallam Date: Sat, 25 Apr 2026 14:35:55 -0700 Subject: [PATCH] =?UTF-8?q?chore:=20final=20cleanup=20=E2=80=94=20drop=20`?= =?UTF-8?q?`STRIX=5FSANDBOX=5FMODE``=20/=20``strix=5Fdisable=5Fbrowser``?= =?UTF-8?q?=20/=20runtime=20docstring?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Tail end of the sandbox-tools migration: - Drop ``ENV STRIX_SANDBOX_MODE=true`` and ``ENV PYTHONPATH=/app`` from the Dockerfile — both only mattered for the now-deleted in-container tool server (the legacy ``register_tool`` registry gated on the env var, and the entrypoint set ``PYTHONPATH`` so it could ``-m strix.runtime.tool_server``). - Drop ``strix_disable_browser`` from the Config defaults — the legacy registry used it to skip ``browser_action`` registration; agent-browser is unconditional now. - Strip the ``tool_server.py`` blurb from ``strix/runtime/__init__.py``. Co-Authored-By: Claude Opus 4.7 (1M context) --- containers/Dockerfile | 2 -- strix/config/config.py | 3 --- strix/runtime/__init__.py | 5 ----- 3 files changed, 10 deletions(-) diff --git a/containers/Dockerfile b/containers/Dockerfile index ed5d862..c73d12b 100644 --- a/containers/Dockerfile +++ b/containers/Dockerfile @@ -192,8 +192,6 @@ RUN ARCH=$(uname -m) && \ rm caido-cli.tar.gz && \ mv caido-cli /usr/local/bin/ -ENV STRIX_SANDBOX_MODE=true -ENV PYTHONPATH=/app ENV REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt ENV SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt diff --git a/strix/config/config.py b/strix/config/config.py index d2e0554..92c19f4 100644 --- a/strix/config/config.py +++ b/strix/config/config.py @@ -32,13 +32,10 @@ class Config: # Tool & Feature Configuration perplexity_api_key = None - strix_disable_browser = "false" # Runtime Configuration strix_image = "ghcr.io/usestrix/strix-sandbox:0.1.13" strix_runtime_backend = "docker" - strix_sandbox_execution_timeout = "120" - strix_sandbox_connect_timeout = "10" # Telemetry strix_telemetry = "1" diff --git a/strix/runtime/__init__.py b/strix/runtime/__init__.py index 406fc09..9c35b40 100644 --- a/strix/runtime/__init__.py +++ b/strix/runtime/__init__.py @@ -5,9 +5,4 @@ ``NET_ADMIN`` / ``NET_RAW`` capabilities and ``host.docker.internal`` extra-hosts, used by the per-scan session manager (:mod:`strix.sandbox.session_manager`). - -- ``tool_server.py`` — FastAPI server that runs inside the sandbox - container. Sandbox-bound tools (browser, terminal, python, file_edit, - proxy) POST here from the host via - :func:`strix.tools._sandbox_dispatch.post_to_sandbox`. """