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:
1 parent
0f5e56edd4
commit
90d69e7a11
14 files changed
+236
-275
No files matched your search
@@ -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",),
|
||||
|
||||
Reference in new issue
Block a user