vrex-flow-engine 0.2.2__tar.gz → 0.2.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/PKG-INFO +1 -1
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/flow_engine/cli/processes.py +3 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/flow_engine/cli/supervisor.py +5 -1
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/pyproject.toml +1 -1
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/vrex_flow_engine.egg-info/PKG-INFO +1 -1
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/PYPI_README.md +0 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/flow_engine/__init__.py +0 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/flow_engine/bridge/__init__.py +0 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/flow_engine/bridge/flow_client.py +0 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/flow_engine/bridge/flow_sdk.py +0 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/flow_engine/bridge/ws_server.py +0 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/flow_engine/catalog.py +0 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/flow_engine/cli/__init__.py +0 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/flow_engine/cli/app.py +0 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/flow_engine/cli/config.py +0 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/flow_engine/cli/dashboard.py +0 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/flow_engine/cli/health.py +0 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/flow_engine/config.py +0 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/flow_engine/ingest.py +0 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/flow_engine/job_store.py +0 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/flow_engine/jobs.py +0 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/flow_engine/main.py +0 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/flow_engine/media.py +0 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/flow_engine/media_store.py +0 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/flow_engine/openai/__init__.py +0 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/flow_engine/openai/_util.py +0 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/flow_engine/openai/images.py +0 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/flow_engine/openai/models.py +0 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/flow_engine/openai/uploads.py +0 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/flow_engine/openai/videos.py +0 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/flow_engine/pool.py +0 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/flow_engine/posthog_client.py +0 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/flow_engine/session.py +0 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/flow_engine/video_context.py +0 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/flow_engine/video_context_store.py +0 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/setup.cfg +0 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/vrex_flow_engine.egg-info/SOURCES.txt +0 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/vrex_flow_engine.egg-info/dependency_links.txt +0 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/vrex_flow_engine.egg-info/entry_points.txt +0 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/vrex_flow_engine.egg-info/requires.txt +0 -0
- {vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/vrex_flow_engine.egg-info/top_level.txt +0 -0
|
@@ -29,6 +29,7 @@ class ManagedProcess:
|
|
|
29
29
|
log_file: Optional[Path] = None,
|
|
30
30
|
on_line: Optional[OnLine] = None,
|
|
31
31
|
display: Optional[str] = None,
|
|
32
|
+
cwd: Optional[str] = None,
|
|
32
33
|
) -> None:
|
|
33
34
|
self.name = name
|
|
34
35
|
self.argv = list(argv)
|
|
@@ -37,6 +38,7 @@ class ManagedProcess:
|
|
|
37
38
|
self._env = {**os.environ, **(env or {})}
|
|
38
39
|
self._log_file = log_file
|
|
39
40
|
self._on_line = on_line
|
|
41
|
+
self._cwd = cwd
|
|
40
42
|
|
|
41
43
|
self._proc: Optional[subprocess.Popen] = None
|
|
42
44
|
self._pump: Optional[threading.Thread] = None
|
|
@@ -52,6 +54,7 @@ class ManagedProcess:
|
|
|
52
54
|
self._proc = subprocess.Popen(
|
|
53
55
|
self.argv,
|
|
54
56
|
env=self._env,
|
|
57
|
+
cwd=self._cwd,
|
|
55
58
|
stdout=subprocess.PIPE,
|
|
56
59
|
stderr=subprocess.STDOUT,
|
|
57
60
|
text=True,
|
|
@@ -22,7 +22,7 @@ from typing import Optional
|
|
|
22
22
|
from rich.console import Console
|
|
23
23
|
|
|
24
24
|
from . import dashboard, health
|
|
25
|
-
from .config import LOGS_DIR, FlowConfig, mask
|
|
25
|
+
from .config import CONFIG_DIR, LOGS_DIR, FlowConfig, mask
|
|
26
26
|
from .processes import ManagedProcess
|
|
27
27
|
|
|
28
28
|
console = Console()
|
|
@@ -92,6 +92,10 @@ class Supervisor:
|
|
|
92
92
|
"engine",
|
|
93
93
|
[sys.executable, "-m", "flow_engine.main"],
|
|
94
94
|
env=env,
|
|
95
|
+
# Run from a package-free dir: `python -m` prepends cwd to sys.path, so
|
|
96
|
+
# launching from a checkout that contains a `flow_engine/` package would
|
|
97
|
+
# shadow the installed one and silently run stale code.
|
|
98
|
+
cwd=str(CONFIG_DIR),
|
|
95
99
|
log_file=LOGS_DIR / "engine.log",
|
|
96
100
|
on_line=self._on_line,
|
|
97
101
|
display=f"{sys.executable} -m flow_engine.main",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "vrex-flow-engine"
|
|
3
|
-
version = "0.2.
|
|
3
|
+
version = "0.2.3"
|
|
4
4
|
description = "Launcher + supervisor and OpenAI-compatible image/video generation service (Vrex Flow Engine)."
|
|
5
5
|
# Neutral public description (the in-repo README.md carries the full internal docs).
|
|
6
6
|
readme = "PYPI_README.md"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/vrex_flow_engine.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{vrex_flow_engine-0.2.2 → vrex_flow_engine-0.2.3}/vrex_flow_engine.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|