@sechroom/cli 2026.9.22-rc.b6c2f4f53 → 2026.9.23-rc.2cbecc45e

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 +13 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -10214,9 +10214,22 @@ 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
10219
  $ sechroom desk rooms invitees esper-demo --json`
10219
10220
  );
10221
+ rooms.command("get <roomId>").description(
10222
+ "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})"
10223
+ ).action(async (roomId, _opts, cmd) => {
10224
+ const cfg = resolveConfig(cmd.optsWithGlobals());
10225
+ const data = await runApi(
10226
+ `Reading Desk room ${roomId}`,
10227
+ async () => (await makeClient(cfg)).GET("/desk/rooms/{roomId}", {
10228
+ params: { path: { roomId } }
10229
+ })
10230
+ );
10231
+ emit(data, cmd.optsWithGlobals().json);
10232
+ });
10220
10233
  rooms.command("peer <roomId> <peerId>").description(
10221
10234
  "Which Sechroom user a Desk device belongs to and whether they may be in the room (GET /desk/rooms/{roomId}/peers/{peerId})"
10222
10235
  ).action(async (roomId, peerId, _opts, cmd) => {
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.23-rc.2cbecc45e",
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",