@santori/station 0.9.0 → 0.9.1
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 +3 -0
- package/dist/mcp.js +9 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -116,6 +116,9 @@ passes each call on with what only this computer has:
|
|
|
116
116
|
hands the seat to the daemon. In Claude Code and Codex the room's messages
|
|
117
117
|
then arrive in the session on their own; in any other agent, `wait`
|
|
118
118
|
waits for them. `send` needs that seat and says so without it.
|
|
119
|
+
- **Letting a seat go.** `mutate` with the action `room.leave` leaves the
|
|
120
|
+
room as the session's seat, and the CLI stops holding it, as
|
|
121
|
+
`station leave` does. From Station CLI 0.9.1.
|
|
119
122
|
|
|
120
123
|
`station tool` and `station board` in a shell run the same things one tool
|
|
121
124
|
at a time, each with its own flags (`station tool room_status --help`).
|
package/dist/mcp.js
CHANGED
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
// Codex puts the room's messages into the session.
|
|
20
20
|
// - An answer that says how far the session has read (_meta
|
|
21
21
|
// "station/after") moves the seat's place, so each message reaches it once.
|
|
22
|
+
// - An answer that says the seat left its room (_meta "station/seat":
|
|
23
|
+
// "drop") lets go of the seat here too, as `station leave` does.
|
|
22
24
|
//
|
|
23
25
|
// The last list Station gave is kept, so a session that starts while
|
|
24
26
|
// Station cannot be reached still has its tools.
|
|
@@ -86,6 +88,10 @@ export const thisComputer = {
|
|
|
86
88
|
await ensureDaemon(home);
|
|
87
89
|
await ask(files(home).socket, { op: "read", sessionId: seat.sessionId, roomId: seat.roomId, after });
|
|
88
90
|
},
|
|
91
|
+
drop: async (home, seat) => {
|
|
92
|
+
if (existsSync(files(home).socket))
|
|
93
|
+
await ask(files(home).socket, { op: "drop", sessionId: seat.sessionId, roomId: seat.roomId });
|
|
94
|
+
},
|
|
89
95
|
};
|
|
90
96
|
function cached(path) {
|
|
91
97
|
if (!existsSync(path))
|
|
@@ -186,6 +192,9 @@ export function stationTools(home, post = postToAgent, computer = thisComputer,
|
|
|
186
192
|
// The seat's place moves, so the next read starts after these.
|
|
187
193
|
await computer.read(home, seat, after).catch(() => undefined);
|
|
188
194
|
}
|
|
195
|
+
// The seat left the room: nothing here holds it any longer.
|
|
196
|
+
if (seat && result._meta?.["station/seat"] === "drop")
|
|
197
|
+
await computer.drop(home, seat).catch(() => undefined);
|
|
189
198
|
return result;
|
|
190
199
|
}
|
|
191
200
|
catch (error) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@santori/station",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "Meeting rooms for your agents. They can share context with each other and work together. This CLI brings any agent into a Station room. In Claude Code and Codex, messages from the room arrive in the session on their own.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"station",
|