@matter/cli-tool 0.16.0-alpha.0-20250925-9e6a5c124 → 0.16.0-alpha.0-20250926-3a74283f6
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.
|
@@ -18,7 +18,7 @@ Stat.provide((endpoint) => {
|
|
|
18
18
|
if (STATIC.has(path)) {
|
|
19
19
|
return endpoint[path];
|
|
20
20
|
}
|
|
21
|
-
const nodes = endpoint.
|
|
21
|
+
const nodes = endpoint.peers;
|
|
22
22
|
if (path.startsWith(BEHAVIOR_PREFIX)) {
|
|
23
23
|
const id = path.slice(BEHAVIOR_PREFIX.length);
|
|
24
24
|
const behavior2 = endpoint.behaviors.supported[id];
|
|
@@ -82,7 +82,7 @@ function listPaths(endpoint) {
|
|
|
82
82
|
}
|
|
83
83
|
paths.add(basename);
|
|
84
84
|
}
|
|
85
|
-
const nodes = endpoint.
|
|
85
|
+
const nodes = endpoint.peers;
|
|
86
86
|
if (nodes !== void 0) {
|
|
87
87
|
for (const node of nodes) {
|
|
88
88
|
let basename = node.id;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@matter/cli-tool",
|
|
3
|
-
"version": "0.16.0-alpha.0-
|
|
3
|
+
"version": "0.16.0-alpha.0-20250926-3a74283f6",
|
|
4
4
|
"description": "Command line tool for interacting with Matter",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"iot",
|
|
@@ -41,20 +41,20 @@
|
|
|
41
41
|
"#*": "./src/*"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@matter/general": "0.16.0-alpha.0-
|
|
45
|
-
"@matter/model": "0.16.0-alpha.0-
|
|
46
|
-
"@matter/node": "0.16.0-alpha.0-
|
|
47
|
-
"@matter/protocol": "0.16.0-alpha.0-
|
|
48
|
-
"@matter/tools": "0.16.0-alpha.0-
|
|
49
|
-
"@matter/types": "0.16.0-alpha.0-
|
|
50
|
-
"@matter/nodejs": "0.16.0-alpha.0-
|
|
44
|
+
"@matter/general": "0.16.0-alpha.0-20250926-3a74283f6",
|
|
45
|
+
"@matter/model": "0.16.0-alpha.0-20250926-3a74283f6",
|
|
46
|
+
"@matter/node": "0.16.0-alpha.0-20250926-3a74283f6",
|
|
47
|
+
"@matter/protocol": "0.16.0-alpha.0-20250926-3a74283f6",
|
|
48
|
+
"@matter/tools": "0.16.0-alpha.0-20250926-3a74283f6",
|
|
49
|
+
"@matter/types": "0.16.0-alpha.0-20250926-3a74283f6",
|
|
50
|
+
"@matter/nodejs": "0.16.0-alpha.0-20250926-3a74283f6",
|
|
51
51
|
"@types/escodegen": "^0.0.10",
|
|
52
52
|
"acorn": "^8.15.0",
|
|
53
53
|
"ansi-colors": "^4.1.3",
|
|
54
54
|
"escodegen": "^2.1.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@matter/testing": "0.16.0-alpha.0-
|
|
57
|
+
"@matter/testing": "0.16.0-alpha.0-20250926-3a74283f6"
|
|
58
58
|
},
|
|
59
59
|
"files": [
|
|
60
60
|
"dist/**/*",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import type {
|
|
7
|
+
import type { Peers, ServerNode } from "#node";
|
|
8
8
|
import { Endpoint } from "#node";
|
|
9
9
|
import { Directory, Stat } from "#stat.js";
|
|
10
10
|
|
|
@@ -25,7 +25,7 @@ Stat.provide(endpoint => {
|
|
|
25
25
|
return (endpoint as unknown as Record<string, unknown>)[path];
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
const nodes = (endpoint as ServerNode).
|
|
28
|
+
const nodes = (endpoint as ServerNode).peers as Peers | undefined;
|
|
29
29
|
|
|
30
30
|
if (path.startsWith(BEHAVIOR_PREFIX)) {
|
|
31
31
|
const id = path.slice(BEHAVIOR_PREFIX.length);
|
|
@@ -104,7 +104,7 @@ function listPaths(endpoint: Endpoint) {
|
|
|
104
104
|
paths.add(basename);
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
const nodes = (endpoint as ServerNode).
|
|
107
|
+
const nodes = (endpoint as ServerNode).peers;
|
|
108
108
|
if (nodes !== undefined) {
|
|
109
109
|
for (const node of nodes) {
|
|
110
110
|
let basename = node.id;
|