@streamr/cli-tools 100.2.2 → 100.2.3

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.
@@ -0,0 +1,122 @@
1
+ #!/usr/bin/env node
2
+ import { createCommand } from '../src/command'
3
+ import fs from 'fs'
4
+
5
+ interface Topology {
6
+ neighbors: Record<string, string[]>
7
+ labels?: Record<string, string>
8
+ route?: string[]
9
+ }
10
+
11
+ const SHORT_ID_LENGTH = 4
12
+
13
+ const generateGradientColors = (count: number): string[] => {
14
+ const START_COLOR = 'eeee22'
15
+ const END_COLOR = '88ee20'
16
+ const startRGB = parseInt(START_COLOR, 16)
17
+ const endRGB = parseInt(END_COLOR, 16)
18
+ const getComponent = (rgb: number, shift: number) => (rgb >> shift) & 0xFF
19
+ const startR = getComponent(startRGB, 16)
20
+ const startG = getComponent(startRGB, 8)
21
+ const startB = getComponent(startRGB, 0)
22
+ const endR = getComponent(endRGB, 16)
23
+ const endG = getComponent(endRGB, 8)
24
+ const endB = getComponent(endRGB, 0)
25
+ const colors: string[] = []
26
+ for (let step = 0; step < count; step++) {
27
+ const getOutput = (start: number, end: number) => Math.round(start + ((end - start) * step / count)).toString(16).padStart(2, '0')
28
+ const stepR = getOutput(startR, endR)
29
+ const stepG = getOutput(startG, endG)
30
+ const stepB = getOutput(startB, endB)
31
+ colors.push(`#${stepR}${stepG}${stepB}`)
32
+ }
33
+ return colors
34
+ }
35
+
36
+ const getNodeIds = (topology: Topology): Set<string> => {
37
+ const result: Set<string> = new Set()
38
+ for (const nodeId of Object.keys(topology.neighbors)) {
39
+ result.add(nodeId)
40
+ for (const neighborId of topology.neighbors[nodeId]) {
41
+ result.add(neighborId)
42
+ }
43
+ }
44
+ return result
45
+ }
46
+
47
+ const createGraph = (topology: Topology) => {
48
+ const lines = ['strict graph {']
49
+ lines.push(' layout="fdp"')
50
+ lines.push(' size="16,9"')
51
+ lines.push(' ratio="fill"')
52
+ lines.push(' overlap=false')
53
+ lines.push(' node [style=filled]')
54
+ lines.push(' graph [splines=curved]')
55
+ for (const nodeId of getNodeIds(topology)) {
56
+ const shortNodeId = nodeId.substring(0, SHORT_ID_LENGTH)
57
+ const explicitLabel = (topology.labels !== undefined) ? topology.labels[nodeId] : undefined
58
+ const attributes = (explicitLabel !== undefined)
59
+ ? `label="${explicitLabel}: ${shortNodeId}", penwidth=3`
60
+ : `label="${shortNodeId}"`
61
+ lines.push(` "${nodeId}" [${attributes}]`)
62
+ }
63
+ if (topology.route !== undefined) {
64
+ const colors = generateGradientColors(topology.route.length)
65
+ for (let i = 0; i < topology.route.length; i++) {
66
+ lines.push(` "${topology.route[i]}" [fillcolor="${colors[i]}"]`)
67
+ }
68
+ }
69
+ for (const nodeId of Object.keys(topology.neighbors)) {
70
+ for (const neighborId of topology.neighbors[nodeId]) {
71
+ lines.push(` "${nodeId}" -- "${neighborId}"`)
72
+ }
73
+ }
74
+ lines.push('}')
75
+ return lines.join('\n')
76
+ }
77
+
78
+ const readStdin = async (): Promise<string> => {
79
+ let text = ''
80
+ for await (const chunk of process.stdin) {
81
+ text += chunk
82
+ }
83
+ return text
84
+ }
85
+
86
+ const description = `Generates a DOT graph to visualize a network topology.
87
+ To render the output you can use e.g.:
88
+ - web site https://dreampuf.github.io/GraphvizOnline/
89
+ - Graphwiz application (https://formulae.brew.sh/formula/graphviz)
90
+ (dot -Tsvg topology.dot -o topology.svg)
91
+
92
+ The definition JSON must contain neighbor definitions. It may optionally
93
+ contain labels and/or a route definition. Format:
94
+ {
95
+ "neighbors": {
96
+ "1111": ["2222", "3333"],
97
+ "2222": ["3333", "4444"],
98
+ "3333": ["2222", "4444", "5555"],
99
+ "4444": ["5555", "8888"],
100
+ "5555": ["6666", "7777", "9999"],
101
+ "6666": ["8888", "9999"],
102
+ "7777": ["1111"],
103
+ "8888": ["9999", "3333"]
104
+ },
105
+ "labels": {
106
+ "1111": "Foo",
107
+ "5555": "Bar"
108
+ },
109
+ "route": ["3333", "4444", "5555", "6666", "8888"]
110
+ }`
111
+
112
+ createCommand()
113
+ .description(description)
114
+ .arguments('[topologyDefinitionFile]')
115
+ .action(async (topologyDefinitionFile?: string) => {
116
+ const topologyDefinition = (topologyDefinitionFile !== undefined)
117
+ ? fs.readFileSync(topologyDefinitionFile, 'utf-8')
118
+ : await readStdin()
119
+ // TODO could validate the content
120
+ console.log(createGraph(JSON.parse(topologyDefinition) as Topology))
121
+ })
122
+ .parse()
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env node
2
+ import { program } from 'commander'
3
+ import pkg from '../package.json'
4
+
5
+ program
6
+ .version(pkg.version)
7
+ .usage('<command> [<args>]')
8
+ .description('subcommands for internal use, the API of the commands may change')
9
+ .command('visualize-topology', 'visualize network topology')
10
+ .parse()
package/bin/streamr.ts CHANGED
@@ -11,4 +11,5 @@ program
11
11
  .command('mock-data', 'mock data subcommands')
