Skip to content

Commit ba758ef

Browse files
committed
auto: update all repos
1 parent 908b507 commit ba758ef

4 files changed

Lines changed: 7 additions & 19 deletions

File tree

‎mn_cli/libs/blueprint_cmds.py‎

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,9 @@ def _inject_local_blueprint_support_path() -> None:
6868
or os.getenv("OTTERDESK_MIRROR_NEURON_WORKSPACE")
6969
or Path(__file__).resolve().parents[3]
7070
).expanduser()
71-
for candidate in (
72-
repo_root / "mn-skills" / "blueprint_support_skill" / "src",
73-
repo_root / "mn-skills" / "blueprint-support-skill" / "src",
74-
):
75-
if candidate.is_dir() and str(candidate) not in sys.path:
76-
sys.path.insert(0, str(candidate))
77-
return
71+
candidate = repo_root / "mn-skills" / "blueprint_support_skill" / "src"
72+
if candidate.is_dir() and str(candidate) not in sys.path:
73+
sys.path.insert(0, str(candidate))
7874

7975

8076
@blueprint_app.callback()

‎mn_cli/libs/event_relay.py‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ def _ensure_blueprint_support_path() -> None:
1616
or Path(__file__).resolve().parents[3]
1717
).expanduser()
1818
support_src = repo_root / "mn-skills" / "blueprint_support_skill" / "src"
19-
if not support_src.is_dir():
20-
support_src = repo_root / "mn-skills" / "blueprint-support-skill" / "src"
2119
if support_src.is_dir() and str(support_src) not in sys.path:
2220
sys.path.insert(0, str(support_src))
2321

‎mn_cli/libs/run_cmds.py‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2468,8 +2468,6 @@ def _inject_local_blueprint_support_pythonpath(env: dict[str, str]) -> None:
24682468
or Path(__file__).resolve().parents[3]
24692469
).expanduser()
24702470
support_src = repo_root / "mn-skills" / "blueprint_support_skill" / "src"
2471-
if not support_src.is_dir():
2472-
support_src = repo_root / "mn-skills" / "blueprint-support-skill" / "src"
24732471
if not support_src.is_dir():
24742472
return
24752473
current = env.get("PYTHONPATH")

‎mn_cli/libs/run_manifest.py‎

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,9 @@ def _inject_local_blueprint_support_path() -> None:
1212
import sys
1313

1414
repo_root = workspace_root()
15-
for candidate in (
16-
repo_root / "mn-skills" / "blueprint_support_skill" / "src",
17-
repo_root / "mn-skills" / "blueprint-support-skill" / "src",
18-
):
19-
if candidate.is_dir() and str(candidate) not in sys.path:
20-
sys.path.insert(0, str(candidate))
21-
return
15+
candidate = repo_root / "mn-skills" / "blueprint_support_skill" / "src"
16+
if candidate.is_dir() and str(candidate) not in sys.path:
17+
sys.path.insert(0, str(candidate))
2218

2319

2420
def workspace_root() -> Path:
@@ -54,7 +50,7 @@ def runtime_path_environment() -> dict[str, str]:
5450
}
5551
python_paths = [
5652
skills_root / "blueprint_support_skill" / "src",
57-
skills_root / "tax_pdf_ocr_skill" / "src",
53+
skills_root / "llm_ocr_skill" / "src",
5854
skills_root / "pdf_extract_skill" / "src",
5955
]
6056
existing_pythonpath = os.getenv("PYTHONPATH")

0 commit comments

Comments
 (0)