fix: restore doctor sandbox warnings

This commit is contained in:
Peter Steinberger
2026-01-08 01:32:04 +01:00
parent 05b8679c8b
commit 3f1807b6cb
4 changed files with 53 additions and 5 deletions

View File

@@ -22,7 +22,10 @@ import {
normalizeLegacyConfigValues,
} from "./doctor-legacy-config.js";
import { createDoctorPrompter, type DoctorOptions } from "./doctor-prompter.js";
import { maybeRepairSandboxImages } from "./doctor-sandbox.js";
import {
maybeRepairSandboxImages,
noteSandboxScopeWarnings,
} from "./doctor-sandbox.js";
import { noteSecurityWarnings } from "./doctor-security.js";
import {
noteStateIntegrity,
@@ -124,6 +127,7 @@ export async function doctorCommand(
await noteStateIntegrity(cfg, prompter);
cfg = await maybeRepairSandboxImages(cfg, runtime, prompter);
noteSandboxScopeWarnings(cfg);
await maybeMigrateLegacyGatewayService(
cfg,