import { r as STATE_DIR } from "./paths-CU1mLMSe.js";
import { t as CHANNEL_IDS } from "./ids-COH3O_8T.js";
import path from "node:path";
//#region src/agents/sandbox/constants.ts
const DEFAULT_SANDBOX_WORKSPACE_ROOT = path.join(STATE_DIR, "sandboxes");
const DEFAULT_SANDBOX_IMAGE = "nodmix-sandbox:bookworm-slim";
const DEFAULT_SANDBOX_CONTAINER_PREFIX = "nodmix-sbx-";
const DEFAULT_SANDBOX_WORKDIR = "/workspace";
const DEFAULT_SANDBOX_IDLE_HOURS = 24;
const DEFAULT_SANDBOX_MAX_AGE_DAYS = 7;
const DEFAULT_TOOL_ALLOW = [
	"exec",
	"process",
	"read",
	"write",
	"edit",
	"apply_patch",
	"image",
	"sessions_list",
	"sessions_history",
	"sessions_send",
	"sessions_spawn",
	"sessions_yield",
	"subagents",
	"session_status"
];
const DEFAULT_TOOL_DENY = [
	"browser",
	"canvas",
	"nodes",
	"cron",
	"gateway",
	...CHANNEL_IDS
];
const DEFAULT_SANDBOX_BROWSER_IMAGE = "nodmix-sandbox-browser:bookworm-slim";
const DEFAULT_SANDBOX_COMMON_IMAGE = "nodmix-sandbox-common:bookworm-slim";
const SANDBOX_BROWSER_SECURITY_HASH_EPOCH = "2026-05-12-cdp-relay-auth";
const SANDBOX_BROWSER_IMAGE_CONTRACT_EPOCH = "2026-05-12-cdp-relay-auth";
const DEFAULT_SANDBOX_BROWSER_PREFIX = "nodmix-sbx-browser-";
const DEFAULT_SANDBOX_BROWSER_NETWORK = "nodmix-sandbox-browser";
const DEFAULT_SANDBOX_BROWSER_CDP_PORT = 9222;
const DEFAULT_SANDBOX_BROWSER_VNC_PORT = 5900;
const DEFAULT_SANDBOX_BROWSER_NOVNC_PORT = 6080;
const DEFAULT_SANDBOX_BROWSER_AUTOSTART_TIMEOUT_MS = 12e3;
const SANDBOX_AGENT_WORKSPACE_MOUNT = "/agent";
const SANDBOX_STATE_DIR = path.join(STATE_DIR, "sandbox");
const SANDBOX_REGISTRY_PATH = path.join(SANDBOX_STATE_DIR, "containers.json");
const SANDBOX_BROWSER_REGISTRY_PATH = path.join(SANDBOX_STATE_DIR, "browsers.json");
const SANDBOX_CONTAINERS_DIR = path.join(SANDBOX_STATE_DIR, "containers");
const SANDBOX_BROWSERS_DIR = path.join(SANDBOX_STATE_DIR, "browsers");
//#endregion
export { SANDBOX_REGISTRY_PATH as C, SANDBOX_CONTAINERS_DIR as S, SANDBOX_AGENT_WORKSPACE_MOUNT as _, DEFAULT_SANDBOX_BROWSER_NOVNC_PORT as a, SANDBOX_BROWSER_REGISTRY_PATH as b, DEFAULT_SANDBOX_COMMON_IMAGE as c, DEFAULT_SANDBOX_IMAGE as d, DEFAULT_SANDBOX_MAX_AGE_DAYS as f, DEFAULT_TOOL_DENY as g, DEFAULT_TOOL_ALLOW as h, DEFAULT_SANDBOX_BROWSER_NETWORK as i, DEFAULT_SANDBOX_CONTAINER_PREFIX as l, DEFAULT_SANDBOX_WORKSPACE_ROOT as m, DEFAULT_SANDBOX_BROWSER_CDP_PORT as n, DEFAULT_SANDBOX_BROWSER_PREFIX as o, DEFAULT_SANDBOX_WORKDIR as p, DEFAULT_SANDBOX_BROWSER_IMAGE as r, DEFAULT_SANDBOX_BROWSER_VNC_PORT as s, DEFAULT_SANDBOX_BROWSER_AUTOSTART_TIMEOUT_MS as t, DEFAULT_SANDBOX_IDLE_HOURS as u, SANDBOX_BROWSERS_DIR as v, SANDBOX_STATE_DIR as w, SANDBOX_BROWSER_SECURITY_HASH_EPOCH as x, SANDBOX_BROWSER_IMAGE_CONTRACT_EPOCH as y };
