@ours.network/install 2.0.0 → 2.0.2
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 +10 -2
- package/assets/Dockerfile +3 -3
- package/assets/release-lock.json +118 -94
- package/assets/release.json +27 -27
- package/assets/sources.json +38 -38
- package/install.mjs +5 -0
- package/install.sh +5 -2
- package/lib/orchestrate.mjs +3 -2
- package/lib/security-versions.mjs +38 -0
- package/lib/workspace-setup.mjs +11 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -82,6 +82,14 @@ If something cannot be removed, the summary says exactly what and why, the comma
|
|
|
82
82
|
|
|
83
83
|
Running it when nothing is left changes nothing and says so.
|
|
84
84
|
|
|
85
|
+
## Security versions
|
|
86
|
+
|
|
87
|
+
Use stable Node.js 22.23.4+, 24.22.1+ or 26.12.1+ within those reviewed lines ([advisory](https://nodejs.org/en/blog/vulnerability/october-2026-security-releases)). Earlier patches, EOL, prerelease and unreviewed lines are refused before installation; new lines need an updated floor.
|
|
88
|
+
|
|
89
|
+
Workspace setup checks the PATH-selected `cloudflared --version` before grant redemption or setup writes. Requires 2026.10.2+ ([incident](https://blog.cloudflare.com/emudhra-certificate-compromise/), [update instructions](https://developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-tunnel/downloads/update-cloudflared/)); missing, failed, timed-out or unrecognized output refuses setup.
|
|
90
|
+
|
|
91
|
+
New images use Node.js 24.22.1. Existing images, retained Dockerfiles, running processes and native service-manager settings are not migrated or audited: update/rebuild and restart them separately. Native service-manager settings and future starts are outside these checks. Fleet tunnel guards require the separate Fleet release and installer manifest update.
|
|
92
|
+
|
|
85
93
|
## Install first, connect the App afterwards
|
|
86
94
|
|
|
87
95
|
```sh
|
|
@@ -113,7 +121,7 @@ See [one-connection setup, localhost:4050 and systemd migration](GATEWAY_SETUP.m
|
|
|
113
121
|
|
|
114
122
|
# @ours.network/install — one installer for the whole stack
|
|
115
123
|
|
|
116
|
-
Requires Node.js
|
|
124
|
+
Requires a patched Node.js release (see Security versions) and npm. Install the selected release channel:
|
|
117
125
|
|
|
118
126
|
```sh
|
|
119
127
|
npm install -g @ours.network/install@nightly
|
|
@@ -257,7 +265,7 @@ diagnostic artifact under the root's `runtime` directory; all installer calls us
|
|
|
257
265
|
an explicit project directory, Compose file, project name and selected environment.
|
|
258
266
|
Assets resolve from the installed package, independently of the working directory.
|
|
259
267
|
|
|
260
|
-
Package mode requires Node.js
|
|
268
|
+
Package mode requires a patched Node.js release, npm and a working systemd user manager on
|
|
261
269
|
Linux/WSL or a launchd GUI user domain on macOS. Source builds also require Git,
|
|
262
270
|
Python 3, a C/C++ toolchain, make, and the selected repositories' own prerequisites.
|
|
263
271
|
Docker mode requires a working Docker engine and Compose 2.35+; its build image
|
package/assets/Dockerfile
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# syntax=docker/dockerfile:1
|
|
2
|
-
FROM node:24 AS toolchain
|
|
2
|
+
FROM node:24.22.1 AS toolchain
|
|
3
3
|
RUN apt-get update && apt-get install -y --no-install-recommends build-essential python3 ca-certificates git && rm -rf /var/lib/apt/lists/*
|
|
4
4
|
FROM toolchain AS build
|
|
5
5
|
WORKDIR /opt/ours
|
|
@@ -30,7 +30,7 @@ COPY --chmod=644 scripts/runtime/healthcheck.mjs /opt/ours/docker/healthcheck.mj
|
|
|
30
30
|
COPY --chmod=644 scripts/runtime/start-telegram.sh scripts/runtime/health-telegram.sh scripts/runtime/start-cowork.sh scripts/runtime/health-cowork.sh scripts/runtime/start-messenger.sh scripts/runtime/health-messenger.mjs scripts/runtime/notifications-gateway.mjs scripts/runtime/supervise.mjs scripts/runtime/recover.mjs scripts/runtime/dependency-ready.mjs /opt/ours/docker/
|
|
31
31
|
COPY --chmod=644 scripts/runtime/daemon-client-prefix.mjs /opt/ours/docker/daemon-client-prefix.mjs
|
|
32
32
|
RUN chmod 755 /opt/ours/maintenance /opt/ours/docker
|
|
33
|
-
FROM node:24 AS maintenance
|
|
33
|
+
FROM node:24.22.1 AS maintenance
|
|
34
34
|
LABEL network.ours.build-context="1"
|
|
35
35
|
WORKDIR /opt/ours
|
|
36
36
|
COPY --from=build /opt/ours /opt/ours
|
|
@@ -39,7 +39,7 @@ COPY --chmod=644 scripts/maintenance/package.json /opt/ours/docker/package.json
|
|
|
39
39
|
RUN --mount=type=cache,id=ours-dist-2-npm,target=/root/.npm,sharing=locked npm install --prefix /opt/ours/docker --omit=dev --ignore-scripts --no-audit --no-fund
|
|
40
40
|
USER 1000:1000
|
|
41
41
|
ENTRYPOINT ["node", "/opt/ours/docker/state-operation.mjs"]
|
|
42
|
-
FROM node:24 AS runtime
|
|
42
|
+
FROM node:24.22.1 AS runtime
|
|
43
43
|
LABEL network.ours.build-context="1"
|
|
44
44
|
WORKDIR /opt/ours
|
|
45
45
|
COPY --from=build /opt/ours /opt/ours
|
package/assets/release-lock.json
CHANGED
|
@@ -8,17 +8,17 @@
|
|
|
8
8
|
"name": "ours-release-set-verification",
|
|
9
9
|
"version": "0.0.0",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@ours.network/claude-code": "2.0.
|
|
12
|
-
"@ours.network/cli": "4.0.
|
|
13
|
-
"@ours.network/codex": "2.0.
|
|
14
|
-
"@ours.network/cowork": "2.0.
|
|
15
|
-
"@ours.network/daemon": "5.0.
|
|
16
|
-
"@ours.network/fleet": "2.
|
|
17
|
-
"@ours.network/mcp": "2.0.
|
|
18
|
-
"@ours.network/messenger-server": "2.0.
|
|
19
|
-
"@ours.network/notifications": "1.0.
|
|
20
|
-
"@ours.network/sdk": "5.0.
|
|
21
|
-
"@ours.network/tg-connector": "2.0.
|
|
11
|
+
"@ours.network/claude-code": "2.0.1",
|
|
12
|
+
"@ours.network/cli": "4.0.1",
|
|
13
|
+
"@ours.network/codex": "2.0.1",
|
|
14
|
+
"@ours.network/cowork": "2.0.1",
|
|
15
|
+
"@ours.network/daemon": "5.0.1",
|
|
16
|
+
"@ours.network/fleet": "2.2.0",
|
|
17
|
+
"@ours.network/mcp": "2.0.1",
|
|
18
|
+
"@ours.network/messenger-server": "2.0.1",
|
|
19
|
+
"@ours.network/notifications": "1.0.1",
|
|
20
|
+
"@ours.network/sdk": "5.0.1",
|
|
21
|
+
"@ours.network/tg-connector": "2.0.1"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"node_modules/@adapt-toolkit/sdk": {
|
|
@@ -66,9 +66,9 @@
|
|
|
66
66
|
}
|
|
67
67
|
},
|
|
68
68
|
"node_modules/@adapt-toolkit/sdk/node_modules/body-parser": {
|
|
69
|
-
"version": "1.20.
|
|
70
|
-
"resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.
|
|
71
|
-
"integrity": "sha512-
|
|
69
|
+
"version": "1.20.9",
|
|
70
|
+
"resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.9.tgz",
|
|
71
|
+
"integrity": "sha512-FISIQxV5u91Y9gvuFq3q/tA/qTqLJn3AhRcEvyozyhJTh5OBFFtv827AdHU7Rbyct4r+Ba1/99oFa1Y3yuFsdw==",
|
|
72
72
|
"license": "MIT",
|
|
73
73
|
"dependencies": {
|
|
74
74
|
"bytes": "~3.1.2",
|
|
@@ -261,6 +261,22 @@
|
|
|
261
261
|
"integrity": "sha512-A/AGNMFN3c8bOlvV9RreMdrv7jsmF9XIfDeCd87+I8RNg6s78BhJxMu69NEMHBSJFxKidViTEdruRwEk/WIKqA==",
|
|
262
262
|
"license": "MIT"
|
|
263
263
|
},
|
|
264
|
+
"node_modules/@adapt-toolkit/sdk/node_modules/qs": {
|
|
265
|
+
"version": "6.16.2",
|
|
266
|
+
"resolved": "https://registry.npmjs.org/qs/-/qs-6.16.2.tgz",
|
|
267
|
+
"integrity": "sha512-VYdnB5S7/0IeXzBacUtwNAaM6d7Y/PgYnNC7bJCI6meqA/OgnsQbZMtVW8Dt2D1PHgbHGtYmhSoEIgvt7xZ2ZA==",
|
|
268
|
+
"license": "BSD-3-Clause",
|
|
269
|
+
"dependencies": {
|
|
270
|
+
"es-define-property": "^1.0.1",
|
|
271
|
+
"side-channel": "^1.1.1"
|
|
272
|
+
},
|
|
273
|
+
"engines": {
|
|
274
|
+
"node": ">=0.6"
|
|
275
|
+
},
|
|
276
|
+
"funding": {
|
|
277
|
+
"url": "https://github.com/sponsors/ljharb"
|
|
278
|
+
}
|
|
279
|
+
},
|
|
264
280
|
"node_modules/@adapt-toolkit/sdk/node_modules/range-parser": {
|
|
265
281
|
"version": "1.2.1",
|
|
266
282
|
"resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
|
|
@@ -542,9 +558,9 @@
|
|
|
542
558
|
]
|
|
543
559
|
},
|
|
544
560
|
"node_modules/@anthropic-ai/sdk": {
|
|
545
|
-
"version": "1.
|
|
546
|
-
"resolved": "https://registry.npmjs.org/@anthropic-ai/sdk/-/sdk-1.
|
|
547
|
-
"integrity": "sha512-
|
|
561
|
+
"version": "1.3.0",
|
|
562
|
+
"resolved": "https://registry.npmjs.org/@anthropic-ai/sdk/-/sdk-1.3.0.tgz",
|
|
563
|
+
"integrity": "sha512-k7z9BlLLPxfZH+ov7dS6EnaN/wiZeV8YNT1LZfrpAHIy7oY7pHr4UzirF9f2OlHtFEnRBOX+AZQ91Y5fK+TPTw==",
|
|
548
564
|
"license": "Apache-2.0",
|
|
549
565
|
"optional": true,
|
|
550
566
|
"peer": true,
|
|
@@ -623,9 +639,9 @@
|
|
|
623
639
|
"license": "BSD-3-Clause"
|
|
624
640
|
},
|
|
625
641
|
"node_modules/@fastify/deepmerge": {
|
|
626
|
-
"version": "3.2.
|
|
627
|
-
"resolved": "https://registry.npmjs.org/@fastify/deepmerge/-/deepmerge-3.2.
|
|
628
|
-
"integrity": "sha512-
|
|
642
|
+
"version": "3.2.4",
|
|
643
|
+
"resolved": "https://registry.npmjs.org/@fastify/deepmerge/-/deepmerge-3.2.4.tgz",
|
|
644
|
+
"integrity": "sha512-kc8GQq5gX9RRhw0rov3DMrN8wS8yRlxJRdDzsYwwdBV/wazuVgc/1K7CKL90tlvu3RlHan6Y0R0aE3nJtBz2eQ==",
|
|
629
645
|
"funding": [
|
|
630
646
|
{
|
|
631
647
|
"type": "github",
|
|
@@ -762,9 +778,9 @@
|
|
|
762
778
|
}
|
|
763
779
|
},
|
|
764
780
|
"node_modules/@modelcontextprotocol/sdk": {
|
|
765
|
-
"version": "1.32.
|
|
766
|
-
"resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.32.
|
|
767
|
-
"integrity": "sha512-
|
|
781
|
+
"version": "1.32.2",
|
|
782
|
+
"resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.32.2.tgz",
|
|
783
|
+
"integrity": "sha512-SWsVtH/0vULSQStoZ6xxH2K09Li8fXYTMC64ZeogCdpZ3XSi1eCPOByV1OpuJxuI3OcmHhosDWYyii07tpPsLw==",
|
|
768
784
|
"license": "MIT",
|
|
769
785
|
"dependencies": {
|
|
770
786
|
"@hono/node-server": "^1.19.9 || ^2.0.5",
|
|
@@ -936,14 +952,14 @@
|
|
|
936
952
|
}
|
|
937
953
|
},
|
|
938
954
|
"node_modules/@ours.network/claude-code": {
|
|
939
|
-
"version": "2.0.
|
|
940
|
-
"resolved": "https://registry.npmjs.org/@ours.network/claude-code/-/claude-code-2.0.
|
|
941
|
-
"integrity": "sha512-
|
|
955
|
+
"version": "2.0.1",
|
|
956
|
+
"resolved": "https://registry.npmjs.org/@ours.network/claude-code/-/claude-code-2.0.1.tgz",
|
|
957
|
+
"integrity": "sha512-AxhhV2yXxJyVZRPOD2yhYSag9BvgEpXriYios9qxrN3d107LYELZswXPpfxYJckNg4dIwHYouBGf9i2VJT4v9g==",
|
|
942
958
|
"license": "FSL-1.1-Apache-2.0",
|
|
943
959
|
"dependencies": {
|
|
944
960
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
945
|
-
"@ours.network/mcp": "2.0.
|
|
946
|
-
"@ours.network/sdk": "5.0.
|
|
961
|
+
"@ours.network/mcp": "2.0.1",
|
|
962
|
+
"@ours.network/sdk": "5.0.1",
|
|
947
963
|
"ws": "^8.21.0",
|
|
948
964
|
"zod": "^3.25.76"
|
|
949
965
|
},
|
|
@@ -952,12 +968,12 @@
|
|
|
952
968
|
}
|
|
953
969
|
},
|
|
954
970
|
"node_modules/@ours.network/cli": {
|
|
955
|
-
"version": "4.0.
|
|
956
|
-
"resolved": "https://registry.npmjs.org/@ours.network/cli/-/cli-4.0.
|
|
957
|
-
"integrity": "sha512-
|
|
971
|
+
"version": "4.0.1",
|
|
972
|
+
"resolved": "https://registry.npmjs.org/@ours.network/cli/-/cli-4.0.1.tgz",
|
|
973
|
+
"integrity": "sha512-kFLW5E6aB3YN6VbMMu18gx/A/aJSG8yypHtvsG2jDius0tHBi+ckvQ9XxWRis9exnIw1nqu7ajfQq4J+HI7iNw==",
|
|
958
974
|
"license": "FSL-1.1-Apache-2.0",
|
|
959
975
|
"dependencies": {
|
|
960
|
-
"@ours.network/sdk": "^5.0.
|
|
976
|
+
"@ours.network/sdk": "^5.0.1"
|
|
961
977
|
},
|
|
962
978
|
"bin": {
|
|
963
979
|
"ours": "dist/cli.js"
|
|
@@ -967,14 +983,14 @@
|
|
|
967
983
|
}
|
|
968
984
|
},
|
|
969
985
|
"node_modules/@ours.network/codex": {
|
|
970
|
-
"version": "2.0.
|
|
971
|
-
"resolved": "https://registry.npmjs.org/@ours.network/codex/-/codex-2.0.
|
|
972
|
-
"integrity": "sha512-
|
|
986
|
+
"version": "2.0.1",
|
|
987
|
+
"resolved": "https://registry.npmjs.org/@ours.network/codex/-/codex-2.0.1.tgz",
|
|
988
|
+
"integrity": "sha512-YZZXi+dwxSz2IgHQ334auOLpKZlmg0MCPmGaXnS2ZjI6GZFKzJxjYegvvEkQOVEKJL8CEhuZ7DFdJ5i4+oW6Xw==",
|
|
973
989
|
"license": "FSL-1.1-Apache-2.0",
|
|
974
990
|
"dependencies": {
|
|
975
991
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
976
|
-
"@ours.network/mcp": "2.0.
|
|
977
|
-
"@ours.network/sdk": "5.0.
|
|
992
|
+
"@ours.network/mcp": "2.0.1",
|
|
993
|
+
"@ours.network/sdk": "5.0.1",
|
|
978
994
|
"ws": "^8.21.0",
|
|
979
995
|
"zod": "^3.25.76"
|
|
980
996
|
},
|
|
@@ -987,12 +1003,12 @@
|
|
|
987
1003
|
}
|
|
988
1004
|
},
|
|
989
1005
|
"node_modules/@ours.network/cowork": {
|
|
990
|
-
"version": "2.0.
|
|
991
|
-
"resolved": "https://registry.npmjs.org/@ours.network/cowork/-/cowork-2.0.
|
|
992
|
-
"integrity": "sha512-
|
|
1006
|
+
"version": "2.0.1",
|
|
1007
|
+
"resolved": "https://registry.npmjs.org/@ours.network/cowork/-/cowork-2.0.1.tgz",
|
|
1008
|
+
"integrity": "sha512-KrDQ+4S33BZJ3HuD+704kdq/Ezk5qrVB78YsSkAxS1dlq6z3EHPDkn4579I23/0QwbhKko71o4qUYo7JOAlz2w==",
|
|
993
1009
|
"license": "FSL-1.1-Apache-2.0",
|
|
994
1010
|
"dependencies": {
|
|
995
|
-
"@ours.network/sdk": "5.0.
|
|
1011
|
+
"@ours.network/sdk": "5.0.1",
|
|
996
1012
|
"ajv": "8.20.0",
|
|
997
1013
|
"better-sqlite3": "13.0.3",
|
|
998
1014
|
"react": "18.3.1",
|
|
@@ -1007,14 +1023,14 @@
|
|
|
1007
1023
|
}
|
|
1008
1024
|
},
|
|
1009
1025
|
"node_modules/@ours.network/daemon": {
|
|
1010
|
-
"version": "5.0.
|
|
1011
|
-
"resolved": "https://registry.npmjs.org/@ours.network/daemon/-/daemon-5.0.
|
|
1012
|
-
"integrity": "sha512-
|
|
1026
|
+
"version": "5.0.1",
|
|
1027
|
+
"resolved": "https://registry.npmjs.org/@ours.network/daemon/-/daemon-5.0.1.tgz",
|
|
1028
|
+
"integrity": "sha512-fovi1la/WmajrPnSKGH+d7f1CqoMxPcbjhU6fRBSpKIVdxkQPLwflbJwL/vfAwuwrl1SOLLMJFUJskVXYJdDRw==",
|
|
1013
1029
|
"license": "FSL-1.1-Apache-2.0",
|
|
1014
1030
|
"dependencies": {
|
|
1015
1031
|
"@adapt-toolkit/sdk": "0.12.1",
|
|
1016
1032
|
"@adapt-toolkit/sdk-native": "0.12.1",
|
|
1017
|
-
"@ours.network/sdk": "^5.0.
|
|
1033
|
+
"@ours.network/sdk": "^5.0.1",
|
|
1018
1034
|
"ajv": "^8.20.0",
|
|
1019
1035
|
"pg": "^8.16.3",
|
|
1020
1036
|
"ws": "^8.22.0"
|
|
@@ -1030,16 +1046,16 @@
|
|
|
1030
1046
|
}
|
|
1031
1047
|
},
|
|
1032
1048
|
"node_modules/@ours.network/fleet": {
|
|
1033
|
-
"version": "2.
|
|
1034
|
-
"resolved": "https://registry.npmjs.org/@ours.network/fleet/-/fleet-2.
|
|
1035
|
-
"integrity": "sha512-
|
|
1049
|
+
"version": "2.2.0",
|
|
1050
|
+
"resolved": "https://registry.npmjs.org/@ours.network/fleet/-/fleet-2.2.0.tgz",
|
|
1051
|
+
"integrity": "sha512-oA/M5FGjFg23NkPl7sIWaVxhwZ+7vqyHWKzbpm0U2mzeQuwHJiCKjgK+V5oJkU5sa2y3vL6v88AffvTXMEfNbA==",
|
|
1036
1052
|
"license": "FSL-1.1-Apache-2.0",
|
|
1037
1053
|
"dependencies": {
|
|
1038
1054
|
"@agentclientprotocol/sdk": "^1.3.0",
|
|
1039
1055
|
"@fastify/websocket": "^11.2.0",
|
|
1040
|
-
"@ours.network/cli": "4.0.
|
|
1041
|
-
"@ours.network/mcp": "2.0.
|
|
1042
|
-
"@ours.network/sdk": "5.0.
|
|
1056
|
+
"@ours.network/cli": "4.0.1",
|
|
1057
|
+
"@ours.network/mcp": "2.0.1",
|
|
1058
|
+
"@ours.network/sdk": "5.0.1",
|
|
1043
1059
|
"commander": "^12.1.0",
|
|
1044
1060
|
"fastify": "^5.4.0",
|
|
1045
1061
|
"qrcode": "1.5.4",
|
|
@@ -1052,7 +1068,7 @@
|
|
|
1052
1068
|
"ours-fleet": "dist/cli.js"
|
|
1053
1069
|
},
|
|
1054
1070
|
"engines": {
|
|
1055
|
-
"node": ">=22.
|
|
1071
|
+
"node": ">=22.23.4 <23 || >=24.22.1 <25 || >=26.12.1 <27"
|
|
1056
1072
|
},
|
|
1057
1073
|
"optionalDependencies": {
|
|
1058
1074
|
"@agentclientprotocol/claude-agent-acp": "^0.63.0",
|
|
@@ -1069,13 +1085,13 @@
|
|
|
1069
1085
|
}
|
|
1070
1086
|
},
|
|
1071
1087
|
"node_modules/@ours.network/mcp": {
|
|
1072
|
-
"version": "2.0.
|
|
1073
|
-
"resolved": "https://registry.npmjs.org/@ours.network/mcp/-/mcp-2.0.
|
|
1074
|
-
"integrity": "sha512-
|
|
1088
|
+
"version": "2.0.1",
|
|
1089
|
+
"resolved": "https://registry.npmjs.org/@ours.network/mcp/-/mcp-2.0.1.tgz",
|
|
1090
|
+
"integrity": "sha512-P/+RyV3oJf6KQ4H/D7XVHye8yazEfT9fwDaV8ldkCeFN+/7k7MoxJcZPTZrZic2Ielf5kmuSu2misK2FVyv6zA==",
|
|
1075
1091
|
"license": "FSL-1.1-Apache-2.0",
|
|
1076
1092
|
"dependencies": {
|
|
1077
1093
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
1078
|
-
"@ours.network/sdk": "5.0.
|
|
1094
|
+
"@ours.network/sdk": "5.0.1",
|
|
1079
1095
|
"zod": "^3.23.8"
|
|
1080
1096
|
},
|
|
1081
1097
|
"bin": {
|
|
@@ -1086,13 +1102,13 @@
|
|
|
1086
1102
|
}
|
|
1087
1103
|
},
|
|
1088
1104
|
"node_modules/@ours.network/messenger-server": {
|
|
1089
|
-
"version": "2.0.
|
|
1090
|
-
"resolved": "https://registry.npmjs.org/@ours.network/messenger-server/-/messenger-server-2.0.
|
|
1091
|
-
"integrity": "sha512-
|
|
1105
|
+
"version": "2.0.1",
|
|
1106
|
+
"resolved": "https://registry.npmjs.org/@ours.network/messenger-server/-/messenger-server-2.0.1.tgz",
|
|
1107
|
+
"integrity": "sha512-P/mg84GJKZRpX+vrEaoIJDuRof/+vFPYH+AwCElERgIhRAz48iqj+a/HuYa+NpE0flzdlW5cFEZJvelkNcFy1A==",
|
|
1092
1108
|
"license": "FSL-1.1-Apache-2.0",
|
|
1093
1109
|
"dependencies": {
|
|
1094
1110
|
"@eslint-community/regexpp": "4.12.2",
|
|
1095
|
-
"@ours.network/sdk": "5.0.
|
|
1111
|
+
"@ours.network/sdk": "5.0.1",
|
|
1096
1112
|
"parse5": "^8.0.1",
|
|
1097
1113
|
"web-push": "^3.6.7",
|
|
1098
1114
|
"ws": "^8.21.0"
|
|
@@ -1105,9 +1121,9 @@
|
|
|
1105
1121
|
}
|
|
1106
1122
|
},
|
|
1107
1123
|
"node_modules/@ours.network/notifications": {
|
|
1108
|
-
"version": "1.0.
|
|
1109
|
-
"resolved": "https://registry.npmjs.org/@ours.network/notifications/-/notifications-1.0.
|
|
1110
|
-
"integrity": "sha512-
|
|
1124
|
+
"version": "1.0.1",
|
|
1125
|
+
"resolved": "https://registry.npmjs.org/@ours.network/notifications/-/notifications-1.0.1.tgz",
|
|
1126
|
+
"integrity": "sha512-4AUpWQd13m53EinmxF6Q2OO9xfkZ5+UrKwTvlnq3LaLCnPz/AfchzaHkAWDAq9ZeIMZHpsgaJ0FptS+ToFXzbg==",
|
|
1111
1127
|
"license": "FSL-1.1-Apache-2.0",
|
|
1112
1128
|
"dependencies": {
|
|
1113
1129
|
"web-push": "3.6.7",
|
|
@@ -1121,9 +1137,9 @@
|
|
|
1121
1137
|
}
|
|
1122
1138
|
},
|
|
1123
1139
|
"node_modules/@ours.network/sdk": {
|
|
1124
|
-
"version": "5.0.
|
|
1125
|
-
"resolved": "https://registry.npmjs.org/@ours.network/sdk/-/sdk-5.0.
|
|
1126
|
-
"integrity": "sha512-
|
|
1140
|
+
"version": "5.0.1",
|
|
1141
|
+
"resolved": "https://registry.npmjs.org/@ours.network/sdk/-/sdk-5.0.1.tgz",
|
|
1142
|
+
"integrity": "sha512-V05UlHsttQrzoyVKm+hwMb84ym47svn1yzp7Kp56JAsGWKXH6TtHLfzSlbxHf42+Hv89a2T3Zx5HXmUNWX7eFg==",
|
|
1127
1143
|
"license": "FSL-1.1-Apache-2.0",
|
|
1128
1144
|
"workspaces": [
|
|
1129
1145
|
".",
|
|
@@ -1134,12 +1150,12 @@
|
|
|
1134
1150
|
}
|
|
1135
1151
|
},
|
|
1136
1152
|
"node_modules/@ours.network/tg-connector": {
|
|
1137
|
-
"version": "2.0.
|
|
1138
|
-
"resolved": "https://registry.npmjs.org/@ours.network/tg-connector/-/tg-connector-2.0.
|
|
1139
|
-
"integrity": "sha512-
|
|
1153
|
+
"version": "2.0.1",
|
|
1154
|
+
"resolved": "https://registry.npmjs.org/@ours.network/tg-connector/-/tg-connector-2.0.1.tgz",
|
|
1155
|
+
"integrity": "sha512-o37XVXLbVmyKdnJiZpY7skfvAve2d3Wo9VO1vstaKFVFvbsXME1zoJNPONBrVcqXu0RxPoaer4teSll2JCrFoQ==",
|
|
1140
1156
|
"license": "FSL-1.1-Apache-2.0",
|
|
1141
1157
|
"dependencies": {
|
|
1142
|
-
"@ours.network/sdk": "5.0.
|
|
1158
|
+
"@ours.network/sdk": "5.0.1",
|
|
1143
1159
|
"undici": "^7.28.0"
|
|
1144
1160
|
},
|
|
1145
1161
|
"bin": {
|
|
@@ -1320,18 +1336,18 @@
|
|
|
1320
1336
|
"license": "MIT"
|
|
1321
1337
|
},
|
|
1322
1338
|
"node_modules/body-parser": {
|
|
1323
|
-
"version": "2.
|
|
1324
|
-
"resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.
|
|
1325
|
-
"integrity": "sha512-
|
|
1339
|
+
"version": "2.4.0",
|
|
1340
|
+
"resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.4.0.tgz",
|
|
1341
|
+
"integrity": "sha512-Ifk1KcLrxaGt1occQagQNFNNOqRt1LFuehEnHHzB8Z6cRgIxRU1TBaiIsUiCdA+gy5PL7Y1IX31DNKkRmxtXjQ==",
|
|
1326
1342
|
"license": "MIT",
|
|
1327
1343
|
"dependencies": {
|
|
1328
1344
|
"bytes": "^3.1.2",
|
|
1329
|
-
"content-type": "^2.
|
|
1345
|
+
"content-type": "^2.1.0",
|
|
1330
1346
|
"debug": "^4.4.3",
|
|
1331
1347
|
"http-errors": "^2.0.1",
|
|
1332
|
-
"iconv-lite": "^0.7.
|
|
1348
|
+
"iconv-lite": "^0.7.3",
|
|
1333
1349
|
"on-finished": "^2.4.1",
|
|
1334
|
-
"qs": "^6.
|
|
1350
|
+
"qs": "^6.16.1",
|
|
1335
1351
|
"raw-body": "^3.0.2",
|
|
1336
1352
|
"type-is": "^2.1.0"
|
|
1337
1353
|
},
|
|
@@ -1695,12 +1711,16 @@
|
|
|
1695
1711
|
"license": "MIT"
|
|
1696
1712
|
},
|
|
1697
1713
|
"node_modules/encodeurl": {
|
|
1698
|
-
"version": "2.0.
|
|
1699
|
-
"resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.
|
|
1700
|
-
"integrity": "sha512-
|
|
1714
|
+
"version": "2.0.1",
|
|
1715
|
+
"resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.1.tgz",
|
|
1716
|
+
"integrity": "sha512-Ev/hIyePLZtpL98x562lvPtenrUfGr0lfaf44HFZ+hDEwso7ccV9QAZrEVLg0hxNAzygaAFxy2dYaAKKM0G06A==",
|
|
1701
1717
|
"license": "MIT",
|
|
1702
1718
|
"engines": {
|
|
1703
1719
|
"node": ">= 0.8"
|
|
1720
|
+
},
|
|
1721
|
+
"funding": {
|
|
1722
|
+
"type": "opencollective",
|
|
1723
|
+
"url": "https://opencollective.com/express"
|
|
1704
1724
|
}
|
|
1705
1725
|
},
|
|
1706
1726
|
"node_modules/end-of-stream": {
|
|
@@ -1878,9 +1898,9 @@
|
|
|
1878
1898
|
"license": "MIT"
|
|
1879
1899
|
},
|
|
1880
1900
|
"node_modules/fast-json-stringify": {
|
|
1881
|
-
"version": "7.
|
|
1882
|
-
"resolved": "https://registry.npmjs.org/fast-json-stringify/-/fast-json-stringify-7.
|
|
1883
|
-
"integrity": "sha512-
|
|
1901
|
+
"version": "7.2.0",
|
|
1902
|
+
"resolved": "https://registry.npmjs.org/fast-json-stringify/-/fast-json-stringify-7.2.0.tgz",
|
|
1903
|
+
"integrity": "sha512-q18imgm9fEdQVfvJbRJALE9VP/A5HGme0+NUnWcmFYM9rbQbLkZZk20FyIp1LQ8gDOauQKwqMc52YozqFaQyOw==",
|
|
1884
1904
|
"funding": [
|
|
1885
1905
|
{
|
|
1886
1906
|
"type": "github",
|
|
@@ -2172,9 +2192,9 @@
|
|
|
2172
2192
|
"license": "MIT"
|
|
2173
2193
|
},
|
|
2174
2194
|
"node_modules/hono": {
|
|
2175
|
-
"version": "4.13.
|
|
2176
|
-
"resolved": "https://registry.npmjs.org/hono/-/hono-4.13.
|
|
2177
|
-
"integrity": "sha512-
|
|
2195
|
+
"version": "4.13.14",
|
|
2196
|
+
"resolved": "https://registry.npmjs.org/hono/-/hono-4.13.14.tgz",
|
|
2197
|
+
"integrity": "sha512-yhRLQ21U6qa9Hsu2N7Qcbh8tE+WKEcoErjIo56LeSGiGXGp9sA7UpE86Ui9uexb61KakiGwuHMn2QdV7w6i6kQ==",
|
|
2178
2198
|
"license": "MIT",
|
|
2179
2199
|
"engines": {
|
|
2180
2200
|
"node": ">=16.9.0"
|
|
@@ -2245,9 +2265,9 @@
|
|
|
2245
2265
|
"license": "ISC"
|
|
2246
2266
|
},
|
|
2247
2267
|
"node_modules/ip-address": {
|
|
2248
|
-
"version": "10.7.
|
|
2249
|
-
"resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.7.
|
|
2250
|
-
"integrity": "sha512-
|
|
2268
|
+
"version": "10.7.5",
|
|
2269
|
+
"resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.7.5.tgz",
|
|
2270
|
+
"integrity": "sha512-t2v0rkILYv9WXmSL7TpAaU3HXgaFYOPUcH3QHgwQ++gpJuH3bqyMy4Fvt/DJCTKwzH3Cf+bAp5W/mFL39KPLzA==",
|
|
2251
2271
|
"license": "MIT",
|
|
2252
2272
|
"engines": {
|
|
2253
2273
|
"node": ">= 12"
|
|
@@ -2667,15 +2687,19 @@
|
|
|
2667
2687
|
}
|
|
2668
2688
|
},
|
|
2669
2689
|
"node_modules/on-finished": {
|
|
2670
|
-
"version": "2.4.
|
|
2671
|
-
"resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.
|
|
2672
|
-
"integrity": "sha512-
|
|
2690
|
+
"version": "2.4.2",
|
|
2691
|
+
"resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.2.tgz",
|
|
2692
|
+
"integrity": "sha512-ATWUv387i+nLD49EiDoOft5scf32Vsdz3ktrQJG9bi7jRFmaXTssvyvj1EmeKVVgvesbqUtvQQvaS2TpTukAZQ==",
|
|
2673
2693
|
"license": "MIT",
|
|
2674
2694
|
"dependencies": {
|
|
2675
2695
|
"ee-first": "1.1.1"
|
|
2676
2696
|
},
|
|
2677
2697
|
"engines": {
|
|
2678
2698
|
"node": ">= 0.8"
|
|
2699
|
+
},
|
|
2700
|
+
"funding": {
|
|
2701
|
+
"type": "opencollective",
|
|
2702
|
+
"url": "https://opencollective.com/express"
|
|
2679
2703
|
}
|
|
2680
2704
|
},
|
|
2681
2705
|
"node_modules/once": {
|
|
@@ -3049,9 +3073,9 @@
|
|
|
3049
3073
|
}
|
|
3050
3074
|
},
|
|
3051
3075
|
"node_modules/qs": {
|
|
3052
|
-
"version": "6.
|
|
3053
|
-
"resolved": "https://registry.npmjs.org/qs/-/qs-6.
|
|
3054
|
-
"integrity": "sha512-
|
|
3076
|
+
"version": "6.17.0",
|
|
3077
|
+
"resolved": "https://registry.npmjs.org/qs/-/qs-6.17.0.tgz",
|
|
3078
|
+
"integrity": "sha512-5LK5BZ2XDHMvcUJaf0CQ5HL3aVgKbpklvByC7qLSxYkfE8COEEbJg5xCHWCTqzqi0Gs4Jn5Mv5v3R38W6edscA==",
|
|
3055
3079
|
"license": "BSD-3-Clause",
|
|
3056
3080
|
"dependencies": {
|
|
3057
3081
|
"es-define-property": "^1.0.1",
|
package/assets/release.json
CHANGED
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": 1,
|
|
3
3
|
"channel": "stable",
|
|
4
|
-
"installerVersion": "2.0.
|
|
4
|
+
"installerVersion": "2.0.2",
|
|
5
5
|
"packages": {
|
|
6
6
|
"@ours.network/sdk": {
|
|
7
|
-
"version": "5.0.
|
|
8
|
-
"integrity": "sha512-
|
|
7
|
+
"version": "5.0.1",
|
|
8
|
+
"integrity": "sha512-V05UlHsttQrzoyVKm+hwMb84ym47svn1yzp7Kp56JAsGWKXH6TtHLfzSlbxHf42+Hv89a2T3Zx5HXmUNWX7eFg=="
|
|
9
9
|
},
|
|
10
10
|
"@ours.network/cli": {
|
|
11
|
-
"version": "4.0.
|
|
12
|
-
"integrity": "sha512-
|
|
11
|
+
"version": "4.0.1",
|
|
12
|
+
"integrity": "sha512-kFLW5E6aB3YN6VbMMu18gx/A/aJSG8yypHtvsG2jDius0tHBi+ckvQ9XxWRis9exnIw1nqu7ajfQq4J+HI7iNw=="
|
|
13
13
|
},
|
|
14
14
|
"@ours.network/tg-connector": {
|
|
15
|
-
"version": "2.0.
|
|
16
|
-
"integrity": "sha512-
|
|
15
|
+
"version": "2.0.1",
|
|
16
|
+
"integrity": "sha512-o37XVXLbVmyKdnJiZpY7skfvAve2d3Wo9VO1vstaKFVFvbsXME1zoJNPONBrVcqXu0RxPoaer4teSll2JCrFoQ=="
|
|
17
17
|
},
|
|
18
18
|
"@ours.network/cowork": {
|
|
19
|
-
"version": "2.0.
|
|
20
|
-
"integrity": "sha512-
|
|
19
|
+
"version": "2.0.1",
|
|
20
|
+
"integrity": "sha512-KrDQ+4S33BZJ3HuD+704kdq/Ezk5qrVB78YsSkAxS1dlq6z3EHPDkn4579I23/0QwbhKko71o4qUYo7JOAlz2w=="
|
|
21
21
|
},
|
|
22
22
|
"@ours.network/messenger-server": {
|
|
23
|
-
"version": "2.0.
|
|
24
|
-
"integrity": "sha512-
|
|
23
|
+
"version": "2.0.1",
|
|
24
|
+
"integrity": "sha512-P/mg84GJKZRpX+vrEaoIJDuRof/+vFPYH+AwCElERgIhRAz48iqj+a/HuYa+NpE0flzdlW5cFEZJvelkNcFy1A=="
|
|
25
25
|
},
|
|
26
26
|
"@ours.network/notifications": {
|
|
27
|
-
"version": "1.0.
|
|
28
|
-
"integrity": "sha512-
|
|
27
|
+
"version": "1.0.1",
|
|
28
|
+
"integrity": "sha512-4AUpWQd13m53EinmxF6Q2OO9xfkZ5+UrKwTvlnq3LaLCnPz/AfchzaHkAWDAq9ZeIMZHpsgaJ0FptS+ToFXzbg=="
|
|
29
29
|
},
|
|
30
30
|
"@ours.network/fleet": {
|
|
31
|
-
"version": "2.
|
|
32
|
-
"integrity": "sha512-
|
|
31
|
+
"version": "2.2.0",
|
|
32
|
+
"integrity": "sha512-oA/M5FGjFg23NkPl7sIWaVxhwZ+7vqyHWKzbpm0U2mzeQuwHJiCKjgK+V5oJkU5sa2y3vL6v88AffvTXMEfNbA=="
|
|
33
33
|
},
|
|
34
34
|
"@ours.network/mcp": {
|
|
35
|
-
"version": "2.0.
|
|
36
|
-
"integrity": "sha512-
|
|
35
|
+
"version": "2.0.1",
|
|
36
|
+
"integrity": "sha512-P/+RyV3oJf6KQ4H/D7XVHye8yazEfT9fwDaV8ldkCeFN+/7k7MoxJcZPTZrZic2Ielf5kmuSu2misK2FVyv6zA=="
|
|
37
37
|
},
|
|
38
38
|
"@ours.network/codex": {
|
|
39
|
-
"version": "2.0.
|
|
40
|
-
"integrity": "sha512-
|
|
39
|
+
"version": "2.0.1",
|
|
40
|
+
"integrity": "sha512-YZZXi+dwxSz2IgHQ334auOLpKZlmg0MCPmGaXnS2ZjI6GZFKzJxjYegvvEkQOVEKJL8CEhuZ7DFdJ5i4+oW6Xw=="
|
|
41
41
|
},
|
|
42
42
|
"@ours.network/claude-code": {
|
|
43
|
-
"version": "2.0.
|
|
44
|
-
"integrity": "sha512-
|
|
43
|
+
"version": "2.0.1",
|
|
44
|
+
"integrity": "sha512-AxhhV2yXxJyVZRPOD2yhYSag9BvgEpXriYios9qxrN3d107LYELZswXPpfxYJckNg4dIwHYouBGf9i2VJT4v9g=="
|
|
45
45
|
},
|
|
46
46
|
"@ours.network/daemon": {
|
|
47
|
-
"version": "5.0.
|
|
48
|
-
"integrity": "sha512-
|
|
47
|
+
"version": "5.0.1",
|
|
48
|
+
"integrity": "sha512-fovi1la/WmajrPnSKGH+d7f1CqoMxPcbjhU6fRBSpKIVdxkQPLwflbJwL/vfAwuwrl1SOLLMJFUJskVXYJdDRw=="
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
"hostCli": {
|
|
52
52
|
"@ours.network/sdk": {
|
|
53
|
-
"version": "5.0.
|
|
54
|
-
"integrity": "sha512-
|
|
53
|
+
"version": "5.0.1",
|
|
54
|
+
"integrity": "sha512-V05UlHsttQrzoyVKm+hwMb84ym47svn1yzp7Kp56JAsGWKXH6TtHLfzSlbxHf42+Hv89a2T3Zx5HXmUNWX7eFg=="
|
|
55
55
|
},
|
|
56
56
|
"@ours.network/cli": {
|
|
57
|
-
"version": "4.0.
|
|
58
|
-
"integrity": "sha512-
|
|
57
|
+
"version": "4.0.1",
|
|
58
|
+
"integrity": "sha512-kFLW5E6aB3YN6VbMMu18gx/A/aJSG8yypHtvsG2jDius0tHBi+ckvQ9XxWRis9exnIw1nqu7ajfQq4J+HI7iNw=="
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
}
|
package/assets/sources.json
CHANGED
|
@@ -2,108 +2,108 @@
|
|
|
2
2
|
"release": {
|
|
3
3
|
"schema": 1,
|
|
4
4
|
"channel": "stable",
|
|
5
|
-
"installerVersion": "2.0.
|
|
5
|
+
"installerVersion": "2.0.2",
|
|
6
6
|
"packages": {
|
|
7
7
|
"@ours.network/sdk": {
|
|
8
|
-
"version": "5.0.
|
|
9
|
-
"integrity": "sha512-
|
|
8
|
+
"version": "5.0.1",
|
|
9
|
+
"integrity": "sha512-V05UlHsttQrzoyVKm+hwMb84ym47svn1yzp7Kp56JAsGWKXH6TtHLfzSlbxHf42+Hv89a2T3Zx5HXmUNWX7eFg=="
|
|
10
10
|
},
|
|
11
11
|
"@ours.network/cli": {
|
|
12
|
-
"version": "4.0.
|
|
13
|
-
"integrity": "sha512-
|
|
12
|
+
"version": "4.0.1",
|
|
13
|
+
"integrity": "sha512-kFLW5E6aB3YN6VbMMu18gx/A/aJSG8yypHtvsG2jDius0tHBi+ckvQ9XxWRis9exnIw1nqu7ajfQq4J+HI7iNw=="
|
|
14
14
|
},
|
|
15
15
|
"@ours.network/tg-connector": {
|
|
16
|
-
"version": "2.0.
|
|
17
|
-
"integrity": "sha512-
|
|
16
|
+
"version": "2.0.1",
|
|
17
|
+
"integrity": "sha512-o37XVXLbVmyKdnJiZpY7skfvAve2d3Wo9VO1vstaKFVFvbsXME1zoJNPONBrVcqXu0RxPoaer4teSll2JCrFoQ=="
|
|
18
18
|
},
|
|
19
19
|
"@ours.network/cowork": {
|
|
20
|
-
"version": "2.0.
|
|
21
|
-
"integrity": "sha512-
|
|
20
|
+
"version": "2.0.1",
|
|
21
|
+
"integrity": "sha512-KrDQ+4S33BZJ3HuD+704kdq/Ezk5qrVB78YsSkAxS1dlq6z3EHPDkn4579I23/0QwbhKko71o4qUYo7JOAlz2w=="
|
|
22
22
|
},
|
|
23
23
|
"@ours.network/messenger-server": {
|
|
24
|
-
"version": "2.0.
|
|
25
|
-
"integrity": "sha512-
|
|
24
|
+
"version": "2.0.1",
|
|
25
|
+
"integrity": "sha512-P/mg84GJKZRpX+vrEaoIJDuRof/+vFPYH+AwCElERgIhRAz48iqj+a/HuYa+NpE0flzdlW5cFEZJvelkNcFy1A=="
|
|
26
26
|
},
|
|
27
27
|
"@ours.network/notifications": {
|
|
28
|
-
"version": "1.0.
|
|
29
|
-
"integrity": "sha512-
|
|
28
|
+
"version": "1.0.1",
|
|
29
|
+
"integrity": "sha512-4AUpWQd13m53EinmxF6Q2OO9xfkZ5+UrKwTvlnq3LaLCnPz/AfchzaHkAWDAq9ZeIMZHpsgaJ0FptS+ToFXzbg=="
|
|
30
30
|
},
|
|
31
31
|
"@ours.network/fleet": {
|
|
32
|
-
"version": "2.
|
|
33
|
-
"integrity": "sha512-
|
|
32
|
+
"version": "2.2.0",
|
|
33
|
+
"integrity": "sha512-oA/M5FGjFg23NkPl7sIWaVxhwZ+7vqyHWKzbpm0U2mzeQuwHJiCKjgK+V5oJkU5sa2y3vL6v88AffvTXMEfNbA=="
|
|
34
34
|
},
|
|
35
35
|
"@ours.network/mcp": {
|
|
36
|
-
"version": "2.0.
|
|
37
|
-
"integrity": "sha512-
|
|
36
|
+
"version": "2.0.1",
|
|
37
|
+
"integrity": "sha512-P/+RyV3oJf6KQ4H/D7XVHye8yazEfT9fwDaV8ldkCeFN+/7k7MoxJcZPTZrZic2Ielf5kmuSu2misK2FVyv6zA=="
|
|
38
38
|
},
|
|
39
39
|
"@ours.network/codex": {
|
|
40
|
-
"version": "2.0.
|
|
41
|
-
"integrity": "sha512-
|
|
40
|
+
"version": "2.0.1",
|
|
41
|
+
"integrity": "sha512-YZZXi+dwxSz2IgHQ334auOLpKZlmg0MCPmGaXnS2ZjI6GZFKzJxjYegvvEkQOVEKJL8CEhuZ7DFdJ5i4+oW6Xw=="
|
|
42
42
|
},
|
|
43
43
|
"@ours.network/claude-code": {
|
|
44
|
-
"version": "2.0.
|
|
45
|
-
"integrity": "sha512-
|
|
44
|
+
"version": "2.0.1",
|
|
45
|
+
"integrity": "sha512-AxhhV2yXxJyVZRPOD2yhYSag9BvgEpXriYios9qxrN3d107LYELZswXPpfxYJckNg4dIwHYouBGf9i2VJT4v9g=="
|
|
46
46
|
},
|
|
47
47
|
"@ours.network/daemon": {
|
|
48
|
-
"version": "5.0.
|
|
49
|
-
"integrity": "sha512-
|
|
48
|
+
"version": "5.0.1",
|
|
49
|
+
"integrity": "sha512-fovi1la/WmajrPnSKGH+d7f1CqoMxPcbjhU6fRBSpKIVdxkQPLwflbJwL/vfAwuwrl1SOLLMJFUJskVXYJdDRw=="
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
"hostCli": {
|
|
53
53
|
"@ours.network/sdk": {
|
|
54
|
-
"version": "5.0.
|
|
55
|
-
"integrity": "sha512-
|
|
54
|
+
"version": "5.0.1",
|
|
55
|
+
"integrity": "sha512-V05UlHsttQrzoyVKm+hwMb84ym47svn1yzp7Kp56JAsGWKXH6TtHLfzSlbxHf42+Hv89a2T3Zx5HXmUNWX7eFg=="
|
|
56
56
|
},
|
|
57
57
|
"@ours.network/cli": {
|
|
58
|
-
"version": "4.0.
|
|
59
|
-
"integrity": "sha512-
|
|
58
|
+
"version": "4.0.1",
|
|
59
|
+
"integrity": "sha512-kFLW5E6aB3YN6VbMMu18gx/A/aJSG8yypHtvsG2jDius0tHBi+ckvQ9XxWRis9exnIw1nqu7ajfQq4J+HI7iNw=="
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
"packages": {
|
|
64
64
|
"@ours.network/sdk": {
|
|
65
65
|
"type": "npm",
|
|
66
|
-
"version": "5.0.
|
|
66
|
+
"version": "5.0.1"
|
|
67
67
|
},
|
|
68
68
|
"@ours.network/cli": {
|
|
69
69
|
"type": "npm",
|
|
70
|
-
"version": "4.0.
|
|
70
|
+
"version": "4.0.1"
|
|
71
71
|
},
|
|
72
72
|
"@ours.network/tg-connector": {
|
|
73
73
|
"type": "npm",
|
|
74
|
-
"version": "2.0.
|
|
74
|
+
"version": "2.0.1"
|
|
75
75
|
},
|
|
76
76
|
"@ours.network/cowork": {
|
|
77
77
|
"type": "npm",
|
|
78
|
-
"version": "2.0.
|
|
78
|
+
"version": "2.0.1"
|
|
79
79
|
},
|
|
80
80
|
"@ours.network/messenger-server": {
|
|
81
81
|
"type": "npm",
|
|
82
|
-
"version": "2.0.
|
|
82
|
+
"version": "2.0.1"
|
|
83
83
|
},
|
|
84
84
|
"@ours.network/notifications": {
|
|
85
85
|
"type": "npm",
|
|
86
|
-
"version": "1.0.
|
|
86
|
+
"version": "1.0.1"
|
|
87
87
|
},
|
|
88
88
|
"@ours.network/fleet": {
|
|
89
89
|
"type": "npm",
|
|
90
|
-
"version": "2.
|
|
90
|
+
"version": "2.2.0"
|
|
91
91
|
},
|
|
92
92
|
"@ours.network/mcp": {
|
|
93
93
|
"type": "npm",
|
|
94
|
-
"version": "2.0.
|
|
94
|
+
"version": "2.0.1"
|
|
95
95
|
},
|
|
96
96
|
"@ours.network/codex": {
|
|
97
97
|
"type": "npm",
|
|
98
|
-
"version": "2.0.
|
|
98
|
+
"version": "2.0.1"
|
|
99
99
|
},
|
|
100
100
|
"@ours.network/claude-code": {
|
|
101
101
|
"type": "npm",
|
|
102
|
-
"version": "2.0.
|
|
102
|
+
"version": "2.0.1"
|
|
103
103
|
},
|
|
104
104
|
"@ours.network/daemon": {
|
|
105
105
|
"type": "npm",
|
|
106
|
-
"version": "5.0.
|
|
106
|
+
"version": "5.0.1"
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
}
|
package/install.mjs
CHANGED
|
@@ -2,12 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
import { readFileSync } from 'node:fs';
|
|
4
4
|
|
|
5
|
+
import { isSecureNodeVersion, nodeVersionError } from './lib/security-versions.mjs';
|
|
5
6
|
import { realEffects } from './lib/effects.mjs';
|
|
6
7
|
import { installerFailure } from './lib/diagnostics.mjs';
|
|
7
8
|
import { runWorkspaceSetup } from './lib/workspace-setup.mjs';
|
|
8
9
|
import { runSetup } from './lib/setup.mjs';
|
|
9
10
|
import { closeSync, makeWriter, openTty } from './lib/ui.mjs';
|
|
10
11
|
|
|
12
|
+
if (!isSecureNodeVersion(process.versions.node)) {
|
|
13
|
+
process.stderr.write(`${nodeVersionError(process.versions.node)}\n`);
|
|
14
|
+
process.exit(1);
|
|
15
|
+
}
|
|
11
16
|
const version = JSON.parse(readFileSync(new URL('./package.json', import.meta.url), 'utf8')).version;
|
|
12
17
|
const ttyFd = openTty();
|
|
13
18
|
|
package/install.sh
CHANGED
|
@@ -41,13 +41,13 @@ PKG="${OURS_INSTALL_PKG:-@ours.network/install}"
|
|
|
41
41
|
NPM_BIN="${OURS_NPM:-npm}"
|
|
42
42
|
|
|
43
43
|
# --- 1) Node.js + npm check + friendly guidance ------------------------------------------------
|
|
44
|
-
# The installer needs Node.js
|
|
44
|
+
# The installer needs a patched Node.js 22, 24 or 26 release (and npm to fetch the command). If missing, don't fail
|
|
45
45
|
# cryptically: explain what Node is and how to get it for this OS, point at nodejs.org, and exit
|
|
46
46
|
# cleanly (0) so a piped run ends gracefully rather than with a scary non-zero error.
|
|
47
47
|
if ! command -v node >/dev/null 2>&1 || ! command -v "$NPM_BIN" >/dev/null 2>&1; then
|
|
48
48
|
os="$(uname -s 2>/dev/null || echo unknown)"
|
|
49
49
|
printf '\n'
|
|
50
|
-
say "ours needs Node.js (
|
|
50
|
+
say "ours needs Node.js (a patched 22.23.4+, 24.22.1+ or 26.12.1+ release, which includes npm) — it isn't installed yet."
|
|
51
51
|
say "Node.js is a common, free runtime; here's how to get it:"
|
|
52
52
|
case "$os" in
|
|
53
53
|
Darwin)
|
|
@@ -65,6 +65,9 @@ if ! command -v node >/dev/null 2>&1 || ! command -v "$NPM_BIN" >/dev/null 2>&1;
|
|
|
65
65
|
exit 0
|
|
66
66
|
fi
|
|
67
67
|
|
|
68
|
+
# Refuse unpatched Node.js before anything runs (floors: lib/security-versions.mjs).
|
|
69
|
+
node -e 'const f={22:[23,4],24:[22,1],26:[12,1]},m=/^(\d+)\.(\d+)\.(\d+)$/.exec(process.versions.node),v=m&&m.slice(1).map(Number),p=v&&f[v[0]];if(!p||v[1]<p[0]||(v[1]===p[0]&&v[2]<p[1])){console.error("Node.js "+process.versions.node+" is not permitted. Ours requires a patched supported Node.js release: 22.23.4+, 24.22.1+, 26.12.1+ within those release lines; prerelease, end-of-life and unreviewed release lines are refused. Earlier patch levels are affected by CVE-2026-111497 (Brotli decompression out-of-bounds write): https://nodejs.org/en/blog/vulnerability/october-2026-security-releases Update Node.js from https://nodejs.org/en/download or your package manager, then retry.");process.exit(1)}' || exit 1
|
|
70
|
+
|
|
68
71
|
# --- 2) DEV / LOCAL path: run the sibling install.mjs directly ---------------------------------
|
|
69
72
|
# From a clone (or an explicit OURS_INSTALLER_MJS), skip npm entirely and run the local installer.
|
|
70
73
|
MJS=""
|
package/lib/orchestrate.mjs
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { assertSecureNodeVersion } from './security-versions.mjs';
|
|
1
2
|
import { validateGatewayClientProfile } from './target.mjs';
|
|
2
3
|
import { enableGateway } from './gateway-transition.mjs';
|
|
3
4
|
import { executeLegacyMigration } from './legacy-migration.mjs';
|
|
@@ -796,8 +797,8 @@ export function runPreflight(effects) {
|
|
|
796
797
|
}
|
|
797
798
|
effects.out(ok(`Platform: ${plat.label} (supported)`));
|
|
798
799
|
const version = String(effects.nodeVersion ?? '0');
|
|
799
|
-
|
|
800
|
-
effects.out(warn(
|
|
800
|
+
try { assertSecureNodeVersion(version); } catch (error) {
|
|
801
|
+
effects.out(warn(error.message));
|
|
801
802
|
return { ok: false, platform: plat, node: version };
|
|
802
803
|
}
|
|
803
804
|
effects.out(ok(`Node.js ${version}`));
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// Reviewed stable branches only: do not admit vulnerable intermediate Node lines.
|
|
2
|
+
export const NODE_SECURITY_ADVISORY = 'https://nodejs.org/en/blog/vulnerability/october-2026-security-releases';
|
|
3
|
+
export const NODE_DOWNLOAD_URL = 'https://nodejs.org/en/download';
|
|
4
|
+
export function isSecureNodeVersion(version) {
|
|
5
|
+
const match = /^v?(\d{1,9})\.(\d{1,9})\.(\d{1,9})$/.exec(String(version));
|
|
6
|
+
const [major, minor, patch] = match ? match.slice(1).map(Number) : [];
|
|
7
|
+
const floor = { 22: [23, 4], 24: [22, 1], 26: [12, 1] }[major];
|
|
8
|
+
return Boolean(floor && (minor > floor[0] || (minor === floor[0] && patch >= floor[1])));
|
|
9
|
+
}
|
|
10
|
+
export function nodeVersionError(version) {
|
|
11
|
+
const found = /^v?[0-9A-Za-z.+-]{1,64}$/.test(String(version)) ? version : 'unrecognized';
|
|
12
|
+
return `Node.js ${found} is not permitted. Requires stable Node.js 22.23.4+, 24.22.1+ or 26.12.1+ within those supported lines (CVE-2026-111497): ${NODE_SECURITY_ADVISORY} Update Node.js from ${NODE_DOWNLOAD_URL}, then retry.`;
|
|
13
|
+
}
|
|
14
|
+
export function assertSecureNodeVersion(version = process.versions.node) {
|
|
15
|
+
if (!isSecureNodeVersion(version)) throw Error(nodeVersionError(version));
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export const CLOUDFLARED_SECURITY_ADVISORY = 'https://blog.cloudflare.com/emudhra-certificate-compromise/';
|
|
19
|
+
export const CLOUDFLARED_UPDATE_URL = 'https://developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-tunnel/downloads/update-cloudflared/';
|
|
20
|
+
export const CLOUDFLARED_VERSION_TIMEOUT_MS = 10_000;
|
|
21
|
+
function cloudflaredVersion(output) {
|
|
22
|
+
const match = /^cloudflared version (\d{4})\.(\d{1,2})\.(\d{1,6})(?: \(built [^\r\n()]*\))?\r?\n?$/.exec(String(output));
|
|
23
|
+
const version = match?.slice(1).map(Number);
|
|
24
|
+
return version && version[1] >= 1 && version[1] <= 12 ? version : null;
|
|
25
|
+
}
|
|
26
|
+
export function isSecureCloudflaredVersion(output) {
|
|
27
|
+
const v = cloudflaredVersion(output);
|
|
28
|
+
return Boolean(v && (v[0] > 2026 || (v[0] === 2026 && (v[1] > 10 || (v[1] === 10 && v[2] >= 2)))));
|
|
29
|
+
}
|
|
30
|
+
const cloudflaredGuidance = `A tunnel requires cloudflared 2026.10.2 or later due to compromised certificate trust: ${CLOUDFLARED_SECURITY_ADVISORY} Update the cloudflared executable on PATH (${CLOUDFLARED_UPDATE_URL}), check with "cloudflared --version", then retry.`;
|
|
31
|
+
export function cloudflaredUnavailableError(reason) {
|
|
32
|
+
return `cloudflared could not be verified (${reason}). ${cloudflaredGuidance}`;
|
|
33
|
+
}
|
|
34
|
+
export function assertSecureCloudflaredVersion(output) {
|
|
35
|
+
if (isSecureCloudflaredVersion(output)) return;
|
|
36
|
+
const version = cloudflaredVersion(output);
|
|
37
|
+
throw Error(`cloudflared ${version ? `version ${version.join('.')}` : 'with an unrecognized version'} is not permitted. ${cloudflaredGuidance}`);
|
|
38
|
+
}
|
package/lib/workspace-setup.mjs
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { assertSecureCloudflaredVersion, assertSecureNodeVersion, cloudflaredUnavailableError, CLOUDFLARED_VERSION_TIMEOUT_MS } from './security-versions.mjs';
|
|
1
2
|
import { chmodSync, existsSync, lstatSync, mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from 'node:fs';
|
|
2
3
|
import { join,resolve } from 'node:path';
|
|
3
4
|
import {parseSetupArgs} from './setup-options.mjs';
|
|
@@ -65,7 +66,16 @@ export function extractWorkspaceArgs(args){
|
|
|
65
66
|
if(values['--setup-workspace'] && values['--setup-workspace-file'])throw Error('Choose one private payload transport');
|
|
66
67
|
return {values,rest};
|
|
67
68
|
}
|
|
69
|
+
// The connector Fleet later runs is checked before any grant redemption or setup write.
|
|
70
|
+
export async function requireSecureCloudflared(effects,timeout=CLOUDFLARED_VERSION_TIMEOUT_MS){
|
|
71
|
+
let result;
|
|
72
|
+
try{result=await effects.run('cloudflared',['--version'],{sensitive:true,timeout});}
|
|
73
|
+
catch(error){throw Error(cloudflaredUnavailableError(error?.code==='ENOENT'?'not found':error?.code==='ETIMEDOUT'?'timed out':'version check failed'));}
|
|
74
|
+
if(!result?.ok)throw Error(cloudflaredUnavailableError('version check failed'));
|
|
75
|
+
assertSecureCloudflaredVersion(result.stdout);
|
|
76
|
+
}
|
|
68
77
|
export async function runWorkspaceSetup(args,effects,runSetup,request=fetch){
|
|
78
|
+
assertSecureNodeVersion(effects.nodeVersion ?? process.versions.node);
|
|
69
79
|
const migrateAppOrigin=args.includes('--workspace-migrate-app-origin');
|
|
70
80
|
if(args.filter(arg=>arg==='--workspace-migrate-app-origin').length>1)throw Error('Duplicate workspace migration flag');
|
|
71
81
|
const {values,rest}=extractWorkspaceArgs(args.filter(arg=>arg!=='--workspace-migrate-app-origin'));let encoded;
|
|
@@ -122,7 +132,7 @@ export async function runWorkspaceSetup(args,effects,runSetup,request=fetch){
|
|
|
122
132
|
if(p)await requireOptionalProfile();
|
|
123
133
|
if(preserveProfile && !await capable('workspace.enroll.preserve-profile-v1'))throw Error('Existing-host setup requires a profile-preserving Fleet release; nothing was changed');
|
|
124
134
|
const help=await effects.run(fleetBin,['workspace-enroll','--help'],{sensitive:true});if(!help.ok)throw Error('Fleet workspace enrollment is unavailable');
|
|
125
|
-
|
|
135
|
+
await requireSecureCloudflared(effects);
|
|
126
136
|
if(options.includes('--dry-run')){
|
|
127
137
|
if(grant)effects.out('Preview only: the workspace setup grant was not redeemed; this command remains usable until it expires.');
|
|
128
138
|
if(!existing)return runSetup(setupOptions(p?.rootName ?? standIn),effects);return 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ours.network/install",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The all-in-one ours.network installer: one shared daemon, MCP, cowork, Telegram, Fleet initialization, harness plugins, Human identity, progress UI, and guided next steps.",
|
|
6
6
|
"type": "module",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"directory": "packages/installer"
|
|
29
29
|
},
|
|
30
30
|
"engines": {
|
|
31
|
-
"node": ">=22"
|
|
31
|
+
"node": ">=22.23.4 <23 || >=24.22.1 <25 || >=26.12.1 <27"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
34
|
"test": "node --test",
|