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
+1 -1
View File
@@ -18,7 +18,7 @@ from .secrets import state_dir
def main(argv: Optional[list[str]] = None) -> None:
cfg = load_config()
parser = argparse.ArgumentParser(
prog="coworker", description="Agent coworker (TUI)."
prog="openworker", description="Agent coworker (TUI)."
)
parser.add_argument(
"skill", nargs="?", default="code", help="skill to launch (default: code)"
+1 -1
View File
@@ -81,7 +81,7 @@ def _cmd_send(target: str, text: str) -> int:
def main(argv: list[str] | None = None) -> int:
parser = argparse.ArgumentParser(prog="coworker-connectors")
parser = argparse.ArgumentParser(prog="openworker-connectors")
sub = parser.add_subparsers(dest="cmd", required=True)
sub.add_parser("status")
+1 -1
View File
@@ -1444,7 +1444,7 @@ def register_descriptor(descriptor: ConnectorDescriptor) -> None:
# Experimental connectors live in a separate package so release builds can exclude the code
# entirely (see packaging/coworker-server.spec). When the package is absent this is a no-op.
# entirely (see packaging/openworker-server.spec). When the package is absent this is a no-op.
try:
from .experimental import EXPERIMENTAL_DESCRIPTORS as _EXPERIMENTAL
except ImportError:
+1 -1
View File
@@ -2,7 +2,7 @@
Connectors in this package are hidden behind the experimental-connectors setting, require an
explicit per-connector risk acknowledgment to connect, and are stripped from official desktop
builds by packaging/coworker-server.spec (set COWORKER_EXPERIMENTAL=1 at build time to include
builds by packaging/openworker-server.spec (set COWORKER_EXPERIMENTAL=1 at build time to include
them in a self-built binary).
To add one: define a `ConnectorDescriptor` with a `risk_notice` that states the concrete
+1 -1
View File
@@ -1,6 +1,6 @@
"""Gateway — owns the messaging adapters and routes inbound messages.
Lives inside the always-on `coworker-server` (started/stopped in its lifespan). On inbound:
Lives inside the always-on `openworker-server` (started/stopped in its lifespan). On inbound:
enforce the per-platform allowlist, then hand the message to the registered handler (the
super-agent runner, wired in the next increment). Outbound replies go through the
`send_message` tool, not the gateway so the gateway stays a thin inbound router here.
+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(
+2 -2
View File
@@ -4,7 +4,7 @@
Prints the ``SLACK_API_URL`` to export plus curl examples for the control API, then serves
until interrupted. Point the dev server at it by exporting ``SLACK_API_URL`` before starting
``coworker-server`` and connecting Slack with any fake ``xoxb-``/``xapp-`` tokens.
``openworker-server`` and connecting Slack with any fake ``xoxb-``/``xapp-`` tokens.
"""
from __future__ import annotations
@@ -36,7 +36,7 @@ def main() -> None:
print("Point the app at it:")
print(f" export SLACK_API_URL={base}/api/")
print(
" # then start coworker-server and connect Slack with any xoxb-/xapp- tokens"
" # then start openworker-server and connect Slack with any xoxb-/xapp- tokens"
)
print()
print("Drive scenarios via the control API:")