12
12
  .command('wallet', 'wallet subcommands')
13
13
  .command('governance', 'governance subcommands')
14
+ .command('internal', 'subcommands for internal use')
14
15
  .parse()
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ export {};
@@ -0,0 +1,115 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+ var __importDefault = (this && this.__importDefault) || function (mod) {
4
+ return (mod && mod.__esModule) ? mod : { "default": mod };
5
+ };
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ const command_1 = require("../src/command");
8
+ const fs_1 = __importDefault(require("fs"));
9
+ const SHORT_ID_LENGTH = 4;
10
+ const generateGradientColors = (count) => {
11
+ const START_COLOR = 'eeee22';
12
+ const END_COLOR = '88ee20';
13
+ const startRGB = parseInt(START_COLOR, 16);
14
+ const endRGB = parseInt(END_COLOR, 16);
15
+ const getComponent = (rgb, shift) => (rgb >> shift) & 0xFF;
16
+ const startR = getComponent(startRGB, 16);
17
+ const startG = getComponent(startRGB, 8);
18
+ const startB = getComponent(startRGB, 0);
19
+ const endR = getComponent(endRGB, 16);
20
+ const endG = getComponent(endRGB, 8);
21
+ const endB = getComponent(endRGB, 0);
22
+ const colors = [];
23
+ for (let step = 0; step < count; step++) {
24
+ const getOutput = (start, end) => Math.round(start + ((end - start) * step / count)).toString(16).padStart(2, '0');
25
+ const stepR = getOutput(startR, endR);
26
+ const stepG = getOutput(startG, endG);
27
+ const stepB = getOutput(startB, endB);
28
+ colors.push(`#${stepR}${stepG}${stepB}`);
29
+ }
30
+ return colors;
31
+ };
32
+ const getNodeIds = (topology) => {
33
+ const result = new Set();
34
+ for (const nodeId of Object.keys(topology.neighbors)) {
35
+ result.add(nodeId);
36
+ for (const neighborId of topology.neighbors[nodeId]) {
37
+ result.add(neighborId);
38
+ }
39
+ }
40
+ return result;
41
+ };
42
+ const createGraph = (topology) => {
43
+ const lines = ['strict graph {'];
44
+ lines.push(' layout="fdp"');
45
+ lines.push(' size="16,9"');
46
+ lines.push(' ratio="fill"');
47
+ lines.push(' overlap=false');
48
+ lines.push(' node [style=filled]');
49
+ lines.push(' graph [splines=curved]');
50
+ for (const nodeId of getNodeIds(topology)) {
51
+ const shortNodeId = nodeId.substring(0, SHORT_ID_LENGTH);
52
+ const explicitLabel = (topology.labels !== undefined) ? topology.labels[nodeId] : undefined;
53
+ const attributes = (explicitLabel !== undefined)
54
+ ? `label="${explicitLabel}: ${shortNodeId}", penwidth=3`
55
+ : `label="${shortNodeId}"`;
56
+ lines.push(` "${nodeId}" [${attributes}]`);
57
+ }
58
+ if (topology.route !== undefined) {
59
+ const colors = generateGradientColors(topology.route.length);
60
+ for (let i = 0; i < topology.route.length; i++) {
61
+ lines.push(` "${topology.route[i]}" [fillcolor="${colors[i]}"]`);
62
+ }
63
+ }
64
+ for (const nodeId of Object.keys(topology.neighbors)) {
65
+ for (const neighborId of topology.neighbors[nodeId]) {
66
+ lines.push(` "${nodeId}" -- "${neighborId}"`);
67
+ }
68
+ }
69
+ lines.push('}');
70
+ return lines.join('\n');
71
+ };
72
+ const readStdin = async () => {
73
+ let text = '';
74
+ for await (const chunk of process.stdin) {
75
+ text += chunk;
76
+ }
77
+ return text;
78
+ };
79
+ const description = `Generates a DOT graph to visualize a network topology.
80
+ To render the output you can use e.g.:
81
+ - web site https://dreampuf.github.io/GraphvizOnline/
82
+ - Graphwiz application (https://formulae.brew.sh/formula/graphviz)
83
+ (dot -Tsvg topology.dot -o topology.svg)
84
+
85
+ The definition JSON must contain neighbor definitions. It may optionally
86
+ contain labels and/or a route definition. Format:
87
+ {
88
+ "neighbors": {
89
+ "1111": ["2222", "3333"],
90
+ "2222": ["3333", "4444"],
91
+ "3333": ["2222", "4444", "5555"],
92
+ "4444": ["5555", "8888"],
93
+ "5555": ["6666", "7777", "9999"],
94
+ "6666": ["8888", "9999"],
95
+ "7777": ["1111"],
96
+ "8888": ["9999", "3333"]
97
+ },
98
+ "labels": {
99
+ "1111": "Foo",
100
+ "5555": "Bar"
101
+ },
102
+ "route": ["3333", "4444", "5555", "6666", "8888"]
103
+ }`;
104
+ (0, command_1.createCommand)()
105
+ .description(description)
106
+ .arguments('[topologyDefinitionFile]')
107
+ .action(async (topologyDefinitionFile) => {
108
+ const topologyDefinition = (topologyDefinitionFile !== undefined)
109
+ ? fs_1.default.readFileSync(topologyDefinitionFile, 'utf-8')
110
+ : await readStdin();
111
+ // TODO could validate the content
112
+ console.log(createGraph(JSON.parse(topologyDefinition)));
113
+ })
114
+ .parse();
115
+ //# sourceMappingURL=streamr-internal-visualize-topology.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"streamr-internal-visualize-topology.js","sourceRoot":"","sources":["../../bin/streamr-internal-visualize-topology.ts"],"names":[],"mappings":";;;;;;AACA,4CAA8C;AAC9C,4CAAmB;AAQnB,MAAM,eAAe,GAAG,CAAC,CAAA;AAEzB,MAAM,sBAAsB,GAAG,CAAC,KAAa,EAAY,EAAE;IACvD,MAAM,WAAW,GAAG,QAAQ,CAAA;IAC5B,MAAM,SAAS,GAAG,QAAQ,CAAA;IAC1B,MAAM,QAAQ,GAAG,QAAQ,CAAC,WAAW,EAAE,EAA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AAC,CAAA;AAED,MAAM,WAAW,GAAG;;;;;;;;;;;;;;;;;;;;;;;;EAwBlB,CAAA;AAEF,IAAA,uBAAa,GAAE;KACV,WAAW,CAAC,WAAW,CAAC;KACxB,SAAS,CAAC,0BAA0B,CAAC;KACrC,MAAM,CAAC,KAAK,EAAE,sBAA+B,EAAE,EAAE;IAC9C,MAAM,kBAAkB,GAAG,CAAC,sBAAsB,KAAK,SAAS,CAAC;QAC7D,CAAC,CAAC,YAAE,CAAC,YAAY,CAAC,sBAAsB,EAAE,OAAO,CAAC;QAClD,CAAC,CAAC,MAAM,SAAS,EAAE,CAAA;IACvB,kCAAkC;IAClC,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,kBAAkB,CAAa,CAAC,CAAC,CAAA;AACxE,CAAC,CAAC;KACD,KAAK,EAAE,CAAA"}
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ export {};
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+ var __importDefault = (this && this.__importDefault) || function (mod) {
4
+ return (mod && mod.__esModule) ? mod : { "default": mod };
5
+ };
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ const commander_1 = require("commander");
8
+ const package_json_1 = __importDefault(require("../package.json"));
9
+ commander_1.program
10
+ .version(package_json_1.default.version)
11
+ .usage('<command> [<args>]')
12
+ .description('subcommands for internal use, the API of the commands may change')
13
+ .command('visualize-topology', 'visualize network topology')
14
+ .parse();
15
+ //# sourceMappingURL=streamr-internal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"streamr-internal.js","sourceRoot":"","sources":["../../bin/streamr-internal.ts"],"names":[],"mappings":";;;;;;AACA,yCAAmC;AACnC,mEAAiC;AAEjC,mBAAO;KACF,OAAO,CAAC,sBAAG,CAAC,OAAO,CAAC;KACpB,KAAK,CAAC,oBAAoB,CAAC;KAC3B,WAAW,CAAC,kEAAkE,CAAC;KAC/E,OAAO,CAAC,oBAAoB,EAAE,4BAA4B,CAAC;KAC3D,KAAK,EAAE,CAAA"}
@@ -15,5 +15,6 @@ commander_1.program
15
15
  .command('mock-data', 'mock data subcommands')
