@chrysb/alphaclaw 0.9.4 → 0.9.5

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.
Files changed (2) hide show
  1. package/lib/scripts/git +6 -0
  2. package/package.json +1 -1
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.5",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },