mirror of
https://github.com/andrewyng/openworker.git
synced 2026-09-04 16:42:35 +00:00
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:
@@ -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")
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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,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.
|
||||
|
||||
Reference in New Issue
Block a user