@tablation/crew 0.127.9 → 0.127.10

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/dist/cli.js +4 -2
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -12837,8 +12837,10 @@ m=${VOLUME_ROOT}/"$1"; url="$2"
12837
12837
  export GIT_TERMINAL_PROMPT=0
12838
12838
  git config --global --add safe.directory '*'
12839
12839
  if [ -n "$CREW_FORGE_TOKEN" ]; then
12840
- H="Authorization: Basic $(printf '%s:%s' "$CREW_FORGE_USER" "$CREW_FORGE_TOKEN" | base64 | tr -d '\\n')"
12841
- git() { command git -c "http.extraHeader=$H" "$@"; }
12840
+ # An inline credential helper, not http.extraHeader: GitHub answers a preemptive Basic header
12841
+ # with 401 and git then prompts (CREW-2965). The helper body is single-quoted so the shell passes
12842
+ # it literally and git's own shell expands the env when it runs the helper: no token in argv.
12843
+ git() { command git -c credential.helper= -c 'credential.helper=!f() { echo username=\${CREW_FORGE_USER:-x-access-token}; echo password=$CREW_FORGE_TOKEN; }; f' "$@"; }
12842
12844
  fi
12843
12845
  if [ -d "$m" ]; then
12844
12846
  git -C "$m" fetch --prune --atomic --quiet origin
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tablation/crew",
3
- "version": "0.127.9",
3
+ "version": "0.127.10",
4
4
  "description": "A standing team of headless agents that picks work off a Tablation board, does it on a machine you control, and reports back.",
5
5
  "type": "module",
6
6
  "license": "MIT",