16
16
  .command('wallet', 'wallet subcommands')
17
17
  .command('governance', 'governance subcommands')
18
+ .command('internal', 'subcommands for internal use')
18
19
  .parse();
19
20
  //# sourceMappingURL=streamr.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"streamr.js","sourceRoot":"","sources":["../../bin/streamr.ts"],"names":[],"mappings":";;;;;;AACA,yCAAmC;AACnC,mEAAiC;AAEjC,mBAAO;KACF,OAAO,CAAC,sBAAG,CAAC,OAAO,CAAC;KACpB,KAAK,CAAC,iCAAiC,CAAC;KACxC,WAAW,CAAC,yEAAyE,CAAC;KACtF,OAAO,CAAC,QAAQ,EAAE,oBAAoB,CAAC;KACvC,OAAO,CAAC,cAAc,EAAE,0BAA0B,CAAC;KACnD,OAAO,CAAC,WAAW,EAAE,uBAAuB,CAAC;KAC7C,OAAO,CAAC,QAAQ,EAAE,oBAAoB,CAAC;KACvC,OAAO,CAAC,YAAY,EAAE,wBAAwB,CAAC;KAC/C,KAAK,EAAE,CAAA"}
1
+ {"version":3,"file":"streamr.js","sourceRoot":"","sources":["../../bin/streamr.ts"],"names":[],"mappings":";;;;;;AACA,yCAAmC;AACnC,mEAAiC;AAEjC,mBAAO;KACF,OAAO,CAAC,sBAAG,CAAC,OAAO,CAAC;KACpB,KAAK,CAAC,iCAAiC,CAAC;KACxC,WAAW,CAAC,yEAAyE,CAAC;KACtF,OAAO,CAAC,QAAQ,EAAE,oBAAoB,CAAC;KACvC,OAAO,CAAC,cAAc,EAAE,0BAA0B,CAAC;KACnD,OAAO,CAAC,WAAW,EAAE,uBAAuB,CAAC;KAC7C,OAAO,CAAC,QAAQ,EAAE,oBAAoB,CAAC;KACvC,OAAO,CAAC,YAAY,EAAE,wBAAwB,CAAC;KAC/C,OAAO,CAAC,UAAU,EAAE,8BAA8B,CAAC;KACnD,KAAK,EAAE,CAAA"}
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamr/cli-tools",
3
- "version": "100.2.2",
3
+ "version": "100.2.3",
4
4
  "description": "Command line tools for Streamr",
