strix/strix/interface
0xallam 430e468781 refactor: collapse strix/sandbox into strix/runtime; in-sandbox Caido bootstrap
The split between ``strix/sandbox/`` and ``strix/runtime/`` was
artificial — both were managing the same backend. ``strix/sandbox/``
also collided uncomfortably with the SDK's ``agents.sandbox.*``
namespace. ``runtime/`` (which matches ``STRIX_RUNTIME_BACKEND``) is
the canonical home for everything Docker / Daytona / K8s lifecycle.

While merging, also rip out two pieces of Docker-specific coupling:

- ``caido_bootstrap`` was POSTing ``loginAsGuest`` from the host via
  ``aiohttp`` to ``http://127.0.0.1:{forwarded_port}``. That assumed
  Docker port forwarding; Daytona / K8s expose ports differently.
  Now we ``session.exec`` curl from *inside* the container — the
  SDK's runtime-agnostic exec primitive — so any backend works as
  long as it implements ``exec``. The host-side Caido ``Client``
  still uses the runtime's exposed-port URL for post-bootstrap calls,
  but that goes through the SDK's own ``resolve_exposed_port``
  abstraction (also runtime-agnostic).

- The bootstrap retry loop now doubles as the readiness probe, so
  ``healthcheck.wait_for_tcp_ready`` (and the entire
  ``healthcheck.py`` module) goes away.

Drive-by simplification: drop ``caido_host_port`` plumbing entirely.
It was only piped through ``make_agent_context`` → child contexts
without ever being read; only ``caido_client`` is consumed.

Drops ``aiohttp`` runtime dep (it stays only as a transitive of the
Caido SDK).
2026-04-25 14:55:44 -07:00
..
assets feat: Expose Caido proxy port to host for human-in-the-loop interaction 2026-02-23 18:37:25 -08:00
tool_components chore: nuke post-migration dead code, deps, and broken Dockerfile fallback 2026-04-25 14:46:33 -07:00
__init__.py feat(interface): Introduce non-interactive CLI mode and restructure UI layer 2025-10-31 21:07:21 +02:00
cli.py refactor: collapse strix/sandbox into strix/runtime; in-sandbox Caido bootstrap 2026-04-25 14:55:44 -07:00
main.py refactor: remove all strix/ model alias machinery 2026-04-25 09:37:14 -07:00
tui.py refactor: collapse strix/sandbox into strix/runtime; in-sandbox Caido bootstrap 2026-04-25 14:55:44 -07:00
utils.py refactor: scrub migration scars, dead code, and unused helpers 2026-04-25 12:05:24 -07:00