@sechroom/cli 2026.9.23-rc.2cbecc45e → 2026.9.24-rc.4d17fb020
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/index.js +25 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10216,7 +10216,8 @@ function registerDeskRooms(desk) {
|
|
|
10216
10216
|
Examples:
|
|
10217
10217
|
$ sechroom desk rooms get esper-demo
|
|
10218
10218
|
$ sechroom desk rooms peer esper-demo 12D3KooWJ1TsijH7H5F74hfAD5XishQz3sxrmAtVY37GtNd9CqYf
|
|
10219
|
-
$ sechroom desk rooms invitees esper-demo --json
|
|
10219
|
+
$ sechroom desk rooms invitees esper-demo --json
|
|
10220
|
+
$ sechroom desk rooms add-own-lane esper-demo claude-code-chris`
|
|
10220
10221
|
);
|
|
10221
10222
|
rooms.command("get <roomId>").description(
|
|
10222
10223
|
"Whether the room is governed by Sechroom, its ceiling when you can read it, and whether you may be in it (GET /desk/rooms/{roomId})"
|
|
@@ -10254,6 +10255,29 @@ Examples:
|
|
|
10254
10255
|
);
|
|
10255
10256
|
emit(data, cmd.optsWithGlobals().json);
|
|
10256
10257
|
});
|
|
10258
|
+
rooms.command("add-own-lane <roomId> <laneId>").description(
|
|
10259
|
+
"Add one of your own lanes (your agent) to a governed room's members, as a member of the room (PUT /desk/rooms/{roomId}/own-lanes/{laneId})"
|
|
10260
|
+
).action(async (roomId, laneId, _opts, cmd) => {
|
|
10261
|
+
const cfg = resolveConfig(cmd.optsWithGlobals());
|
|
10262
|
+
const data = await runApi(
|
|
10263
|
+
`Adding lane ${laneId} to Desk room ${roomId}`,
|
|
10264
|
+
async () => (await makeClient(cfg)).PUT("/desk/rooms/{roomId}/own-lanes/{laneId}", ownLaneRequest(roomId, laneId))
|
|
10265
|
+
);
|
|
10266
|
+
emit(data, cmd.optsWithGlobals().json);
|
|
10267
|
+
});
|
|
10268
|
+
rooms.command("remove-own-lane <roomId> <laneId>").description(
|
|
10269
|
+
"Remove one of your own lanes (your agent) from a governed room's members (DELETE /desk/rooms/{roomId}/own-lanes/{laneId})"
|
|
10270
|
+
).action(async (roomId, laneId, _opts, cmd) => {
|
|
10271
|
+
const cfg = resolveConfig(cmd.optsWithGlobals());
|
|
10272
|
+
const data = await runApi(
|
|
10273
|
+
`Removing lane ${laneId} from Desk room ${roomId}`,
|
|
10274
|
+
async () => (await makeClient(cfg)).DELETE("/desk/rooms/{roomId}/own-lanes/{laneId}", ownLaneRequest(roomId, laneId))
|
|
10275
|
+
);
|
|
10276
|
+
emit(data, cmd.optsWithGlobals().json);
|
|
10277
|
+
});
|
|
10278
|
+
}
|
|
10279
|
+
function ownLaneRequest(roomId, laneId) {
|
|
10280
|
+
return { params: { path: { roomId, laneId } }, body: {} };
|
|
10257
10281
|
}
|
|
10258
10282
|
function registerDeskWorkspaces(desk) {
|
|
10259
10283
|
const workspaces = desk.command("workspaces").description("Desk room ceilings: which user a device is, before a room is registered").addHelpText(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sechroom/cli",
|
|
3
|
-
"version": "2026.9.
|
|
3
|
+
"version": "2026.9.24-rc.4d17fb020",
|
|
4
4
|
"description": "Command-line interface for Sechroom — sign in, wire your AI tools, and work with your sechroom from the terminal.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "UNLICENSED",
|