@ours.network/install 1.2.1-nightly.58 → 1.2.1-nightly.59
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/GATEWAY_SETUP.md +4 -4
- package/README.md +13 -6
- package/assets/release-lock.json +56 -56
- package/assets/release.json +25 -25
- package/assets/scripts/runtime/healthcheck.mjs +49 -15
- package/assets/scripts/runtime/recover.mjs +52 -15
- package/assets/sources.json +35 -35
- package/lib/docker-recovery.mjs +1 -1
- package/package.json +1 -1
package/GATEWAY_SETUP.md
CHANGED
|
@@ -10,10 +10,10 @@ control local processes; they do not carry server management requests.
|
|
|
10
10
|
## Release availability
|
|
11
11
|
|
|
12
12
|
The nightly manifest selects one published dependency graph: SDK
|
|
13
|
-
`4.1.1-nightly.
|
|
14
|
-
Fleet `1.2.0-nightly.
|
|
15
|
-
Telegram `1.0.1-nightly.
|
|
16
|
-
`0.3.1-nightly.6`, and Cowork `1.3.4-nightly.
|
|
13
|
+
`4.1.1-nightly.2`, CLI `3.1.1-nightly.2`, daemon `4.1.1-nightly.2`,
|
|
14
|
+
Fleet `1.2.0-nightly.76`, MCP/Codex/Claude Code `1.2.0-nightly.16`,
|
|
15
|
+
Telegram `1.0.1-nightly.14`, Messenger `1.0.31-nightly.23`, Notifications
|
|
16
|
+
`0.3.1-nightly.6`, and Cowork `1.3.4-nightly.20261019.033881c`. Exact archive checksums are retained in
|
|
17
17
|
`releases/nightly.json`; the host CLI uses the same SDK/CLI pair.
|
|
18
18
|
|
|
19
19
|
The coordinated installer release must include these pins before using the
|
package/README.md
CHANGED
|
@@ -757,7 +757,7 @@ Existing installation records keep their ports and identities. A listener acquir
|
|
|
757
757
|
by another process after preflight still causes startup to fail safely; no foreign
|
|
758
758
|
process is stopped and no retained installation is silently moved.
|
|
759
759
|
|
|
760
|
-
Workspace setup pins Fleet `1.2.0-nightly.
|
|
760
|
+
Workspace setup pins Fleet `1.2.0-nightly.76` with its recorded registry integrity. This release includes first-time Fleet setup through the host API for the account App, direct App access to the workspace services with the device credential, v2 positional one-use grants and automatic QR/connection-code output from `ours-fleet setup-tunnel`, optional private file/stdin inputs for legacy v1 payloads, a separate `ours-fleet link-device` command for additional devices, host prerequisite checks before the one-time workspace proof (`setup-tunnel --check`), `setup-tunnel --resume` to finish a setup that stopped after the host saved its private pending setup record (not when the proof's answer was lost, or after the setup window expired with an unconfirmed non-default port), and persists the available Fleet loopback port used by the workspace tunnel. It also accepts a setup-generated configuration left behind after the host enrollment state was removed, runs the host Codex when it is at least as new as the packaged one, offers only the Codex models the signed-in account can use, and removes the temporary setup contact after confirmation. Fleet serves no pages and opens no browser: every screen is in the App. Fleet also serves the workspace notification routes, produces notifications through the server gateway with the imported producer credential, accepts the App's device credential on the notification presence socket so an open App receives no push, and defaults agent wakes to `monitor.interrupt: after_tool` (Hermes: no interrupt; role snapshots saved before this default keep no interrupt). Existing installation identities and configured ports remain retained; a retained-port collision fails safely.
|
|
761
761
|
|
|
762
762
|
### App tunnel setup prerelease sequencing
|
|
763
763
|
|
|
@@ -774,7 +774,7 @@ connection code automatically; the App checks readiness and opens the code field
|
|
|
774
774
|
Private `--file`/`--stdin` transports remain optional and are the only transports
|
|
775
775
|
for legacy v1 payloads with long-lived credentials.
|
|
776
776
|
|
|
777
|
-
The nightly installer release manifest selects published Fleet `1.2.0-nightly.
|
|
777
|
+
The nightly installer release manifest selects published Fleet `1.2.0-nightly.76`
|
|
778
778
|
and its actual registry integrity through the normal release manifest/source-policy
|
|
779
779
|
generators. This release includes v2 argument and private-input support. The former
|
|
780
780
|
nightly.41 selection predates this capability. Merge and publish the repinned
|
|
@@ -804,10 +804,17 @@ Three consecutive local health failures or a child exit stop its entire process
|
|
|
804
804
|
group (TERM, then KILL within 20 seconds) before restarting. Cowork's detached
|
|
805
805
|
workers carry an explicit supervisor-PID marker; recovery also kills those
|
|
806
806
|
owned groups and waits for them to stop before launching a replacement. Each container start
|
|
807
|
-
allows three automatic child recovery attempts
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
807
|
+
allows three automatic child recovery attempts, separated by exponential backoff
|
|
808
|
+
(5 seconds doubling, at most 5 minutes). Ten minutes of continuous readiness
|
|
809
|
+
restores that budget; any failed or timed-out probe, including one during a
|
|
810
|
+
daemon outage, restarts the interval. Exhaustion stops the children and exits the
|
|
811
|
+
container with status 75, so `unless-stopped` restarts it with Docker's own
|
|
812
|
+
backoff and `docker inspect` reports the restart count and exit code. The
|
|
813
|
+
container is never left running without its service. Each failed probe is logged
|
|
814
|
+
with a fixed classification only (`timeout`, `exit:N`, `spawn`, or a daemon
|
|
815
|
+
`liveness:`/`readiness:` class such as `liveness:unreachable` or
|
|
816
|
+
`readiness:auth`), never probe output. The daemon probe separates anonymous
|
|
817
|
+
liveness (`/selection` answers) from authenticated readiness.
|
|
811
818
|
Consumers wait for authenticated readiness of their pinned daemon instance and
|
|
812
819
|
do not spend their recovery budget on a daemon outage. The gateway uses Docker
|
|
813
820
|
process recovery only; a gateway hang requires operator restart.
|
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": "1.2.0-nightly.
|
|
12
|
-
"@ours.network/cli": "3.1.1-nightly.
|
|
13
|
-
"@ours.network/codex": "1.2.0-nightly.
|
|
14
|
-
"@ours.network/cowork": "1.3.4-nightly.
|
|
15
|
-
"@ours.network/daemon": "4.1.1-nightly.
|
|
16
|
-
"@ours.network/fleet": "1.2.0-nightly.
|
|
17
|
-
"@ours.network/mcp": "1.2.0-nightly.
|
|
18
|
-
"@ours.network/messenger-server": "1.0.31-nightly.
|
|
11
|
+
"@ours.network/claude-code": "1.2.0-nightly.16",
|
|
12
|
+
"@ours.network/cli": "3.1.1-nightly.2",
|
|
13
|
+
"@ours.network/codex": "1.2.0-nightly.16",
|
|
14
|
+
"@ours.network/cowork": "1.3.4-nightly.20261019.033881c",
|
|
15
|
+
"@ours.network/daemon": "4.1.1-nightly.2",
|
|
16
|
+
"@ours.network/fleet": "1.2.0-nightly.76",
|
|
17
|
+
"@ours.network/mcp": "1.2.0-nightly.16",
|
|
18
|
+
"@ours.network/messenger-server": "1.0.31-nightly.23",
|
|
19
19
|
"@ours.network/notifications": "0.3.1-nightly.6",
|
|
20
|
-
"@ours.network/sdk": "4.1.1-nightly.
|
|
21
|
-
"@ours.network/tg-connector": "1.0.1-nightly.
|
|
20
|
+
"@ours.network/sdk": "4.1.1-nightly.2",
|
|
21
|
+
"@ours.network/tg-connector": "1.0.1-nightly.14"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"node_modules/@adapt-toolkit/sdk": {
|
|
@@ -936,14 +936,14 @@
|
|
|
936
936
|
}
|
|
937
937
|
},
|
|
938
938
|
"node_modules/@ours.network/claude-code": {
|
|
939
|
-
"version": "1.2.0-nightly.
|
|
940
|
-
"resolved": "https://registry.npmjs.org/@ours.network/claude-code/-/claude-code-1.2.0-nightly.
|
|
941
|
-
"integrity": "sha512-
|
|
939
|
+
"version": "1.2.0-nightly.16",
|
|
940
|
+
"resolved": "https://registry.npmjs.org/@ours.network/claude-code/-/claude-code-1.2.0-nightly.16.tgz",
|
|
941
|
+
"integrity": "sha512-MPinVZXlbFEbt2yqCuj4ckNByxzF3jEm9XzEUWbMoM/br0SLdPb7KipeZA3goMXZiMu9oURQU5iCvlMWCb1XIQ==",
|
|
942
942
|
"license": "FSL-1.1-Apache-2.0",
|
|
943
943
|
"dependencies": {
|
|
944
944
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
945
|
-
"@ours.network/mcp": "1.2.0-nightly.
|
|
946
|
-
"@ours.network/sdk": "4.1.1-nightly.
|
|
945
|
+
"@ours.network/mcp": "1.2.0-nightly.16",
|
|
946
|
+
"@ours.network/sdk": "4.1.1-nightly.2",
|
|
947
947
|
"ws": "^8.21.0",
|
|
948
948
|
"zod": "^3.25.76"
|
|
949
949
|
},
|
|
@@ -952,12 +952,12 @@
|
|
|
952
952
|
}
|
|
953
953
|
},
|
|
954
954
|
"node_modules/@ours.network/cli": {
|
|
955
|
-
"version": "3.1.1-nightly.
|
|
956
|
-
"resolved": "https://registry.npmjs.org/@ours.network/cli/-/cli-3.1.1-nightly.
|
|
957
|
-
"integrity": "sha512-
|
|
955
|
+
"version": "3.1.1-nightly.2",
|
|
956
|
+
"resolved": "https://registry.npmjs.org/@ours.network/cli/-/cli-3.1.1-nightly.2.tgz",
|
|
957
|
+
"integrity": "sha512-I7GUnNRazl+UI6c+J6aZ28mrByGzcB+0mOuL5L5j5T1fG67nqPnruGntDTTSCb9IToXsK9yNsEh6KSpoMlqGEg==",
|
|
958
958
|
"license": "FSL-1.1-Apache-2.0",
|
|
959
959
|
"dependencies": {
|
|
960
|
-
"@ours.network/sdk": "4.1.1-nightly.
|
|
960
|
+
"@ours.network/sdk": "4.1.1-nightly.2"
|
|
961
961
|
},
|
|
962
962
|
"bin": {
|
|
963
963
|
"ours": "dist/cli.js"
|
|
@@ -967,14 +967,14 @@
|
|
|
967
967
|
}
|
|
968
968
|
},
|
|
969
969
|
"node_modules/@ours.network/codex": {
|
|
970
|
-
"version": "1.2.0-nightly.
|
|
971
|
-
"resolved": "https://registry.npmjs.org/@ours.network/codex/-/codex-1.2.0-nightly.
|
|
972
|
-
"integrity": "sha512-
|
|
970
|
+
"version": "1.2.0-nightly.16",
|
|
971
|
+
"resolved": "https://registry.npmjs.org/@ours.network/codex/-/codex-1.2.0-nightly.16.tgz",
|
|
972
|
+
"integrity": "sha512-o3Zh70/kOkF+KJGx+CYJjDAJAZfYYayZNPPj+KBn3CtPgJY+qD2md06s9E2vlbtsakSi1P11dt/I5/jC8Gif9g==",
|
|
973
973
|
"license": "FSL-1.1-Apache-2.0",
|
|
974
974
|
"dependencies": {
|
|
975
975
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
976
|
-
"@ours.network/mcp": "1.2.0-nightly.
|
|
977
|
-
"@ours.network/sdk": "4.1.1-nightly.
|
|
976
|
+
"@ours.network/mcp": "1.2.0-nightly.16",
|
|
977
|
+
"@ours.network/sdk": "4.1.1-nightly.2",
|
|
978
978
|
"ws": "^8.21.0",
|
|
979
979
|
"zod": "^3.25.76"
|
|
980
980
|
},
|
|
@@ -987,12 +987,12 @@
|
|
|
987
987
|
}
|
|
988
988
|
},
|
|
989
989
|
"node_modules/@ours.network/cowork": {
|
|
990
|
-
"version": "1.3.4-nightly.
|
|
991
|
-
"resolved": "https://registry.npmjs.org/@ours.network/cowork/-/cowork-1.3.4-nightly.
|
|
992
|
-
"integrity": "sha512-
|
|
990
|
+
"version": "1.3.4-nightly.20261019.033881c",
|
|
991
|
+
"resolved": "https://registry.npmjs.org/@ours.network/cowork/-/cowork-1.3.4-nightly.20261019.033881c.tgz",
|
|
992
|
+
"integrity": "sha512-3dEYziNfGJr9duVs4STERKxXFeFHpLNDRUr82aYi6qIinQGcAr+ihU9S/ri32hzSIf24PgVm8o44f6h5i7zJZA==",
|
|
993
993
|
"license": "FSL-1.1-Apache-2.0",
|
|
994
994
|
"dependencies": {
|
|
995
|
-
"@ours.network/sdk": "4.1.1-nightly.
|
|
995
|
+
"@ours.network/sdk": "4.1.1-nightly.2",
|
|
996
996
|
"ajv": "8.20.0",
|
|
997
997
|
"better-sqlite3": "13.0.3",
|
|
998
998
|
"react": "18.3.1",
|
|
@@ -1007,14 +1007,14 @@
|
|
|
1007
1007
|
}
|
|
1008
1008
|
},
|
|
1009
1009
|
"node_modules/@ours.network/daemon": {
|
|
1010
|
-
"version": "4.1.1-nightly.
|
|
1011
|
-
"resolved": "https://registry.npmjs.org/@ours.network/daemon/-/daemon-4.1.1-nightly.
|
|
1012
|
-
"integrity": "sha512-
|
|
1010
|
+
"version": "4.1.1-nightly.2",
|
|
1011
|
+
"resolved": "https://registry.npmjs.org/@ours.network/daemon/-/daemon-4.1.1-nightly.2.tgz",
|
|
1012
|
+
"integrity": "sha512-GXMDhq4hB5WuwW2mhOAhRPJP2SnbyouenGomzq4hn0ipUZ97zU7Z32/AjtDia860qtf7fz4lykk6ZZP6u3CEGw==",
|
|
1013
1013
|
"license": "FSL-1.1-Apache-2.0",
|
|
1014
1014
|
"dependencies": {
|
|
1015
1015
|
"@adapt-toolkit/sdk": "0.12.1",
|
|
1016
1016
|
"@adapt-toolkit/sdk-native": "0.12.1",
|
|
1017
|
-
"@ours.network/sdk": "4.1.1-nightly.
|
|
1017
|
+
"@ours.network/sdk": "4.1.1-nightly.2",
|
|
1018
1018
|
"ajv": "^8.20.0",
|
|
1019
1019
|
"pg": "^8.16.3",
|
|
1020
1020
|
"ws": "^8.22.0"
|
|
@@ -1030,16 +1030,16 @@
|
|
|
1030
1030
|
}
|
|
1031
1031
|
},
|
|
1032
1032
|
"node_modules/@ours.network/fleet": {
|
|
1033
|
-
"version": "1.2.0-nightly.
|
|
1034
|
-
"resolved": "https://registry.npmjs.org/@ours.network/fleet/-/fleet-1.2.0-nightly.
|
|
1035
|
-
"integrity": "sha512-
|
|
1033
|
+
"version": "1.2.0-nightly.76",
|
|
1034
|
+
"resolved": "https://registry.npmjs.org/@ours.network/fleet/-/fleet-1.2.0-nightly.76.tgz",
|
|
1035
|
+
"integrity": "sha512-WdmIB7ozrpu92C52pO34e4RJTk3CO2Yjw5jOICeZfxbmYMU2A9S9/YtbxX2WEg5Tpn0vG/7Z98ZUxafztOcwGw==",
|
|
1036
1036
|
"license": "FSL-1.1-Apache-2.0",
|
|
1037
1037
|
"dependencies": {
|
|
1038
1038
|
"@agentclientprotocol/sdk": "^1.3.0",
|
|
1039
1039
|
"@fastify/websocket": "^11.2.0",
|
|
1040
|
-
"@ours.network/cli": "3.1.1-nightly.
|
|
1041
|
-
"@ours.network/mcp": "1.2.0-nightly.
|
|
1042
|
-
"@ours.network/sdk": "4.1.1-nightly.
|
|
1040
|
+
"@ours.network/cli": "3.1.1-nightly.2",
|
|
1041
|
+
"@ours.network/mcp": "1.2.0-nightly.16",
|
|
1042
|
+
"@ours.network/sdk": "4.1.1-nightly.2",
|
|
1043
1043
|
"commander": "^12.1.0",
|
|
1044
1044
|
"fastify": "^5.4.0",
|
|
1045
1045
|
"qrcode": "1.5.4",
|
|
@@ -1069,13 +1069,13 @@
|
|
|
1069
1069
|
}
|
|
1070
1070
|
},
|
|
1071
1071
|
"node_modules/@ours.network/mcp": {
|
|
1072
|
-
"version": "1.2.0-nightly.
|
|
1073
|
-
"resolved": "https://registry.npmjs.org/@ours.network/mcp/-/mcp-1.2.0-nightly.
|
|
1074
|
-
"integrity": "sha512-
|
|
1072
|
+
"version": "1.2.0-nightly.16",
|
|
1073
|
+
"resolved": "https://registry.npmjs.org/@ours.network/mcp/-/mcp-1.2.0-nightly.16.tgz",
|
|
1074
|
+
"integrity": "sha512-ZwMXnvcfThrreMJMOALCpznU66SsvM5Gqeo/m8s/xyUWHCsEPXUeFvxn2iTVLzVcSj7ujfKZqCY5S+TL4rF90w==",
|
|
1075
1075
|
"license": "FSL-1.1-Apache-2.0",
|
|
1076
1076
|
"dependencies": {
|
|
1077
1077
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
1078
|
-
"@ours.network/sdk": "4.1.1-nightly.
|
|
1078
|
+
"@ours.network/sdk": "4.1.1-nightly.2",
|
|
1079
1079
|
"zod": "^3.23.8"
|
|
1080
1080
|
},
|
|
1081
1081
|
"bin": {
|
|
@@ -1086,13 +1086,13 @@
|
|
|
1086
1086
|
}
|
|
1087
1087
|
},
|
|
1088
1088
|
"node_modules/@ours.network/messenger-server": {
|
|
1089
|
-
"version": "1.0.31-nightly.
|
|
1090
|
-
"resolved": "https://registry.npmjs.org/@ours.network/messenger-server/-/messenger-server-1.0.31-nightly.
|
|
1091
|
-
"integrity": "sha512-
|
|
1089
|
+
"version": "1.0.31-nightly.23",
|
|
1090
|
+
"resolved": "https://registry.npmjs.org/@ours.network/messenger-server/-/messenger-server-1.0.31-nightly.23.tgz",
|
|
1091
|
+
"integrity": "sha512-iaLHvUziO8z3HDEO2W9zpKMhlET1/SdGGJOrQvbVgxms7Ac0XwiHqr5EqJVvKQaLcoMRZAhpvUXkED/HPyRwrQ==",
|
|
1092
1092
|
"license": "FSL-1.1-Apache-2.0",
|
|
1093
1093
|
"dependencies": {
|
|
1094
1094
|
"@eslint-community/regexpp": "4.12.2",
|
|
1095
|
-
"@ours.network/sdk": "4.1.1-nightly.
|
|
1095
|
+
"@ours.network/sdk": "4.1.1-nightly.2",
|
|
1096
1096
|
"parse5": "^8.0.1",
|
|
1097
1097
|
"web-push": "^3.6.7",
|
|
1098
1098
|
"ws": "^8.21.0"
|
|
@@ -1121,9 +1121,9 @@
|
|
|
1121
1121
|
}
|
|
1122
1122
|
},
|
|
1123
1123
|
"node_modules/@ours.network/sdk": {
|
|
1124
|
-
"version": "4.1.1-nightly.
|
|
1125
|
-
"resolved": "https://registry.npmjs.org/@ours.network/sdk/-/sdk-4.1.1-nightly.
|
|
1126
|
-
"integrity": "sha512-
|
|
1124
|
+
"version": "4.1.1-nightly.2",
|
|
1125
|
+
"resolved": "https://registry.npmjs.org/@ours.network/sdk/-/sdk-4.1.1-nightly.2.tgz",
|
|
1126
|
+
"integrity": "sha512-5wN1tWvS0ZoJ05doEkZhnsr4FFlCvOddbSh2pWo3sPWrCmeGCyH/yJC0dcI05bgWpYYnI8hkD6HsaanEMgo5ig==",
|
|
1127
1127
|
"license": "FSL-1.1-Apache-2.0",
|
|
1128
1128
|
"workspaces": [
|
|
1129
1129
|
".",
|
|
@@ -1134,12 +1134,12 @@
|
|
|
1134
1134
|
}
|
|
1135
1135
|
},
|
|
1136
1136
|
"node_modules/@ours.network/tg-connector": {
|
|
1137
|
-
"version": "1.0.1-nightly.
|
|
1138
|
-
"resolved": "https://registry.npmjs.org/@ours.network/tg-connector/-/tg-connector-1.0.1-nightly.
|
|
1139
|
-
"integrity": "sha512-
|
|
1137
|
+
"version": "1.0.1-nightly.14",
|
|
1138
|
+
"resolved": "https://registry.npmjs.org/@ours.network/tg-connector/-/tg-connector-1.0.1-nightly.14.tgz",
|
|
1139
|
+
"integrity": "sha512-7M1nlEP7u+Cx0tGTIyGa/Lreul9OWIoI4sRWyg4z9nGWnpvSRUWcDFN04UfNlmQ3GVnoU14rRdBO1lVNPTPT/g==",
|
|
1140
1140
|
"license": "FSL-1.1-Apache-2.0",
|
|
1141
1141
|
"dependencies": {
|
|
1142
|
-
"@ours.network/sdk": "4.1.1-nightly.
|
|
1142
|
+
"@ours.network/sdk": "4.1.1-nightly.2",
|
|
1143
1143
|
"undici": "^7.28.0"
|
|
1144
1144
|
},
|
|
1145
1145
|
"bin": {
|
|
@@ -1878,9 +1878,9 @@
|
|
|
1878
1878
|
"license": "MIT"
|
|
1879
1879
|
},
|
|
1880
1880
|
"node_modules/fast-json-stringify": {
|
|
1881
|
-
"version": "7.1.
|
|
1882
|
-
"resolved": "https://registry.npmjs.org/fast-json-stringify/-/fast-json-stringify-7.1.
|
|
1883
|
-
"integrity": "sha512-
|
|
1881
|
+
"version": "7.1.1",
|
|
1882
|
+
"resolved": "https://registry.npmjs.org/fast-json-stringify/-/fast-json-stringify-7.1.1.tgz",
|
|
1883
|
+
"integrity": "sha512-8dpdLKVqTm6MSIVmAtKQXdu7heJZIzQbF0c5OLa2HQ9tjAHqKEFEo+SWLKE9Y6BrErEG4NMRUU83TyIJ7nYJWA==",
|
|
1884
1884
|
"funding": [
|
|
1885
1885
|
{
|
|
1886
1886
|
"type": "github",
|
package/assets/release.json
CHANGED
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": 1,
|
|
3
3
|
"channel": "nightly",
|
|
4
|
-
"installerVersion": "1.2.1-nightly.
|
|
4
|
+
"installerVersion": "1.2.1-nightly.59",
|
|
5
5
|
"packages": {
|
|
6
6
|
"@ours.network/sdk": {
|
|
7
|
-
"version": "4.1.1-nightly.
|
|
8
|
-
"integrity": "sha512-
|
|
7
|
+
"version": "4.1.1-nightly.2",
|
|
8
|
+
"integrity": "sha512-5wN1tWvS0ZoJ05doEkZhnsr4FFlCvOddbSh2pWo3sPWrCmeGCyH/yJC0dcI05bgWpYYnI8hkD6HsaanEMgo5ig=="
|
|
9
9
|
},
|
|
10
10
|
"@ours.network/cli": {
|
|
11
|
-
"version": "3.1.1-nightly.
|
|
12
|
-
"integrity": "sha512-
|
|
11
|
+
"version": "3.1.1-nightly.2",
|
|
12
|
+
"integrity": "sha512-I7GUnNRazl+UI6c+J6aZ28mrByGzcB+0mOuL5L5j5T1fG67nqPnruGntDTTSCb9IToXsK9yNsEh6KSpoMlqGEg=="
|
|
13
13
|
},
|
|
14
14
|
"@ours.network/tg-connector": {
|
|
15
|
-
"version": "1.0.1-nightly.
|
|
16
|
-
"integrity": "sha512-
|
|
15
|
+
"version": "1.0.1-nightly.14",
|
|
16
|
+
"integrity": "sha512-7M1nlEP7u+Cx0tGTIyGa/Lreul9OWIoI4sRWyg4z9nGWnpvSRUWcDFN04UfNlmQ3GVnoU14rRdBO1lVNPTPT/g=="
|
|
17
17
|
},
|
|
18
18
|
"@ours.network/cowork": {
|
|
19
|
-
"version": "1.3.4-nightly.
|
|
20
|
-
"integrity": "sha512-
|
|
19
|
+
"version": "1.3.4-nightly.20261019.033881c",
|
|
20
|
+
"integrity": "sha512-3dEYziNfGJr9duVs4STERKxXFeFHpLNDRUr82aYi6qIinQGcAr+ihU9S/ri32hzSIf24PgVm8o44f6h5i7zJZA=="
|
|
21
21
|
},
|
|
22
22
|
"@ours.network/messenger-server": {
|
|
23
|
-
"version": "1.0.31-nightly.
|
|
24
|
-
"integrity": "sha512-
|
|
23
|
+
"version": "1.0.31-nightly.23",
|
|
24
|
+
"integrity": "sha512-iaLHvUziO8z3HDEO2W9zpKMhlET1/SdGGJOrQvbVgxms7Ac0XwiHqr5EqJVvKQaLcoMRZAhpvUXkED/HPyRwrQ=="
|
|
25
25
|
},
|
|
26
26
|
"@ours.network/notifications": {
|
|
27
27
|
"version": "0.3.1-nightly.6",
|
|
28
28
|
"integrity": "sha512-ydLGi7RpJkrSis2Q3youemilwTEJB3xR9h7SzNJxb3q3PDCw9wJpCIQjDylYjGNwVHRKoxqxzybi1+xUyARz1w=="
|
|
29
29
|
},
|
|
30
30
|
"@ours.network/fleet": {
|
|
31
|
-
"version": "1.2.0-nightly.
|
|
32
|
-
"integrity": "sha512-
|
|
31
|
+
"version": "1.2.0-nightly.76",
|
|
32
|
+
"integrity": "sha512-WdmIB7ozrpu92C52pO34e4RJTk3CO2Yjw5jOICeZfxbmYMU2A9S9/YtbxX2WEg5Tpn0vG/7Z98ZUxafztOcwGw=="
|
|
33
33
|
},
|
|
34
34
|
"@ours.network/mcp": {
|
|
35
|
-
"version": "1.2.0-nightly.
|
|
36
|
-
"integrity": "sha512-
|
|
35
|
+
"version": "1.2.0-nightly.16",
|
|
36
|
+
"integrity": "sha512-ZwMXnvcfThrreMJMOALCpznU66SsvM5Gqeo/m8s/xyUWHCsEPXUeFvxn2iTVLzVcSj7ujfKZqCY5S+TL4rF90w=="
|
|
37
37
|
},
|
|
38
38
|
"@ours.network/codex": {
|
|
39
|
-
"version": "1.2.0-nightly.
|
|
40
|
-
"integrity": "sha512-
|
|
39
|
+
"version": "1.2.0-nightly.16",
|
|
40
|
+
"integrity": "sha512-o3Zh70/kOkF+KJGx+CYJjDAJAZfYYayZNPPj+KBn3CtPgJY+qD2md06s9E2vlbtsakSi1P11dt/I5/jC8Gif9g=="
|
|
41
41
|
},
|
|
42
42
|
"@ours.network/claude-code": {
|
|
43
|
-
"version": "1.2.0-nightly.
|
|
44
|
-
"integrity": "sha512-
|
|
43
|
+
"version": "1.2.0-nightly.16",
|
|
44
|
+
"integrity": "sha512-MPinVZXlbFEbt2yqCuj4ckNByxzF3jEm9XzEUWbMoM/br0SLdPb7KipeZA3goMXZiMu9oURQU5iCvlMWCb1XIQ=="
|
|
45
45
|
},
|
|
46
46
|
"@ours.network/daemon": {
|
|
47
|
-
"version": "4.1.1-nightly.
|
|
48
|
-
"integrity": "sha512-
|
|
47
|
+
"version": "4.1.1-nightly.2",
|
|
48
|
+
"integrity": "sha512-GXMDhq4hB5WuwW2mhOAhRPJP2SnbyouenGomzq4hn0ipUZ97zU7Z32/AjtDia860qtf7fz4lykk6ZZP6u3CEGw=="
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
"hostCli": {
|
|
52
52
|
"@ours.network/sdk": {
|
|
53
|
-
"version": "4.1.1-nightly.
|
|
54
|
-
"integrity": "sha512-
|
|
53
|
+
"version": "4.1.1-nightly.2",
|
|
54
|
+
"integrity": "sha512-5wN1tWvS0ZoJ05doEkZhnsr4FFlCvOddbSh2pWo3sPWrCmeGCyH/yJC0dcI05bgWpYYnI8hkD6HsaanEMgo5ig=="
|
|
55
55
|
},
|
|
56
56
|
"@ours.network/cli": {
|
|
57
|
-
"version": "3.1.1-nightly.
|
|
58
|
-
"integrity": "sha512-
|
|
57
|
+
"version": "3.1.1-nightly.2",
|
|
58
|
+
"integrity": "sha512-I7GUnNRazl+UI6c+J6aZ28mrByGzcB+0mOuL5L5j5T1fG67nqPnruGntDTTSCb9IToXsK9yNsEh6KSpoMlqGEg=="
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
}
|
|
@@ -1,17 +1,51 @@
|
|
|
1
1
|
import { attachOursClient } from '@ours.network/sdk/client';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
leaseToken: 'container-readiness',
|
|
11
|
-
env: {},
|
|
12
|
-
});
|
|
13
|
-
await client.listIdentities();
|
|
14
|
-
} catch {
|
|
15
|
-
console.error('Daemon API is not ready');
|
|
2
|
+
|
|
3
|
+
// Liveness: the anonymous selection route answers without authentication or
|
|
4
|
+
// state, so a failure here means the daemon is down or its event loop is stalled.
|
|
5
|
+
// Readiness: an authenticated external session can list identities.
|
|
6
|
+
// Only a fixed classification is printed; error text may carry private detail.
|
|
7
|
+
const report = (stage, reason) => {
|
|
8
|
+
console.log(`OURS_PROBE ${stage}:${reason}`);
|
|
9
|
+
console.error(`Daemon API is not ready (${stage}: ${reason})`);
|
|
16
10
|
process.exitCode = 1;
|
|
17
|
-
}
|
|
11
|
+
};
|
|
12
|
+
const LIVENESS_TIMEOUT_MS = 3_000;
|
|
13
|
+
const READINESS_TIMEOUT_MS = 10_000;
|
|
14
|
+
|
|
15
|
+
let live = false;
|
|
16
|
+
try {
|
|
17
|
+
const response = await fetch('http://127.0.0.1:3050/selection', { signal: AbortSignal.timeout(LIVENESS_TIMEOUT_MS), redirect: 'error' });
|
|
18
|
+
await response.body?.cancel();
|
|
19
|
+
if (response.ok) live = true;
|
|
20
|
+
else report('liveness', 'http');
|
|
21
|
+
} catch (error) {
|
|
22
|
+
report('liveness', error?.name === 'TimeoutError' ? 'timeout' : 'unreachable');
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
if (live) {
|
|
26
|
+
let client, timer;
|
|
27
|
+
const deadline = new Promise((_, reject) => { timer = setTimeout(() => reject(Object.assign(new Error(), { name: 'TimeoutError' })), READINESS_TIMEOUT_MS); });
|
|
28
|
+
try {
|
|
29
|
+
await Promise.race([deadline, (async () => {
|
|
30
|
+
client = await attachOursClient({
|
|
31
|
+
endpoint: 'http://127.0.0.1:3050',
|
|
32
|
+
expectedInstanceId: process.env.OURS_DAEMON_ID,
|
|
33
|
+
credentialPath: '/var/lib/ours/daemon-token',
|
|
34
|
+
requiredCapabilities: ['external-sessions-v1'],
|
|
35
|
+
sessionMode: 'external',
|
|
36
|
+
leaseToken: 'container-readiness',
|
|
37
|
+
env: {},
|
|
38
|
+
});
|
|
39
|
+
await client.listIdentities();
|
|
40
|
+
})()]);
|
|
41
|
+
} catch (error) {
|
|
42
|
+
const text = String(error?.message ?? '');
|
|
43
|
+
report('readiness', error?.name === 'TimeoutError' ? 'timeout'
|
|
44
|
+
: /instance selection metadata|expected daemon instance/i.test(text) ? 'instance'
|
|
45
|
+
: /required capabilities/i.test(text) ? 'capability'
|
|
46
|
+
: /\b401\b|unauthori[sz]ed|credential|token/i.test(text) ? 'auth' : 'error');
|
|
47
|
+
} finally {
|
|
48
|
+
clearTimeout(timer);
|
|
49
|
+
await client?.close().catch(() => {});
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -3,11 +3,23 @@ import { setTimeout as sleep } from 'node:timers/promises';
|
|
|
3
3
|
import { pathToFileURL } from 'node:url';
|
|
4
4
|
import { readdirSync, readFileSync } from 'node:fs';
|
|
5
5
|
|
|
6
|
+
// Exit status after the recovery budget is spent: the container stops and its
|
|
7
|
+
// restart policy, the only outer supervisor, starts a fresh one.
|
|
8
|
+
export const EXHAUSTED_EXIT_CODE = 75;
|
|
9
|
+
// Probe output is never logged; only these fixed classifications survive.
|
|
10
|
+
const PROBE_CLASSES = new Set(['liveness:unreachable', 'liveness:timeout', 'liveness:http',
|
|
11
|
+
'readiness:timeout', 'readiness:auth', 'readiness:instance', 'readiness:capability', 'readiness:error']);
|
|
12
|
+
const probeClass = output => {
|
|
13
|
+
const match = /^OURS_PROBE ([a-z:]+)$/m.exec(output);
|
|
14
|
+
return match && PROBE_CLASSES.has(match[1]) ? match[1] : null;
|
|
15
|
+
};
|
|
16
|
+
|
|
6
17
|
// The container owns recovery; no Docker socket, host service or stored state is
|
|
7
18
|
// accessed. Every launch re-enters the locked, provenance-checking entrypoint.
|
|
8
19
|
export async function runRecovery({ command, health, dependency, graceMs = 90_000,
|
|
9
20
|
intervalMs = 5_000, probeTimeoutMs = 15_000,
|
|
10
|
-
killAfterMs = 20_000, retries = 3, failures = 3,
|
|
21
|
+
killAfterMs = 20_000, retries = 3, failures = 3, healthyResetMs = 600_000,
|
|
22
|
+
maxBackoffMs = 300_000, ownerPidEnvironment, log = console.error }) {
|
|
11
23
|
let stopping = false, active;
|
|
12
24
|
const probes = new Set();
|
|
13
25
|
const controller = new AbortController();
|
|
@@ -42,10 +54,10 @@ export async function runRecovery({ command, health, dependency, graceMs = 90_00
|
|
|
42
54
|
};
|
|
43
55
|
const launch = (args, probe = false) => {
|
|
44
56
|
const child = spawn(args[0], args.slice(1), { detached: true,
|
|
45
|
-
stdio: probe ? 'ignore' : 'inherit', env: { ...process.env, OURS_RECOVERY_CHILD: '1' } });
|
|
57
|
+
stdio: probe ? ['ignore', 'pipe', 'ignore'] : 'inherit', env: { ...process.env, OURS_RECOVERY_CHILD: '1' } });
|
|
46
58
|
child.probe = probe;
|
|
47
59
|
child.done = new Promise(resolve => {
|
|
48
|
-
child.once('error', () => resolve(1));
|
|
60
|
+
child.once('error', () => { child.spawnFailed = true; resolve(1); });
|
|
49
61
|
child.once('exit', (code) => resolve(code ?? 1));
|
|
50
62
|
});
|
|
51
63
|
return child;
|
|
@@ -78,17 +90,24 @@ export async function runRecovery({ command, health, dependency, graceMs = 90_00
|
|
|
78
90
|
await sleep(25);
|
|
79
91
|
}
|
|
80
92
|
};
|
|
93
|
+
// Resolves { ok, reason, ms }; reason is ok, timeout, spawn, an allowlisted
|
|
94
|
+
// class reported by the probe, or exit:<code>.
|
|
81
95
|
const probe = async args => {
|
|
96
|
+
const started = Date.now();
|
|
82
97
|
const child = launch(args, true);
|
|
83
98
|
probes.add(child);
|
|
84
|
-
let timer;
|
|
99
|
+
let output = '', timer, timedOut = false;
|
|
100
|
+
child.stdout?.on('data', chunk => { if (output.length < 512) output += chunk.toString('utf8').slice(0, 512); });
|
|
85
101
|
const code = await Promise.race([child.done, new Promise(resolve => {
|
|
86
|
-
timer = setTimeout(() => { signalGroup(child, 'SIGKILL'); resolve(1); }, probeTimeoutMs);
|
|
102
|
+
timer = setTimeout(() => { timedOut = true; signalGroup(child, 'SIGKILL'); resolve(1); }, probeTimeoutMs);
|
|
87
103
|
})]);
|
|
88
104
|
clearTimeout(timer);
|
|
89
105
|
await terminate(child);
|
|
106
|
+
child.stdout?.destroy();
|
|
90
107
|
probes.delete(child);
|
|
91
|
-
|
|
108
|
+
const ok = code === 0 && !timedOut;
|
|
109
|
+
const reason = ok ? 'ok' : timedOut ? 'timeout' : child.spawnFailed ? 'spawn' : probeClass(output) ?? `exit:${code}`;
|
|
110
|
+
return { ok, reason, ms: Date.now() - started };
|
|
92
111
|
};
|
|
93
112
|
const stop = () => { stopping = true; controller.abort(); signalGroup(active, 'SIGTERM', false); for (const child of probes) signalGroup(child, 'SIGKILL'); };
|
|
94
113
|
process.on('SIGTERM', stop); process.on('SIGINT', stop);
|
|
@@ -96,15 +115,17 @@ export async function runRecovery({ command, health, dependency, graceMs = 90_00
|
|
|
96
115
|
let recoveries = 0;
|
|
97
116
|
while (!stopping) {
|
|
98
117
|
if (recoveries > retries) {
|
|
99
|
-
|
|
100
|
-
|
|
118
|
+
// Never strand a running container without its service: exit visibly
|
|
119
|
+
// and let the container restart policy apply its own backoff.
|
|
120
|
+
log(`OURS recovery exhausted (${retries} automatic attempts without ${Math.round(healthyResetMs / 1000)}s of continuous readiness); children stopped. Exiting with status ${EXHAUSTED_EXIT_CODE} for the container restart policy.`);
|
|
121
|
+
process.exitCode = EXHAUSTED_EXIT_CODE;
|
|
101
122
|
break;
|
|
102
123
|
}
|
|
103
124
|
// A dependency outage is a wait, not a local failure. Never spend a
|
|
104
125
|
// consumer's circuit on daemon boot order, restart or unavailability.
|
|
105
126
|
if (dependency) {
|
|
106
127
|
let waiting = false;
|
|
107
|
-
while (!stopping && !await probe(dependency)) {
|
|
128
|
+
while (!stopping && !(await probe(dependency)).ok) {
|
|
108
129
|
if (!waiting) log('OURS waiting for the authenticated daemon; recovery budget retained');
|
|
109
130
|
waiting = true;
|
|
110
131
|
await pause(intervalMs);
|
|
@@ -121,12 +142,27 @@ export async function runRecovery({ command, health, dependency, graceMs = 90_00
|
|
|
121
142
|
active.done.then(() => { exited = true; generation.abort(); });
|
|
122
143
|
const watch = async () => {
|
|
123
144
|
await wait(graceMs);
|
|
124
|
-
let failed = 0;
|
|
145
|
+
let failed = 0, healthySince = null;
|
|
125
146
|
while (monitoring && !stopping && !exited) {
|
|
126
|
-
const
|
|
147
|
+
const result = await probe(health);
|
|
127
148
|
if (!monitoring || stopping || exited) break;
|
|
128
|
-
if (
|
|
129
|
-
|
|
149
|
+
if (result.ok) {
|
|
150
|
+
failed = 0;
|
|
151
|
+
healthySince ??= Date.now();
|
|
152
|
+
// Only an unbroken readiness interval restores the budget; any
|
|
153
|
+
// failed or timed-out probe, including a dependency outage, restarts it.
|
|
154
|
+
if (recoveries && Date.now() - healthySince >= healthyResetMs) {
|
|
155
|
+
log(`OURS recovery budget restored after ${Math.round((Date.now() - healthySince) / 1000)}s of continuous readiness`);
|
|
156
|
+
recoveries = 0;
|
|
157
|
+
}
|
|
158
|
+
} else {
|
|
159
|
+
healthySince = null;
|
|
160
|
+
if (dependency && !(await probe(dependency)).ok) failed = 0;
|
|
161
|
+
else {
|
|
162
|
+
failed += 1;
|
|
163
|
+
log(`OURS health probe failed (${failed}/${failures}): ${result.reason} after ${result.ms}ms`);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
130
166
|
if (failed >= failures) { log('OURS service health failed repeatedly; stopping children before recovery'); return; }
|
|
131
167
|
await wait(intervalMs);
|
|
132
168
|
}
|
|
@@ -139,8 +175,9 @@ export async function runRecovery({ command, health, dependency, graceMs = 90_00
|
|
|
139
175
|
controller.signal.removeEventListener('abort', cancel);
|
|
140
176
|
active = undefined;
|
|
141
177
|
if (!stopping) {
|
|
142
|
-
if (!dependency || await probe(dependency)) recoveries++;
|
|
143
|
-
|
|
178
|
+
if (!dependency || (await probe(dependency)).ok) recoveries++;
|
|
179
|
+
// Exponential backoff between attempts; a dependency outage keeps the base interval.
|
|
180
|
+
await pause(Math.min(maxBackoffMs, intervalMs * 2 ** Math.max(0, recoveries - 1)));
|
|
144
181
|
}
|
|
145
182
|
}
|
|
146
183
|
} finally {
|
package/assets/sources.json
CHANGED
|
@@ -2,84 +2,84 @@
|
|
|
2
2
|
"release": {
|
|
3
3
|
"schema": 1,
|
|
4
4
|
"channel": "nightly",
|
|
5
|
-
"installerVersion": "1.2.1-nightly.
|
|
5
|
+
"installerVersion": "1.2.1-nightly.59",
|
|
6
6
|
"packages": {
|
|
7
7
|
"@ours.network/sdk": {
|
|
8
|
-
"version": "4.1.1-nightly.
|
|
9
|
-
"integrity": "sha512-
|
|
8
|
+
"version": "4.1.1-nightly.2",
|
|
9
|
+
"integrity": "sha512-5wN1tWvS0ZoJ05doEkZhnsr4FFlCvOddbSh2pWo3sPWrCmeGCyH/yJC0dcI05bgWpYYnI8hkD6HsaanEMgo5ig=="
|
|
10
10
|
},
|
|
11
11
|
"@ours.network/cli": {
|
|
12
|
-
"version": "3.1.1-nightly.
|
|
13
|
-
"integrity": "sha512-
|
|
12
|
+
"version": "3.1.1-nightly.2",
|
|
13
|
+
"integrity": "sha512-I7GUnNRazl+UI6c+J6aZ28mrByGzcB+0mOuL5L5j5T1fG67nqPnruGntDTTSCb9IToXsK9yNsEh6KSpoMlqGEg=="
|
|
14
14
|
},
|
|
15
15
|
"@ours.network/tg-connector": {
|
|
16
|
-
"version": "1.0.1-nightly.
|
|
17
|
-
"integrity": "sha512-
|
|
16
|
+
"version": "1.0.1-nightly.14",
|
|
17
|
+
"integrity": "sha512-7M1nlEP7u+Cx0tGTIyGa/Lreul9OWIoI4sRWyg4z9nGWnpvSRUWcDFN04UfNlmQ3GVnoU14rRdBO1lVNPTPT/g=="
|
|
18
18
|
},
|
|
19
19
|
"@ours.network/cowork": {
|
|
20
|
-
"version": "1.3.4-nightly.
|
|
21
|
-
"integrity": "sha512-
|
|
20
|
+
"version": "1.3.4-nightly.20261019.033881c",
|
|
21
|
+
"integrity": "sha512-3dEYziNfGJr9duVs4STERKxXFeFHpLNDRUr82aYi6qIinQGcAr+ihU9S/ri32hzSIf24PgVm8o44f6h5i7zJZA=="
|
|
22
22
|
},
|
|
23
23
|
"@ours.network/messenger-server": {
|
|
24
|
-
"version": "1.0.31-nightly.
|
|
25
|
-
"integrity": "sha512-
|
|
24
|
+
"version": "1.0.31-nightly.23",
|
|
25
|
+
"integrity": "sha512-iaLHvUziO8z3HDEO2W9zpKMhlET1/SdGGJOrQvbVgxms7Ac0XwiHqr5EqJVvKQaLcoMRZAhpvUXkED/HPyRwrQ=="
|
|
26
26
|
},
|
|
27
27
|
"@ours.network/notifications": {
|
|
28
28
|
"version": "0.3.1-nightly.6",
|
|
29
29
|
"integrity": "sha512-ydLGi7RpJkrSis2Q3youemilwTEJB3xR9h7SzNJxb3q3PDCw9wJpCIQjDylYjGNwVHRKoxqxzybi1+xUyARz1w=="
|
|
30
30
|
},
|
|
31
31
|
"@ours.network/fleet": {
|
|
32
|
-
"version": "1.2.0-nightly.
|
|
33
|
-
"integrity": "sha512-
|
|
32
|
+
"version": "1.2.0-nightly.76",
|
|
33
|
+
"integrity": "sha512-WdmIB7ozrpu92C52pO34e4RJTk3CO2Yjw5jOICeZfxbmYMU2A9S9/YtbxX2WEg5Tpn0vG/7Z98ZUxafztOcwGw=="
|
|
34
34
|
},
|
|
35
35
|
"@ours.network/mcp": {
|
|
36
|
-
"version": "1.2.0-nightly.
|
|
37
|
-
"integrity": "sha512-
|
|
36
|
+
"version": "1.2.0-nightly.16",
|
|
37
|
+
"integrity": "sha512-ZwMXnvcfThrreMJMOALCpznU66SsvM5Gqeo/m8s/xyUWHCsEPXUeFvxn2iTVLzVcSj7ujfKZqCY5S+TL4rF90w=="
|
|
38
38
|
},
|
|
39
39
|
"@ours.network/codex": {
|
|
40
|
-
"version": "1.2.0-nightly.
|
|
41
|
-
"integrity": "sha512-
|
|
40
|
+
"version": "1.2.0-nightly.16",
|
|
41
|
+
"integrity": "sha512-o3Zh70/kOkF+KJGx+CYJjDAJAZfYYayZNPPj+KBn3CtPgJY+qD2md06s9E2vlbtsakSi1P11dt/I5/jC8Gif9g=="
|
|
42
42
|
},
|
|
43
43
|
"@ours.network/claude-code": {
|
|
44
|
-
"version": "1.2.0-nightly.
|
|
45
|
-
"integrity": "sha512-
|
|
44
|
+
"version": "1.2.0-nightly.16",
|
|
45
|
+
"integrity": "sha512-MPinVZXlbFEbt2yqCuj4ckNByxzF3jEm9XzEUWbMoM/br0SLdPb7KipeZA3goMXZiMu9oURQU5iCvlMWCb1XIQ=="
|
|
46
46
|
},
|
|
47
47
|
"@ours.network/daemon": {
|
|
48
|
-
"version": "4.1.1-nightly.
|
|
49
|
-
"integrity": "sha512-
|
|
48
|
+
"version": "4.1.1-nightly.2",
|
|
49
|
+
"integrity": "sha512-GXMDhq4hB5WuwW2mhOAhRPJP2SnbyouenGomzq4hn0ipUZ97zU7Z32/AjtDia860qtf7fz4lykk6ZZP6u3CEGw=="
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
"hostCli": {
|
|
53
53
|
"@ours.network/sdk": {
|
|
54
|
-
"version": "4.1.1-nightly.
|
|
55
|
-
"integrity": "sha512-
|
|
54
|
+
"version": "4.1.1-nightly.2",
|
|
55
|
+
"integrity": "sha512-5wN1tWvS0ZoJ05doEkZhnsr4FFlCvOddbSh2pWo3sPWrCmeGCyH/yJC0dcI05bgWpYYnI8hkD6HsaanEMgo5ig=="
|
|
56
56
|
},
|
|
57
57
|
"@ours.network/cli": {
|
|
58
|
-
"version": "3.1.1-nightly.
|
|
59
|
-
"integrity": "sha512-
|
|
58
|
+
"version": "3.1.1-nightly.2",
|
|
59
|
+
"integrity": "sha512-I7GUnNRazl+UI6c+J6aZ28mrByGzcB+0mOuL5L5j5T1fG67nqPnruGntDTTSCb9IToXsK9yNsEh6KSpoMlqGEg=="
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
"packages": {
|
|
64
64
|
"@ours.network/sdk": {
|
|
65
65
|
"type": "npm",
|
|
66
|
-
"version": "4.1.1-nightly.
|
|
66
|
+
"version": "4.1.1-nightly.2"
|
|
67
67
|
},
|
|
68
68
|
"@ours.network/cli": {
|
|
69
69
|
"type": "npm",
|
|
70
|
-
"version": "3.1.1-nightly.
|
|
70
|
+
"version": "3.1.1-nightly.2"
|
|
71
71
|
},
|
|
72
72
|
"@ours.network/tg-connector": {
|
|
73
73
|
"type": "npm",
|
|
74
|
-
"version": "1.0.1-nightly.
|
|
74
|
+
"version": "1.0.1-nightly.14"
|
|
75
75
|
},
|
|
76
76
|
"@ours.network/cowork": {
|
|
77
77
|
"type": "npm",
|
|
78
|
-
"version": "1.3.4-nightly.
|
|
78
|
+
"version": "1.3.4-nightly.20261019.033881c"
|
|
79
79
|
},
|
|
80
80
|
"@ours.network/messenger-server": {
|
|
81
81
|
"type": "npm",
|
|
82
|
-
"version": "1.0.31-nightly.
|
|
82
|
+
"version": "1.0.31-nightly.23"
|
|
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": "1.2.0-nightly.
|
|
90
|
+
"version": "1.2.0-nightly.76"
|
|
91
91
|
},
|
|
92
92
|
"@ours.network/mcp": {
|
|
93
93
|
"type": "npm",
|
|
94
|
-
"version": "1.2.0-nightly.
|
|
94
|
+
"version": "1.2.0-nightly.16"
|
|
95
95
|
},
|
|
96
96
|
"@ours.network/codex": {
|
|
97
97
|
"type": "npm",
|
|
98
|
-
"version": "1.2.0-nightly.
|
|
98
|
+
"version": "1.2.0-nightly.16"
|
|
99
99
|
},
|
|
100
100
|
"@ours.network/claude-code": {
|
|
101
101
|
"type": "npm",
|
|
102
|
-
"version": "1.2.0-nightly.
|
|
102
|
+
"version": "1.2.0-nightly.16"
|
|
103
103
|
},
|
|
104
104
|
"@ours.network/daemon": {
|
|
105
105
|
"type": "npm",
|
|
106
|
-
"version": "4.1.1-nightly.
|
|
106
|
+
"version": "4.1.1-nightly.2"
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
}
|
package/lib/docker-recovery.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import { engineName, runContainer } from './container-engine.mjs';
|
|
|
5
5
|
import { isPluginOnly } from './product.mjs';
|
|
6
6
|
|
|
7
7
|
const assets = new URL('../assets/', import.meta.url);
|
|
8
|
-
const files = ['scripts/runtime/recover.mjs', 'scripts/runtime/dependency-ready.mjs',
|
|
8
|
+
const files = ['scripts/runtime/recover.mjs', 'scripts/runtime/dependency-ready.mjs', 'scripts/runtime/healthcheck.mjs',
|
|
9
9
|
...['entrypoint.sh', 'start-telegram.sh', 'start-cowork.sh', 'start-messenger.sh'].map(f => `scripts/runtime/${f}`)];
|
|
10
10
|
const owned = (path, directory = false) => {
|
|
11
11
|
const s = lstatSync(path);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ours.network/install",
|
|
3
|
-
"version": "1.2.1-nightly.
|
|
3
|
+
"version": "1.2.1-nightly.59",
|
|
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",
|