@ours.network/install 2.0.4 → 2.0.6
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/assets/release-lock.json +56 -56
- package/assets/release.json +25 -25
- package/assets/sources.json +35 -35
- package/lib/orchestrate.mjs +52 -0
- package/package.json +1 -1
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.
|
|
13
|
-
"@ours.network/codex": "2.0.
|
|
14
|
-
"@ours.network/cowork": "2.0.
|
|
15
|
-
"@ours.network/daemon": "5.
|
|
16
|
-
"@ours.network/fleet": "2.2.
|
|
17
|
-
"@ours.network/mcp": "2.0.
|
|
18
|
-
"@ours.network/messenger-server": "2.0.
|
|
11
|
+
"@ours.network/claude-code": "2.0.3",
|
|
12
|
+
"@ours.network/cli": "4.2.0",
|
|
13
|
+
"@ours.network/codex": "2.0.3",
|
|
14
|
+
"@ours.network/cowork": "2.0.3",
|
|
15
|
+
"@ours.network/daemon": "5.2.0",
|
|
16
|
+
"@ours.network/fleet": "2.2.6",
|
|
17
|
+
"@ours.network/mcp": "2.0.3",
|
|
18
|
+
"@ours.network/messenger-server": "2.0.3",
|
|
19
19
|
"@ours.network/notifications": "1.0.1",
|
|
20
|
-
"@ours.network/sdk": "5.
|
|
21
|
-
"@ours.network/tg-connector": "2.0.
|
|
20
|
+
"@ours.network/sdk": "5.2.0",
|
|
21
|
+
"@ours.network/tg-connector": "2.0.3"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"node_modules/@adapt-toolkit/sdk": {
|
|
@@ -952,14 +952,14 @@
|
|
|
952
952
|
}
|
|
953
953
|
},
|
|
954
954
|
"node_modules/@ours.network/claude-code": {
|
|
955
|
-
"version": "2.0.
|
|
956
|
-
"resolved": "https://registry.npmjs.org/@ours.network/claude-code/-/claude-code-2.0.
|
|
957
|
-
"integrity": "sha512-
|
|
955
|
+
"version": "2.0.3",
|
|
956
|
+
"resolved": "https://registry.npmjs.org/@ours.network/claude-code/-/claude-code-2.0.3.tgz",
|
|
957
|
+
"integrity": "sha512-qVwWr+oPc19HiYHsauMS57GWj2aefYi4enT8C3dQM24vWQ1ZlXwMHuJZbMfGfERafIxpY9uNYyYNbL3ytNIdFg==",
|
|
958
958
|
"license": "FSL-1.1-Apache-2.0",
|
|
959
959
|
"dependencies": {
|
|
960
960
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
961
|
-
"@ours.network/mcp": "2.0.
|
|
962
|
-
"@ours.network/sdk": "5.
|
|
961
|
+
"@ours.network/mcp": "2.0.3",
|
|
962
|
+
"@ours.network/sdk": "5.2.0",
|
|
963
963
|
"ws": "^8.21.0",
|
|
964
964
|
"zod": "^3.25.76"
|
|
965
965
|
},
|
|
@@ -968,12 +968,12 @@
|
|
|
968
968
|
}
|
|
969
969
|
},
|
|
970
970
|
"node_modules/@ours.network/cli": {
|
|
971
|
-
"version": "4.
|
|
972
|
-
"resolved": "https://registry.npmjs.org/@ours.network/cli/-/cli-4.
|
|
973
|
-
"integrity": "sha512-
|
|
971
|
+
"version": "4.2.0",
|
|
972
|
+
"resolved": "https://registry.npmjs.org/@ours.network/cli/-/cli-4.2.0.tgz",
|
|
973
|
+
"integrity": "sha512-4RpFVbn+kyf/JcYd/0jCPq4iAtu5H7wCedQv0CPFNFcCK3+2yK9ogwwq97sFZmM07CwUU0/fZk3Layu80hSd2A==",
|
|
974
974
|
"license": "FSL-1.1-Apache-2.0",
|
|
975
975
|
"dependencies": {
|
|
976
|
-
"@ours.network/sdk": "^5.
|
|
976
|
+
"@ours.network/sdk": "^5.2.0"
|
|
977
977
|
},
|
|
978
978
|
"bin": {
|
|
979
979
|
"ours": "dist/cli.js"
|
|
@@ -983,14 +983,14 @@
|
|
|
983
983
|
}
|
|
984
984
|
},
|
|
985
985
|
"node_modules/@ours.network/codex": {
|
|
986
|
-
"version": "2.0.
|
|
987
|
-
"resolved": "https://registry.npmjs.org/@ours.network/codex/-/codex-2.0.
|
|
988
|
-
"integrity": "sha512-
|
|
986
|
+
"version": "2.0.3",
|
|
987
|
+
"resolved": "https://registry.npmjs.org/@ours.network/codex/-/codex-2.0.3.tgz",
|
|
988
|
+
"integrity": "sha512-9TLOI+RjbSU+XmRPxIGnrsXuUsW13Xpjueq6kk0vPB6k4CptaBUqoVpzYAM6H9SbZ3kA2cTg7/tPyT5D5Q5iuQ==",
|
|
989
989
|
"license": "FSL-1.1-Apache-2.0",
|
|
990
990
|
"dependencies": {
|
|
991
991
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
992
|
-
"@ours.network/mcp": "2.0.
|
|
993
|
-
"@ours.network/sdk": "5.
|
|
992
|
+
"@ours.network/mcp": "2.0.3",
|
|
993
|
+
"@ours.network/sdk": "5.2.0",
|
|
994
994
|
"ws": "^8.21.0",
|
|
995
995
|
"zod": "^3.25.76"
|
|
996
996
|
},
|
|
@@ -1003,12 +1003,12 @@
|
|
|
1003
1003
|
}
|
|
1004
1004
|
},
|
|
1005
1005
|
"node_modules/@ours.network/cowork": {
|
|
1006
|
-
"version": "2.0.
|
|
1007
|
-
"resolved": "https://registry.npmjs.org/@ours.network/cowork/-/cowork-2.0.
|
|
1008
|
-
"integrity": "sha512-
|
|
1006
|
+
"version": "2.0.3",
|
|
1007
|
+
"resolved": "https://registry.npmjs.org/@ours.network/cowork/-/cowork-2.0.3.tgz",
|
|
1008
|
+
"integrity": "sha512-rTolJ7m+q9fn0tuucrrE8xwUSOIMq4zPmSzq541Cfj2aCxbicAlujO/LU0AucRvP1o7Ls3r/EtE5dv6lHRr6Pw==",
|
|
1009
1009
|
"license": "FSL-1.1-Apache-2.0",
|
|
1010
1010
|
"dependencies": {
|
|
1011
|
-
"@ours.network/sdk": "5.
|
|
1011
|
+
"@ours.network/sdk": "5.2.0",
|
|
1012
1012
|
"ajv": "8.20.0",
|
|
1013
1013
|
"better-sqlite3": "13.0.3",
|
|
1014
1014
|
"react": "18.3.1",
|
|
@@ -1023,14 +1023,14 @@
|
|
|
1023
1023
|
}
|
|
1024
1024
|
},
|
|
1025
1025
|
"node_modules/@ours.network/daemon": {
|
|
1026
|
-
"version": "5.
|
|
1027
|
-
"resolved": "https://registry.npmjs.org/@ours.network/daemon/-/daemon-5.
|
|
1028
|
-
"integrity": "sha512-
|
|
1026
|
+
"version": "5.2.0",
|
|
1027
|
+
"resolved": "https://registry.npmjs.org/@ours.network/daemon/-/daemon-5.2.0.tgz",
|
|
1028
|
+
"integrity": "sha512-qveOkNjIjm5utKyRsS1+oDpK2PzrcjxP/O353CcvRIiPDY72/rSTcJyHN31RaKD3d0HXc5193G7DWy6HJMpSTA==",
|
|
1029
1029
|
"license": "FSL-1.1-Apache-2.0",
|
|
1030
1030
|
"dependencies": {
|
|
1031
1031
|
"@adapt-toolkit/sdk": "0.12.1",
|
|
1032
1032
|
"@adapt-toolkit/sdk-native": "0.12.1",
|
|
1033
|
-
"@ours.network/sdk": "^5.
|
|
1033
|
+
"@ours.network/sdk": "^5.2.0",
|
|
1034
1034
|
"ajv": "^8.20.0",
|
|
1035
1035
|
"pg": "^8.16.3",
|
|
1036
1036
|
"ws": "^8.22.0"
|
|
@@ -1046,16 +1046,16 @@
|
|
|
1046
1046
|
}
|
|
1047
1047
|
},
|
|
1048
1048
|
"node_modules/@ours.network/fleet": {
|
|
1049
|
-
"version": "2.2.
|
|
1050
|
-
"resolved": "https://registry.npmjs.org/@ours.network/fleet/-/fleet-2.2.
|
|
1051
|
-
"integrity": "sha512-
|
|
1049
|
+
"version": "2.2.6",
|
|
1050
|
+
"resolved": "https://registry.npmjs.org/@ours.network/fleet/-/fleet-2.2.6.tgz",
|
|
1051
|
+
"integrity": "sha512-Fl8sBN1N4HdzHc3bpomai0hOJei96dXJ3oDiQ2MD57/x7XnzDulh6krgUfAHLKhbOeyIZMnk/AQ/KfcJmPdyQA==",
|
|
1052
1052
|
"license": "FSL-1.1-Apache-2.0",
|
|
1053
1053
|
"dependencies": {
|
|
1054
1054
|
"@agentclientprotocol/sdk": "^1.3.0",
|
|
1055
1055
|
"@fastify/websocket": "^11.2.0",
|
|
1056
|
-
"@ours.network/cli": "4.
|
|
1057
|
-
"@ours.network/mcp": "2.0.
|
|
1058
|
-
"@ours.network/sdk": "5.
|
|
1056
|
+
"@ours.network/cli": "4.2.0",
|
|
1057
|
+
"@ours.network/mcp": "2.0.3",
|
|
1058
|
+
"@ours.network/sdk": "5.2.0",
|
|
1059
1059
|
"commander": "^12.1.0",
|
|
1060
1060
|
"fastify": "^5.4.0",
|
|
1061
1061
|
"qrcode": "1.5.4",
|
|
@@ -1085,13 +1085,13 @@
|
|
|
1085
1085
|
}
|
|
1086
1086
|
},
|
|
1087
1087
|
"node_modules/@ours.network/mcp": {
|
|
1088
|
-
"version": "2.0.
|
|
1089
|
-
"resolved": "https://registry.npmjs.org/@ours.network/mcp/-/mcp-2.0.
|
|
1090
|
-
"integrity": "sha512-
|
|
1088
|
+
"version": "2.0.3",
|
|
1089
|
+
"resolved": "https://registry.npmjs.org/@ours.network/mcp/-/mcp-2.0.3.tgz",
|
|
1090
|
+
"integrity": "sha512-cMfwMBhMuyo6FpFwuzgc4UMjotK0ZoDNkvGz7rgqnz495t3X6Bd7qgV39chRV8P6W8f5KDHLNEk4wgAmjYroNQ==",
|
|
1091
1091
|
"license": "FSL-1.1-Apache-2.0",
|
|
1092
1092
|
"dependencies": {
|
|
1093
1093
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
1094
|
-
"@ours.network/sdk": "5.
|
|
1094
|
+
"@ours.network/sdk": "5.2.0",
|
|
1095
1095
|
"zod": "^3.23.8"
|
|
1096
1096
|
},
|
|
1097
1097
|
"bin": {
|
|
@@ -1102,13 +1102,13 @@
|
|
|
1102
1102
|
}
|
|
1103
1103
|
},
|
|
1104
1104
|
"node_modules/@ours.network/messenger-server": {
|
|
1105
|
-
"version": "2.0.
|
|
1106
|
-
"resolved": "https://registry.npmjs.org/@ours.network/messenger-server/-/messenger-server-2.0.
|
|
1107
|
-
"integrity": "sha512-
|
|
1105
|
+
"version": "2.0.3",
|
|
1106
|
+
"resolved": "https://registry.npmjs.org/@ours.network/messenger-server/-/messenger-server-2.0.3.tgz",
|
|
1107
|
+
"integrity": "sha512-zmOT67wmqp6HlgDrBy2bdvyKiuDQ64JXU1q8rgWQKv/DCJiXVt/xpC0mqCJccrNLKoTFk5IACd1nBPHkcrocCg==",
|
|
1108
1108
|
"license": "FSL-1.1-Apache-2.0",
|
|
1109
1109
|
"dependencies": {
|
|
1110
1110
|
"@eslint-community/regexpp": "4.12.2",
|
|
1111
|
-
"@ours.network/sdk": "5.
|
|
1111
|
+
"@ours.network/sdk": "5.2.0",
|
|
1112
1112
|
"parse5": "^8.0.1",
|
|
1113
1113
|
"web-push": "^3.6.7",
|
|
1114
1114
|
"ws": "^8.21.0"
|
|
@@ -1137,9 +1137,9 @@
|
|
|
1137
1137
|
}
|
|
1138
1138
|
},
|
|
1139
1139
|
"node_modules/@ours.network/sdk": {
|
|
1140
|
-
"version": "5.
|
|
1141
|
-
"resolved": "https://registry.npmjs.org/@ours.network/sdk/-/sdk-5.
|
|
1142
|
-
"integrity": "sha512-
|
|
1140
|
+
"version": "5.2.0",
|
|
1141
|
+
"resolved": "https://registry.npmjs.org/@ours.network/sdk/-/sdk-5.2.0.tgz",
|
|
1142
|
+
"integrity": "sha512-iQskFZQPrsZ6oTpsuyvoNrm2DG2IUF928xM0mSOzDEvm+3QeSYK4ZawEMMAcx/gHhwn6O4LUYcac1tiDrNCwgQ==",
|
|
1143
1143
|
"license": "FSL-1.1-Apache-2.0",
|
|
1144
1144
|
"workspaces": [
|
|
1145
1145
|
".",
|
|
@@ -1150,12 +1150,12 @@
|
|
|
1150
1150
|
}
|
|
1151
1151
|
},
|
|
1152
1152
|
"node_modules/@ours.network/tg-connector": {
|
|
1153
|
-
"version": "2.0.
|
|
1154
|
-
"resolved": "https://registry.npmjs.org/@ours.network/tg-connector/-/tg-connector-2.0.
|
|
1155
|
-
"integrity": "sha512-
|
|
1153
|
+
"version": "2.0.3",
|
|
1154
|
+
"resolved": "https://registry.npmjs.org/@ours.network/tg-connector/-/tg-connector-2.0.3.tgz",
|
|
1155
|
+
"integrity": "sha512-NXto1ouf9l6k2LtRUdpakrnZnxbCymlPLqjy61LBPaVtjiUHF6lS7IJy7dIazHVBOUShbvMOXpT4H+ZCfpMsdw==",
|
|
1156
1156
|
"license": "FSL-1.1-Apache-2.0",
|
|
1157
1157
|
"dependencies": {
|
|
1158
|
-
"@ours.network/sdk": "5.
|
|
1158
|
+
"@ours.network/sdk": "5.2.0",
|
|
1159
1159
|
"undici": "^7.28.0"
|
|
1160
1160
|
},
|
|
1161
1161
|
"bin": {
|
|
@@ -1854,9 +1854,9 @@
|
|
|
1854
1854
|
}
|
|
1855
1855
|
},
|
|
1856
1856
|
"node_modules/express-rate-limit": {
|
|
1857
|
-
"version": "8.7.
|
|
1858
|
-
"resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-8.7.
|
|
1859
|
-
"integrity": "sha512-
|
|
1857
|
+
"version": "8.7.2",
|
|
1858
|
+
"resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-8.7.2.tgz",
|
|
1859
|
+
"integrity": "sha512-U1ScocxDD9WI09LaBVypvNkOtNR5yWAmZLkuKJdAzIchA4YKFYF6GT5IKER7epG58oXtjvGlV0/6ii0F83EyZg==",
|
|
1860
1860
|
"license": "MIT",
|
|
1861
1861
|
"dependencies": {
|
|
1862
1862
|
"debug": "^4.4.3",
|
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.6",
|
|
5
5
|
"packages": {
|
|
6
6
|
"@ours.network/sdk": {
|
|
7
|
-
"version": "5.
|
|
8
|
-
"integrity": "sha512-
|
|
7
|
+
"version": "5.2.0",
|
|
8
|
+
"integrity": "sha512-iQskFZQPrsZ6oTpsuyvoNrm2DG2IUF928xM0mSOzDEvm+3QeSYK4ZawEMMAcx/gHhwn6O4LUYcac1tiDrNCwgQ=="
|
|
9
9
|
},
|
|
10
10
|
"@ours.network/cli": {
|
|
11
|
-
"version": "4.
|
|
12
|
-
"integrity": "sha512-
|
|
11
|
+
"version": "4.2.0",
|
|
12
|
+
"integrity": "sha512-4RpFVbn+kyf/JcYd/0jCPq4iAtu5H7wCedQv0CPFNFcCK3+2yK9ogwwq97sFZmM07CwUU0/fZk3Layu80hSd2A=="
|
|
13
13
|
},
|
|
14
14
|
"@ours.network/tg-connector": {
|
|
15
|
-
"version": "2.0.
|
|
16
|
-
"integrity": "sha512-
|
|
15
|
+
"version": "2.0.3",
|
|
16
|
+
"integrity": "sha512-NXto1ouf9l6k2LtRUdpakrnZnxbCymlPLqjy61LBPaVtjiUHF6lS7IJy7dIazHVBOUShbvMOXpT4H+ZCfpMsdw=="
|
|
17
17
|
},
|
|
18
18
|
"@ours.network/cowork": {
|
|
19
|
-
"version": "2.0.
|
|
20
|
-
"integrity": "sha512-
|
|
19
|
+
"version": "2.0.3",
|
|
20
|
+
"integrity": "sha512-rTolJ7m+q9fn0tuucrrE8xwUSOIMq4zPmSzq541Cfj2aCxbicAlujO/LU0AucRvP1o7Ls3r/EtE5dv6lHRr6Pw=="
|
|
21
21
|
},
|
|
22
22
|
"@ours.network/messenger-server": {
|
|
23
|
-
"version": "2.0.
|
|
24
|
-
"integrity": "sha512-
|
|
23
|
+
"version": "2.0.3",
|
|
24
|
+
"integrity": "sha512-zmOT67wmqp6HlgDrBy2bdvyKiuDQ64JXU1q8rgWQKv/DCJiXVt/xpC0mqCJccrNLKoTFk5IACd1nBPHkcrocCg=="
|
|
25
25
|
},
|
|
26
26
|
"@ours.network/notifications": {
|
|
27
27
|
"version": "1.0.1",
|
|
28
28
|
"integrity": "sha512-4AUpWQd13m53EinmxF6Q2OO9xfkZ5+UrKwTvlnq3LaLCnPz/AfchzaHkAWDAq9ZeIMZHpsgaJ0FptS+ToFXzbg=="
|
|
29
29
|
},
|
|
30
30
|
"@ours.network/fleet": {
|
|
31
|
-
"version": "2.2.
|
|
32
|
-
"integrity": "sha512-
|
|
31
|
+
"version": "2.2.6",
|
|
32
|
+
"integrity": "sha512-Fl8sBN1N4HdzHc3bpomai0hOJei96dXJ3oDiQ2MD57/x7XnzDulh6krgUfAHLKhbOeyIZMnk/AQ/KfcJmPdyQA=="
|
|
33
33
|
},
|
|
34
34
|
"@ours.network/mcp": {
|
|
35
|
-
"version": "2.0.
|
|
36
|
-
"integrity": "sha512-
|
|
35
|
+
"version": "2.0.3",
|
|
36
|
+
"integrity": "sha512-cMfwMBhMuyo6FpFwuzgc4UMjotK0ZoDNkvGz7rgqnz495t3X6Bd7qgV39chRV8P6W8f5KDHLNEk4wgAmjYroNQ=="
|
|
37
37
|
},
|
|
38
38
|
"@ours.network/codex": {
|
|
39
|
-
"version": "2.0.
|
|
40
|
-
"integrity": "sha512-
|
|
39
|
+
"version": "2.0.3",
|
|
40
|
+
"integrity": "sha512-9TLOI+RjbSU+XmRPxIGnrsXuUsW13Xpjueq6kk0vPB6k4CptaBUqoVpzYAM6H9SbZ3kA2cTg7/tPyT5D5Q5iuQ=="
|
|
41
41
|
},
|
|
42
42
|
"@ours.network/claude-code": {
|
|
43
|
-
"version": "2.0.
|
|
44
|
-
"integrity": "sha512-
|
|
43
|
+
"version": "2.0.3",
|
|
44
|
+
"integrity": "sha512-qVwWr+oPc19HiYHsauMS57GWj2aefYi4enT8C3dQM24vWQ1ZlXwMHuJZbMfGfERafIxpY9uNYyYNbL3ytNIdFg=="
|
|
45
45
|
},
|
|
46
46
|
"@ours.network/daemon": {
|
|
47
|
-
"version": "5.
|
|
48
|
-
"integrity": "sha512-
|
|
47
|
+
"version": "5.2.0",
|
|
48
|
+
"integrity": "sha512-qveOkNjIjm5utKyRsS1+oDpK2PzrcjxP/O353CcvRIiPDY72/rSTcJyHN31RaKD3d0HXc5193G7DWy6HJMpSTA=="
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
"hostCli": {
|
|
52
52
|
"@ours.network/sdk": {
|
|
53
|
-
"version": "5.
|
|
54
|
-
"integrity": "sha512-
|
|
53
|
+
"version": "5.2.0",
|
|
54
|
+
"integrity": "sha512-iQskFZQPrsZ6oTpsuyvoNrm2DG2IUF928xM0mSOzDEvm+3QeSYK4ZawEMMAcx/gHhwn6O4LUYcac1tiDrNCwgQ=="
|
|
55
55
|
},
|
|
56
56
|
"@ours.network/cli": {
|
|
57
|
-
"version": "4.
|
|
58
|
-
"integrity": "sha512-
|
|
57
|
+
"version": "4.2.0",
|
|
58
|
+
"integrity": "sha512-4RpFVbn+kyf/JcYd/0jCPq4iAtu5H7wCedQv0CPFNFcCK3+2yK9ogwwq97sFZmM07CwUU0/fZk3Layu80hSd2A=="
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
}
|
package/assets/sources.json
CHANGED
|
@@ -2,84 +2,84 @@
|
|
|
2
2
|
"release": {
|
|
3
3
|
"schema": 1,
|
|
4
4
|
"channel": "stable",
|
|
5
|
-
"installerVersion": "2.0.
|
|
5
|
+
"installerVersion": "2.0.6",
|
|
6
6
|
"packages": {
|
|
7
7
|
"@ours.network/sdk": {
|
|
8
|
-
"version": "5.
|
|
9
|
-
"integrity": "sha512-
|
|
8
|
+
"version": "5.2.0",
|
|
9
|
+
"integrity": "sha512-iQskFZQPrsZ6oTpsuyvoNrm2DG2IUF928xM0mSOzDEvm+3QeSYK4ZawEMMAcx/gHhwn6O4LUYcac1tiDrNCwgQ=="
|
|
10
10
|
},
|
|
11
11
|
"@ours.network/cli": {
|
|
12
|
-
"version": "4.
|
|
13
|
-
"integrity": "sha512-
|
|
12
|
+
"version": "4.2.0",
|
|
13
|
+
"integrity": "sha512-4RpFVbn+kyf/JcYd/0jCPq4iAtu5H7wCedQv0CPFNFcCK3+2yK9ogwwq97sFZmM07CwUU0/fZk3Layu80hSd2A=="
|
|
14
14
|
},
|
|
15
15
|
"@ours.network/tg-connector": {
|
|
16
|
-
"version": "2.0.
|
|
17
|
-
"integrity": "sha512-
|
|
16
|
+
"version": "2.0.3",
|
|
17
|
+
"integrity": "sha512-NXto1ouf9l6k2LtRUdpakrnZnxbCymlPLqjy61LBPaVtjiUHF6lS7IJy7dIazHVBOUShbvMOXpT4H+ZCfpMsdw=="
|
|
18
18
|
},
|
|
19
19
|
"@ours.network/cowork": {
|
|
20
|
-
"version": "2.0.
|
|
21
|
-
"integrity": "sha512-
|
|
20
|
+
"version": "2.0.3",
|
|
21
|
+
"integrity": "sha512-rTolJ7m+q9fn0tuucrrE8xwUSOIMq4zPmSzq541Cfj2aCxbicAlujO/LU0AucRvP1o7Ls3r/EtE5dv6lHRr6Pw=="
|
|
22
22
|
},
|
|
23
23
|
"@ours.network/messenger-server": {
|
|
24
|
-
"version": "2.0.
|
|
25
|
-
"integrity": "sha512-
|
|
24
|
+
"version": "2.0.3",
|
|
25
|
+
"integrity": "sha512-zmOT67wmqp6HlgDrBy2bdvyKiuDQ64JXU1q8rgWQKv/DCJiXVt/xpC0mqCJccrNLKoTFk5IACd1nBPHkcrocCg=="
|
|
26
26
|
},
|
|
27
27
|
"@ours.network/notifications": {
|
|
28
28
|
"version": "1.0.1",
|
|
29
29
|
"integrity": "sha512-4AUpWQd13m53EinmxF6Q2OO9xfkZ5+UrKwTvlnq3LaLCnPz/AfchzaHkAWDAq9ZeIMZHpsgaJ0FptS+ToFXzbg=="
|
|
30
30
|
},
|
|
31
31
|
"@ours.network/fleet": {
|
|
32
|
-
"version": "2.2.
|
|
33
|
-
"integrity": "sha512-
|
|
32
|
+
"version": "2.2.6",
|
|
33
|
+
"integrity": "sha512-Fl8sBN1N4HdzHc3bpomai0hOJei96dXJ3oDiQ2MD57/x7XnzDulh6krgUfAHLKhbOeyIZMnk/AQ/KfcJmPdyQA=="
|
|
34
34
|
},
|
|
35
35
|
"@ours.network/mcp": {
|
|
36
|
-
"version": "2.0.
|
|
37
|
-
"integrity": "sha512-
|
|
36
|
+
"version": "2.0.3",
|
|
37
|
+
"integrity": "sha512-cMfwMBhMuyo6FpFwuzgc4UMjotK0ZoDNkvGz7rgqnz495t3X6Bd7qgV39chRV8P6W8f5KDHLNEk4wgAmjYroNQ=="
|
|
38
38
|
},
|
|
39
39
|
"@ours.network/codex": {
|
|
40
|
-
"version": "2.0.
|
|
41
|
-
"integrity": "sha512-
|
|
40
|
+
"version": "2.0.3",
|
|
41
|
+
"integrity": "sha512-9TLOI+RjbSU+XmRPxIGnrsXuUsW13Xpjueq6kk0vPB6k4CptaBUqoVpzYAM6H9SbZ3kA2cTg7/tPyT5D5Q5iuQ=="
|
|
42
42
|
},
|
|
43
43
|
"@ours.network/claude-code": {
|
|
44
|
-
"version": "2.0.
|
|
45
|
-
"integrity": "sha512-
|
|
44
|
+
"version": "2.0.3",
|
|
45
|
+
"integrity": "sha512-qVwWr+oPc19HiYHsauMS57GWj2aefYi4enT8C3dQM24vWQ1ZlXwMHuJZbMfGfERafIxpY9uNYyYNbL3ytNIdFg=="
|
|
46
46
|
},
|
|
47
47
|
"@ours.network/daemon": {
|
|
48
|
-
"version": "5.
|
|
49
|
-
"integrity": "sha512-
|
|
48
|
+
"version": "5.2.0",
|
|
49
|
+
"integrity": "sha512-qveOkNjIjm5utKyRsS1+oDpK2PzrcjxP/O353CcvRIiPDY72/rSTcJyHN31RaKD3d0HXc5193G7DWy6HJMpSTA=="
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
"hostCli": {
|
|
53
53
|
"@ours.network/sdk": {
|
|
54
|
-
"version": "5.
|
|
55
|
-
"integrity": "sha512-
|
|
54
|
+
"version": "5.2.0",
|
|
55
|
+
"integrity": "sha512-iQskFZQPrsZ6oTpsuyvoNrm2DG2IUF928xM0mSOzDEvm+3QeSYK4ZawEMMAcx/gHhwn6O4LUYcac1tiDrNCwgQ=="
|
|
56
56
|
},
|
|
57
57
|
"@ours.network/cli": {
|
|
58
|
-
"version": "4.
|
|
59
|
-
"integrity": "sha512-
|
|
58
|
+
"version": "4.2.0",
|
|
59
|
+
"integrity": "sha512-4RpFVbn+kyf/JcYd/0jCPq4iAtu5H7wCedQv0CPFNFcCK3+2yK9ogwwq97sFZmM07CwUU0/fZk3Layu80hSd2A=="
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
"packages": {
|
|
64
64
|
"@ours.network/sdk": {
|
|
65
65
|
"type": "npm",
|
|
66
|
-
"version": "5.
|
|
66
|
+
"version": "5.2.0"
|
|
67
67
|
},
|
|
68
68
|
"@ours.network/cli": {
|
|
69
69
|
"type": "npm",
|
|
70
|
-
"version": "4.
|
|
70
|
+
"version": "4.2.0"
|
|
71
71
|
},
|
|
72
72
|
"@ours.network/tg-connector": {
|
|
73
73
|
"type": "npm",
|
|
74
|
-
"version": "2.0.
|
|
74
|
+
"version": "2.0.3"
|
|
75
75
|
},
|
|
76
76
|
"@ours.network/cowork": {
|
|
77
77
|
"type": "npm",
|
|
78
|
-
"version": "2.0.
|
|
78
|
+
"version": "2.0.3"
|
|
79
79
|
},
|
|
80
80
|
"@ours.network/messenger-server": {
|
|
81
81
|
"type": "npm",
|
|
82
|
-
"version": "2.0.
|
|
82
|
+
"version": "2.0.3"
|
|
83
83
|
},
|
|
84
84
|
"@ours.network/notifications": {
|
|
85
85
|
"type": "npm",
|
|
@@ -87,23 +87,23 @@
|
|
|
87
87
|
},
|
|
88
88
|
"@ours.network/fleet": {
|
|
89
89
|
"type": "npm",
|
|
90
|
-
"version": "2.2.
|
|
90
|
+
"version": "2.2.6"
|
|
91
91
|
},
|
|
92
92
|
"@ours.network/mcp": {
|
|
93
93
|
"type": "npm",
|
|
94
|
-
"version": "2.0.
|
|
94
|
+
"version": "2.0.3"
|
|
95
95
|
},
|
|
96
96
|
"@ours.network/codex": {
|
|
97
97
|
"type": "npm",
|
|
98
|
-
"version": "2.0.
|
|
98
|
+
"version": "2.0.3"
|
|
99
99
|
},
|
|
100
100
|
"@ours.network/claude-code": {
|
|
101
101
|
"type": "npm",
|
|
102
|
-
"version": "2.0.
|
|
102
|
+
"version": "2.0.3"
|
|
103
103
|
},
|
|
104
104
|
"@ours.network/daemon": {
|
|
105
105
|
"type": "npm",
|
|
106
|
-
"version": "5.
|
|
106
|
+
"version": "5.2.0"
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
}
|
package/lib/orchestrate.mjs
CHANGED
|
@@ -1070,6 +1070,56 @@ export async function runFleetManagedCliSetup(args, effects, plan, target) {
|
|
|
1070
1070
|
return { state: declared.every(role => good.includes(role.setup.state)) ? 'prepared' : 'attention', report };
|
|
1071
1071
|
}
|
|
1072
1072
|
|
|
1073
|
+
/**
|
|
1074
|
+
* Fleet's `init` only adds missing role defaults; installed copies stay
|
|
1075
|
+
* byte-identical. Adopting a newer packaged default is Fleet's own
|
|
1076
|
+
* `migrate-role-defaults`, which changes only files that exactly match a known
|
|
1077
|
+
* packaged revision and preserves every customized one. Ask the installed
|
|
1078
|
+
* Fleet for its zero-write plan first; apply it only when it replaces or adds
|
|
1079
|
+
* defaults without removing any, because a removal is left for the operator to
|
|
1080
|
+
* review. Nothing is started or restarted, and a failure never fails the run.
|
|
1081
|
+
*/
|
|
1082
|
+
export async function runFleetRoleDefaultMigration(args, effects, plan, target) {
|
|
1083
|
+
const fleet = args.acquiredFleet || plan.init[0];
|
|
1084
|
+
const env = target.mode === 'host-profile' ? profileEnv(target) : daemonEnv(target.stateDir, target.port);
|
|
1085
|
+
const shown = `${fleet === plan.init[0] ? fleet : shellQuote(fleet)} migrate-role-defaults --configuration ${shellQuote(plan.configPath)}`;
|
|
1086
|
+
const migrate = async write => {
|
|
1087
|
+
const result = await effects.run(fleet, ['migrate-role-defaults', '--configuration', plan.configPath, ...(write ? ['--write'] : [])], { env });
|
|
1088
|
+
const lines = (result.stdout ?? '').split('\n');
|
|
1089
|
+
// Fleet's first line states what it did; anything else is not a plan this installer can trust.
|
|
1090
|
+
if (lines[0] !== (write ? 'Applied packaged role-default migration.' : 'Dry run only; no files were changed.')) throw new Error('unrecognised report');
|
|
1091
|
+
const listed = prefix => lines.filter(line => line.startsWith(prefix)).map(line => line.slice(prefix.length));
|
|
1092
|
+
return { removals: listed('Remove '), replacements: listed('Replace '), additions: listed('Add '),
|
|
1093
|
+
preserved: listed('Preserve customized '), backup: listed('Recovery backup: ')[0] ?? null };
|
|
1094
|
+
};
|
|
1095
|
+
let dry;
|
|
1096
|
+
try { dry = await migrate(false); } catch (error) {
|
|
1097
|
+
effects.out(warn(`Fleet role defaults were not checked (${installerFailure(error)}); existing role files are unchanged. Review with: ${shown}`));
|
|
1098
|
+
return { state: 'failed' };
|
|
1099
|
+
}
|
|
1100
|
+
if (!dry.removals.length && !dry.replacements.length && !dry.additions.length) {
|
|
1101
|
+
effects.out(ok(`Fleet role defaults are current${dry.preserved.length ? `; ${dry.preserved.length} customized file(s) left unchanged` : ''}.`));
|
|
1102
|
+
return { state: 'current', preserved: dry.preserved };
|
|
1103
|
+
}
|
|
1104
|
+
if (dry.removals.length) {
|
|
1105
|
+
effects.out(warn('Newer Fleet role defaults are available, but adopting them removes files, so nothing was changed:'));
|
|
1106
|
+
for (const path of dry.removals) effects.out(info(` remove ${path}`));
|
|
1107
|
+
effects.out(info(`Review the plan with: ${shown} — then apply it with --write.`));
|
|
1108
|
+
return { state: 'attention', plan: dry };
|
|
1109
|
+
}
|
|
1110
|
+
let applied;
|
|
1111
|
+
try { applied = await migrate(true); } catch (error) {
|
|
1112
|
+
effects.out(warn(`Fleet role-default migration failed (${installerFailure(error)}). Inspect any staging or recovery path named in that error before retrying: ${shown}`));
|
|
1113
|
+
return { state: 'failed' };
|
|
1114
|
+
}
|
|
1115
|
+
for (const path of applied.replacements) effects.out(ok(`Updated unmodified Fleet default ${path}.`));
|
|
1116
|
+
for (const path of applied.additions) effects.out(ok(`Added Fleet default ${path}.`));
|
|
1117
|
+
for (const path of applied.preserved) effects.out(info(`Kept customized ${path} unchanged.`));
|
|
1118
|
+
if (applied.backup) effects.out(info(`Previous Fleet configuration kept at ${applied.backup}.`));
|
|
1119
|
+
effects.out(info('Agents already running keep their current instructions until their next session; existing task members keep the role they were launched with.'));
|
|
1120
|
+
return { state: 'migrated', ...applied };
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1073
1123
|
export const FLEET_SERVICE_REFRESH_CAPABILITY = 'service.refresh-v1';
|
|
1074
1124
|
|
|
1075
1125
|
/** Order matters only for the supervisor: it stops and resumes agents, so it goes last. */
|
|
@@ -1203,6 +1253,7 @@ export async function runFleetPhase(args, effects, { target, isDefaultStateDir }
|
|
|
1203
1253
|
// A retained configuration means Fleet was set up before, so its service
|
|
1204
1254
|
// definitions may pin the release this run just replaced.
|
|
1205
1255
|
if (!args.dryRun && effects.readText(plan.configPath) !== null) {
|
|
1256
|
+
await runFleetRoleDefaultMigration(args, effects, plan, target);
|
|
1206
1257
|
await runFleetManagedCliSetup(args, effects, plan, target);
|
|
1207
1258
|
await runFleetServiceRefresh(args, effects, plan, target);
|
|
1208
1259
|
}
|
|
@@ -1231,6 +1282,7 @@ export async function runFleetPhase(args, effects, { target, isDefaultStateDir }
|
|
|
1231
1282
|
return { key: 'fleet', label: plan.label, state: 'failed', note: 'Fleet configuration was not published' };
|
|
1232
1283
|
}
|
|
1233
1284
|
effects.out(ok('ours-fleet installed and initialized; no fleet roles were started.'));
|
|
1285
|
+
if (!args.dryRun) await runFleetRoleDefaultMigration(args, effects, plan, target);
|
|
1234
1286
|
if (!args.dryRun) await runFleetManagedCliSetup(args, effects, plan, target);
|
|
1235
1287
|
if (!args.dryRun) await runFleetServiceRefresh(args, effects, plan, target);
|
|
1236
1288
|
if (plan.instruction) effects.out(info(plan.instruction));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ours.network/install",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.6",
|
|
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",
|