refactor(exec): share the sandbox launch path with settings checks (#6645)

* refactor(exec): share the sandbox launch path with settings checks

* refactor(sandbox): remove duplicate platform and path bookkeeping
This commit is contained in:
Xubin Ren authored and GitHub committed 2026-11-13 15:29:01 +08:00
1 parent 0f5e56edd4
commit 90d69e7a11
14 files changed
+236 -275

No files matched your search

+6
View File
@@ -92,6 +92,12 @@ IMPORT_RULES = (
("nanobot.execution.http",),
(*_ADAPTERS, "nanobot.agent", "nanobot.config", "nanobot.providers", "nanobot.session"),
),
ImportRule(
"sandbox-execution",
("nanobot.execution.sandbox",),
(*_ADAPTERS, "nanobot.agent", "nanobot.config", "nanobot.session"),
allowed_targets=("nanobot.config.paths.get_media_dir",),
),
ImportRule(
"channel-routing-contracts",
("nanobot.channels.notification_routes",),