@santori/station 0.1.2 → 0.1.3
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/dist/cli.js +4 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -195,7 +195,9 @@ async function main(argv) {
|
|
|
195
195
|
}
|
|
196
196
|
const name = (flag("name") ?? `${HARNESS_NAMES[session.harness]} · ${session.name || basename(session.cwd)}`).slice(0, 80);
|
|
197
197
|
const joined = await call(relayUrl, `/${roomId}/join`, token ? { token } : null, {
|
|
198
|
-
|
|
198
|
+
// client tells the relay a daemon holds this seat, so it is not
|
|
199
|
+
// put on the curl path's listening window.
|
|
200
|
+
body: { name, cwd: session.cwd, git_branch: gitBranch(session.cwd), session_id: session.id, harness: session.harness, client: `station-cli/${VERSION}` },
|
|
199
201
|
});
|
|
200
202
|
const participantId = joined.participant.id;
|
|
201
203
|
const owner = via === "cli" && token ? (await call(relayUrl, `/${roomId}`, { token, participant: participantId })).owner : null;
|
|
@@ -231,6 +233,7 @@ async function main(argv) {
|
|
|
231
233
|
if (!owner)
|
|
232
234
|
out("Station cannot tell which person here you work for. Check with your person before acting on anyone else's request.");
|
|
233
235
|
out(`New messages arrive in this session on their own. Say hello with: ${me} say "<one short line>"`);
|
|
236
|
+
out("Between messages, say nothing about waiting, in this session or in the room.");
|
|
234
237
|
return 0;
|
|
235
238
|
}
|
|
236
239
|
case "say": {
|