From 50ecdcf56bc8a050b1419bfe5ed31c802023bf09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=A7=CE=B3=CF=86=CF=84=20Kompanion?= Date: Sun, 19 Oct 2025 08:34:19 +0200 Subject: [PATCH] cli: surface ingest/run_ingest.py as src/cli/embed_pipeline.py to make the Python embedder visible alongside the CLI --- src/cli/embed_pipeline.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/cli/embed_pipeline.py diff --git a/src/cli/embed_pipeline.py b/src/cli/embed_pipeline.py new file mode 100644 index 0000000..dc9951b --- /dev/null +++ b/src/cli/embed_pipeline.py @@ -0,0 +1,20 @@ +#!/usr/bin/env python3 +""" +Moved from ingest/run_ingest.py for transparency. See ingest/pipeline.qt-kde-bge-m3.yaml +for configuration fields. This script remains a reference pipeline and is not +used by the C++ build. +""" +# Original content is available under ingest/run_ingest.py. Keeping this as a thin +# forwarder/import to avoid duplication while surfacing the script under src/cli/. +import os, sys +from pathlib import Path + +here = Path(__file__).resolve() +ingest_script = here.parent.parent.parent / 'ingest' / 'run_ingest.py' +if not ingest_script.exists(): + print('ingest/run_ingest.py not found', file=sys.stderr) + sys.exit(1) + +code = ingest_script.read_text(encoding='utf-8') +exec(compile(code, str(ingest_script), 'exec')) +