@chrysb/alphaclaw 0.9.4 → 0.9.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/lib/scripts/git CHANGED
@@ -125,6 +125,12 @@ fi
125
125
 
126
126
  EFFECTIVE_PWD="$(resolve_effective_pwd "$@")"
127
127
 
128
+ if [ -z "${GITHUB_TOKEN:-}" ] && in_openclaw_root "$EFFECTIVE_PWD" && [ -f "$OPENCLAW_REPO_ROOT/.env" ]; then
129
+ set -a
130
+ . "$OPENCLAW_REPO_ROOT/.env" >/dev/null 2>&1 || true
131
+ set +a
132
+ fi
133
+
128
134
  if [ "${ALPHACLAW_GIT_NO_AUTH:-}" = "1" ] || [ -z "${GITHUB_TOKEN:-}" ] || ! in_openclaw_root "$EFFECTIVE_PWD"; then
129
135
  exec "$REAL_GIT" "$@"
130
136
  fi
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chrysb/alphaclaw",
3
- "version": "0.9.4",
3
+ "version": "0.9.6",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -36,7 +36,7 @@
36
36
  "dependencies": {
37
37
  "express": "^4.21.0",
38
38
  "http-proxy": "^1.18.1",
39
- "openclaw": "2026.4.11",
39
+ "openclaw": "2026.4.14",
40
40
  "patch-package": "^8.0.1",
41
41
  "ws": "^8.19.0"
42
42
  },
@@ -0,0 +1,13 @@
1
+ diff --git a/node_modules/openclaw/dist/server.impl-BbJvXoPb.js b/node_modules/openclaw/dist/server.impl-BbJvXoPb.js
2
+ index a5be9f5d..72e3db5b 100644
3
+ --- a/node_modules/openclaw/dist/server.impl-BbJvXoPb.js
4
+ +++ b/node_modules/openclaw/dist/server.impl-BbJvXoPb.js
5
+ @@ -22272,7 +22272,7 @@ function attachGatewayWsMessageHandler(params) {
6
+ close(1008, truncateCloseReason(authMessage));
7
+ };
8
+ const clearUnboundScopes = () => {
9
+ - if (scopes.length > 0) {
10
+ + if (scopes.length > 0 && !sharedAuthOk) {
11
+ scopes = [];
12
+ connectParams.scopes = scopes;
13
+ }
@@ -1,13 +0,0 @@
1
- diff --git a/node_modules/openclaw/dist/server.impl-CsRRyd9F.js b/node_modules/openclaw/dist/server.impl-CsRRyd9F.js
2
- index f2524dda..10e094ae 100644
3
- --- a/node_modules/openclaw/dist/server.impl-CsRRyd9F.js
4
- +++ b/node_modules/openclaw/dist/server.impl-CsRRyd9F.js
5
- @@ -23854,7 +23854,7 @@ function attachGatewayWsMessageHandler(params) {
6
- close(1008, truncateCloseReason(authMessage));
7
- };
8
- const clearUnboundScopes = () => {
9
- - if (scopes.length > 0) {
10
- + if (scopes.length > 0 && !sharedAuthOk) {
11
- scopes = [];
12
- connectParams.scopes = scopes;
13
- }