@sechroom/cli 2026.9.20-rc.aab88151f → 2026.9.22-rc.b6c2f4f53
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 +22 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10207,6 +10207,7 @@ Examples:
|
|
|
10207
10207
|
emit(data, cmd.optsWithGlobals().json);
|
|
10208
10208
|
});
|
|
10209
10209
|
registerDeskRooms(desk);
|
|
10210
|
+
registerDeskWorkspaces(desk);
|
|
10210
10211
|
}
|
|
10211
10212
|
function registerDeskRooms(desk) {
|
|
10212
10213
|
const rooms = desk.command("rooms").description("Governed Desk rooms: which user a device is, and who may be invited").addHelpText(
|
|
@@ -10241,6 +10242,27 @@ Examples:
|
|
|
10241
10242
|
emit(data, cmd.optsWithGlobals().json);
|
|
10242
10243
|
});
|
|
10243
10244
|
}
|
|
10245
|
+
function registerDeskWorkspaces(desk) {
|
|
10246
|
+
const workspaces = desk.command("workspaces").description("Desk room ceilings: which user a device is, before a room is registered").addHelpText(
|
|
10247
|
+
"after",
|
|
10248
|
+
`
|
|
10249
|
+
Examples:
|
|
10250
|
+
$ sechroom desk workspaces peer ws-abc123 12D3KooWJ1TsijH7H5F74hfAD5XishQz3sxrmAtVY37GtNd9CqYf
|
|
10251
|
+
$ sechroom desk workspaces peer ws-abc123 12D3KooWJ1TsijH7H5F74hfAD5XishQz3sxrmAtVY37GtNd9CqYf --json`
|
|
10252
|
+
);
|
|
10253
|
+
workspaces.command("peer <workspaceId> <peerId>").description(
|
|
10254
|
+
"Which Sechroom user a Desk device belongs to and whether they may be in a room under this ceiling (GET /desk/workspaces/{workspaceId}/peers/{peerId})"
|
|
10255
|
+
).action(async (workspaceId, peerId, _opts, cmd) => {
|
|
10256
|
+
const cfg = resolveConfig(cmd.optsWithGlobals());
|
|
10257
|
+
const data = await runApi(
|
|
10258
|
+
`Checking Desk peer ${peerId} under workspace ${workspaceId}`,
|
|
10259
|
+
async () => (await makeClient(cfg)).GET("/desk/workspaces/{ceilingId}/peers/{peerId}", {
|
|
10260
|
+
params: { path: { ceilingId: workspaceId, peerId } }
|
|
10261
|
+
})
|
|
10262
|
+
);
|
|
10263
|
+
emit(data, cmd.optsWithGlobals().json);
|
|
10264
|
+
});
|
|
10265
|
+
}
|
|
10244
10266
|
|
|
10245
10267
|
// src/commands/egress.ts
|
|
10246
10268
|
import { Option } from "commander";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sechroom/cli",
|
|
3
|
-
"version": "2026.9.
|
|
3
|
+
"version": "2026.9.22-rc.b6c2f4f53",
|
|
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",
|