@fugood/bricks-cli 2.26.0-beta.18 → 2.26.0-beta.19

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 CHANGED
@@ -285,6 +285,32 @@ bricks group refresh <group-id> [--dry-run] [-j|--json]
285
285
  bricks group monitor <group-id> [-i interval-seconds]
286
286
  ```
287
287
 
288
+ ### Blueprints
289
+
290
+ A Blueprint is a workspace-level map of a site: its applications, modules, devices, Data Bank
291
+ properties and Media Flow boxes as nodes, with role cards and the edges between them. The CLI
292
+ reads Blueprints; edit them in CTOR. These commands need the `query_blueprint` token permission.
293
+
294
+ ```bash
295
+ # List blueprints (name, node count, revision, Orchestrator run state)
296
+ bricks blueprint list [-k keyword] [-j|--json]
297
+
298
+ # Resolve a blueprint name or ID
299
+ bricks blueprint resolve <query> [-l limit] [-j|--json]
300
+
301
+ # Get blueprint details (overview, counts, run state, referenced entities with no node)
302
+ bricks blueprint get <blueprint-id> [-j|--json]
303
+
304
+ # Nodes with authored edges and edges derived from the workspace (bindings, used modules, ...)
305
+ bricks blueprint graph <blueprint-id> [-j|--json]
306
+
307
+ # Nodes grouped by kind; removed or moved entities are flagged as missing
308
+ bricks blueprint members <blueprint-id> [-j|--json]
309
+
310
+ # Print the projection text that the Blueprint Orchestrator gets as its context
311
+ bricks blueprint projection <blueprint-id>
312
+ ```
313
+
288
314
  ### Media Flow
289
315
 
290
316
  Media Flow commands require:
@@ -352,6 +378,9 @@ Notes:
352
378
  - When no `-v/--value-file` is given, `set` keeps the current value (useful to change only tags or the definition).
353
379
  - `-v` parses the input as JSON and falls back to a plain string (`-v '{"a":1}'` → object, `-v hello` → string).
354
380
  - Revoking the auto-provisioned `manager` / `used-by-device` keys rotates them instead of deleting them.
381
+ - Space key values come back masked (last 4 characters) unless the login may read them: the
382
+ workspace owner, a role with `update-workspace`, or a token with the `manage_devtools` scope.
383
+ A key the login creates is always returned in full, and a masked key revokes by its full value.
355
384
  - The Data Bank endpoint is derived from the configured BRICKS endpoint
356
385
  (prod → `bank.bricks.tools`, beta → `bank-beta.bricks.tools`, dev → `localhost:8080`).
357
386
  - Environment overrides for CI / custom setups: `BRICKS_BANK_SPACENAME` + `BRICKS_BANK_SPACEKEY`