@weave-os/router 0.2.34 → 0.2.35
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/install.sh +11 -4
- package/package.json +1 -1
package/install.sh
CHANGED
|
@@ -6471,10 +6471,17 @@ start_desktop_shim_service() {
|
|
|
6471
6471
|
</plist>
|
|
6472
6472
|
PLIST
|
|
6473
6473
|
launchctl bootout "gui/$uid/$desktop_shim_launchd_label" >/dev/null 2>&1 || true
|
|
6474
|
-
|
|
6475
|
-
|
|
6476
|
-
|
|
6477
|
-
|
|
6474
|
+
# bootout returns before the old agent has exited, and bootstrapping the
|
|
6475
|
+
# same label meanwhile fails (error 5), so a reinstall retries for a bit.
|
|
6476
|
+
local attempt=1
|
|
6477
|
+
until launchctl bootstrap "gui/$uid" "$plist" 2>/dev/null; do
|
|
6478
|
+
if [ "$attempt" -ge 5 ]; then
|
|
6479
|
+
err "launchctl could not start the Claude Desktop proxy from $plist."
|
|
6480
|
+
exit 1
|
|
6481
|
+
fi
|
|
6482
|
+
attempt=$((attempt + 1))
|
|
6483
|
+
sleep 1
|
|
6484
|
+
done
|
|
6478
6485
|
ok "Claude Desktop proxy runs at login (launchd $desktop_shim_launchd_label)"
|
|
6479
6486
|
;;
|
|
6480
6487
|
Linux)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@weave-os/router",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.35",
|
|
4
4
|
"description": "One-command installer that points Claude Code, Codex, opencode, or pi at the Weave Router. For pi it also ships the routing extension, loaded via pi.extensions.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"weave-router": "bin.js",
|