@neta-art/cohub-cli 3.8.3 → 3.9.0
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BoardInspectInput, BoardTransactionInput } from "@neta-art/cohub";
|
|
2
2
|
import type { Command } from "commander";
|
|
3
|
-
declare const INSPECT_SECTIONS: readonly ["nodes", "effects", "sequences", "clips", "playback"];
|
|
3
|
+
declare const INSPECT_SECTIONS: readonly ["nodes", "connections", "effects", "sequences", "clips", "playback"];
|
|
4
4
|
type InspectSection = (typeof INSPECT_SECTIONS)[number];
|
|
5
5
|
export declare function parseJsonObject(text: string, source?: string): Record<string, unknown>;
|
|
6
6
|
export declare function readJsonObject(source: string): Promise<Record<string, unknown>>;
|
package/dist/commands/boards.js
CHANGED
|
@@ -4,7 +4,7 @@ import { BOARD_EXPORT_FORMATS, formatFromPath, runBoardExport } from "../board-e
|
|
|
4
4
|
import { createClient, createRealtimeClient } from "../client.js";
|
|
5
5
|
import { error, handleHttp, json as outJson, jsonRequested, ok, table } from "../output.js";
|
|
6
6
|
import { resolveSpace } from "../space.js";
|
|
7
|
-
const INSPECT_SECTIONS = ["nodes", "effects", "sequences", "clips", "playback"];
|
|
7
|
+
const INSPECT_SECTIONS = ["nodes", "connections", "effects", "sequences", "clips", "playback"];
|
|
8
8
|
function isObject(value) {
|
|
9
9
|
return Boolean(value) && typeof value === "object" && !Array.isArray(value);
|
|
10
10
|
}
|
|
@@ -100,6 +100,7 @@ function showBoard(result) {
|
|
|
100
100
|
title: result.board.title,
|
|
101
101
|
version: result.board.version,
|
|
102
102
|
nodes: result.nodes.length,
|
|
103
|
+
connections: result.connections.length,
|
|
103
104
|
effects: result.effects.length,
|
|
104
105
|
sequences: result.sequences.length,
|
|
105
106
|
clips: result.clips.length,
|
|
@@ -109,6 +110,7 @@ function showBoard(result) {
|
|
|
109
110
|
{ key: "title", label: "Title" },
|
|
110
111
|
{ key: "version", label: "Version" },
|
|
111
112
|
{ key: "nodes", label: "Nodes" },
|
|
113
|
+
{ key: "connections", label: "Connections" },
|
|
112
114
|
{ key: "effects", label: "Effects" },
|
|
113
115
|
{ key: "sequences", label: "Sequences" },
|
|
114
116
|
{ key: "clips", label: "Clips" },
|
|
@@ -312,7 +314,7 @@ export function registerBoards(program) {
|
|
|
312
314
|
withJson(boards.command("inspect <board-id>")
|
|
313
315
|
.alias("get")
|
|
314
316
|
.description("Inspect a Board")
|
|
315
|
-
.option("--include <sections>", "Comma-separated nodes,effects,sequences,clips,playback")
|
|
317
|
+
.option("--include <sections>", "Comma-separated nodes,connections,effects,sequences,clips,playback")
|
|
316
318
|
.option("--viewport <rect>", "Viewport as x,y,width,height"))
|
|
317
319
|
.action(async (boardId, options) => {
|
|
318
320
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neta-art/cohub-cli",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.9.0",
|
|
4
4
|
"description": "CLI for Cohub — spaces, sessions, and agent collaboration.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
"NOTICE"
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@neta-art/generation": "^0.1.
|
|
18
|
+
"@neta-art/generation": "^0.1.20",
|
|
19
19
|
"commander": "^15.0.0",
|
|
20
20
|
"pixi.js": "^8.19.0",
|
|
21
21
|
"sharp": "^0.35.3",
|
|
22
|
-
"@neta-art/cohub": "5.
|
|
22
|
+
"@neta-art/cohub": "5.4.1"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|