@sechroom/cli 2026.9.22-rc.b6c2f4f53 → 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.
Files changed (2) hide show
  1. package/dist/index.js +38 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -10214,9 +10214,23 @@ function registerDeskRooms(desk) {
10214
10214
  "after",
10215
10215
  `
10216
10216
  Examples:
10217
+ $ sechroom desk rooms get esper-demo
10217
10218
  $ sechroom desk rooms peer esper-demo 12D3KooWJ1TsijH7H5F74hfAD5XishQz3sxrmAtVY37GtNd9CqYf
10218
- $ 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`
10219
10221
  );
10222
+ rooms.command("get <roomId>").description(
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})"
10224
+ ).action(async (roomId, _opts, cmd) => {
10225
+ const cfg = resolveConfig(cmd.optsWithGlobals());
10226
+ const data = await runApi(
10227
+ `Reading Desk room ${roomId}`,
10228
+ async () => (await makeClient(cfg)).GET("/desk/rooms/{roomId}", {
10229
+ params: { path: { roomId } }
10230
+ })
10231
+ );
10232
+ emit(data, cmd.optsWithGlobals().json);
10233
+ });
10220
10234
  rooms.command("peer <roomId> <peerId>").description(
10221
10235
  "Which Sechroom user a Desk device belongs to and whether they may be in the room (GET /desk/rooms/{roomId}/peers/{peerId})"
10222
10236
  ).action(async (roomId, peerId, _opts, cmd) => {
@@ -10241,6 +10255,29 @@ Examples:
10241
10255
  );
10242
10256
  emit(data, cmd.optsWithGlobals().json);
10243
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: {} };
10244
10281
  }
10245
10282
  function registerDeskWorkspaces(desk) {
10246
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.22-rc.b6c2f4f53",
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",