fix(debugger): extract MarteController into an importable controller package

Client/debugger was entirely package main, which Go forbids importing from
another module ("is a program, not an importable package") -- discovered
while wiring the new debugclient E2E tool against NewHeadlessMarteController.
Move martecontrol.go and its test into a new marte2debugger/controller
subpackage (package controller) and update Client/debugger/main.go to call
controller.NewMarteController/controller.DangerousCommandsEnabled. No
behavioral change to the browser-facing server.
This commit is contained in:
Martino Ferrari
2026-07-01 19:18:08 +02:00
parent 269b2c4d97
commit f0f83110a4
3 changed files with 14 additions and 7 deletions
File diff suppressed because it is too large Load Diff