5
5
  "repository": {
6
6
  "type": "git",
@@ -28,15 +28,15 @@
28
28
  "dependencies": {
29
29
  "@ethersproject/wallet": "^5.5.0",
30
30
  "@snapshot-labs/snapshot.js": "^0.11.8",
31
- "@streamr/sdk": "100.2.2",
32
- "@streamr/utils": "100.2.2",
31
+ "@streamr/sdk": "100.2.3",
32
+ "@streamr/utils": "100.2.3",
33
33
  "commander": "^12.0.0",
34
34
  "easy-table": "^1.1.1",
35
35
  "event-stream": "^4.0.1",
36
36
  "lodash": "^4.17.21"
37
37
  },
38
38
  "devDependencies": {
39
- "@streamr/test-utils": "100.2.2",
39
+ "@streamr/test-utils": "100.2.3",
40
40
  "@types/event-stream": "^4.0.5",
41
41
  "@types/lodash": "^4.14.202",
42
42
  "@types/merge2": "^1.4.4",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamr/cli-tools",
3
- "version": "100.2.2",
3
+ "version": "100.2.3",
4
4
  "description": "Command line tools for Streamr",
5
5
  "repository": {
6
6
  "type": "git",
@@ -28,15 +28,15 @@
28
28
  "dependencies": {
29
29
  "@ethersproject/wallet": "^5.5.0",
30
30
  "@snapshot-labs/snapshot.js": "^0.11.8",
31
- "@streamr/sdk": "100.2.2",
32
- "@streamr/utils": "100.2.2",
31
+ "@streamr/sdk": "100.2.3",
32
+ "@streamr/utils": "100.2.3",
33
33
  "commander": "^12.0.0",
34
34
  "easy-table": "^1.1.1",
35
35
  "event-stream": "^4.0.1",
36
36
  "lodash": "^4.17.21"
37
37
  },
38
38
  "devDependencies": {
39
- "@streamr/test-utils": "100.2.2",
39
+ "@streamr/test-utils": "100.2.3",
40
40
  "@types/event-stream": "^4.0.5",
41
41
  "@types/lodash": "^4.14.202",
42
42
  "@types/merge2": "^1.4.4",