feat: enable remote SDK and resilient device orchestration
This commit is contained in:
1 parent
3cc711df51
commit
ddfa420945
110 files changed
+14450
-12954
No files matched your search
+10
-2
@@ -72,7 +72,13 @@ def main() -> None:
|
||||
formatter_class=argparse.ArgumentDefaultsHelpFormatter,
|
||||
)
|
||||
parser.add_argument("-p", "--port", type=int, default=8000, help="Port to run UI on")
|
||||
parser.add_argument("-H", "--host", type=str, default="0.0.0.0", help="Host address to bind")
|
||||
parser.add_argument(
|
||||
"-H",
|
||||
"--host",
|
||||
type=str,
|
||||
default="127.0.0.1",
|
||||
help="Host address to bind (loopback by default; use a tunnel for remote access)",
|
||||
)
|
||||
parser.add_argument(
|
||||
"-r",
|
||||
"--restart",
|
||||
@@ -181,7 +187,9 @@ def main() -> None:
|
||||
|
||||
cmd = []
|
||||
if has_uv and (ROOT_DIR / "pyproject.toml").exists():
|
||||
cmd = ["uv", "run", "artemis", "ui", "--port", str(args.port), "--host", args.host]
|
||||
# Launch via `python -m artemis` (not the `artemis` console-script shim) so the
|
||||
# long-running server never locks .venv/Scripts/artemis.exe against reinstalls.
|
||||
cmd = ["uv", "run", "python", "-m", "artemis", "ui", "--port", str(args.port), "--host", args.host]
|
||||
if args.no_open:
|
||||
cmd.append("--no-open")
|
||||
if args.reload:
|
||||
|
||||
Reference in new issue
Block a user