From 967aec56d258b092f1c5adf29d07aad2ed7cf31c Mon Sep 17 00:00:00 2001 From: anti Date: Sun, 10 May 2026 05:17:32 -0400 Subject: [PATCH] fix(bundle): prune node_modules during agent tarball walk --- decnet/swarm/bundle_builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decnet/swarm/bundle_builder.py b/decnet/swarm/bundle_builder.py index bda76d4c..d5fb4c86 100644 --- a/decnet/swarm/bundle_builder.py +++ b/decnet/swarm/bundle_builder.py @@ -79,7 +79,7 @@ def _iter_included(root: pathlib.Path) -> list[tuple[pathlib.Path, str]]: dirnames[:] = [ d for d in dirnames - if d != "__pycache__" + if d not in ("__pycache__", "node_modules") and f"{rel_dir}/{d}" not in _EXCLUDED_DECNET_SUBTREES ]