rename artifact names to openworker: desktop/server binaries, console scripts, npm package

The Python import namespace (coworker) and the live auth config strings are
intentionally unchanged.
This commit is contained in:
Rohit C Prasad
2026-07-21 11:35:29 -07:00
parent 7f6f17c197
commit cffec6bc4b
28 changed files with 75 additions and 75 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
"""Launch the server with uvicorn. Used by the desktop GUI sidecar and `coworker-server`."""
"""Launch the server with uvicorn. Used by the desktop GUI sidecar and `openworker-server`."""
from __future__ import annotations
@@ -17,7 +17,7 @@ from .manager import SessionManager
def _exit_when_orphaned() -> None:
"""When launched as a desktop sidecar (`COWORKER_EXIT_WITH_PARENT=1`), exit if the parent
process dies — even on an abrupt kill (e.g. the Tauri dev watcher restarting the app, or a
crash) that skips the shell's graceful child-kill. Standalone `coworker-server` runs are
crash) that skips the shell's graceful child-kill. Standalone `openworker-server` runs are
unaffected.
The GUI passes its own PID in `COWORKER_PARENT_PID`. Watching that explicit PID (not
@@ -127,7 +127,7 @@ def _ensure_ca_bundle() -> None:
def main(argv=None) -> None:
_ensure_ca_bundle()
cfg = load_config() # global config supplies defaults
parser = argparse.ArgumentParser(prog="coworker-server")
parser = argparse.ArgumentParser(prog="openworker-server")
parser.add_argument("--cwd", default=None, help="optional seed/default workspace")
parser.add_argument("--model", default=cfg.model)
parser.add_argument(