@sailorbridge/client 0.2.3 → 0.2.4
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.
- package/README.md +12 -5
- package/dist/src/cli.js +135 -107
- package/dist/src/cli.js.map +8 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -105,6 +105,10 @@ sailorbridge worker serve --worker dev-1 --workdir "$PWD"
|
|
|
105
105
|
sailorbridge supervise --agent ab_hand --cli codex --cwd "$PWD" --i-own-this-agent
|
|
106
106
|
```
|
|
107
107
|
|
|
108
|
+
`worker list`, `worker run`, and `worker job` are member-runtime commands;
|
|
109
|
+
`worker serve` instead uses a worker enrollment credential. The paired host
|
|
110
|
+
credential created by `login` authorizes neither surface.
|
|
111
|
+
|
|
108
112
|
The package ships only the built CLI/runtime files under `dist/src/` plus this
|
|
109
113
|
README. It deliberately does not publish `src/`, `tests/`, or `dist/tests/`.
|
|
110
114
|
Create a release tarball with `npm run pack:staged`; it stages the current build without
|
|
@@ -171,9 +175,11 @@ SAILORBRIDGE_MAX_CONCURRENCY=1
|
|
|
171
175
|
`SAILORBRIDGE_CAPTAIN_ID` is required by `worker list`, `worker run`, and
|
|
172
176
|
`worker job`; it must be a numeric string. `worker list` and `worker run` also
|
|
173
177
|
require `SAILORBRIDGE_SESSION` so an unbound admin credential cannot
|
|
174
|
-
accidentally discover workers across teams.
|
|
175
|
-
|
|
176
|
-
|
|
178
|
+
accidentally discover workers across teams. These commands require a
|
|
179
|
+
member-runtime credential; a paired host credential is not a member credential
|
|
180
|
+
and is rejected before any relay request. Use the console Workers page to list
|
|
181
|
+
workers, or run the command inside a member workspace where the product provides
|
|
182
|
+
the token, captain id, and session. Agent routing uses the separate
|
|
177
183
|
`SAILORBRIDGE_AGENT_NAME`.
|
|
178
184
|
|
|
179
185
|
`SAILORBRIDGE_HOST_ID` and `SAILORBRIDGE_HOST_DISPLAY_NAME` identify the
|
|
@@ -222,8 +228,9 @@ status never completes a SailorBridge task lifecycle.
|
|
|
222
228
|
`https://www.sailorbridge.com`. The command displays the one-time code and
|
|
223
229
|
polls until approval. The stored credential contains a host-scoped relay key
|
|
224
230
|
(`key_scope: "host"` plus `host_id`) and is used as a fallback when
|
|
225
|
-
`SAILORBRIDGE_RELAY_URL` or `SAILORBRIDGE_TOKEN` are not set.
|
|
226
|
-
|
|
231
|
+
`SAILORBRIDGE_RELAY_URL` or `SAILORBRIDGE_TOKEN` are not set. Worker data
|
|
232
|
+
commands reject this host-scoped fallback before any relay request. Raw host
|
|
233
|
+
keys are written to the credentials file only. Data commands default to
|
|
227
234
|
`--format plain`; login's plain success output prints the host id, credential
|
|
228
235
|
path, and service status. Explicit `--format json` prints key id and host
|
|
229
236
|
metadata, not the token.
|